Elementary: Added ui-mirroring support for all the widgets.
[framework/uifw/elementary.git] / data / themes / default.edc
1 // LICENSE NOTE:
2 // This file (and only this one) is licenses under public-domain. The reason
3 // is that this is meant to serve as a template for making your own themes and
4 // Elementary's LGPL license is not intended to follow. The images used do come
5 // under LGPL, but this file specifically for the structure of your theme is
6 // public-domain. This means you can take, use, re-license and otherwise
7 // have zero restrictions on using this file as a base for your theme.
8
9 externals.external: "elm";
10
11 collections {
12
13 ///////////////////////////////////////////////////////////////////////////////
14    group { name: "elm/focus_highlight/top/default";
15       images {
16          image: "emo-unhappy.png" COMP;
17       }
18
19       data {
20          item: "animate" "on";
21       }
22
23       script {
24          public s_x, s_y, s_w, s_h; /* source */
25          public difx, dify, difw, difh;
26          public rot_dir;
27
28          public animator1(val, Float:pos) {
29             new x, y, w, h, dx, dy, dw, dh, Float:rot;
30
31             dx = round(float_mul(float(get_int(difx)), pos));
32             x = get_int(s_x) + dx;
33             dy = round(float_mul(float(get_int(dify)), pos));
34             y = get_int(s_y) + dy;
35             dw = round(float_mul(float(get_int(difw)), pos));
36             w = get_int(s_w) + dw;
37             dy = round(float_mul(float(get_int(difh)), pos));
38             h = get_int(s_h) + dh;
39
40             update_offset(x, y, w, h);
41
42             rot = 360.0 * pos * float(get_int(rot_dir));
43             set_state_val(PART:"shine", STATE_MAP_ROT_Z, rot);
44
45             if (pos >= 1.0) {
46                emit("elm,action,focus,anim,end", "");
47                set_state(PART:"shine", "default", 0.0);
48             }
49          }
50
51          public update_offset(x, y, w, h) {
52             new x1, y1, x2, y2;
53             x1 = x + w - 15;
54             y1 = y - 15;
55             x2 = x + w + 14;
56             y2 = y + 14;
57             set_state_val(PART:"shine", STATE_REL1_OFFSET, x1, y1);
58             set_state_val(PART:"shine", STATE_REL2_OFFSET, x2, y2);
59          }
60
61          public message(Msg_Type:type, id, ...) {
62             if ((type == MSG_INT_SET) && (id == 1)) {
63                new x1, y1, w1, h1;
64                new x2, y2, w2, h2;
65                new px1, px2, py1, py2;
66                new rd;
67
68                x1 = getarg(2);
69                y1 = getarg(3);
70                w1 = getarg(4);
71                h1 = getarg(5);
72                x2 = getarg(6);
73                y2 = getarg(7);
74                w2 = getarg(8);
75                h2 = getarg(9);
76
77                set_int(s_x, x1);
78                set_int(s_y, y1);
79                set_int(s_w, w1);
80                set_int(s_h, h1);
81                set_int(difx, x2 - x1);
82                set_int(dify, y2 - y1);
83                set_int(difw, w2 - w1);
84                set_int(difh, h2 - h1);
85
86                px1 = x1 + w1;
87                px2 = x2 + w2;
88                py1 = y1 + h1;
89                py2 = y2 + h2;
90                if (px2 > px1) {
91                   rd = 1;
92                } else if (px1 > px2) {
93                   rd = -1;
94                } else {
95                   if (py2 > py1) {
96                      rd = 1;
97                   } else {
98                      rd = -1;
99                   }
100                }
101                set_int(rot_dir, rd);
102
103                custom_state(PART:"shine", "default", 0.0);
104                set_state_val(PART:"shine", STATE_REL1, 0.0, 0.0);
105                set_state_val(PART:"shine", STATE_REL2, 0.0, 0.0);
106                set_state_val(PART:"shine", STATE_MAP_ON, 1);
107                set_state_val(PART:"shine", STATE_MAP_ROT_Z, 0.0);
108                update_offset(x1, y1, w1, h1);
109                set_state(PART:"shine", "custom", 0.0);
110
111                anim(0.2, "animator1", 1);
112             }
113          }
114       }
115
116       parts {
117          part { name: "base";
118             type: RECT;
119             repeat_events: 1;
120             description { state: "default" 0.0;
121                rel1.relative: 0.0 0.0;
122                rel2.relative: 1.0 1.0;
123                visible: 0;
124             }
125          }
126          part { name: "shine";
127             type: IMAGE;
128             mouse_events: 1;
129             repeat_events: 1;
130             ignore_flags: ON_HOLD;
131             description { state: "default" 0.0;
132                image {
133                   normal: "emo-unhappy.png";
134                }
135                rel1.to: "base";
136                rel1.relative: 1.0 0.0;
137                rel1.offset: -15 -15;
138                rel2.to: "base";
139                rel2.relative: 1.0 0.0;
140                rel2.offset: 14 14;
141             }
142             description { state: "disabled" 0.0;
143                inherit:  "default" 0.0;
144                color: 0 0 0 0;
145             }
146          }
147
148          program { name: "show";
149             signal: "elm,action,focus,show";
150             source: "elm";
151             action: ACTION_STOP;
152             target: "hide";
153             target: "hide_start";
154             target: "hide_end";
155             after: "show_start";
156          }
157          program { name: "show_start";
158             action:  STATE_SET "default" 0.0;
159             transition: LINEAR 0.2;
160             target: "shine";
161             after: "show_end";
162          }
163          program { name: "show_end";
164             action: SIGNAL_EMIT "elm,action,focus,show,end" "";
165          }
166          program { name: "hide";
167             signal: "elm,action,focus,hide";
168             source: "elm";
169             action: ACTION_STOP;
170             target: "show";
171             target: "show_start";
172             target: "show_end";
173             after: "hide_start";
174          }
175          program { name: "hide_start";
176             action:  STATE_SET "disabled" 0.0;
177             transition: LINEAR 0.2;
178             target: "shine";
179             after: "hide_end";
180          }
181          program { name: "hide_end";
182             action: SIGNAL_EMIT "elm,action,focus,hide,end" "";
183          }
184       }
185    }
186
187 ///////////////////////////////////////////////////////////////////////////////
188    group { name: "elm/focus_highlight/bottom/default";
189       parts {
190          part { name: "shine";
191             type: RECT;
192             mouse_events: 1;
193             repeat_events: 1;
194             ignore_flags: ON_HOLD;
195             description { state: "default" 0.0;
196                color: 0 255 0 50;
197                rel1.offset: 0 0;
198                rel2.offset: 0 0;
199             }
200             description { state: "disabled" 0.0;
201                inherit:  "default" 0.0;
202                color: 0 0 0 0;
203             }
204          }
205
206          program { name: "show";
207             signal: "elm,action,focus,show";
208             source: "elm";
209             action: ACTION_STOP;
210             target: "hide";
211             target: "hide_start";
212             target: "hide_end";
213             after: "show_start";
214          }
215          program { name: "show_start";
216             action:  STATE_SET "default" 0.0;
217             transition: LINEAR 0.2;
218             target: "shine";
219             after: "show_end";
220          }
221          program { name: "show_end";
222             action: SIGNAL_EMIT "elm,action,focus,show,end" "";
223          }
224          program { name: "hide";
225             signal: "elm,action,focus,hide";
226             source: "elm";
227             action: ACTION_STOP;
228             target: "show";
229             target: "show_start";
230             target: "show_end";
231             after: "hide_start";
232          }
233          program { name: "hide_start";
234             action:  STATE_SET "disabled" 0.0;
235             transition: LINEAR 0.2;
236             target: "shine";
237             after: "hide_end";
238          }
239          program { name: "hide_end";
240             action: SIGNAL_EMIT "elm,action,focus,hide,end" "";
241          }
242       }
243    }
244
245 ///////////////////////////////////////////////////////////////////////////////
246    group { name: "elm/bg/base/default";
247       images {
248          image: "dia_grad.png" COMP;
249          image: "dia_topshad.png" COMP;
250          image: "dia_botshad.png" COMP;
251       }
252       parts {
253          part { name: "base";
254             mouse_events:  0;
255             description { state: "default" 0.0;
256                image.normal: "dia_grad.png";
257                fill {
258                   smooth: 0;
259                   size {
260                      relative: 0.0 1.0;
261                      offset: 64 0;
262                   }
263                }
264             }
265          }
266          part { name: "elm.swallow.rectangle";
267             type: SWALLOW;
268             description { state: "default" 0.0;
269             }
270          }
271          part { name: "elm.swallow.background";
272             type: SWALLOW;
273             description { state: "default" 0.0;
274             }
275          }
276          part { name: "shadow";
277             mouse_events:  0;
278             description { state: "default" 0.0;
279                rel2.relative: 1.0 0.0;
280                rel2.offset: -1 31;
281                image.normal: "dia_topshad.png";
282                fill {
283                   smooth: 0;
284                   size {
285                      relative: 0.0 1.0;
286                      offset: 64 0;
287                   }
288                }
289             }
290          }
291          part { name: "shadow2";
292             mouse_events:  0;
293             description { state: "default" 0.0;
294                rel1.relative: 0.0 1.0;
295                rel1.offset: 0 -9;
296                image.normal: "dia_botshad.png";
297                fill {
298                   smooth: 0;
299                   size {
300                      relative: 0.0 1.0;
301                      offset: 64 0;
302                   }
303                }
304             }
305          }
306          part { name: "elm.swallow.content";
307             type: SWALLOW;
308             description { state: "default" 0.0;
309             }
310          }
311       }
312    }
313
314 ///////////////////////////////////////////////////////////////////////////////
315    group { name: "elm/scroller/base/default";
316
317       alias: "elm/list/base/default";
318       alias: "elm/genlist/base/default";
319       alias: "elm/carousel/base/default";
320       alias: "elm/gengrid/base/default";
321
322       data {
323          item: "focus_highlight" "on";
324       }
325
326       script {
327          public sbvis_v, sbvis_h, sbalways_v, sbalways_h, sbvis_timer;
328          public timer0(val) {
329             new v;
330             v = get_int(sbvis_v);
331             if (v) {
332                v = get_int(sbalways_v);
333                if (!v) {
334                   emit("do-hide-vbar", "");
335                   set_int(sbvis_v, 0);
336                }
337             }
338             v = get_int(sbvis_h);
339             if (v) {
340                v = get_int(sbalways_h);
341                if (!v) {
342                   emit("do-hide-hbar", "");
343                   set_int(sbvis_h, 0);
344                }
345             }
346             set_int(sbvis_timer, 0);
347             return 0;
348          }
349       }
350       images {
351          image: "shelf_inset.png" COMP;
352          image: "bt_sm_base2.png" COMP;
353          image: "bt_sm_shine.png" COMP;
354          image: "bt_sm_hilight.png" COMP;
355          image: "sl_bt2_2.png" COMP;
356       }
357       parts {
358          part { name: "bg";
359             type: RECT;
360             description { state: "default" 0.0;
361                rel1.offset: 2 2;
362                rel2.offset: -3 -3;
363                color: 255 255 255 0;
364             }
365          }
366          part { name: "clipper";
367             type: RECT;
368             mouse_events: 0;
369             description { state: "default" 0.0;
370                rel1.to: "bg";
371                rel2.to: "bg";
372                rel1.offset: 2 2;
373                rel2.offset: -3 -3;
374             }
375          }
376          part { name: "elm.swallow.content";
377             clip_to: "clipper";
378             type: SWALLOW;
379             description { state: "default" 0.0;
380                rel1.to: "bg";
381                rel2.to: "bg";
382                rel1.offset: 2 2;
383                rel2.offset: -3 -3;
384             }
385          }
386          part { name: "conf_over";
387             mouse_events:  0;
388             description { state: "default" 0.0;
389                rel1.to: "bg";
390                rel2.to: "bg";
391                image {
392                   normal: "shelf_inset.png";
393                   border: 7 7 7 7;
394                   middle: 0;
395                }
396                fill.smooth : 0;
397             }
398             description { state: "enabled" 0.0;
399                inherit: "default" 0.0;
400                color: 200 155 0 255;
401             }
402          }
403          part { name: "focus_highlight";
404             mouse_events: 0;
405             description { state: "default" 0.0;
406                rel1.offset: -1 -1;
407                rel2.offset: 0 0;
408                image {
409                   normal: "sl_bt2_2.png";
410                   border: 7 7 7 7;
411                   middle: 0;
412                }
413                fill.smooth : 0;
414                color: 200 155 0 0;
415             }
416             description { state: "enabled" 0.0;
417                inherit: "default" 0.0;
418                color: 200 155 0 255;
419             }
420          }
421          part { name: "sb_vbar_clip_master";
422             type: RECT;
423             mouse_events: 0;
424             description { state: "default" 0.0;
425             }
426             description { state: "hidden" 0.0;
427                visible: 0;
428                color: 255 255 255 0;
429             }
430          }
431          part { name: "sb_vbar_clip";
432             clip_to: "sb_vbar_clip_master";
433             type: RECT;
434             mouse_events: 0;
435             description { state: "default" 0.0;
436             }
437             description { state: "hidden" 0.0;
438                visible: 0;
439                color: 255 255 255 0;
440             }
441          }
442          part { name: "sb_vbar";
443             type: RECT;
444             mouse_events: 0;
445             description { state: "default" 0.0;
446                fixed: 1 1;
447                visible: 0;
448                min: 10 17;
449                align: 1.0 0.0;
450                rel1 {
451                   relative: 1.0 0.0;
452                   offset:   0 2;
453                   to_y:     "elm.swallow.content";
454                   to_x:     "elm.swallow.content";
455                }
456                rel2 {
457                   relative: 1.0 0.0;
458                   offset:   -1 -1;
459                   to_y:     "sb_hbar";
460                   to_x:     "elm.swallow.content";
461                }
462             }
463          }
464          part { name: "elm.dragable.vbar";
465             clip_to: "sb_vbar_clip";
466             mouse_events: 0;
467             dragable {
468                x: 0 0 0;
469                y: 1 1 0;
470                confine: "sb_vbar";
471             }
472             description { state: "default" 0.0;
473                fixed: 1 1;
474                min: 10 17;
475                max: 10 99999;
476                rel1 {
477                   relative: 0.5  0.5;
478                   offset:   0    0;
479                   to: "sb_vbar";
480                }
481                rel2 {
482                   relative: 0.5  0.5;
483                   offset:   0    0;
484                   to: "sb_vbar";
485                }
486                image {
487                   normal: "bt_sm_base2.png";
488                   border: 6 6 6 6;
489                   middle: SOLID;
490                }
491             }
492          }
493          part { name: "sb_vbar_over1";
494             clip_to: "sb_vbar_clip";
495             mouse_events: 0;
496             description { state: "default" 0.0;
497                rel1.to: "elm.dragable.vbar";
498                rel2.relative: 1.0 0.5;
499                rel2.to: "elm.dragable.vbar";
500                image {
501                   normal: "bt_sm_hilight.png";
502                   border: 6 6 6 0;
503                }
504             }
505          }
506          part { name: "sb_vbar_over2";
507             clip_to: "sb_vbar_clip";
508             mouse_events: 0;
509             description { state: "default" 0.0;
510                rel1.to: "elm.dragable.vbar";
511                rel2.to: "elm.dragable.vbar";
512                image {
513                   normal: "bt_sm_shine.png";
514                   border: 6 6 6 0;
515                }
516             }
517          }
518
519          part { name: "sb_hbar_clip_master";
520             type: RECT;
521             mouse_events: 0;
522             description { state: "default" 0.0;
523             }
524             description { state: "hidden" 0.0;
525                visible: 0;
526                color: 255 255 255 0;
527             }
528          }
529          part { name: "sb_hbar_clip";
530             clip_to: "sb_hbar_clip_master";
531             type: RECT;
532             mouse_events: 0;
533             description { state: "default" 0.0;
534             }
535             description { state: "hidden" 0.0;
536                visible: 0;
537                color: 255 255 255 0;
538             }
539          }
540          part { name: "sb_hbar";
541             type: RECT;
542             mouse_events: 0;
543             description { state: "default" 0.0;
544                fixed: 1 1;
545                visible: 0;
546                min: 17 10;
547                align: 0.0 1.0;
548                rel1 {
549                   relative: 0.0 1.0;
550                   offset:   2 0;
551                   to_x:     "elm.swallow.content";
552                   to_y:     "elm.swallow.content";
553                }
554                rel2 {
555                   relative: 0.0 1.0;
556                   offset:   -1 -1;
557                   to_x:     "sb_vbar";
558                   to_y:     "elm.swallow.content";
559                }
560             }
561          }
562          part { name: "elm.dragable.hbar";
563             clip_to: "sb_hbar_clip";
564             mouse_events: 0;
565             dragable {
566                x: 1 1 0;
567                y: 0 0 0;
568                confine: "sb_hbar";
569             }
570             description { state: "default" 0.0;
571                fixed: 1 1;
572                min: 17 10;
573                max: 99999 10;
574                rel1 {
575                   relative: 0.5  0.5;
576                   offset:   0    0;
577                   to: "sb_hbar";
578                }
579                rel2 {
580                   relative: 0.5  0.5;
581                   offset:   0    0;
582                   to: "sb_hbar";
583                }
584                image {
585                   normal: "bt_sm_base2.png";
586                   border: 4 4 4 4;
587                   middle: SOLID;
588                }
589             }
590          }
591          part { name: "sb_hbar_over1";
592             clip_to: "sb_hbar_clip";
593             mouse_events: 0;
594             description { state: "default" 0.0;
595                rel1.to: "elm.dragable.hbar";
596                rel2.relative: 1.0 0.5;
597                rel2.to: "elm.dragable.hbar";
598                image {
599                   normal: "bt_sm_hilight.png";
600                   border: 4 4 4 0;
601                }
602             }
603          }
604          part { name: "sb_hbar_over2";
605             clip_to: "sb_hbar_clip";
606             mouse_events: 0;
607             description { state: "default" 0.0;
608                rel1.to: "elm.dragable.hbar";
609                rel2.to: "elm.dragable.hbar";
610                image {
611                   normal: "bt_sm_shine.png";
612                   border: 4 4 4 0;
613                }
614             }
615          }
616          part { name: "disabler";
617             type: RECT;
618             description { state: "default" 0.0;
619                rel1.to: "clipper";
620                rel2.to: "clipper";
621                color: 0 0 0 0;
622                visible: 0;
623             }
624             description { state: "disabled" 0.0;
625                inherit: "default" 0.0;
626                visible: 1;
627                color: 128 128 128 128;
628             }
629          }
630       }
631       programs {
632          program { name: "load";
633             signal: "load";
634             source: "";
635             script {
636                set_state(PART:"sb_hbar_clip", "hidden", 0.0);
637                set_state(PART:"sb_vbar_clip", "hidden", 0.0);
638                set_int(sbvis_h, 0);
639                set_int(sbvis_v, 0);
640                set_int(sbalways_v, 0);
641                set_int(sbalways_h, 0);
642                set_int(sbvis_timer, 0);
643             }
644          }
645
646          program { name: "vbar_show";
647             signal: "elm,action,show,vbar";
648             source: "elm";
649             action:  STATE_SET "default" 0.0;
650             target: "sb_vbar_clip_master";
651          }
652          program { name: "vbar_hide";
653             signal: "elm,action,hide,vbar";
654             source: "elm";
655             action:  STATE_SET "hidden" 0.0;
656             target: "sb_vbar_clip_master";
657          }
658          program { name: "vbar_show_always";
659             signal: "elm,action,show_always,vbar";
660             source: "elm";
661             script {
662                new v;
663                v = get_int(sbvis_v);
664                v |= get_int(sbalways_v);
665                if (!v) {
666                   set_int(sbalways_v, 1);
667                   emit("do-show-vbar", "");
668                   set_int(sbvis_v, 1);
669                }
670             }
671          }
672          program { name: "vbar_show_notalways";
673             signal: "elm,action,show_notalways,vbar";
674             source: "elm";
675             script {
676                new v;
677                v = get_int(sbalways_v);
678                if (v) {
679                   set_int(sbalways_v, 0);
680                   v = get_int(sbvis_v);
681                   if (!v) {
682                      emit("do-hide-vbar", "");
683                      set_int(sbvis_v, 0);
684                   }
685                }
686             }
687          }
688          program { name: "sb_vbar_show";
689             signal: "do-show-vbar";
690             source: "";
691             action:  STATE_SET "default" 0.0;
692             transition: LINEAR 0.5;
693             target: "sb_vbar_clip";
694          }
695          program { name: "sb_vbar_hide";
696             signal: "do-hide-vbar";
697             source: "";
698             action:  STATE_SET "hidden" 0.0;
699             transition: LINEAR 0.5;
700             target: "sb_vbar_clip";
701          }
702
703          program { name: "hbar_show";
704             signal: "elm,action,show,hbar";
705             source: "elm";
706             action:  STATE_SET "default" 0.0;
707             target: "sb_hbar_clip_master";
708          }
709          program { name: "hbar_hide";
710             signal: "elm,action,hide,hbar";
711             source: "elm";
712             action:  STATE_SET "hidden" 0.0;
713             target: "sb_hbar_clip_master";
714          }
715          program { name: "hbar_show_always";
716             signal: "elm,action,show_always,hbar";
717             source: "elm";
718             script {
719                new v;
720                v = get_int(sbvis_h);
721                v |= get_int(sbalways_h);
722                if (!v) {
723                   set_int(sbalways_h, 1);
724                   emit("do-show-hbar", "");
725                   set_int(sbvis_h, 1);
726                }
727             }
728          }
729          program { name: "hbar_show_notalways";
730             signal: "elm,action,show_notalways,hbar";
731             source: "elm";
732             script {
733                new v;
734                v = get_int(sbalways_h);
735                if (v) {
736                   set_int(sbalways_h, 0);
737                   v = get_int(sbvis_h);
738                   if (!v) {
739                      emit("do-hide-hbar", "");
740                      set_int(sbvis_h, 0);
741                   }
742                }
743             }
744          }
745          program { name: "sb_hbar_show";
746             signal: "do-show-hbar";
747             source: "";
748             action:  STATE_SET "default" 0.0;
749             transition: LINEAR 0.5;
750             target: "sb_hbar_clip";
751          }
752          program { name: "sb_hbar_hide";
753             signal: "do-hide-hbar";
754             source: "";
755             action:  STATE_SET "hidden" 0.0;
756             transition: LINEAR 0.5;
757             target: "sb_hbar_clip";
758          }
759
760          program { name: "scroll";
761             signal: "elm,action,scroll";
762             source: "elm";
763             script {
764                new v;
765                v = get_int(sbvis_v);
766                v |= get_int(sbalways_v);
767                if (!v) {
768                   emit("do-show-vbar", "");
769                   set_int(sbvis_v, 1);
770                }
771                v = get_int(sbvis_h);
772                v |= get_int(sbalways_h);
773                if (!v) {
774                   emit("do-show-hbar", "");
775                   set_int(sbvis_h, 1);
776                }
777                v = get_int(sbvis_timer);
778                if (v > 0) cancel_timer(v);
779                v = timer(1.0, "timer0", 0);
780                set_int(sbvis_timer, v);
781             }
782          }
783
784          program { name: "highlight_show";
785             signal: "elm,action,focus_highlight,show";
786             source: "elm";
787             action: STATE_SET "enabled" 0.0;
788             transition: ACCELERATE 0.3;
789             target: "focus_highlight";
790             target: "conf_over";
791          }
792          program { name: "highlight_hide";
793             signal: "elm,action,focus_highlight,hide";
794             source: "elm";
795             action: STATE_SET "default" 0.0;
796             transition: DECELERATE 0.3;
797             target: "focus_highlight";
798             target: "conf_over";
799          }
800          program { name: "disable";
801             signal: "elm,state,disabled";
802             source: "elm";
803             action: STATE_SET "disabled" 0.0;
804             target: "disabler";
805          }
806          program { name: "enable";
807             signal: "elm,state,enabled";
808             source: "elm";
809             action: STATE_SET "default" 0.0;
810             target: "disabler";
811          }
812       }
813    }
814
815 ///////////////////////////////////////////////////////////////////////////////
816    group { name: "elm/scroller/entry/default";
817
818       data {
819          item: "focus_highlight" "on";
820       }
821
822       script {
823          public sbvis_v, sbvis_h, sbalways_v, sbalways_h, sbvis_timer;
824          public timer0(val) {
825             new v;
826             v = get_int(sbvis_v);
827             if (v) {
828                v = get_int(sbalways_v);
829                if (!v) {
830                   emit("do-hide-vbar", "");
831                   set_int(sbvis_v, 0);
832                }
833             }
834             v = get_int(sbvis_h);
835             if (v) {
836                v = get_int(sbalways_h);
837                if (!v) {
838                   emit("do-hide-hbar", "");
839                   set_int(sbvis_h, 0);
840                }
841             }
842             set_int(sbvis_timer, 0);
843             return 0;
844          }
845       }
846       images {
847          image: "shelf_inset.png" COMP;
848          image: "bt_sm_base2.png" COMP;
849          image: "bt_sm_shine.png" COMP;
850          image: "bt_sm_hilight.png" COMP;
851          image: "sl_bt2_2.png" COMP;
852       }
853       parts {
854          part { name: "bg";
855             type: RECT;
856             description { state: "default" 0.0;
857                rel1.offset: 2 2;
858                rel2.offset: -3 -3;
859             }
860          }
861          part { name: "clipper";
862             type: RECT;
863             mouse_events: 0;
864             description { state: "default" 0.0;
865                rel1.to: "bg";
866                rel2.to: "bg";
867                rel1.offset: 2 2;
868                rel2.offset: -3 -3;
869             }
870          }
871          part { name: "contentclipper";
872             type: RECT;
873             mouse_events: 0;
874             clip_to: "clipper";
875             description { state: "default" 0.0;
876                rel1.to: "elm.swallow.icon";
877                rel1.relative: 1.0 0.0;
878                rel2.to: "elm.swallow.end";
879                rel2.relative: 0.0 1.0;
880             }
881          }
882          part { name: "elm.swallow.icon";
883             type: SWALLOW;
884             clip_to: "clipper";
885             description { state: "default" 0.0;
886                fixed: 1 1;
887                rel1 {
888                   to: "bg";
889                   relative: 0.0 0.0;
890                   offset: 0 0;
891                }
892                rel2 {
893                   to: "bg";
894                   relative: 0.0 1.0;
895                   offset: -1 -1;
896                }
897                visible: 0;
898             }
899             description { state: "visible" 0.0;
900                fixed: 1 1;
901                align: 0.0 1.0;
902                rel1 {
903                   to: "bg";
904                   relative: 0.0 0.0;
905                   offset: 0 0;
906                }
907                rel2 {
908                   to: "bg";
909                   relative: 0.0 1.0;
910                   offset: -1 -1;
911                }
912                visible: 1;
913             }
914          }
915          part { name: "elm.swallow.end";
916             type: SWALLOW;
917             clip_to: "clipper";
918             description { state: "default" 0.0;
919                fixed: 1 1;
920                rel1 {
921                   to: "bg";
922                   relative: 1.0 0.0;
923                   offset: 0 0;
924                }
925                rel2 {
926                   to: "bg";
927                   relative: 1.0 1.0;
928                   offset: -1 -1;
929                }
930                visible: 0;
931             }
932             description { state: "visible" 0.0;
933                fixed: 1 1;
934                align: 1.0 1.0;
935                rel1 {
936                   to: "bg";
937                   relative: 1.0 0.0;
938                   offset: 0 0;
939                }
940                rel2 {
941                   to: "bg";
942                   relative: 1.0 1.0;
943                   offset: -1 -1;
944                }
945                visible: 1;
946             }
947          }
948          part { name: "elm.swallow.content";
949             clip_to: "contentclipper";
950             type: SWALLOW;
951             description { state: "default" 0.0;
952                rel1 {
953                 to: "elm.swallow.icon";
954                 relative: 1.0 0.0;
955                 offset: 4 4;
956                }
957                rel2 {
958                 to: "elm.swallow.end";
959                 relative: 0.0 1.0;
960                 offset: -5 -5;
961                }
962             }
963          }
964          part { name: "conf_over";
965             mouse_events:  0;
966             description { state: "default" 0.0;
967                rel1.to: "bg";
968                rel2.to: "bg";
969                image {
970                   normal: "shelf_inset.png";
971                   border: 7 7 7 7;
972                   middle: 0;
973                }
974                fill.smooth : 0;
975             }
976             description { state: "enabled" 0.0;
977                inherit: "default" 0.0;
978                color: 200 155 0 255;
979             }
980          }
981          part { name: "focus_highlight";
982             mouse_events: 0;
983             description { state: "default" 0.0;
984                rel1.offset: -1 -1;
985                rel2.offset: 0 0;
986                image {
987                   normal: "sl_bt2_2.png";
988                   border: 7 7 7 7;
989                   middle: 0;
990                }
991                fill.smooth : 0;
992                color: 200 155 0 0;
993             }
994             description { state: "enabled" 0.0;
995                inherit: "default" 0.0;
996                color: 200 155 0 255;
997             }
998          }
999          part { name: "sb_vbar_clip_master";
1000             type: RECT;
1001             mouse_events: 0;
1002             description { state: "default" 0.0;
1003             }
1004             description { state: "hidden" 0.0;
1005                visible: 0;
1006                color: 255 255 255 0;
1007             }
1008          }
1009          part { name: "sb_vbar_clip";
1010             clip_to: "sb_vbar_clip_master";
1011             type: RECT;
1012             mouse_events: 0;
1013             description { state: "default" 0.0;
1014             }
1015             description { state: "hidden" 0.0;
1016                visible: 0;
1017                color: 255 255 255 0;
1018             }
1019          }
1020          part { name: "sb_vbar";
1021             type: RECT;
1022             mouse_events: 0;
1023             description { state: "default" 0.0;
1024                fixed: 1 1;
1025                visible: 0;
1026                min: 10 17;
1027                align: 1.0 0.0;
1028                rel1 {
1029                   relative: 0.0 0.0;
1030                   offset:   -2 2;
1031                   to_y:     "elm.swallow.content";
1032                   to_x:     "elm.swallow.end";
1033                }
1034                rel2 {
1035                   relative: 0.0 0.0;
1036                   offset:   -2 -1;
1037                   to_y:     "sb_hbar";
1038                   to_x:     "elm.swallow.end";
1039                }
1040             }
1041          }
1042          part { name: "elm.dragable.vbar";
1043             clip_to: "sb_vbar_clip";
1044             mouse_events: 0;
1045             dragable {
1046                x: 0 0 0;
1047                y: 1 1 0;
1048                confine: "sb_vbar";
1049             }
1050             description { state: "default" 0.0;
1051                fixed: 1 1;
1052                min: 10 17;
1053                max: 10 99999;
1054                rel1 {
1055                   relative: 0.5  0.5;
1056                   offset:   0    0;
1057                   to: "sb_vbar";
1058                }
1059                rel2 {
1060                   relative: 0.5  0.5;
1061                   offset:   0    0;
1062                   to: "sb_vbar";
1063                }
1064                image {
1065                   normal: "bt_sm_base2.png";
1066                   border: 6 6 6 6;
1067                   middle: SOLID;
1068                }
1069             }
1070          }
1071          part { name: "sb_vbar_over1";
1072             clip_to: "sb_vbar_clip";
1073             mouse_events: 0;
1074             description { state: "default" 0.0;
1075                rel1.to: "elm.dragable.vbar";
1076                rel2.relative: 1.0 0.5;
1077                rel2.to: "elm.dragable.vbar";
1078                image {
1079                   normal: "bt_sm_hilight.png";
1080                   border: 6 6 6 0;
1081                }
1082             }
1083          }
1084          part { name: "sb_vbar_over2";
1085             clip_to: "sb_vbar_clip";
1086             mouse_events: 0;
1087             description { state: "default" 0.0;
1088                rel1.to: "elm.dragable.vbar";
1089                rel2.to: "elm.dragable.vbar";
1090                image {
1091                   normal: "bt_sm_shine.png";
1092                   border: 6 6 6 0;
1093                }
1094             }
1095          }
1096
1097          part { name: "sb_hbar_clip_master";
1098             type: RECT;
1099             mouse_events: 0;
1100             description { state: "default" 0.0;
1101             }
1102             description { state: "hidden" 0.0;
1103                visible: 0;
1104                color: 255 255 255 0;
1105             }
1106          }
1107          part { name: "sb_hbar_clip";
1108             clip_to: "sb_hbar_clip_master";
1109             type: RECT;
1110             mouse_events: 0;
1111             description { state: "default" 0.0;
1112             }
1113             description { state: "hidden" 0.0;
1114                visible: 0;
1115                color: 255 255 255 0;
1116             }
1117          }
1118          part { name: "sb_hbar";
1119             type: RECT;
1120             mouse_events: 0;
1121             description { state: "default" 0.0;
1122                fixed: 1 1;
1123                visible: 0;
1124                min: 17 10;
1125                align: 0.0 1.0;
1126                rel1 {
1127                   relative: 0.0 1.0;
1128                   offset:   2 0;
1129                   to_x:     "elm.swallow.content";
1130                   to_y:     "elm.swallow.content";
1131                }
1132                rel2 {
1133                   relative: 0.0 1.0;
1134                   offset:   -1 -1;
1135                   to_x:     "sb_vbar";
1136                   to_y:     "elm.swallow.content";
1137                }
1138             }
1139          }
1140          part { name: "elm.dragable.hbar";
1141             clip_to: "sb_hbar_clip";
1142             mouse_events: 0;
1143             dragable {
1144                x: 1 1 0;
1145                y: 0 0 0;
1146                confine: "sb_hbar";
1147             }
1148             description { state: "default" 0.0;
1149                fixed: 1 1;
1150                min: 17 10;
1151                max: 99999 10;
1152                rel1 {
1153                   relative: 0.5  0.5;
1154                   offset:   0    0;
1155                   to: "sb_hbar";
1156                }
1157                rel2 {
1158                   relative: 0.5  0.5;
1159                   offset:   0    0;
1160                   to: "sb_hbar";
1161                }
1162                image {
1163                   normal: "bt_sm_base2.png";
1164                   border: 4 4 4 4;
1165                   middle: SOLID;
1166                }
1167             }
1168          }
1169          part { name: "sb_hbar_over1";
1170             clip_to: "sb_hbar_clip";
1171             mouse_events: 0;
1172             description { state: "default" 0.0;
1173                rel1.to: "elm.dragable.hbar";
1174                rel2.relative: 1.0 0.5;
1175                rel2.to: "elm.dragable.hbar";
1176                image {
1177                   normal: "bt_sm_hilight.png";
1178                   border: 4 4 4 0;
1179                }
1180             }
1181          }
1182          part { name: "sb_hbar_over2";
1183             clip_to: "sb_hbar_clip";
1184             mouse_events: 0;
1185             description { state: "default" 0.0;
1186                rel1.to: "elm.dragable.hbar";
1187                rel2.to: "elm.dragable.hbar";
1188                image {
1189                   normal: "bt_sm_shine.png";
1190                   border: 4 4 4 0;
1191                }
1192             }
1193          }
1194       }
1195       programs {
1196          program { name: "load";
1197             signal: "load";
1198             source: "";
1199             script {
1200                set_state(PART:"sb_hbar_clip", "hidden", 0.0);
1201                set_state(PART:"sb_vbar_clip", "hidden", 0.0);
1202                set_int(sbvis_h, 0);
1203                set_int(sbvis_v, 0);
1204                set_int(sbalways_v, 0);
1205                set_int(sbalways_h, 0);
1206                set_int(sbvis_timer, 0);
1207             }
1208          }
1209          program { name: "icon_show";
1210             signal: "elm,action,show,icon";
1211             source: "elm";
1212             action: STATE_SET "visible" 0.0;
1213             target: "elm.swallow.icon";
1214          }
1215          program { name: "icon_hide";
1216             signal: "elm,action,hide,icon";
1217             source: "elm";
1218             action: STATE_SET "default" 0.0;
1219             target: "elm.swallow.icon";
1220          }
1221          program { name: "end_show";
1222             signal: "elm,action,show,end";
1223             source: "elm";
1224             action: STATE_SET "visible" 0.0;
1225             target: "elm.swallow.end";
1226          }
1227          program { name: "end_hide";
1228             signal: "elm,action,hide,end";
1229             source: "elm";
1230             action: STATE_SET "default" 0.0;
1231             target: "elm.swallow.end";
1232          }
1233          program { name: "vbar_show";
1234             signal: "elm,action,show,vbar";
1235             source: "elm";
1236             action:  STATE_SET "default" 0.0;
1237             target: "sb_vbar_clip_master";
1238          }
1239          program { name: "vbar_hide";
1240             signal: "elm,action,hide,vbar";
1241             source: "elm";
1242             action:  STATE_SET "hidden" 0.0;
1243             target: "sb_vbar_clip_master";
1244          }
1245          program { name: "vbar_show_always";
1246             signal: "elm,action,show_always,vbar";
1247             source: "elm";
1248             script {
1249                new v;
1250                v = get_int(sbvis_v);
1251                v |= get_int(sbalways_v);
1252                if (!v) {
1253                   set_int(sbalways_v, 1);
1254                   emit("do-show-vbar", "");
1255                   set_int(sbvis_v, 1);
1256                }
1257             }
1258          }
1259          program { name: "vbar_show_notalways";
1260             signal: "elm,action,show_notalways,vbar";
1261             source: "elm";
1262             script {
1263                new v;
1264                v = get_int(sbalways_v);
1265                if (v) {
1266                   set_int(sbalways_v, 0);
1267                   v = get_int(sbvis_v);
1268                   if (!v) {
1269                      emit("do-hide-vbar", "");
1270                      set_int(sbvis_v, 0);
1271                   }
1272                }
1273             }
1274          }
1275          program { name: "sb_vbar_show";
1276             signal: "do-show-vbar";
1277             source: "";
1278             action:  STATE_SET "default" 0.0;
1279             transition: LINEAR 0.5;
1280             target: "sb_vbar_clip";
1281          }
1282          program { name: "sb_vbar_hide";
1283             signal: "do-hide-vbar";
1284             source: "";
1285             action:  STATE_SET "hidden" 0.0;
1286             transition: LINEAR 0.5;
1287             target: "sb_vbar_clip";
1288          }
1289
1290          program { name: "hbar_show";
1291             signal: "elm,action,show,hbar";
1292             source: "elm";
1293             action:  STATE_SET "default" 0.0;
1294             target: "sb_hbar_clip_master";
1295          }
1296          program { name: "hbar_hide";
1297             signal: "elm,action,hide,hbar";
1298             source: "elm";
1299             action:  STATE_SET "hidden" 0.0;
1300             target: "sb_hbar_clip_master";
1301          }
1302          program { name: "hbar_show_always";
1303             signal: "elm,action,show_always,hbar";
1304             source: "elm";
1305             script {
1306                new v;
1307                v = get_int(sbvis_h);
1308                v |= get_int(sbalways_h);
1309                if (!v) {
1310                   set_int(sbalways_h, 1);
1311                   emit("do-show-hbar", "");
1312                   set_int(sbvis_h, 1);
1313                }
1314             }
1315          }
1316          program { name: "hbar_show_notalways";
1317             signal: "elm,action,show_notalways,hbar";
1318             source: "elm";
1319             script {
1320                new v;
1321                v = get_int(sbalways_h);
1322                if (v) {
1323                   set_int(sbalways_h, 0);
1324                   v = get_int(sbvis_h);
1325                   if (!v) {
1326                      emit("do-hide-hbar", "");
1327                      set_int(sbvis_h, 0);
1328                   }
1329                }
1330             }
1331          }
1332          program { name: "sb_hbar_show";
1333             signal: "do-show-hbar";
1334             source: "";
1335             action:  STATE_SET "default" 0.0;
1336             transition: LINEAR 0.5;
1337             target: "sb_hbar_clip";
1338          }
1339          program { name: "sb_hbar_hide";
1340             signal: "do-hide-hbar";
1341             source: "";
1342             action:  STATE_SET "hidden" 0.0;
1343             transition: LINEAR 0.5;
1344             target: "sb_hbar_clip";
1345          }
1346
1347          program { name: "scroll";
1348             signal: "elm,action,scroll";
1349             source: "elm";
1350             script {
1351                new v;
1352                v = get_int(sbvis_v);
1353                v |= get_int(sbalways_v);
1354                if (!v) {
1355                   emit("do-show-vbar", "");
1356                   set_int(sbvis_v, 1);
1357                }
1358                v = get_int(sbvis_h);
1359                v |= get_int(sbalways_h);
1360                if (!v) {
1361                   emit("do-show-hbar", "");
1362                   set_int(sbvis_h, 1);
1363                }
1364                v = get_int(sbvis_timer);
1365                if (v > 0) cancel_timer(v);
1366                v = timer(1.0, "timer0", 0);
1367                set_int(sbvis_timer, v);
1368             }
1369          }
1370
1371          program { name: "highlight_show";
1372             signal: "elm,action,focus_highlight,show";
1373             source: "elm";
1374             action: STATE_SET "enabled" 0.0;
1375             transition: ACCELERATE 0.3;
1376             target: "focus_highlight";
1377             target: "conf_over";
1378          }
1379          program { name: "highlight_hide";
1380             signal: "elm,action,focus_highlight,hide";
1381             source: "elm";
1382             action: STATE_SET "default" 0.0;
1383             transition: DECELERATE 0.3;
1384             target: "focus_highlight";
1385             target: "conf_over";
1386          }
1387       }
1388    }
1389
1390 ///////////////////////////////////////////////////////////////////////////////
1391 #define TEXT_SLIDE_DURATION     10
1392
1393    group { name: "elm/label/base/default";
1394       data.item: "default_font_size" "10";
1395       data.item: "min_font_size" "6";
1396       data.item: "max_font_size" "60";
1397       styles {
1398          style { name: "textblock_style";
1399             base: "font=Sans font_size=10 color=#000 wrap=word text_class=label";
1400             tag:  "br" "\n";
1401             tag:  "ps" "ps";
1402             tag:  "hilight" "+ font=Sans:style=Bold";
1403             tag:  "b" "+ font=Sans:style=Bold";
1404             tag:  "tab" "\t";
1405            }
1406         }
1407       parts {
1408          part { name: "label.swallow.background";
1409             type: SWALLOW;
1410             description { state: "default" 0.0;
1411                visible: 1;
1412             }
1413          }
1414          part { name: "label.text.clip";
1415             type: RECT;
1416             description { state: "default" 0.0;
1417                rel1 { relative: 0 0; to: "label.swallow.background"; }
1418                rel2 { relative: 1 1; to: "label.swallow.background"; }
1419             }
1420          }
1421          part { name: "elm.text";
1422             type: TEXTBLOCK;
1423             mouse_events: 0;
1424             scale: 1;
1425             clip_to: "label.text.clip";
1426             description { state: "default" 0.0;
1427                rel1.relative: 0.0 0.0;
1428                rel2.relative: 1.0 1.0;
1429                text {
1430                   style: "textblock_style";
1431                   min: 1 1;
1432                }
1433             }
1434          }
1435       }
1436    }
1437
1438    group { name: "elm/label/base_wrap/default";
1439       data.item: "default_font_size" "10";
1440       data.item: "min_font_size" "6";
1441       data.item: "max_font_size" "60";
1442       parts {
1443          part { name: "label.swallow.background";
1444             type: SWALLOW;
1445             description { state: "default" 0.0;
1446                visible: 1;
1447                rel1 { relative: 0 0; to: "elm.text"; }
1448                rel2 { relative: 1 1; to: "elm.text"; }
1449             }
1450          }
1451          part { name: "elm.text";
1452             type: TEXTBLOCK;
1453             mouse_events: 0;
1454             scale: 1;
1455             description { state: "default" 0.0;
1456                text {
1457                   style: "textblock_style";
1458                   min: 0 1;
1459                }
1460             } 
1461          }
1462       }
1463    } 
1464
1465    group { name: "elm/label/base_wrap_ellipsis/default";
1466       data.item: "default_font_size" "10";
1467       data.item: "min_font_size" "6";
1468       data.item: "max_font_size" "60";
1469       parts {
1470          part { name: "label.swallow.background";
1471             type: SWALLOW;
1472             description { state: "default" 0.0;
1473                visible: 1;
1474                rel1 { relative: 0 0; to: "elm.text"; }
1475                rel2 { relative: 1 1; to: "elm.text"; }
1476             }
1477          }
1478          part { name: "elm.text";
1479             type: TEXTBLOCK;
1480             mouse_events: 0;
1481             scale: 1;
1482             multiline: 1;
1483             description { state: "default" 0.0;
1484                fixed: 0 1; 
1485                text {
1486                   style: "textblock_style";
1487                   min: 0 1;
1488                }
1489             }
1490          }
1491       }
1492    }
1493
1494    group { name: "elm/label/base/marker";
1495       data.item: "default_font_size" "10";
1496       data.item: "min_font_size" "6";
1497       data.item: "max_font_size" "60";
1498       styles {
1499          style { name: "textblock_style2";
1500            base: "font=Sans:style=Bold font_size=10 align=center color=#fff wrap=word text_class=label";
1501            tag:  "br" "\n";
1502            tag:  "ps" "ps";
1503            tag:  "hilight" "+ color=#ffff";
1504            tag:  "b" "+ color=#ffff";
1505            tag:  "tab" "\t";
1506          }
1507       }
1508       parts {
1509          part { name: "label.swallow.background";
1510             type: SWALLOW;
1511             description { state: "default" 0.0;
1512                visible: 1;
1513                rel1 { relative: 0 0; to: "elm.text"; }
1514                rel2 { relative: 1 1; to: "elm.text"; }
1515             }
1516          }
1517          part { name: "elm.text";
1518             type: TEXTBLOCK;
1519             mouse_events: 0;
1520             scale: 1;
1521             description { state: "default" 0.0;
1522                text {
1523                   style: "textblock_style2";
1524                   min: 1 1;
1525                }
1526             }
1527          }
1528       }
1529    }
1530
1531    group { name: "elm/label/base_wrap/marker";
1532       data.item: "default_font_size" "10";
1533       data.item: "min_font_size" "6";
1534       data.item: "max_font_size" "60";
1535       parts {
1536          part { name: "label.swallow.background";
1537             type: SWALLOW;
1538             description { state: "default" 0.0;
1539                visible: 1;
1540                rel1 { relative: 0 0; to: "elm.text"; }
1541                rel2 { relative: 1 1; to: "elm.text"; }
1542             }
1543          }
1544          part { name: "elm.text";
1545             type: TEXTBLOCK;
1546             mouse_events: 0;
1547             scale: 1;
1548             description { state: "default" 0.0;
1549                text {
1550                   style: "textblock_style2";
1551                   min: 0 1;
1552                }
1553             }
1554          }
1555       }
1556    }
1557
1558    group { name: "elm/label/base/slide_long";
1559       data.item: "default_font_size" "10";
1560       data.item: "min_font_size" "6";
1561       data.item: "max_font_size" "60";
1562       
1563       script {
1564         public g_duration, g_stopslide, g_timer_id, g_anim_id;
1565           
1566         public message(Msg_Type:type, id, ...) {
1567            if ((type == MSG_FLOAT_SET) && (id == 0)) {
1568               new Float:duration;
1569               duration = getarg(2);
1570               set_float(g_duration, duration);
1571            }
1572         }
1573         public slide_to_end_anim(val, Float:pos) {
1574            new stopflag;
1575            new id;
1576            stopflag = get_int(g_stopslide);
1577            if (stopflag == 1) return;
1578            set_tween_state(PART:"elm.text", pos, "slide_begin", 0.0, "slide_end", 0.0);
1579            if (pos >= 1.0) {
1580               id = timer(0.5, "slide_to_begin", 1);
1581               set_int(g_timer_id, id);
1582            }
1583         }
1584         public slide_to_end() {
1585            new stopflag;
1586            new id;
1587            new Float:duration;
1588            stopflag = get_int(g_stopslide);
1589            if (stopflag == 1) return;
1590            duration = get_float(g_duration);
1591            id = anim(duration, "slide_to_end_anim", 1);
1592            set_int(g_anim_id, id);
1593         }
1594         public slide_to_begin() {
1595            new stopflag;
1596            new id;
1597            stopflag = get_int(g_stopslide);
1598            if (stopflag == 1) return;
1599            set_state(PART:"elm.text", "slide_begin", 0.0);
1600            id = timer(0.5, "slide_to_end", 1);
1601            set_int(g_timer_id, id);
1602         }
1603         public start_slide() {
1604            set_int(g_stopslide, 0);
1605            set_state(PART:"elm.text", "slide_begin", 0.0);
1606            slide_to_end();
1607         }
1608         public stop_slide() {
1609            new id;
1610            set_int(g_stopslide, 1);
1611            id = get_int(g_anim_id);
1612            cancel_anim(id);
1613            id = get_int(g_timer_id);
1614            cancel_timer(id);
1615            set_state(PART:"elm.text", "default", 0.0);
1616         }
1617       }
1618        
1619       parts {
1620          part { name: "label.swallow.background";
1621             type: SWALLOW;
1622             description { state: "default" 0.0;
1623                visible: 1;
1624             }
1625          }
1626          part { name: "label.text.clip";
1627             type: RECT;
1628             description { state: "default" 0.0;
1629                visible: 1;
1630                color: 255 255 255 255;
1631                rel1 { relative: 0 0; to: "label.swallow.background"; }
1632                rel2 { relative: 1 1; to: "label.swallow.background"; }
1633             }
1634          }
1635          part { name: "elm.text";
1636             type: TEXTBLOCK;
1637             mouse_events: 0;
1638             scale: 1;
1639             clip_to: "label.text.clip";
1640             description { state: "default" 0.0;
1641                rel1.relative: 0.0 0.0;
1642                rel2.relative: 1.0 1.0;
1643                align: 0.0 0.0;
1644                text {
1645                   style: "textblock_style";
1646                   min: 1 1;
1647                }
1648             }
1649             description { state: "slide_end" 0.0;
1650                inherit: "default" 0.0;
1651                rel1.relative: 0.0 0.0;
1652                rel2.relative: 0.0 1.0;
1653                align: 1.0 0.0;
1654             }
1655             description { state: "slide_begin" 0.0;
1656                inherit: "default" 0.0;
1657                rel1.relative: 1.0 0.0;
1658                rel2.relative: 1.0 1.0;
1659                align: 0.0 0.0;
1660             }
1661          }
1662        }
1663        programs {
1664           program { name: "start_slide";
1665              source: "elm";
1666              signal: "elm,state,slide,start";
1667              script
1668                {
1669                   start_slide();
1670                }
1671           }
1672           program { name: "stop_slide";
1673              source: "elm";
1674              signal: "elm,state,slide,stop";
1675              script
1676                {
1677                   stop_slide();
1678                }
1679           }
1680        }
1681    }
1682    
1683
1684    group { name: "elm/label/base/slide_short";
1685       data.item: "default_font_size" "10";
1686       data.item: "min_font_size" "6";
1687       data.item: "max_font_size" "60";
1688
1689       script {
1690          public g_duration, g_stopslide, g_timer_id, g_anim_id;
1691          
1692          public message(Msg_Type:type, id, ...) {
1693             if ((type == MSG_FLOAT_SET) && (id == 0)) {
1694                new Float:duration;
1695                duration = getarg(2);
1696                set_float(g_duration, duration);
1697             }
1698          }
1699          public slide_to_end_anim(val, Float:pos) {
1700             new stopflag;
1701             new id;
1702             stopflag = get_int(g_stopslide);
1703             if (stopflag == 1) return;
1704             set_tween_state(PART:"elm.text", pos, "slide_begin", 0.0, "slide_end", 0.0);
1705             if (pos >= 1.0) {
1706                id = timer(0.5, "slide_to_begin", 1);
1707                set_int(g_timer_id, id);
1708             }
1709          }
1710          public slide_to_end() {
1711             new stopflag;
1712             new id;
1713             new Float:duration;
1714             stopflag = get_int(g_stopslide);
1715             if (stopflag == 1) return;
1716             duration = get_float(g_duration);
1717             id = anim(duration, "slide_to_end_anim", 1);
1718             set_int(g_anim_id, id);
1719          }
1720          public slide_to_begin() {
1721             new stopflag;
1722             new id;
1723             stopflag = get_int(g_stopslide);
1724             if (stopflag == 1) return;
1725             set_state(PART:"elm.text", "slide_begin", 0.0);
1726             id = timer(0.5, "slide_to_end", 1);
1727             set_int(g_timer_id, id);
1728          }
1729          public start_slide() {
1730             set_int(g_stopslide, 0);
1731             set_state(PART:"elm.text", "slide_begin", 0.0);
1732             slide_to_end();
1733          }
1734          public stop_slide() {
1735             new id;
1736             set_int(g_stopslide, 1);
1737             id = get_int(g_anim_id);
1738             cancel_anim(id);
1739             id = get_int(g_timer_id);
1740             cancel_timer(id);
1741             set_state(PART:"elm.text", "default", 0.0);
1742          }
1743       }
1744
1745       parts {
1746          part { name: "label.swallow.background";
1747             type: SWALLOW;
1748             description { state: "default" 0.0;
1749                visible: 1;
1750             }
1751          }
1752          part { name: "label.text.clip";
1753             type: RECT;
1754             description { state: "default" 0.0;
1755                visible: 1;
1756                color: 255 255 255 255;
1757                rel1 { relative: 0 0; to: "label.swallow.background"; }
1758                rel2 { relative: 1 1; to: "label.swallow.background"; }
1759             }
1760          }
1761          part { name: "elm.text";
1762             type: TEXTBLOCK;
1763             mouse_events: 0;
1764             scale: 1;
1765             clip_to: "label.text.clip";
1766             description { state: "default" 0.0;
1767                rel1.relative: 0.0 0.0;
1768                rel2.relative: 1.0 1.0;
1769                align: 0.0 0.0;
1770                text {
1771                   style: "textblock_style";
1772                   min: 1 1;
1773                }
1774             }
1775             description { state: "slide_end" 0.0;
1776                inherit: "default" 0.0;
1777                rel1.relative: 1.0 0.0;
1778                rel2.relative: 1.0 1.0;
1779                align: 1.0 0.0;
1780             }
1781             description { state: "slide_begin" 0.0;
1782                inherit: "default" 0.0;
1783                rel1.relative: 0.0 0.0;
1784                rel2.relative: 0.0 1.0;
1785                align: 0.0 0.0;
1786             }
1787          }
1788       }
1789       programs {
1790          program { name: "start_slide";
1791             source: "elm";
1792             signal: "elm,state,slide,start";
1793             script
1794               {
1795                  start_slide();
1796               }
1797          }
1798          program { name: "stop_slide";
1799             source: "elm";
1800             signal: "elm,state,slide,stop";
1801             script
1802               {
1803                  stop_slide();
1804               }
1805          }
1806       }
1807    }
1808
1809    group { name: "elm/label/base/slide_bounce";
1810       data.item: "default_font_size" "10";
1811       data.item: "min_font_size" "6";
1812       data.item: "max_font_size" "60";
1813       
1814       script {
1815          public g_duration, g_stopslide, g_timer_id, g_anim_id;
1816          
1817          public message(Msg_Type:type, id, ...) {
1818             if ((type == MSG_FLOAT_SET) && (id == 0)) {
1819                new Float:duration;
1820                duration = getarg(2);
1821                set_float(g_duration, duration);
1822             }
1823          }
1824          public slide_to_end_anim(val, Float:pos) {
1825             new stopflag;
1826             new id;
1827             stopflag = get_int(g_stopslide);
1828             if (stopflag == 1) return;
1829             set_tween_state(PART:"elm.text", pos, "slide_begin", 0.0, "slide_end", 0.0);
1830             if (pos >= 1.0) {
1831                id = timer(0.5, "slide_to_begin", 1);
1832                set_int(g_timer_id, id);
1833             }
1834          }
1835          public slide_to_end() {
1836             new stopflag;
1837             new id;
1838             new Float:duration;
1839             stopflag = get_int(g_stopslide);
1840             if (stopflag == 1) return;
1841             duration = get_float(g_duration);
1842             id = anim(duration, "slide_to_end_anim", 1);
1843             set_int(g_anim_id, id);
1844          }
1845          public slide_to_begin_anim(val, Float:pos) {
1846             new stopflag;
1847             new id;
1848             stopflag = get_int(g_stopslide);
1849             if (stopflag == 1) return;
1850             set_tween_state(PART:"elm.text", pos, "slide_end", 0.0, "slide_begin", 0.0);
1851             if (pos >= 1.0) {
1852                id = timer(0.5, "slide_to_end", 1);
1853                set_int(g_timer_id, id);
1854             }
1855          }
1856          public slide_to_begin() {
1857             new stopflag;
1858             new id;
1859             new Float:duration;
1860             stopflag = get_int(g_stopslide);
1861             if (stopflag == 1) return;
1862             duration = get_float(g_duration);
1863             id = anim(duration, "slide_to_begin_anim", 1);
1864             set_int(g_anim_id, id);
1865          }
1866          public start_slide() {
1867             set_int(g_stopslide, 0);
1868             set_state(PART:"elm.text", "slide_begin", 0.0);
1869             slide_to_end();
1870          }
1871          public stop_slide() {
1872             new id;
1873             set_int(g_stopslide, 1);
1874             id = get_int(g_anim_id);
1875             cancel_anim(id);
1876             id = get_int(g_timer_id);
1877             cancel_timer(id);
1878             set_state(PART:"elm.text", "default", 0.0);
1879          }
1880       }
1881
1882       parts {
1883          part { name: "label.swallow.background";
1884             type: SWALLOW;
1885             description { state: "default" 0.0;
1886                visible: 1;
1887             }
1888          }
1889          part { name: "label.text.clip";
1890             type: RECT;
1891             description { state: "default" 0.0;
1892                visible: 1;
1893                color: 255 255 255 255;
1894                rel1 { relative: 0 0; to: "label.swallow.background"; }
1895                rel2 { relative: 1 1; to: "label.swallow.background"; }
1896             }
1897          }
1898          part { name: "elm.text";
1899             type: TEXTBLOCK;
1900             mouse_events: 0;
1901             scale: 1;
1902             clip_to: "label.text.clip";
1903             description { state: "default" 0.0;
1904                rel1.relative: 0.0 0.0;
1905                rel2.relative: 1.0 1.0;
1906                align: 0.0 0.0;
1907                text {
1908                   style: "textblock_style";
1909                   min: 1 1;
1910                }
1911             }
1912             description { state: "slide_end" 0.0;
1913                inherit: "default" 0.0;
1914                rel1.relative: 1.0 0.0;
1915                rel2.relative: 1.0 1.0;
1916                align: 1.0 0.0;
1917             }
1918             description { state: "slide_begin" 0.0;
1919                inherit: "default" 0.0;
1920                rel1.relative: 0.0 0.0;
1921                rel2.relative: 0.0 1.0;
1922                align: 0.0 0.0;
1923             }
1924          }
1925       }
1926       programs {
1927          program { name: "start_slide";
1928             source: "elm";
1929             signal: "elm,state,slide,start";
1930             script
1931               {
1932                  start_slide();
1933               }
1934          }
1935          program { name: "stop_slide";
1936             source: "elm";
1937             signal: "elm,state,slide,stop";
1938             script
1939               {
1940                  stop_slide();
1941               }
1942          }
1943       }
1944    }
1945
1946
1947 ///////////////////////////////////////////////////////////////////////////////
1948
1949    group { name: "elm/button/base/default";
1950       images {
1951          image: "bt_base1.png" COMP;
1952          image: "bt_base2.png" COMP;
1953          image: "bt_hilight.png" COMP;
1954          image: "bt_shine.png" COMP;
1955          image: "bt_glow.png" COMP;
1956          image: "bt_dis_base.png" COMP;
1957          image: "bt_dis_hilight.png" COMP;
1958       }
1959       parts {
1960          part { name: "button_image";
1961             mouse_events: 1;
1962             description { state: "default" 0.0;
1963           min: 15 15;
1964                image {
1965                   normal: "bt_base2.png";
1966                   border: 7 7 7 7;
1967                }
1968                image.middle: SOLID;
1969             }
1970             description { state: "clicked" 0.0;
1971                inherit: "default" 0.0;
1972                image.normal: "bt_base1.png";
1973                image.middle: SOLID;
1974             }
1975             description { state: "disabled" 0.0;
1976                inherit:  "default" 0.0;
1977                image {
1978                   normal: "bt_dis_base.png";
1979                   border: 4 4 4 4;
1980                }
1981             }
1982          }
1983          part { name: "elm.swallow.content";
1984             type: SWALLOW;
1985             description { state: "default" 0.0;
1986                fixed: 1 0;
1987                visible: 0;
1988                align: 0.0 0.5;
1989                rel1.offset: 4 4;
1990                rel2.offset: 3 -5;
1991                rel2.relative: 0.0 1.0;
1992             }
1993             description { state: "visible" 0.0;
1994                inherit: "default" 0.0;
1995                fixed: 1 0;
1996                visible: 1;
1997                aspect: 1.0 1.0;
1998 //             aspect_preference: VERTICAL;
1999                rel2.offset: 4 -5;
2000             }
2001             description { state: "icononly" 0.0;
2002                inherit: "default" 0.0;
2003                fixed: 0 0;
2004                visible: 1;
2005                align: 0.5 0.5;
2006 //             aspect: 1.0 1.0;
2007                rel2.offset: -5 -5;
2008                rel2.relative: 1.0 1.0;
2009 //             aspect_preference: VERTICAL;
2010             }
2011          }
2012          part {
2013             name:          "elm.text";
2014             type:          TEXT;
2015             effect:        SOFT_SHADOW;
2016             mouse_events:  0;
2017             scale: 1;
2018             description { state: "default" 0.0;
2019                visible: 0;
2020                rel1.to_x: "elm.swallow.content";
2021                rel1.relative: 1.0 0.0;
2022                rel1.offset: 0 4;
2023                rel2.offset: -5 -5;
2024                color: 224 224 224 255;
2025                color3: 0 0 0 64;
2026                text {
2027                   font:     "Sans,Edje-Vera";
2028                   size:     10;
2029                   min:      0 0;
2030                   align:    0.5 0.5;
2031                   text_class: "button";
2032                }
2033             }
2034             description { state: "visible" 0.0;
2035                inherit: "default" 0.0;
2036                visible: 1;
2037                text.min: 1 1;
2038             }
2039             description { state: "disabled" 0.0;
2040                inherit: "default" 0.0;
2041                color: 0 0 0 128;
2042                color3: 0 0 0 0;
2043             }
2044             description { state: "disabled_visible" 0.0;
2045                inherit: "default" 0.0;
2046                color: 0 0 0 128;
2047                color3: 0 0 0 0;
2048                visible: 1;
2049                text.min: 1 1;
2050             }
2051          }
2052          part {   name: "over1";
2053             mouse_events: 0;
2054             description { state: "default" 0.0;
2055                rel2.relative: 1.0 0.5;
2056                image {
2057                   normal: "bt_hilight.png";
2058                   border: 7 7 7 0;
2059                }
2060             }
2061             description { state: "disabled" 0.0;
2062                inherit:  "default" 0.0;
2063                image {
2064                   normal: "bt_dis_hilight.png";
2065                   border: 4 4 4 0;
2066                }
2067             }
2068          }
2069          part { name: "over2";
2070             mouse_events: 1;
2071             repeat_events: 1;
2072             ignore_flags: ON_HOLD;
2073             description { state: "default" 0.0;
2074                image {
2075                   normal: "bt_shine.png";
2076                   border: 7 7 7 7;
2077                }
2078             }
2079             description { state: "disabled" 0.0;
2080                inherit:  "default" 0.0;
2081                visible: 0;
2082             }
2083          }
2084          part { name: "over3";
2085             mouse_events: 1;
2086             repeat_events: 1;
2087             description { state: "default" 0.0;
2088                color: 255 255 255 0;
2089                image {
2090                   normal: "bt_glow.png";
2091                   border: 12 12 12 12;
2092                }
2093                fill.smooth : 0;
2094             }
2095             description { state: "clicked" 0.0;
2096                inherit:  "default" 0.0;
2097                color: 255 255 255 255;
2098             }
2099          }
2100          part { name: "disabler";
2101             type: RECT;
2102             description { state: "default" 0.0;
2103                color: 0 0 0 0;
2104                visible: 0;
2105             }
2106             description { state: "disabled" 0.0;
2107                inherit: "default" 0.0;
2108                visible: 1;
2109             }
2110          }
2111       }
2112       programs {
2113          program {
2114             name:   "button_click";
2115             signal: "mouse,down,1";
2116             source: "over2";
2117             action: SIGNAL_EMIT "elm,action,press" "";
2118             after: "button_click_anim";
2119          }
2120          program {
2121             name:   "button_click_anim";
2122             action: STATE_SET "clicked" 0.0;
2123             target: "button_image";
2124          }
2125          program {
2126             name:   "button_unclick";
2127             signal: "mouse,up,1";
2128             source: "over3";
2129             action: SIGNAL_EMIT "elm,action,unpress" "";
2130             after: "button_unclick_anim";
2131          }
2132          program {
2133             name:   "button_pressed_anim";
2134             signal: "elm,anim,activate";
2135             source: "elm";
2136             action: STATE_SET "clicked" 0.0;
2137             target: "button_image";
2138             target: "over3";
2139             after: "button_unpressed_anim";
2140          }
2141          program {
2142             name:   "button_unpressed_anim";
2143             action: STATE_SET "default" 0.0;
2144             transition: DECELERATE 0.5;
2145             target: "button_image";
2146             target: "over3";
2147          }
2148          program {
2149             name:   "button_unclick_anim";
2150             action: STATE_SET "default" 0.0;
2151             target: "button_image";
2152          }
2153          program {
2154             name:   "button_click2";
2155             signal: "mouse,down,1";
2156             source: "over3";
2157             action: STATE_SET "clicked" 0.0;
2158             target: "over3";
2159          }
2160          program {
2161             name:   "button_unclick2";
2162             signal: "mouse,up,1";
2163             source: "over3";
2164             action: STATE_SET "default" 0.0;
2165             transition: DECELERATE 0.5;
2166             target: "over3";
2167          }
2168          program {
2169             name:   "button_unclick3";
2170             signal: "mouse,clicked,1";
2171             source: "over2";
2172             action: SIGNAL_EMIT "elm,action,click" "";
2173          }
2174          program { name: "text_show";
2175             signal: "elm,state,text,visible";
2176             source: "elm";
2177             script {
2178                new st[31];
2179                new Float:vl;
2180                get_state(PART:"elm.swallow.content", st, 30, vl);
2181                if (!strcmp(st, "icononly"))
2182                  set_state(PART:"elm.swallow.content", "visible", 0.0);
2183                set_state(PART:"elm.text", "visible", 0.0);
2184             }
2185          }
2186          program { name: "text_hide";
2187             signal: "elm,state,text,hidden";
2188             source: "elm";
2189             script {
2190                new st[31];
2191                new Float:vl;
2192                get_state(PART:"elm.swallow.content", st, 30, vl);
2193                if (!strcmp(st, "visible"))
2194                  set_state(PART:"elm.swallow.content", "icononly", 0.0);
2195                set_state(PART:"elm.text", "default", 0.0);
2196             }
2197          }
2198          program { name: "icon_show";
2199             signal: "elm,state,icon,visible";
2200             source: "elm";
2201             script {
2202                new st[31];
2203                new Float:vl;
2204                get_state(PART:"elm.text", st, 30, vl);
2205                if (!strcmp(st, "visible"))
2206                  set_state(PART:"elm.swallow.content", "visible", 0.0);
2207                else
2208                  set_state(PART:"elm.swallow.content", "icononly", 0.0);
2209             }
2210          }
2211          program { name: "icon_hide";
2212             signal: "elm,state,icon,hidden";
2213             source: "elm";
2214             action:  STATE_SET "default" 0.0;
2215             target: "elm.swallow.content";
2216          }
2217          program { name: "disable";
2218             signal: "elm,state,disabled";
2219             source: "elm";
2220             action: STATE_SET "disabled" 0.0;
2221             target: "button_image";
2222             target: "over1";
2223             target: "over2";
2224             target: "disabler";
2225             after: "disable_text";
2226          }
2227          program { name: "disable_text";
2228             script {
2229                new st[31];
2230                new Float:vl;
2231                get_state(PART:"elm.text", st, 30, vl);
2232                if (!strcmp(st, "visible"))
2233                  set_state(PART:"elm.text", "disabled_visible", 0.0);
2234                else
2235                  set_state(PART:"elm.text", "disabled", 0.0);
2236             }
2237          }
2238          program { name: "enable";
2239             signal: "elm,state,enabled";
2240             source: "elm";
2241             action: STATE_SET "default" 0.0;
2242             target: "button_image";
2243             target: "over1";
2244             target: "over2";
2245             target: "disabler";
2246             after: "enable_text";
2247          }
2248          program { name: "enable_text";
2249             script {
2250                new st[31];
2251                new Float:vl;
2252                get_state(PART:"elm.text", st, 30, vl);
2253                if (!strcmp(st, "disabled_visible"))
2254                  set_state(PART:"elm.text", "visible", 0.0);
2255                else
2256                  set_state(PART:"elm.text", "default", 0.0);
2257             }
2258          }
2259       }
2260    }
2261
2262    group { name: "elm/button/base/hoversel_vertical/default";
2263       alias: "elm/button/base/hoversel_vertical/entry";
2264       alias: "elm/button/base/hoversel_horizontal/default";
2265       alias: "elm/button/base/hoversel_horizontal/entry";
2266       images {
2267          image: "bt_base1.png" COMP;
2268          image: "bt_base2.png" COMP;
2269          image: "bt_hilight.png" COMP;
2270          image: "bt_shine.png" COMP;
2271          image: "bt_glow.png" COMP;
2272          image: "updown.png" COMP;
2273          image: "bt_dis_base.png" COMP;
2274          image: "bt_dis_hilight.png" COMP;
2275       }
2276       parts {
2277          part { name: "button_image";
2278             mouse_events: 1;
2279             description { state: "default" 0.0;
2280                image {
2281                   normal: "bt_base2.png";
2282                   border: 7 7 7 7;
2283                }
2284                image.middle: SOLID;
2285             }
2286             description { state: "clicked" 0.0;
2287                inherit: "default" 0.0;
2288                image.normal: "bt_base1.png";
2289                image.middle: SOLID;
2290             }
2291             description { state: "disabled" 0.0;
2292                inherit:  "default" 0.0;
2293                image {
2294                   normal: "bt_dis_base.png";
2295                   border: 4 4 4 4;
2296                }
2297             }
2298          }
2299          part { name: "arrow";
2300             mouse_events: 0;
2301             description { state: "default" 0.0;
2302                image.normal: "updown.png";
2303                aspect: 0.6666666666 0.6666666666;
2304                aspect_preference: VERTICAL;
2305                rel1.offset: 6 7;
2306                rel2.offset: 6 -7;
2307                rel2.relative: 0.0 1.0;
2308                align: 0.0 0.5;
2309             }
2310          }
2311          part { name: "elm.swallow.content";
2312             type: SWALLOW;
2313             description { state: "default" 0.0;
2314                fixed: 1 0;
2315                visible: 0;
2316                align: 0.0 0.5;
2317                rel1 {
2318                   to_x: "arrow";
2319                   offset: 2 4;
2320                   relative: 1.0 0.0;
2321                }
2322                rel2 {
2323                   to_x: "arrow";
2324                   offset: 1 -5;
2325                   relative: 1.0 1.0;
2326                }
2327             }
2328             description { state: "visible" 0.0;
2329                inherit: "default" 0.0;
2330                fixed: 0 0;
2331                visible: 1;
2332                aspect: 1.0 1.0;
2333                aspect_preference: VERTICAL;
2334                rel2.offset: 2 -5;
2335             }
2336             description { state: "icononly" 0.0;
2337                inherit: "default" 0.0;
2338                fixed: 0 0;
2339                visible: 1;
2340                align: 0.5 0.5;
2341                aspect: 1.0 1.0;
2342                rel1 {
2343                   to_x: "button_image";
2344                   offset: -5 -5;
2345                   relative: 1.0 1.0;
2346                }
2347                aspect_preference: VERTICAL;
2348             }
2349          }
2350          part {
2351             name:          "elm.text";
2352             type:          TEXT;
2353             effect:        SOFT_SHADOW;
2354             mouse_events:  0;
2355             scale: 1;
2356             description { state: "default" 0.0;
2357                visible: 0;
2358                rel1.to_x: "elm.swallow.content";
2359                rel1.relative: 1.0 0.0;
2360                rel1.offset: 0 4;
2361                rel2.offset: -5 -5;
2362                color: 224 224 224 255;
2363                color3: 0 0 0 64;
2364                text {
2365                   font:     "Sans,Edje-Vera";
2366                   size:     10;
2367                   min:      0 0;
2368                   align:    0.5 0.5;
2369                   text_class: "button";
2370                }
2371             }
2372             description { state: "visible" 0.0;
2373                inherit: "default" 0.0;
2374                visible: 1;
2375                text.min: 1 1;
2376             }
2377             description { state: "disabled" 0.0;
2378                inherit: "default" 0.0;
2379                color: 0 0 0 128;
2380                color3: 0 0 0 0;
2381             }
2382             description { state: "disabled_visible" 0.0;
2383                inherit: "default" 0.0;
2384                color: 0 0 0 128;
2385                color3: 0 0 0 0;
2386                visible: 1;
2387                text.min: 1 1;
2388             }
2389          }
2390          part {   name: "over1";
2391             mouse_events: 0;
2392             description { state: "default" 0.0;
2393                rel2.relative: 1.0 0.5;
2394                image {
2395                   normal: "bt_hilight.png";
2396                   border: 7 7 7 0;
2397                }
2398             }
2399             description { state: "disabled" 0.0;
2400                inherit:  "default" 0.0;
2401                image {
2402                   normal: "bt_dis_hilight.png";
2403                   border: 4 4 4 0;
2404                }
2405             }
2406          }
2407          part { name: "over2";
2408             mouse_events: 1;
2409             repeat_events: 1;
2410             ignore_flags: ON_HOLD;
2411             description { state: "default" 0.0;
2412                image {
2413                   normal: "bt_shine.png";
2414                   border: 7 7 7 7;
2415                }
2416             }
2417             description { state: "disabled" 0.0;
2418                inherit:  "default" 0.0;
2419                visible: 0;
2420             }
2421          }
2422          part { name: "over3";
2423             mouse_events: 1;
2424             repeat_events: 1;
2425             description { state: "default" 0.0;
2426                color: 255 255 255 0;
2427                image {
2428                   normal: "bt_glow.png";
2429                   border: 12 12 12 12;
2430                }
2431                fill.smooth : 0;
2432             }
2433             description { state: "clicked" 0.0;
2434                inherit:  "default" 0.0;
2435                visible: 1;
2436                color: 255 255 255 255;
2437             }
2438          }
2439          part { name: "disabler";
2440             type: RECT;
2441             description { state: "default" 0.0;
2442                color: 0 0 0 0;
2443                visible: 0;
2444             }
2445             description { state: "disabled" 0.0;
2446                inherit: "default" 0.0;
2447                visible: 1;
2448             }
2449          }
2450       }
2451       programs {
2452          program {
2453             name:   "button_click";
2454             signal: "mouse,down,1";
2455             source: "over2";
2456             action: STATE_SET "clicked" 0.0;
2457             target: "button_image";
2458          }
2459          program {
2460             name:   "button_unclick";
2461             signal: "mouse,up,1";
2462             source: "over2";
2463             action: STATE_SET "default" 0.0;
2464             target: "button_image";
2465          }
2466          program {
2467             name:   "button_click2";
2468             signal: "mouse,down,1";
2469             source: "over3";
2470             action: STATE_SET "clicked" 0.0;
2471             target: "over3";
2472          }
2473          program {
2474             name:   "button_unclick2";
2475             signal: "mouse,up,1";
2476             source: "over3";
2477             action: STATE_SET "default" 0.0;
2478             transition: DECELERATE 0.5;
2479             target: "over3";
2480          }
2481          program {
2482             name:   "button_unclick3";
2483             signal: "mouse,up,1";
2484             source: "over2";
2485             action: SIGNAL_EMIT "elm,action,click" "";
2486          }
2487          program { name: "text_show";
2488             signal: "elm,state,text,visible";
2489             source: "elm";
2490             script {
2491                new st[31];
2492                new Float:vl;
2493                get_state(PART:"elm.swallow.content", st, 30, vl);
2494                if (!strcmp(st, "icononly"))
2495                  set_state(PART:"elm.swallow.content", "visible", 0.0);
2496                set_state(PART:"elm.text", "visible", 0.0);
2497             }
2498          }
2499          program { name: "text_hide";
2500             signal: "elm,state,text,hidden";
2501             source: "elm";
2502             script {
2503                new st[31];
2504                new Float:vl;
2505                get_state(PART:"elm.swallow.content", st, 30, vl);
2506                if (!strcmp(st, "visible"))
2507                  set_state(PART:"elm.swallow.content", "icononly", 0.0);
2508                set_state(PART:"elm.text", "default", 0.0);
2509             }
2510          }
2511          program { name: "icon_show";
2512             signal: "elm,state,icon,visible";
2513             source: "elm";
2514             script {
2515                new st[31];
2516                new Float:vl;
2517                get_state(PART:"elm.text", st, 30, vl);
2518                if (!strcmp(st, "visible"))
2519                  set_state(PART:"elm.swallow.content", "visible", 0.0);
2520                else
2521                  set_state(PART:"elm.swallow.content", "icononly", 0.0);
2522             }
2523          }
2524          program { name: "icon_hide";
2525             signal: "elm,state,icon,hidden";
2526             source: "elm";
2527             action:  STATE_SET "default" 0.0;
2528             target: "elm.swallow.content";
2529          }
2530          program { name: "disable";
2531             signal: "elm,state,disabled";
2532             source: "elm";
2533             action: STATE_SET "disabled" 0.0;
2534             target: "button_image";
2535             target: "over1";
2536             target: "over2";
2537             target: "disabler";
2538             after: "disable_text";
2539          }
2540          program { name: "disable_text";
2541             script {
2542                new st[31];
2543                new Float:vl;
2544                get_state(PART:"elm.text", st, 30, vl);
2545                if (!strcmp(st, "visible"))
2546                  set_state(PART:"elm.text", "disabled_visible", 0.0);
2547                else
2548                  set_state(PART:"elm.text", "disabled", 0.0);
2549             }
2550          }
2551          program { name: "enable";
2552             signal: "elm,state,enabled";
2553             source: "elm";
2554             action: STATE_SET "default" 0.0;
2555             target: "button_image";
2556             target: "over1";
2557             target: "over2";
2558             target: "disabler";
2559             after: "enable_text";
2560          }
2561          program { name: "enable_text";
2562             script {
2563                new st[31];
2564                new Float:vl;
2565                get_state(PART:"elm.text", st, 30, vl);
2566                if (!strcmp(st, "disabled_visible"))
2567                  set_state(PART:"elm.text", "visible", 0.0);
2568                else
2569                  set_state(PART:"elm.text", "default", 0.0);
2570             }
2571          }
2572       }
2573    }
2574
2575    group { name: "elm/button/base/hoversel_vertical_entry/default";
2576       alias: "elm/button/base/hoversel_vertical_entry/entry";
2577       alias: "elm/button/base/hoversel_horizontal_entry/default";
2578       alias: "elm/button/base/hoversel_horizontal_entry/entry";
2579       images {
2580          image: "hoversel_entry_bg.png" COMP;
2581       }
2582       parts {
2583          part { name: "button_image";
2584             mouse_events: 1;
2585             description { state: "default" 0.0;
2586                color: 255 255 255 0;
2587                image.normal: "hoversel_entry_bg.png";
2588                image.border: 0 0 2 2;
2589                fill.smooth: 0;
2590             }
2591             description { state: "clicked" 0.0;
2592                inherit: "default" 0.0;
2593                color: 255 255 255 255;
2594             }
2595          }
2596          part { name: "elm.swallow.content";
2597             type: SWALLOW;
2598             description { state: "default" 0.0;
2599                visible: 0;
2600                align: 0.0 0.5;
2601                rel1.offset: 4 4;
2602                rel2.offset: 3 -5;
2603                rel2.relative: 0.0 1.0;
2604             }
2605             description { state: "visible" 0.0;
2606                inherit: "default" 0.0;
2607                visible: 1;
2608                aspect: 1.0 1.0;
2609                aspect_preference: VERTICAL;
2610                rel2.offset: 4 -5;
2611             }
2612             description { state: "icononly" 0.0;
2613                inherit: "default" 0.0;
2614                visible: 1;
2615                align: 0.5 0.5;
2616                aspect: 1.0 1.0;
2617                rel2.offset: -5 -5;
2618                rel2.relative: 1.0 1.0;
2619                aspect_preference: VERTICAL;
2620             }
2621          }
2622          part { name: "textvis";
2623             type: RECT;
2624             mouse_events: 0;
2625             description { state: "default" 0.0;
2626                visible: 0;
2627             }
2628             description { state: "visible" 0.0;
2629                visible: 1;
2630             }
2631          }
2632          part {
2633             name:          "elm.text";
2634             type:          TEXT;
2635             effect:        SOFT_SHADOW;
2636             mouse_events:  0;
2637             scale: 1;
2638             clip_to:       "textvis";
2639             description { state: "default" 0.0;
2640                rel1.to_x: "elm.swallow.content";
2641                rel1.relative: 1.0 0.0;
2642                rel1.offset: 0 4;
2643                rel2.offset: -5 -5;
2644                color: 224 224 224 255;
2645                color3: 0 0 0 64;
2646                text {
2647                   font:     "Sans,Edje-Vera";
2648                   size:     10;
2649                   min:      0 0;
2650                   align:    0.5 0.5;
2651                   text_class: "button";
2652                }
2653             }
2654             description { state: "visible" 0.0;
2655                inherit: "default" 0.0;
2656                text.min: 1 1;
2657             }
2658             description { state: "clicked" 0.0;
2659                inherit: "default" 0.0;
2660                text.min: 1 1;
2661                color: 0 0 0 255;
2662                color3: 0 0 0 0;
2663             }
2664          }
2665          part { name: "over2";
2666             type: RECT;
2667             mouse_events: 1;
2668             description { state: "default" 0.0;
2669                color: 0 0 0 0;
2670             }
2671          }
2672       }
2673       programs {
2674          program {
2675             name:   "button_click";
2676             signal: "mouse,down,1";
2677             source: "over2";
2678             action: STATE_SET "clicked" 0.0;
2679             target: "button_image";
2680             target: "elm.text";
2681          }
2682          program {
2683             name:   "button_unclick";
2684             signal: "mouse,up,1";
2685             source: "over2";
2686             action: STATE_SET "default" 0.0;
2687             target: "button_image";
2688             target: "elm.text";
2689          }
2690          program {
2691             name:   "button_unclick3";
2692             signal: "mouse,up,1";
2693             source: "over2";
2694             action: SIGNAL_EMIT "elm,action,click" "";
2695          }
2696          program { name: "text_show";
2697             signal: "elm,state,text,visible";
2698             source: "elm";
2699             script {
2700                new st[31];
2701                new Float:vl;
2702                get_state(PART:"elm.swallow.content", st, 30, vl);
2703                if (!strcmp(st, "icononly"))
2704                  set_state(PART:"elm.swallow.content", "visible", 0.0);
2705                set_state(PART:"textvis", "visible", 0.0);
2706                set_state(PART:"elm.text", "visible", 0.0);
2707             }
2708          }
2709          program { name: "text_hide";
2710             signal: "elm,state,text,hidden";
2711             source: "elm";
2712             script {
2713                new st[31];
2714                new Float:vl;
2715                get_state(PART:"elm.swallow.content", st, 30, vl);
2716                if (!strcmp(st, "visible"))
2717                  set_state(PART:"elm.swallow.content", "icononly", 0.0);
2718                set_state(PART:"textvis", "default", 0.0);
2719                set_state(PART:"elm.text", "default", 0.0);
2720             }
2721          }
2722          program { name: "icon_show";
2723             signal: "elm,state,icon,visible";
2724             source: "elm";
2725             script {
2726                new st[31];
2727                new Float:vl;
2728                get_state(PART:"textvis", st, 30, vl);
2729                if (!strcmp(st, "visible"))
2730                  set_state(PART:"elm.swallow.content", "visible", 0.0);
2731                else
2732                  set_state(PART:"elm.swallow.content", "icononly", 0.0);
2733             }
2734          }
2735          program { name: "icon_hide";
2736             signal: "elm,state,icon,hidden";
2737             source: "elm";
2738             action:  STATE_SET "default" 0.0;
2739             target: "elm.swallow.content";
2740          }
2741       }
2742    }
2743
2744    group { name: "elm/button/base/anchor";
2745       images {
2746          image: "bt_base1.png" COMP;
2747          image: "bt_base2.png" COMP;
2748          image: "bt_hilight.png" COMP;
2749          image: "bt_shine.png" COMP;
2750          image: "bt_glow.png" COMP;
2751          image: "bt_dis_base.png" COMP;
2752          image: "bt_dis_hilight.png" COMP;
2753       }
2754       parts {
2755          part { name: "button_image";
2756             mouse_events: 1;
2757             description { state: "default" 0.0;
2758           min: 15 15;
2759            color: 255 255 255 0;
2760                image {
2761                   normal: "bt_base2.png";
2762                   border: 7 7 7 7;
2763                }
2764                image.middle: SOLID;
2765             }
2766        description { state: "visible" 0.0;
2767                inherit: "default" 0.0;
2768           color: 255 255 255 255;
2769             }
2770             description { state: "clicked" 0.0;
2771                inherit: "default" 0.0;
2772           inherit: "visible" 0.0;
2773                image.normal: "bt_base1.png";
2774                image.middle: SOLID;
2775             }
2776             description { state: "disabled" 0.0;
2777                inherit:  "default" 0.0;
2778           inherit: "visible" 0.0;
2779                image {
2780                   normal: "bt_dis_base.png";
2781                   border: 4 4 4 4;
2782                }
2783             }
2784          }
2785          part { name: "elm.swallow.content";
2786             type: SWALLOW;
2787             description { state: "default" 0.0;
2788                fixed: 1 0;
2789                visible: 0;
2790                align: 0.0 0.5;
2791                rel1.offset: 4 4;
2792                rel2.offset: 3 -5;
2793                rel2.relative: 0.0 1.0;
2794             }
2795             description { state: "visible" 0.0;
2796                inherit: "default" 0.0;
2797                fixed: 1 0;
2798                visible: 1;
2799                aspect: 1.0 1.0;
2800                aspect_preference: VERTICAL;
2801                rel2.offset: 4 -5;
2802             }
2803             description { state: "icononly" 0.0;
2804                inherit: "default" 0.0;
2805                fixed: 0 0;
2806                visible: 1;
2807                align: 0.5 0.5;
2808                aspect: 1.0 1.0;
2809                rel2.offset: -5 -5;
2810                rel2.relative: 1.0 1.0;
2811                aspect_preference: VERTICAL;
2812             }
2813          }
2814          part {
2815             name:          "elm.text";
2816             type:          TEXT;
2817             effect:        SOFT_SHADOW;
2818             mouse_events:  0;
2819             scale: 1;
2820             description { state: "default" 0.0;
2821                visible: 0;
2822                rel1.to_x: "elm.swallow.content";
2823                rel1.relative: 1.0 0.0;
2824                rel1.offset: 0 4;
2825                rel2.offset: -5 -5;
2826                color: 224 224 224 255;
2827                color3: 0 0 0 64;
2828                text {
2829                   font:     "Sans,Edje-Vera";
2830                   size:     10;
2831                   min:      0 0;
2832                   align:    0.5 0.5;
2833                   text_class: "button";
2834                }
2835             }
2836             description { state: "visible" 0.0;
2837                inherit: "default" 0.0;
2838                visible: 1;
2839                text.min: 1 1;
2840             }
2841             description { state: "disabled" 0.0;
2842                inherit: "default" 0.0;
2843                color: 0 0 0 128;
2844                color3: 0 0 0 0;
2845             }
2846             description { state: "disabled_visible" 0.0;
2847                inherit: "default" 0.0;
2848                color: 0 0 0 128;
2849                color3: 0 0 0 0;
2850                visible: 1;
2851                text.min: 1 1;
2852             }
2853          }
2854          part {   name: "over1";
2855             mouse_events: 0;
2856             description { state: "default" 0.0;
2857            color: 255 255 255 0;
2858                rel2.relative: 1.0 0.5;
2859                image {
2860                   normal: "bt_hilight.png";
2861                   border: 7 7 7 0;
2862                }
2863             }
2864        description { state: "visible" 0.0;
2865                inherit:  "default" 0.0;
2866           color: 255 255 255 255;
2867             }
2868             description { state: "disabled" 0.0;
2869                inherit:  "default" 0.0;
2870           inherit:  "visible" 0.0;
2871                image {
2872                   normal: "bt_dis_hilight.png";
2873                   border: 4 4 4 0;
2874                }
2875             }
2876          }
2877          part { name: "over2";
2878             mouse_events: 1;
2879             repeat_events: 1;
2880             ignore_flags: ON_HOLD;
2881             description { state: "default" 0.0;
2882                image {
2883                   normal: "bt_shine.png";
2884                   border: 7 7 7 7;
2885                }
2886             }
2887             description { state: "disabled" 0.0;
2888                inherit:  "default" 0.0;
2889                visible: 0;
2890             }
2891          }
2892          part { name: "over3";
2893             mouse_events: 1;
2894             repeat_events: 1;
2895             description { state: "default" 0.0;
2896                color: 255 255 255 0;
2897                image {
2898                   normal: "bt_glow.png";
2899                   border: 12 12 12 12;
2900                }
2901                fill.smooth : 0;
2902             }
2903             description { state: "clicked" 0.0;
2904                inherit:  "default" 0.0;
2905                visible: 1;
2906                color: 255 255 255 255;
2907             }
2908          }
2909          part { name: "disabler";
2910             type: RECT;
2911             description { state: "default" 0.0;
2912                color: 0 0 0 0;
2913                visible: 0;
2914             }
2915             description { state: "disabled" 0.0;
2916                inherit: "default" 0.0;
2917                visible: 1;
2918             }
2919          }
2920       }
2921       programs {
2922     program {
2923             name:   "button_mouse_in";
2924             signal: "mouse,in";
2925             source: "over2";
2926             action: STATE_SET "visible" 0.0;
2927             target: "button_image";
2928        target: "over1";
2929        transition: DECELERATE 0.5;
2930          }
2931          program {
2932             name:   "button_mouse_out";
2933             signal: "mouse,out";
2934             source: "over2";
2935             action: STATE_SET "default" 0.0;
2936             target: "button_image";
2937        target: "over1";
2938        transition: DECELERATE 0.5;
2939          }
2940          program {
2941             name:   "button_unclick";
2942             signal: "mouse,up,1";
2943             source: "over2";
2944             action: STATE_SET "visible" 0.0;
2945             target: "button_image";
2946          }
2947          program {
2948             name:   "button_click2";
2949             signal: "mouse,down,1";
2950             source: "over3";
2951             action: STATE_SET "clicked" 0.0;
2952             target: "over3";
2953          }
2954          program {
2955             name:   "button_unclick2";
2956             signal: "mouse,up,1";
2957             source: "over3";
2958             action: STATE_SET "default" 0.0;
2959             transition: DECELERATE 0.5;
2960             target: "over3";
2961          }
2962          program {
2963             name:   "button_unclick3";
2964             signal: "mouse,up,1";
2965             source: "over2";
2966             action: SIGNAL_EMIT "elm,action,click" "";
2967          }
2968          program { name: "text_show";
2969             signal: "elm,state,text,visible";
2970             source: "elm";
2971             script {
2972                new st[31];
2973                new Float:vl;
2974                get_state(PART:"elm.swallow.content", st, 30, vl);
2975                if (!strcmp(st, "icononly"))
2976                  set_state(PART:"elm.swallow.content", "visible", 0.0);
2977                set_state(PART:"elm.text", "visible", 0.0);
2978             }
2979          }
2980          program { name: "text_hide";
2981             signal: "elm,state,text,hidden";
2982             source: "elm";
2983             script {
2984                new st[31];
2985                new Float:vl;
2986                get_state(PART:"elm.swallow.content", st, 30, vl);
2987                if (!strcmp(st, "visible"))
2988                  set_state(PART:"elm.swallow.content", "icononly", 0.0);
2989                set_state(PART:"elm.text", "default", 0.0);
2990             }
2991          }
2992          program { name: "icon_show";
2993             signal: "elm,state,icon,visible";
2994             source: "elm";
2995             script {
2996                new st[31];
2997                new Float:vl;
2998                get_state(PART:"elm.text", st, 30, vl);
2999                if (!strcmp(st, "visible"))
3000                  set_state(PART:"elm.swallow.content", "visible", 0.0);
3001                else
3002                  set_state(PART:"elm.swallow.content", "icononly", 0.0);
3003             }
3004          }
3005          program { name: "icon_hide";
3006             signal: "elm,state,icon,hidden";
3007             source: "elm";
3008             action:  STATE_SET "default" 0.0;
3009             target: "elm.swallow.content";
3010          }
3011          program { name: "disable";
3012             signal: "elm,state,disabled";
3013             source: "elm";
3014             action: STATE_SET "disabled" 0.0;
3015             target: "button_image";
3016             target: "over1";
3017             target: "over2";
3018             target: "disabler";
3019             after: "disable_text";
3020          }
3021          program { name: "disable_text";
3022             script {
3023                new st[31];
3024                new Float:vl;
3025                get_state(PART:"elm.text", st, 30, vl);
3026                if (!strcmp(st, "visible"))
3027                  set_state(PART:"elm.text", "disabled_visible", 0.0);
3028                else
3029                  set_state(PART:"elm.text", "disabled", 0.0);
3030             }
3031          }
3032          program { name: "enable";
3033             signal: "elm,state,enabled";
3034             source: "elm";
3035             action: STATE_SET "default" 0.0;
3036             target: "button_image";
3037             target: "over1";
3038             target: "over2";
3039             target: "disabler";
3040             after: "enable_text";
3041          }
3042          program { name: "enable_text";
3043             script {
3044                new st[31];
3045                new Float:vl;
3046                get_state(PART:"elm.text", st, 30, vl);
3047                if (!strcmp(st, "disabled_visible"))
3048                  set_state(PART:"elm.text", "visible", 0.0);
3049                else
3050                  set_state(PART:"elm.text", "default", 0.0);
3051             }
3052          }
3053       }
3054    }
3055
3056 ///////////////////////////////////////////////////////////////////////////////
3057    group { name: "elm/toggle/base/default";
3058       images {
3059          image: "shelf_inset.png" COMP;
3060          image: "bt_basew.png" COMP;
3061          image: "bt_bases.png" COMP;
3062          image: "bt_hilightw.png" COMP;
3063          image: "tog_base.png" COMP;
3064          image: "tog_dis_base.png" COMP;
3065       }
3066       parts {
3067          part { name: "bg";
3068             type: RECT;
3069             mouse_events: 0;
3070             scale: 1;
3071             description { state: "default" 0.0;
3072                rel1.relative: 1.0 0.0;
3073                rel1.offset: -4 3;
3074                rel2.offset: -4 -4;
3075                align: 1.0 0.5;
3076                min: 96 16;
3077                max: 96 16;
3078                aspect: 4.0 4.0;
3079                aspect_preference: VERTICAL;
3080                color: 255 255 255 255;
3081             }
3082          }
3083          part { name: "clipper";
3084             type: RECT;
3085             mouse_events: 0;
3086             description { state: "default" 0.0;
3087                rel1.to: "bg";
3088                rel2.to: "bg";
3089                color: 255 255 255 255;
3090             }
3091          }
3092          part { name: "button";
3093             type: RECT;
3094             scale: 1;
3095             clip_to: "clipper";
3096             mouse_events: 1;
3097             dragable {
3098                x: 1 1 0;
3099                y: 0 0 0;
3100                confine: "bg";
3101             }
3102             description { state: "default" 0.0;
3103                fixed: 1 1;
3104                rel1.to: "bg";
3105                rel2.to: "bg";
3106                min: 16 16;
3107                max: 16 16;
3108                aspect: 1.0 1.0;
3109                aspect_preference: VERTICAL;
3110                color: 0 0 0 0;
3111             }
3112          }
3113          part { name: "button_events";
3114             type: RECT;
3115             dragable {
3116                events: "button";
3117             }
3118             description { state: "default" 0.0;
3119                rel1.to_x: "bg";
3120                rel1.offset: 0 0;
3121                rel1.relative: 0.0 0.0;
3122                rel2.to_x: "bg";
3123                rel2.offset: -1 -1;
3124                rel2.relative: 1.0 1.0;
3125                color: 0 0 0 0;
3126             }
3127          }
3128          part { name: "onrect";
3129             type: RECT;
3130             scale: 1;
3131             clip_to: "clipper";
3132             mouse_events: 0;
3133             description { state: "default" 0.0;
3134                rel1.to: "button";
3135                rel1.relative: -5.0 0.0;
3136                rel2.to: "button";
3137                rel2.relative: 0.0 1.0;
3138                color: 0 0 0 0;
3139             }
3140          }
3141          part { name: "offrect";
3142             type: RECT;
3143             scale: 1;
3144             clip_to: "clipper";
3145             mouse_events: 0;
3146             description { state: "default" 0.0;
3147                rel1.to: "button";
3148                rel1.relative: 1.0 0.0;
3149                rel2.to: "button";
3150                rel2.relative: 6.0 1.0;
3151                color: 0 0 0 0;
3152             }
3153          }
3154          part { name: "togbase";
3155             mouse_events:  0;
3156             clip_to: "clipper";
3157             description { state: "default" 0.0;
3158                rel1.to: "onrect";
3159                rel2.to: "offrect";
3160                image.normal: "tog_base.png";
3161             }
3162             description { state: "disabled" 0.0;
3163                inherit: "default" 0.0;
3164                image.normal: "tog_dis_base.png";
3165             }
3166          }
3167          part { name: "elm.offtext";
3168             type: TEXT;
3169             mouse_events:  0;
3170             scale: 1;
3171             clip_to: "clipper";
3172             description { state: "default" 0.0;
3173                fixed: 1 1;
3174                rel1.to_x: "offrect";
3175                rel2.to_x: "offrect";
3176                color: 0 0 0 255;
3177                text {
3178                   font:     "Sans,Edje-Vera";
3179                   size:     10;
3180                   min:      0 1;
3181                   align:    0.5 0.5;
3182                   text:     "OFF";
3183                }
3184             }
3185             description { state: "disabled" 0.0;
3186                inherit: "default" 0.0;
3187                color: 128 128 128 128;
3188             }
3189          }
3190          part { name: "elm.ontext";
3191             type: TEXT;
3192             effect: SOFT_SHADOW;
3193             mouse_events:  0;
3194             scale: 1;
3195             clip_to: "clipper";
3196             description { state: "default" 0.0;
3197                fixed: 1 1;
3198                rel1.to_x: "onrect";
3199                rel1.offset: 1 1;
3200                rel2.to_x: "onrect";
3201                rel2.offset: 0 0;
3202                color: 224 224 224 255;
3203                color3: 0 0 0 64;
3204                text {
3205                   font:     "Sans,Edje-Vera";
3206                   size:     10;
3207                   min:      0 1;
3208                   align:    0.5 0.5;
3209                   text:     "ON";
3210                }
3211             }
3212             description { state: "disabled" 0.0;
3213                inherit: "default" 0.0;
3214                color: 128 128 128 128;
3215                color3: 0 0 0 24;
3216             }
3217          }
3218          part { name: "conf_over";
3219             mouse_events:  0;
3220             description { state: "default" 0.0;
3221                rel1.offset: -1 -1;
3222                rel1.to: "bg";
3223                rel2.offset: 0 0;
3224                rel2.to: "bg";
3225                image {
3226                   normal: "shelf_inset.png";
3227                   border: 7 7 7 7;
3228                   middle: 0;
3229                }
3230                fill.smooth : 0;
3231             }
3232          }
3233          part { name: "button0";
3234             mouse_events:  0;
3235             clip_to: "clipper";
3236             description { state: "default" 0.0;
3237                rel1.to: "button2";
3238                rel1.offset: -4 -4;
3239                rel2.to: "button2";
3240                rel2.offset: 3 3;
3241                image {
3242                   normal: "bt_bases.png";
3243                   border: 11 11 11 11;
3244                }
3245                image.middle: SOLID;
3246                color: 255 255 255 128;
3247             }
3248          }
3249          part { name: "button2";
3250             mouse_events:  0;
3251             clip_to: "clipper";
3252             description { state: "default" 0.0;
3253                rel1.to: "button";
3254                rel1.offset: -2 -2;
3255                rel2.to: "button";
3256                rel2.offset: 1 1;
3257                image {
3258                   normal: "bt_basew.png";
3259                   border: 7 7 7 7;
3260                }
3261                image.middle: SOLID;
3262             }
3263          }
3264          part { name: "button3";
3265             mouse_events:  0;
3266             clip_to: "clipper";
3267             description { state: "default" 0.0;
3268                rel1.to: "button2";
3269                rel2.to: "button2";
3270                rel2.relative: 1.0 0.5;
3271                image {
3272                   normal: "bt_hilightw.png";
3273                   border: 4 4 4 0;
3274                }
3275             }
3276          }
3277          part { name: "elm.swallow.content";
3278             type: SWALLOW;
3279             description { state: "default" 0.0;
3280                fixed: 1 0;
3281                visible: 0;
3282                align: 0.0 0.5;
3283                rel1.offset: 4 4;
3284                rel2.relative: 0.0 1.0;
3285                rel2.offset: 3 -5;
3286             }
3287             description { state: "visible" 0.0;
3288                inherit: "default" 0.0;
3289                visible: 1;
3290                aspect: 1.0 1.0;
3291                rel2.offset: 4 -5;
3292             }
3293             description { state: "disabled" 0.0;
3294                inherit: "default" 0.0;
3295                color: 128 128 128 128;
3296             }
3297             description { state: "disabled_visible" 0.0;
3298                inherit: "default" 0.0;
3299                color: 128 128 128 128;
3300                visible: 1;
3301                aspect: 1.0 1.0;
3302             }
3303          }
3304          part { name: "elm.text";
3305             type: TEXT;
3306             mouse_events: 0;
3307             scale: 1;
3308             description { state: "default" 0.0;
3309                visible: 0;
3310                rel1.to_x: "elm.swallow.content";
3311                rel1.relative: 1.0 0.0;
3312                rel1.offset: 0 4;
3313                rel2.to_x: "bg";
3314                rel2.relative: 0.0 1.0;
3315                rel2.offset: -5 -5;
3316                color: 0 0 0 255;
3317                text {
3318                   font: "Sans,Edje-Vera";
3319                   size: 10;
3320                   min: 0 0;
3321                   align: 0.0 0.5;
3322                }
3323             }
3324             description { state: "visible" 0.0;
3325                inherit: "default" 0.0;
3326                visible: 1;
3327                text.min: 1 1;
3328             }
3329             description { state: "disabled" 0.0;
3330                inherit: "default" 0.0;
3331                color: 128 128 128 128;
3332             }
3333             description { state: "disabled_visible" 0.0;
3334                inherit: "default" 0.0;
3335                color: 128 128 128 128;
3336                visible: 1;
3337                text.min: 1 1;
3338             }
3339          }
3340          part { name: "disabler";
3341             type: RECT;
3342             description { state: "default" 0.0;
3343                color: 0 0 0 0;
3344                visible: 0;
3345             }
3346             description { state: "disabled" 0.0;
3347                inherit: "default" 0.0;
3348                visible: 1;
3349             }
3350          }
3351       }
3352       programs {
3353          program { name:   "drag_end";
3354             signal: "mouse,up,1";
3355             source: "button";
3356             script {
3357                new Float:dx, Float:dy;
3358                get_drag(PART:"button", dx, dy);
3359                if (dx > 0.5)
3360                  {
3361                     set_drag(PART:"button", 1.0, 0.0);
3362                     emit("elm,action,toggle,on", "");
3363                  }
3364                else
3365                  {
3366                     set_drag(PART:"button", 0.0, 0.0);
3367                     emit("elm,action,toggle,off", "");
3368                  }
3369             }
3370          }
3371          program { name: "toggle_on";
3372             signal: "elm,state,toggle,on";
3373             source: "elm";
3374             script {
3375                set_drag(PART:"button", 100.0, 0.0);
3376             }
3377          }
3378          program { name: "toggle_off";
3379             signal: "elm,state,toggle,off";
3380             source: "elm";
3381             script {
3382                set_drag(PART:"button", 0.0, 0.0);
3383             }
3384          }
3385          program { name: "text_show";
3386             signal: "elm,state,text,visible";
3387             source: "elm";
3388             action:  STATE_SET "visible" 0.0;
3389             target: "elm.text";
3390          }
3391          program { name: "text_hide";
3392             signal: "elm,state,text,hidden";
3393             source: "elm";
3394             action:  STATE_SET "default" 0.0;
3395             target: "elm.text";
3396          }
3397          program { name: "icon_show";
3398             signal: "elm,state,icon,visible";
3399             source: "elm";
3400             action:  STATE_SET "visible" 0.0;
3401             target: "elm.swallow.content";
3402          }
3403          program { name: "icon_hide";
3404             signal: "elm,state,icon,hidden";
3405             source: "elm";
3406             action:  STATE_SET "default" 0.0;
3407             target: "elm.swallow.content";
3408          }
3409          program { name: "disable";
3410             signal: "elm,state,disabled";
3411             source: "elm";
3412             action: STATE_SET "disabled" 0.0;
3413             target: "togbase";
3414             target: "elm.offtext";
3415             target: "elm.ontext";
3416             target: "disabler";
3417             after: "disable_text";
3418          }
3419          program { name: "disable_text";
3420             script {
3421                new st[31];
3422                new Float:vl;
3423                get_state(PART:"elm.text", st, 30, vl);
3424                if (!strcmp(st, "visible"))
3425                  set_state(PART:"elm.text", "disabled_visible", 0.0);
3426                else
3427                  set_state(PART:"elm.text", "disabled", 0.0);
3428
3429                get_state(PART:"elm.swallow.content", st, 30, vl);
3430                if (!strcmp(st, "visible"))
3431                  set_state(PART:"elm.swallow.content", "disabled_visible", 0.0);
3432                else
3433                  set_state(PART:"elm.swallow.content", "disabled", 0.0);
3434             }
3435          }
3436          program { name: "enable";
3437             signal: "elm,state,enabled";
3438             source: "elm";
3439             action: STATE_SET "default" 0.0;
3440             target: "disabler";
3441             after: "enable_text";
3442          }
3443          program { name: "enable_text";
3444             script {
3445                new st[31];
3446                new Float:vl;
3447                get_state(PART:"elm.text", st, 30, vl);
3448                if (!strcmp(st, "disabled_visible"))
3449                  set_state(PART:"elm.text", "visible", 0.0);
3450                else
3451                  set_state(PART:"elm.text", "default", 0.0);
3452
3453                get_state(PART:"elm.swallow.content", st, 30, vl);
3454                if (!strcmp(st, "visible"))
3455                  set_state(PART:"elm.swallow.content", "visible", 0.0);
3456                else
3457                  set_state(PART:"elm.swallow.content", "default", 0.0);
3458             }
3459          }
3460       }
3461    }
3462
3463 ///////////////////////////////////////////////////////////////////////////////
3464    group { name: "elm/clock/flipdigit/default";
3465       images {
3466          image: "flip_base.png" COMP;
3467          image: "flip_base_shad.png" COMP;
3468          image: "flip_shad.png" COMP;
3469          image: "flip_0t.png" COMP;
3470          image: "flip_0b.png" COMP;
3471          image: "flip_1t.png" COMP;
3472          image: "flip_1b.png" COMP;
3473          image: "flip_2t.png" COMP;
3474          image: "flip_2b.png" COMP;
3475          image: "flip_3t.png" COMP;
3476          image: "flip_3b.png" COMP;
3477          image: "flip_4t.png" COMP;
3478          image: "flip_4b.png" COMP;
3479          image: "flip_5t.png" COMP;
3480          image: "flip_5b.png" COMP;
3481          image: "flip_6t.png" COMP;
3482          image: "flip_6b.png" COMP;
3483          image: "flip_7t.png" COMP;
3484          image: "flip_7b.png" COMP;
3485          image: "flip_8t.png" COMP;
3486          image: "flip_8b.png" COMP;
3487          image: "flip_9t.png" COMP;
3488          image: "flip_9b.png" COMP;
3489          image: "arrow_up.png" COMP;
3490          image: "arrow_down.png" COMP;
3491       }
3492       script {
3493          public v0_cur, v0_pre, v0_lock, v0_next;
3494
3495        public animator2(val, Float:pos) {
3496           new st1[11], st2[11], v;
3497
3498           v = get_int(v0_cur);
3499           snprintf(st1, 10, "%ih", v);
3500           snprintf(st2, 10, "%i", v);
3501           set_tween_state(PART:"bot", pos, st1, 0.0, st2, 0.0);
3502           set_tween_state(PART:"sh", pos, "half", 0.0, "full", 0.0);
3503           if (pos >= 1.0) {
3504              set_state(PART:"sh", "default", 0.0);
3505              set_int(v0_lock, 0);
3506              v = get_int(v0_next);
3507              if (v >= 0) {
3508                 set_int(v0_next, -1);
3509                 message(MSG_INT, 1, v);
3510              }
3511           }
3512        }
3513        public animator1(val, Float:pos) {
3514           new st1[11], st2[11], v;
3515
3516           v = get_int(v0_pre);
3517           snprintf(st1, 10, "%i", v);
3518           snprintf(st2, 10, "%ih", v);
3519           set_tween_state(PART:"top", pos, st1, 0.0, st2, 0.0);
3520           set_tween_state(PART:"sh", pos, "default", 0.0, "half", 0.0);
3521           if (pos >= 1.0) anim(0.2, "animator2", val);
3522        }
3523        public message(Msg_Type:type, id, ...) {
3524           if ((type == MSG_INT) && (id == 1)) {
3525              new value, v, buf[11];
3526
3527              value = getarg(2);
3528              if (get_int(v0_lock) == 1) {
3529                 set_int(v0_next, value);
3530                 return;
3531              }
3532              v = get_int(v0_cur);
3533              set_int(v0_pre, v);
3534              set_int(v0_cur, value);
3535              set_int(v0_lock, 1);
3536              snprintf(buf, 10, "%i", get_int(v0_pre));
3537              set_state(PART:"bot0", buf, 0.0);
3538              snprintf(buf, 10, "%ih", get_int(v0_cur));
3539              set_state(PART:"bot", buf, 0.0);
3540              snprintf(buf, 10, "%i", get_int(v0_cur));
3541              set_state(PART:"top0", buf, 0.0);
3542              snprintf(buf, 10, "%i", get_int(v0_pre));
3543              set_state(PART:"top", buf, 0.0);
3544              set_state(PART:"sh", "default", 0.0);
3545              anim(0.2, "animator1", 1);
3546           }
3547        }
3548       }
3549       parts {
3550          part { name: "shad";
3551             mouse_events: 0;
3552             description { state: "default" 0.0;
3553                rel1.offset: -4 -4;
3554                rel1.to: "base";
3555                rel2.offset: 3 3;
3556                rel2.to: "base";
3557                image {
3558                   normal: "flip_base_shad.png";
3559                   border: 8 8 8 8;
3560                }
3561             }
3562          }
3563          part { name: "base";
3564             scale: 1;
3565             description { state: "default" 0.0;
3566                rel1.offset: 4 4;
3567                rel2.offset: -5 -5;
3568                // FIXME 48x96 should be the native pixel design, right now
3569                // its 80x160. fix int he artwork later
3570                min: 24 48;
3571                aspect: 0.5 0.5;
3572 //             max: 24 48;
3573                image.normal: "flip_base.png";
3574             }
3575          }
3576          part { name: "b";
3577             type: RECT;
3578             mouse_events: 1;
3579             description { state: "default" 0.0;
3580                visible: 0;
3581                rel1.to: "base";
3582                rel1.relative: 0.0 0.5;
3583                rel2.to: "base";
3584                color: 0 0 0 0;
3585             }
3586             description { state: "visible" 0.0;
3587                inherit: "default" 0.0;
3588                visible: 1;
3589             }
3590          }
3591          part { name: "t";
3592             type: RECT;
3593             mouse_events: 1;
3594             description { state: "default" 0.0;
3595                visible: 0;
3596                rel1.to: "base";
3597                rel2.to: "base";
3598                rel2.relative: 1.0 0.5;
3599                color: 0 0 0 0;
3600             }
3601             description { state: "visible" 0.0;
3602                inherit: "default" 0.0;
3603                visible: 1;
3604             }
3605          }
3606          part { name: "bot0";
3607             mouse_events: 0;
3608             description { state: "default" 0.0;
3609                rel1.to: "b";
3610                rel2.to: "b";
3611                image.normal: "flip_0b.png";
3612             }
3613             description { state: "0" 0.0;
3614                inherit: "default" 0.0;
3615                image.normal: "flip_0b.png";
3616             }
3617             description { state: "1" 0.0;
3618                inherit: "default" 0.0;
3619                image.normal: "flip_1b.png";
3620             }
3621             description { state: "2" 0.0;
3622                inherit: "default" 0.0;
3623                image.normal: "flip_2b.png";
3624             }
3625             description { state: "3" 0.0;
3626                inherit: "default" 0.0;
3627                image.normal: "flip_3b.png";
3628             }
3629             description { state: "4" 0.0;
3630                inherit: "default" 0.0;
3631                image.normal: "flip_4b.png";
3632             }
3633             description { state: "5" 0.0;
3634                inherit: "default" 0.0;
3635                image.normal: "flip_5b.png";
3636             }
3637             description { state: "6" 0.0;
3638                inherit: "default" 0.0;
3639                image.normal: "flip_6b.png";
3640             }
3641             description { state: "7" 0.0;
3642                inherit: "default" 0.0;
3643                image.normal: "flip_7b.png";
3644             }
3645             description { state: "8" 0.0;
3646                inherit: "default" 0.0;
3647                image.normal: "flip_8b.png";
3648             }
3649             description { state: "9" 0.0;
3650                inherit: "default" 0.0;
3651                image.normal: "flip_9b.png";
3652             }
3653          }
3654          part { name: "sh";
3655             mouse_events: 0;
3656             description { state: "default" 0.0;
3657                rel1.to: "b";
3658                rel2.to: "b";
3659                rel2.relative: 1.0 0.0;
3660                image.normal: "flip_shad.png";
3661             }
3662             description { state: "half" 0.0;
3663                inherit: "default" 0.0;
3664                rel2.relative: 1.0 0.5;
3665             }
3666             description { state: "full" 0.0;
3667                inherit: "default" 0.0;
3668                rel2.relative: 1.0 1.0;
3669             }
3670          }
3671          part { name: "bot";
3672             mouse_events: 0;
3673             description { state: "default" 0.0;
3674                visible: 1;
3675                rel1.to: "b";
3676                rel2.to: "b";
3677                image.normal: "flip_0b.png";
3678             }
3679             description { state: "0" 0.0;
3680                inherit: "default" 0.0;
3681                visible: 1;
3682                rel2.relative: 1.0 1.0;
3683                image.normal: "flip_0b.png";
3684             }
3685             description { state: "0h" 0.0;
3686                inherit: "default" 0.0;
3687                visible: 0;
3688                rel2.relative: 1.0 0.0;
3689                image.normal: "flip_0b.png";
3690             }
3691             description { state: "1" 0.0;
3692                inherit: "default" 0.0;
3693                visible: 1;
3694                rel2.relative: 1.0 1.0;
3695                image.normal: "flip_1b.png";
3696             }
3697             description { state: "1h" 0.0;
3698                inherit: "default" 0.0;
3699                visible: 0;
3700                rel2.relative: 1.0 0.0;
3701                image.normal: "flip_1b.png";
3702             }
3703             description { state: "2" 0.0;
3704                inherit: "default" 0.0;
3705                visible: 1;
3706                rel2.relative: 1.0 1.0;
3707                image.normal: "flip_2b.png";
3708             }
3709             description { state: "2h" 0.0;
3710                inherit: "default" 0.0;
3711                visible: 0;
3712                rel2.relative: 1.0 0.0;
3713                image.normal: "flip_2b.png";
3714             }
3715             description { state: "3" 0.0;
3716                inherit: "default" 0.0;
3717                visible: 1;
3718                rel2.relative: 1.0 1.0;
3719                image.normal: "flip_3b.png";
3720             }
3721             description { state: "3h" 0.0;
3722                inherit: "default" 0.0;
3723                visible: 0;
3724                rel2.relative: 1.0 0.0;
3725                image.normal: "flip_3b.png";
3726             }
3727             description { state: "4" 0.0;
3728                inherit: "default" 0.0;
3729                visible: 1;
3730                rel2.relative: 1.0 1.0;
3731                image.normal: "flip_4b.png";
3732             }
3733             description { state: "4h" 0.0;
3734                inherit: "default" 0.0;
3735                visible: 0;
3736                rel2.relative: 1.0 0.0;
3737                image.normal: "flip_4b.png";
3738             }
3739             description { state: "5" 0.0;
3740                inherit: "default" 0.0;
3741                visible: 1;
3742                rel2.relative: 1.0 1.0;
3743                image.normal: "flip_5b.png";
3744             }
3745             description { state: "5h" 0.0;
3746                inherit: "default" 0.0;
3747                visible: 0;
3748                rel2.relative: 1.0 0.0;
3749                image.normal: "flip_5b.png";
3750             }
3751             description { state: "6" 0.0;
3752                inherit: "default" 0.0;
3753                visible: 1;
3754                rel2.relative: 1.0 1.0;
3755                image.normal: "flip_6b.png";
3756             }
3757             description { state: "6h" 0.0;
3758                inherit: "default" 0.0;
3759                visible: 0;
3760                rel2.relative: 1.0 0.0;
3761                image.normal: "flip_6b.png";
3762             }
3763             description { state: "7" 0.0;
3764                inherit: "default" 0.0;
3765                visible: 1;
3766                rel2.relative: 1.0 1.0;
3767                image.normal: "flip_7b.png";
3768             }
3769             description { state: "7h" 0.0;
3770                inherit: "default" 0.0;
3771                visible: 0;
3772                rel2.relative: 1.0 0.0;
3773                image.normal: "flip_7b.png";
3774             }
3775             description { state: "8" 0.0;
3776                inherit: "default" 0.0;
3777                visible: 1;
3778                rel2.relative: 1.0 1.0;
3779                image.normal: "flip_8b.png";
3780             }
3781             description { state: "8h" 0.0;
3782                inherit: "default" 0.0;
3783                visible: 0;
3784                rel2.relative: 1.0 0.0;
3785                image.normal: "flip_8b.png";
3786             }
3787             description { state: "9" 0.0;
3788                inherit: "default" 0.0;
3789                visible: 1;
3790                rel2.relative: 1.0 1.0;
3791                image.normal: "flip_9b.png";
3792             }
3793             description { state: "9h" 0.0;
3794                inherit: "default" 0.0;
3795                visible: 0;
3796                rel2.relative: 1.0 0.0;
3797                image.normal: "flip_9b.png";
3798             }
3799          }
3800          part { name: "top0";
3801             mouse_events: 0;
3802             description { state: "default" 0.0;
3803                rel1.to: "t";
3804                rel2.to: "t";
3805                image.normal: "flip_0t.png";
3806             }
3807             description { state: "0" 0.0;
3808                inherit: "default" 0.0;
3809                image.normal: "flip_0t.png";
3810             }
3811             description { state: "1" 0.0;
3812                inherit: "default" 0.0;
3813                image.normal: "flip_1t.png";
3814             }
3815             description { state: "2" 0.0;
3816                inherit: "default" 0.0;
3817                image.normal: "flip_2t.png";
3818             }
3819             description { state: "3" 0.0;
3820                inherit: "default" 0.0;
3821                image.normal: "flip_3t.png";
3822             }
3823             description { state: "4" 0.0;
3824                inherit: "default" 0.0;
3825                image.normal: "flip_4t.png";
3826             }
3827             description { state: "5" 0.0;
3828                inherit: "default" 0.0;
3829                image.normal: "flip_5t.png";
3830             }
3831             description { state: "6" 0.0;
3832                inherit: "default" 0.0;
3833                image.normal: "flip_6t.png";
3834             }
3835             description { state: "7" 0.0;
3836                inherit: "default" 0.0;
3837                image.normal: "flip_7t.png";
3838             }
3839             description { state: "8" 0.0;
3840                inherit: "default" 0.0;
3841                image.normal: "flip_8t.png";
3842             }
3843             description { state: "9" 0.0;
3844                inherit: "default" 0.0;
3845                image.normal: "flip_9t.png";
3846             }
3847          }
3848          part { name: "top";
3849             mouse_events: 0;
3850             description { state: "default" 0.0;
3851                visible: 1;
3852                rel1.to: "t";
3853                rel2.to: "t";
3854                image.normal: "flip_0t.png";
3855             }
3856             description { state: "0" 0.0;
3857                inherit: "default" 0.0;
3858                visible: 1;
3859                rel1.relative: 0.0 0.0;
3860                image.normal: "flip_0t.png";
3861             }
3862             description { state: "0h" 0.0;
3863                inherit: "default" 0.0;
3864                color: 128 128 128 255;
3865                visible: 0;
3866                rel1.relative: 0.0 1.0;
3867                image.normal: "flip_0t.png";
3868             }
3869             description { state: "1" 0.0;
3870                inherit: "default" 0.0;
3871                visible: 1;
3872                rel1.relative: 0.0 0.0;
3873                image.normal: "flip_1t.png";
3874             }
3875             description { state: "1h" 0.0;
3876                inherit: "default" 0.0;
3877                color: 128 128 128 255;
3878                visible: 0;
3879                rel1.relative: 0.0 1.0;
3880                image.normal: "flip_1t.png";
3881             }
3882             description { state: "2" 0.0;
3883                inherit: "default" 0.0;
3884                visible: 1;
3885                rel1.relative: 0.0 0.0;
3886                image.normal: "flip_2t.png";
3887             }
3888             description { state: "2h" 0.0;
3889                inherit: "default" 0.0;
3890                color: 128 128 128 255;
3891                visible: 0;
3892                rel1.relative: 0.0 1.0;
3893                image.normal: "flip_2t.png";
3894             }
3895             description { state: "3" 0.0;
3896                inherit: "default" 0.0;
3897                visible: 1;
3898                rel1.relative: 0.0 0.0;
3899                image.normal: "flip_3t.png";
3900             }
3901             description { state: "3h" 0.0;
3902                inherit: "default" 0.0;
3903                color: 128 128 128 255;
3904                visible: 0;
3905                rel1.relative: 0.0 1.0;
3906                image.normal: "flip_3t.png";
3907             }
3908             description { state: "4" 0.0;
3909                inherit: "default" 0.0;
3910                visible: 1;
3911                rel1.relative: 0.0 0.0;
3912                image.normal: "flip_4t.png";
3913             }
3914             description { state: "4h" 0.0;
3915                inherit: "default" 0.0;
3916                color: 128 128 128 255;
3917                visible: 0;
3918                rel1.relative: 0.0 1.0;
3919                image.normal: "flip_4t.png";
3920             }
3921             description { state: "5" 0.0;
3922                inherit: "default" 0.0;
3923                visible: 1;
3924                rel1.relative: 0.0 0.0;
3925                image.normal: "flip_5t.png";
3926             }
3927             description { state: "5h" 0.0;
3928                inherit: "default" 0.0;
3929                color: 128 128 128 255;
3930                visible: 0;
3931                rel1.relative: 0.0 1.0;
3932                image.normal: "flip_5t.png";
3933             }
3934             description { state: "6" 0.0;
3935                inherit: "default" 0.0;
3936                visible: 1;
3937                rel1.relative: 0.0 0.0;
3938                image.normal: "flip_6t.png";
3939             }
3940             description { state: "6h" 0.0;
3941                inherit: "default" 0.0;
3942                color: 128 128 128 255;
3943                visible: 0;
3944                rel1.relative: 0.0 1.0;
3945                image.normal: "flip_6t.png";
3946             }
3947             description { state: "7" 0.0;
3948                inherit: "default" 0.0;
3949                visible: 1;
3950                rel1.relative: 0.0 0.0;
3951                image.normal: "flip_7t.png";
3952             }
3953             description { state: "7h" 0.0;
3954                inherit: "default" 0.0;
3955                color: 128 128 128 255;
3956                visible: 0;
3957                rel1.relative: 0.0 1.0;
3958                image.normal: "flip_7t.png";
3959             }
3960             description { state: "8" 0.0;
3961                inherit: "default" 0.0;
3962                visible: 1;
3963                rel1.relative: 0.0 0.0;
3964                image.normal: "flip_8t.png";
3965             }
3966             description { state: "8h" 0.0;
3967                inherit: "default" 0.0;
3968                color: 128 128 128 255;
3969                visible: 0;
3970                rel1.relative: 0.0 1.0;
3971                image.normal: "flip_8t.png";
3972             }
3973             description { state: "9" 0.0;
3974                inherit: "default" 0.0;
3975                visible: 1;
3976                rel1.relative: 0.0 0.0;
3977                image.normal: "flip_9t.png";
3978             }
3979             description { state: "9h" 0.0;
3980                inherit: "default" 0.0;
3981                color: 128 128 128 255;
3982                visible: 0;
3983                rel1.relative: 0.0 1.0;
3984                image.normal: "flip_9t.png";
3985             }
3986          }
3987          part { name: "atop";
3988             mouse_events: 0;
3989             scale: 1;
3990             description { state: "default" 0.0;
3991                visible: 0;
3992                min: 15 15;
3993                max: 15 15;
3994                align: 0.5 0.0;
3995                rel1.to: "t";
3996                rel2.to: "t";
3997                image.normal: "arrow_up.png";
3998             }
3999             description { state: "visible" 0.0;
4000                inherit: "default" 0.0;
4001                visible: 1;
4002             }
4003          }
4004          part { name: "abot";
4005             mouse_events: 0;
4006             scale: 1;
4007             description { state: "default" 0.0;
4008                visible: 0;
4009                min: 15 15;
4010                max: 15 15;
4011                align: 0.5 1.0;
4012                rel1.to: "b";
4013                rel2.to: "b";
4014                image.normal: "arrow_down.png";
4015             }
4016             description { state: "visible" 0.0;
4017                inherit: "default" 0.0;
4018                visible: 1;
4019             }
4020          }
4021       }
4022       programs {
4023          program { name: "load";
4024             signal: "load";
4025             source: "";
4026             script {
4027                set_int(v0_cur, 0);
4028                set_int(v0_pre, 0);
4029                set_int(v0_lock, 0);
4030                set_int(v0_next, -1);
4031             }
4032          }
4033          program { name: "edit_on";
4034             signal: "elm,state,edit,on";
4035             source: "elm";
4036             action: STATE_SET "visible" 0.0;
4037             target: "atop";
4038             target: "abot";
4039             target: "t";
4040             target: "b";
4041          }
4042          program { name: "edit_off";
4043             signal: "elm,state,edit,off";
4044             source: "elm";
4045             action: STATE_SET "default" 0.0;
4046             target: "atop";
4047             target: "abot";
4048             target: "t";
4049             target: "b";
4050          }
4051          program { name: "up";
4052             signal: "mouse,down,1";
4053             source: "t";
4054             action: SIGNAL_EMIT "elm,action,up,start" "";
4055          }
4056          program { name: "up,stop";
4057             signal: "mouse,up,1";
4058             source: "t";
4059             action: SIGNAL_EMIT "elm,action,up,stop" "";
4060          }
4061          program { name: "down";
4062             signal: "mouse,down,1";
4063             source: "b";
4064             action: SIGNAL_EMIT "elm,action,down,start" "";
4065          }
4066          program { name: "down,stop";
4067             signal: "mouse,up,1";
4068             source: "b";
4069             action: SIGNAL_EMIT "elm,action,down,stop" "";
4070          }
4071       }
4072    }
4073
4074 ///////////////////////////////////////////////////////////////////////////////
4075    group { name: "elm/clock/flipampm/default";
4076       images {
4077          image: "flip_base.png" COMP;
4078          image: "flip_base_shad.png" COMP;
4079          image: "flip_shad.png" COMP;
4080          image: "flip_amt.png" COMP;
4081          image: "flip_amb.png" COMP;
4082          image: "flip_pmt.png" COMP;
4083          image: "flip_pmb.png" COMP;
4084          image: "arrow_up.png" COMP;
4085          image: "arrow_down.png" COMP;
4086       }
4087       script {
4088          public v0_cur, v0_pre, v0_lock, v0_next;
4089
4090        public animator2(val, Float:pos) {
4091           new st1[11], st2[11], v;
4092
4093           v = get_int(v0_cur);
4094           snprintf(st1, 10, "%ih", v);
4095           snprintf(st2, 10, "%i", v);
4096           set_tween_state(PART:"bot", pos, st1, 0.0, st2, 0.0);
4097           set_tween_state(PART:"sh", pos, "half", 0.0, "full", 0.0);
4098           if (pos >= 1.0) {
4099              set_state(PART:"sh", "default", 0.0);
4100              set_int(v0_lock, 0);
4101              v = get_int(v0_next);
4102              if (v >= 0) {
4103                 set_int(v0_next, -1);
4104                 message(MSG_INT, 1, v);
4105              }
4106           }
4107        }
4108        public animator1(val, Float:pos) {
4109           new st1[11], st2[11], v;
4110
4111           v = get_int(v0_pre);
4112           snprintf(st1, 10, "%i", v);
4113           snprintf(st2, 10, "%ih", v);
4114           set_tween_state(PART:"top", pos, st1, 0.0, st2, 0.0);
4115           set_tween_state(PART:"sh", pos, "default", 0.0, "half", 0.0);
4116           if (pos >= 1.0) anim(0.2, "animator2", val);
4117        }
4118        public message(Msg_Type:type, id, ...) {
4119           if ((type == MSG_INT) && (id == 1)) {
4120              new value, v, buf[11];
4121
4122              value = getarg(2);
4123              if (get_int(v0_lock) == 1) {
4124                 set_int(v0_next, value);
4125                 return;
4126              }
4127              v = get_int(v0_cur);
4128              set_int(v0_pre, v);
4129              set_int(v0_cur, value);
4130              set_int(v0_lock, 1);
4131              snprintf(buf, 10, "%i", get_int(v0_pre));
4132              set_state(PART:"bot0", buf, 0.0);
4133              snprintf(buf, 10, "%ih", get_int(v0_cur));
4134              set_state(PART:"bot", buf, 0.0);
4135              snprintf(buf, 10, "%i", get_int(v0_cur));
4136              set_state(PART:"top0", buf, 0.0);
4137              snprintf(buf, 10, "%i", get_int(v0_pre));
4138              set_state(PART:"top", buf, 0.0);
4139              set_state(PART:"sh", "default", 0.0);
4140              anim(0.2, "animator1", 1);
4141           }
4142        }
4143       }
4144       parts {
4145          part { name: "shad";
4146             mouse_events: 0;
4147             description { state: "default" 0.0;
4148                rel1.offset: -4 -4;
4149                rel1.to: "base";
4150                rel2.offset: 3 3;
4151                rel2.to: "base";
4152                image {
4153                   normal: "flip_base_shad.png";
4154                   border: 8 8 8 8;
4155                }
4156             }
4157          }
4158          part { name: "base";
4159             mouse_events: 0;
4160             scale: 1;
4161             description { state: "default" 0.0;
4162                rel1.offset: 4 4;
4163                rel2.offset: -5 -5;
4164                // FIXME 48x96 should be the native pixel design, right now
4165                // its 80x160. fix int he artwork later
4166                aspect: 0.5 0.5;
4167                min: 24 48;
4168 //             max: 24 48;
4169                image.normal: "flip_base.png";
4170             }
4171          }
4172          part { name: "b";
4173             type: RECT;
4174             mouse_events: 1;
4175             description { state: "default" 0.0;
4176                rel1.to: "base";
4177                rel1.relative: 0.0 0.5;
4178                rel2.to: "base";
4179                color: 0 0 0 0;
4180             }
4181          }
4182          part { name: "t";
4183             type: RECT;
4184             mouse_events: 1;
4185             description { state: "default" 0.0;
4186                rel1.to: "base";
4187                rel2.to: "base";
4188                rel2.relative: 1.0 0.5;
4189                color: 0 0 0 0;
4190             }
4191          }
4192          part { name: "bot0";
4193             mouse_events: 0;
4194             description { state: "default" 0.0;
4195                rel1.to: "b";
4196                rel2.to: "b";
4197                image.normal: "flip_amb.png";
4198             }
4199             description { state: "0" 0.0;
4200                inherit: "default" 0.0;
4201                image.normal: "flip_amb.png";
4202             }
4203             description { state: "1" 0.0;
4204                inherit: "default" 0.0;
4205                image.normal: "flip_pmb.png";
4206             }
4207          }
4208          part { name: "sh";
4209             mouse_events: 0;
4210             description { state: "default" 0.0;
4211                rel1.to: "b";
4212                rel2.to: "b";
4213                rel2.relative: 1.0 0.0;
4214                image.normal: "flip_shad.png";
4215             }
4216             description { state: "half" 0.0;
4217                inherit: "default" 0.0;
4218                rel2.relative: 1.0 0.5;
4219             }
4220             description { state: "full" 0.0;
4221                inherit: "default" 0.0;
4222                rel2.relative: 1.0 1.0;
4223             }
4224          }
4225          part { name: "bot";
4226             mouse_events: 0;
4227             description { state: "default" 0.0;
4228                visible: 1;
4229                rel1.to: "b";
4230                rel2.to: "b";
4231                image.normal: "flip_amb.png";
4232             }
4233             description { state: "0" 0.0;
4234                inherit: "default" 0.0;
4235                visible: 1;
4236                rel2.relative: 1.0 1.0;
4237                image.normal: "flip_amb.png";
4238             }
4239             description { state: "0h" 0.0;
4240                inherit: "default" 0.0;
4241                visible: 0;
4242                rel2.relative: 1.0 0.0;
4243                image.normal: "flip_amb.png";
4244             }
4245             description { state: "1" 0.0;
4246                inherit: "default" 0.0;
4247                visible: 1;
4248                rel2.relative: 1.0 1.0;
4249                image.normal: "flip_pmb.png";
4250             }
4251             description { state: "1h" 0.0;
4252                inherit: "default" 0.0;
4253                visible: 0;
4254                rel2.relative: 1.0 0.0;
4255                image.normal: "flip_pmb.png";
4256             }
4257          }
4258          part { name: "top0";
4259             mouse_events: 0;
4260             description { state: "default" 0.0;
4261                rel1.to: "t";
4262                rel2.to: "t";
4263                image.normal: "flip_amt.png";
4264             }
4265             description { state: "0" 0.0;
4266                inherit: "default" 0.0;
4267                image.normal: "flip_amt.png";
4268             }
4269             description { state: "1" 0.0;
4270                inherit: "default" 0.0;
4271                image.normal: "flip_pmt.png";
4272             }
4273          }
4274          part { name: "top";
4275             mouse_events: 0;
4276             description { state: "default" 0.0;
4277                visible: 1;
4278                rel1.to: "t";
4279                rel2.to: "t";
4280                image.normal: "flip_amt.png";
4281             }
4282             description { state: "0" 0.0;
4283                inherit: "default" 0.0;
4284                visible: 1;
4285                rel1.relative: 0.0 0.0;
4286                image.normal: "flip_amt.png";
4287             }
4288             description { state: "0h" 0.0;
4289                inherit: "default" 0.0;
4290                color: 128 128 128 255;
4291                visible: 0;
4292                rel1.relative: 0.0 1.0;
4293                image.normal: "flip_amt.png";
4294             }
4295             description { state: "1" 0.0;
4296                inherit: "default" 0.0;
4297                visible: 1;
4298                rel1.relative: 0.0 0.0;
4299                image.normal: "flip_pmt.png";
4300             }
4301             description { state: "1h" 0.0;
4302                inherit: "default" 0.0;
4303                color: 128 128 128 255;
4304                visible: 0;
4305                rel1.relative: 0.0 1.0;
4306                image.normal: "flip_pmt.png";
4307             }
4308          }
4309          part { name: "atop";
4310             mouse_events: 0;
4311             scale: 1;
4312             description { state: "default" 0.0;
4313                visible: 0;
4314                min: 15 15;
4315                max: 15 15;
4316                align: 0.5 0.0;
4317                rel1.to: "t";
4318                rel2.to: "t";
4319                image.normal: "arrow_up.png";
4320             }
4321             description { state: "visible" 0.0;
4322                inherit: "default" 0.0;
4323                visible: 1;
4324             }
4325          }
4326          part { name: "abot";
4327             mouse_events: 0;
4328             scale: 1;
4329             description { state: "default" 0.0;
4330                visible: 0;
4331                min: 15 15;
4332                max: 15 15;
4333                align: 0.5 1.0;
4334                rel1.to: "b";
4335                rel2.to: "b";
4336                image.normal: "arrow_down.png";
4337             }
4338             description { state: "visible" 0.0;
4339                inherit: "default" 0.0;
4340                visible: 1;
4341             }
4342          }
4343       }
4344       programs {
4345          program { name: "load";
4346             signal: "load";
4347             source: "";
4348             script {
4349                set_int(v0_cur, 0);
4350                set_int(v0_pre, 0);
4351                set_int(v0_lock, 0);
4352                set_int(v0_next, -1);
4353             }
4354          }
4355          program { name: "edit_on";
4356             signal: "elm,state,edit,on";
4357             source: "elm";
4358             action: STATE_SET "visible" 0.0;
4359             target: "atop";
4360             target: "abot";
4361          }
4362 /*
4363          program { name: "edit_off";
4364             signal: "elm,state,edit,off";
4365             source: "elm";
4366             action: STATE_SET "default" 0.0;
4367             target: "atop";
4368             target: "abot";
4369          }
4370  */
4371          program { name: "up";
4372             signal: "mouse,down,1";
4373             source: "t";
4374             action: SIGNAL_EMIT "elm,action,up,start" "";
4375          }
4376          program { name: "up,stop";
4377             signal: "mouse,up,1";
4378             source: "t";
4379             action: SIGNAL_EMIT "elm,action,up,stop" "";
4380          }
4381          program { name: "down";
4382             signal: "mouse,down,1";
4383             source: "b";
4384             action: SIGNAL_EMIT "elm,action,down,start" "";
4385          }
4386          program { name: "down,stop";
4387             signal: "mouse,up,1";
4388             source: "b";
4389             action: SIGNAL_EMIT "elm,action,down,stop" "";
4390          }
4391       }
4392    }
4393
4394    ///////////////////////////////////////////////////////////////////////////////
4395    group { name: "elm/menu/item/default";
4396        images {
4397            image: "bt_base1.png" COMP;
4398            image: "bt_base2.png" COMP;
4399            image: "bt_hilight.png" COMP;
4400            image: "bt_shine.png" COMP;
4401            image: "bt_glow.png" COMP;
4402            image: "bt_dis_base.png" COMP;
4403            image: "bt_dis_hilight.png" COMP;
4404        }
4405        script {
4406             public menu_text_visible; //0:hide (default), 1:visible
4407             public menu_disable; //0:enable, 1:disable
4408        }
4409        parts {
4410            part { name: "item_image";
4411                mouse_events: 1;
4412                description { state: "default" 0.0;
4413                    color: 255 255 255 0;
4414                    image {
4415                        normal: "bt_base2.png";
4416                        border: 7 7 7 7;
4417                    }
4418                    image.middle: SOLID;
4419                }
4420                description { state: "visible" 0.0;
4421                    inherit: "default" 0.0;
4422                    color: 255 255 255 255;
4423                }
4424                description { state: "clicked" 0.0;
4425                    inherit: "default" 0.0;
4426                    inherit: "visible" 0.0;
4427                    image.normal: "bt_base1.png";
4428                    image.middle: SOLID;
4429                }
4430                description { state: "disabled" 0.0;
4431                    inherit:  "default" 0.0;
4432                }
4433            }
4434            part { name: "item_image_disabled";
4435                mouse_events: 1;
4436                description { state: "default" 0.0;
4437                    color: 255 255 255 0;
4438                    image {
4439                        normal: "bt_dis_base.png";
4440                        border: 4 4 4 4;
4441                    }
4442                    image.middle: SOLID;
4443                }
4444                description { state: "disabled" 0.0;
4445                    inherit:  "default" 0.0;
4446                    color: 255 255 255 255;
4447                }
4448            }
4449            part { name: "elm.swallow.content";
4450                type: SWALLOW;
4451                description { state: "default" 0.0;
4452                    fixed: 1 0;
4453                    visible: 1;
4454                    align: 0.0 0.5;
4455                    rel1.offset: 4 4;
4456                    rel2.offset: 3 -5;
4457                    rel2.relative: 0.0 1.0;
4458                    aspect: 1.0 1.0;
4459                    aspect_preference: VERTICAL;
4460                    rel2.offset: 4 -5;
4461                }
4462            }
4463            part {
4464                name:          "elm.text";
4465                type:          TEXT;
4466                mouse_events:  0;
4467                scale: 1;
4468                description { state: "default" 0.0;
4469                    visible: 0;
4470                    rel1.to_x: "elm.swallow.content";
4471                    rel1.relative: 1.0 0.0;
4472                    rel1.offset: 5 7;
4473                    rel2.offset: -10 -8;
4474                    color: 0 0 0 255;
4475                    text {
4476                        font:     "Sans,Edje-Vera";
4477                        size:     10;
4478                        min:      1 1;
4479                        align:    0.0 0.5;
4480                        text_class: "menu_item";
4481                    }
4482                }
4483                description { state: "visible" 0.0;
4484                    inherit: "default" 0.0;
4485                    visible: 1;
4486                    text.min: 1 1;
4487                }
4488                description { state: "selected" 0.0;
4489                    inherit: "default" 0.0;
4490                    inherit: "visible" 0.0;
4491                    color: 254 254 254 255;
4492                }
4493                description { state: "disabled" 0.0;
4494                    inherit: "default" 0.0;
4495                    color: 0 0 0 128;
4496                }
4497                description { state: "disabled_visible" 0.0;
4498                    inherit: "default" 0.0;
4499                    inherit: "visible" 0.0;
4500                    color: 0 0 0 128;
4501                }
4502            }
4503            part {         name: "over1";
4504                mouse_events: 0;
4505                description { state: "default" 0.0;
4506                    color: 255 255 255 0;
4507                    rel2.relative: 1.0 0.5;
4508                    image {
4509                        normal: "bt_hilight.png";
4510                        border: 7 7 7 0;
4511                    }
4512                }
4513                description { state: "visible" 0.0;
4514                    inherit:  "default" 0.0;
4515                    color: 255 255 255 255;
4516                }
4517                description { state: "disabled" 0.0;
4518                    inherit:  "default" 0.0;
4519                }
4520            }
4521            part {         name: "over_disabled";
4522                mouse_events: 0;
4523                description { state: "default" 0.0;
4524                    color: 255 255 255 0;
4525                    rel2.relative: 1.0 0.5;
4526                    image {
4527                        normal: "bt_dis_hilight.png";
4528                        border: 4 4 4 0;
4529                    }
4530                }
4531                description { state: "disabled" 0.0;
4532                    inherit:  "default" 0.0;
4533                    color: 255 255 255 255;
4534                }
4535            }
4536            part { name: "over2";
4537                mouse_events: 1;
4538                repeat_events: 1;
4539                ignore_flags: ON_HOLD;
4540                description { state: "default" 0.0;
4541                    image {
4542                        normal: "bt_shine.png";
4543                        border: 7 7 7 7;
4544                    }
4545                }
4546                description { state: "disabled" 0.0;
4547                    inherit:  "default" 0.0;
4548                    visible: 0;
4549                }
4550            }
4551            part { name: "over3";
4552                mouse_events: 1;
4553                repeat_events: 1;
4554                description { state: "default" 0.0;
4555                    color: 255 255 255 0;
4556                    image {
4557                        normal: "bt_glow.png";
4558                        border: 12 12 12 12;
4559                    }
4560                    fill.smooth : 0;
4561                }
4562                description { state: "clicked" 0.0;
4563                    inherit:  "default" 0.0;
4564                    visible: 1;
4565                    color: 255 255 255 255;
4566                }
4567            }
4568            part { name: "disabler";
4569                type: RECT;
4570                description { state: "default" 0.0;
4571                    color: 0 0 0 0;
4572                    visible: 0;
4573                }
4574                description { state: "disabled" 0.0;
4575                    inherit: "default" 0.0;
4576                    visible: 1;
4577                }
4578            }
4579        }
4580        programs {
4581           //
4582            program {
4583                name:   "item_mouse_in";
4584                signal: "mouse,in";
4585                source: "over2";
4586                action: SIGNAL_EMIT "elm,action,activate" "";
4587                after: "item_mouse_in_2";
4588                after: "item_mouse_in_3";
4589            }
4590            program {
4591                name:   "item_mouse_in_2";
4592                transition: DECELERATE 0.5;
4593                script {
4594                    new v, d;
4595                    v = get_int(menu_text_visible);
4596                    d = get_int(menu_disable);
4597
4598                    if (v==1 && d==0)
4599                         run_program(PROGRAM:"selected_text");
4600                }
4601            }
4602            program {
4603                name:   "item_mouse_in_3";
4604                action : STATE_SET "visible" 0.0;
4605                target: "item_image";
4606                target: "over1";
4607                transition: DECELERATE 0.5;
4608            }
4609            program {
4610                name:   "selected_text";
4611                action: STATE_SET "selected" 0.0;
4612                target: "elm.text";
4613                transition: DECELERATE 0.5;
4614            }
4615            //
4616
4617            //
4618            program {
4619                name:   "item_mouse_out";
4620                signal: "mouse,out";
4621                source: "over2";
4622                after: "item_mouse_out_2";
4623                after: "item_mouse_out_3";
4624            }
4625            program {
4626                name:   "item_mouse_out_2";
4627                transition: DECELERATE 0.5;
4628                script {
4629                    new v, d;
4630                    v = get_int(menu_text_visible);
4631                    d = get_int(menu_disable);
4632
4633                    if (v==1 && d==0)
4634                         run_program(PROGRAM:"visible_text");
4635                }
4636            }
4637            program {
4638                name:   "item_mouse_out_3";
4639                action: STATE_SET "default" 0.0;
4640                target: "item_image";
4641                target: "over1";
4642                transition: DECELERATE 0.5;
4643            }
4644            program {
4645                name:   "visible_text";
4646                action: STATE_SET "visible" 0.0;
4647                target: "elm.text";
4648                transition: DECELERATE 0.5;
4649            }
4650            //
4651
4652            program {
4653                name:   "item_unclick";
4654                signal: "mouse,up,1";
4655                source: "over2";
4656                action: STATE_SET "visible" 0.0;
4657                target: "item_image";
4658            }
4659            program {
4660                name:   "item_click2";
4661                signal: "mouse,down,1";
4662                source: "over3";
4663                action: STATE_SET "clicked" 0.0;
4664                target: "over3";
4665            }
4666            program {
4667                name:   "item_unclick2";
4668                signal: "mouse,up,1";
4669                source: "over3";
4670                action: STATE_SET "default" 0.0;
4671                transition: DECELERATE 0.5;
4672                target: "over3";
4673            }
4674            program {
4675                name:   "item_unclick3";
4676                signal: "mouse,up,1";
4677                source: "over2";
4678                action: SIGNAL_EMIT "elm,action,click" "";
4679            }
4680            program { name: "text_show";
4681                signal: "elm,state,text,visible";
4682                source: "elm";
4683                script {
4684                    set_int(menu_text_visible, 1);
4685                    set_state(PART:"elm.text", "visible", 0.0);
4686                }
4687            }
4688            program { name: "text_hide";
4689                signal: "elm,state,text,hidden";
4690                source: "elm";
4691                script {
4692                    set_int(menu_text_visible, 0);
4693                    set_state(PART:"elm.text", "default", 0.0);
4694                }
4695            }
4696            program { name: "disable";
4697                signal: "elm,state,disabled";
4698                source: "elm";
4699                action: STATE_SET "disabled" 0.0;
4700                target: "item_image";
4701                target: "item_image_disabled";
4702                target: "over1";
4703                target: "over2";
4704                target: "over_disabled";
4705                target: "disabler";
4706                after: "disable_text";
4707            }
4708            program { name: "disable_text";
4709                script {
4710                    new v;
4711                    v = get_int(menu_text_visible);
4712                    if (v==1)
4713                     set_state(PART:"elm.text", "disabled_visible", 0.0);
4714                    else if (v==0)
4715                     set_state(PART:"elm.text", "disabled", 0.0);
4716                    set_int(menu_disable, 1);
4717                }
4718            }
4719            program { name: "enable";
4720                signal: "elm,state,enabled";
4721                source: "elm";
4722                action: STATE_SET "default" 0.0;
4723                target: "item_image";
4724                target: "item_image_disabled";
4725                target: "over1";
4726                target: "over2";
4727                target: "over_disabled";
4728                target: "disabler";
4729                after: "enable_text";
4730            }
4731            program { name: "enable_text";
4732                script {
4733                    new v;
4734                    v = get_int(menu_text_visible);
4735                    if (v==1)
4736                     set_state(PART:"elm.text", "visible", 0.0);
4737                    else  if (v==0)
4738                     set_state(PART:"elm.text", "default", 0.0);
4739                    set_int(menu_disable, 0);
4740                }
4741            }
4742        }
4743    }
4744
4745    group { name: "elm/menu/item_with_submenu/default";
4746        images {
4747            image: "bt_base1.png" COMP;
4748            image: "bt_base2.png" COMP;
4749            image: "bt_hilight.png" COMP;
4750            image: "bt_shine.png" COMP;
4751            image: "bt_glow.png" COMP;
4752            image: "bt_dis_base.png" COMP;
4753            image: "bt_dis_hilight.png" COMP;
4754            image: "arrow_right.png" COMP;
4755        }
4756        script {
4757             public menu_text_visible; //0:hide (default), 1:visible
4758             public menu_disable; //0:enable, 1:disable
4759        }
4760        parts {
4761            part { name: "item_image";
4762                mouse_events: 1;
4763                description { state: "default" 0.0;
4764                    color: 255 255 255 0;
4765                    image {
4766                        normal: "bt_base2.png";
4767                        border: 7 7 7 7;
4768                    }
4769                    image.middle: SOLID;
4770                }
4771                description { state: "visible" 0.0;
4772                    inherit: "default" 0.0;
4773                    color: 255 255 255 255;
4774                }
4775                description { state: "clicked" 0.0;
4776                    inherit: "default" 0.0;
4777                    inherit: "visible" 0.0;
4778                    image.normal: "bt_base1.png";
4779                    image.middle: SOLID;
4780                }
4781                description { state: "disabled" 0.0;
4782                    inherit:  "default" 0.0;
4783                }
4784            }
4785            part { name: "item_image_disabled";
4786                mouse_events: 1;
4787                description { state: "default" 0.0;
4788                    color: 255 255 255 0;
4789                    image {
4790                        normal: "bt_dis_base.png";
4791                        border: 4 4 4 4;
4792                    }
4793                    image.middle: SOLID;
4794                }
4795                description { state: "disabled" 0.0;
4796                    inherit:  "default" 0.0;
4797                    color: 255 255 255 255;
4798                }
4799            }
4800            part { name: "arrow";
4801                mouse_events: 1;
4802                description { state: "default" 0.0;
4803                    color: 255 255 255 255;
4804                    align: 1.0 0.5;
4805                    aspect: 1 1;
4806                    aspect_preference: BOTH;
4807                    image {
4808                        normal: "arrow_right.png";
4809                    }
4810                }
4811            }
4812            part { name: "elm.swallow.content";
4813                type: SWALLOW;
4814                description { state: "default" 0.0;
4815                    fixed: 1 0;
4816                    visible: 1;
4817                    align: 0.0 0.5;
4818                    rel1.offset: 4 4;
4819                    rel2.offset: 3 -5;
4820                    rel2.relative: 0.0 1.0;
4821                    aspect: 1.0 1.0;
4822                    aspect_preference: VERTICAL;
4823                    rel2.offset: 4 -5;
4824                }
4825            }
4826            part {
4827                name:          "elm.text";
4828                type:          TEXT;
4829                mouse_events:  0;
4830                scale: 1;
4831                description { state: "default" 0.0;
4832                    visible: 0;
4833                    rel1.to_x: "elm.swallow.content";
4834                    rel1.relative: 1.0 0.0;
4835                    rel1.offset: 5 7;
4836                    rel2.offset: -10 -8;
4837                    color: 0 0 0 255;
4838                    text {
4839                        font:     "Sans,Edje-Vera";
4840                        size:     10;
4841                        min:      1 1;
4842                        align:    0.0 0.5;
4843                        text_class: "menu_item";
4844                    }
4845                }
4846                description { state: "visible" 0.0;
4847                    inherit: "default" 0.0;
4848                    visible: 1;
4849                    text.min: 1 1;
4850                }
4851                description { state: "selected" 0.0;
4852                    inherit: "default" 0.0;
4853                    inherit: "visible" 0.0;
4854                    color: 254 254 254 255;
4855                }
4856                description { state: "disabled" 0.0;
4857                    inherit: "default" 0.0;
4858                    color: 0 0 0 128;
4859                }
4860                description { state: "disabled_visible" 0.0;
4861                    inherit: "default" 0.0;
4862                    inherit: "visible" 0.0;
4863                    color: 0 0 0 128;
4864                }
4865            }
4866            part {         name: "over1";
4867                mouse_events: 0;
4868                description { state: "default" 0.0;
4869                    color: 255 255 255 0;
4870                    rel2.relative: 1.0 0.5;
4871                    image {
4872                        normal: "bt_hilight.png";
4873                        border: 7 7 7 0;
4874                    }
4875                }
4876                description { state: "visible" 0.0;
4877                    inherit:  "default" 0.0;
4878                    color: 255 255 255 255;
4879                }
4880                description { state: "disabled" 0.0;
4881                    inherit:  "default" 0.0;
4882                }
4883            }
4884            part { name: "over_disabled";
4885                mouse_events: 0;
4886                description { state: "default" 0.0;
4887                    color: 255 255 255 0;
4888                    rel2.relative: 1.0 0.5;
4889                    image {
4890                        normal: "bt_dis_hilight.png";
4891                        border: 4 4 4 0;
4892                    }
4893                }
4894                description { state: "disabled" 0.0;
4895                    inherit:  "default" 0.0;
4896                    color: 255 255 255 255;
4897                }
4898            }
4899            part { name: "over2";
4900                mouse_events: 1;
4901                repeat_events: 1;
4902                ignore_flags: ON_HOLD;
4903                description { state: "default" 0.0;
4904                    image {
4905                        normal: "bt_shine.png";
4906                        border: 7 7 7 7;
4907                    }
4908                }
4909                description { state: "disabled" 0.0;
4910                    inherit:  "default" 0.0;
4911                    visible: 0;
4912                }
4913            }
4914            part { name: "over3";
4915                mouse_events: 1;
4916                repeat_events: 1;
4917                description { state: "default" 0.0;
4918                    color: 255 255 255 0;
4919                    image {
4920                        normal: "bt_glow.png";
4921                        border: 12 12 12 12;
4922                    }
4923                    fill.smooth : 0;
4924                }
4925                description { state: "clicked" 0.0;
4926                    inherit:  "default" 0.0;
4927                    visible: 1;
4928                    color: 255 255 255 255;
4929                }
4930            }
4931            part { name: "disabler";
4932                type: RECT;
4933                description { state: "default" 0.0;
4934                    color: 0 0 0 0;
4935                    visible: 0;
4936                }
4937                description { state: "disabled" 0.0;
4938                    inherit: "default" 0.0;
4939                    visible: 1;
4940                }
4941            }
4942        }
4943        programs {
4944            //
4945            program {
4946                name:   "item_mouse_in";
4947                signal: "mouse,in";
4948                source: "over2";
4949                action: SIGNAL_EMIT "elm,action,activate" "";
4950                after: "item_mouse_in_2";
4951                after: "item_mouse_in_3";
4952            }
4953            program {
4954                name:   "item_mouse_in_2";
4955                transition: DECELERATE 0.5;
4956                script {
4957                    new v, d;
4958                    v = get_int(menu_text_visible);
4959                    d = get_int(menu_disable);
4960
4961                    if (v==1 && d==0)
4962                         run_program(PROGRAM:"selected_text");
4963                }
4964            }
4965            program {
4966                name:   "item_mouse_in_3";
4967                action : STATE_SET "visible" 0.0;
4968                target: "item_image";
4969                target: "over1";
4970                transition: DECELERATE 0.5;
4971            }
4972            program {
4973                name:   "selected_text";
4974                action: STATE_SET "selected" 0.0;
4975                target: "elm.text";
4976                transition: DECELERATE 0.5;
4977            }
4978            //
4979
4980            //
4981            program {
4982                name:   "item_mouse_out";
4983                signal: "mouse,out";
4984                source: "over2";
4985                after: "item_mouse_out_2";
4986                after: "item_mouse_out_3";
4987            }
4988            program {
4989                name:   "item_mouse_out_2";
4990                transition: DECELERATE 0.5;
4991                script {
4992                    new v, d;
4993                    v = get_int(menu_text_visible);
4994                    d = get_int(menu_disable);
4995
4996                    if (v==1 && d==0)
4997                         run_program(PROGRAM:"visible_text");
4998                }
4999            }
5000            program {
5001                name:   "item_mouse_out_3";
5002                action: STATE_SET "default" 0.0;
5003                target: "item_image";
5004                target: "over1";
5005                transition: DECELERATE 0.5;
5006            }
5007            program {
5008                name:   "visible_text";
5009                action: STATE_SET "visible" 0.0;
5010                target: "elm.text";
5011                transition: DECELERATE 0.5;
5012            }
5013            //
5014
5015            program {
5016                name:   "item_unclick";
5017                signal: "mouse,up,1";
5018                source: "over2";
5019                action: STATE_SET "visible" 0.0;
5020                target: "item_image";
5021            }
5022            program {
5023                name:   "item_click2";
5024                signal: "mouse,down,1";
5025                source: "over3";
5026                action: STATE_SET "clicked" 0.0;
5027                target: "over3";
5028            }
5029            program {
5030                name:   "item_unclick2";
5031                signal: "mouse,up,1";
5032                source: "over3";
5033                action: STATE_SET "default" 0.0;
5034                transition: DECELERATE 0.5;
5035                target: "over3";
5036            }
5037            program {
5038                name:   "item_unclick3";
5039                signal: "mouse,up,1";
5040                source: "over2";
5041                action: SIGNAL_EMIT "elm,action,click" "";
5042            }
5043            program {
5044                name:   "menu_open";
5045                signal: "mouse,in";
5046                source: "over2";
5047                action: SIGNAL_EMIT "elm,action,open" "";
5048            }
5049             program { name: "text_show";
5050                signal: "elm,state,text,visible";
5051                source: "elm";
5052                script {
5053                    set_int(menu_text_visible, 1);
5054                    set_state(PART:"elm.text", "visible", 0.0);
5055                }
5056            }
5057            program { name: "text_hide";
5058                signal: "elm,state,text,hidden";
5059                source: "elm";
5060                script {
5061                    set_int(menu_text_visible, 0);
5062                    set_state(PART:"elm.text", "default", 0.0);
5063                }
5064            }
5065            program { name: "disable";
5066                signal: "elm,state,disabled";
5067                source: "elm";
5068                action: STATE_SET "disabled" 0.0;
5069                target: "item_image";
5070                target: "item_image_disabled";
5071                target: "over1";
5072                target: "over2";
5073                target: "over_disabled";
5074                target: "disabler";
5075                after: "disable_text";
5076            }
5077            program { name: "disable_text";
5078                script {
5079                    new st[31];
5080                    new Float:vl;
5081                    get_state(PART:"elm.text", st, 30, vl);
5082                    if (!strcmp(st, "visible"))
5083                    set_state(PART:"elm.text", "disabled_visible", 0.0);
5084                    else if (!strcmp(st, "default"))
5085                    set_state(PART:"elm.text", "disabled", 0.0);
5086                }
5087            }
5088            program { name: "enable";
5089                signal: "elm,state,enabled";
5090                source: "elm";
5091                action: STATE_SET "default" 0.0;
5092                target: "item_image";
5093                target: "item_image_disabled";
5094                target: "over1";
5095                target: "over2";
5096                target: "over_disabled";
5097                target: "disabler";
5098                after: "enable_text";
5099            }
5100            program { name: "enable_text";
5101                script {
5102                    new v;
5103                    v = get_int(menu_text_visible);
5104                    if (v==1)
5105                     set_state(PART:"elm.text", "visible", 0.0);
5106                    else  if (v==0)
5107                     set_state(PART:"elm.text", "default", 0.0);
5108                    set_int(menu_disable, 0);
5109                }
5110            }
5111        }
5112    }
5113
5114    group { name: "elm/menu/separator/default";
5115        images {
5116            image: "separator_h.png" COMP;
5117        }
5118        parts {
5119            part { name: "separator"; // separator group
5120                description { state: "default" 0.0;
5121                    min: 2 2;
5122                    rel1.offset: 4 4;
5123                    rel2.offset: -5 -5;
5124                    image {
5125                        normal: "separator_h.png";
5126                    }
5127                    fill {
5128                        smooth: 0;
5129                    }
5130                }
5131            }
5132        }
5133    }
5134 ///////////////////////////////////////////////////////////////////////////////
5135    group { name: "elm/clock/base-all/default";
5136       parts {
5137          part { name: "d0";
5138             type: SWALLOW;
5139             description { state: "default" 0.0;
5140                rel1.relative: 0.0000000 0.0;
5141                rel2.relative: 0.1250000 1.0;
5142             }
5143          }
5144          part { name: "d1";
5145             type: SWALLOW;
5146             description { state: "default" 0.0;
5147                rel1.relative: 0.1250000 0.0;
5148                rel2.relative: 0.2500000 1.0;
5149             }
5150          }
5151          part { name: "c0";
5152             type: SWALLOW;
5153             type: TEXT;
5154             mouse_events:  0;
5155             scale: 1;
5156             description { state: "default" 0.0;
5157                rel1.relative: 0.2500000 0.0;
5158                rel2.relative: 0.3125000 1.0;
5159                color: 0 0 0 255;
5160                text {
5161                   font:     "Sans,Edje-Vera";
5162                   text:     ":";
5163                   size:     10;
5164                   min:      1 1;
5165                   align:    0.5 0.5;
5166                }
5167             }
5168          }
5169          part { name: "d2";
5170             type: SWALLOW;
5171             description { state: "default" 0.0;
5172                rel1.relative: 0.3125000 0.0;
5173                rel2.relative: 0.4375000 1.0;
5174             }
5175          }
5176          part { name: "d3";
5177             type: SWALLOW;
5178             description { state: "default" 0.0;
5179                rel1.relative: 0.4375000 0.0;
5180                rel2.relative: 0.5625000 1.0;
5181             }
5182          }
5183          // (if seconds)
5184          part { name: "c1";
5185             type: SWALLOW;
5186             type: TEXT;
5187             mouse_events:  0;
5188             scale: 1;
5189             description { state: "default" 0.0;
5190                rel1.relative: 0.5625000 0.0;
5191                rel2.relative: 0.6250000 1.0;
5192                color: 0 0 0 255;
5193                text {
5194                   font:     "Sans,Edje-Vera";
5195                   text:     ":";
5196                   size:     10;
5197                   min:      1 1;
5198                   align:    0.5 0.5;
5199                }
5200             }
5201          }
5202          // (if seconds)
5203          part { name: "d4";
5204             type: SWALLOW;
5205             description { state: "default" 0.0;
5206                rel1.relative: 0.6250000 0.0;
5207                rel2.relative: 0.7500000 1.0;
5208             }
5209          }
5210          // (if seconds)
5211          part { name: "d5";
5212             type: SWALLOW;
5213             description { state: "default" 0.0;
5214                rel1.relative: 0.7500000 0.0;
5215                rel2.relative: 0.8750000 1.0;
5216             }
5217          }
5218          // (if am_pm)
5219          part { name: "ampm";
5220             type: SWALLOW;
5221             description { state: "default" 0.0;
5222                rel1.relative: 0.8750000 0.0;
5223                rel2.relative: 1.0 1.0;
5224             }
5225          }
5226       }
5227    }
5228
5229 ///////////////////////////////////////////////////////////////////////////////
5230    group { name: "elm/clock/base-seconds/default";
5231       parts {
5232          part { name: "d0";
5233             type: SWALLOW;
5234             description { state: "default" 0.0;
5235                rel1.relative: 0.000000000 0.0;
5236                rel2.relative: 0.142857143 1.0;
5237             }
5238          }
5239          part { name: "d1";
5240             type: SWALLOW;
5241             description { state: "default" 0.0;
5242                rel1.relative: 0.142857143 0.0;
5243                rel2.relative: 0.285714286 1.0;
5244             }
5245          }
5246          part { name: "c0";
5247             type: SWALLOW;
5248             type: TEXT;
5249             mouse_events:  0;
5250             scale: 1;
5251             description { state: "default" 0.0;
5252                rel1.relative: 0.285714286 0.0;
5253                rel2.relative: 0.357142857 1.0;
5254                color: 0 0 0 255;
5255                text {
5256                   font:     "Sans,Edje-Vera";
5257                   text:     ":";
5258                   size:     10;
5259                   min:      1 1;
5260                   align:    0.5 0.5;
5261                }
5262             }
5263          }
5264          part { name: "d2";
5265             type: SWALLOW;
5266             description { state: "default" 0.0;
5267                rel1.relative: 0.357142857 0.0;
5268                rel2.relative: 0.500000000 1.0;
5269             }
5270          }
5271          part { name: "d3";
5272             type: SWALLOW;
5273             description { state: "default" 0.0;
5274                rel1.relative: 0.500000000 0.0;
5275                rel2.relative: 0.642857143 1.0;
5276             }
5277          }
5278          // (if seconds)
5279          part { name: "c1";
5280             type: SWALLOW;
5281             type: TEXT;
5282             mouse_events:  0;
5283             scale: 1;
5284             description { state: "default" 0.0;
5285                rel1.relative: 0.642857143 0.0;
5286                rel2.relative: 0.714285714 1.0;
5287                color: 0 0 0 255;
5288                text {
5289                   font:     "Sans,Edje-Vera";
5290                   text:     ":";
5291                   size:     10;
5292                   min:      1 1;
5293                   align:    0.5 0.5;
5294                }
5295             }
5296          }
5297          // (if seconds)
5298          part { name: "d4";
5299             type: SWALLOW;
5300             description { state: "default" 0.0;
5301                rel1.relative: 0.714285714 0.0;
5302                rel2.relative: 0.857142857 1.0;
5303             }
5304          }
5305          // (if seconds)
5306          part { name: "d5";
5307             type: SWALLOW;
5308             description { state: "default" 0.0;
5309                rel1.relative: 0.857142857 0.0;
5310                rel2.relative: 1.000000000 1.0;
5311             }
5312          }
5313       }
5314    }
5315
5316 ///////////////////////////////////////////////////////////////////////////////
5317    group { name: "elm/clock/base-am_pm/default";
5318       parts {
5319          part { name: "d0";
5320             type: SWALLOW;
5321             description { state: "default" 0.0;
5322                rel1.relative: 0.000000000 0.0;
5323                rel2.relative: 0.181818182 1.0;
5324             }
5325          }
5326          part { name: "d1";
5327             type: SWALLOW;
5328             description { state: "default" 0.0;
5329                rel1.relative: 0.181818182 0.0;
5330                rel2.relative: 0.363636364 1.0;
5331             }
5332          }
5333          part { name: "c0";
5334             type: SWALLOW;
5335             type: TEXT;
5336             mouse_events:  0;
5337             scale: 1;
5338             description { state: "default" 0.0;
5339                rel1.relative: 0.363636364 0.0;
5340                rel2.relative: 0.454545455 1.0;
5341                color: 0 0 0 255;
5342                text {
5343                   font:     "Sans,Edje-Vera";
5344                   text:     ":";
5345                   size:     10;
5346                   min:      1 1;
5347                   align:    0.5 0.5;
5348                }
5349             }
5350          }
5351          part { name: "d2";
5352             type: SWALLOW;
5353             description { state: "default" 0.0;
5354                rel1.relative: 0.454545455 0.0;
5355                rel2.relative: 0.636363636 1.0;
5356             }
5357          }
5358          part { name: "d3";
5359             type: SWALLOW;
5360             description { state: "default" 0.0;
5361                rel1.relative: 0.636363636 0.0;
5362                rel2.relative: 0.818181818 1.0;
5363             }
5364          }
5365          // (if am_pm)
5366          part { name: "ampm";
5367             type: SWALLOW;
5368             description { state: "default" 0.0;
5369                rel1.relative: 0.818181818 0.0;
5370                rel2.relative: 1.0 1.0;
5371             }
5372          }
5373       }
5374    }
5375
5376 ///////////////////////////////////////////////////////////////////////////////
5377    group { name: "elm/clock/base/default";
5378       parts {
5379          part { name: "d0";
5380             type: SWALLOW;
5381             description { state: "default" 0.0;
5382                rel1.relative: 0.000000000 0.0;
5383                rel2.relative: 0.222222222 1.0;
5384             }
5385          }
5386          part { name: "d1";
5387             type: SWALLOW;
5388             description { state: "default" 0.0;
5389                rel1.relative: 0.222222222 0.0;
5390                rel2.relative: 0.444444444 1.0;
5391             }
5392          }
5393          part { name: "c0";
5394             type: SWALLOW;
5395             type: TEXT;
5396             mouse_events:  0;
5397             scale: 1;
5398             description { state: "default" 0.0;
5399                rel1.relative: 0.444444444 0.0;
5400                rel2.relative: 0.555555556 1.0;
5401                color: 0 0 0 255;
5402                text {
5403                   font:     "Sans,Edje-Vera";
5404                   text:     ":";
5405                   size:     10;
5406                   min:      1 1;
5407                   align:    0.5 0.5;
5408                }
5409             }
5410          }
5411          part { name: "d2";
5412             type: SWALLOW;
5413             description { state: "default" 0.0;
5414                rel1.relative: 0.555555556 0.0;
5415                rel2.relative: 0.777777778 1.0;
5416             }
5417          }
5418          part { name: "d3";
5419             type: SWALLOW;
5420             description { state: "default" 0.0;
5421                rel1.relative: 0.777777778 0.0;
5422                rel2.relative: 1.000000000 1.0;
5423             }
5424          }
5425       }
5426    }
5427
5428 ///////////////////////////////////////////////////////////////////////////////
5429    group { name: "elm/frame/base/default";
5430        images {
5431            image: "frame_1.png" COMP;
5432            image: "frame_2.png" COMP;
5433            image: "dia_grad.png" COMP;
5434        }
5435        parts {
5436            part { name: "base0";
5437                mouse_events:  0;
5438                description { state: "default" 0.0;
5439                    image.normal: "dia_grad.png";
5440                    rel1.to: "over";
5441                    rel2.to: "over";
5442                    fill {
5443                        smooth: 0;
5444                        size {
5445                            relative: 0.0 1.0;
5446                            offset: 64 0;
5447                        }
5448                    }
5449                }
5450            }
5451            part { name: "base";
5452                mouse_events:  0;
5453                description { state:    "default" 0.0;
5454                    rel2.to: "elm.swallow.content";
5455                    rel2.offset: 9 9;
5456                    image {
5457                        normal: "frame_2.png";
5458                        border: 5 5 32 26;
5459                        middle: 0;
5460                    }
5461                    fill.smooth : 0;
5462                }
5463            }
5464            part { name: "elm.text";
5465                type: TEXT;
5466                mouse_events:   0;
5467                scale: 1;
5468                description { state: "default" 0.0;
5469                    align: 0.0 0.0;
5470                    fixed: 0 1;
5471                    rel1 {
5472                        relative: 0.0 0.0;
5473                        offset: 6 6;
5474                    }
5475                    rel2 {
5476                        relative: 1.0 0.0;
5477                        offset: -7 6;
5478                    }
5479                    color: 0 0 0 64;
5480                    text {
5481                        font: "Sans:style=Bold,Edje-Vera-Bold";
5482                        size: 10;
5483                        min: 1 1;
5484                        max: 1 1;
5485                        align: 0.0 0.0;
5486                    }
5487                }
5488            }
5489            part { name: "over";
5490                mouse_events:  0;
5491                description { state:    "default" 0.0;
5492                    rel1.offset: 4 4;
5493                    rel2.to: "elm.swallow.content";
5494                    rel2.offset: 5 5;
5495                    image {
5496                        normal: "frame_1.png";
5497                        border: 2 2 28 22;
5498                        middle: 0;
5499                    }
5500                    fill.smooth : 0;
5501                }
5502            }
5503            part { name: "elm.swallow.content";
5504                type: SWALLOW;
5505                description { state: "default" 0.0;
5506                    align: 0.0 0.0;
5507                    rel1 {
5508                        to_y: "elm.text";
5509                        relative: 0.0 1.0;
5510                        offset: 8 2;
5511                    }
5512                    rel2.offset: -9 -9;
5513                }
5514            }
5515        }
5516    }
5517
5518    group { name: "elm/frame/base/pad_small";
5519        parts {
5520            part { name: "b0";
5521                mouse_events:  0;
5522                type: RECT;
5523                scale: 1;
5524                description { state: "default" 0.0;
5525                    visible: 0;
5526                    min: 4 4;
5527                    max: 4 4;
5528                    align: 0.0 0.0;
5529                }
5530            }
5531            part { name: "b1";
5532                mouse_events:  0;
5533                type: RECT;
5534                scale: 1;
5535                description { state: "default" 0.0;
5536                    visible: 0;
5537                    min: 4 4;
5538                    max: 4 4;
5539                    align: 1.0 1.0;
5540                }
5541            }
5542            part { name: "elm.swallow.content";
5543                type: SWALLOW;
5544                description { state: "default" 0.0;
5545                    rel1 {
5546                        to: "b0";
5547                        relative: 1.0 1.0;
5548                        offset: 0 0;
5549                    }
5550                    rel2 {
5551                        to: "b1";
5552                        relative: 0.0 0.0;
5553                        offset: -1 -1;
5554                    }
5555                }
5556            }
5557        }
5558    }
5559
5560    group { name: "elm/frame/base/pad_medium";
5561        parts {
5562            part { name: "b0";
5563                mouse_events:  0;
5564                type: RECT;
5565                scale: 1;
5566                description { state: "default" 0.0;
5567                    visible: 0;
5568                    min: 8 8;
5569                    max: 8 8;
5570                    align: 0.0 0.0;
5571                }
5572            }
5573            part { name: "b1";
5574                mouse_events:  0;
5575                type: RECT;
5576                scale: 1;
5577                description { state: "default" 0.0;
5578                    visible: 0;
5579                    min: 8 8;
5580                    max: 8 8;
5581                    align: 1.0 1.0;
5582                }
5583            }
5584            part { name: "elm.swallow.content";
5585                type: SWALLOW;
5586                description { state: "default" 0.0;
5587                    rel1 {
5588                        to: "b0";
5589                        relative: 1.0 1.0;
5590                        offset: 0 0;
5591                    }
5592                    rel2 {
5593                        to: "b1";
5594                        relative: 0.0 0.0;
5595                        offset: -1 -1;
5596                    }
5597                }
5598            }
5599        }
5600    }
5601
5602    group { name: "elm/frame/base/pad_large";
5603        parts {
5604            part { name: "b0";
5605                mouse_events:  0;
5606                type: RECT;
5607                scale: 1;
5608                description { state: "default" 0.0;
5609                    visible: 0;
5610                    min: 16 16;
5611                    max: 16 16;
5612                    align: 0.0 0.0;
5613                }
5614            }
5615            part { name: "b1";
5616                mouse_events:  0;
5617                type: RECT;
5618                scale: 1;
5619                description { state: "default" 0.0;
5620                    visible: 0;
5621                    min: 16 16;
5622                    max: 16 16;
5623                    align: 1.0 1.0;
5624                }
5625            }
5626            part { name: "elm.swallow.content";
5627                type: SWALLOW;
5628                description { state: "default" 0.0;
5629                    rel1 {
5630                        to: "b0";
5631                        relative: 1.0 1.0;
5632                        offset: 0 0;
5633                    }
5634                    rel2 {
5635                        to: "b1";
5636                        relative: 0.0 0.0;
5637                        offset: -1 -1;
5638                    }
5639                }
5640            }
5641        }
5642    }
5643
5644    group { name: "elm/frame/base/pad_huge";
5645        parts {
5646            part { name: "b0";
5647                mouse_events:  0;
5648                type: RECT;
5649                scale: 1;
5650                description { state: "default" 0.0;
5651                    visible: 0;
5652                    min: 32 32;
5653                    max: 32 32;
5654                    align: 0.0 0.0;
5655                }
5656            }
5657            part { name: "b1";
5658                mouse_events:  0;
5659                type: RECT;
5660                scale: 1;
5661                description { state: "default" 0.0;
5662                    visible: 0;
5663                    min: 32 32;
5664                    max: 32 32;
5665                    align: 1.0 1.0;
5666                }
5667            }
5668            part { name: "elm.swallow.content";
5669                type: SWALLOW;
5670                description { state: "default" 0.0;
5671                    rel1 {
5672                        to: "b0";
5673                        relative: 1.0 1.0;
5674                        offset: 0 0;
5675                    }
5676                    rel2 {
5677                        to: "b1";
5678                        relative: 0.0 0.0;
5679                        offset: -1 -1;
5680                    }
5681                }
5682            }
5683        }
5684    }
5685
5686    group { name: "elm/frame/base/outdent_top";
5687        images {
5688            image: "outdent-top.png" COMP;
5689        }
5690        parts {
5691            part { name: "base0";
5692                mouse_events:  0;
5693                description { state: "default" 0.0;
5694                    image.normal: "outdent-top.png";
5695                    image.border: 0 0 0 13;
5696                    fill.smooth: 0;
5697                }
5698            }
5699            part { name: "elm.swallow.content";
5700                type: SWALLOW;
5701                description { state: "default" 0.0;
5702                    rel1.offset: 2 2;
5703                    rel2.offset: -3 -13;
5704                }
5705            }
5706        }
5707    }
5708
5709    group { name: "elm/frame/base/outdent_bottom";
5710        images {
5711            image: "outdent-bottom.png" COMP;
5712        }
5713        parts {
5714            part { name: "base0";
5715                mouse_events:  0;
5716                description { state: "default" 0.0;
5717                    image.normal: "outdent-bottom.png";
5718                    image.border: 0 0 13 0;
5719                    fill.smooth: 0;
5720                }
5721            }
5722            part { name: "elm.swallow.content";
5723                type: SWALLOW;
5724                description { state: "default" 0.0;
5725                    rel1.offset: 2 12;
5726                    rel2.offset: -3 -3;
5727                }
5728            }
5729        }
5730    }
5731
5732 ///////////////////////////////////////////////////////////////////////////////
5733    group { name: "elm/label/base/tooltip";
5734       styles {
5735          style { name: "tooltip_style";
5736             base: "font=Sans font_size=8 color=#666 wrap=word";
5737             tag:  "br" "\n";
5738             tag:  "hilight" "+ font=Sans:style=Bold";
5739             tag:  "b" "+ font=Sans:style=Bold";
5740             tag:  "tab" "\t";
5741          }
5742       }
5743       parts {
5744          part { name: "elm.text";
5745             type: TEXTBLOCK;
5746             mouse_events: 0;
5747             scale: 1;
5748             description { state: "default" 0.0;
5749                text {
5750                   style: "tooltip_style";
5751                   min: 1 1;
5752                }
5753             }
5754          }
5755       }
5756    }
5757
5758    group { name: "elm/tooltip/base/default";
5759        min: 30 30;
5760        data {
5761            item: "pad_x" "20";
5762            item: "pad_y" "20";
5763            item: "pad_border_x" "10";
5764            item: "pad_border_y" "10";
5765            item: "hide_timeout" "0.35"; /**< tooltip is hidden after this amount, keep in sync with hide animations */
5766        }
5767        images {
5768            image: "tooltip-base.png" COMP;
5769            image: "tooltip-corner-top-left-tip.png" COMP;
5770            image: "tooltip-corner-top-right-tip.png" COMP;
5771            image: "tooltip-corner-bottom-left-tip.png" COMP;
5772            image: "tooltip-corner-bottom-right-tip.png" COMP;
5773            image: "tooltip-edge-left-tip.png" COMP;
5774            image: "tooltip-edge-right-tip.png" COMP;
5775            image: "tooltip-edge-bottom-tip.png" COMP;
5776            image: "tooltip-edge-top-tip.png" COMP;
5777        }
5778        script {
5779           hide_corners() {
5780              set_state(PART:"corner-top-left", "default", 0.0);
5781              set_state(PART:"corner-top-right", "default", 0.0);
5782              set_state(PART:"corner-bottom-left", "default", 0.0);
5783              set_state(PART:"corner-bottom-right", "default", 0.0);
5784           }
5785           hide_edges() {
5786              set_state(PART:"clipper-edge-left", "default", 0.0);
5787              set_state(PART:"clipper-edge-right", "default", 0.0);
5788              set_state(PART:"clipper-edge-top", "default", 0.0);
5789              set_state(PART:"clipper-edge-bottom", "default", 0.0);
5790           }
5791
5792           show_corner_top_left() {
5793              set_state(PART:"corner-top-left", "visible", 0.0);
5794
5795              set_state(PART:"corner-top-right", "default", 0.0);
5796              set_state(PART:"corner-bottom-left", "default", 0.0);
5797              set_state(PART:"corner-bottom-right", "default", 0.0);
5798              hide_edges();
5799           }
5800           show_corner_top_right() {
5801              set_state(PART:"corner-top-right", "visible", 0.0);
5802
5803              set_state(PART:"corner-top-left", "default", 0.0);
5804              set_state(PART:"corner-bottom-left", "default", 0.0);
5805              set_state(PART:"corner-bottom-right", "default", 0.0);
5806              hide_edges();
5807           }
5808
5809           show_corner_bottom_left() {
5810              set_state(PART:"corner-bottom-left", "visible", 0.0);
5811
5812              set_state(PART:"corner-bottom-right", "default", 0.0);
5813              set_state(PART:"corner-top-left", "default", 0.0);
5814              set_state(PART:"corner-top-right", "default", 0.0);
5815              hide_edges();
5816           }
5817           show_corner_bottom_right() {
5818              set_state(PART:"corner-bottom-right", "visible", 0.0);
5819
5820              set_state(PART:"corner-bottom-left", "default", 0.0);
5821              set_state(PART:"corner-top-left", "default", 0.0);
5822              set_state(PART:"corner-top-right", "default", 0.0);
5823              hide_edges();
5824           }
5825
5826           show_edge_left(Float:val) {
5827              set_state(PART:"clipper-edge-left", "visible", 0.0);
5828              set_drag(PART:"edge-drag-left", 0.0, val);
5829
5830              set_state(PART:"clipper-edge-right", "default", 0.0);
5831              set_state(PART:"clipper-edge-top", "default", 0.0);
5832              set_state(PART:"clipper-edge-bottom", "default", 0.0);
5833              hide_corners();
5834           }
5835           show_edge_right(Float:val) {
5836              set_state(PART:"clipper-edge-right", "visible", 0.0);
5837              set_drag(PART:"edge-drag-right", 0.0, val);
5838
5839              set_state(PART:"clipper-edge-left", "default", 0.0);
5840              set_state(PART:"clipper-edge-top", "default", 0.0);
5841              set_state(PART:"clipper-edge-bottom", "default", 0.0);
5842              hide_corners();
5843           }
5844
5845           show_edge_top(Float:val) {
5846              set_state(PART:"clipper-edge-top", "visible", 0.0);
5847              set_drag(PART:"edge-drag-top", val, 0.0);
5848
5849              set_state(PART:"clipper-edge-bottom", "default", 0.0);
5850              set_state(PART:"clipper-edge-left", "default", 0.0);
5851              set_state(PART:"clipper-edge-right", "default", 0.0);
5852              hide_corners();
5853           }
5854           show_edge_bottom(Float:val) {
5855              set_state(PART:"clipper-edge-bottom", "visible", 0.0);
5856              set_drag(PART:"edge-drag-bottom", val, 0.0);
5857
5858              set_state(PART:"clipper-edge-top", "default", 0.0);
5859              set_state(PART:"clipper-edge-left", "default", 0.0);
5860              set_state(PART:"clipper-edge-right", "default", 0.0);
5861              hide_corners();
5862           }
5863
5864           public message(Msg_Type:type, id, ...) {
5865              if ((type == MSG_FLOAT_SET) && (id == 1)) {
5866                 new Float:x, Float:y;
5867
5868                 x = getfarg(2);
5869                 y = getfarg(3);
5870
5871                 if (x < 0.0)
5872                   {
5873                      if (y < 0.0)      show_corner_top_left();
5874                      else if (y > 1.0) show_corner_bottom_left();
5875                      else              show_edge_left(y);
5876                   }
5877                 else if (x > 1.0)
5878                   {
5879                      if (y < 0.0)      show_corner_top_right();
5880                      else if (y > 1.0) show_corner_bottom_right();
5881                      else              show_edge_right(y);
5882                   }
5883                 else
5884                   {
5885                      if (y < 0.0)      show_edge_top(x);
5886                      else if (y > 1.0) show_edge_bottom(x);
5887                      else
5888                        {
5889                           hide_corners();
5890                           hide_edges();
5891                        }
5892                   }
5893              }
5894           }
5895        }
5896        parts {
5897            part { name: "clipper";
5898                type: RECT;
5899                description { state: "default" 0.0;
5900                    color: 255 255 255 0;
5901                    rel1.to: "elm.swallow.content";
5902                    rel1.offset: -64 -64;
5903                    rel2.to: "elm.swallow.content";
5904                    rel2.offset: 63 63;
5905                }
5906                description { state: "visible" 0.0;
5907                    inherit: "default" 0.0;
5908                    color: 255 255 255 255;
5909                }
5910            }
5911            part { name: "pop";
5912                mouse_events: 0;
5913                clip_to: "clipper";
5914                description { state: "default" 0.0;
5915                    min: 30 30;
5916                    rel1 {
5917                        to: "elm.swallow.content";
5918                        offset: -15 -15;
5919                    }
5920                    rel2 {
5921                        to: "elm.swallow.content";
5922                        offset: 14 14;
5923                    }
5924                    image {
5925                        normal: "tooltip-base.png";
5926                        border: 14 14 14 14;
5927                    }
5928                    image.middle: SOLID;
5929                }
5930            }
5931
5932 #define TT_CORNER(name_, rx, ry, ax, ay, ox, oy)                        \
5933            part { name: "corner-"name_;                                 \
5934               type: IMAGE;                                              \
5935               mouse_events: 0;                                          \
5936               clip_to: "clipper";                                       \
5937               description { state: "default" 0.0;                       \
5938                  color: 255 255 255 0;                                  \
5939                  visible: 0;                                            \
5940                  min: 14 14;                                            \
5941                  max: 14 14;                                            \
5942                  align: ax ay;                                          \
5943                  fixed: 1 1;                                            \
5944                  rel1 {                                                 \
5945                     relative: rx ry;                                    \
5946                     offset: ox oy;                                      \
5947                     to: "elm.swallow.content";                          \
5948                  }                                                      \
5949                  rel2 {                                                 \
5950                     relative: rx ry;                                    \
5951                     offset: ox oy;                                      \
5952                     to: "elm.swallow.content";                          \
5953                  }                                                      \
5954                  image.normal: "tooltip-corner-"name_"-tip.png";        \
5955               }                                                         \
5956               description { state: "visible" 0.0;                       \
5957                  inherit: "default" 0.0;                                \
5958                  color: 255 255 255 255;                                \
5959                  visible: 1;                                            \
5960               }                                                         \
5961            }
5962            TT_CORNER("top-left", 0, 0, 1, 1, 4, 4);
5963            TT_CORNER("top-right", 1, 0, 0, 1, -5, 4);
5964            TT_CORNER("bottom-left", 0, 1, 1, 0, 4, -5);
5965            TT_CORNER("bottom-right", 1, 1, 0, 0, -5, -5);
5966 #undef TT_CORNER
5967
5968 #define TT_EDGE_VERT(name_, rx, ax, ox)                                 \
5969            part { name: "clipper-edge-"name_;                           \
5970               type: RECT;                                               \
5971               clip_to: "clipper";                                       \
5972               description { state: "default" 0.0;                       \
5973                  color: 255 255 255 0;                                  \
5974                  visible: 0;                                            \
5975                  min: 14 14;                                            \
5976                  align: ax 0.5;                                         \
5977                  fixed: 1 1;                                            \
5978                  rel1 {                                                 \
5979                     relative: rx 0.0;                                   \
5980                     offset: ox 0;                                       \
5981                     to: "elm.swallow.content";                          \
5982                  }                                                      \
5983                  rel2 {                                                 \
5984                     relative: rx 1.0;                                   \
5985                     offset: ox 0;                                       \
5986                     to: "elm.swallow.content";                          \
5987                  }                                                      \
5988               }                                                         \
5989               description { state: "visible" 0.0;                       \
5990                  inherit: "default" 0.0;                                \
5991                  color: 255 255 255 255;                                \
5992                  visible: 1;                                            \
5993               }                                                         \
5994            }                                                            \
5995            part { name: "edge-area-"name_;                              \
5996               type: RECT;                                               \
5997               mouse_events: 0;                                          \
5998               clip_to: "clipper-edge-"name_;                            \
5999               description { state: "default" 0.0;                       \
6000                  color: 0 0 0 0;                                        \
6001                  min: 14 14;                                            \
6002                  align: ax 0.5;                                         \
6003                  fixed: 1 1;                                            \
6004                  rel1 {                                                 \
6005                     relative: rx 0.0;                                   \
6006                     offset: ox 0;                                       \
6007                     to: "elm.swallow.content";                          \
6008                  }                                                      \
6009                  rel2 {                                                 \
6010                     relative: rx 1.0;                                   \
6011                     offset: ox 0;                                       \
6012                     to: "elm.swallow.content";                          \
6013                  }                                                      \
6014               }                                                         \
6015            }                                                            \
6016            part { name: "edge-drag-"name_;                              \
6017               type: RECT;                                               \
6018               mouse_events: 0;                                          \
6019               clip_to: "clipper-edge-"name_;                            \
6020               dragable {                                                \
6021                   x: 0 0 0;                                             \
6022                   y: 1 1 0;                                             \
6023                   confine: "edge-area-"name_;                           \
6024               }                                                         \
6025               description { state: "default" 0.0;                       \
6026                  color: 0 0 0 0;                                        \
6027                  min: 14 14;                                            \
6028                  rel1.to: "edge-area-"name_;                            \
6029                  rel2.to: "edge-area-"name_;                            \
6030               }                                                         \
6031            }                                                            \
6032            part { name: "edge-img-"name_;                               \
6033               type: IMAGE;                                              \
6034               mouse_events: 0;                                          \
6035               clip_to: "clipper-edge-"name_;                            \
6036               description { state: "default" 0.0;                       \
6037                  min: 14 14;                                            \
6038                  max: 14 14;                                            \
6039                  align: ax 0.5;                                         \
6040                  fixed: 1 1;                                            \
6041                  rel1.to: "edge-drag-"name_;                            \
6042                  rel2.to: "edge-drag-"name_;                            \
6043                  image.normal: "tooltip-edge-"name_"-tip.png";          \
6044               }                                                         \
6045            }
6046            TT_EDGE_VERT("left", 0, 1, -2);
6047            TT_EDGE_VERT("right", 1, 0, 1);
6048 #undef TT_EDGE_VERT
6049
6050 #define TT_EDGE_HORIZ(name_, ry, ay, oy)                                \
6051            part { name: "clipper-edge-"name_;                           \
6052               type: RECT;                                               \
6053               clip_to: "clipper";                                       \
6054               description { state: "default" 0.0;                       \
6055                  color: 255 255 255 0;                                  \
6056                  visible: 0;                                            \
6057                  min: 14 14;                                            \
6058                  align: 0.5 ay;                                         \
6059                  fixed: 1 1;                                            \
6060                  rel1 {                                                 \
6061                     relative: 0.0 ry;                                   \
6062                     offset: 0 oy;                                       \
6063                     to: "elm.swallow.content";                          \
6064                  }                                                      \
6065                  rel2 {                                                 \
6066                     relative: 1.0 ry;                                   \
6067                     offset: 0 oy;                                       \
6068                     to: "elm.swallow.content";                          \
6069                  }                                                      \
6070               }                                                         \
6071               description { state: "visible" 0.0;                       \
6072                  inherit: "default" 0.0;                                \
6073                  color: 255 255 255 255;                                \
6074                  visible: 1;                                            \
6075               }                                                         \
6076            }                                                            \
6077            part { name: "edge-area-"name_;                              \
6078               type: RECT;                                               \
6079               mouse_events: 0;                                          \
6080               clip_to: "clipper-edge-"name_;                            \
6081               description { state: "default" 0.0;                       \
6082                  color: 0 0 0 0;                                        \
6083                  min: 14 14;                                            \
6084                  align: 0.5 ay;                                         \
6085                  fixed: 1 1;                                            \
6086                  rel1 {                                                 \
6087                     relative: 0.0 ry;                                   \
6088                     offset: 0 oy;                                       \
6089                     to: "elm.swallow.content";                          \
6090                  }                                                      \
6091                  rel2 {                                                 \
6092                     relative: 1.0 ry;                                   \
6093                     offset: 0 oy;                                       \
6094                     to: "elm.swallow.content";                          \
6095                  }                                                      \
6096               }                                                         \
6097            }                                                            \
6098            part { name: "edge-drag-"name_;                              \
6099               type: RECT;                                               \
6100               mouse_events: 0;                                          \
6101               clip_to: "clipper-edge-"name_;                            \
6102               dragable {                                                \
6103                   x: 1 1 0;                                             \
6104                   y: 0 0 0;                                             \
6105                   confine: "edge-area-"name_;                           \
6106               }                                                         \
6107               description { state: "default" 0.0;                       \
6108                  color: 0 0 0 0;                                        \
6109                  min: 14 14;                                            \
6110                  rel1.to: "edge-area-"name_;                            \
6111                  rel2.to: "edge-area-"name_;                            \
6112               }                                                         \
6113            }                                                            \
6114            part { name: "edge-img-"name_;                               \
6115               type: IMAGE;                                              \
6116               mouse_events: 0;                                          \
6117               clip_to: "clipper-edge-"name_;                            \
6118               description { state: "default" 0.0;                       \
6119                  min: 14 14;                                            \
6120                  max: 14 14;                                            \
6121                  align: 0.5 ay;                                         \
6122                  fixed: 1 1;                                            \
6123                  rel1.to: "edge-drag-"name_;                            \
6124                  rel2.to: "edge-drag-"name_;                            \
6125                  image.normal: "tooltip-edge-"name_"-tip.png";          \
6126               }                                                         \
6127            }
6128            TT_EDGE_HORIZ("top", 0, 1, -2);
6129            TT_EDGE_HORIZ("bottom", 1, 0, 1);
6130 #undef TT_EDGE_HORIZ
6131
6132            part { name: "clipper_content";
6133                type: RECT;
6134                description { state: "default" 0.0;
6135                    color: 255 255 255 0;
6136                    rel1.to: "elm.swallow.content";
6137                    rel1.offset: -64 -64;
6138                    rel2.to: "elm.swallow.content";
6139                    rel2.offset: 63 63;
6140                }
6141                description { state: "visible" 0.0;
6142                    inherit: "default" 0.0;
6143                    color: 255 255 255 255;
6144                }
6145            }
6146            part { name: "elm.swallow.content";
6147                type: SWALLOW;
6148                clip_to: "clipper_content";
6149                description { state: "default" 0.0; }
6150            }
6151            programs {
6152                program {
6153                    name: "show0";
6154                    signal: "elm,action,show";
6155                    source: "elm";
6156                    action: ACTION_STOP;
6157                    target: "hide0";
6158                    target: "hide1";
6159                    target: "hide2";
6160                    target: "hide3";
6161                    after: "show1";
6162                    after: "show2";
6163                }
6164                program {
6165                    name: "show1";
6166                    action: STATE_SET "visible" 0.0;
6167                    transition: LINEAR 0.15;
6168                    target: "clipper";
6169                }
6170                program {
6171                    name: "show2";
6172                    in: 0.1 0.0;
6173                    action: STATE_SET "visible" 0.0;
6174                    transition: LINEAR 0.15;
6175                    target: "clipper_content";
6176                }
6177
6178                program {
6179                    name: "hide0";
6180                    signal: "elm,action,hide";
6181                    source: "elm";
6182                    action: ACTION_STOP;
6183                    target: "show0";
6184                    target: "show1";
6185                    target: "show2";
6186                    after: "hide1";
6187                    after: "hide2";
6188                    after: "hide3";
6189                }
6190                program {
6191                    name: "hide1";
6192                    script {
6193                       hide_corners();
6194                       hide_edges();
6195                    }
6196                }
6197                program {
6198                    name: "hide2";
6199                    action: STATE_SET "default" 0.0;
6200                    transition: LINEAR 0.1;
6201                    target: "clipper_content";
6202                }
6203                program {
6204                    name: "hide3";
6205                    in: 0.1 0.0;
6206                    action: STATE_SET "default" 0.0;
6207                    transition: LINEAR 0.1;
6208                    target: "clipper";
6209                }
6210            }
6211        }
6212    }
6213    group { name: "elm/tooltip/base/transparent";
6214       parts {
6215          part { name: "elm.swallow.content";
6216             type: SWALLOW;
6217             mouse_events:   0;
6218             scale: 1;
6219             description { state: "default" 0.0; }
6220          }
6221       }
6222    }
6223
6224 ///////////////////////////////////////////////////////////////////////////////
6225
6226    /* TODO: replicate diagonal swallow slots to the other hover styles */
6227    group { name: "elm/hover/base/default";
6228       images {
6229          image: "shad_circ.png" COMP;
6230       }
6231       parts {
6232          part { name: "elm.swallow.offset";
6233             type: SWALLOW;
6234             description { state: "default" 0.0;
6235                align: 0.0 0.0;
6236                rel1.relative: 0.0 0.0;
6237                rel2.relative: 0.0 0.0;
6238             }
6239          }
6240          part { name: "elm.swallow.size";
6241             type: SWALLOW;
6242             description { state: "default" 0.0;
6243                align: 0.0 0.0;
6244                rel1.to: "elm.swallow.offset";
6245                rel1.relative: 1.0 1.0;
6246                rel2.to: "elm.swallow.offset";
6247                rel2.relative: 1.0 1.0;
6248             }
6249          }
6250          part { name: "base";
6251             type: RECT;
6252             mouse_events: 1;
6253             description { state: "default" 0.0;
6254                color: 0 0 0 64;
6255             }
6256          }
6257          part { name: "shad";
6258             mouse_events:  0;
6259             description { state: "default" 0.0;
6260                image.normal: "shad_circ.png";
6261                rel1.to: "elm.swallow.size";
6262                rel1.offset: -32 -32;
6263                rel2.to: "elm.swallow.size";
6264                rel2.offset: 31 31;
6265                fill.smooth: 0;
6266             }
6267          }
6268          part { name: "box";
6269             type: RECT;
6270             mouse_events: 0;
6271             description { state: "default" 0.0;
6272                color: 0 0 0 0;
6273                rel1.to: "elm.swallow.size";
6274                rel1.offset: -2 -2;
6275                rel2.to: "elm.swallow.size";
6276                rel2.offset: 1 1;
6277             }
6278          }
6279          part { name: "elm.swallow.slot.left";
6280             type: SWALLOW;
6281             description { state: "default" 0.0;
6282                align: 1.0 0.5;
6283                rel1.to: "elm.swallow.slot.middle";
6284                rel1.relative: 0.0 0.0;
6285                rel1.offset: -1 0;
6286                rel2.to: "elm.swallow.slot.middle";
6287                rel2.relative: 0.0 1.0;
6288                rel2.offset: -1 -1;
6289             }
6290          }
6291          part { name: "elm.swallow.slot.top-left";
6292             type: SWALLOW;
6293             description { state: "default" 0.0;
6294                align: 1.0 1.0;
6295                rel1.to: "elm.swallow.slot.middle";
6296                rel1.relative: 0.0 0.0;
6297                rel1.offset: 0 0;
6298                rel2.to: "elm.swallow.slot.middle";
6299                rel2.relative: 0.0 0.0;
6300                rel2.offset: -1 -1;
6301             }
6302          }
6303          part { name: "elm.swallow.slot.top";
6304             type: SWALLOW;
6305             description { state: "default" 0.0;
6306                align: 0.5 1.0;
6307                rel1.to: "elm.swallow.slot.middle";
6308                rel1.relative: 0.0 0.0;
6309                rel1.offset: 0 -1;
6310                rel2.to: "elm.swallow.slot.middle";
6311                rel2.relative: 1.0 0.0;
6312                rel2.offset: -1 -1;
6313             }
6314          }
6315          part { name: "elm.swallow.slot.top-right";
6316             type: SWALLOW;
6317             description { state: "default" 0.0;
6318                align: 0.0 1.0;
6319                rel1.to: "elm.swallow.slot.middle";
6320                rel1.relative: 1.0 0.0;
6321                rel1.offset: 0 0;
6322                rel2.to: "elm.swallow.slot.middle";
6323                rel2.relative: 1.0 0.0;
6324                rel2.offset: -1 -1;
6325             }
6326          }
6327          part { name: "elm.swallow.slot.right";
6328             type: SWALLOW;
6329             description { state: "default" 0.0;
6330                align: 0.0 0.5;
6331                rel1.to: "elm.swallow.slot.middle";
6332                rel1.relative: 1.0 0.0;
6333                rel1.offset: 0 0;
6334                rel2.to: "elm.swallow.slot.middle";
6335                rel2.relative: 1.0 1.0;
6336                rel2.offset: 0 -1;
6337             }
6338          }
6339          part { name: "elm.swallow.slot.bottom-right";
6340             type: SWALLOW;
6341             description { state: "default" 0.0;
6342                align: 0.0 0.0;
6343                rel1.to: "elm.swallow.slot.middle";
6344                rel1.relative: 1.0 1.0;
6345                rel1.offset: 0 0;
6346                rel2.to: "elm.swallow.slot.middle";
6347                rel2.relative: 1.0 1.0;
6348                rel2.offset: -1 -1;
6349             }
6350          }
6351          part { name: "elm.swallow.slot.bottom";
6352             type: SWALLOW;
6353             description { state: "default" 0.0;
6354                align: 0.5 0.0;
6355                rel1.to: "elm.swallow.slot.middle";
6356                rel1.relative: 0.0 1.0;
6357                rel1.offset: 0 0;
6358                rel2.to: "elm.swallow.slot.middle";
6359                rel2.relative: 1.0 1.0;
6360                rel2.offset: -1 0;
6361             }
6362          }
6363          part { name: "elm.swallow.slot.bottom-left";
6364             type: SWALLOW;
6365             description { state: "default" 0.0;
6366                align: 1.0 0.0;
6367                rel1.to: "elm.swallow.slot.middle";
6368                rel1.relative: 0.0 1.0;
6369                rel1.offset: 0 0;
6370                rel2.to: "elm.swallow.slot.middle";
6371                rel2.relative: 0.0 1.0;
6372                rel2.offset: -1 0;
6373             }
6374          }
6375          part { name: "elm.swallow.slot.middle";
6376             type: SWALLOW;
6377             description { state: "default" 0.0;
6378                rel1.to: "elm.swallow.size";
6379                rel2.to: "elm.swallow.size";
6380             }
6381          }
6382       }
6383       programs {
6384          program { name: "end";
6385             signal: "mouse,up,1";
6386             source: "base";
6387             action: SIGNAL_EMIT "elm,action,dismiss" "";
6388          }
6389       }
6390    }
6391
6392    group { name: "elm/hover/base/popout";
6393       images {
6394          image: "shad_circ.png" COMP;
6395          image: "bt_dis_base.png" COMP;
6396          image: "bt_dis_hilight.png" COMP;
6397       }
6398       parts {
6399          part { name: "elm.swallow.offset";
6400             type: SWALLOW;
6401             description { state: "default" 0.0;
6402                align: 0.0 0.0;
6403                rel1.relative: 0.0 0.0;
6404                rel2.relative: 0.0 0.0;
6405             }
6406          }
6407          part { name: "elm.swallow.size";
6408             type: SWALLOW;
6409             description { state: "default" 0.0;
6410                align: 0.0 0.0;
6411                rel1.to: "elm.swallow.offset";
6412                rel1.relative: 1.0 1.0;
6413                rel2.to: "elm.swallow.offset";
6414                rel2.relative: 1.0 1.0;
6415             }
6416          }
6417          part { name: "base";
6418             type: RECT;
6419             mouse_events: 1;
6420             description { state: "default" 0.0;
6421                color: 0 0 0 0;
6422             }
6423             description { state: "visible" 0.0;
6424                inherit: "default" 1.0;
6425                color: 0 0 0 64;
6426             }
6427          }
6428          part { name: "leftclip";
6429             type: RECT;
6430             description { state: "default" 0.0;
6431                rel2.to_x: "pop";
6432                rel2.relative: 0.0 1.0;
6433                rel2.offset: 1 -1;
6434             }
6435          }
6436          part { name: "left";
6437             clip_to: "leftclip";
6438             description { state: "default" 0.0;
6439                visible: 0;
6440                rel1.to: "elm.swallow.slot.left";
6441                rel1.offset: -5 -5;
6442                rel2.to: "elm.swallow.slot.left";
6443                rel2.offset: 4 4;
6444                image {
6445                   normal: "bt_dis_base.png";
6446                   border: 4 4 4 4;
6447                }
6448                image.middle: SOLID;
6449             }
6450             description { state: "visible" 0.0;
6451                inherit: "default" 0.0;
6452                visible: 1;
6453             }
6454          }
6455          part { name: "elm.swallow.slot.left";
6456             type: SWALLOW;
6457             clip_to: "leftclip";
6458             description { state: "default" 0.0;
6459                align: 0.0 0.5;
6460                rel1.to: "elm.swallow.slot.middle";
6461                rel1.relative: 0.0 0.0;
6462                rel1.offset: -1 0;
6463                rel2.to: "elm.swallow.slot.middle";
6464                rel2.relative: 0.0 1.0;
6465                rel2.offset: -1 -1;
6466             }
6467             description { state: "visible" 0.0;
6468                inherit: "default" 0.0;
6469                rel1.offset: -7 0;
6470                rel2.offset: -7 -1;
6471                align: 1.0 0.5;
6472             }
6473          }
6474          part { name: "leftover";
6475             clip_to: "leftclip";
6476             mouse_events: 0;
6477             description { state: "default" 0.0;
6478                rel1.to: "left";
6479                rel2.to: "left";
6480                rel2.relative: 1.0 0.5;
6481                image {
6482                   normal: "bt_dis_hilight.png";
6483                   border: 4 4 4 0;
6484                }
6485             }
6486          }
6487          part { name: "rightclip";
6488             type: RECT;
6489             description { state: "default" 0.0;
6490                rel1.to_x: "pop";
6491                rel1.relative: 1.0 0.0;
6492                rel1.offset: -2 0;
6493             }
6494          }
6495          part { name: "right";
6496             clip_to: "rightclip";
6497             description { state: "default" 0.0;
6498                visible: 0;
6499                rel1.to: "elm.swallow.slot.right";
6500                rel1.offset: -5 -5;
6501                rel2.to: "elm.swallow.slot.right";
6502                rel2.offset: 4 4;
6503                image {
6504                   normal: "bt_dis_base.png";
6505                   border: 4 4 4 4;
6506                }
6507                image.middle: SOLID;
6508             }
6509             description { state: "visible" 0.0;
6510                inherit: "default" 0.0;
6511                visible: 1;
6512             }
6513          }
6514          part { name: "elm.swallow.slot.right";
6515             type: SWALLOW;
6516             clip_to: "rightclip";
6517             description { state: "default" 0.0;
6518                align: 1.0 0.5;
6519                rel1.to: "elm.swallow.slot.middle";
6520                rel1.relative: 1.0 0.0;
6521                rel1.offset: 0 0;
6522                rel2.to: "elm.swallow.slot.middle";
6523                rel2.relative: 1.0 1.0;
6524                rel2.offset: 0 -1;
6525             }
6526             description { state: "visible" 0.0;
6527                inherit: "default" 0.0;
6528                rel1.offset: 6 0;
6529                rel2.offset: 6 -1;
6530                align: 0.0 0.5;
6531             }
6532          }
6533          part { name: "rightover";
6534             clip_to: "rightclip";
6535             mouse_events: 0;
6536             description { state: "default" 0.0;
6537                rel1.to: "right";
6538                rel2.to: "right";
6539                rel2.relative: 1.0 0.5;
6540                image {
6541                   normal: "bt_dis_hilight.png";
6542                   border: 4 4 4 0;
6543                }
6544             }
6545          }
6546          part { name: "topclip";
6547             type: RECT;
6548             description { state: "default" 0.0;
6549                rel2.to_y: "pop";
6550                rel2.relative: 1.0 0.0;
6551                rel2.offset: -1 1;
6552             }
6553          }
6554          part { name: "top";
6555             clip_to: "topclip";
6556             description { state: "default" 0.0;
6557                visible: 0;
6558                rel1.to: "elm.swallow.slot.top";
6559                rel1.offset: -5 -5;
6560                rel2.to: "elm.swallow.slot.top";
6561                rel2.offset: 4 4;
6562                image {
6563                   normal: "bt_dis_base.png";
6564                   border: 4 4 4 4;
6565                }
6566                image.middle: SOLID;
6567             }
6568             description { state: "visible" 0.0;
6569                inherit: "default" 0.0;
6570                visible: 1;
6571             }
6572          }
6573          part { name: "elm.swallow.slot.top";
6574             type: SWALLOW;
6575             clip_to: "topclip";
6576             description { state: "default" 0.0;
6577                visible: 1;
6578                align: 0.5 0.0;
6579                rel1.to: "elm.swallow.slot.middle";
6580                rel1.relative: 0.0 0.0;
6581                rel1.offset: 0 -1;
6582                rel2.to: "elm.swallow.slot.middle";
6583                rel2.relative: 1.0 0.0;
6584                rel2.offset: -1 -1;
6585             }
6586             description { state: "visible" 0.0;
6587                inherit: "default" 0.0;
6588                rel1.offset: 0 -7;
6589                rel2.offset: -1 -7;
6590                align: 0.5 1.0;
6591             }
6592          }
6593          part { name: "topover";
6594             clip_to: "topclip";
6595             mouse_events: 0;
6596             description { state: "default" 0.0;
6597                rel1.to: "top";
6598                rel2.to: "top";
6599                rel2.relative: 1.0 0.5;
6600                image {
6601                   normal: "bt_dis_hilight.png";
6602                   border: 4 4 4 0;
6603                }
6604             }
6605          }
6606          part { name: "bottomclip";
6607             type: RECT;
6608             description { state: "default" 0.0;
6609                rel1.to_y: "pop";
6610                rel1.relative: 0.0 1.0;
6611                rel1.offset: -1 -2;
6612             }
6613          }
6614          part { name: "bottom";
6615             clip_to: "bottomclip";
6616             description { state: "default" 0.0;
6617                visible: 0;
6618                rel1.to: "elm.swallow.slot.bottom";
6619                rel1.offset: -5 -5;
6620                rel2.to: "elm.swallow.slot.bottom";
6621                rel2.offset: 4 4;
6622                image {
6623                   normal: "bt_dis_base.png";
6624                   border: 4 4 4 4;
6625                }
6626                image.middle: SOLID;
6627             }
6628             description { state: "visible" 0.0;
6629                inherit: "default" 0.0;
6630                visible: 1;
6631             }
6632          }
6633          part { name: "elm.swallow.slot.bottom";
6634             type: SWALLOW;
6635             clip_to: "bottomclip";
6636             description { state: "default" 0.0;
6637                align: 0.5 1.0;
6638                rel1.to: "elm.swallow.slot.middle";
6639                rel1.relative: 0.0 1.0;
6640                rel1.offset: 0 0;
6641                rel2.to: "elm.swallow.slot.middle";
6642                rel2.relative: 1.0 1.0;
6643                rel2.offset: -1 0;
6644             }
6645             description { state: "visible" 0.0;
6646                inherit: "default" 0.0;
6647                rel1.offset: 0 6;
6648                rel2.offset: -1 6;
6649                align: 0.5 0.0;
6650             }
6651          }
6652          part { name: "bottomover";
6653             clip_to: "bottomclip";
6654             mouse_events: 0;
6655             description { state: "default" 0.0;
6656                rel1.to: "bottom";
6657                rel2.to: "bottom";
6658                rel2.relative: 1.0 0.5;
6659                image {
6660                   normal: "bt_dis_hilight.png";
6661                   border: 4 4 4 0;
6662                }
6663             }
6664          }
6665          part { name: "shad";
6666             mouse_events:  0;
6667             description { state: "default" 0.0;
6668                image.normal: "shad_circ.png";
6669                rel1.to: "elm.swallow.size";
6670                rel1.offset: -64 -64;
6671                rel2.to: "elm.swallow.size";
6672                rel2.offset: 63 63;
6673                fill.smooth: 0;
6674             }
6675          }
6676          part { name: "pop";
6677             mouse_events: 1;
6678             description { state: "default" 0.0;
6679                rel1.to: "elm.swallow.slot.middle";
6680                rel1.offset: -5 -5;
6681                rel2.to: "elm.swallow.slot.middle";
6682                rel2.offset: 4 4;
6683                image {
6684                   normal: "bt_dis_base.png";
6685                   border: 4 4 4 4;
6686                }
6687                image.middle: SOLID;
6688             }
6689          }
6690          part { name: "elm.swallow.slot.middle";
6691             type: SWALLOW;
6692             description { state: "default" 0.0;
6693                rel1.to: "elm.swallow.size";
6694                rel2.to: "elm.swallow.size";
6695             }
6696          }
6697          part { name: "popover";
6698             mouse_events: 0;
6699             description { state: "default" 0.0;
6700                rel1.to: "pop";
6701                rel2.to: "pop";
6702                rel2.relative: 1.0 0.5;
6703                image {
6704                   normal: "bt_dis_hilight.png";
6705                   border: 4 4 4 0;
6706                }
6707             }
6708          }
6709       }
6710       programs {
6711          program { name: "end";
6712             signal: "mouse,up,1";
6713             source: "base";
6714             action: SIGNAL_EMIT "elm,action,dismiss" "";
6715          }
6716
6717          program { name: "show";
6718             signal: "elm,action,show";
6719             source: "elm";
6720             action: STATE_SET "visible" 0.0;
6721 //          transition: DECELERATE 0.5;
6722             target: "base";
6723          }
6724          program { name: "hide";
6725             signal: "elm,action,hide";
6726             source: "elm";
6727             action: STATE_SET "default" 0.0;
6728 //          transition: DECELERATE 0.5;
6729             target: "base";
6730          }
6731
6732          program { name: "leftshow";
6733             signal: "elm,action,slot,left,show";
6734             source: "elm";
6735             action: STATE_SET "visible" 0.0;
6736             transition: DECELERATE 0.5;
6737             target: "left";
6738             target: "elm.swallow.slot.left";
6739          }
6740          program { name: "lefthide";
6741             signal: "elm,action,slot,left,hide";
6742             source: "elm";
6743             action: STATE_SET "default" 0.0;
6744             transition: DECELERATE 0.5;
6745             target: "left";
6746             target: "elm.swallow.slot.left";
6747          }
6748          program { name: "rightshow";
6749             signal: "elm,action,slot,right,show";
6750             source: "elm";
6751             action: STATE_SET "visible" 0.0;
6752             transition: DECELERATE 0.5;
6753             target: "right";
6754             target: "elm.swallow.slot.right";
6755          }
6756          program { name: "righthide";
6757             signal: "elm,action,slot,right,hide";
6758             source: "elm";
6759             action: STATE_SET "default" 0.0;
6760             transition: DECELERATE 0.5;
6761             target: "right";
6762             target: "elm.swallow.slot.right";
6763          }
6764          program { name: "topshow";
6765             signal: "elm,action,slot,top,show";
6766             source: "elm";
6767             action: STATE_SET "visible" 0.0;
6768             transition: DECELERATE 0.5;
6769             target: "top";
6770             target: "elm.swallow.slot.top";
6771          }
6772          program { name: "tophide";
6773             signal: "elm,action,slot,top,hide";
6774             source: "elm";
6775             action: STATE_SET "default" 0.0;
6776             transition: DECELERATE 0.5;
6777             target: "top";
6778             target: "elm.swallow.slot.top";
6779          }
6780          program { name: "bottomshow";
6781             signal: "elm,action,slot,bottom,show";
6782             source: "elm";
6783             action: STATE_SET "visible" 0.0;
6784             transition: DECELERATE 0.5;
6785             target: "bottom";
6786             target: "elm.swallow.slot.bottom";
6787          }
6788          program { name: "bottomhide";
6789             signal: "elm,action,slot,bottom,hide";
6790             source: "elm";
6791             action: STATE_SET "default" 0.0;
6792             transition: DECELERATE 0.5;
6793             target: "bottom";
6794             target: "elm.swallow.slot.bottom";
6795          }
6796       }
6797    }
6798
6799    //In the hover used by the menu only the bottom part is used.
6800    group { name: "elm/hover/base/menu";
6801        images {
6802            image: "shad_circ.png" COMP;
6803            image: "bt_dis_base.png" COMP;
6804        }
6805        parts {
6806            part { name: "elm.swallow.offset";
6807                type: SWALLOW;
6808                description { state: "default" 0.0;
6809                    align: 0.0 0.0;
6810                    rel1.relative: 0.0 0.0;
6811                    rel2.relative: 0.0 0.0;
6812                }
6813            }
6814            part { name: "elm.swallow.size";
6815                type: SWALLOW;
6816                description { state: "default" 0.0;
6817                    align: 0.0 0.0;
6818                    rel1.to: "elm.swallow.offset";
6819                    rel1.relative: 1.0 1.0;
6820                    rel2.to: "elm.swallow.offset";
6821                    rel2.relative: 1.0 1.0;
6822                }
6823            }
6824            part { name: "base";
6825                type: RECT;
6826                mouse_events: 1;
6827                description { state: "default" 0.0;
6828                    color: 0 0 0 0;
6829                }
6830                description { state: "visible" 0.0;
6831                    inherit: "default" 1.0;
6832                    color: 0 0 0 64;
6833                }
6834            }
6835            part { name: "elm.swallow.slot.left";
6836                type: SWALLOW;
6837                description { state: "default" 0.0;
6838                }
6839            }
6840            part { name: "elm.swallow.slot.right";
6841                type: SWALLOW;
6842                description { state: "default" 0.0;
6843                }
6844            }
6845            part { name: "elm.swallow.slot.top";
6846                type: SWALLOW;
6847                description { state: "default" 0.0;
6848                }
6849                description { state: "visible" 0.0;
6850                    inherit: "default" 0.0;
6851                }
6852            }
6853            part { name: "bottomclip";
6854                type: RECT;
6855                description { state: "default" 0.0;
6856                    rel1.to_y: "pop";
6857                    rel1.relative: 0.0 1.0;
6858                    rel1.offset: -1 -2;
6859                }
6860            }
6861            part { name: "bottom";
6862                clip_to: "bottomclip";
6863                description { state: "default" 0.0;
6864                    visible: 0;
6865                    rel1.to: "elm.swallow.slot.bottom";
6866                    rel1.offset: -5 -5;
6867                    rel2.to: "elm.swallow.slot.bottom";
6868                    rel2.offset: 4 4;
6869                    image {
6870                        normal: "bt_dis_base.png";
6871                        border: 4 4 4 4;
6872                    }
6873                    image.middle: SOLID;
6874                }
6875                description { state: "visible" 0.0;
6876                    inherit: "default" 0.0;
6877                    visible: 1;
6878                }
6879            }
6880            part { name: "elm.swallow.slot.bottom";
6881                type: SWALLOW;
6882                clip_to: "bottomclip";
6883                description { state: "default" 0.0;
6884                    align: 0.5 1.0;
6885                    rel1.to: "elm.swallow.slot.middle";
6886                    rel1.relative: 0.0 1.0;
6887                    rel1.offset: 0 0;
6888                    rel2.to: "elm.swallow.slot.middle";
6889                    rel2.relative: 1.0 1.0;
6890                    rel2.offset: -1 0;
6891                }
6892                description { state: "visible" 0.0;
6893                    inherit: "default" 0.0;
6894                    rel1.offset: 0 6;
6895                    rel2.offset: -1 6;
6896                    align: 0.5 0.0;
6897                }
6898            }
6899            part { name: "pop";
6900                mouse_events: 1;
6901                repeat_events:1;
6902                description { state: "default" 0.0;
6903                    rel1.to: "elm.swallow.slot.middle";
6904                    rel1.offset: -5 -5;
6905                    rel2.to: "elm.swallow.slot.middle";
6906                    rel2.offset: 4 4;
6907                }
6908            }
6909            part { name: "elm.swallow.slot.middle";
6910                type: SWALLOW;
6911                repeat_events:1;
6912                description { state: "default" 0.0;
6913                    rel1.to: "elm.swallow.size";
6914                    rel2.to: "elm.swallow.size";
6915                }
6916            }
6917        }
6918        programs {
6919            program { name: "end";
6920                signal: "mouse,up,1";
6921                source: "base";
6922                action: SIGNAL_EMIT "elm,action,dismiss" "";
6923            }
6924            program { name: "show";
6925                signal: "elm,action,show";
6926                source: "elm";
6927                action: STATE_SET "visible" 0.0;
6928                        //           transition: DECELERATE 0.5;
6929                target: "base";
6930            }
6931            program { name: "hide";
6932                signal: "elm,action,hide";
6933                source: "elm";
6934                action: STATE_SET "default" 0.0;
6935                        //           transition: DECELERATE 0.5;
6936                target: "base";
6937            }
6938            program { name: "bottomshow";
6939                signal: "elm,action,slot,bottom,show";
6940                source: "elm";
6941                action: STATE_SET "visible" 0.0;
6942                transition: DECELERATE 0.3;
6943                target: "bottom";
6944                target: "elm.swallow.slot.bottom";
6945            }
6946            program { name: "bottomhide";
6947                signal: "elm,action,slot,bottom,hide";
6948                source: "elm";
6949                action: STATE_SET "default" 0.0;
6950                transition: DECELERATE 0.5;
6951                target: "bottom";
6952                target: "elm.swallow.slot.bottom";
6953            }
6954        }
6955    }
6956
6957    //In the hover used by the submenu only the bottom part is used
6958    //and no part should interact except the bottom area
6959    group { name: "elm/hover/base/submenu";
6960        images {
6961            image: "shad_circ.png" COMP;
6962            image: "bt_dis_base.png" COMP;
6963        }
6964        parts {
6965            part { name: "elm.swallow.offset";
6966                type: SWALLOW;
6967                repeat_events:1;
6968                description { state: "default" 0.0;
6969                    align: 0.0 0.0;
6970                    rel1.relative: 0.0 0.0;
6971                    rel2.relative: 0.0 0.0;
6972                }
6973            }
6974            part { name: "elm.swallow.size";
6975                type: SWALLOW;
6976                description { state: "default" 0.0;
6977                    align: 0.0 0.0;
6978                    rel1.to: "elm.swallow.offset";
6979                    rel1.relative: 1.0 1.0;
6980                    rel2.to: "elm.swallow.offset";
6981                    rel2.relative: 1.0 1.0;
6982                }
6983            }
6984            //here we do non catch events like the hover hover does
6985            part { name: "base";
6986                type: RECT;
6987                mouse_events: 1;
6988                description { state: "default" 0.0;
6989                    color: 0 0 0 0;
6990                    visible: 0;
6991                }
6992            }
6993            part { name: "elm.swallow.slot.left";
6994                type: SWALLOW;
6995                description { state: "default" 0.0;
6996                }
6997            }
6998            part { name: "elm.swallow.slot.right";
6999                type: SWALLOW;
7000                description { state: "default" 0.0;
7001                }
7002            }
7003            part { name: "elm.swallow.slot.top";
7004                type: SWALLOW;
7005                description { state: "default" 0.0;
7006                }
7007            }
7008            part { name: "bottomclip";
7009                type: RECT;
7010                description { state: "default" 0.0;
7011                    rel1.to_y: "pop";
7012                    rel1.relative: 0.0 1.0;
7013                    rel1.offset: -1 -2;
7014                }
7015            }
7016            part { name: "bottom";
7017                clip_to: "bottomclip";
7018                description { state: "default" 0.0;
7019                    visible: 0;
7020                    rel1.to: "elm.swallow.slot.bottom";
7021                    rel1.offset: -5 -5;
7022                    rel2.to: "elm.swallow.slot.bottom";
7023                    rel2.offset: 4 4;
7024                    image {
7025                        normal: "bt_dis_base.png";
7026                        border: 4 4 4 4;
7027                    }
7028                    image.middle: SOLID;
7029                }
7030                description { state: "visible" 0.0;
7031                    inherit: "default" 0.0;
7032                    visible: 1;
7033                }
7034            }
7035            part { name: "elm.swallow.slot.bottom";
7036                type: SWALLOW;
7037                clip_to: "bottomclip";
7038                description { state: "default" 0.0;
7039                    align: 0.5 1.0;
7040                    rel1.to: "elm.swallow.slot.middle";
7041                    rel1.relative: 0.0 1.0;
7042                    rel1.offset: 0 0;
7043                    rel2.to: "elm.swallow.slot.middle";
7044                    rel2.relative: 1.0 1.0;
7045                    rel2.offset: -1 0;
7046                }
7047                description { state: "visible" 0.0;
7048                    inherit: "default" 0.0;
7049                    rel1.offset: 0 6;
7050                    rel2.offset: -1 6;
7051                    align: 0.5 0.0;
7052                }
7053            }
7054            part { name: "pop";
7055                mouse_events: 1;
7056                repeat_events:1;
7057                description { state: "default" 0.0;
7058                    rel1.to: "elm.swallow.slot.middle";
7059                    rel1.offset: -5 -5;
7060                    rel2.to: "elm.swallow.slot.middle";
7061                    rel2.offset: 4 4;
7062                }
7063            }
7064            part { name: "elm.swallow.slot.middle";
7065                type: SWALLOW;
7066                repeat_events:1;
7067                description { state: "default" 0.0;
7068                    rel1.to: "elm.swallow.size";
7069                    rel2.to: "elm.swallow.size";
7070                }
7071            }
7072        }
7073        programs {
7074            program { name: "end";
7075                signal: "mouse,up,1";
7076                source: "base";
7077                action: SIGNAL_EMIT "elm,action,dismiss" "";
7078            }
7079            program { name: "show";
7080                signal: "elm,action,show";
7081                source: "elm";
7082                action: STATE_SET "visible" 0.0;
7083                        //           transition: DECELERATE 0.5;
7084                target: "base";
7085            }
7086            program { name: "hide";
7087                signal: "elm,action,hide";
7088                source: "elm";
7089                action: STATE_SET "default" 0.0;
7090                        //           transition: DECELERATE 0.5;
7091                target: "base";
7092            }
7093            program { name: "bottomshow";
7094                signal: "elm,action,slot,bottom,show";
7095                source: "elm";
7096                action: STATE_SET "visible" 0.0;
7097                transition: DECELERATE 0.3;
7098                target: "bottom";
7099                target: "elm.swallow.slot.bottom";
7100            }
7101            program { name: "bottomhide";
7102                signal: "elm,action,slot,bottom,hide";
7103                source: "elm";
7104                action: STATE_SET "default" 0.0;
7105                transition: DECELERATE 0.5;
7106                target: "bottom";
7107                target: "elm.swallow.slot.bottom";
7108            }
7109        }
7110    }
7111
7112    group { name: "elm/hover/base/hoversel_vertical/default";
7113       alias: "elm/hover/base/hoversel_vertical/entry";
7114       images {
7115 //       image: "shad_circ.png" COMP;
7116          image: "bt_base2.png" COMP;
7117          image: "bt_hilight.png" COMP;
7118          image: "bt_shine.png" COMP;
7119          image: "outdent-top.png" COMP;
7120          image: "outdent-bottom.png" COMP;
7121       }
7122       parts {
7123          part { name: "elm.swallow.offset";
7124             type: SWALLOW;
7125             description { state: "default" 0.0;
7126                align: 0.0 0.0;
7127                rel1.relative: 0.0 0.0;
7128                rel2.relative: 0.0 0.0;
7129             }
7130          }
7131          part { name: "elm.swallow.size";
7132             type: SWALLOW;
7133             description { state: "default" 0.0;
7134                align: 0.0 0.0;
7135                rel1.to: "elm.swallow.offset";
7136                rel1.relative: 1.0 1.0;
7137                rel2.to: "elm.swallow.offset";
7138                rel2.relative: 1.0 1.0;
7139             }
7140          }
7141 /*
7142         part { name: "shad";
7143             mouse_events:  0;
7144             description { state: "default" 0.0;
7145                image.normal: "shad_circ.png";
7146                rel1.to: "button_image";
7147                rel1.offset: -64 -64;
7148                rel2.to: "button_image";
7149                rel2.offset: 63 63;
7150                fill.smooth: 0;
7151             }
7152          }
7153  */
7154          part { name: "button_image";
7155             mouse_events: 1;
7156             description { state: "default" 0.0;
7157                rel1.to_x: "elm.swallow.slot.top";
7158                rel1.to_y: "elm.swallow.slot.top";
7159                rel1.offset: -2 -6;
7160                rel2.to_x: "elm.swallow.slot.top";
7161                rel2.to_y: "elm.swallow.slot.bottom";
7162                rel2.offset: 1 5;
7163                image {
7164                   normal: "bt_base2.png";
7165                   border: 7 7 7 7;
7166                }
7167                image.middle: SOLID;
7168             }
7169             description { state: "bottom" 0.0;
7170                rel1.to_x: "elm.swallow.slot.bottom";
7171                rel1.to_y: "elm.swallow.slot.top";
7172                rel1.offset: -2 -6;
7173                rel2.to_x: "elm.swallow.slot.bottom";
7174                rel2.to_y: "elm.swallow.slot.bottom";
7175                rel2.offset: 1 5;
7176                image {
7177                   normal: "bt_base2.png";
7178                   border: 7 7 7 7;
7179                }
7180                image.middle: SOLID;
7181             }
7182          }
7183
7184          part { name: "base";
7185             type: RECT;
7186             mouse_events: 1;
7187             description { state: "default" 0.0;
7188                color: 0 0 0 0;
7189             }
7190             description { state: "visible" 0.0;
7191                inherit: "default" 1.0;
7192                color: 0 0 0 64;
7193             }
7194          }
7195
7196          part { name: "topclip";
7197             type: RECT;
7198             description { state: "default" 0.0;
7199                rel2.to_y: "edge_top";
7200                rel2.relative: 1.0 0.0;
7201                rel2.offset: -1 7;
7202             }
7203          }
7204          part { name: "elm.swallow.slot.top";
7205             type: SWALLOW;
7206             clip_to: "topclip";
7207             description { state: "default" 0.0;
7208                visible: 1;
7209                align: 0.5 0.0;
7210                rel1.to: "elm.swallow.slot.middle";
7211                rel1.relative: 0.0 0.0;
7212                rel1.offset: 0 -1;
7213                rel2.to: "elm.swallow.slot.middle";
7214                rel2.relative: 1.0 0.0;
7215                rel2.offset: -1 -1;
7216             }
7217             description { state: "visible" 0.0;
7218                inherit: "default" 0.0;
7219                rel1.offset: 0 -7;
7220                rel2.offset: -1 -7;
7221                align: 0.5 1.0;
7222             }
7223          }
7224
7225          part { name: "bottomclip";
7226             type: RECT;
7227             description { state: "default" 0.0;
7228                rel1.to_y: "edge_bottom";
7229                rel1.relative: 0.0 1.0;
7230                rel1.offset: -1 -8;
7231             }
7232          }
7233          part { name: "elm.swallow.slot.bottom";
7234             type: SWALLOW;
7235             clip_to: "bottomclip";
7236             description { state: "default" 0.0;
7237                align: 0.5 1.0;
7238                rel1.to: "elm.swallow.slot.middle";
7239                rel1.relative: 0.0 1.0;
7240                rel1.offset: 0 0;
7241                rel2.to: "elm.swallow.slot.middle";
7242                rel2.relative: 1.0 1.0;
7243                rel2.offset: -1 0;
7244             }
7245             description { state: "visible" 0.0;
7246                inherit: "default" 0.0;
7247                rel1.offset: 0 6;
7248                rel2.offset: -1 6;
7249                align: 0.5 0.0;
7250             }
7251          }
7252
7253          part {   name: "over1";
7254             mouse_events: 0;
7255             description { state: "default" 0.0;
7256                rel1.to: "button_image";
7257                rel2.to: "button_image";
7258                rel2.relative: 1.0 0.5;
7259                image {
7260                   normal: "bt_hilight.png";
7261                   border: 7 7 7 0;
7262                }
7263             }
7264          }
7265          part { name: "over2";
7266             mouse_events: 1;
7267             repeat_events: 1;
7268             ignore_flags: ON_HOLD;
7269             description { state: "default" 0.0;
7270                rel1.to: "button_image";
7271                rel2.to: "button_image";
7272                image {
7273                   normal: "bt_shine.png";
7274                   border: 7 7 7 7;
7275                }
7276             }
7277          }
7278          part { name: "edge_top";
7279             mouse_events:  0;
7280             description { state: "default" 0.0;
7281                visible: 0;
7282                rel1 {
7283                   to: "elm.swallow.size";
7284                   offset: 0 -10;
7285                }
7286                rel2 {
7287                   to: "elm.swallow.size";
7288                }
7289                image.normal: "outdent-bottom.png";
7290                image.border: 0 0 13 0;
7291                fill.smooth: 0;
7292             }
7293             description { state: "visible" 0.0;
7294                inherit: "default" 0.0;
7295                visible: 1;
7296             }
7297          }
7298          part { name: "edge_bottom";
7299             mouse_events:  0;
7300             description { state: "default" 0.0;
7301                visible: 0;
7302                rel1 {
7303                   to: "elm.swallow.size";
7304                }
7305                rel2 {
7306                   to: "elm.swallow.size";
7307                   offset: -1 9;
7308                }
7309                image.normal: "outdent-top.png";
7310                image.border: 0 0 0 13;
7311                fill.smooth: 0;
7312             }
7313             description { state: "visible" 0.0;
7314                inherit: "default" 0.0;
7315                visible: 1;
7316             }
7317          }
7318          part { name: "elm.swallow.slot.middle";
7319             type: SWALLOW;
7320             description { state: "default" 0.0;
7321                rel1.to: "elm.swallow.size";
7322                rel2.to: "elm.swallow.size";
7323             }
7324          }
7325       }
7326       programs {
7327          program { name: "end";
7328             signal: "mouse,up,1";
7329             source: "base";
7330             action: SIGNAL_EMIT "elm,action,dismiss" "";
7331          }
7332
7333          program { name: "show";
7334             signal: "elm,action,show";
7335             source: "elm";
7336             action: STATE_SET "visible" 0.0;
7337 //          transition: DECELERATE 0.5;
7338             target: "base";
7339          }
7340          program { name: "hide";
7341             signal: "elm,action,hide";
7342             source: "elm";
7343             action: STATE_SET "default" 0.0;
7344 //          transition: DECELERATE 0.5;
7345             target: "base";
7346          }
7347          program { name: "topshow";
7348             signal: "elm,action,slot,top,show";
7349             source: "elm";
7350             action: STATE_SET "visible" 0.0;
7351             target: "edge_top";
7352             after: "topshow2";
7353          }
7354          program { name: "topshow2";
7355             action: STATE_SET "visible" 0.0;
7356             transition: DECELERATE 0.5;
7357             target: "elm.swallow.slot.top";
7358          }
7359          program { name: "topshow3";
7360             signal: "elm,action,slot,top,show";
7361             source: "elm";
7362             action: STATE_SET "default" 0.0;
7363             target: "button_image";
7364          }
7365          program { name: "tophide";
7366             signal: "elm,action,slot,top,hide";
7367             source: "elm";
7368             action: STATE_SET "default" 0.0;
7369             transition: DECELERATE 0.5;
7370             target: "elm.swallow.slot.top";
7371             after: "tophide2";
7372          }
7373          program { name: "tophide2";
7374             action: STATE_SET "default" 0.0;
7375             target: "edge_top";
7376          }
7377          program { name: "bottomshow";
7378             signal: "elm,action,slot,bottom,show";
7379             source: "elm";
7380             action: STATE_SET "visible" 0.0;
7381             target: "edge_bottom";
7382             after: "bottomshow2";
7383          }
7384          program { name: "bottomshow2";
7385             action: STATE_SET "visible" 0.0;
7386             transition: DECELERATE 0.5;
7387             target: "elm.swallow.slot.bottom";
7388          }
7389          program { name: "bottomshow3";
7390             signal: "elm,action,slot,bottom,show";
7391             source: "elm";
7392             action: STATE_SET "bottom" 0.0;
7393             target: "button_image";
7394          }
7395          program { name: "bottomhide";
7396             signal: "elm,action,slot,bottom,hide";
7397             source: "elm";
7398             action: STATE_SET "default" 0.0;
7399             transition: DECELERATE 0.5;
7400             target: "elm.swallow.slot.bottom";
7401             after: "bottomhide2";
7402          }
7403          program { name: "bottomhide2";
7404             action: STATE_SET "default" 0.0;
7405             target: "edge_bottom";
7406          }
7407       }
7408    }
7409 ///////////////////////////////////////////////////////////////////////////////
7410    group { name: "elm/scroller/base/ctxpopup";
7411       data {
7412          item: "focus_highlight" "on";
7413       }
7414       script {
7415          public sbvis_v, sbvis_h, sbalways_v, sbalways_h, sbvis_timer;
7416          public timer0(val) {
7417             new v;
7418             v = get_int(sbvis_v);
7419             if (v) {
7420                v = get_int(sbalways_v);
7421                if(!v) {
7422                   emit("do-hide-vbar", "");
7423                   set_int(sbvis_v, 0);
7424                }
7425             }
7426             v = get_int(sbvis_h);
7427             if (v) {
7428                v = get_int(sbalways_h);
7429                if(!v) {
7430                   emit("do-hide-hbar", "");
7431                   set_int(sbvis_h, 0);
7432                }
7433             }
7434             set_int(sbvis_timer, 0);
7435             return 0;
7436          }
7437       }
7438       images {
7439          image: "bt_sm_base2.png" COMP;
7440          image: "bt_sm_shine.png" COMP;
7441          image: "bt_sm_hilight.png" COMP;
7442          image: "sl_bt2_2.png" COMP;
7443       }
7444       parts {
7445          part { name: "clipper";
7446             type: RECT;
7447             mouse_events: 0;
7448             scale: 1;
7449             description { state: "default" 0.0;
7450             }
7451          }
7452          part { name: "elm.swallow.content";
7453             clip_to: "clipper";
7454             type: SWALLOW;
7455             scale: 1;
7456             description { state: "default" 0.0;
7457                align: 0.5 0.5;
7458             }
7459          }
7460          part { name: "focus_highlight";
7461             mouse_events: 0;
7462             description { state: "default" 0.0;
7463                rel1.offset: -1 -1;
7464                rel2.offset: 0 0;
7465                image { normal: "sl_bt2_2.png";
7466                   border: 7 7 7 7;
7467                   middle: 0;
7468                }
7469                fill.smooth : 0;
7470                color: 200 155 0 0;
7471             }
7472             description { state: "enabled" 0.0;
7473                inherit: "default" 0.0;
7474                color: 200 155 0 255;
7475             }
7476          }
7477          part { name: "sb_vbar_clip_master";
7478             type: RECT;
7479             mouse_events: 0;
7480             description { state: "default" 0.0;
7481             }
7482             description { state: "hidden" 0.0;
7483                visible: 0;
7484                color: 255 255 255 0;
7485             }
7486          }       
7487          part { name: "sb_vbar_clip";
7488             clip_to:"sb_vbar_clip_master";
7489             type: RECT;
7490             mouse_events: 0;
7491             scale: 1;
7492             description { state: "default" 0.0;
7493                align: 0.0 0.0;
7494                rel2{ to:"clipper"; relative: 1.0 1.0;}
7495             }
7496             description { state: "hidden" 0.0;
7497                visible: 0;
7498                color: 255 255 255 0;
7499             }
7500          }
7501          part { name: "sb_vbar";
7502             type: RECT;
7503             mouse_events: 0;
7504             scale: 1;
7505             description { state: "default" 0.0;
7506                fixed: 1 1;
7507                visible: 0;
7508                align: 1.0 0.0;
7509                rel1{ to:"clipper"; relative: 1.0 0.0; }
7510                rel2{ to:"clipper"; relative: 1.0 1.0; }
7511             }
7512          }
7513          part { name: "elm.dragable.vbar";
7514             clip_to: "sb_vbar_clip";
7515             mouse_events: 0;    
7516             scale: 1;
7517             dragable {
7518                x: 0 0 0;
7519                y: 1 1 0;
7520                confine: "sb_vbar";
7521             }
7522             description { state: "default" 0.0;
7523                fixed: 1 1;
7524                min: 10 17;
7525                max: 10 99999;
7526                rel1 { relative: 0.5 0.5; to: "sb_vbar"; }
7527                rel2 { relative: 0.5  0.5; to: "sb_vbar"; }
7528                image { normal: "bt_sm_base2.png";
7529                   border: 6 6 6 6;
7530                   middle: SOLID;
7531                }
7532             }
7533          }
7534          part { name: "sb_vbar_over1";
7535             clip_to: "sb_vbar_clip";
7536             mouse_events: 0;
7537             description { state: "default" 0.0;
7538                rel1.to: "elm.dragable.vbar";
7539                rel2.relative: 1.0 0.5;
7540                rel2.to: "elm.dragable.vbar";
7541                image { normal: "bt_sm_hilight.png";
7542                   border: 6 6 6 0;
7543                }
7544             }
7545          }
7546          part { name: "sb_vbar_over2";
7547             clip_to: "sb_vbar_clip";
7548             mouse_events: 0;
7549             description { state: "default" 0.0;
7550                rel1.to: "elm.dragable.vbar";
7551                rel2.to: "elm.dragable.vbar";
7552                image { normal: "bt_sm_shine.png";
7553                   border: 6 6 6 0;
7554                }
7555             }
7556          }
7557          part { name: "sb_hbar_clip_master";
7558             type: RECT;
7559             mouse_events: 0;
7560             description { state: "default" 0.0;
7561             }
7562             description { state: "hidden" 0.0;
7563                visible: 0;
7564                color: 255 255 255 0;
7565             }
7566          }       
7567          part { name: "sb_hbar_clip";
7568             clip_to: "sb_hbar_clip_master";
7569             type: RECT;
7570             mouse_events: 0;
7571             scale: 1;
7572             description { state: "default" 0.0;
7573                align: 0.0 0.0;
7574                rel2{ to:"clipper"; relative: 1.0 1.0;}
7575             }
7576             description { state: "hidden" 0.0;
7577                visible: 0;
7578                color: 255 255 255 0;
7579             }
7580          }
7581          part { name: "sb_hbar";
7582             type: RECT;
7583             mouse_events: 0;
7584             scale: 1;
7585             description { state: "default" 0.0; 
7586                fixed: 1 1;
7587                visible: 0;
7588                align: 0.0 1.0;
7589                rel1 { to:"clipper"; relative: 0.0 1.0; }
7590                rel2 { to:"clipper"; relative: 1.0 1.0; }       
7591             }
7592          }
7593          part { name: "elm.dragable.hbar";
7594             clip_to: "sb_hbar_clip";
7595             mouse_events: 0;   
7596             scale: 1;
7597             dragable {
7598                x: 1 1 0;
7599                y: 0 0 0;
7600                confine: "sb_hbar";
7601             }
7602             description { state: "default" 0.0;
7603                min: 17 10;
7604                max: 99999 10;
7605                fixed: 1 1;
7606                rel1 { relative: 0.5  0.5; to: "sb_hbar"; }
7607                rel2 { relative: 0.5  0.5; to: "sb_hbar"; }
7608                image { normal: "bt_sm_base2.png";
7609                   border: 4 4 4 4;
7610                   middle: SOLID;
7611                }
7612             }
7613          }
7614          part { name: "sb_hbar_over1";
7615             clip_to: "sb_hbar_clip";
7616             mouse_events: 0;
7617             description { state: "default" 0.0;
7618                rel1.to: "elm.dragable.hbar";
7619                rel2.relative: 1.0 0.5;
7620                rel2.to: "elm.dragable.hbar";
7621                image { normal: "bt_sm_hilight.png";
7622                   border: 6 6 6 0;
7623                }
7624             }
7625          }
7626          part { name: "sb_hbar_over2";
7627             clip_to: "sb_hbar_clip";
7628             mouse_events: 0;
7629             description { state: "default" 0.0;
7630                rel1.to: "elm.dragable.hbar";
7631                rel2.to: "elm.dragable.hbar";
7632                image { normal: "bt_sm_shine.png";
7633                   border: 6 6 6 0;
7634                }
7635             }
7636          }
7637       }   
7638       programs {
7639          program { name: "load";
7640             signal: "load";
7641             source: "";
7642             script {
7643                set_state(PART:"sb_vbar_clip", "hidden", 0.0);
7644                set_state(PART:"sb_hbar_clip", "hidden", 0.0);
7645                set_int(sbvis_v, 0);
7646                set_int(sbvis_h, 0);
7647                set_int(sbalways_v, 0);
7648                                    set_int(sbalways_h, 0);
7649                set_int(sbvis_timer, 0);
7650             }
7651          } 
7652          program { name: "vbar_show";
7653             signal: "elm,action,show,vbar";
7654             source: "elm";
7655             action: STATE_SET "default" 0.0;
7656             target: "sb_vbar_clip_master";
7657          }
7658          program { name: "vbar_hide";
7659             signal: "elm,action,hide,vbar";
7660             source: "elm";
7661             action:  STATE_SET "hidden" 0.0;
7662             target: "sb_vbar_clip_master";
7663          }       
7664          program { name: "vbar_show_always";
7665             signal: "elm,action,show_always,vbar";
7666             source: "elm";
7667             script {
7668                new v;
7669                v = get_int(sbvis_v);
7670                v |= get_int(sbalways_v);
7671                if (!v) {
7672                   set_int(sbalways_v, 1);
7673                   emit("do-show-vbar", "");
7674                   set_int(sbvis_v, 1);
7675                }
7676             }
7677          }
7678          program { name: "vbar_show_notalways";
7679             signal: "elm,action,show_notalways,vbar";
7680             source: "elm";
7681             script {
7682                new v;
7683                v = get_int(sbalways_v);
7684                if (v) {
7685                   set_int(sbalways_v, 0);
7686                   v = get_int(sbvis_v);
7687                   if (!v) {
7688                      emit("do-hide-vbar", "");
7689                      set_int(sbvis_v, 0);
7690                   }
7691                }
7692             }
7693          }       
7694          program { name: "sb_vbar_show";
7695             signal: "do-show-vbar";
7696             source: "";
7697             action:  STATE_SET "default" 0.0;
7698             transition: LINEAR 1.0;
7699             target: "sb_vbar_clip";
7700          }
7701          program { name: "sb_vbar_hide";
7702             signal: "do-hide-vbar";
7703             source: "";
7704             action:  STATE_SET "hidden" 0.0;
7705             transition: LINEAR 1.0;
7706             target: "sb_vbar_clip";
7707          }
7708          program { name: "hbar_show";
7709             signal: "elm,action,show,hbar";
7710             source: "elm";
7711             action:  STATE_SET "default" 0.0;
7712             target: "sb_hbar_clip_master";
7713          }
7714          program { name: "hbar_hide";
7715             signal: "elm,action,hide,hbar";
7716             source: "elm";
7717             action:  STATE_SET "hidden" 0.0;
7718             target: "sb_hbar_clip_master";
7719          }
7720          program { name: "hbar_show_always";
7721             signal: "elm,action,show_always,hbar";
7722             source: "elm";
7723             script {
7724                new v;
7725                v = get_int(sbvis_h);
7726                v |= get_int(sbalways_h);
7727                if (!v) {
7728                   set_int(sbalways_h, 1);
7729                   emit("do-show-hbar", "");
7730                   set_int(sbvis_h, 1);
7731                }
7732             }
7733          }
7734          program { name: "hbar_show_notalways";
7735             signal: "elm,action,show_notalways,hbar";
7736             source: "elm";
7737             script {
7738                new v;
7739                v = get_int(sbalways_h);
7740                if (v) {
7741                   set_int(sbalways_h, 0);
7742                   v = get_int(sbvis_h);
7743                   if (!v) {
7744                      emit("do-hide-hbar", "");
7745                      set_int(sbvis_h, 0);
7746                   }
7747                }
7748             }
7749          }
7750          program { name: "sb_hbar_show";
7751             signal: "do-show-hbar";
7752             source: "";
7753             action:  STATE_SET "default" 0.0;
7754             transition: LINEAR 1.0;
7755             target: "sb_hbar_clip";
7756          }
7757          program { name: "sb_hbar_hide";
7758             signal: "do-hide-hbar";
7759             source: "";
7760             action:  STATE_SET "hidden" 0.0;
7761             transition: LINEAR 1.0;
7762             target: "sb_hbar_clip";
7763          }                         
7764          program { name: "scroll";
7765             signal: "elm,action,scroll";
7766             source: "elm";
7767             script {
7768                new v;
7769                v = get_int(sbvis_v);
7770                v |= get_int(sbalways_v);
7771                if (!v) {
7772                   emit("do-show-vbar", "")
7773                   set_int(sbvis_v, 1);
7774                }
7775                v = get_int(sbvis_h);
7776                v |= get_int(sbalways_h);
7777                if (!v) {
7778                   emit("do-show-hbar", "");
7779                   set_int(sbvis_h, 1);
7780                }
7781                v = get_int(sbvis_timer);
7782                if (v > 0) cancel_timer(v);
7783                v = timer(1.0, "timer0", 0);
7784                set_int(sbvis_timer, v);
7785             }
7786          }
7787          program { name: "highlight_show";
7788             signal: "elm,action,focus_highlight,show";
7789             source: "elm";
7790             action: STATE_SET "enabled" 0.0;
7791             transition: ACCELERATE 0.3;
7792             target: "focus_highlight";
7793           }
7794          program { name: "highlight_hide";
7795             signal: "elm,action,focus_highlight,hide";
7796             source: "elm";
7797             action: STATE_SET "default" 0.0;
7798             transition: DECELERATE 0.3;
7799             target: "focus_highlight";
7800          }
7801       }  
7802    }  
7803 ///////////////////////////////////////////////////////////////////////////////
7804    group { name: "elm/ctxpopup/bg/default";
7805       parts {
7806          part { name: "ctxpopup_bg";
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" 0.0;
7814                color: 0 0 0 64;
7815             }
7816          }
7817       }
7818       programs {
7819          program { name: "clicked_event";
7820             signal: "mouse,clicked,1";
7821             source: "ctxpopup_bg";
7822             action: SIGNAL_EMIT "elm,action,click" "";
7823          }
7824          program { name: "show";
7825             signal: "elm,state,show";
7826             source: "elm";
7827             action: STATE_SET "visible" 0.0;
7828             target: "ctxpopup_bg";
7829          }
7830          program { name: "hide";
7831             signal: "elm,state,hide";
7832             source: "elm";
7833             action: STATE_SET "default" 0.0;
7834             target: "ctxpopup_bg";
7835          }       
7836       }
7837    }
7838 ///////////////////////////////////////////////////////////////////////////////
7839    group { name: "elm/ctxpopup/base/default";
7840       images {
7841          image: "bt_base2.png" COMP;
7842          image: "bt_hilight.png" COMP;
7843          image: "bt_shine.png" COMP;
7844       }
7845       parts {
7846          part { name: "base";
7847             scale: 1;
7848             description { state: "default" 0.0;
7849                rel1.offset: -3 -3;
7850                rel2.offset: 3 3;
7851                image { normal: "bt_base2.png";
7852                   border: 7 7 7 7;
7853                }
7854             }
7855          }
7856          part { name: "over1";
7857             scale: 1;
7858             description { state: "default" 0.0;
7859                rel1.to: "base";
7860                rel2.to: "base";
7861                rel2.relative: 1.0 0.5;
7862                image { normal: "bt_hilight.png";
7863                   border: 7 7 7 0;
7864                }
7865             }
7866          }
7867          part { name: "over2";
7868             scale: 1;
7869             description { state: "default" 0.0;
7870                rel1.to: "base";
7871                rel2.to: "base";
7872                image { normal: "bt_shine.png";
7873                   border: 7 7 7 7;
7874                }
7875             }
7876          }
7877          part { name: "elm.swallow.content";
7878             type: SWALLOW;
7879             description { state: "default" 0.0;
7880                rel1 { to:"base"; offset: 4 4; };
7881                rel2 { to:"base"; offset: -5 -5; };
7882             }
7883          }                      
7884       } 
7885    } 
7886 ///////////////////////////////////////////////////////////////////////////////
7887    group { name: "elm/ctxpopup/arrow/default";
7888       images {
7889          image: "icon_arrow_left.png" COMP;
7890          image: "icon_arrow_right.png" COMP;
7891          image: "icon_arrow_up.png" COMP;
7892          image: "icon_arrow_down.png" COMP;
7893       }
7894       parts { 
7895                         part { name: "ctxpopup_arrow";
7896             type: IMAGE;
7897             scale: 1;
7898             description {
7899                state: "default" 0.0;
7900                min: 40 40;
7901                fixed: 1 1;
7902                visible: 0;
7903                align: 0.5 0.5;
7904             }
7905             description {
7906                state: "left" 0.0;
7907                min: 40 40;
7908                fixed: 1 1;
7909                align: 0.0 0.5;
7910                image { normal: "icon_arrow_left.png";
7911                }
7912             }
7913             description { state: "right" 0.0;
7914                min: 40 40;
7915                fixed: 1 1;
7916                align: 1.0 0.5;
7917                image { normal: "icon_arrow_right.png";                
7918                                         }
7919             }
7920             description { state: "top" 0.0;
7921                min: 40 40;
7922                fixed: 1 1;
7923                align: 0.5 0.0;
7924                image { normal: "icon_arrow_up.png";
7925                }
7926             }
7927             description { state: "bottom" 0.0;
7928                min: 40 40;
7929                fixed: 1 1;
7930                align: 0.5 1.0;
7931                image { normal: "icon_arrow_down.png";
7932                }
7933             }
7934          }
7935       }
7936       programs {
7937          program { name: "enable_left_arrow";
7938             signal: "elm,state,left";
7939             source: "elm";
7940             action: STATE_SET "left" 0.0;
7941             target: "ctxpopup_arrow";
7942          }
7943          program { name: "enable_right_arrow";
7944             signal: "elm,state,right";
7945             source: "elm";
7946             action: STATE_SET "right" 0.0;
7947             target: "ctxpopup_arrow";
7948          }
7949          program { name: "enable_top_arrow";
7950             signal: "elm,state,top";
7951             source: "elm";
7952             action: STATE_SET "top" 0.0;
7953             target: "ctxpopup_arrow";
7954          }
7955          program { name: "enable_bottom_arrow";
7956             signal: "elm,state,bottom";
7957             source: "elm";
7958             action: STATE_SET "bottom" 0.0;
7959             target: "ctxpopup_arrow";
7960          }
7961       }
7962    }
7963 ///////////////////////////////////////////////////////////////////////////////
7964    group { 
7965       name: "elm/ctxpopup/icon_text_style_item/default";
7966            alias: "elm/ctxpopup/text_style_item/default";
7967            alias: "elm/ctxpopup/icon_style_item/default";
7968       images {
7969          image: "hoversel_entry_bg.png" COMP;
7970       }
7971       parts {
7972          part { name: "event";
7973             mouse_events: 1;
7974             description { state: "default" 0.0;
7975             }
7976          }
7977          part { name: "bg";
7978             mouse_events: 0;
7979             description { state: "default" 0.0;
7980                rel1.offset: 2 2;
7981                rel2.offset: -3 -3;
7982                image { normal:"hoversel_entry_bg.png";
7983                   border: 0 0 2 2;
7984                }
7985                fill.smooth: 0;
7986                color: 255 255 255 0;
7987             }
7988             description { state: "clicked" 0.0;
7989                inherit: "default" 0.0; 
7990                color: 255 255 255 255;
7991             }
7992          }
7993          part { name: "elm.swallow.icon";
7994             type: SWALLOW;
7995             clip_to: "disclip";
7996             scale: 1;
7997             description { state: "default" 0.0;
7998                min: 25 25;
7999                max: 25 25;              
8000                align: 0 0.5;     
8001                aspect: 1.0 1.0;
8002                rel1 { offset: 10 10; }              
8003                                         rel2 { offset: 0 -10; }
8004             }
8005          }       
8006          part { name: "elm.text";
8007             type: TEXT;
8008             mouse_events: 0;
8009             clip_to: "disclip";
8010             scale: 1;
8011             description { state: "default" 0.0;
8012                min: 1 40;
8013                fixed: 0 1;
8014                align: 0.5 0.5;
8015                rel1 { relative: 1.0 0.0; to: "elm.swallow.icon"; offset: 10 0; }
8016                rel2 { relative: 1.0 1.0; offset: -11 -1; }
8017                color: 255 255 255 255;
8018                text {
8019                   font: "Sans";
8020                   size: 10;
8021                   align: 0.0 0.5;
8022                   min: 1 1;
8023                }
8024             }
8025             description { state: "clicked" 0.0;
8026                inherit: "default" 0.0;
8027                color: 0 0 0 255;
8028             }
8029          } 
8030                         part { name: "over1";
8031             mouse_events: 1;
8032             repeat_events: 1;
8033             ignore_flags: ON_HOLD;
8034             description { state: "default" 0.0;
8035                color: 255 255 255 0;
8036             }
8037             description { state: "clicked" 0.0;
8038                inherit: "default" 0.0; 
8039                color: 255 255 255 255;
8040             }
8041          }
8042          part { name: "over2";
8043             mouse_events: 1;
8044             repeat_events: 1;
8045             description { state: "default" 0.0;
8046                color: 255 255 255 0;
8047             }
8048             description { state: "clicked" 0.0;
8049                inherit: "default" 0.0; 
8050                color: 255 255 255 255;
8051             }
8052          }
8053          part { name: "disclip";
8054             type: RECT;
8055             description { state: "default" 0.0;
8056                color: 255 255 255 255;
8057             }
8058             description { state: "enabled" 0.0;
8059                color: 127 127 127 127;
8060             }
8061          }
8062          part { name: "blocker";
8063             description { state: "default" 0.0;
8064                visible: 0;
8065             }
8066             description { state: "enabled" 0.0;
8067                visible: 1;
8068                color: 0 0 0 0;
8069             }
8070          }
8071                 }
8072       programs {
8073          program {
8074             name: "item_unclick";
8075             signal: "mouse,up,1";
8076             source: "over1";
8077             action: SIGNAL_EMIT "elm,action,click" "";
8078          } 
8079          program { name: "disable";
8080             signal: "elm,state,disabled";
8081             source: "elm";
8082             action: STATE_SET "enabled" 0.0;
8083             target: "disclip";
8084             target: "blocker";
8085          }
8086          program { name: "enable";
8087             signal: "elm,state,enabled";
8088             source: "elm";
8089             action: STATE_SET "default" 0.0;
8090             target: "disclip";
8091             target: "blocker";
8092          }
8093          program { name: "item_click2";
8094             signal: "mouse,down,1";
8095             source: "over2";
8096             script {
8097                set_state(PART:"elm.text", "clicked", 0.0);
8098                set_state(PART:"bg", "clicked", 0.0);
8099             }
8100          }  
8101          program { name: "item_unclick2";
8102             signal: "mouse,up,1";
8103             source: "over2";
8104             script { 
8105                                         set_state(PART:"elm.text", "default", 0.0);
8106                set_state(PART:"bg", "default", 0.0);
8107             }  
8108          }
8109       }   
8110    }   
8111 ///////////////////////////////////////////////////////////////////////////////
8112 // emoticon images from:
8113 // Tanya - Latvia
8114 // http://lazycrazy.deviantart.com/
8115 // http://lazycrazy.deviantart.com/art/Very-Emotional-Emoticons-144461621
8116   group { name: "elm/entry/emoticon/angry/default"; images.image:
8117      "emo-angry.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8118         "emo-angry.png"; } } } }
8119   group { name: "elm/entry/emoticon/angry-shout/default"; images.image:
8120      "emo-angry-shout.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8121         "emo-angry-shout.png"; } } } }
8122   group { name: "elm/entry/emoticon/crazy-laugh/default"; images.image:
8123      "emo-crazy-laugh.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8124         "emo-crazy-laugh.png"; } } } }
8125   group { name: "elm/entry/emoticon/evil-laugh/default"; images.image:
8126      "emo-evil-laugh.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8127         "emo-evil-laugh.png"; } } } }
8128   group { name: "elm/entry/emoticon/evil/default"; images.image:
8129      "emo-evil.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8130         "emo-evil.png"; } } } }
8131   group { name: "elm/entry/emoticon/goggle-smile/default"; images.image:
8132      "emo-goggle-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8133         "emo-goggle-smile.png"; } } } }
8134   group { name: "elm/entry/emoticon/grumpy/default"; images.image:
8135      "emo-grumpy.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8136         "emo-grumpy.png"; } } } }
8137   group { name: "elm/entry/emoticon/grumpy-smile/default"; images.image:
8138      "emo-grumpy-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8139         "emo-grumpy-smile.png"; } } } }
8140   group { name: "elm/entry/emoticon/guilty/default"; images.image:
8141      "emo-guilty.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8142         "emo-guilty.png"; } } } }
8143   group { name: "elm/entry/emoticon/guilty-smile/default"; images.image:
8144      "emo-guilty-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8145         "emo-guilty-smile.png"; } } } }
8146   group { name: "elm/entry/emoticon/haha/default"; images.image:
8147      "emo-haha.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8148         "emo-haha.png"; } } } }
8149   group { name: "elm/entry/emoticon/half-smile/default"; images.image:
8150      "emo-half-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8151         "emo-half-smile.png"; } } } }
8152   group { name: "elm/entry/emoticon/happy-panting/default"; images.image:
8153      "emo-happy-panting.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8154         "emo-happy-panting.png"; } } } }
8155   group { name: "elm/entry/emoticon/happy/default"; images.image:
8156      "emo-happy.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8157         "emo-happy.png"; } } } }
8158   group { name: "elm/entry/emoticon/indifferent/default"; images.image:
8159      "emo-indifferent.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8160         "emo-indifferent.png"; } } } }
8161   group { name: "elm/entry/emoticon/kiss/default"; images.image:
8162      "emo-kiss.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8163         "emo-kiss.png"; } } } }
8164   group { name: "elm/entry/emoticon/knowing-grin/default"; images.image:
8165      "emo-knowing-grin.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8166         "emo-knowing-grin.png"; } } } }
8167   group { name: "elm/entry/emoticon/laugh/default"; images.image:
8168      "emo-laugh.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8169         "emo-laugh.png"; } } } }
8170   group { name: "elm/entry/emoticon/little-bit-sorry/default"; images.image:
8171      "emo-little-bit-sorry.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8172         "emo-little-bit-sorry.png"; } } } }
8173   group { name: "elm/entry/emoticon/love-lots/default"; images.image:
8174      "emo-love-lots.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8175         "emo-love-lots.png"; } } } }
8176   group { name: "elm/entry/emoticon/love/default"; images.image:
8177      "emo-love.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8178         "emo-love.png"; } } } }
8179   group { name: "elm/entry/emoticon/minimal-smile/default"; images.image:
8180      "emo-minimal-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8181         "emo-minimal-smile.png"; } } } }
8182   group { name: "elm/entry/emoticon/not-happy/default"; images.image:
8183      "emo-not-happy.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8184         "emo-not-happy.png"; } } } }
8185   group { name: "elm/entry/emoticon/not-impressed/default"; images.image:
8186      "emo-not-impressed.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8187         "emo-not-impressed.png"; } } } }
8188   group { name: "elm/entry/emoticon/omg/default"; images.image:
8189      "emo-omg.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8190         "emo-omg.png"; } } } }
8191   group { name: "elm/entry/emoticon/opensmile/default"; images.image:
8192      "emo-opensmile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8193         "emo-opensmile.png"; } } } }
8194   group { name: "elm/entry/emoticon/smile/default"; images.image:
8195      "emo-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8196         "emo-smile.png"; } } } }
8197   group { name: "elm/entry/emoticon/sorry/default"; images.image:
8198      "emo-sorry.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8199         "emo-sorry.png"; } } } }
8200   group { name: "elm/entry/emoticon/squint-laugh/default"; images.image:
8201      "emo-squint-laugh.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8202         "emo-squint-laugh.png"; } } } }
8203   group { name: "elm/entry/emoticon/surprised/default"; images.image:
8204      "emo-surprised.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8205         "emo-surprised.png"; } } } }
8206   group { name: "elm/entry/emoticon/suspicious/default"; images.image:
8207      "emo-suspicious.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8208         "emo-suspicious.png"; } } } }
8209   group { name: "elm/entry/emoticon/tongue-dangling/default"; images.image:
8210      "emo-tongue-dangling.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8211         "emo-tongue-dangling.png"; } } } }
8212   group { name: "elm/entry/emoticon/tongue-poke/default"; images.image:
8213      "emo-tongue-poke.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8214         "emo-tongue-poke.png"; } } } }
8215   group { name: "elm/entry/emoticon/uh/default"; images.image:
8216      "emo-uh.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8217         "emo-uh.png"; } } } }
8218   group { name: "elm/entry/emoticon/unhappy/default"; images.image:
8219      "emo-unhappy.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8220         "emo-unhappy.png"; } } } }
8221   group { name: "elm/entry/emoticon/very-sorry/default"; images.image:
8222      "emo-very-sorry.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8223         "emo-very-sorry.png"; } } } }
8224   group { name: "elm/entry/emoticon/what/default"; images.image:
8225      "emo-what.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8226         "emo-what.png"; } } } }
8227   group { name: "elm/entry/emoticon/wink/default"; images.image:
8228      "emo-wink.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8229         "emo-wink.png"; } } } }
8230   group { name: "elm/entry/emoticon/worried/default"; images.image:
8231      "emo-worried.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8232         "emo-worried.png"; } } } }
8233   group { name: "elm/entry/emoticon/wtf/default"; images.image:
8234      "emo-wtf.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8235         "emo-wtf.png"; } } } }
8236 //------------------------------------------------------------
8237    group { name: "elm/entry/base/default";
8238       styles
8239       {
8240          style { name: "entry_textblock_style";
8241             base: "font=Sans font_size=10 color=#000 wrap=word text_class=entry";
8242             tag:  "br" "\n";
8243             tag:  "ps" "ps";
8244             tag:  "tab" "\t";
8245             tag:  "em" "+ font=Sans:style=Oblique";
8246             tag:  "b" "+ font=Sans:style=Bold";
8247             tag:  "link" "+ color=#800 underline=on underline_color=#8008";
8248             tag:  "hilight" "+ font=Sans:style=Bold";
8249          }
8250          style { name: "entry_textblock_disabled_style";
8251             base: "font=Sans font_size=10 color=#00000080 wrap=word text_class=entry";
8252             tag:  "br" "\n";
8253             tag:  "ps" "ps";
8254             tag:  "tab" "\t";
8255             tag:  "em" "+ font=Sans:style=Oblique";
8256             tag:  "b" "+ font=Sans:style=Bold";
8257             tag:  "link" "+ color=#00000080 underline=on underline_color=#00000080";
8258             tag:  "hilight" "+ font=Sans:style=Bold";
8259          }
8260       }
8261       data {
8262 //         item: context_menu_orientation "horizontal";
8263       }
8264       parts {
8265          part { name: "elm.text";
8266             type: TEXTBLOCK;
8267             mouse_events: 1;
8268             scale: 1;
8269             entry_mode: EDITABLE;
8270             select_mode: EXPLICIT;
8271             multiline: 1;
8272             source: "elm/entry/selection/default"; // selection under
8273    //       source2: "X"; // selection over
8274    //       source3: "X"; // cursor under
8275             source4: "elm/entry/cursor/default"; // cursorover
8276             source5: "elm/entry/anchor/default"; // anchor under
8277    //       source6: "X"; // anchor over
8278             description { state: "default" 0.0;
8279                /* we gotta use 0 0 here, because of scrolled entries */
8280                fixed: 0 0;
8281                text {
8282                   style: "entry_textblock_style";
8283                   min: 0 1;
8284                }
8285             }
8286             description { state: "disabled" 0.0;
8287                inherit: "default" 0.0;
8288                text {
8289                   style: "entry_textblock_disabled_style";
8290                   min: 0 1;
8291                }
8292             }
8293          }
8294       }
8295       programs {
8296          program { name: "focus";
8297             signal: "load";
8298             source: "";
8299             action: FOCUS_SET;
8300             target: "elm.text";
8301          }
8302          program { name: "disable";
8303             signal: "elm,state,disabled";
8304             source: "elm";
8305             action: STATE_SET "disabled" 0.0;
8306             target: "elm.text";
8307          }
8308          program { name: "enable";
8309             signal: "elm,state,enabled";
8310             source: "elm";
8311             action: STATE_SET "default" 0.0;
8312             target: "elm.text";
8313          }
8314       }
8315    }
8316
8317    group { name: "elm/entry/base-charwrap/default";
8318       styles
8319       {
8320          style { name: "entry_textblock_style_charwrap";
8321             base: "font=Sans font_size=10 color=#000 wrap=char text_class=entry";
8322             tag:  "br" "\n";
8323             tag:  "ps" "ps";
8324             tag:  "tab" "\t";
8325             tag:  "em" "+ font=Sans:style=Oblique";
8326             tag:  "b" "+ font=Sans:style=Bold";
8327             tag:  "link" "+ color=#800 underline=on underline_color=#8008";
8328             tag:  "hilight" "+ font=Sans:style=Bold";
8329          }
8330          style { name: "entry_textblock_disabled_style_charwrap";
8331             base: "font=Sans font_size=10 color=#00000080 wrap=char text_class=entry";
8332             tag:  "br" "\n";
8333             tag:  "ps" "ps";
8334             tag:  "tab" "\t";
8335             tag:  "em" "+ font=Sans:style=Oblique";
8336             tag:  "b" "+ font=Sans:style=Bold";
8337             tag:  "link" "+ color=#00000080 underline=on underline_color=#00000080";
8338             tag:  "hilight" "+ font=Sans:style=Bold";
8339          }
8340       }
8341       parts {
8342          part { name: "elm.text";
8343             type: TEXTBLOCK;
8344             mouse_events: 1;
8345             scale: 1;
8346             entry_mode: EDITABLE;
8347             select_mode: EXPLICIT;
8348             multiline: 1;
8349             source: "elm/entry/selection/default"; // selection under
8350 //          source2: "X"; // selection over
8351 //          source3: "X"; // cursor under
8352             source4: "elm/entry/cursor/default"; // cursorover
8353             source5: "elm/entry/anchor/default"; // anchor under
8354 //          source6: "X"; // anchor over
8355             description { state: "default" 0.0;
8356                fixed: 1 0;
8357                text {
8358                   style: "entry_textblock_style_charwrap";
8359                   min: 0 1;
8360                }
8361             }
8362             description { state: "disabled" 0.0;
8363                inherit: "default" 0.0;
8364                text {
8365                   style: "entry_textblock_disabled_style_charwrap";
8366                   min: 0 1;
8367                }
8368             }
8369          }
8370       }
8371       programs {
8372          program { name: "focus";
8373             signal: "load";
8374             source: "";
8375             action: FOCUS_SET;
8376             target: "elm.text";
8377          }
8378          program { name: "disable";
8379             signal: "elm,state,disabled";
8380             source: "elm";
8381             action: STATE_SET "disabled" 0.0;
8382             target: "elm.text";
8383          }
8384          program { name: "enable";
8385             signal: "elm,state,enabled";
8386             source: "elm";
8387             action: STATE_SET "default" 0.0;
8388             target: "elm.text";
8389          }
8390       }
8391    }
8392
8393    group { name: "elm/entry/base-nowrap/default";
8394       parts {
8395          part { name: "elm.text";
8396             type: TEXTBLOCK;
8397             mouse_events: 1;
8398             scale: 1;
8399             entry_mode: EDITABLE;
8400             select_mode: EXPLICIT;
8401             multiline: 1;
8402             source: "elm/entry/selection/default"; // selection under
8403             source4: "elm/entry/cursor/default"; // cursorover
8404             source5: "elm/entry/anchor/default"; // anchor under
8405             description { state: "default" 0.0;
8406                text {
8407                   style: "entry_textblock_style";
8408                   min: 1 1;
8409                }
8410             }
8411             description { state: "disabled" 0.0;
8412                inherit: "default" 0.0;
8413                text {
8414                   style: "entry_textblock_disabled_style";
8415                   min: 0 1;
8416                }
8417             }
8418          }
8419 /*
8420          part { name: "sel";
8421             type: RECT;
8422             mouse_events: 0;
8423             description { state: "default" 0.0;
8424                align: 1.0 1.0;
8425                max: 16 16;
8426                aspect: 1.0 1.0;
8427                color: 255 0 0 0;
8428             }
8429             description { state: "visible" 0.0;
8430                inherit: "default" 0.0;
8431                color: 255 0 0 50;
8432             }
8433          }
8434  */
8435       }
8436       programs {
8437          program { name: "focus";
8438             signal: "load";
8439             source: "";
8440             action: FOCUS_SET;
8441             target: "elm.text";
8442          }
8443          program { name: "disable";
8444             signal: "elm,state,disabled";
8445             source: "elm";
8446             action: STATE_SET "disabled" 0.0;
8447             target: "elm.text";
8448          }
8449          program { name: "enable";
8450             signal: "elm,state,enabled";
8451             source: "elm";
8452             action: STATE_SET "default" 0.0;
8453             target: "elm.text";
8454          }
8455 /*
8456          program { name: "selmode0";
8457             signal: "elm,state,select,on";
8458             source: "elm";
8459             action: STATE_SET "visible" 0.0;
8460             target: "sel";
8461          }
8462          program { name: "selmode1";
8463             signal: "elm,state,select,off";
8464             source: "elm";
8465             action: STATE_SET "default" 0.0;
8466             target: "sel";
8467          }
8468  */
8469       }
8470    }
8471
8472    group { name: "elm/entry/base-single/default";
8473       styles
8474       {
8475          style { name: "entry_single_textblock_style";
8476             base: "font=Sans font_size=10 color=#000 wrap=none text_class=entry";
8477             tag:  "br" "\n";
8478             tag:  "ps" "ps";
8479             tag:  "tab" "\t";
8480             tag:  "em" "+ font=Sans:style=Oblique";
8481             tag:  "b" "+ font=Sans:style=Bold";
8482             tag:  "link" "+ color=#800 underline=on underline_color=#8008";
8483             tag:  "hilight" "+ font=Sans:style=Bold";
8484          }
8485          style { name: "entry_single_textblock_disabled_style";
8486             base: "font=Sans font_size=10 color=#00000080 wrap=none text_class=entry";
8487             tag:  "br" "\n";
8488             tag:  "ps" "ps";
8489             tag:  "tab" "\t";
8490             tag:  "em" "+ font=Sans:style=Oblique";
8491             tag:  "b" "+ font=Sans:style=Bold";
8492             tag:  "link" "+ color=#00000080 underline=on underline_color=#00000080";
8493             tag:  "hilight" "+ font=Sans:style=Bold";
8494          }
8495       }
8496       parts {
8497          part { name: "elm.text";
8498             type: TEXTBLOCK;
8499             mouse_events: 1;
8500             scale: 1;
8501             entry_mode: EDITABLE;
8502             select_mode: EXPLICIT;
8503             multiline: 0;
8504             source: "elm/entry/selection/default"; // selection under
8505             source4: "elm/entry/cursor/default"; // cursorover
8506             source5: "elm/entry/anchor/default"; // anchor under
8507             description { state: "default" 0.0;
8508                text {
8509                   style: "entry_single_textblock_style";
8510                   min: 1 1;
8511                   max: 0 1;
8512                }
8513             }
8514             description { state: "disabled" 0.0;
8515                inherit: "default" 0.0;
8516                text {
8517                   style: "entry_single_textblock_disabled_style";
8518                }
8519             }
8520          }
8521       }
8522       programs {
8523          program { name: "focus";
8524             signal: "load";
8525             source: "";
8526             action: FOCUS_SET;
8527             target: "elm.text";
8528          }
8529          program { name: "disable";
8530             signal: "elm,state,disabled";
8531             source: "elm";
8532             action: STATE_SET "disabled" 0.0;
8533             target: "elm.text";
8534          }
8535          program { name: "enable";
8536             signal: "elm,state,enabled";
8537             source: "elm";
8538             action: STATE_SET "default" 0.0;
8539             target: "elm.text";
8540          }
8541       }
8542    }
8543
8544    group { name: "elm/entry/base-single-noedit/default";
8545       parts {
8546          part { name: "elm.text";
8547             type: TEXTBLOCK;
8548             mouse_events: 1;
8549             scale: 1;
8550             entry_mode: PLAIN;
8551             select_mode: EXPLICIT;
8552             multiline: 0;
8553             source: "elm/entry/selection/default"; // selection under
8554             source5: "elm/entry/anchor/default"; // anchor under
8555             description { state: "default" 0.0;
8556                text {
8557                   style: "entry_single_textblock_style";
8558                   min: 1 1;
8559                   max: 0 1;
8560                }
8561             }
8562             description { state: "disabled" 0.0;
8563                inherit: "default" 0.0;
8564                text {
8565                style: "entry_single_textblock_disabled_style";
8566                }
8567             }
8568          }
8569       }
8570       programs {
8571          program { name: "focus";
8572             signal: "load";
8573             source: "";
8574             action: FOCUS_SET;
8575             target: "elm.text";
8576          }
8577          program { name: "disable";
8578             signal: "elm,state,disabled";
8579             source: "elm";
8580             action: STATE_SET "disabled" 0.0;
8581             target: "elm.text";
8582          }
8583          program { name: "enable";
8584             signal: "elm,state,enabled";
8585             source: "elm";
8586             action: STATE_SET "default" 0.0;
8587             target: "elm.text";
8588          }
8589       }
8590    }
8591
8592    group { name: "elm/entry/base-noedit/default";
8593       parts {
8594          part { name: "elm.text";
8595             type: TEXTBLOCK;
8596             mouse_events: 1;
8597             scale: 1;
8598             entry_mode: PLAIN;
8599             select_mode: EXPLICIT;
8600             multiline: 1;
8601             source: "elm/entry/selection/default"; // selection under
8602             source5: "elm/entry/anchor/default"; // anchor under
8603             description { state: "default" 0.0;
8604                fixed: 1 0;
8605                text {
8606                   style: "entry_textblock_style";
8607                   min: 0 1;
8608                }
8609             }
8610             description { state: "disabled" 0.0;
8611                inherit: "default" 0.0;
8612                text {
8613                   style: "entry_textblock_disabled_style";
8614                }
8615             }
8616          }
8617       }
8618       programs {
8619          program { name: "focus";
8620             signal: "load";
8621             source: "";
8622             action: FOCUS_SET;
8623             target: "elm.text";
8624          }
8625          program { name: "disable";
8626             signal: "elm,state,disabled";
8627             source: "elm";
8628             action: STATE_SET "disabled" 0.0;
8629             target: "elm.text";
8630          }
8631          program { name: "enable";
8632             signal: "elm,state,enabled";
8633             source: "elm";
8634             action: STATE_SET "default" 0.0;
8635             target: "elm.text";
8636          }
8637       }
8638    }
8639
8640    group { name: "elm/entry/base-noedit-charwrap/default";
8641       parts {
8642          part { name: "elm.text";
8643             type: TEXTBLOCK;
8644             mouse_events: 1;
8645             scale: 1;
8646             entry_mode: PLAIN;
8647             select_mode: EXPLICIT;
8648             multiline: 1;
8649             source: "elm/entry/selection/default"; // selection under
8650             source5: "elm/entry/anchor/default"; // anchor under
8651             description { state: "default" 0.0;
8652                fixed: 1 0;
8653                text {
8654                   style: "entry_textblock_style_charwrap";
8655                   min: 0 1;
8656                }
8657             }
8658             description { state: "disabled" 0.0;
8659                inherit: "default" 0.0;
8660                text {
8661                   style: "entry_textblock_disabled_style_charwrap";
8662                }
8663             }
8664          }
8665       }
8666       programs {
8667          program { name: "focus";
8668             signal: "load";
8669             source: "";
8670             action: FOCUS_SET;
8671             target: "elm.text";
8672          }
8673          program { name: "disable";
8674             signal: "elm,state,disabled";
8675             source: "elm";
8676             action: STATE_SET "disabled" 0.0;
8677             target: "elm.text";
8678          }
8679          program { name: "enable";
8680             signal: "elm,state,enabled";
8681             source: "elm";
8682             action: STATE_SET "default" 0.0;
8683             target: "elm.text";
8684          }
8685       }
8686    }
8687
8688    group { name: "elm/entry/base-nowrap-noedit/default";
8689       parts {
8690          part { name: "elm.text";
8691             type: TEXTBLOCK;
8692             mouse_events: 1;
8693             scale: 1;
8694             entry_mode: PLAIN;
8695             select_mode: EXPLICIT;
8696             multiline: 1;
8697             source: "elm/entry/selection/default"; // selection under
8698             source5: "elm/entry/anchor/default"; // anchor under
8699             description { state: "default" 0.0;
8700                text {
8701                   style: "entry_textblock_style";
8702                   min: 1 1;
8703                }
8704             }
8705             description { state: "disabled" 0.0;
8706                inherit: "default" 0.0;
8707                text {
8708                   style: "entry_textblock_disabled_style";
8709                }
8710             }
8711          }
8712       }
8713       programs {
8714          program { name: "focus";
8715             signal: "load";
8716             source: "";
8717             action: FOCUS_SET;
8718             target: "elm.text";
8719          }
8720          program { name: "disable";
8721             signal: "elm,state,disabled";
8722             source: "elm";
8723             action: STATE_SET "disabled" 0.0;
8724             target: "elm.text";
8725          }
8726          program { name: "enable";
8727             signal: "elm,state,enabled";
8728             source: "elm";
8729             action: STATE_SET "default" 0.0;
8730             target: "elm.text";
8731          }
8732       }
8733    }
8734
8735    group { name: "elm/entry/base-password/default";
8736       parts {
8737          part { name: "elm.text";
8738             type: TEXTBLOCK;
8739             mouse_events: 1;
8740             scale: 1;
8741             entry_mode: PASSWORD;
8742             select_mode: EXPLICIT;
8743             multiline: 0;
8744             source: "elm/entry/selection/default"; // selection under
8745             source4: "elm/entry/cursor/default"; // cursorover
8746             source5: "elm/entry/anchor/default"; // anchor under
8747             description { state: "default" 0.0;
8748                text {
8749                   style: "entry_single_textblock_style";
8750                   repch: "*";
8751                   min: 1 1;
8752                   max: 0 1;
8753                }
8754             }
8755             description { state: "disabled" 0.0;
8756                inherit: "default" 0.0;
8757                text {
8758                   style: "entry_single_textblock_disabled_style";
8759                }
8760             }
8761          }
8762       }
8763       programs {
8764          program { name: "focus";
8765             signal: "load";
8766             source: "";
8767             action: FOCUS_SET;
8768             target: "elm.text";
8769          }
8770          program { name: "disable";
8771             signal: "elm,state,disabled";
8772             source: "elm";
8773             action: STATE_SET "disabled" 0.0;
8774             target: "elm.text";
8775          }
8776          program { name: "enable";
8777             signal: "elm,state,enabled";
8778             source: "elm";
8779             action: STATE_SET "default" 0.0;
8780             target: "elm.text";
8781          }
8782       }
8783    }
8784
8785    group { name: "elm/entry/cursor/default";
8786       images {
8787          image: "cur_box.png" COMP;
8788          image: "cur_hi.png" COMP;
8789          image: "cur_shad.png" COMP;
8790          image: "cur_shine.png" COMP;
8791          image: "cur_glow.png" COMP;
8792       }
8793       parts {
8794          part { name: "clip2";
8795             type: RECT;
8796             mouse_events: 0;
8797             description { state: "default" 0.0;
8798                rel1.to: "clip";
8799                rel2.to: "clip";
8800                visible: 0;
8801             }
8802             description { state: "focused" 0.0;
8803                inherit: "default" 0.0;
8804                visible: 1;
8805             }
8806          }
8807          part { name: "clip";
8808             type: RECT;
8809             mouse_events: 0;
8810             clip_to: "clip2";
8811             description { state: "default" 0.0;
8812                rel1.offset: -10 0;
8813                rel2.offset: 9 9;
8814             }
8815             description { state: "hidden" 0.0;
8816                inherit: "default" 0.0;
8817                visible: 0;
8818             }
8819          }
8820          part { name: "bg";
8821             mouse_events: 0;
8822             clip_to: "clip";
8823             description { state: "default" 0.0;
8824                rel1.to: "base";
8825                rel1.offset: -2 0;
8826                rel2.to: "base";
8827                rel2.offset: 1 1;
8828                image.border: 2 2 2 2;
8829                image.normal: "cur_shad.png";
8830             }
8831          }
8832          part { name: "base";
8833             mouse_events: 0;
8834             scale: 1;
8835             clip_to: "clip";
8836             description { state: "default" 0.0;
8837                min: 2 2;
8838                align: 0.5 1.0;
8839                rel1.relative: 0.0 1.0;
8840                rel1.offset: 0 -1;
8841                rel2.relative: 1.0 1.0;
8842                rel2.offset: -1 -1;
8843                image.normal: "cur_box.png";
8844             }
8845          }
8846          part { name: "hi";
8847             mouse_events: 0;
8848             clip_to: "clip";
8849             description { state: "default" 0.0;
8850                rel1.to: "base";
8851                rel2.to: "base";
8852                rel2.relative: 1.0 0.5;
8853                image.normal: "cur_hi.png";
8854             }
8855          }
8856          part { name: "shine";
8857             mouse_events: 0;
8858             clip_to: "clip";
8859             clip_to: "clip2";
8860             description { state: "default" 0.0;
8861                rel1.to: "base";
8862                rel2.to: "base";
8863                rel2.relative: 1.0 0.75;
8864                image.border: 2 2 1 0;
8865                image.normal: "cur_shine.png";
8866                fill.smooth: 0;
8867             }
8868          }
8869          part { name: "glow";
8870             mouse_events: 0;
8871             clip_to: "clip2";
8872             description { state: "default" 0.0;
8873                rel1.to: "base";
8874                rel1.relative: 0.0 -2.0;
8875                rel1.offset: -2 0;
8876                rel2.to: "base";
8877                rel2.relative: 1.0 0.0;
8878                rel2.offset: 1 1;
8879                image.border: 2 2 0 4;
8880                image.normal: "cur_glow.png";
8881                fill.smooth: 0;
8882             }
8883             description { state: "hidden" 0.0;
8884                inherit: "default" 0.0;
8885                color: 255 255 255 0;
8886             }
8887          }
8888       }
8889       programs {
8890          program { name: "show";
8891             signal: "show";
8892             source: "";
8893             action: STATE_SET "hidden" 0.0;
8894             in: 1.0 0.0;
8895             transition: DECELERATE 2.0;
8896             target: "glow";
8897             after: "show2";
8898          }
8899          program { name: "show2";
8900             action: STATE_SET "hidden" 0.0;
8901             in: 0.2 0.0;
8902             target: "clip";
8903             after: "show3";
8904          }
8905          program { name: "show3";
8906             action: STATE_SET "default" 0.0;
8907             in: 0.5 0.0;
8908             target: "clip";
8909             after: "show4";
8910          }
8911          program { name: "show4";
8912             action: STATE_SET "default" 0.0;
8913             in: 0.5 0.0;
8914             transition: DECELERATE 0.5;
8915             target: "glow";
8916             after: "show";
8917          }
8918          program { name: "focused";
8919             signal: "elm,action,focus";
8920             source: "elm";
8921             action: STATE_SET "focused" 0.0;
8922             target: "clip2";
8923          }
8924          program { name: "unfocused";
8925             signal: "elm,action,unfocus";
8926             source: "elm";
8927             action: STATE_SET "default" 0.0;
8928             target: "clip2";
8929          }
8930       }
8931    }
8932
8933    group { name: "elm/entry/selection/default";
8934       parts {
8935          part { name: "bg";
8936             type: RECT;
8937             mouse_events: 0;
8938             description { state: "default" 0.0;
8939                color: 128 128 128 128;
8940             }
8941          }
8942       }
8943    }
8944
8945    group { name: "elm/entry/anchor/default";
8946       parts {
8947          part { name: "bg";
8948             type: RECT;
8949             mouse_events: 0;
8950             description { state: "default" 0.0;
8951                color: 128 0 0 64;
8952             }
8953          }
8954       }
8955    }
8956
8957 ///////////////////////////////////////////////////////////////////////////////
8958   group { name: "elm/bubble/top_left/default";
8959     alias: "elm/bubble/base/default";
8960     images {
8961       image: "bubble_3.png" COMP;
8962       image: "bubble_shine3.png" COMP;
8963     }
8964     parts {
8965       part { name: "event";
8966          type: RECT;
8967          description {
8968             state: "default" 0.0;
8969             color: 0 0 0 0;
8970          }
8971       }
8972       part { name: "elm.swallow.icon";
8973         type: SWALLOW;
8974         description { state: "default" 0.0;
8975           fixed: 1 1;
8976           visible: 0;
8977           align: 0.0 0.0;
8978           aspect: 1.0 1.0;
8979           aspect_preference: VERTICAL;
8980           rel1 {
8981             relative: 0.0 0.0;
8982             offset: 4 4;
8983           }
8984           rel2 {
8985             to_y: "elm.text";
8986             relative: 0.0 1.0;
8987             offset: 4 -1;
8988           }
8989         }
8990         description { state: "visible" 0.0;
8991           inherit: "default" 0.0;
8992           visible: 1;
8993         }
8994       }
8995       part { name: "elm.text";
8996         type: TEXT;
8997         mouse_events:   0;
8998         scale: 1;
8999         description { state: "default" 0.0;
9000           align: 0.0 0.0;
9001           fixed: 0 1;
9002           visible: 0;
9003           rel1 {
9004             to_x: "elm.swallow.icon";
9005             relative: 1.0 0.0;
9006             offset: 4 4;
9007           }
9008           rel2 {
9009             to_x: "elm.info";
9010             relative: 0.0 0.0;
9011             offset: -5 4;
9012           }
9013         }
9014         description { state: "visible" 0.0;
9015           inherit: "default" 0.0;
9016           visible: 1;
9017           color: 0 0 0 255;
9018           text {
9019             font: "Sans:style=Bold,Edje-Vera-Bold";
9020             size: 10;
9021             min: 0 1;
9022             max: 0 1;
9023             align: 0.0 0.0;
9024           }
9025         } 
9026       }
9027       part { name: "elm.info";
9028         type: TEXT;
9029         mouse_events:   0;
9030         scale: 1;
9031         description { state: "default" 0.0;
9032           align: 1.0 0.0;
9033           fixed: 1 1;
9034           visible: 0;
9035           rel1 {
9036             relative: 1.0 0.0;
9037             offset: -5 4;
9038           }
9039           rel2 {
9040             relative: 1.0 0.0;
9041             offset: -5 4;
9042           }
9043         }
9044         description { state: "visible" 0.0;
9045           inherit: "default" 0.0;
9046           visible: 1;
9047           color: 0 0 0 64;
9048           text {
9049             font: "Sans:style=Bold,Edje-Vera-Bold";
9050             size: 10;
9051             min: 1 1;
9052             max: 1 1;
9053             align: 1.0 0.0;
9054           }
9055         } 
9056       }
9057       part { name: "base0";
9058         mouse_events:  0;
9059         description { state: "default" 0.0;
9060           rel1 {
9061             to_y: "elm.swallow.icon";
9062             relative: 0.0 1.0;
9063             offset: 0 0;
9064           }
9065           image {
9066             normal: "bubble_3.png";
9067             border: 36 11 18 9;
9068           }
9069           image.middle: SOLID;
9070           fill.smooth: 0;
9071         }
9072         description { state: "infobase" 0.0;
9073           inherit: "default" 0.0;
9074           rel1.to_y: "elm.info";
9075         }
9076       }
9077       part { name: "elm.swallow.content";
9078         type: SWALLOW;
9079         description { state: "default" 0.0;
9080           rel1 {
9081             to: "base0";
9082             offset: 9 16;
9083           }
9084           rel2 {
9085             to: "base0";
9086             offset: -10 -9;
9087           }
9088         }
9089       }
9090       part { name: "shine";
9091         mouse_events:  0;
9092         description { state:    "default" 0.0;
9093           rel1 {
9094             to: "base0";
9095             offset: 5 4;
9096           }
9097           rel2 {
9098             to: "base0";
9099             relative: 1.0 0.5;
9100             offset: -6 7;
9101           }
9102           image {
9103             normal: "bubble_shine3.png";
9104             border: 36 5 14 0;
9105           }
9106           fill.smooth: 0;
9107         }
9108       }
9109     }
9110     programs {
9111       program {
9112         name: "icon_show";
9113         signal: "elm,state,icon,visible";
9114         source: "elm";
9115         script {
9116           new st[31];
9117           new Float:vl;
9118           get_state(PART:"base0", st, 30, vl);
9119           if (!strcmp(st, "infobase"))
9120             set_state(PART:"base0", "default", 0.0);
9121           set_state(PART:"elm.swallow.icon", "visible", 0.0);
9122         }
9123       }
9124       program {
9125         name: "icon_hide";
9126         signal: "elm,state,icon,hidden";
9127         source: "elm";
9128         script {
9129           new st[31];
9130           new Float:vl;
9131           get_state(PART:"elm.info", st, 30, vl);
9132           if (!strcmp(st, "visible"))
9133             set_state(PART:"base0", "infobase", 0.0);
9134           set_state(PART:"elm.swallow.icon", "default", 0.0);
9135         }
9136       }
9137       program {
9138         name: "text_show";
9139         signal: "elm,state,text,visible";
9140         source: "elm";
9141         action: STATE_SET "visible" 0.0;
9142         target: "elm.text";
9143       }
9144       program {
9145         name: "text_hide";
9146         signal: "elm,state,text,hidden";
9147         source: "elm";
9148         action: STATE_SET "default" 0.0;
9149         target: "elm.text";
9150       }
9151       program {
9152         name: "info_show";
9153         signal: "elm,state,info,visible";
9154         source: "elm";
9155         script {
9156           new st[31];
9157           new Float:vl;
9158           get_state(PART:"elm.swallow.icon", st, 30, vl);
9159           if (!strcmp(st, "default"))
9160             set_state(PART:"base0", "infobase", 0.0);
9161           set_state(PART:"elm.info", "visible", 0.0);
9162         }
9163       }
9164       program {
9165         name: "info_hide";
9166         signal: "elm,state,info,hidden";
9167         source: "elm";
9168         action: STATE_SET "default" 0.0;
9169         target: "elm.info";
9170         target: "base0";
9171       }
9172     }
9173   }
9174
9175   group { name: "elm/bubble/top_right/default";
9176     images {
9177       image: "bubble_4.png" COMP;
9178       image: "bubble_shine4.png" COMP;
9179     }
9180     parts {
9181       part { name: "event";
9182          type: RECT;
9183          description {
9184             state: "default" 0.0;
9185             color: 0 0 0 0;
9186          }
9187       }
9188       part { name: "elm.swallow.icon";
9189         type: SWALLOW;
9190         description { state: "default" 0.0;
9191           fixed: 1 1;
9192           visible: 0;
9193           align: 1.0 0.0;
9194           aspect: 1.0 1.0;
9195           aspect_preference: VERTICAL;
9196           rel1 {
9197             relative: 1.0 0.0;
9198             offset: -5 4;
9199           }
9200           rel2 {
9201             to_y: "elm.text";
9202             relative: 1.0 1.0;
9203             offset: -5 -1;
9204           }
9205         }
9206         description { state: "visible" 0.0;
9207           inherit: "default" 0.0;
9208           visible: 1;
9209         }
9210       }
9211       part { name: "elm.text";
9212         type: TEXT;
9213         mouse_events:   0;
9214         scale: 1;
9215         description { state: "default" 0.0;
9216           align: 0.0 0.0;
9217           fixed: 0 1;
9218           visible: 0;
9219           rel1 {
9220             relative: 0.0 0.0;
9221             offset: 4 4;
9222           }
9223           rel2 {
9224             to_x: "elm.info";
9225             relative: 0.0 0.0;
9226             offset: -5 4;
9227           }
9228         }
9229         description { state: "visible" 0.0;
9230           inherit: "default" 0.0;
9231           visible: 1;
9232           color: 0 0 0 255;
9233           text {
9234             font: "Sans:style=Bold,Edje-Vera-Bold";
9235             size: 10;
9236             min: 0 1;
9237             max: 0 1;
9238             align: 0.0 0.0;
9239           }
9240         }
9241       }
9242       part { name: "elm.info";
9243         type: TEXT;
9244         mouse_events:   0;
9245         scale: 1;
9246         description { state: "default" 0.0;
9247           align: 1.0 0.0;
9248           fixed: 1 1;
9249           visible: 0;
9250           rel1 {
9251             relative: 1.0 0.0;
9252             offset: -5 4;
9253           }
9254           rel2 {
9255             to_x: "elm.swallow.icon";
9256             relative: 0.0 0.0;
9257             offset: -5 4;
9258           }
9259         }
9260         description { state: "visible" 0.0;
9261           inherit: "default" 0.0;
9262           visible: 1;
9263           color: 0 0 0 64;
9264           text {
9265             font: "Sans:style=Bold,Edje-Vera-Bold";
9266             size: 10;
9267             min: 1 1;
9268             max: 1 1;
9269             align: 1.0 0.0;
9270           }
9271         }
9272       }
9273       part { name: "base0";
9274         mouse_events:  0;
9275         description { state: "default" 0.0;
9276           rel1 {
9277             to_y: "elm.swallow.icon";
9278             relative: 0.0 1.0;
9279             offset: 0 0;
9280           }
9281           image {
9282             normal: "bubble_4.png";
9283             border: 11 36 18 9;
9284           }
9285           image.middle: SOLID;
9286           fill.smooth: 0;
9287         }
9288         description { state: "infobase" 0.0;
9289           inherit: "default" 0.0;
9290           rel1.to_y: "elm.info";
9291         }
9292       }
9293       part { name: "elm.swallow.content";
9294         type: SWALLOW;
9295         description { state: "default" 0.0;
9296           rel1 {
9297             to: "base0";
9298             offset: 9 16;
9299           }
9300           rel2 {
9301             to: "base0";
9302             offset: -10 -9;
9303           }
9304         }
9305       }
9306       part { name: "shine";
9307         mouse_events:  0;
9308         description { state:    "default" 0.0;
9309           rel1 {
9310             to: "base0";
9311             offset: 5 4;
9312           }
9313           rel2 {
9314             to: "base0";
9315             relative: 1.0 0.5;
9316             offset: -6 7;
9317           }
9318           image {
9319             normal: "bubble_shine4.png";
9320             border: 5 36 14 0;
9321           }
9322           fill.smooth: 0;
9323         }
9324       }
9325     }
9326     programs {
9327       program {
9328         name: "icon_show";
9329         signal: "elm,state,icon,visible";
9330         source: "elm";
9331         script {
9332           new st[31];
9333           new Float:vl;
9334           get_state(PART:"base0", st, 30, vl);
9335           if (!strcmp(st, "infobase"))
9336             set_state(PART:"base0", "default", 0.0);
9337           set_state(PART:"elm.swallow.icon", "visible", 0.0);
9338         }
9339       }
9340       program {
9341         name: "icon_hide";
9342         signal: "elm,state,icon,hidden";
9343         source: "elm";
9344         script {
9345           new st[31];
9346           new Float:vl;
9347           get_state(PART:"elm.info", st, 30, vl);
9348           if (!strcmp(st, "visible"))
9349             set_state(PART:"base0", "infobase", 0.0);
9350           set_state(PART:"elm.swallow.icon", "default", 0.0);
9351         }
9352       }
9353       program {
9354         name: "text_show";
9355         signal: "elm,state,text,visible";
9356         source: "elm";
9357         action: STATE_SET "visible" 0.0;
9358         target: "elm.text";
9359       }
9360       program {
9361         name: "text_hide";
9362         signal: "elm,state,text,hidden";
9363         source: "elm";
9364         action: STATE_SET "default" 0.0;
9365         target: "elm.text";
9366       }
9367       program {
9368         name: "info_show";
9369         signal: "elm,state,info,visible";
9370         source: "elm";
9371         script {
9372           new st[31];
9373           new Float:vl;
9374           get_state(PART:"elm.swallow.icon", st, 30, vl);
9375           if (!strcmp(st, "default"))
9376             set_state(PART:"base0", "infobase", 0.0);
9377           set_state(PART:"elm.info", "visible", 0.0);
9378         }
9379       }
9380       program {
9381         name: "info_hide";
9382         signal: "elm,state,info,hidden";
9383         source: "elm";
9384         action: STATE_SET "default" 0.0;
9385         target: "elm.info";
9386         target: "base0";
9387       }
9388     }
9389   }
9390
9391   group { name: "elm/bubble/bottom_left/default";
9392     images {
9393       image: "bubble_1.png" COMP;
9394       image: "bubble_shine.png" COMP;
9395     }
9396     parts {
9397       part { name: "event";
9398          type: RECT;
9399          description {
9400             state: "default" 0.0;
9401             color: 0 0 0 0;
9402          }
9403       }
9404       part { name: "elm.swallow.icon";
9405         type: SWALLOW;
9406         description { state: "default" 0.0;
9407           fixed: 1 1;
9408           visible: 0;
9409           align: 0.0 1.0;
9410           aspect: 1.0 1.0;
9411           aspect_preference: VERTICAL;
9412           rel1 {
9413             to_y: "elm.text";
9414             relative: 0.0 0.0;
9415             offset: 4 0;
9416           }
9417           rel2 {
9418             relative: 0.0 1.0;
9419             offset: 4 -5;
9420           }
9421         }
9422         description { state: "visible" 0.0;
9423           inherit: "default" 0.0;
9424           visible: 1;
9425         }
9426       }
9427       part { name: "elm.text";
9428         type: TEXT;
9429         mouse_events:   0;
9430         scale: 1;
9431         description { state: "default" 0.0;
9432           align: 0.0 1.0;
9433           fixed: 0 1;
9434           visible: 0;
9435           rel1 {
9436             to_x: "elm.swallow.icon";
9437             relative: 1.0 1.0;
9438             offset: 4 -5;
9439           }
9440           rel2 {
9441             to_x: "elm.info";
9442             relative: 0.0 1.0;
9443             offset: -5 -5;
9444           }
9445         }
9446         description { state: "visible" 0.0;
9447           inherit: "default" 0.0;
9448           visible: 1;
9449           color: 0 0 0 255;
9450           text {
9451             font: "Sans:style=Bold,Edje-Vera-Bold";
9452             size: 10;
9453             min: 0 1;
9454             max: 0 1;
9455             align: 0.0 1.0;
9456           }
9457         }
9458       }
9459       part { name: "elm.info";
9460         type: TEXT;
9461         mouse_events:   0;
9462         scale: 1;
9463         description { state: "default" 0.0;
9464           align: 1.0 1.0;
9465           fixed: 1 1;
9466           visible: 0;
9467           rel1 {
9468             relative: 1.0 1.0;
9469             offset: -5 -5;
9470           }
9471           rel2 {
9472             relative: 1.0 1.0;
9473             offset: -5 -5;
9474           }
9475         }
9476         description { state: "visible" 0.0;
9477           inherit: "default" 0.0;
9478           visible: 1;
9479           color: 0 0 0 64;
9480           text {
9481             font: "Sans:style=Bold,Edje-Vera-Bold";
9482             size: 10;
9483             min: 1 1;
9484             max: 1 1;
9485             align: 1.0 1.0;
9486           }
9487         }
9488       }
9489       part { name: "base0";
9490         mouse_events:  0;
9491         description { state: "default" 0.0;
9492           rel2 {
9493             to_y: "elm.swallow.icon";
9494             relative: 1.0 0.0;
9495             offset: -1 -1;
9496           }
9497           image {
9498             normal: "bubble_1.png";
9499             border: 36 11 10 19;
9500           }
9501           image.middle: SOLID;
9502           fill.smooth: 0;
9503         }
9504         description { state: "infobase" 0.0;
9505           inherit: "default" 0.0;
9506           rel2.to_y: "elm.info";
9507         }
9508       }
9509       part { name: "elm.swallow.content";
9510         type: SWALLOW;
9511         description { state: "default" 0.0;
9512           rel1 {
9513             to: "base0";
9514             offset: 9 8;
9515           }
9516           rel2 {
9517             to: "base0";
9518             offset: -10 -17;
9519           }
9520         }
9521       }
9522       part { name: "shine";
9523         mouse_events:  0;
9524         description { state:    "default" 0.0;
9525           rel1 {
9526             to: "base0";
9527             offset: 5 4;
9528           }
9529           rel2 {
9530             to: "base0";
9531             relative: 1.0 0.5;
9532             offset: -6 -16;
9533           }
9534           image {
9535             normal: "bubble_shine.png";
9536             border: 5 5 5 0;
9537           }
9538           fill.smooth: 0;
9539         }
9540       }
9541     }
9542     programs {
9543       program {
9544         name: "icon_show";
9545         signal: "elm,state,icon,visible";
9546         source: "elm";
9547         script {
9548           new st[31];
9549           new Float:vl;
9550           get_state(PART:"base0", st, 30, vl);
9551           if (!strcmp(st, "infobase"))
9552             set_state(PART:"base0", "default", 0.0);
9553           set_state(PART:"elm.swallow.icon", "visible", 0.0);
9554         }
9555       }
9556       program {
9557         name: "icon_hide";
9558         signal: "elm,state,icon,hidden";
9559         source: "elm";
9560         script {
9561           new st[31];
9562           new Float:vl;
9563           get_state(PART:"elm.info", st, 30, vl);
9564           if (!strcmp(st, "visible"))
9565             set_state(PART:"base0", "infobase", 0.0);
9566           set_state(PART:"elm.swallow.icon", "default", 0.0);
9567         }
9568       }
9569       program {
9570         name: "text_show";
9571         signal: "elm,state,text,visible";
9572         source: "elm";
9573         action: STATE_SET "visible" 0.0;
9574         target: "elm.text";
9575       }
9576       program {
9577         name: "text_hide";
9578         signal: "elm,state,text,hidden";
9579         source: "elm";
9580         action: STATE_SET "default" 0.0;
9581         target: "elm.text";
9582       }
9583       program {
9584         name: "info_show";
9585         signal: "elm,state,info,visible";
9586         source: "elm";
9587         script {
9588           new st[31];
9589           new Float:vl;
9590           get_state(PART:"elm.swallow.icon", st, 30, vl);
9591           if (!strcmp(st, "default"))
9592             set_state(PART:"base0", "infobase", 0.0);
9593           set_state(PART:"elm.info", "visible", 0.0);
9594         }
9595       }
9596       program {
9597         name: "info_hide";
9598         signal: "elm,state,info,hidden";
9599         source: "elm";
9600         action: STATE_SET "default" 0.0;
9601         target: "elm.info";
9602         target: "base0";
9603       }
9604     }
9605   }
9606
9607   group { name: "elm/bubble/bottom_right/default";
9608     images {
9609       image: "bubble_2.png" COMP;
9610       image: "bubble_shine.png" COMP;
9611     }
9612     parts {
9613       part { name: "event";
9614          type: RECT;
9615          description {
9616             state: "default" 0.0;
9617             color: 0 0 0 0;
9618          }
9619       }
9620       part { name: "elm.swallow.icon";
9621         type: SWALLOW;
9622         description { state: "default" 0.0;
9623           fixed: 1 1;
9624           visible: 0.0;
9625           align: 1.0 1.0;
9626           aspect: 1.0 1.0;
9627           aspect_preference: VERTICAL;
9628           rel1 {
9629             to_y: "elm.text";
9630             relative: 1.0 0.0;
9631             offset: -5 0;
9632           }
9633           rel2 {
9634             relative: 1.0 1.0;
9635             offset: -5 -5;
9636           }
9637         }
9638         description { state: "visible" 0.0;
9639           inherit: "default" 0.0;
9640           visible: 1;
9641         }
9642       }
9643       part { name: "elm.text";
9644         type: TEXT;
9645         mouse_events:   0;
9646         scale: 1;
9647         description { state: "default" 0.0;
9648           align: 0.0 1.0;
9649           fixed: 0 1;
9650           visible: 0;
9651           rel1 {
9652             relative: 0.0 1.0;
9653             offset: 4 -5;
9654           }
9655           rel2 {
9656             to_x: "elm.info";
9657             relative: 0.0 1.0;
9658             offset: -5 -5;
9659           }
9660         }
9661         description { state: "visible" 0.0;
9662           inherit: "default" 0.0;
9663           visible: 1;
9664           color: 0 0 0 255;
9665           text {
9666             font: "Sans:style=Bold,Edje-Vera-Bold";
9667             size: 10;
9668             min: 0 1;
9669             max: 0 1;
9670             align: 0.0 1.0;
9671           }
9672         }
9673       }
9674       part { name: "elm.info";
9675         type: TEXT;
9676         mouse_events:   0;
9677         scale: 1;
9678         description { state: "default" 0.0;
9679           align: 1.0 1.0;
9680           fixed: 1 1;
9681           visible: 0;
9682           rel1 {
9683             relative: 1.0 1.0;
9684             offset: -5 -5;
9685           }
9686           rel2 {
9687             to_x: "elm.swallow.icon";
9688             relative: 0.0 1.0;
9689             offset: -5 -5;
9690           }
9691         }
9692         description { state: "visible" 0.0;
9693           inherit: "default" 0.0;
9694           visible: 1;
9695           color: 0 0 0 64;
9696           text {
9697             font: "Sans:style=Bold,Edje-Vera-Bold";
9698             size: 10;
9699             min: 1 1;
9700             max: 1 1;
9701             align: 1.0 1.0;
9702           }
9703         }
9704       }
9705       part { name: "base0";
9706         mouse_events:  0;
9707         description { state: "default" 0.0;
9708           rel2 {
9709             to_y: "elm.swallow.icon";
9710             relative: 1.0 0.0;
9711             offset: -1 -1;
9712           }
9713           image {
9714             normal: "bubble_2.png";
9715             border: 11 36 10 19;
9716           }
9717           image.middle: SOLID;
9718           fill.smooth: 0;
9719         }
9720         description { state: "infobase" 0.0;
9721           inherit: "default" 0.0;
9722           rel2.to_y: "elm.info";
9723         }
9724       }
9725       part { name: "elm.swallow.content";
9726         type: SWALLOW;
9727         description { state: "default" 0.0;
9728           rel1 {
9729             to: "base0";
9730             offset: 9 8;
9731           }
9732           rel2 {
9733             to: "base0";
9734             offset: -10 -17;
9735           }
9736         }
9737       }
9738       part { name: "shine";
9739         mouse_events:  0;
9740         description { state:    "default" 0.0;
9741           rel1 {
9742             to: "base0";
9743             offset: 5 4;
9744           }
9745           rel2 {
9746             to: "base0";
9747             relative: 1.0 0.5;
9748             offset: -6 -16;
9749           }
9750           image {
9751             normal: "bubble_shine.png";
9752             border: 5 5 5 0;
9753           }
9754           fill.smooth: 0;
9755         }
9756       }
9757     }
9758     programs {
9759       program {
9760         name: "icon_show";
9761         signal: "elm,state,icon,visible";
9762         source: "elm";
9763         script {
9764           new st[31];
9765           new Float:vl;
9766           get_state(PART:"base0", st, 30, vl);
9767           if (!strcmp(st, "infobase"))
9768             set_state(PART:"base0", "default", 0.0);
9769           set_state(PART:"elm.swallow.icon", "visible", 0.0);
9770         }
9771       }
9772       program {
9773         name: "icon_hide";
9774         signal: "elm,state,icon,hidden";
9775         source: "elm";
9776         script {
9777           new st[31];
9778           new Float:vl;
9779           get_state(PART:"elm.info", st, 30, vl);
9780           if (!strcmp(st, "visible"))
9781             set_state(PART:"base0", "infobase", 0.0);
9782           set_state(PART:"elm.swallow.icon", "default", 0.0);
9783         }
9784       }
9785       program {
9786         name: "text_show";
9787         signal: "elm,state,text,visible";
9788         source: "elm";
9789         action: STATE_SET "visible" 0.0;
9790         target: "elm.text";
9791       }
9792       program {
9793         name: "text_hide";
9794         signal: "elm,state,text,hidden";
9795         source: "elm";
9796         action: STATE_SET "default" 0.0;
9797         target: "elm.text";
9798       }
9799       program {
9800         name: "info_show";
9801         signal: "elm,state,info,visible";
9802         source: "elm";
9803         script {
9804           new st[31];
9805           new Float:vl;
9806           get_state(PART:"elm.swallow.icon", st, 30, vl);
9807           if (!strcmp(st, "default"))
9808             set_state(PART:"base0", "infobase", 0.0);
9809           set_state(PART:"elm.info", "visible", 0.0);
9810         }
9811       }
9812       program {
9813         name: "info_hide";
9814         signal: "elm,state,info,hidden";
9815         source: "elm";
9816         action: STATE_SET "default" 0.0;
9817         target: "elm.info";
9818         target: "base0";
9819       }
9820     }
9821   }
9822
9823 ///////////////////////////////////////////////////////////////////////////////
9824    group { name: "elm/photo/base/default";
9825       images {
9826          image: "frame_1.png" COMP;
9827          image: "frame_2.png" COMP;
9828          image: "dia_grad.png" COMP;
9829          image: "head.png" COMP;
9830       }
9831       parts {
9832          part { name: "base0";
9833             mouse_events:  0;
9834             description { state: "default" 0.0;
9835                image.normal: "dia_grad.png";
9836                rel1.to: "over";
9837                rel2.to: "over";
9838                fill {
9839                   smooth: 0;
9840                   size {
9841                      relative: 0.0 1.0;
9842                      offset: 64 0;
9843                   }
9844                }
9845             }
9846          }
9847          part { name: "base";
9848             mouse_events:  0;
9849             description { state:    "default" 0.0;
9850                image {
9851                   normal: "frame_2.png";
9852                   border: 5 5 32 26;
9853                   middle: 0;
9854                }
9855                fill.smooth : 0;
9856             }
9857          }
9858          part { name: "head";
9859             mouse_events:  0;
9860             description { state:    "default" 0.0;
9861                rel1.offset: 4 4;
9862                rel2.offset: -5 -5;
9863                aspect: 1.0 1.0;
9864                aspect_preference: BOTH;
9865                image.normal: "head.png";
9866             }
9867          }
9868          part { name: "clip";
9869             mouse_events:  0;
9870             type: RECT;
9871             description { state:    "default" 0.0;
9872                rel1.offset: 4 4;
9873                rel2.offset: -5 -5;
9874                color: 255 255 255 255;
9875             }
9876          }
9877          part { name: "elm.swallow.content";
9878             type: SWALLOW;
9879             clip_to: "clip";
9880             description { state: "default" 0.0;
9881                rel1.offset: 4 4;
9882                rel2.offset: -5 -5;
9883             }
9884          }
9885          part { name: "over";
9886             mouse_events:  0;
9887             description { state:    "default" 0.0;
9888                rel1.offset: 4 4;
9889                rel2.offset: -5 -5;
9890                image {
9891                   normal: "frame_1.png";
9892                   border: 2 2 28 22;
9893                   middle: 0;
9894                }
9895                fill.smooth: 0;
9896             }
9897          }
9898      }
9899    }
9900    
9901    group { name: "elm/photo/base/shadow";
9902         images {
9903                         image: "shadow.png" COMP;
9904                         image: "black.png" COMP;
9905         }
9906         script {
9907         public message(Msg_Type:type, id, ...) {
9908                 if( (type==MSG_INT_SET) && (id==0) )
9909                 {
9910                 new w;
9911                 new h;
9912            
9913                 custom_state(PART:"size", "default", 0.0);
9914
9915                 w = getarg(2);
9916                 h = getarg(3);
9917                 set_state_val(PART:"size", STATE_REL1_OFFSET, - w/2, - h/2);
9918                 set_state_val(PART:"size", STATE_REL2_OFFSET, w/2 + 1, h/2 + 1);
9919                 set_state(PART:"size", "custom", 0.0);
9920                 }
9921         }
9922         }
9923         parts {
9924         part { name: "size";
9925                 type: SWALLOW;
9926                 description { state: "default" 0.0;
9927                         rel1.relative: 0.5 0.5;
9928                         rel2.relative: 0.5 0.5;
9929                 }
9930                 }
9931         part {
9932                 name: "shadow";
9933                 type: IMAGE;
9934                 repeat_events: 1;
9935                 description {
9936                 state: "default" 0.0;
9937                 rel1.to: "size";
9938                 rel2.to: "size";
9939                 rel1.relative: -0.06 -0.06;
9940                 rel2.relative: 1.07 1.07;
9941                 image.normal: "shadow.png";
9942                 }
9943         }
9944         
9945         
9946                 part { name: "elm.swallow.content";
9947                 type: SWALLOW;
9948                 description { state: "default" 0.0;
9949                 rel1.offset: 3 3;
9950                 rel2.offset: -3 -3;
9951                         fixed: 1 1;
9952                 }
9953                 }
9954                 
9955                 part {
9956                 name: "border";
9957                 type: IMAGE;
9958                 repeat_events: 1;
9959                 description {
9960                 state: "default" 0.0;
9961                 visible: 1;
9962                 color: 0 0 0 255;
9963                 rel1.to: "size";
9964                 rel2.to: "size";
9965                 image.normal: "black.png";
9966                 image.border: 1 1 1 1;
9967                 image.middle: 0;
9968                 }
9969         }
9970                 }
9971    }
9972
9973 ///////////////////////////////////////////////////////////////////////////////
9974    group { name: "elm/thumb/base/default";
9975       images {
9976          image: "frame_1.png" COMP;
9977          image: "frame_2.png" COMP;
9978          image: "dia_grad.png" COMP;
9979          image: "busy-1.png" COMP;
9980          image: "busy-2.png" COMP;
9981          image: "busy-3.png" COMP;
9982          image: "busy-4.png" COMP;
9983          image: "busy-5.png" COMP;
9984          image: "busy-6.png" COMP;
9985          image: "busy-7.png" COMP;
9986          image: "busy-8.png" COMP;
9987          image: "busy-9.png" COMP;
9988       }
9989       parts {
9990          part { name: "base0";
9991             mouse_events:  0;
9992             description { state:        "default" 0.0;
9993                image.normal: "dia_grad.png";
9994                rel1.to: "over";
9995                rel2.to: "over";
9996                fill {
9997                   smooth: 0;
9998                   size {
9999                      relative: 0.0 1.0;
10000                      offset: 64 0;
10001                   }
10002                }
10003             }
10004          }
10005          part { name: "base";
10006             mouse_events:  0;
10007             description { state:        "default" 0.0;
10008                image {
10009                   normal: "frame_2.png";
10010                   border: 5 5 32 26;
10011                   middle: 0;
10012                }
10013                fill.smooth : 0;
10014             }
10015          }
10016          part { name: "clip";
10017             mouse_events:  0;
10018             type: RECT;
10019             description { state:        "default" 0.0;
10020                rel1.offset: 4 4;
10021                rel2.offset: -5 -5;
10022                color: 255 255 255 255;
10023             }
10024          }
10025          part { name: "elm.swallow.content";
10026             type: SWALLOW;
10027             clip_to: "clip";
10028             description { state:        "default" 0.0;
10029                rel1.offset: 4 4;
10030                rel2.offset: -5 -5;
10031             }
10032          }
10033          part { name: "progress";
10034             mouse_events: 0;
10035
10036             clip_to: "clip";
10037             description { state:        "default" 0.0;
10038                min: 32 32;
10039                max: 32 32;
10040                visible: 0;
10041                aspect: 1.0 1.0;
10042                aspect_preference: BOTH;
10043             }
10044             description { state:        "pulse" 0.0;
10045                inherit: "default" 0.0;
10046                visible: 1;
10047                image {
10048                   normal: "busy-9.png";
10049                   tween:  "busy-1.png";
10050                   tween:  "busy-2.png";
10051                   tween:  "busy-3.png";
10052                   tween:  "busy-4.png";
10053                   tween:  "busy-5.png";
10054                   tween:  "busy-6.png";
10055                   tween:  "busy-7.png";
10056                   tween:  "busy-8.png";
10057                   border: 7 7 7 7;
10058                }
10059             }
10060          }
10061          part { name: "over";
10062             mouse_events:  0;
10063             description { state:        "default" 0.0;
10064                rel1.offset: 4 4;
10065                rel2.offset: -5 -5;
10066                image {
10067                   normal: "frame_1.png";
10068                   border: 2 2 28 22;
10069                   middle: 0;
10070                }
10071                fill.smooth: 0;
10072             }
10073          }
10074          programs {
10075             program { name: "start_pulse";
10076                signal: "elm,state,pulse,start";
10077                source: "elm";
10078                action: STATE_SET "pulse" 0.0;
10079                target: "progress";
10080                transition: LINEAR 0.5;
10081                after: "start_pulse";
10082             }
10083             program { name: "stop_pulse";
10084                signal: "elm,state,pulse,stop";
10085                source: "elm";
10086                action: STATE_SET "default" 0.0;
10087                target: "progress";
10088             }
10089          }
10090       }
10091    }
10092
10093    group { name: "elm/thumb/base/noframe";
10094       images {
10095          image: "busy-1.png" COMP;
10096          image: "busy-2.png" COMP;
10097          image: "busy-3.png" COMP;
10098          image: "busy-4.png" COMP;
10099          image: "busy-5.png" COMP;
10100          image: "busy-6.png" COMP;
10101          image: "busy-7.png" COMP;
10102          image: "busy-8.png" COMP;
10103          image: "busy-9.png" COMP;
10104       }
10105       parts {
10106          part { name: "elm.swallow.content";
10107             type: SWALLOW;
10108             description { state: "default" 0.0;
10109                rel1.offset: 4 4;
10110                rel2.offset: -5 -5;
10111             }
10112          }
10113          part { name: "progress";
10114             mouse_events: 0;
10115             description { state:        "default" 0.0;
10116                min: 32 32;
10117                max: 32 32;
10118                visible: 0;
10119                aspect: 1.0 1.0;
10120                aspect_preference: BOTH;
10121             }
10122             description { state:        "pulse" 0.0;
10123                inherit: "default" 0.0;
10124                visible: 1;
10125                image {
10126                   normal: "busy-9.png";
10127                   tween:  "busy-1.png";
10128                   tween:  "busy-2.png";
10129                   tween:  "busy-3.png";
10130                   tween:  "busy-4.png";
10131                   tween:  "busy-5.png";
10132                   tween:  "busy-6.png";
10133                   tween:  "busy-7.png";
10134                   tween:  "busy-8.png";
10135                   border: 7 7 7 7;
10136                }
10137             }
10138          }
10139          programs {
10140             program { name: "start_pulse";
10141                signal: "elm,state,pulse,start";
10142                source: "elm";
10143                action: STATE_SET "pulse" 0.0;
10144                target: "progress";
10145                transition: LINEAR 0.5;
10146                after: "start_pulse";
10147             }
10148             program { name: "stop_pulse";
10149                signal: "elm,state,pulse,stop";
10150                source: "elm";
10151                action: STATE_SET "default" 0.0;
10152                target: "progress";
10153             }
10154          }
10155       }
10156    }
10157
10158
10159 ///////////////////////////////////////////////////////////////////////////////
10160    group { name: "elm/icon/home/default"; alias: "elm/icon/toolbar/home/default"; min: 32 32;
10161       images.image: "icon_home.png" COMP; parts { part { name: "base";
10162          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10163             image.normal: "icon_home.png"; } } } }
10164    group { name: "elm/icon/close/default"; alias: "elm/icon/toolbar/close/default"; min: 32 32;
10165       images.image: "icon_close.png" COMP; parts { part { name: "base";
10166          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10167             image.normal: "icon_close.png"; } } } }
10168    group { name: "elm/icon/apps/default"; alias: "elm/icon/toolbar/apps/default"; min: 32 32;
10169       images.image: "icon_apps.png" COMP; parts { part { name: "base";
10170          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10171             image.normal: "icon_apps.png"; } } } }
10172    group { name: "elm/icon/arrow_up/default"; alias: "elm/icon/toolbar/arrow_up/default"; min: 32 32;
10173       images.image: "icon_arrow_up.png" COMP; parts { part { name: "base";
10174          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10175             image.normal: "icon_arrow_up.png"; } } } }
10176    group { name: "elm/icon/arrow_down/default";
10177            alias: "elm/icon/toolbar/arrow_down/default";
10178            alias: "elm/icon/toolbar/more_menu/default"; min: 32 32;
10179       images.image: "icon_arrow_down.png" COMP; parts { part { name: "base";
10180          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10181             image.normal: "icon_arrow_down.png"; } } } }
10182    group { name: "elm/icon/arrow_left/default"; alias: "elm/icon/toolbar/arrow_left/default"; min: 32 32;
10183       images.image: "icon_arrow_left.png" COMP; parts { part { name: "base";
10184          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10185             image.normal: "icon_arrow_left.png"; } } } }
10186    group { name: "elm/icon/arrow_right/default"; alias: "elm/icon/toolbar/arrow_right/default"; min: 32 32;
10187       images.image: "icon_arrow_right.png" COMP; parts { part { name: "base";
10188          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10189             image.normal: "icon_arrow_right.png"; } } } }
10190    group { name: "elm/icon/chat/default"; alias: "elm/icon/toolbar/chat/default"; min: 32 32;
10191       images.image: "icon_chat.png" COMP; parts { part { name: "base";
10192          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10193             image.normal: "icon_chat.png"; } } } }
10194    group { name: "elm/icon/clock/default"; alias: "elm/icon/toolbar/clock/default"; min: 32 32;
10195       images.image: "icon_clock.png" COMP; parts { part { name: "base";
10196          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10197             image.normal: "icon_clock.png"; } } } }
10198    group { name: "elm/icon/delete/default"; alias: "elm/icon/toolbar/delete/default"; min: 32 32;
10199       images.image: "icon_delete.png" COMP; parts { part { name: "base";
10200          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10201             image.normal: "icon_delete.png"; } } } }
10202    group { name: "elm/icon/edit/default"; alias: "elm/icon/toolbar/edit/default"; min: 32 32;
10203       images.image: "icon_edit.png" COMP; parts { part { name: "base";
10204          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10205             image.normal: "icon_edit.png"; } } } }
10206    group { name: "elm/icon/refresh/default"; alias: "elm/icon/toolbar/refresh/default"; min: 32 32;
10207       images.image: "icon_refresh.png" COMP; parts { part { name: "base";
10208          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10209             image.normal: "icon_refresh.png"; } } } }
10210    group { name: "elm/icon/folder/default"; alias: "elm/icon/toolbar/folder/default"; min: 32 32;
10211       images.image: "icon_folder.png" COMP; parts { part { name: "base";
10212          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10213             image.normal: "icon_folder.png"; } } } }
10214    group { name: "elm/icon/file/default"; alias: "elm/icon/toolbar/file/default"; min: 32 32;
10215       images.image: "icon_file.png" COMP; parts { part { name: "base";
10216          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10217             image.normal: "icon_file.png"; } } } }
10218 ///////////////////////////////////////////////////////////////////////////////
10219    group { name: "elm/icon/menu/home/default"; min: 24 24; max: 24 24;
10220       images.image: "icon_home.png" COMP; parts { part { name: "base";
10221          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10222             image.normal: "icon_home.png"; } } } }
10223    group { name: "elm/icon/menu/close/default"; min: 24 24; max: 24 24;
10224       images.image: "icon_close.png" COMP; parts { part { name: "base";
10225          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10226             image.normal: "icon_close.png"; } } } }
10227    group { name: "elm/icon/menu/apps/default"; min: 24 24; max: 24 24;
10228       images.image: "icon_apps.png" COMP; parts { part { name: "base";
10229          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10230             image.normal: "icon_apps.png"; } } } }
10231    group { name: "elm/icon/menu/arrow_up/default"; min: 24 24; max: 24 24;
10232       images.image: "icon_arrow_up.png" COMP; parts { part { name: "base";
10233          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10234             image.normal: "icon_arrow_up.png"; } } } }
10235    group { name: "elm/icon/menu/arrow_down/default"; min: 24 24; max: 24 24;
10236       images.image: "icon_arrow_down.png" COMP; parts { part { name: "base";
10237          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10238             image.normal: "icon_arrow_down.png"; } } } }
10239    group { name: "elm/icon/menu/arrow_left/default"; min: 24 24; max: 24 24;
10240       images.image: "icon_arrow_left.png" COMP; parts { part { name: "base";
10241          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10242             image.normal: "icon_arrow_left.png"; } } } }
10243    group { name: "elm/icon/menu/arrow_right/default"; min: 24 24; max: 24 24;
10244       images.image: "icon_arrow_right.png" COMP; parts { part { name: "base";
10245          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10246             image.normal: "icon_arrow_right.png"; } } } }
10247    group { name: "elm/icon/menu/chat/default"; min: 24 24; max: 24 24;
10248       images.image: "icon_chat.png" COMP; parts { part { name: "base";
10249          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10250             image.normal: "icon_chat.png"; } } } }
10251    group { name: "elm/icon/menu/clock/default"; min: 24 24; max: 24 24;
10252       images.image: "icon_clock.png" COMP; parts { part { name: "base";
10253          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10254             image.normal: "icon_clock.png"; } } } }
10255    group { name: "elm/icon/menu/delete/default"; min: 24 24; max: 24 24;
10256       images.image: "icon_delete.png" COMP; parts { part { name: "base";
10257          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10258             image.normal: "icon_delete.png"; } } } }
10259    group { name: "elm/icon/menu/edit/default"; min: 24 24; max: 24 24;
10260       images.image: "icon_edit.png" COMP; parts { part { name: "base";
10261          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10262             image.normal: "icon_edit.png"; } } } }
10263    group { name: "elm/icon/menu/refresh/default"; min: 24 24; max: 24 24;
10264       images.image: "icon_refresh.png" COMP; parts { part { name: "base";
10265          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10266             image.normal: "icon_refresh.png"; } } } }
10267    group { name: "elm/icon/menu/folder/default"; min: 24 24; max: 24 24;
10268       images.image: "icon_folder.png" COMP; parts { part { name: "base";
10269          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10270             image.normal: "icon_folder.png"; } } } }
10271    group { name: "elm/icon/menu/file/default"; min: 24 24; max: 24 24;
10272       images.image: "icon_file.png" COMP; parts { part { name: "base";
10273          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10274             image.normal: "icon_file.png"; } } } }
10275
10276 ///////////////////////////////////////////////////////////////////////////////
10277    group { name: "elm/toolbar/base/default";
10278       images {
10279          image: "bt_dis_base.png" COMP;
10280          image: "bt_dis_hilight.png" COMP;
10281          image: "bt_dis_shine.png" COMP;
10282          image: "icon_left_arrow.png" COMP;
10283          image: "icon_right_arrow.png" COMP;
10284       }
10285       parts {
10286          part { name: "base";
10287             mouse_events: 1;
10288             description { state: "default" 0.0;
10289                rel1 {
10290                   relative: 0.0 0.0;
10291                   offset: 2 2;
10292                }
10293                rel2.offset: -3 -3;
10294                image {
10295                   normal: "bt_dis_base.png";
10296                   border: 4 4 4 4;
10297                }
10298                image.middle: SOLID;
10299             }
10300          }
10301          part { name: "clipper";
10302             type: RECT;
10303             mouse_events: 0;
10304             description {
10305                state: "default" 0.0;
10306                rel1 {
10307                   to: "base";
10308                   offset: 2 2;
10309                }
10310                rel2 {
10311                   to: "base";
10312                   offset: -3 -3;
10313                }
10314             }
10315          }
10316          part { name: "elm.swallow.content";
10317             clip_to: "clipper";
10318             type: SWALLOW;
10319             description {
10320                state: "default" 0.0;
10321                rel1.to: "clipper";
10322                rel2.to: "clipper";
10323             }
10324          }
10325          part { name: "over2";
10326             mouse_events: 0;
10327             description { state: "default" 0.0;
10328                rel1.to: "base";
10329                rel2.to: "base";
10330                image {
10331                   normal: "bt_dis_shine.png";
10332                   border: 4 4 4 4;
10333                }
10334             }
10335          }
10336          part { name: "over1";
10337             mouse_events: 0;
10338             description { state: "default" 0.0;
10339                rel1.to: "base";
10340                rel2.to: "base";
10341                rel2.relative: 1.0 0.5;
10342                image {
10343                   normal: "bt_dis_hilight.png";
10344                   border: 4 4 4 0;
10345                }
10346                color: 255 255 255 128;
10347             }
10348          }
10349          part { name: "left_arrow";
10350             mouse_events: 0;
10351             description { state: "default" 0.0;
10352                image.normal: "icon_left_arrow.png";
10353                aspect: 1.0 1.0;
10354                aspect_preference: VERTICAL;
10355                align: 0.0 0.5;
10356                min: 32 32;
10357                max: 32 32;
10358             }
10359             description { state: "hidden" 0.0;
10360                inherit: "default" 0.0;
10361                visible: 0;
10362                color: 255 255 255 0;
10363             }
10364          }
10365          part { name: "right_arrow";
10366             mouse_events: 0;
10367             description { state: "default" 0.0;
10368                image.normal: "icon_right_arrow.png";
10369                aspect: 1.0 1.0;
10370                aspect_preference: VERTICAL;
10371                align: 1.0 0.5;
10372                min: 32 32;
10373                max: 32 32;
10374             }
10375             description { state: "hidden" 0.0;
10376                inherit: "default" 0.0;
10377                visible: 0;
10378                color: 255 255 255 0;
10379             }
10380          }
10381          part { name: "event";
10382             type: RECT;
10383             mouse_events: 1;
10384             repeat_events: 1;
10385             description { state: "default" 0.0;
10386                color: 0 0 0 0;
10387             }
10388          }
10389       }
10390       programs {
10391          program { name: "sb_hbar_show";
10392             signal: "elm,action,show,hbar";
10393             source: "elm";
10394             action:  STATE_SET "default" 0.0;
10395             transition: LINEAR 0.5;
10396             target: "left_arrow";
10397             target: "right_arrow";
10398          }
10399          program { name: "sb_hbar_hide";
10400             signal: "elm,action,hide,hbar";
10401             source: "elm";
10402             action:  STATE_SET "hidden" 0.0;
10403             target: "left_arrow";
10404             target: "right_arrow";
10405             transition: LINEAR 0.5;
10406          }
10407       }
10408    }
10409
10410    group { name: "elm/toolbar/item/default";
10411        images {
10412            image: "toolbar_sel.png" COMP;
10413        }
10414        data.item: "transition_animation_on" "1";
10415        parts {
10416            part { name: "label2";
10417                type: TEXT;
10418                mouse_events:  0;
10419                scale: 1;
10420                clip_to: "elm.text.clipper";
10421                description { state: "default" 0.0;
10422                    align: 0.5 1.0;
10423                    fixed: 0 1;
10424                    rel1.to: "elm.text";
10425                    rel2.to: "elm.text";
10426                    color: 0 0 0 255;
10427                    text {
10428                        font: "Sans";
10429                        text_source: "elm.text";
10430                        size: 10;
10431                        min: 1 1;
10432                        align: 0.5 0.5;
10433                        text_class: "toolbar_item";
10434                    }
10435                }
10436                description { state: "selected" 0.0;
10437                    inherit: "default" 0.0;
10438                    visible: 0;
10439                }
10440                description { state: "disabled" 0.0;
10441                    inherit: "default" 0.0;
10442                    color: 0 0 0 128;
10443                    color3: 0 0 0 0;
10444                }
10445                description { state: "disabled_visible" 0.0;
10446                    inherit: "default" 0.0;
10447                    color: 0 0 0 128;
10448                    color3: 0 0 0 0;
10449                    visible: 1;
10450                    text.min: 1 1;
10451                }
10452            }
10453            part { name: "label2_new";
10454                type: TEXT;
10455                mouse_events:  0;
10456                scale: 1;
10457                clip_to: "elm.text_new.clipper";
10458                description { state: "default" 0.0;
10459                    align: 0.5 1.0;
10460                    fixed: 0 1;
10461                    rel1.to: "elm.text_new";
10462                    rel2.to: "elm.text_new";
10463                    color: 0 0 0 255;
10464                    text {
10465                        font: "Sans";
10466                        text_source: "elm.text_new";
10467                        size: 10;
10468                        min: 1 1;
10469                        align: 0.5 0.5;
10470                        text_class: "toolbar_item";
10471                    }
10472                }
10473                description { state: "selected" 0.0;
10474                    inherit: "default" 0.0;
10475                    visible: 0;
10476                }
10477                description { state: "disabled" 0.0;
10478                    inherit: "default" 0.0;
10479                    color: 0 0 0 128;
10480                    color3: 0 0 0 0;
10481                }
10482                description { state: "disabled_visible" 0.0;
10483                    inherit: "default" 0.0;
10484                    color: 0 0 0 128;
10485                    color3: 0 0 0 0;
10486                    visible: 1;
10487                    text.min: 1 1;
10488                }
10489            }
10490            part { name: "bg";
10491                mouse_events: 0;
10492                description { state: "default" 0.0;
10493                    visible: 0;
10494                    color: 255 255 255 0;
10495                    image {
10496                        normal: "toolbar_sel.png";
10497                        border: 3 3 0 0;
10498                    }
10499                    image.middle: SOLID;
10500                    fill.smooth: 0;
10501                }
10502                description { state: "selected" 0.0;
10503                    inherit: "default" 0.0;
10504                    visible: 1;
10505                    color: 255 255 255 255;
10506                }
10507                description { state: "disabled" 0.0;
10508                    inherit: "default" 0.0;
10509                    visible: 0;
10510                    color: 255 255 255 0;
10511                }
10512            }
10513            part { name: "elm.swallow.icon";
10514                type: SWALLOW;
10515                clip_to: "elm.icon.clipper";
10516                description { state: "default" 0.0;
10517                    align: 0.5 0.5;
10518                    fixed: 0 0;
10519                    rel1 {
10520                        relative: 0.0 0.0;
10521                        offset: 2 2;
10522                    }
10523                    rel2 {
10524                        to_y: "elm.text";
10525                        relative: 1.0 0.0;
10526                        offset: -3 -1;
10527                    }
10528                    color: 0 0 0 0;
10529                }
10530            }
10531            part { name: "elm.swallow.icon_new";
10532                type: SWALLOW;
10533                clip_to: "elm.icon_new.clipper";
10534                description { state: "default" 0.0;
10535                    align: 0.5 0.5;
10536                    fixed: 0 0;
10537                    rel1 {
10538                        relative: 0.0 0.0;
10539                        offset: 2 2;
10540                    }
10541                    rel2 {
10542                        to_y: "elm.text_new";
10543                        relative: 1.0 0.0;
10544                        offset: -3 -1;
10545                    }
10546                    color: 0 0 0 0;
10547                }
10548            }
10549            part { name: "elm.text";
10550                type: TEXT;
10551                effect: SOFT_SHADOW;
10552                mouse_events:  0;
10553                scale: 1;
10554                clip_to: "elm.text.clipper";
10555                description { state: "default" 0.0;
10556                    align: 0.5 1.0;
10557                    fixed: 0 1;
10558                    rel1 {
10559                        relative: 0.0 1.0;
10560                        offset:   0 -1;
10561                    }
10562                    rel2 {
10563                        relative: 1.0 1.0;
10564                        offset:   -1 -1;
10565                    }
10566                    visible: 0;
10567                    color: 224 224 224 255;
10568                    color3: 0 0 0 32;
10569                    text {
10570                        font: "Sans:style=Bold";
10571                        size: 10;
10572                        min: 1 1;
10573                        align: 0.5 0.5;
10574                        text_class: "toolbar_item";
10575                    }
10576                }
10577                description { state: "selected" 0.0;
10578                    inherit: "default" 0.0;
10579                    visible: 1;
10580                }
10581                description { state: "visible" 0.0;
10582                    inherit: "default" 0.0;
10583                    visible: 1;
10584                    text.min: 1 1;
10585                }
10586                description { state: "disabled" 0.0;
10587                    inherit: "default" 0.0;
10588                    color: 0 0 0 128;
10589                    color3: 0 0 0 0;
10590                }
10591                description { state: "disabled_visible" 0.0;
10592                    inherit: "default" 0.0;
10593                    color: 0 0 0 128;
10594                    color3: 0 0 0 0;
10595                    visible: 1;
10596                    text.min: 1 1;
10597                }
10598            }
10599            part { name: "elm.text_new";
10600                type: TEXT;
10601                effect: SOFT_SHADOW;
10602                mouse_events:  0;
10603                clip_to: "elm.text_new.clipper";
10604                scale: 1;
10605                description { state: "default" 0.0;
10606                    align: 0.5 1.0;
10607                    fixed: 0 1;
10608                    rel1 {
10609                        relative: 0.0 1.0;
10610                        offset:   0 -1;
10611                    }
10612                    rel2 {
10613                        relative: 1.0 1.0;
10614                        offset:   -1 -1;
10615                    }
10616                    visible: 0;
10617                    color: 224 224 224 255;
10618                    color3: 0 0 0 32;
10619                    text {
10620                        font: "Sans:style=Bold";
10621                        size: 10;
10622                        min: 1 1;
10623                        align: 0.5 0.5;
10624                        text_class: "toolbar_item";
10625                    }
10626                }
10627                description { state: "selected" 0.0;
10628                    inherit: "default" 0.0;
10629                    visible: 1;
10630                }
10631                description { state: "visible" 0.0;
10632                    inherit: "default" 0.0;
10633                    visible: 1;
10634                    text.min: 1 1;
10635                }
10636                description { state: "disabled" 0.0;
10637                    inherit: "default" 0.0;
10638                    color: 0 0 0 128;
10639                    color3: 0 0 0 0;
10640                }
10641                description { state: "disabled_visible" 0.0;
10642                    inherit: "default" 0.0;
10643                    color: 0 0 0 128;
10644                    color3: 0 0 0 0;
10645                    visible: 1;
10646                    text.min: 1 1;
10647                }
10648            }
10649            part { name: "elm.text.clipper";
10650                type: RECT;
10651                description { state: "default" 0.0;
10652                    color: 255 255 255 255;
10653                }
10654                description { state: "animation" 0.0;
10655                    color: 255 255 255 0;
10656                }
10657            }
10658            part { name: "elm.text_new.clipper";
10659                type: RECT;
10660                description { state: "default" 0.0;
10661                    color: 255 255 255 0;
10662                }
10663                description { state: "animation" 0.0;
10664                    color: 255 255 255 255;
10665                }
10666            }
10667            part { name: "elm.icon.clipper";
10668                type: RECT;
10669                description { state: "default" 0.0;
10670                    color: 255 255 255 255;
10671                }
10672                description { state: "animation" 0.0;
10673                    color: 255 255 255 0;
10674                }
10675            }
10676            part { name: "elm.icon_new.clipper";
10677                type: RECT;
10678                description { state: "default" 0.0;
10679                    color: 255 255 255 0;
10680                }
10681                description { state: "animation" 0.0;
10682                    color: 255 255 255 255;
10683                }
10684            }
10685            part { name: "event";
10686                type: RECT;
10687                mouse_events: 1;
10688                ignore_flags: ON_HOLD;
10689                description { state: "default" 0.0;
10690                    color: 0 0 0 0;
10691                }
10692            }
10693        }
10694        programs {
10695            program { name: "go_active";
10696                signal:  "elm,state,selected";
10697                source:  "elm";
10698                action:  STATE_SET "selected" 0.0;
10699                target:  "bg";
10700                target:  "elm.text";
10701                target:  "label2";
10702                target:  "elm.text_new";
10703                target:  "label2_new";
10704                transition: LINEAR 0.2;
10705            }
10706            program { name: "go_passive";
10707                signal:  "elm,state,unselected";
10708                source:  "elm";
10709                action:  STATE_SET "default" 0.0;
10710                target:  "bg";
10711                target:  "elm.text";
10712                target:  "label2";
10713                target:  "elm.text_new";
10714                target:  "label2_new";
10715                transition: LINEAR 0.1;
10716            }
10717            program { name: "go";
10718                signal:  "mouse,up,1";
10719                source:  "event";
10720                action:  SIGNAL_EMIT "elm,action,click" "elm";
10721            }
10722            program { name: "mouse,in";
10723               signal:  "mouse,in";
10724               source:  "event";
10725               action:  SIGNAL_EMIT "elm,mouse,in" "elm";
10726            }
10727            program { name: "mouse,out";
10728               signal:  "mouse,out";
10729               source:  "event";
10730               action:  SIGNAL_EMIT "elm,mouse,out" "elm";
10731            }
10732            program { name: "disable";
10733                signal: "elm,state,disabled";
10734                source: "elm";
10735                action: STATE_SET "disabled" 0.0;
10736                target: "label2";
10737                target: "label2_new";
10738                target: "bg";
10739                after: "disable_text";
10740            }
10741            program { name: "disable_text";
10742                script {
10743                    new st[31];
10744                    new Float:vl;
10745                    get_state(PART:"elm.text", st, 30, vl);
10746                    if (!strcmp(st, "visible"))
10747                    {
10748                       set_state(PART:"elm.text", "disabled_visible", 0.0);
10749                       set_state(PART:"elm.text_new", "disabled_visible", 0.0);
10750                    }
10751                    else
10752                    {
10753                       set_state(PART:"elm.text", "disabled", 0.0);
10754                       set_state(PART:"elm.text_new", "disabled", 0.0);
10755                    }
10756                }
10757            }
10758            program { name: "enable";
10759                signal: "elm,state,enabled";
10760                source: "elm";
10761                action: STATE_SET "default" 0.0;
10762                target: "label2";
10763                target: "label2_new";
10764                target: "bg";
10765                after: "enable_text";
10766            }
10767            program { name: "enable_text";
10768                script {
10769                    new st[31];
10770                    new Float:vl;
10771                    get_state(PART:"elm.text", st, 30, vl);
10772                    if (!strcmp(st, "disabled_visible"))
10773                    {
10774                       set_state(PART:"elm.text", "visible", 0.0);
10775                       set_state(PART:"elm.text_new", "visible", 0.0);
10776                    }
10777                    else
10778                    {
10779                       set_state(PART:"elm.text", "default", 0.0);
10780                       set_state(PART:"elm.text_new", "default", 0.0);
10781                    }
10782                }
10783            }
10784            program { name: "label_set,animation,forward";
10785               signal: "elm,state,label_set,forward";
10786               source: "elm";
10787               after: "label_set,animation";
10788            }
10789            program { name: "label_set,animation,backward";
10790               signal: "elm,state,label_set,backward";
10791               source: "elm";
10792               after: "label_set,animation";
10793            }
10794            program { name: "label_set,animation";
10795               signal: "elm,state,label_set";
10796               source: "elm";
10797               action: STATE_SET "animation" 0.0;
10798               target: "elm.text.clipper";
10799               target: "elm.text_new.clipper";
10800               transition: LINEAR 0.2;
10801               after: "label_set,animation,done";
10802            }
10803            program { name: "label_set,animation,done";
10804               action: SIGNAL_EMIT "elm,state,label_set,done" "elm";
10805            }
10806            program { name: "label,reset";
10807               signal: "elm,state,label,reset";
10808               source: "elm";
10809               action: STATE_SET "default" 0.0;
10810               target: "elm.text.clipper";
10811               target: "elm.text_new.clipper";
10812            }
10813            program { name: "icon_set,animation,forward";
10814               signal: "elm,state,icon_set,forward";
10815               source: "elm";
10816               after: "icon_set,animation";
10817            }
10818            program { name: "icon_set,animation,backward";
10819               signal: "elm,state,icon_set,backward";
10820               source: "elm";
10821               after: "icon_set,animation";
10822            }
10823            program { name: "icon_set,animation";
10824               signal: "elm,state,icon_set";
10825               source: "elm";
10826               action: STATE_SET "animation" 0.0;
10827               target: "elm.icon.clipper";
10828               target: "elm.icon_new.clipper";
10829               transition: LINEAR 0.2;
10830               after: "icon_set,animation,done";
10831            }
10832            program { name: "icon_set,animation,done";
10833               action: SIGNAL_EMIT "elm,state,icon_set,done" "elm";
10834            }
10835            program { name: "icon,reset";
10836               signal: "elm,state,icon,reset";
10837               source: "elm";
10838               action: STATE_SET "default" 0.0;
10839               target: "elm.icon.clipper";
10840               target: "elm.icon_new.clipper";
10841            }
10842        }
10843    }
10844
10845    group { name: "elm/toolbar/separator/default";
10846       images {
10847          image: "toolbar_separator_v.png" COMP;
10848       }
10849       parts {
10850          part { name: "separator"; // separator group
10851             description { state: "default" 0.0;
10852                min: 2 2;
10853                max: 2 9999;
10854                rel1.offset: 4 4;
10855                rel2.offset: -5 -5;
10856                image {
10857                   normal: "toolbar_separator_v.png";
10858                }
10859                fill {
10860                   smooth: 0;
10861                }
10862             }
10863          }
10864       }
10865    }
10866
10867    ///////////////////////////////////////////////////////////////////////////////
10868    group { name: "elm/notify/block_events/default";
10869        parts {
10870            part { name: "block_events";
10871                type: RECT;
10872                description { state: "default" 0.0;
10873                    color: 0 0 0 64;
10874                    visible: 1;
10875                }
10876            }
10877        }
10878            programs {
10879                    program {
10880                                 name: "block_clicked";
10881                                 signal: "mouse,clicked,1";
10882                                 source: "block_events";
10883                                 action: SIGNAL_EMIT "elm,action,clicked" "elm";
10884                    }
10885            }
10886    }
10887    group { name: "elm/notify/top/default";
10888        //this group is a design similar to the inwin group
10889        images {
10890            image: "shad_circ.png" COMP;
10891            image: "bt_dis_base.png" COMP;
10892            image: "bt_dis_hilight.png" COMP;
10893        }
10894        parts {
10895            part { name: "base";
10896                type: RECT;
10897                mouse_events: 0;
10898                repeat_events: 1;
10899                description { state: "default" 0.0;
10900                    color: 0 0 0 0;
10901                    rel1.offset: 10 10;
10902                    rel2.offset: -10 -10;
10903                    rel1.relative: 0.0 -1.0;
10904                    rel2.relative: 1.0 0.0;
10905                }
10906                description { state: "visible" 0.0;
10907                    inherit: "default" 0.0;
10908                    color: 0 0 0 64;
10909                    rel1.relative: 0.0 0.0;
10910                    rel2.relative: 1.0 1.0;
10911                }
10912            }
10913            part { name: "shad";
10914                mouse_events:  0;
10915                description { state: "default" 0.0;
10916                    image.normal: "shad_circ.png";
10917                    rel1.to: "elm.swallow.content";
10918                    rel1.offset: -64 -64;
10919                    rel2.to: "elm.swallow.content";
10920                    rel2.offset: 63 63;
10921                    fill.smooth: 0;
10922                }
10923            }
10924            part { name: "pop";
10925                mouse_events: 1;
10926                description { state: "default" 0.0;
10927                    rel1.to: "elm.swallow.content";
10928                    rel1.offset: -5 -5;
10929                    rel2.to: "elm.swallow.content";
10930                    rel2.offset: 4 4;
10931                    image {
10932                        normal: "bt_dis_base.png";
10933                        border: 4 4 4 4;
10934                    }
10935                    image.middle: SOLID;
10936                }
10937            }
10938            part { name: "popover";
10939                mouse_events: 0;
10940                description { state: "default" 0.0;
10941                    rel1.to: "pop";
10942                    rel2.to: "pop";
10943                    rel2.relative: 1.0 0.5;
10944                    image {
10945                        normal: "bt_dis_hilight.png";
10946                        border: 4 4 4 0;
10947                    }
10948                }
10949            }
10950            part { name: "elm.swallow.content";
10951                type: SWALLOW;
10952                description { state: "default" 0.0;
10953                    rel1.to: "base";
10954                    rel2.to: "base";
10955                }
10956            }
10957        }
10958        programs {
10959            program { name: "show";
10960                signal: "elm,action,show";
10961                source: "elm";
10962                action: STATE_SET "visible" 0.0;
10963                target: "base";
10964            }
10965            program { name: "show_2";
10966                 signal: "show";
10967                 action: STATE_SET "default" 0.0;
10968                 target: "base";
10969                 after: "show_3";
10970            }
10971            program { name: "show_3";
10972                 signal: "show";
10973                 action: STATE_SET "visible" 0.0;
10974                 target: "base";
10975                 transition: LINEAR 0.5;
10976            }
10977            program { name: "hide";
10978                signal: "elm,action,hide";
10979                source: "elm";
10980                action: STATE_SET "default" 0.0;
10981                target: "base";
10982            }
10983        }
10984    }
10985    group { name: "elm/notify/center/default";
10986        //this group is a design similar to the inwin group
10987        images {
10988            image: "bt_dis_base.png" COMP;
10989        }
10990        parts {
10991            part { name: "base";
10992                type: RECT;
10993                mouse_events: 0;
10994                repeat_events: 1;
10995                description { state: "default" 0.0;
10996                    color: 0 0 0 0;
10997                    rel1.relative: 0.0 0.0;
10998                    rel2.relative: 1.0 1.0;
10999                }
11000            }
11001            part { name: "pop";
11002                mouse_events: 1;
11003                description { state: "default" 0.0;
11004                    rel1.to: "elm.swallow.content";
11005                    rel1.offset: -5 -5;
11006                    rel2.to: "elm.swallow.content";
11007                    rel2.offset: 4 4;
11008                    image {
11009                        normal: "bt_dis_base.png";
11010                        border: 4 4 4 4;
11011                    }
11012                }
11013            }
11014            part { name: "elm.swallow.content";
11015                type: SWALLOW;
11016                description { state: "default" 0.0;
11017                    rel1.to: "base";
11018                    rel2.to: "base";
11019                }
11020            }
11021        }
11022        programs {
11023            program { name: "show";
11024                signal: "elm,action,show";
11025                source: "elm";
11026                action: STATE_SET "default" 0.0;
11027                target: "base";
11028            }
11029            program { name: "show_2";
11030                 signal: "show";
11031                 action: STATE_SET "default" 0.0;
11032                 target: "base";
11033            }
11034            program { name: "hide";
11035                signal: "elm,action,hide";
11036                source: "elm";
11037                action: STATE_SET "default" 0.0;
11038                target: "base";
11039            }
11040        }
11041    }
11042    group { name: "elm/notify/bottom/default";
11043        //this group is a design similar to the inwin group
11044        images {
11045            image: "shad_circ.png" COMP;
11046            image: "bt_dis_base.png" COMP;
11047            image: "bt_dis_hilight.png" COMP;
11048        }
11049        parts {
11050            part { name: "base";
11051                type: RECT;
11052                mouse_events: 0;
11053                repeat_events: 1;
11054                description { state: "default" 0.0;
11055                    color: 0 0 0 0;
11056                    rel1.offset: 10 10;
11057                    rel2.offset: -10 -10;
11058                    rel1.relative: 0.0 1.0;
11059                    rel2.relative: 1.0 2.0;
11060                }
11061                description { state: "visible" 0.0;
11062                    inherit: "default" 0.0;
11063                    color: 0 0 0 64;
11064                    rel1.relative: 0.0 0.0;
11065                    rel2.relative: 1.0 1.0;
11066                }
11067            }
11068            part { name: "shad";
11069                mouse_events:  0;
11070                description { state: "default" 0.0;
11071                    image.normal: "shad_circ.png";
11072                    rel1.to: "elm.swallow.content";
11073                    rel1.offset: -64 -64;
11074                    rel2.to: "elm.swallow.content";
11075                    rel2.offset: 63 63;
11076                    fill.smooth: 0;
11077                }
11078            }
11079            part { name: "pop";
11080                mouse_events: 1;
11081                description { state: "default" 0.0;
11082                    rel1.to: "elm.swallow.content";
11083                    rel1.offset: -5 -5;
11084                    rel2.to: "elm.swallow.content";
11085                    rel2.offset: 4 4;
11086                    image {
11087                        normal: "bt_dis_base.png";
11088                        border: 4 4 4 4;
11089                    }
11090                    image.middle: SOLID;
11091                }
11092            }
11093            part { name: "popover";
11094                mouse_events: 0;
11095                description { state: "default" 0.0;
11096                    rel1.to: "pop";
11097                    rel2.to: "pop";
11098                    rel2.relative: 1.0 0.5;
11099                    image {
11100                        normal: "bt_dis_hilight.png";
11101                        border: 4 4 4 0;
11102                    }
11103                }
11104            }
11105            part { name: "elm.swallow.content";
11106                type: SWALLOW;
11107                description { state: "default" 0.0;
11108                    rel1.to: "base";
11109                    rel2.to: "base";
11110                }
11111            }
11112        }
11113        programs {
11114            program { name: "show";
11115                signal: "elm,action,show";
11116                source: "elm";
11117                action: STATE_SET "visible" 0.0;
11118                target: "base";
11119            }
11120            program { name: "show_2";
11121                 signal: "show";
11122                 action: STATE_SET "default" 0.0;
11123                 target: "base";
11124                 after: "show_3";
11125            }
11126            program { name: "show_3";
11127                 signal: "show";
11128                 action: STATE_SET "visible" 0.0;
11129                 target: "base";
11130                 transition: LINEAR 0.5;
11131            }
11132            program { name: "hide";
11133                signal: "elm,action,hide";
11134                source: "elm";
11135                action: STATE_SET "default" 0.0;
11136                target: "base";
11137            }
11138        }
11139    }
11140    group { name: "elm/notify/left/default";
11141        //this group is a design similar to the inwin group
11142        images {
11143            image: "shad_circ.png" COMP;
11144            image: "bt_dis_base.png" COMP;
11145            image: "bt_dis_hilight.png" COMP;
11146        }
11147        parts {
11148            part { name: "base";
11149                type: RECT;
11150                mouse_events: 0;
11151                repeat_events: 1;
11152                description { state: "default" 0.0;
11153                    color: 0 0 0 0;
11154                    rel1.offset: 10 10;
11155                    rel2.offset: -10 -10;
11156                    rel1.relative: -1.0 0.0;
11157                    rel2.relative: 0.0 1.0;
11158                }
11159                description { state: "visible" 0.0;
11160                    inherit: "default" 0.0;
11161                    color: 0 0 0 64;
11162                    rel1.relative: 0.0 0.0;
11163                    rel2.relative: 1.0 1.0;
11164                }
11165            }
11166            part { name: "shad";
11167                mouse_events:  0;
11168                description { state: "default" 0.0;
11169                    image.normal: "shad_circ.png";
11170                    rel1.to: "elm.swallow.content";
11171                    rel1.offset: -64 -64;
11172                    rel2.to: "elm.swallow.content";
11173                    rel2.offset: 63 63;
11174                    fill.smooth: 0;
11175                }
11176            }
11177            part { name: "pop";
11178                mouse_events: 1;
11179                description { state: "default" 0.0;
11180                    rel1.to: "elm.swallow.content";
11181                    rel1.offset: -5 -5;
11182                    rel2.to: "elm.swallow.content";
11183                    rel2.offset: 4 4;
11184                    image {
11185                        normal: "bt_dis_base.png";
11186                        border: 4 4 4 4;
11187                    }
11188                    image.middle: SOLID;
11189                }
11190            }
11191            part { name: "popover";
11192                mouse_events: 0;
11193                description { state: "default" 0.0;
11194                    rel1.to: "pop";
11195                    rel2.to: "pop";
11196                    rel2.relative: 1.0 0.5;
11197                    image {
11198                        normal: "bt_dis_hilight.png";
11199                        border: 4 4 4 0;
11200                    }
11201                }
11202            }
11203            part { name: "elm.swallow.content";
11204                type: SWALLOW;
11205                description { state: "default" 0.0;
11206                    rel1.to: "base";
11207                    rel2.to: "base";
11208                }
11209            }
11210        }
11211        programs {
11212            program { name: "show";
11213                signal: "elm,action,show";
11214                source: "elm";
11215                action: STATE_SET "visible" 0.0;
11216                target: "base";
11217            }
11218            program { name: "show_2";
11219                signal: "show";
11220                action: STATE_SET "default" 0.0;
11221                target: "base";
11222                after: "show_3";
11223            }
11224            program { name: "show_3";
11225                signal: "show";
11226                action: STATE_SET "visible" 0.0;
11227                target: "base";
11228                transition: LINEAR 0.5;
11229            }
11230            program { name: "hide";
11231                signal: "elm,action,hide";
11232                source: "elm";
11233                action: STATE_SET "default" 0.0;
11234                target: "base";
11235            }
11236        }
11237    }
11238    group { name: "elm/notify/right/default";
11239        //this group is a design similar to the inwin group
11240        images {
11241            image: "shad_circ.png" COMP;
11242            image: "bt_dis_base.png" COMP;
11243            image: "bt_dis_hilight.png" COMP;
11244        }
11245        parts {
11246            part { name: "base";
11247                type: RECT;
11248                mouse_events: 0;
11249                repeat_events: 1;
11250                 description { state: "default" 0.0;
11251                    color: 0 0 0 0;
11252                    rel1.offset: 10 10;
11253                    rel2.offset: -10 -10;
11254                    rel1.relative: 1.0 0.0;
11255                    rel2.relative: 2.0 1.0;
11256                }
11257                description { state: "visible" 0.0;
11258                    inherit: "default" 0.0;
11259                    color: 0 0 0 64;
11260                    rel1.relative: 0.0 0.0;
11261                    rel2.relative: 1.0 1.0;
11262                }
11263            }
11264            part { name: "shad";
11265                mouse_events:  0;
11266                description { state: "default" 0.0;
11267                    image.normal: "shad_circ.png";
11268                    rel1.to: "elm.swallow.content";
11269                    rel1.offset: -64 -64;
11270                    rel2.to: "elm.swallow.content";
11271                    rel2.offset: 63 63;
11272                    fill.smooth: 0;
11273                }
11274            }
11275            part { name: "pop";
11276                mouse_events: 1;
11277                description { state: "default" 0.0;
11278                    rel1.to: "elm.swallow.content";
11279                    rel1.offset: -5 -5;
11280                    rel2.to: "elm.swallow.content";
11281                    rel2.offset: 4 4;
11282                    image {
11283                        normal: "bt_dis_base.png";
11284                        border: 4 4 4 4;
11285                    }
11286                    image.middle: SOLID;
11287                }
11288            }
11289            part { name: "popover";
11290                mouse_events: 0;
11291                description { state: "default" 0.0;
11292                    rel1.to: "pop";
11293                    rel2.to: "pop";
11294                    rel2.relative: 1.0 0.5;
11295                    image {
11296                        normal: "bt_dis_hilight.png";
11297                        border: 4 4 4 0;
11298                    }
11299                }
11300            }
11301            part { name: "elm.swallow.content";
11302                type: SWALLOW;
11303                description { state: "default" 0.0;
11304                    rel1.to: "base";
11305                    rel2.to: "base";
11306                }
11307            }
11308        }
11309        programs {
11310            program { name: "show";
11311                signal: "elm,action,show";
11312                source: "elm";
11313                action: STATE_SET "visible" 0.0;
11314                target: "base";
11315            }
11316            program { name: "show_2";
11317                signal: "show";
11318                action: STATE_SET "default" 0.0;
11319                target: "base";
11320                after: "show_3";
11321            }
11322            program { name: "show_3";
11323                signal: "show";
11324                action: STATE_SET "visible" 0.0;
11325                target: "base";
11326                transition: LINEAR 0.5;
11327            }
11328            program { name: "hide";
11329                signal: "elm,action,hide";
11330                source: "elm";
11331                action: STATE_SET "default" 0.0;
11332                target: "base";
11333            }
11334        }
11335    }
11336    group { name: "elm/notify/top_left/default";
11337        //this group is a design similar to the inwin group
11338        images {
11339            image: "shad_circ.png" COMP;
11340            image: "bt_dis_base.png" COMP;
11341            image: "bt_dis_hilight.png" COMP;
11342        }
11343        parts {
11344            part { name: "base";
11345                type: RECT;
11346                mouse_events: 0;
11347                repeat_events: 1;
11348                 description { state: "default" 0.0;
11349                    color: 0 0 0 0;
11350                    rel1.offset: 10 10;
11351                    rel2.offset: -10 -10;
11352                    rel1.relative: 0.0 -1.0;
11353                    rel2.relative: 1.0 0.0;
11354                }
11355                description { state: "visible" 0.0;
11356                    inherit: "default" 0.0;
11357                    color: 0 0 0 64;
11358                    rel1.relative: 0.0 0.0;
11359                    rel2.relative: 1.0 1.0;
11360                }
11361            }
11362            part { name: "shad";
11363                mouse_events:  0;
11364                description { state: "default" 0.0;
11365                    image.normal: "shad_circ.png";
11366                    rel1.to: "elm.swallow.content";
11367                    rel1.offset: -64 -64;
11368                    rel2.to: "elm.swallow.content";
11369                    rel2.offset: 63 63;
11370                    fill.smooth: 0;
11371                }
11372            }
11373            part { name: "pop";
11374                mouse_events: 1;
11375                description { state: "default" 0.0;
11376                    rel1.to: "elm.swallow.content";
11377                    rel1.offset: -5 -5;
11378                    rel2.to: "elm.swallow.content";
11379                    rel2.offset: 4 4;
11380                    image {
11381                        normal: "bt_dis_base.png";
11382                        border: 4 4 4 4;
11383                    }
11384                    image.middle: SOLID;
11385                }
11386            }
11387            part { name: "popover";
11388                mouse_events: 0;
11389                description { state: "default" 0.0;
11390                    rel1.to: "pop";
11391                    rel2.to: "pop";
11392                    rel2.relative: 1.0 0.5;
11393                    image {
11394                        normal: "bt_dis_hilight.png";
11395                        border: 4 4 4 0;
11396                    }
11397                }
11398            }
11399            part { name: "elm.swallow.content";
11400                type: SWALLOW;
11401                description { state: "default" 0.0;
11402                    rel1.to: "base";
11403                    rel2.to: "base";
11404                }
11405            }
11406        }
11407        programs {
11408            program { name: "show";
11409                signal: "elm,action,show";
11410                source: "elm";
11411                action: STATE_SET "visible" 0.0;
11412                target: "base";
11413            }
11414            program { name: "show_2";
11415                signal: "show";
11416                action: STATE_SET "default" 0.0;
11417                target: "base";
11418                after: "show_3";
11419            }
11420            program { name: "show_3";
11421                signal: "show";
11422                action: STATE_SET "visible" 0.0;
11423                target: "base";
11424                transition: LINEAR 0.5;
11425            }
11426            program { name: "hide";
11427                signal: "elm,action,hide";
11428                source: "elm";
11429                action: STATE_SET "default" 0.0;
11430                target: "base";
11431            }
11432        }
11433    }
11434    group { name: "elm/notify/top_right/default";
11435        //this group is a design similar to the inwin group
11436        images {
11437            image: "shad_circ.png" COMP;
11438            image: "bt_dis_base.png" COMP;
11439            image: "bt_dis_hilight.png" COMP;
11440        }
11441        parts {
11442            part { name: "base";
11443                type: RECT;
11444                mouse_events: 0;
11445                repeat_events: 1;
11446                description { state: "default" 0.0;
11447                    color: 0 0 0 0;
11448                    rel1.offset: 10 10;
11449                    rel2.offset: -10 -10;
11450                    rel1.relative: 0.0 -1.0;
11451                    rel2.relative: 1.0 0.0;
11452                }
11453                description { state: "visible" 0.0;
11454                    inherit: "default" 0.0;
11455                    color: 0 0 0 64;
11456                    rel1.relative: 0.0 0.0;
11457                    rel2.relative: 1.0 1.0;
11458                }
11459            }
11460            part { name: "shad";
11461                mouse_events:  0;
11462                description { state: "default" 0.0;
11463                    image.normal: "shad_circ.png";
11464                    rel1.to: "elm.swallow.content";
11465                    rel1.offset: -64 -64;
11466                    rel2.to: "elm.swallow.content";
11467                    rel2.offset: 63 63;
11468                    fill.smooth: 0;
11469                }
11470            }
11471            part { name: "pop";
11472                mouse_events: 1;
11473                description { state: "default" 0.0;
11474                    rel1.to: "elm.swallow.content";
11475                    rel1.offset: -5 -5;
11476                    rel2.to: "elm.swallow.content";
11477                    rel2.offset: 4 4;
11478                    image {
11479                        normal: "bt_dis_base.png";
11480                        border: 4 4 4 4;
11481                    }
11482                    image.middle: SOLID;
11483                }
11484            }
11485            part { name: "popover";
11486                mouse_events: 0;
11487                description { state: "default" 0.0;
11488                    rel1.to: "pop";
11489                    rel2.to: "pop";
11490                    rel2.relative: 1.0 0.5;
11491                    image {
11492                        normal: "bt_dis_hilight.png";
11493                        border: 4 4 4 0;
11494                    }
11495                }
11496            }
11497            part { name: "elm.swallow.content";
11498                type: SWALLOW;
11499                description { state: "default" 0.0;
11500                    rel1.to: "base";
11501                    rel2.to: "base";
11502                }
11503            }
11504        }
11505        programs {
11506            program { name: "show";
11507                signal: "elm,action,show";
11508                source: "elm";
11509                action: STATE_SET "visible" 0.0;
11510                target: "base";
11511            }
11512            program { name: "show_2";
11513                signal: "show";
11514                action: STATE_SET "default" 0.0;
11515                target: "base";
11516                after: "show_3";
11517            }
11518            program { name: "show_3";
11519                signal: "show";
11520                action: STATE_SET "visible" 0.0;
11521                target: "base";
11522                transition: LINEAR 0.5;
11523            }
11524            program { name: "hide";
11525                signal: "elm,action,hide";
11526                source: "elm";
11527                action: STATE_SET "default" 0.0;
11528                target: "base";
11529            }
11530        }
11531    }
11532    group { name: "elm/notify/bottom_left/default";
11533        //this group is a design similar to the inwin group
11534        images {
11535            image: "shad_circ.png" COMP;
11536            image: "bt_dis_base.png" COMP;
11537            image: "bt_dis_hilight.png" COMP;
11538        }
11539        parts {
11540            part { name: "base";
11541                type: RECT;
11542                mouse_events: 0;
11543                repeat_events: 1;
11544                description { state: "default" 0.0;
11545                    color: 0 0 0 0;
11546                    rel1.offset: 10 10;
11547                    rel2.offset: -10 -10;
11548                    rel1.relative: 0.0 1.0;
11549                    rel2.relative: 1.0 2.0;
11550                }
11551                description { state: "visible" 0.0;
11552                    inherit: "default" 0.0;
11553                    color: 0 0 0 64;
11554                    rel1.relative: 0.0 0.0;
11555                    rel2.relative: 1.0 1.0;
11556                }
11557            }
11558            part { name: "shad";
11559                mouse_events:  0;
11560                description { state: "default" 0.0;
11561                    image.normal: "shad_circ.png";
11562                    rel1.to: "elm.swallow.content";
11563                    rel1.offset: -64 -64;
11564                    rel2.to: "elm.swallow.content";
11565                    rel2.offset: 63 63;
11566                    fill.smooth: 0;
11567                }
11568            }
11569            part { name: "pop";
11570                mouse_events: 1;
11571                description { state: "default" 0.0;
11572                    rel1.to: "elm.swallow.content";
11573                    rel1.offset: -5 -5;
11574                    rel2.to: "elm.swallow.content";
11575                    rel2.offset: 4 4;
11576                    image {
11577                        normal: "bt_dis_base.png";
11578                        border: 4 4 4 4;
11579                    }
11580                    image.middle: SOLID;
11581                }
11582            }
11583            part { name: "popover";
11584                mouse_events: 0;
11585                description { state: "default" 0.0;
11586                    rel1.to: "pop";
11587                    rel2.to: "pop";
11588                    rel2.relative: 1.0 0.5;
11589                    image {
11590                        normal: "bt_dis_hilight.png";
11591                        border: 4 4 4 0;
11592                    }
11593                }
11594            }
11595            part { name: "elm.swallow.content";
11596                type: SWALLOW;
11597                description { state: "default" 0.0;
11598                    rel1.to: "base";
11599                    rel2.to: "base";
11600                }
11601            }
11602        }
11603        programs {
11604            program { name: "show";
11605                signal: "elm,action,show";
11606                source: "elm";
11607                action: STATE_SET "visible" 0.0;
11608                target: "base";
11609            }
11610            program { name: "show_2";
11611                signal: "show";
11612                action: STATE_SET "default" 0.0;
11613                target: "base";
11614                after: "show_3";
11615            }
11616            program { name: "show_3";
11617                signal: "show";
11618                action: STATE_SET "visible" 0.0;
11619                target: "base";
11620                transition: LINEAR 0.5;
11621            }
11622            program { name: "hide";
11623                signal: "elm,action,hide";
11624                source: "elm";
11625                action: STATE_SET "default" 0.0;
11626                target: "base";
11627            }
11628        }
11629    }
11630    group { name: "elm/notify/bottom_right/default";
11631        //this group is a design similar to the inwin group
11632        images {
11633            image: "shad_circ.png" COMP;
11634            image: "bt_dis_base.png" COMP;
11635            image: "bt_dis_hilight.png" COMP;
11636        }
11637        parts {
11638            part { name: "base";
11639                type: RECT;
11640                mouse_events: 0;
11641                repeat_events: 1;
11642               description { state: "default" 0.0;
11643                    color: 0 0 0 0;
11644                    rel1.offset: 10 10;
11645                    rel2.offset: -10 -10;
11646                    rel1.relative: 0.0 1.0;
11647                    rel2.relative: 1.0 2.0;
11648                }
11649                description { state: "visible" 0.0;
11650                    inherit: "default" 0.0;
11651                    color: 0 0 0 64;
11652                    rel1.relative: 0.0 0.0;
11653                    rel2.relative: 1.0 1.0;
11654                }
11655            }
11656            part { name: "shad";
11657                mouse_events:  0;
11658                description { state: "default" 0.0;
11659                    image.normal: "shad_circ.png";
11660                    rel1.to: "elm.swallow.content";
11661                    rel1.offset: -64 -64;
11662                    rel2.to: "elm.swallow.content";
11663                    rel2.offset: 63 63;
11664                    fill.smooth: 0;
11665                }
11666            }
11667            part { name: "pop";
11668                mouse_events: 1;
11669                description { state: "default" 0.0;
11670                    rel1.to: "elm.swallow.content";
11671                    rel1.offset: -5 -5;
11672                    rel2.to: "elm.swallow.content";
11673                    rel2.offset: 4 4;
11674                    image {
11675                        normal: "bt_dis_base.png";
11676                        border: 4 4 4 4;
11677                    }
11678                    image.middle: SOLID;
11679                }
11680            }
11681            part { name: "popover";
11682                mouse_events: 0;
11683                description { state: "default" 0.0;
11684                    rel1.to: "pop";
11685                    rel2.to: "pop";
11686                    rel2.relative: 1.0 0.5;
11687                    image {
11688                        normal: "bt_dis_hilight.png";
11689                        border: 4 4 4 0;
11690                    }
11691                }
11692            }
11693            part { name: "elm.swallow.content";
11694                type: SWALLOW;
11695                description { state: "default" 0.0;
11696                    rel1.to: "base";
11697                    rel2.to: "base";
11698                }
11699            }
11700        }
11701        programs {
11702            program { name: "show";
11703                signal: "elm,action,show";
11704                source: "elm";
11705                action: STATE_SET "visible" 0.0;
11706                target: "base";
11707            }
11708            program { name: "show_2";
11709                signal: "show";
11710                action: STATE_SET "default" 0.0;
11711                target: "base";
11712                after: "show_3";
11713            }
11714            program { name: "show_3";
11715                signal: "show";
11716                action: STATE_SET "visible" 0.0;
11717                target: "base";
11718                transition: LINEAR 0.5;
11719            }
11720            program { name: "hide";
11721                signal: "elm,action,hide";
11722                source: "elm";
11723                action: STATE_SET "default" 0.0;
11724                target: "base";
11725            }
11726        }
11727    }
11728
11729 ///////////////////////////////////////////////////////////////////////////////
11730    group { name: "elm/slideshow/base/default";
11731       data {
11732          item: transitions "fade black_fade horizontal vertical square";
11733          item: layouts "fullscreen not_fullscreen";
11734       }
11735       parts {
11736          part { name: "whole";
11737                 type: RECT;
11738             description {
11739                state: "default" 0.0;
11740                visible: 1;
11741                color: 20 20 20 255;
11742             }
11743          }
11744          part { name: "image_1_whole";
11745             description {
11746                state: "default" 0.0;
11747                color: 255 255 255 255;
11748             }
11749             description {
11750                state: "fade_prev_next" 0.0;
11751                inherit: "default" 0.0;
11752                color: 255 255 255 0;
11753             }
11754             description {
11755                state: "black_fade_prev_next_init" 0.0;
11756                inherit: "default" 0.0;
11757                color: 255 255 255 255;
11758             }
11759             description {
11760                state: "black_fade_prev_next" 0.0;
11761                inherit: "default" 0.0;
11762                color: 0 0 0 255;
11763             }
11764             description {
11765                state: "horizontal_next_init" 0.0;
11766                inherit: "default" 0.0;
11767             }
11768             description {
11769                state: "horizontal_next" 0.0;
11770                inherit: "default" 0.0;
11771                rel1.relative: -1.0 0.0;
11772                rel2.relative: 0.0 1.0;
11773             }
11774             description {
11775                state: "horizontal_prev_init" 0.0;
11776                inherit: "default" 0.0;
11777             }
11778             description {
11779                state: "horizontal_prev" 0.0;
11780                inherit: "default" 0.0;
11781                rel1.relative: 1.0 0.0;
11782                rel2.relative: 2.0 1.0;
11783             }
11784             description {
11785                state: "vertical_next_init" 0.0;
11786                inherit: "default" 0.0;
11787             }
11788             description {
11789                state: "vertical_next" 0.0;
11790                inherit: "default" 0.0;
11791                rel1.relative: 0.0 -1.0;
11792                rel2.relative: 1.0 0.0;
11793             }
11794             description {
11795                state: "vertical_prev_init" 0.0;
11796                inherit: "default" 0.0;
11797             }
11798             description {
11799                state: "vertical_prev" 0.0;
11800                inherit: "default" 0.0;
11801                rel1.relative: 0.0 1.0;
11802                rel2.relative: 1.0 2.0;
11803             }
11804             description {
11805                state: "square_prev_next" 0.0;
11806                inherit: "default" 0.0;
11807                color: 255 255 255 0;
11808             }
11809          }
11810          part { name: "image_2_whole";
11811             description {
11812                state: "default" 0.0;
11813                visible: 1;
11814                color: 255 255 255 0;
11815             }
11816             description {
11817                state: "fade_prev_next" 0.0;
11818                inherit: "default" 0.0;
11819                color: 255 255 255 255;
11820             }
11821             description {
11822                state: "black_fade_prev_next_init" 0.0;
11823                inherit: "default" 0.0;
11824                color: 0 0 0 0;
11825             }
11826             description {
11827                state: "black_fade_prev_next" 0.0;
11828                inherit: "default" 0.0;
11829                color: 255 255 255 255;
11830             }
11831             description {
11832                state: "horizontal_next_init" 0.0;
11833                inherit: "default" 0.0;
11834                rel1.relative: 1.0 0.0;
11835                rel2.relative: 2.0 1.0;
11836                color: 255 255 255 255;
11837             }
11838             description {
11839                state: "horizontal_next" 0.0;
11840                inherit: "default" 0.0;
11841                color: 255 255 255 255;
11842             }
11843             description {
11844                state: "horizontal_prev_init" 0.0;
11845                inherit: "default" 0.0;
11846                rel1.relative: -1.0 0.0;
11847                rel2.relative: 0.0 1.0;
11848                color: 255 255 255 255;
11849             }
11850             description {
11851                state: "horizontal_prev" 0.0;
11852                inherit: "default" 0.0;
11853                color: 255 255 255 255;
11854             }
11855             description {
11856                state: "vertical_next_init" 0.0;
11857                inherit: "default" 0.0;
11858                rel1.relative: 0.0 1.0;
11859                rel2.relative: 1.0 2.0;
11860                color: 255 255 255 255;
11861             }
11862             description {
11863                state: "vertical_next" 0.0;
11864                inherit: "default" 0.0;
11865                color: 255 255 255 255;
11866             }
11867             description {
11868                state: "vertical_prev_init" 0.0;
11869                inherit: "default" 0.0;
11870                rel1.relative: 0.0 -1.0;
11871                rel2.relative: 1.0 0.0;
11872                color: 255 255 255 255;
11873             }
11874             description {
11875                state: "vertical_prev" 0.0;
11876                inherit: "default" 0.0;
11877                color: 255 255 255 255;
11878             }
11879             description {
11880                state: "square_prev_next_init" 0.0;
11881                inherit: "default" 0.0;
11882                rel1.relative: 0.5 0.5;
11883                rel2.relative: 0.5 0.5;
11884                color: 255 255 255 255;
11885             }
11886             description {
11887                state: "square_prev_next" 0.0;
11888                inherit: "default" 0.0;
11889                rel1.relative: 0.0 0.0;
11890                rel2.relative: 1.0 1.0;
11891                color: 255 255 255 255;
11892             }
11893          }
11894          part { name: "elm.swallow.1";
11895             type: SWALLOW;
11896             clip_to: "image_1_whole";
11897             description {
11898                state: "default" 0.0;
11899                rel1.to: "image_1_whole";
11900                rel2.to: "image_1_whole";
11901                color: 255 255 255 255;
11902             }
11903             description {
11904                state: "not_fullscreen" 0.0;
11905                rel1.relative: 0.1 0.1;
11906                rel1.to: "image_1_whole";
11907                rel2.relative: 0.9 0.9;
11908                rel2.to: "image_1_whole";
11909                color: 255 255 255 255;
11910             }
11911          }
11912          part { name: "elm.swallow.2";
11913             type: SWALLOW;
11914             clip_to: "image_2_whole";
11915             description {
11916                state: "default" 0.0;
11917                color: 255 255 255 255;
11918                rel1.to: "image_2_whole";
11919                rel2.to: "image_2_whole";
11920             }
11921             description {
11922                state: "not_fullscreen" 0.0;
11923                color: 255 255 255 255;
11924                rel1.relative: 0.1 0.1;
11925                rel1.to: "image_2_whole";
11926                rel2.relative: 0.9 0.9;
11927                rel2.to: "image_2_whole";
11928             }
11929          }
11930          part { name: "events_catcher";
11931             type: RECT;
11932             repeat_events: 1;
11933             description {
11934                state: "default" 0.0;
11935                visible: 1;
11936                color: 0 0 0 0;
11937             }
11938          }
11939       }
11940       programs {
11941         //Substyle
11942         program { name: "layout_fullscreen";
11943             signal: "layout,fullscreen";
11944             source: "slideshow";
11945             action: STATE_SET "default" 0.0;
11946             target: "elm.swallow.1";
11947             target: "elm.swallow.2";
11948             transition: SINUSOIDAL 1.0;
11949         }
11950         program { name: "layout_not_fullscreen";
11951             signal: "layout,not_fullscreen";
11952             source: "slideshow";
11953             action: STATE_SET "not_fullscreen" 0.0;
11954             target: "elm.swallow.1";
11955             target: "elm.swallow.2";
11956             transition: SINUSOIDAL 1.0;
11957          } 
11958          //
11959          program { name: "fade_next";
11960             signal: "fade,next";
11961             source: "slideshow";
11962             action: STATE_SET "default" 0.0;
11963             target: "image_1_whole";
11964             target: "image_2_whole";
11965             after: "fade_next_2";
11966          }
11967          program { name: "fade_next_2";
11968             action: STATE_SET "fade_prev_next" 0.0;
11969             target: "image_1_whole";
11970             target: "image_2_whole";
11971             transition: SINUSOIDAL 1.5;
11972             after: "end";
11973          }
11974          program { name: "fade_previous";
11975             signal: "fade,previous";
11976             source: "slideshow";
11977             action: STATE_SET "default" 0.0;
11978             target: "image_1_whole";
11979             target: "image_2_whole";
11980             after: "fade_previous_2";
11981          }
11982          program { name: "fade_previous_2";
11983             action: STATE_SET "fade_prev_next" 0.0;
11984             target: "image_1_whole";
11985             target: "image_2_whole";
11986             transition: SINUSOIDAL 1.5;
11987             after: "end";
11988          }
11989          program { name: "black_fade_next";
11990             signal: "black_fade,next";
11991             source: "slideshow";
11992             action: STATE_SET "black_fade_prev_next_init" 0.0;
11993             target: "image_1_whole";
11994             target: "image_2_whole";
11995             after: "black_fade_next_2";
11996          }
11997          program { name: "black_fade_next_2";
11998             action: STATE_SET "black_fade_prev_next" 0.0;
11999             target: "image_1_whole";
12000             transition: SINUSOIDAL 0.75;
12001             after: "black_fade_next_3";
12002          }
12003          program { name: "black_fade_next_3";
12004             action: STATE_SET "black_fade_prev_next" 0.0;
12005             target: "image_2_whole";
12006             transition: SINUSOIDAL 0.75;
12007             after: "end";
12008          }
12009          program { name: "black_fade_previous";
12010             signal: "black_fade,previous";
12011             source: "slideshow";
12012             action: STATE_SET "black_fade_prev_next_init" 0.0;
12013             target: "image_1_whole";
12014             target: "image_2_whole";
12015             after: "black_fade_previous_2";
12016          }
12017          program { name: "black_fade_previous_2";
12018             action: STATE_SET "black_fade_prev_next" 0.0;
12019             target: "image_1_whole";
12020             transition: SINUSOIDAL 0.75;
12021             after: "black_fade_previous_3";
12022          }
12023          program { name: "black_fade_previous_3";
12024             action: STATE_SET "black_fade_prev_next" 0.0;
12025             target: "image_2_whole";
12026             transition: SINUSOIDAL 0.75;
12027             after: "end";
12028          }
12029          program { name: "horizontal_next";
12030             signal: "horizontal,next";
12031             source: "slideshow";
12032             action: STATE_SET "horizontal_next_init" 0.0;
12033             target: "image_1_whole";
12034             target: "image_2_whole";
12035             after: "horizontal_next_2";
12036          }
12037          program { name: "horizontal_next_2";
12038             action: STATE_SET "horizontal_next" 0.0;
12039             target: "image_1_whole";
12040             target: "image_2_whole";
12041             transition: SINUSOIDAL 1.5;
12042             after: "end";
12043          }
12044          program { name: "horizontal_previous";
12045             signal: "horizontal,previous";
12046             source: "slideshow";
12047             action: STATE_SET "horizontal_prev_init" 0.0;
12048             target: "image_1_whole";
12049             target: "image_2_whole";
12050             after: "horizontal_previous_2";
12051          }
12052          program { name: "horizontal_previous_2";
12053             action: STATE_SET "horizontal_prev" 0.0;
12054             target: "image_1_whole";
12055             target: "image_2_whole";
12056             transition: SINUSOIDAL 1.5;
12057             after: "end";
12058          }
12059          program { name: "vertical_next";
12060             signal: "vertical,next";
12061             source: "slideshow";
12062             action: STATE_SET "vertical_next_init" 0.0;
12063             target: "image_1_whole";
12064             target: "image_2_whole";
12065             after: "vertical_next_2";
12066          }
12067          program { name: "vertical_next_2";
12068             action: STATE_SET "vertical_next" 0.0;
12069             target: "image_1_whole";
12070             target: "image_2_whole";
12071             transition: SINUSOIDAL 1.5;
12072             after: "end";
12073          }
12074          program { name: "vertical_previous";
12075             signal: "vertical,previous";
12076             source: "slideshow";
12077             action: STATE_SET "vertical_prev_init" 0.0;
12078             target: "image_1_whole";
12079             target: "image_2_whole";
12080             after: "vertical_previous_2";
12081          }
12082          program { name: "vertical_previous_2";
12083             action: STATE_SET "vertical_prev" 0.0;
12084             target: "image_1_whole";
12085             target: "image_2_whole";
12086             transition: SINUSOIDAL 1.5;
12087             after: "end";
12088          }
12089          program { name: "square_next";
12090             signal: "square,next";
12091             source: "slideshow";
12092             action: STATE_SET "square_prev_next_init" 0.0;
12093             target: "image_2_whole";
12094             after: "square_next_2";
12095          }
12096          program { name: "square_next_2";
12097             action: STATE_SET "square_prev_next" 0.0;
12098             target: "image_2_whole";
12099             target: "image_1_whole";
12100             transition: SINUSOIDAL 1.5;
12101             after: "end";
12102          }
12103          program { name: "square_previous";
12104             signal: "square,previous";
12105             source: "slideshow";
12106             action: STATE_SET "square_prev_next_init" 0.0;
12107             target: "image_2_whole";
12108             after: "square_next_2";
12109          }
12110          program { name: "end";
12111             action: SIGNAL_EMIT "end" "slideshow";
12112          }
12113          program { name: "end_signal";
12114             signal: "anim,end";
12115             source: "slideshow";
12116             action: STATE_SET "default" 0.0;
12117             target: "image_1_whole";
12118             target: "image_2_whole";
12119          }
12120       }
12121    }
12122
12123 ///////////////////////////////////////////////////////////////////////////////
12124    group { name: "elm/win/inwin/default";
12125       images {
12126          image: "shad_circ.png" COMP;
12127          image: "bt_dis_base.png" COMP;
12128          image: "bt_dis_hilight.png" COMP;
12129       }
12130       parts {
12131          part { name: "base";
12132             type: RECT;
12133             mouse_events: 1;
12134             description { state: "default" 0.0;
12135                color: 0 0 0 0;
12136             }
12137             description { state: "visible" 0.0;
12138                inherit: "default" 1.0;
12139                color: 0 0 0 64;
12140             }
12141          }
12142          part { name: "shad";
12143             mouse_events:  0;
12144             description { state: "default" 0.0;
12145                image.normal: "shad_circ.png";
12146                rel1.to: "elm.swallow.content";
12147                rel1.offset: -64 -64;
12148                rel2.to: "elm.swallow.content";
12149                rel2.offset: 63 63;
12150                fill.smooth: 0;
12151             }
12152          }
12153          part { name: "pop";
12154             mouse_events: 1;
12155             description { state: "default" 0.0;
12156                rel1.to: "elm.swallow.content";
12157                rel1.offset: -5 -5;
12158                rel2.to: "elm.swallow.content";
12159                rel2.offset: 4 4;
12160                image {
12161                   normal: "bt_dis_base.png";
12162                   border: 4 4 4 4;
12163                }
12164                image.middle: SOLID;
12165             }
12166          }
12167          part { name: "popover";
12168             mouse_events: 0;
12169             description { state: "default" 0.0;
12170                rel1.to: "pop";
12171                rel2.to: "pop";
12172                rel2.relative: 1.0 0.5;
12173                image {
12174                   normal: "bt_dis_hilight.png";
12175                   border: 4 4 4 0;
12176                }
12177             }
12178          }
12179          part { name: "elm.swallow.content";
12180             type: SWALLOW;
12181             description { state: "default" 0.0;
12182                rel1.relative: 0.1 0.1;
12183                rel2.relative: 0.9 0.9;
12184             }
12185          }
12186       }
12187       programs {
12188          program { name: "show";
12189             signal: "elm,action,show";
12190             source: "elm";
12191             action: STATE_SET "visible" 0.0;
12192 //          transition: DECELERATE 0.5;
12193             target: "base";
12194          }
12195          program { name: "hide";
12196             signal: "elm,action,hide";
12197             source: "elm";
12198             action: STATE_SET "default" 0.0;
12199 //          transition: DECELERATE 0.5;
12200             target: "base";
12201          }
12202       }
12203    }
12204
12205    group { name: "elm/win/inwin/minimal";
12206       images {
12207          image: "shad_circ.png" COMP;
12208          image: "bt_dis_base.png" COMP;
12209          image: "bt_dis_hilight.png" COMP;
12210       }
12211       parts {
12212          part { name: "base";
12213             type: RECT;
12214             mouse_events: 1;
12215             description { state: "default" 0.0;
12216                color: 0 0 0 0;
12217             }
12218             description { state: "visible" 0.0;
12219                inherit: "default" 1.0;
12220                color: 0 0 0 64;
12221             }
12222          }
12223          part { name: "shad";
12224             mouse_events:  0;
12225             description { state: "default" 0.0;
12226                image.normal: "shad_circ.png";
12227                rel1.to: "elm.swallow.content";
12228                rel1.offset: -64 -64;
12229                rel2.to: "elm.swallow.content";
12230                rel2.offset: 63 63;
12231                fill.smooth: 0;
12232             }
12233          }
12234          part { name: "pop";
12235             mouse_events: 1;
12236             description { state: "default" 0.0;
12237                rel1.to: "elm.swallow.content";
12238                rel1.offset: -5 -5;
12239                rel2.to: "elm.swallow.content";
12240                rel2.offset: 4 4;
12241                image {
12242                   normal: "bt_dis_base.png";
12243                   border: 4 4 4 4;
12244                }
12245                image.middle: SOLID;
12246             }
12247          }
12248          part { name: "popover";
12249             mouse_events: 0;
12250             description { state: "default" 0.0;
12251                rel1.to: "pop";
12252                rel2.to: "pop";
12253                rel2.relative: 1.0 0.5;
12254                image {
12255                   normal: "bt_dis_hilight.png";
12256                   border: 4 4 4 0;
12257                }
12258             }
12259          }
12260          part { name: "elm.swallow.content";
12261             type: SWALLOW;
12262             description { state: "default" 0.0;
12263                fixed: 1 1;
12264                rel1.relative: 0.5 0.5;
12265                rel2.relative: 0.5 0.5;
12266             }
12267          }
12268       }
12269       programs {
12270          program { name: "show";
12271             signal: "elm,action,show";
12272             source: "elm";
12273             action: STATE_SET "visible" 0.0;
12274 //          transition: DECELERATE 0.5;
12275             target: "base";
12276          }
12277          program { name: "hide";
12278             signal: "elm,action,hide";
12279             source: "elm";
12280             action: STATE_SET "default" 0.0;
12281 //          transition: DECELERATE 0.5;
12282             target: "base";
12283          }
12284       }
12285    }
12286
12287    group { name: "elm/win/inwin/minimal_vertical";
12288       images {
12289          image: "shad_circ.png" COMP;
12290          image: "bt_dis_base.png" COMP;
12291          image: "bt_dis_hilight.png" COMP;
12292       }
12293       parts {
12294          part { name: "base";
12295             type: RECT;
12296             mouse_events: 1;
12297             description { state: "default" 0.0;
12298                color: 0 0 0 0;
12299             }
12300             description { state: "visible" 0.0;
12301                inherit: "default" 1.0;
12302                color: 0 0 0 64;
12303             }
12304          }
12305          part { name: "shad";
12306             mouse_events:  0;
12307             description { state: "default" 0.0;
12308                image.normal: "shad_circ.png";
12309                rel1.to: "elm.swallow.content";
12310                rel1.offset: -64 -64;
12311                rel2.to: "elm.swallow.content";
12312                rel2.offset: 63 63;
12313                fill.smooth: 0;
12314             }
12315          }
12316          part { name: "pop";
12317             mouse_events: 1;
12318             description { state: "default" 0.0;
12319                rel1.to: "elm.swallow.content";
12320                rel1.offset: -5 -5;
12321                rel2.to: "elm.swallow.content";
12322                rel2.offset: 4 4;
12323                image {
12324                   normal: "bt_dis_base.png";
12325                   border: 4 4 4 4;
12326                }
12327                image.middle: SOLID;
12328             }
12329          }
12330          part { name: "popover";
12331             mouse_events: 0;
12332             description { state: "default" 0.0;
12333                rel1.to: "pop";
12334                rel2.to: "pop";
12335                rel2.relative: 1.0 0.5;
12336                image {
12337                   normal: "bt_dis_hilight.png";
12338                   border: 4 4 4 0;
12339                }
12340             }
12341          }
12342          part { name: "elm.swallow.content";
12343             type: SWALLOW;
12344             description { state: "default" 0.0;
12345                fixed: 1 1;
12346                rel1.relative: 0.1 0.5;
12347                rel2.relative: 0.9 0.5;
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 //          transition: DECELERATE 0.5;
12357             target: "base";
12358          }
12359          program { name: "hide";
12360             signal: "elm,action,hide";
12361             source: "elm";
12362             action: STATE_SET "default" 0.0;
12363 //          transition: DECELERATE 0.5;
12364             target: "base";
12365          }
12366       }
12367    }
12368
12369 ///////////////////////////////////////////////////////////////////////////////
12370
12371 ///////////////////////////////////////////////////////////////////////////////
12372    group { name: "elm/list/item/default";
12373       data.item: "stacking" "above";
12374       images {
12375          image: "bt_sm_base1.png" COMP;
12376          image: "bt_sm_shine.png" COMP;
12377          image: "bt_sm_hilight.png" COMP;
12378          image: "ilist_1.png" COMP;
12379          image: "ilist_item_shadow.png" COMP;
12380       }
12381       parts {
12382          part {
12383             name:           "event";
12384             type:           RECT;
12385             repeat_events: 1;
12386             description {
12387                state: "default" 0.0;
12388                color: 0 0 0 0;
12389             }
12390          }
12391          part {
12392             name: "base_sh";
12393             mouse_events: 0;
12394             description {
12395                state: "default" 0.0;
12396                align: 0.0 0.0;
12397                min: 0 10;
12398                fixed: 1 1;
12399                rel1 {
12400                   to: "base";
12401                   relative: 0.0 1.0;
12402                   offset: 0 0;
12403                }
12404                rel2 {
12405                   to: "base";
12406                   relative: 1.0 1.0;
12407                   offset: -1 0;
12408                }
12409                image {
12410                   normal: "ilist_item_shadow.png";
12411                }
12412                fill.smooth: 0;
12413             }
12414          }
12415          part {
12416             name: "base";
12417             mouse_events: 0;
12418             description {
12419                state: "default" 0.0;
12420                image {
12421                   normal: "ilist_1.png";
12422                   border: 2 2 2 2;
12423                }
12424                fill.smooth: 0;
12425             }
12426          }
12427          part { name: "bg";
12428             mouse_events: 0;
12429             description { state: "default" 0.0;
12430                visible: 0;
12431                color: 255 255 255 0;
12432                rel1 {
12433                   relative: 0.0 0.0;
12434                   offset: -5 -5;
12435                }
12436                rel2 {
12437                   relative: 1.0 1.0;
12438                   offset: 4 4;
12439                }
12440                image {
12441                   normal: "bt_sm_base1.png";
12442                   border: 6 6 6 6;
12443                }
12444                image.middle: SOLID;
12445             }
12446             description { state: "selected" 0.0;
12447                inherit: "default" 0.0;
12448                visible: 1;
12449                color: 255 255 255 255;
12450                rel1 {
12451                   relative: 0.0 0.0;
12452                   offset: -2 -2;
12453                }
12454                rel2 {
12455                   relative: 1.0 1.0;
12456                   offset: 1 1;
12457                }
12458             }
12459          }
12460          part { name: "elm.swallow.icon";
12461             type: SWALLOW;
12462             description { state: "default" 0.0;
12463                fixed: 1 0;
12464                align: 0.0 0.5;
12465                rel1 {
12466                   relative: 0.0  0.0;
12467                   offset:   4    4;
12468                }
12469                rel2 {
12470                   relative: 0.0  1.0;
12471                   offset:   4   -5;
12472                }
12473             }
12474          }
12475          part { name: "elm.swallow.end";
12476             type: SWALLOW;
12477             description { state: "default" 0.0;
12478                fixed: 1 0;
12479                align: 1.0 0.5;
12480                rel1 {
12481                   relative: 1.0  0.0;
12482                   offset:   -5    4;
12483                }
12484                rel2 {
12485                   relative: 1.0  1.0;
12486                   offset:   -5   -5;
12487                }
12488             }
12489          }
12490          part { name: "elm.text";
12491             type:           TEXT;
12492             effect:         SOFT_SHADOW;
12493             mouse_events:   0;
12494             scale: 1;
12495             description {
12496                state: "default" 0.0;
12497 //               min: 16 16;
12498                rel1 {
12499                   to_x:     "elm.swallow.icon";
12500                   relative: 1.0  0.0;
12501                   offset:   4 4;
12502                }
12503                rel2 {
12504                   to_x:     "elm.swallow.end";
12505                   relative: 0.0  1.0;
12506                   offset:   -1 -5;
12507                }
12508                color: 0 0 0 255;
12509                color3: 0 0 0 0;
12510                text {
12511                   font: "Sans";
12512                   size: 10;
12513                   min: 1 1;
12514 //                  min: 0 1;
12515                   align: -1.0 0.5;
12516                   text_class: "list_item";
12517                }
12518             }
12519             description { state: "selected" 0.0;
12520                inherit: "default" 0.0;
12521                color: 224 224 224 255;
12522                color3: 0 0 0 64;
12523             }
12524          }
12525          part { name: "fg1";
12526             mouse_events: 0;
12527             description { state: "default" 0.0;
12528                visible: 0;
12529                color: 255 255 255 0;
12530                rel1.to: "bg";
12531                rel2.relative: 1.0 0.5;
12532                rel2.to: "bg";
12533                image {
12534                   normal: "bt_sm_hilight.png";
12535                   border: 6 6 6 0;
12536                }
12537             }
12538             description { state: "selected" 0.0;
12539                inherit: "default" 0.0;
12540                visible: 1;
12541                color: 255 255 255 255;
12542             }
12543          }
12544          part { name: "fg2";
12545             mouse_events: 0;
12546             description { state: "default" 0.0;
12547                visible: 0;
12548                color: 255 255 255 0;
12549                rel1.to: "bg";
12550                rel2.to: "bg";
12551                image {
12552                   normal: "bt_sm_shine.png";
12553                   border: 6 6 6 0;
12554                }
12555             }
12556             description { state: "selected" 0.0;
12557                inherit: "default" 0.0;
12558                visible: 1;
12559                color: 255 255 255 255;
12560             }
12561          }
12562       }
12563       programs {
12564          program {
12565             name:    "go_active";
12566             signal:  "elm,state,selected";
12567             source:  "elm";
12568             action:  STATE_SET "selected" 0.0;
12569             target:  "bg";
12570             target:  "fg1";
12571             target:  "fg2";
12572             target:  "elm.text";
12573          }
12574          program {
12575             name:    "go_passive";
12576             signal:  "elm,state,unselected";
12577             source:  "elm";
12578             action:  STATE_SET "default" 0.0;
12579             target:  "bg";
12580             target:  "fg1";
12581             target:  "fg2";
12582             target:  "elm.text";
12583             transition: LINEAR 0.1;
12584          }
12585       }
12586    }
12587    group { name: "elm/list/item_odd/default";
12588       data.item: "stacking" "below";
12589       data.item: "selectraise" "on";
12590       images {
12591          image: "bt_sm_base1.png" COMP;
12592          image: "bt_sm_shine.png" COMP;
12593          image: "bt_sm_hilight.png" COMP;
12594          image: "ilist_2.png" COMP;
12595       }
12596       parts {
12597          part {
12598             name:           "event";
12599             type:           RECT;
12600             repeat_events: 1;
12601             description {
12602                state: "default" 0.0;
12603                color: 0 0 0 0;
12604             }
12605          }
12606          part {
12607             name: "base";
12608             mouse_events: 0;
12609             description {
12610                state: "default" 0.0;
12611                image {
12612                   normal: "ilist_2.png";
12613                   border: 2 2 2 2;
12614                }
12615                fill.smooth: 0;
12616             }
12617          }
12618          part { name: "bg";
12619             mouse_events: 0;
12620             description { state: "default" 0.0;
12621                visible: 0;
12622                color: 255 255 255 0;
12623                rel1 {
12624                   relative: 0.0 0.0;
12625                   offset: -5 -5;
12626                }
12627                rel2 {
12628                   relative: 1.0 1.0;
12629                   offset: 4 4;
12630                }
12631                image {
12632                   normal: "bt_sm_base1.png";
12633                   border: 6 6 6 6;
12634                }
12635                image.middle: SOLID;
12636             }
12637             description { state: "selected" 0.0;
12638                inherit: "default" 0.0;
12639                visible: 1;
12640                color: 255 255 255 255;
12641                rel1 {
12642                   relative: 0.0 0.0;
12643                   offset: -2 -2;
12644                }
12645                rel2 {
12646                   relative: 1.0 1.0;
12647                   offset: 1 1;
12648                }
12649             }
12650          }
12651          part {
12652             name:          "elm.swallow.icon";
12653             type:          SWALLOW;
12654             description { state:    "default" 0.0;
12655                fixed: 1 0;
12656                align:    0.0 0.5;
12657                rel1 {
12658                   relative: 0.0  0.0;
12659                   offset:   4    4;
12660                }
12661                rel2 {
12662                   relative: 0.0  1.0;
12663                   offset:   4   -5;
12664                }
12665             }
12666          }
12667          part {
12668             name:          "elm.swallow.end";
12669             type:          SWALLOW;
12670             description { state:    "default" 0.0;
12671                fixed: 1 0;
12672                align: 1.0 0.5;
12673                rel1 {
12674                   relative: 1.0  0.0;
12675                   offset:   -5    4;
12676                }
12677                rel2 {
12678                   relative: 1.0  1.0;
12679                   offset:   -5   -5;
12680                }
12681             }
12682          }
12683          part {
12684             name:           "elm.text";
12685             type:           TEXT;
12686             effect:         SOFT_SHADOW;
12687             mouse_events:   0;
12688             scale: 1;
12689             description {
12690                state: "default" 0.0;
12691 //               min:      16 16;
12692                rel1 {
12693                   to_x:     "elm.swallow.icon";
12694                   relative: 1.0  0.0;
12695                   offset:   4 4;
12696                }
12697                rel2 {
12698                   to_x:     "elm.swallow.end";
12699                   relative: 0.0  1.0;
12700                   offset:   -1 -5;
12701                }
12702                color: 0 0 0 255;
12703                color3: 0 0 0 0;
12704                text {
12705                   font: "Sans";
12706                   size: 10;
12707                   min: 1 1;
12708 //                  min: 0 1;
12709                   align: -1.0 0.5;
12710                   text_class: "list_item";
12711                }
12712             }
12713             description { state: "selected" 0.0;
12714                inherit: "default" 0.0;
12715                color: 224 224 224 255;
12716                color3: 0 0 0 64;
12717             }
12718          }
12719          part { name: "fg1";
12720             mouse_events: 0;
12721             description { state: "default" 0.0;
12722                visible: 0;
12723                color: 255 255 255 0;
12724                rel1.to: "bg";
12725                rel2.relative: 1.0 0.5;
12726                rel2.to: "bg";
12727                image {
12728                   normal: "bt_sm_hilight.png";
12729                   border: 6 6 6 0;
12730                }
12731             }
12732             description { state: "selected" 0.0;
12733                inherit: "default" 0.0;
12734                visible: 1;
12735                color: 255 255 255 255;
12736             }
12737          }
12738          part { name: "fg2";
12739             mouse_events: 0;
12740             description { state: "default" 0.0;
12741                visible: 0;
12742                color: 255 255 255 0;
12743                rel1.to: "bg";
12744                rel2.to: "bg";
12745                image {
12746                   normal: "bt_sm_shine.png";
12747                   border: 6 6 6 0;
12748                }
12749             }
12750             description { state: "selected" 0.0;
12751                inherit: "default" 0.0;
12752                visible: 1;
12753                color: 255 255 255 255;
12754             }
12755          }
12756       }
12757       programs {
12758          program {
12759             name:    "go_active";
12760             signal:  "elm,state,selected";
12761             source:  "elm";
12762             action:  STATE_SET "selected" 0.0;
12763             target:  "bg";
12764             target:  "fg1";
12765             target:  "fg2";
12766             target:  "elm.text";
12767          }
12768          program {
12769             name:    "go_passive";
12770             signal:  "elm,state,unselected";
12771             source:  "elm";
12772             action:  STATE_SET "default" 0.0;
12773             target:  "bg";
12774             target:  "fg1";
12775             target:  "fg2";
12776             target:  "elm.text";
12777             transition: LINEAR 0.1;
12778          }
12779       }
12780    }
12781    group { name: "elm/list/item_compress/default";
12782       data.item: "stacking" "above";
12783       data.item: "selectraise" "on";
12784       images {
12785          image: "bt_sm_base1.png" COMP;
12786          image: "bt_sm_shine.png" COMP;
12787          image: "bt_sm_hilight.png" COMP;
12788          image: "ilist_1.png" COMP;
12789          image: "ilist_item_shadow.png" COMP;
12790       }
12791       parts {
12792          part {
12793             name:           "event";
12794             type:           RECT;
12795             repeat_events: 1;
12796             description {
12797                state: "default" 0.0;
12798                color: 0 0 0 0;
12799             }
12800          }
12801          part {
12802             name: "base_sh";
12803             mouse_events: 0;
12804             description { state: "default" 0.0;
12805                fixed: 1 1;
12806                align: 0.0 0.0;
12807                min: 0 10;
12808                rel1 {
12809                   to: "base";
12810                   relative: 0.0 1.0;
12811                   offset: 0 0;
12812                }
12813                rel2 {
12814                   to: "base";
12815                   relative: 1.0 1.0;
12816                   offset: -1 0;
12817                }
12818                image {
12819                   normal: "ilist_item_shadow.png";
12820                }
12821                fill.smooth: 0;
12822             }
12823          }
12824          part {
12825             name: "base";
12826             mouse_events: 0;
12827             description {
12828                state: "default" 0.0;
12829                image {
12830                   normal: "ilist_1.png";
12831                   border: 2 2 2 2;
12832                }
12833                fill.smooth: 0;
12834             }
12835          }
12836          part { name: "bg";
12837             mouse_events: 0;
12838             description { state: "default" 0.0;
12839                visible: 0;
12840                color: 255 255 255 0;
12841                rel1 {
12842                   relative: 0.0 0.0;
12843                   offset: -5 -5;
12844                }
12845                rel2 {
12846                   relative: 1.0 1.0;
12847                   offset: 4 4;
12848                }
12849                image {
12850                   normal: "bt_sm_base1.png";
12851                   border: 6 6 6 6;
12852                }
12853                image.middle: SOLID;
12854             }
12855             description { state: "selected" 0.0;
12856                inherit: "default" 0.0;
12857                visible: 1;
12858                color: 255 255 255 255;
12859                rel1 {
12860                   relative: 0.0 0.0;
12861                   offset: -2 -2;
12862                }
12863                rel2 {
12864                   relative: 1.0 1.0;
12865                   offset: 1 1;
12866                }
12867             }
12868          }
12869          part { name:          "elm.swallow.icon";
12870             type:          SWALLOW;
12871             description { state:    "default" 0.0;
12872                fixed: 1 0;
12873                align:    0.0 0.5;
12874                rel1 {
12875                   relative: 0.0  0.0;
12876                   offset:   4    4;
12877                }
12878                rel2 {
12879                   relative: 0.0  1.0;
12880                   offset:   4   -5;
12881                }
12882             }
12883          }
12884          part { name:          "elm.swallow.end";
12885             type:          SWALLOW;
12886             description { state:    "default" 0.0;
12887                fixed: 1 0;
12888                align:    1.0 0.5;
12889                rel1 {
12890                   relative: 1.0  0.0;
12891                   offset:   -5    4;
12892                }
12893                rel2 {
12894                   relative: 1.0  1.0;
12895                   offset:   -5   -5;
12896                }
12897             }
12898          }
12899          part {
12900             name:           "elm.text";
12901             type:           TEXT;
12902             effect:         SOFT_SHADOW;
12903             mouse_events:   0;
12904             scale: 1;
12905             description { state: "default" 0.0;
12906 //               min:      16 16;
12907                rel1 {
12908                   to_x:     "elm.swallow.icon";
12909                   relative: 1.0  0.0;
12910                   offset:   4 4;
12911                }
12912                rel2 {
12913                   to_x:     "elm.swallow.end";
12914                   relative: 0.0  1.0;
12915                   offset:   -1 -5;
12916                }
12917                color: 0 0 0 255;
12918                color3: 0 0 0 0;
12919                text {
12920                   font: "Sans";
12921                   size: 10;
12922 //                  min: 1 1;
12923                   min: 0 1;
12924                   align: 0.0 0.5;
12925                   text_class: "list_item";
12926                }
12927             }
12928             description { state: "selected" 0.0;
12929                inherit: "default" 0.0;
12930                color: 224 224 224 255;
12931                color3: 0 0 0 64;
12932             }
12933          }
12934          part { name: "fg1";
12935             mouse_events: 0;
12936             description { state: "default" 0.0;
12937                visible: 0;
12938                color: 255 255 255 0;
12939                rel1.to: "bg";
12940                rel2.relative: 1.0 0.5;
12941                rel2.to: "bg";
12942                image {
12943                   normal: "bt_sm_hilight.png";
12944                   border: 6 6 6 0;
12945                }
12946             }
12947             description { state: "selected" 0.0;
12948                inherit: "default" 0.0;
12949                visible: 1;
12950                color: 255 255 255 255;
12951             }
12952          }
12953          part { name: "fg2";
12954             mouse_events: 0;
12955             description { state: "default" 0.0;
12956                visible: 0;
12957                color: 255 255 255 0;
12958                rel1.to: "bg";
12959                rel2.to: "bg";
12960                image {
12961                   normal: "bt_sm_shine.png";
12962                   border: 6 6 6 0;
12963                }
12964             }
12965             description { state: "selected" 0.0;
12966                inherit: "default" 0.0;
12967                visible: 1;
12968                color: 255 255 255 255;
12969             }
12970          }
12971       }
12972       programs {
12973          program {
12974             name:    "go_active";
12975             signal:  "elm,state,selected";
12976             source:  "elm";
12977             action:  STATE_SET "selected" 0.0;
12978             target:  "bg";
12979             target:  "fg1";
12980             target:  "fg2";
12981             target:  "elm.text";
12982          }
12983          program {
12984             name:    "go_passive";
12985             signal:  "elm,state,unselected";
12986             source:  "elm";
12987             action:  STATE_SET "default" 0.0;
12988             target:  "bg";
12989             target:  "fg1";
12990             target:  "fg2";
12991             target:  "elm.text";
12992             transition: LINEAR 0.1;
12993          }
12994       }
12995    }
12996    group { name: "elm/list/item_compress_odd/default";
12997       data.item: "stacking" "below";
12998       data.item: "selectraise" "on";
12999       images {
13000          image: "bt_sm_base1.png" COMP;
13001          image: "bt_sm_shine.png" COMP;
13002          image: "bt_sm_hilight.png" COMP;
13003          image: "ilist_2.png" COMP;
13004       }
13005       parts {
13006          part {
13007             name:           "event";
13008             type:           RECT;
13009             repeat_events: 1;
13010             description {
13011                state: "default" 0.0;
13012                color: 0 0 0 0;
13013             }
13014          }
13015          part {
13016             name: "base";
13017             mouse_events: 0;
13018             description {
13019                state: "default" 0.0;
13020                image {
13021                   normal: "ilist_2.png";
13022                   border: 2 2 2 2;
13023                }
13024                fill.smooth: 0;
13025             }
13026          }
13027          part { name: "bg";
13028             mouse_events: 0;
13029             description { state: "default" 0.0;
13030                visible: 0;
13031                color: 255 255 255 0;
13032                rel1 {
13033                   relative: 0.0 0.0;
13034                   offset: -5 -5;
13035                }
13036                rel2 {
13037                   relative: 1.0 1.0;
13038                   offset: 4 4;
13039                }
13040                image {
13041                   normal: "bt_sm_base1.png";
13042                   border: 6 6 6 6;
13043                }
13044                image.middle: SOLID;
13045             }
13046             description { state: "selected" 0.0;
13047                inherit: "default" 0.0;
13048                visible: 1;
13049                color: 255 255 255 255;
13050                rel1 {
13051                   relative: 0.0 0.0;
13052                   offset: -2 -2;
13053                }
13054                rel2 {
13055                   relative: 1.0 1.0;
13056                   offset: 1 1;
13057                }
13058             }
13059          }
13060          part { name:          "elm.swallow.icon";
13061             type:          SWALLOW;
13062             description { state:    "default" 0.0;
13063                fixed: 1 0;
13064                align:    0.0 0.5;
13065                rel1 {
13066                   relative: 0.0  0.0;
13067                   offset:   4    4;
13068                }
13069                rel2 {
13070                   relative: 0.0  1.0;
13071                   offset:   4   -5;
13072                }
13073             }
13074          }
13075          part { name:          "elm.swallow.end";
13076             type:          SWALLOW;
13077             description { state:    "default" 0.0;
13078                fixed: 1 0;
13079                align:    1.0 0.5;
13080                rel1 {
13081                   relative: 1.0  0.0;
13082                   offset:   -5    4;
13083                }
13084                rel2 {
13085                   relative: 1.0  1.0;
13086                   offset:   -5   -5;
13087                }
13088             }
13089          }
13090          part {
13091             name:           "elm.text";
13092             type:           TEXT;
13093             effect:         SOFT_SHADOW;
13094             mouse_events:   0;
13095             scale: 1;
13096             description {
13097                state: "default" 0.0;
13098 //               min:      16 16;
13099                rel1 {
13100                   to_x:     "elm.swallow.icon";
13101                   relative: 1.0  0.0;
13102                   offset:   4 4;
13103                }
13104                rel2 {
13105                   to_x:     "elm.swallow.end";
13106                   relative: 0.0  1.0;
13107                   offset:   -1 -5;
13108                }
13109                color: 0 0 0 255;
13110                color3: 0 0 0 0;
13111                text {
13112                   font: "Sans";
13113                   size: 10;
13114 //                  min: 1 1;
13115                   min: 0 1;
13116                   align: 0.0 0.5;
13117                   text_class: "list_item";
13118                }
13119             }
13120             description { state: "selected" 0.0;
13121                inherit: "default" 0.0;
13122                color: 224 224 224 255;
13123                color3: 0 0 0 64;
13124             }
13125          }
13126          part { name: "fg1";
13127             mouse_events: 0;
13128             description { state: "default" 0.0;
13129                visible: 0;
13130                color: 255 255 255 0;
13131                rel1.to: "bg";
13132                rel2.relative: 1.0 0.5;
13133                rel2.to: "bg";
13134                image {
13135                   normal: "bt_sm_hilight.png";
13136                   border: 6 6 6 0;
13137                }
13138             }
13139             description { state: "selected" 0.0;
13140                inherit: "default" 0.0;
13141                visible: 1;
13142                color: 255 255 255 255;
13143             }
13144          }
13145          part { name: "fg2";
13146             mouse_events: 0;
13147             description { state: "default" 0.0;
13148                visible: 0;
13149                color: 255 255 255 0;
13150                rel1.to: "bg";
13151                rel2.to: "bg";
13152                image {
13153                   normal: "bt_sm_shine.png";
13154                   border: 6 6 6 0;
13155                }
13156             }
13157             description { state: "selected" 0.0;
13158                inherit: "default" 0.0;
13159                visible: 1;
13160                color: 255 255 255 255;
13161             }
13162          }
13163       }
13164       programs {
13165          program {
13166             name:    "go_active";
13167             signal:  "elm,state,selected";
13168             source:  "elm";
13169             action:  STATE_SET "selected" 0.0;
13170             target:  "bg";
13171             target:  "fg1";
13172             target:  "fg2";
13173             target:  "elm.text";
13174          }
13175          program {
13176             name:    "go_passive";
13177             signal:  "elm,state,unselected";
13178             source:  "elm";
13179             action:  STATE_SET "default" 0.0;
13180             target:  "bg";
13181             target:  "fg1";
13182             target:  "fg2";
13183             target:  "elm.text";
13184             transition: LINEAR 0.1;
13185          }
13186       }
13187    }
13188
13189 ///////////////////////////////////////////////////////////////////////////////
13190    group { name: "elm/list/h_item/default";
13191       data.item: "stacking" "above";
13192       images {
13193          image: "bt_sm_base1.png" COMP;
13194          image: "bt_sm_shine.png" COMP;
13195          image: "bt_sm_hilight.png" COMP;
13196          image: "ilist_1_h.png" COMP;
13197          image: "ilist_item_shadow_h.png" COMP;
13198       }
13199       parts {
13200          part {
13201             name: "event";
13202             type: RECT;
13203             repeat_events: 1;
13204             description {
13205                state: "default" 0.0;
13206                color: 0 0 0 0;
13207             }
13208          }
13209          part {
13210             name: "base_sh";
13211             mouse_events: 0;
13212             description {
13213                state: "default" 0.0;
13214                align: 0.0 0.0;
13215                min: 10 0;
13216                fixed: 1 1;
13217                rel1 {
13218                   to: "base";
13219                   relative: 1.0 0.0;
13220                   offset: 0 0;
13221                }
13222                rel2 {
13223                   to: "base";
13224                   relative: 1.0 1.0;
13225                   offset: 0 -1;
13226                }
13227                image {
13228                   normal: "ilist_item_shadow_h.png";
13229                }
13230                fill.smooth: 0;
13231             }
13232          }
13233          part {
13234             name: "base";
13235             mouse_events: 0;
13236             description {
13237                state: "default" 0.0;
13238                image {
13239                   normal: "ilist_1_h.png";
13240                   border: 2 2 2 2;
13241                }
13242                fill.smooth: 0;
13243             }
13244          }
13245          part { name: "bg";
13246             mouse_events: 0;
13247             description { state: "default" 0.0;
13248                visible: 0;
13249                color: 255 255 255 0;
13250                rel1 {
13251                   relative: 0.0 0.0;
13252                   offset: -5 -5;
13253                }
13254                rel2 {
13255                   relative: 1.0 1.0;
13256                   offset: 4 4;
13257                }
13258                image {
13259                   normal: "bt_sm_base1.png";
13260                   border: 6 6 6 6;
13261                }
13262                image.middle: SOLID;
13263             }
13264             description { state: "selected" 0.0;
13265                inherit: "default" 0.0;
13266                visible: 1;
13267                color: 255 255 255 255;
13268                rel1 {
13269                   relative: 0.0 0.0;
13270                   offset: -2 -2;
13271                }
13272                rel2 {
13273                   relative: 1.0 1.0;
13274                   offset: 1 1;
13275                }
13276             }
13277          }
13278          part { name: "elm.swallow.icon";
13279             type: SWALLOW;
13280             description { state: "default" 0.0;
13281                fixed: 0 1;
13282                align: 0.5 0.0;
13283                rel1 {
13284                   relative: 0.0 0.0;
13285                   offset: 4 4;
13286                }
13287                rel2 {
13288                   relative: 1.0 0.0;
13289                   offset: -5 4;
13290                }
13291             }
13292          }
13293          part { name: "elm.swallow.end";
13294             type: SWALLOW;
13295             description { state: "default" 0.0;
13296                fixed: 0 1;
13297                align: 0.5 1.0;
13298                rel1 {
13299                   relative: 0.0 1.0;
13300                   offset: 4 -5;
13301                }
13302                rel2 {
13303                   relative: 1.0 1.0;
13304                   offset: -5 -5;
13305                }
13306             }
13307          }
13308          part { name: "elm.text";
13309             type: TEXT;
13310             effect: SOFT_SHADOW;
13311             mouse_events: 0;
13312             scale: 1;
13313             description {
13314                state: "default" 0.0;
13315                fixed: 0 1;
13316                rel1 {
13317                   to_x: "elm.swallow.icon";
13318                   relative: 0.0 1.0;
13319                   offset: 4 4;
13320                }
13321                rel2 {
13322                   to_x: "elm.swallow.end";
13323                   relative: 1.0 0.0;
13324                   offset: -5 -1;
13325                }
13326                color: 0 0 0 255;
13327                color3: 0 0 0 0;
13328                text {
13329                   font: "Sans";
13330                   size: 10;
13331                   min: 1 1;
13332                   align: 0.5 0.5;
13333                   text_class: "list_item";
13334                }
13335             }
13336             description { state: "selected" 0.0;
13337                inherit: "default" 0.0;
13338                color: 224 224 224 255;
13339                color3: 0 0 0 64;
13340             }
13341          }
13342          part { name: "fg1";
13343             mouse_events: 0;
13344             description { state: "default" 0.0;
13345                visible: 0;
13346                color: 255 255 255 0;
13347                rel1.to: "bg";
13348                rel2.relative: 1.0 0.5;
13349                rel2.to: "bg";
13350                image {
13351                   normal: "bt_sm_hilight.png";
13352                   border: 6 6 6 0;
13353                }
13354             }
13355             description { state: "selected" 0.0;
13356                inherit: "default" 0.0;
13357                visible: 1;
13358                color: 255 255 255 255;
13359             }
13360          }
13361          part { name: "fg2";
13362             mouse_events: 0;
13363             description { state: "default" 0.0;
13364                visible: 0;
13365                color: 255 255 255 0;
13366                rel1.to: "bg";
13367                rel2.to: "bg";
13368                image {
13369                   normal: "bt_sm_shine.png";
13370                   border: 6 6 6 0;
13371                }
13372             }
13373             description { state: "selected" 0.0;
13374                inherit: "default" 0.0;
13375                visible: 1;
13376                color: 255 255 255 255;
13377             }
13378          }
13379       }
13380       programs {
13381          program {
13382             name: "go_active";
13383             signal: "elm,state,selected";
13384             source: "elm";
13385             action: STATE_SET "selected" 0.0;
13386             target: "bg";
13387             target: "fg1";
13388             target: "fg2";
13389             target: "elm.text";
13390          }
13391          program {
13392             name: "go_passive";
13393             signal: "elm,state,unselected";
13394             source: "elm";
13395             action: STATE_SET "default" 0.0;
13396             target: "bg";
13397             target: "fg1";
13398             target: "fg2";
13399             target: "elm.text";
13400             transition: LINEAR 0.1;
13401          }
13402       }
13403    }
13404    group { name: "elm/list/h_item_odd/default";
13405       data.item: "stacking" "below";
13406       data.item: "selectraise" "on";
13407       images {
13408          image: "bt_sm_base1.png" COMP;
13409          image: "bt_sm_shine.png" COMP;
13410          image: "bt_sm_hilight.png" COMP;
13411          image: "ilist_2_h.png" COMP;
13412       }
13413       parts {
13414          part {
13415             name: "event";
13416             type: RECT;
13417             repeat_events: 1;
13418             description {
13419                state: "default" 0.0;
13420                color: 0 0 0 0;
13421             }
13422          }
13423          part {
13424             name: "base";
13425             mouse_events: 0;
13426             description {
13427                state: "default" 0.0;
13428                image {
13429                   normal: "ilist_2_h.png";
13430                   border: 2 2 2 2;
13431                }
13432                fill.smooth: 0;
13433             }
13434          }
13435          part { name: "bg";
13436             mouse_events: 0;
13437             description { state: "default" 0.0;
13438                visible: 0;
13439                color: 255 255 255 0;
13440                rel1 {
13441                   relative: 0.0 0.0;
13442                   offset: -5 -5;
13443                }
13444                rel2 {
13445                   relative: 1.0 1.0;
13446                   offset: 4 4;
13447                }
13448                image {
13449                   normal: "bt_sm_base1.png";
13450                   border: 6 6 6 6;
13451                }
13452                image.middle: SOLID;
13453             }
13454             description { state: "selected" 0.0;
13455                inherit: "default" 0.0;
13456                visible: 1;
13457                color: 255 255 255 255;
13458                rel1 {
13459                   relative: 0.0 0.0;
13460                   offset: -2 -2;
13461                }
13462                rel2 {
13463                   relative: 1.0 1.0;
13464                   offset: 1 1;
13465                }
13466             }
13467          }
13468          part {
13469             name: "elm.swallow.icon";
13470             type: SWALLOW;
13471             description { state: "default" 0.0;
13472                fixed: 0 1;
13473                align: 0.5 0.0;
13474                rel1 {
13475                   relative: 0.0 0.0;
13476                   offset: 4 4;
13477                }
13478                rel2 {
13479                   relative: 1.0 0.0;
13480                   offset: -5 4;
13481                }
13482             }
13483          }
13484          part {
13485             name: "elm.swallow.end";
13486             type: SWALLOW;
13487             description { state: "default" 0.0;
13488                fixed: 0 1;
13489                align: 0.5 1.0;
13490                rel1 {
13491                   relative: 0.0 1.0;
13492                   offset: 4 -5;
13493                }
13494                rel2 {
13495                   relative: 1.0 1.0;
13496                   offset: -5 -5;
13497                }
13498             }
13499          }
13500          part { name: "elm.text";
13501             type: TEXT;
13502             effect: SOFT_SHADOW;
13503             mouse_events: 0;
13504             scale: 1;
13505             description {
13506                state: "default" 0.0;
13507                fixed: 1 1;
13508                rel1 {
13509                   to_x: "elm.swallow.icon";
13510                   relative: 0.0 1.0;
13511                   offset: 4 4;
13512                }
13513                rel2 {
13514                   to_x: "elm.swallow.end";
13515                   relative: 1.0 0.0;
13516                   offset: -5 -1;
13517                }
13518                color: 0 0 0 255;
13519                color3: 0 0 0 0;
13520                text {
13521                   font: "Sans";
13522                   size: 10;
13523                   min: 1 1;
13524                   align: 0.5 0.5;
13525                   text_class: "list_item";
13526                }
13527             }
13528             description { state: "selected" 0.0;
13529                inherit: "default" 0.0;
13530                color: 224 224 224 255;
13531                color3: 0 0 0 64;
13532             }
13533          }
13534          part { name: "fg1";
13535             mouse_events: 0;
13536             description { state: "default" 0.0;
13537                visible: 0;
13538                color: 255 255 255 0;
13539                rel1.to: "bg";
13540                rel2.relative: 1.0 0.5;
13541                rel2.to: "bg";
13542                image {
13543                   normal: "bt_sm_hilight.png";
13544                   border: 6 6 6 0;
13545                }
13546             }
13547             description { state: "selected" 0.0;
13548                inherit: "default" 0.0;
13549                visible: 1;
13550                color: 255 255 255 255;
13551             }
13552          }
13553          part { name: "fg2";
13554             mouse_events: 0;
13555             description { state: "default" 0.0;
13556                visible: 0;
13557                color: 255 255 255 0;
13558                rel1.to: "bg";
13559                rel2.to: "bg";
13560                image {
13561                   normal: "bt_sm_shine.png";
13562                   border: 6 6 6 0;
13563                }
13564             }
13565             description { state: "selected" 0.0;
13566                inherit: "default" 0.0;
13567                visible: 1;
13568                color: 255 255 255 255;
13569             }
13570          }
13571       }
13572       programs {
13573          program {
13574             name: "go_active";
13575             signal: "elm,state,selected";
13576             source: "elm";
13577             action: STATE_SET "selected" 0.0;
13578             target: "bg";
13579             target: "fg1";
13580             target: "fg2";
13581             target: "elm.text";
13582          }
13583          program {
13584             name: "go_passive";
13585             signal: "elm,state,unselected";
13586             source: "elm";
13587             action: STATE_SET "default" 0.0;
13588             target: "bg";
13589             target: "fg1";
13590             target: "fg2";
13591             target: "elm.text";
13592             transition: LINEAR 0.1;
13593          }
13594       }
13595    }
13596    group { name: "elm/list/h_item_compress/default";
13597       data.item: "stacking" "above";
13598       data.item: "selectraise" "on";
13599       images {
13600          image: "bt_sm_base1.png" COMP;
13601          image: "bt_sm_shine.png" COMP;
13602          image: "bt_sm_hilight.png" COMP;
13603          image: "ilist_1_h.png" COMP;
13604          image: "ilist_item_shadow_h.png" COMP;
13605       }
13606       parts {
13607          part {
13608             name: "event";
13609             type: RECT;
13610             repeat_events: 1;
13611             description {
13612                state: "default" 0.0;
13613                color: 0 0 0 0;
13614             }
13615          }
13616          part {
13617             name: "base_sh";
13618             mouse_events: 0;
13619             description { state: "default" 0.0;
13620                fixed: 1 1;
13621                align: 0.0 0.0;
13622                min: 10 0;
13623                rel1 {
13624                   to: "base";
13625                   relative: 1.0 0.0;
13626                   offset: 0 0;
13627                }
13628                rel2 {
13629                   to: "base";
13630                   relative: 1.0 1.0;
13631                   offset: 0 -1;
13632                }
13633                image {
13634                   normal: "ilist_item_shadow_h.png";
13635                }
13636                fill.smooth: 0;
13637             }
13638          }
13639          part {
13640             name: "base";
13641             mouse_events: 0;
13642             description {
13643                state: "default" 0.0;
13644                image {
13645                   normal: "ilist_1_h.png";
13646                   border: 2 2 2 2;
13647                }
13648                fill.smooth: 0;
13649             }
13650          }
13651          part { name: "bg";
13652             mouse_events: 0;
13653             description { state: "default" 0.0;
13654                visible: 0;
13655                color: 255 255 255 0;
13656                rel1 {
13657                   relative: 0.0 0.0;
13658                   offset: -5 -5;
13659                }
13660                rel2 {
13661                   relative: 1.0 1.0;
13662                   offset: 4 4;
13663                }
13664                image {
13665                   normal: "bt_sm_base1.png";
13666                   border: 6 6 6 6;
13667                }
13668                image.middle: SOLID;
13669             }
13670             description { state: "selected" 0.0;
13671                inherit: "default" 0.0;
13672                visible: 1;
13673                color: 255 255 255 255;
13674                rel1 {
13675                   relative: 0.0 0.0;
13676                   offset: -2 -2;
13677                }
13678                rel2 {
13679                   relative: 1.0 1.0;
13680                   offset: 1 1;
13681                }
13682             }
13683          }
13684          part { name: "elm.swallow.icon";
13685             type: SWALLOW;
13686             description { state: "default" 0.0;
13687                fixed: 0 1;
13688                align: 0.5 0.0;
13689                rel1 {
13690                   relative: 0.0 0.0;
13691                   offset: 4 4;
13692                }
13693                rel2 {
13694                   relative: 1.0 0.0;
13695                   offset: -5 4;
13696                }
13697             }
13698          }
13699          part { name: "elm.swallow.end";
13700             type: SWALLOW;
13701             description { state: "default" 0.0;
13702                fixed: 0 1;
13703                align: 0.5 1.0;
13704                rel1 {
13705                   relative: 0.0 1.0;
13706                   offset: 4 -5;
13707                }
13708                rel2 {
13709                   relative: 1.0 1.0;
13710                   offset: -5 -5;
13711                }
13712             }
13713          }
13714          part {
13715             name: "elm.text";
13716             type: TEXT;
13717             effect: SOFT_SHADOW;
13718             mouse_events: 0;
13719             scale: 1;
13720             description { state: "default" 0.0;
13721                fixed: 1 1;
13722                rel1 {
13723                   to_x: "elm.swallow.icon";
13724                   relative: 0.0 1.0;
13725                   offset: 4 4;
13726                }
13727                rel2 {
13728                   to_x: "elm.swallow.end";
13729                   relative: 1.0 0.0;
13730                   offset: -5 -1;
13731                }
13732                color: 0 0 0 255;
13733                color3: 0 0 0 0;
13734                text {
13735                   font: "Sans";
13736                   size: 10;
13737                   min: 1 1;
13738                   align: 0.5 0.5;
13739                   text_class: "list_item";
13740                }
13741             }
13742             description { state: "selected" 0.0;
13743                inherit: "default" 0.0;
13744                color: 224 224 224 255;
13745                color3: 0 0 0 64;
13746             }
13747          }
13748          part { name: "fg1";
13749             mouse_events: 0;
13750             description { state: "default" 0.0;
13751                visible: 0;
13752                color: 255 255 255 0;
13753                rel1.to: "bg";
13754                rel2.relative: 1.0 0.5;
13755                rel2.to: "bg";
13756                image {
13757                   normal: "bt_sm_hilight.png";
13758                   border: 6 6 6 0;
13759                }
13760             }
13761             description { state: "selected" 0.0;
13762                inherit: "default" 0.0;
13763                visible: 1;
13764                color: 255 255 255 255;
13765             }
13766          }
13767          part { name: "fg2";
13768             mouse_events: 0;
13769             description { state: "default" 0.0;
13770                visible: 0;
13771                color: 255 255 255 0;
13772                rel1.to: "bg";
13773                rel2.to: "bg";
13774                image {
13775                   normal: "bt_sm_shine.png";
13776                   border: 6 6 6 0;
13777                }
13778             }
13779             description { state: "selected" 0.0;
13780                inherit: "default" 0.0;
13781                visible: 1;
13782                color: 255 255 255 255;
13783             }
13784          }
13785       }
13786       programs {
13787          program {
13788             name: "go_active";
13789             signal: "elm,state,selected";
13790             source: "elm";
13791             action: STATE_SET "selected" 0.0;
13792             target: "bg";
13793             target: "fg1";
13794             target: "fg2";
13795             target: "elm.text";
13796          }
13797          program {
13798             name: "go_passive";
13799             signal: "elm,state,unselected";
13800             source: "elm";
13801             action: STATE_SET "default" 0.0;
13802             target: "bg";
13803             target: "fg1";
13804             target: "fg2";
13805             target: "elm.text";
13806             transition: LINEAR 0.1;
13807          }
13808       }
13809    }
13810    group { name: "elm/list/h_item_compress_odd/default";
13811       data.item: "stacking" "below";
13812       data.item: "selectraise" "on";
13813       images {
13814          image: "bt_sm_base1.png" COMP;
13815          image: "bt_sm_shine.png" COMP;
13816          image: "bt_sm_hilight.png" COMP;
13817          image: "ilist_2_h.png" COMP;
13818       }
13819       parts {
13820          part {
13821             name: "event";
13822             type: RECT;
13823             repeat_events: 1;
13824             description {
13825                state: "default" 0.0;
13826                color: 0 0 0 0;
13827             }
13828          }
13829          part {
13830             name: "base";
13831             mouse_events: 0;
13832             description {
13833                state: "default" 0.0;
13834                image {
13835                   normal: "ilist_2_h.png";
13836                   border: 2 2 2 2;
13837                }
13838                fill.smooth: 0;
13839             }
13840          }
13841          part { name: "bg";
13842             mouse_events: 0;
13843             description { state: "default" 0.0;
13844                visible: 0;
13845                color: 255 255 255 0;
13846                rel1 {
13847                   relative: 0.0 0.0;
13848                   offset: -5 -5;
13849                }
13850                rel2 {
13851                   relative: 1.0 1.0;
13852                   offset: 4 4;
13853                }
13854                image {
13855                   normal: "bt_sm_base1.png";
13856                   border: 6 6 6 6;
13857                }
13858                image.middle: SOLID;
13859             }
13860             description { state: "selected" 0.0;
13861                inherit: "default" 0.0;
13862                visible: 1;
13863                color: 255 255 255 255;
13864                rel1 {
13865                   relative: 0.0 0.0;
13866                   offset: -2 -2;
13867                }
13868                rel2 {
13869                   relative: 1.0 1.0;
13870                   offset: 1 1;
13871                }
13872             }
13873          }
13874          part { name: "elm.swallow.icon";
13875             type: SWALLOW;
13876             description { state: "default" 0.0;
13877                fixed: 0 1;
13878                align: 0.5 0.0;
13879                rel1 {
13880                   relative: 0.0 0.0;
13881                   offset: 4 4;
13882                }
13883                rel2 {
13884                   relative: 1.0 0.0;
13885                   offset: -5 4;
13886                }
13887             }
13888          }
13889          part { name: "elm.swallow.end";
13890             type: SWALLOW;
13891             description { state: "default" 0.0;
13892                fixed: 0 1;
13893                align: 0.5 1.0;
13894                rel1 {
13895                   relative: 0.0 1.0;
13896                   offset: 4 -5;
13897                }
13898                rel2 {
13899                   relative: 1.0 1.0;
13900                   offset: -5 -5;
13901                }
13902             }
13903          }
13904          part { name: "elm.text";
13905             type: TEXT;
13906             effect: SOFT_SHADOW;
13907             mouse_events: 0;
13908             scale: 1;
13909             description {
13910                state: "default" 0.0;
13911                fixed: 1 1;
13912                rel1 {
13913                   to_x: "elm.swallow.icon";
13914                   relative: 0.0 1.0;
13915                   offset: 4 4;
13916                }
13917                rel2 {
13918                   to_x: "elm.swallow.end";
13919                   relative: 1.0 0.0;
13920                   offset: -5 -1;
13921                }
13922                color: 0 0 0 255;
13923                color3: 0 0 0 0;
13924                text {
13925                   font: "Sans";
13926                   size: 10;
13927                   min: 1 1;
13928                   align: 0.5 0.5;
13929                   text_class: "list_item";
13930                }
13931             }
13932             description { state: "selected" 0.0;
13933                inherit: "default" 0.0;
13934                color: 224 224 224 255;
13935                color3: 0 0 0 64;
13936             }
13937          }
13938          part { name: "fg1";
13939             mouse_events: 0;
13940             description { state: "default" 0.0;
13941                visible: 0;
13942                color: 255 255 255 0;
13943                rel1.to: "bg";
13944                rel2.relative: 1.0 0.5;
13945                rel2.to: "bg";
13946                image {
13947                   normal: "bt_sm_hilight.png";
13948                   border: 6 6 6 0;
13949                }
13950             }
13951             description { state: "selected" 0.0;
13952                inherit: "default" 0.0;
13953                visible: 1;
13954                color: 255 255 255 255;
13955             }
13956          }
13957          part { name: "fg2";
13958             mouse_events: 0;
13959             description { state: "default" 0.0;
13960                visible: 0;
13961                color: 255 255 255 0;
13962                rel1.to: "bg";
13963                rel2.to: "bg";
13964                image {
13965                   normal: "bt_sm_shine.png";
13966                   border: 6 6 6 0;
13967                }
13968             }
13969             description { state: "selected" 0.0;
13970                inherit: "default" 0.0;
13971                visible: 1;
13972                color: 255 255 255 255;
13973             }
13974          }
13975       }
13976       programs {
13977          program {
13978             name: "go_active";
13979             signal: "elm,state,selected";
13980             source: "elm";
13981             action: STATE_SET "selected" 0.0;
13982             target: "bg";
13983             target: "fg1";
13984             target: "fg2";
13985             target: "elm.text";
13986          }
13987          program {
13988             name: "go_passive";
13989             signal: "elm,state,unselected";
13990             source: "elm";
13991             action: STATE_SET "default" 0.0;
13992             target: "bg";
13993             target: "fg1";
13994             target: "fg2";
13995             target: "elm.text";
13996             transition: LINEAR 0.1;
13997          }
13998       }
13999    }
14000
14001 ///////////////////////////////////////////////////////////////////////////////
14002    group { name: "elm/slider/horizontal/default";
14003            alias: "elm/slider/horizontal/disabled";
14004       images {
14005          image: "sl_bg.png" COMP;
14006          image: "sl_bg_over.png" COMP;
14007
14008          image: "sl_units.png" COMP;
14009       }
14010       parts {
14011          part { name: "base";
14012             mouse_events: 0;
14013             description { state: "default" 0.0;
14014                max: 99999 6;
14015                min: 0 6;
14016                rel1 { to: "bg";
14017                   offset: 1 0;
14018                }
14019                rel2 { to: "bg";
14020                   offset: -2 -1;
14021                }
14022                image.normal: "sl_bg.png";
14023                fill.smooth: 0;
14024             }
14025          }
14026          part { name: "level";
14027             type: RECT;
14028             mouse_events: 0;
14029             description { state: "default" 0.0;
14030                fixed: 1 1;
14031                rel1.to: "base";
14032                rel2 {
14033                   to_y: "base";
14034                   to_x: "elm.dragable.slider";
14035                   relative: 0.5 1.0;
14036                }
14037                color: 255 0 0 200;
14038             }
14039             description { state: "inverted" 0.0;
14040                inherit: "default" 0.0;
14041                visible: 0;
14042             }
14043             description { state: "disabled" 0.0;
14044                inherit: "default" 0.0;
14045                color: 255 0 0 100;
14046             }
14047             description { state: "disabled_inverted" 0.0;
14048                inherit: "default" 0.0;
14049                visible: 0;
14050             }
14051          }
14052          part { name: "level2";
14053             type: RECT;
14054             mouse_events: 0;
14055             description { state: "default" 0.0;
14056                fixed: 1 1;
14057                visible: 0;
14058                rel1 {
14059                   to_y: "base";
14060                   to_x: "elm.dragable.slider";
14061                   relative: 0.5 0.0;
14062                }
14063                rel2.to: "base";
14064                color: 255 0 0 200;
14065             }
14066             description { state: "inverted" 0.0;
14067                inherit: "default" 0.0;
14068                visible: 1;
14069             }
14070             description { state: "disabled" 0.0;
14071                inherit: "default" 0.0;
14072             }
14073             description { state: "disabled_inverted" 0.0;
14074                inherit: "default" 0.0;
14075                color: 255 0 0 100;
14076                visible: 1;
14077             }
14078          }
14079          part {
14080             name: "base_over";
14081             mouse_events: 0;
14082             description { state: "default" 0.0;
14083                rel1.to: "base";
14084                rel1.offset: -1 -1;
14085                rel2.to: "base";
14086                rel2.offset: 0 0;
14087                image {
14088                   normal: "sl_bg_over.png";
14089                   border: 3 3 3 3;
14090                }
14091                fill.smooth: 0;
14092             }
14093          }
14094          part { name: "bg";
14095             type: RECT;
14096             mouse_events: 0;
14097             scale: 1;
14098             description { state: "default" 0.0;
14099                visible: 0;
14100                rel1.to: "elm.swallow.bar";
14101                rel2.to: "elm.swallow.bar";
14102                color: 0 0 0 0;
14103             }
14104          }
14105          part { name: "elm.swallow.bar";
14106             type: SWALLOW;
14107             scale: 1;
14108             description { state: "default" 0.0;
14109                min: 48 24;
14110                max: 99999 24;
14111                align: 1.0 0.5;
14112                rel1 {
14113                   to_x: "elm.text";
14114                   relative: 1.0 0.0;
14115                   offset: 8 0;
14116                }
14117                rel2 {
14118                   to_x: "elm.units";
14119                   relative: 0.0 1.0;
14120                   offset: -10 -1;
14121                }
14122             }
14123          }
14124          part { name: "elm.swallow.icon";
14125             type: SWALLOW;
14126             description { state: "default" 0.0;
14127                visible: 0;
14128                align: 0.0 0.5;
14129                rel1 {
14130                   offset: 4 0;
14131                   to_y: "elm.swallow.bar";
14132                }
14133                rel2 {
14134                   offset: 3 -1;
14135                   relative: 0.0 1.0;
14136                   to_y: "elm.swallow.bar";
14137                }
14138             }
14139             description { state: "visible" 0.0;
14140                inherit: "default" 0.0;
14141                visible: 1;
14142                aspect: 1.0 1.0;
14143                aspect_preference: VERTICAL;
14144                rel2.offset: 4 -1;
14145             }
14146          }
14147          part { name: "elm.text";
14148             type: TEXT;
14149             mouse_events: 0;
14150             scale: 1;
14151             description { state: "default" 0.0;
14152                visible: 0;
14153                fixed: 1 1;
14154                align: 0.0 0.5;
14155                rel1.to_x: "elm.swallow.icon";
14156                rel1.relative: 1.0 0.0;
14157                rel1.offset: -1 4;
14158                rel2.to_x: "elm.swallow.icon";
14159                rel2.relative: 1.0 1.0;
14160                rel2.offset: -1 -5;
14161                color: 0 0 0 255;
14162                text {
14163                   font: "Sans,Edje-Vera";
14164                   size: 10;
14165                   min: 0 0;
14166                   align: 0.0 0.5;
14167                }
14168             }
14169             description { state: "visible" 0.0;
14170                inherit: "default" 0.0;
14171                visible: 1;
14172                text.min: 1 1;
14173                rel1.offset: 0 4;
14174                rel2.offset: 0 -5;
14175             }
14176             description { state: "disabled" 0.0;
14177                inherit: "default" 0.0;
14178                color: 255 128 128 128;
14179                visible: 0;
14180             }
14181             description { state: "disabled_visible" 0.0;
14182                inherit: "default" 0.0;
14183                color: 0 0 0 128;
14184                color3: 0 0 0 0;
14185                visible: 1;
14186                text.min: 1 1;
14187             }
14188          }
14189          part {
14190             name: "elm.swallow.end";
14191             type: SWALLOW;
14192             description {
14193                state: "default" 0.0;
14194                visible: 0;
14195                align: 1.0 0.5;
14196                rel1 {
14197                   offset: -4 0;
14198                   relative: 1.0 0.0;
14199                   to_y: "elm.swallow.bar";
14200                }
14201                rel2 {
14202                   offset: -3 -1;
14203                   to_y: "elm.swallow.bar";
14204                }
14205             }
14206             description { state: "visible" 0.0;
14207                inherit: "default" 0.0;
14208                visible: 1;
14209                aspect: 1.0 1.0;
14210                aspect_preference: VERTICAL;
14211                rel2.offset: -4 -1;
14212             }
14213          }
14214          part { name: "units";
14215             mouse_events: 0;
14216             description { state: "default" 0.0;
14217                visible: 0;
14218                rel1 {
14219                   to_x: "elm.units";
14220                   offset: 0 5;
14221                }
14222                rel2 {
14223                   to_x: "elm.units";
14224                   offset: 5 -3;
14225                }
14226                image {
14227                   normal: "sl_units.png";
14228                   border: 0 5 3 8;
14229                }
14230                fill.smooth: 0;
14231             }
14232             description { state: "visible" 0.0;
14233                inherit: "default" 0.0;
14234                visible: 1;
14235             }
14236          }
14237          part { name: "elm.units";
14238             type: TEXT;
14239             mouse_events: 0;
14240             scale: 1;
14241             description { state: "default" 0.0;
14242                visible: 0;
14243                fixed: 1 1;
14244                align: 1.0 0.5;
14245                rel1.to_x: "elm.swallow.end";
14246                rel1.relative: 0.0 0.0;
14247                rel1.offset: 0 8;
14248                rel2.to_x: "elm.swallow.end";
14249                rel2.relative: 0.0 1.0;
14250                rel2.offset: 0 -9;
14251                color: 0 0 0 255;
14252                text {
14253                   font: "Sans,Edje-Vera";
14254                   size: 10;
14255                   min: 0 0;
14256                   align: 0.0 0.5;
14257                }
14258             }
14259             description { state: "visible" 0.0;
14260                inherit: "default" 0.0;
14261                fixed: 1 1;
14262                visible: 1;
14263                text.min: 1 1;
14264                rel1.offset: -5 0;
14265                rel2.offset: -5 -1;
14266             }
14267             description { state: "disabled" 0.0;
14268                inherit: "default" 0.0;
14269                color: 255 128 128 128;
14270                visible: 0;
14271             }
14272             description { state: "disabled_visible" 0.0;
14273                inherit: "default" 0.0;
14274                color: 0 0 0 128;
14275                color3: 0 0 0 0;
14276                visible: 1;
14277                text.min: 1 1;
14278             }
14279          }
14280          part { name: "elm.dragable.slider";
14281             type: GROUP;
14282             source: "elm/slider/horizontal/indicator/default";
14283             mouse_events: 1;
14284             repeat_events: 1;
14285             scale: 1;
14286             dragable {
14287                x: 1 1 0;
14288                y: 0 0 0;
14289                confine: "bg";
14290             }
14291             description { state: "default" 0.0;
14292                min: 0 24;
14293                max: 0 24;
14294                fixed: 1 1;
14295                rel1 {
14296                   relative: 0.5 0.0;
14297                   to_x: "bg";
14298                }
14299                rel2 {
14300                   relative: 0.5 1.0;
14301                   to_x: "bg";
14302                }
14303                color: 255 0 0 100;
14304             }
14305          }
14306          part { name: "disabler";
14307             type: RECT;
14308             description { state: "default" 0.0;
14309                color: 0 0 0 0;
14310                visible: 0;
14311             }
14312             description { state: "disabled" 0.0;
14313                inherit: "default" 0.0;
14314                visible: 1;
14315             }
14316          }
14317       }
14318       programs {
14319          program { name: "text_show";
14320             signal: "elm,state,text,visible";
14321             source: "elm";
14322             action:  STATE_SET "visible" 0.0;
14323             target: "elm.text";
14324          }
14325          program { name: "text_hide";
14326             signal: "elm,state,text,hidden";
14327             source: "elm";
14328             action:  STATE_SET "default" 0.0;
14329             target: "elm.text";
14330          }
14331          program { name: "icon_show";
14332             signal: "elm,state,icon,visible";
14333             source: "elm";
14334             action:  STATE_SET "visible" 0.0;
14335             target: "elm.swallow.icon";
14336          }
14337          program { name: "icon_hide";
14338             signal: "elm,state,icon,hidden";
14339             source: "elm";
14340             action:  STATE_SET "default" 0.0;
14341             target: "elm.swallow.icon";
14342          }
14343          program { name: "end_show";
14344             signal: "elm,state,end,visible";
14345             source: "elm";
14346             action:  STATE_SET "visible" 0.0;
14347             target: "elm.swallow.end";
14348          }
14349          program { name: "end_hide";
14350             signal: "elm,state,end,hidden";
14351             source: "elm";
14352             action:  STATE_SET "default" 0.0;
14353             target: "elm.swallow.end";
14354          }
14355          program { name: "units_show";
14356             signal: "elm,state,units,visible";
14357             source: "elm";
14358             action:  STATE_SET "visible" 0.0;
14359             target: "elm.units";
14360             target: "units";
14361          }
14362          program { name: "units_hide";
14363             signal: "elm,state,units,hidden";
14364             source: "elm";
14365             action:  STATE_SET "default" 0.0;
14366             target: "elm.units";
14367             target: "units";
14368          }
14369          program { name: "invert_on";
14370             signal: "elm,state,inverted,on";
14371             source: "elm";
14372             action:  STATE_SET "inverted" 0.0;
14373             target: "level";
14374             target: "level2";
14375          }
14376          program { name: "invert_off";
14377             signal: "elm,state,inverted,off";
14378             source: "elm";
14379             action:  STATE_SET "default" 0.0;
14380             target: "level";
14381             target: "level2";
14382          }
14383          program {
14384             name:    "go_disabled";
14385             signal:  "elm,state,disabled";
14386             source:  "elm";
14387             action:  STATE_SET "disabled" 0.0;
14388 //          target: "button0";
14389             target: "disabler";
14390             after: "disable_text";
14391          }
14392          program { name: "disable_text";
14393             script {
14394                new st[31];
14395                new Float:vl;
14396                get_state(PART:"elm.text", st, 30, vl);
14397                if (!strcmp(st, "visible"))
14398                   set_state(PART:"elm.text", "disabled_visible", 0.0);
14399                else
14400                   set_state(PART:"elm.text", "disabled", 0.0);
14401
14402                get_state(PART:"elm.units", st, 30, vl);
14403                if (!strcmp(st, "visible")) 
14404                   set_state(PART:"elm.units", "disabled_visible", 0.0);
14405                else 
14406                   set_state(PART:"elm.units", "disabled", 0.0);
14407
14408                get_state(PART:"level2", st, 30, vl);
14409                if (!strcmp(st, "inverted")) 
14410                {
14411                   set_state(PART:"level", "disabled_inverted", 0.0);
14412                   set_state(PART:"level2", "disabled_inverted", 0.0);
14413                }
14414                else 
14415                {
14416                   set_state(PART:"level", "disabled", 0.0);
14417                   set_state(PART:"level2", "disabled", 0.0);
14418                }
14419             }
14420          }
14421          program { name: "enable";
14422             signal: "elm,state,enabled";
14423             source: "elm";
14424             action: STATE_SET "default" 0.0;
14425 //          target: "button0";
14426             target: "disabler";
14427             after: "enable_text";
14428          }
14429          program { name: "enable_text";
14430             script {
14431                new st[31];
14432                new Float:vl;
14433                get_state(PART:"elm.text", st, 30, vl);
14434                if (!strcmp(st, "disabled_visible"))
14435                   set_state(PART:"elm.text", "visible", 0.0);
14436                else
14437                   set_state(PART:"elm.text", "default", 0.0);
14438
14439                get_state(PART:"elm.units", st, 30, vl);
14440                if (!strcmp(st, "disabled_visible"))
14441                   set_state(PART:"elm.units", "visible", 0.0);
14442                else
14443                   set_state(PART:"elm.units", "default", 0.0);
14444      
14445                get_state(PART:"level2", st, 30, vl);
14446                if (!strcmp(st, "disabled_inverted"))
14447                {
14448                   set_state(PART:"level", "inverted", 0.0);
14449                   set_state(PART:"level2", "inverted", 0.0);
14450                }
14451                else
14452                {
14453                   set_state(PART:"level", "default", 0.0);
14454                   set_state(PART:"level2", "default", 0.0);
14455                }
14456             }
14457          }
14458       }
14459    }
14460
14461    group { name: "elm/slider/vertical/default";
14462       images {
14463          image: "slv_bg.png" COMP;
14464          image: "slv_bg_over.png" COMP;
14465
14466          image: "slv_units.png" COMP;
14467       }
14468       parts {
14469          part { name: "base";
14470             mouse_events: 0;
14471             description { state: "default" 0.0;
14472                max: 6 99999;
14473                min: 6 0;
14474                rel1 { to: "bg";
14475                   offset: 1 0;
14476                }
14477                rel2 { to: "bg";
14478                   offset: -2 -1;
14479                }
14480                image.normal: "slv_bg.png";
14481                fill.smooth: 0;
14482             }
14483          }
14484          part { name: "level";
14485             type: RECT;
14486             mouse_events: 0;
14487             description { state: "default" 0.0;
14488                fixed: 1 1;
14489                rel1.to: "base";
14490                rel2 {
14491                   to_x: "base";
14492                   to_y: "elm.dragable.slider";
14493                   relative: 1.0 0.5;
14494                }
14495                color: 255 0 0 200;
14496             }
14497             description { state: "inverted" 0.0;
14498                inherit: "default" 0.0;
14499                visible: 0;
14500             }
14501             description { state: "disabled" 0.0;
14502                inherit: "default" 0.0;
14503                color: 255 0 0 100;
14504             }
14505             description { state: "disabled_inverted" 0.0;
14506                inherit: "default" 0.0;
14507                visible: 0;
14508             }
14509          }
14510          part { name: "level2";
14511             type: RECT;
14512             mouse_events: 0;
14513             description { state: "default" 0.0;
14514                fixed: 1 1;
14515                visible: 0;
14516                rel1 {
14517                   to_x: "base";
14518                   to_y: "elm.dragable.slider";
14519                   relative: 0.0 0.5;
14520                }
14521                rel2.to: "base";
14522                color: 255 0 0 200;
14523             }
14524             description { state: "inverted" 0.0;
14525                inherit: "default" 0.0;
14526                visible: 1;
14527             }
14528             description { state: "disabled" 0.0;
14529                inherit: "default" 0.0;
14530                color: 255 0 0 100;
14531             }
14532             description { state: "disabled_inverted" 0.0;
14533                inherit: "default" 0.0;
14534                color: 255 0 0 100;
14535                visible: 1;
14536             }
14537          }
14538          part {
14539             name: "base_over";
14540             mouse_events: 0;
14541             description { state: "default" 0.0;
14542                rel1.to: "base";
14543                rel1.offset: -1 -1;
14544                rel2.to: "base";
14545                rel2.offset: 0 0;
14546                image {
14547                   normal: "slv_bg_over.png";
14548                   border: 3 3 3 3;
14549                }
14550                fill.smooth: 0;
14551             }
14552          }
14553          part { name: "bg";
14554             type: RECT;
14555             mouse_events: 0;
14556             scale: 1;
14557             description { state: "default" 0.0;
14558                visible: 0;
14559                rel1.to: "elm.swallow.bar";
14560                rel2.to: "elm.swallow.bar";
14561                color: 0 0 0 0;
14562             }
14563          }
14564          part { name: "elm.swallow.bar";
14565             type: SWALLOW;
14566             scale: 1;
14567             description { state: "default" 0.0;
14568                min: 24 48;
14569                max: 24 9999;
14570                align: 0.5 1.0;
14571                rel1 {
14572                   to_y: "elm.text";
14573                   relative: 0.0 1.0;
14574                   offset: 0 10;
14575                }
14576                rel2 {
14577                   to_y: "elm.units";
14578                   relative: 1.0 0.0;
14579                   offset: -1 -8;
14580                }
14581             }
14582          }
14583          part { name: "elm.swallow.icon";
14584             type: SWALLOW;
14585             description { state: "default" 0.0;
14586                visible: 0;
14587                align: 0.5 0.0;
14588                rel1 {
14589                   offset: 0 4;
14590                   to_x: "elm.swallow.bar";
14591                }
14592                rel2 {
14593                   offset: -1 3;
14594                   relative: 1.0 0.0;
14595                   to_x: "elm.swallow.bar";
14596                }
14597             }
14598             description { state: "visible" 0.0;
14599                inherit: "default" 0.0;
14600                visible: 1;
14601                aspect: 1.0 1.0;
14602                aspect_preference: HORIZONTAL;
14603                rel2.offset: -1 4;
14604             }
14605          }
14606          part { name: "elm.text";
14607             type: TEXT;
14608             mouse_events: 0;
14609             scale: 1;
14610             description { state: "default" 0.0;
14611                visible: 0;
14612                fixed: 0 1;
14613                align: 0.5 0.0;
14614                rel1.to_y: "elm.swallow.icon";
14615                rel1.relative: 0.0 1.0;
14616                rel1.offset: 0 -1;
14617                rel2.to_y: "elm.swallow.icon";
14618                rel2.relative: 1.0 1.0;
14619                rel2.offset: -1 -1;
14620                color: 0 0 0 255;
14621                text {
14622                   font: "Sans,Edje-Vera";
14623                   size: 10;
14624                   min: 0 0;
14625                   align: 0.5 0.0;
14626                }
14627             }
14628             description { state: "visible" 0.0;
14629                inherit: "default" 0.0;
14630                visible: 1;
14631                text.min: 1 1;
14632                rel1.offset: 4 0;
14633                rel2.offset: -5 0;
14634             }
14635             description { state: "disabled" 0.0;
14636                inherit: "default" 0.0;
14637                color: 255 128 128 128;
14638                visible: 0;
14639             }
14640             description { state: "disabled_visible" 0.0;
14641                inherit: "default" 0.0;
14642                color: 0 0 0 128;
14643                color3: 0 0 0 0;
14644                visible: 1;
14645                text.min: 1 1;
14646             }
14647          }
14648          part {
14649             name: "elm.swallow.end";
14650             type: SWALLOW;
14651             description {
14652                state: "default" 0.0;
14653                visible: 0;
14654                align: 0.5 1.0;
14655                rel1 {
14656                   offset: 0 -4;
14657                   relative: 0.0 1.0;
14658                   to_x: "elm.swallow.bar";
14659                }
14660                rel2 {
14661                   offset: -1 -3;
14662                   to_x: "elm.swallow.bar";
14663                }
14664             }
14665             description { state: "visible" 0.0;
14666                inherit: "default" 0.0;
14667                visible: 1;
14668                aspect: 1.0 1.0;
14669                aspect_preference: HORIZONTAL;
14670                rel2.offset: -1 -4;
14671             }
14672          }
14673          part { name: "units";
14674             mouse_events: 0;
14675             description { state: "default" 0.0;
14676                visible: 0;
14677                rel1 {
14678                   to: "elm.units";
14679                   offset: -8 0;
14680                }
14681                rel2 {
14682                   to: "elm.units";
14683                   offset: 7 8;
14684                }
14685                image {
14686                   normal: "slv_units.png";
14687                   border: 8 8 0 9;
14688                }
14689                fill.smooth: 0;
14690             }
14691             description { state: "visible" 0.0;
14692                inherit: "default" 0.0;
14693                visible: 1;
14694             }
14695          }
14696          part { name: "elm.units";
14697             type: TEXT;
14698             mouse_events: 0;
14699             scale: 1;
14700             description { state: "default" 0.0;
14701                visible: 0;
14702                fixed: 1 1;
14703                align: 0.5 1.0;
14704                rel1.relative: 0.0 0.0;
14705                rel1.to_y: "elm.swallow.end";
14706                rel1.offset: 8 0;
14707                rel2.relative: 1.0 0.0;
14708                rel2.to_y: "elm.swallow.end";
14709                rel2.offset: -9 0;
14710                color: 0 0 0 255;
14711                text {
14712                   font: "Sans,Edje-Vera";
14713                   size: 10;
14714                   min: 0 0;
14715                   align: 0.5 0.0;
14716                }
14717             }
14718             description { state: "visible" 0.0;
14719                inherit: "default" 0.0;
14720                fixed: 1 1;
14721                visible: 1;
14722                text.min: 1 1;
14723                rel1.offset: 8 -9;
14724                rel2.offset: -9 -9;
14725             }
14726             description { state: "disabled" 0.0;
14727                inherit: "default" 0.0;
14728                color:  0 0 0 128;
14729                color3: 0 0 0 0;
14730                visible: 0;
14731             }
14732             description { state: "disabled_visible" 0.0;
14733                inherit: "default" 0.0;
14734                fixed: 1 1;
14735                visible: 1;
14736                text.min: 1 1;
14737                rel1.offset: 8 -9;
14738                rel2.offset: -9 -9;
14739                color: 0 0 0 128;
14740                color3: 0 0 0 0;
14741             }
14742          }
14743          part { name: "elm.dragable.slider";
14744             type: GROUP;
14745             source: "elm/slider/vertical/indicator/default";
14746             mouse_events: 1;
14747             repeat_events: 1;
14748             scale: 1;
14749             dragable {
14750                x: 0 0 0;
14751                y: 1 1 0;
14752                confine: "bg";
14753             }
14754             description { state: "default" 0.0;
14755                min: 24 0;
14756                max: 24 0;
14757                fixed: 1 1;
14758                rel1 {
14759                   relative: 0.5  0.0;
14760                   to_y: "bg";
14761                }
14762                rel2 {
14763                   relative: 0.5  1.0;
14764                   to_y: "bg";
14765                }
14766                color: 0 0 0 0;
14767             }
14768          }
14769              part { name: "disabler";
14770                 type: RECT;
14771                 description { state: "default" 0.0;
14772                    color: 0 0 0 0;
14773                    visible: 0;
14774                 }
14775                 description { state: "disabled" 0.0;
14776                    inherit: "default" 0.0;
14777                    visible: 1;
14778                 }
14779              }
14780           }
14781
14782       programs {
14783          program { name: "text_show";
14784             signal: "elm,state,text,visible";
14785             source: "elm";
14786             action:  STATE_SET "visible" 0.0;
14787             target: "elm.text";
14788          }
14789          program { name: "text_hide";
14790             signal: "elm,state,text,hidden";
14791             source: "elm";
14792             action:  STATE_SET "default" 0.0;
14793             target: "elm.text";
14794          }
14795          program { name: "icon_show";
14796             signal: "elm,state,icon,visible";
14797             source: "elm";
14798             action:  STATE_SET "visible" 0.0;
14799             target: "elm.swallow.icon";
14800          }
14801          program { name: "icon_hide";
14802             signal: "elm,state,icon,hidden";
14803             source: "elm";
14804             action:  STATE_SET "default" 0.0;
14805             target: "elm.swallow.icon";
14806          }
14807          program { name: "end_show";
14808             signal: "elm,state,end,visible";
14809             source: "elm";
14810             action:  STATE_SET "visible" 0.0;
14811             target: "elm.swallow.end";
14812          }
14813          program { name: "end_hide";
14814             signal: "elm,state,end,hidden";
14815             source: "elm";
14816             action:  STATE_SET "default" 0.0;
14817             target: "elm.swallow.end";
14818          }
14819          program { name: "units_show";
14820             signal: "elm,state,units,visible";
14821             source: "elm";
14822             action:  STATE_SET "visible" 0.0;
14823             target: "elm.units";
14824             target: "units";
14825          }
14826          program { name: "units_hide";
14827             signal: "elm,state,units,hidden";
14828             source: "elm";
14829             action:  STATE_SET "default" 0.0;
14830             target: "elm.units";
14831             target: "units";
14832          }
14833          program { name: "invert_on";
14834             signal: "elm,state,inverted,on";
14835             source: "elm";
14836             action:  STATE_SET "inverted" 0.0;
14837             target: "level";
14838             target: "level2";
14839          }
14840          program { name: "invert_off";
14841             signal: "elm,state,inverted,off";
14842             source: "elm";
14843             action:  STATE_SET "default" 0.0;
14844             target: "level";
14845             target: "level2";
14846          }
14847          program {
14848             name:   "go_disabled";
14849             signal: "elm,state,disabled";
14850             source: "elm";
14851             action: STATE_SET "disabled" 0.0;
14852 //          target: "button0";
14853             target: "disabler";
14854             after: "disable_text";
14855          }
14856          program { name: "disable_text";
14857             script {
14858             new st[31];
14859             new Float:vl;
14860                get_state(PART:"elm.text", st, 30, vl);
14861                if (!strcmp(st, "visible"))
14862                   set_state(PART:"elm.text", "disabled_visible", 0.0);
14863                else
14864                   set_state(PART:"elm.text", "disabled", 0.0);
14865
14866                get_state(PART:"elm.units", st, 30, vl);
14867                if (!strcmp(st, "visible")) 
14868                   set_state(PART:"elm.units", "disabled_visible", 0.0);
14869                else 
14870                   set_state(PART:"elm.units", "disabled", 0.0);
14871
14872                get_state(PART:"level2", st, 30, vl);
14873                if (!strcmp(st, "inverted")) 
14874                {
14875                   set_state(PART:"level", "disabled_inverted", 0.0);
14876                   set_state(PART:"level2", "disabled_inverted", 0.0);
14877                }
14878                else 
14879                {
14880                   set_state(PART:"level", "disabled", 0.0);
14881                   set_state(PART:"level2", "disabled", 0.0);
14882                }
14883             }
14884          }
14885
14886          program { name: "enable";
14887             signal: "elm,state,enabled";
14888             source: "elm";
14889             action: STATE_SET "default" 0.0;
14890 //          target: "button0";
14891             target: "disabler";
14892             after: "enable_text";
14893          }
14894          program { name: "enable_text";
14895             script {
14896                new st[31];
14897                new Float:vl;
14898                get_state(PART:"elm.text", st, 30, vl);
14899                if (!strcmp(st, "disabled_visible"))
14900                   set_state(PART:"elm.text", "visible", 0.0);
14901                else
14902                   set_state(PART:"elm.text", "default", 0.0);
14903
14904                get_state(PART:"elm.units", st, 30, vl);
14905                if (!strcmp(st, "disabled_visible"))
14906                   set_state(PART:"elm.units", "visible", 0.0);
14907                else
14908                   set_state(PART:"elm.units", "default", 0.0);
14909      
14910                get_state(PART:"level2", st, 30, vl);
14911                if (!strcmp(st, "disabled_inverted"))
14912                {
14913                   set_state(PART:"level", "inverted", 0.0);
14914                   set_state(PART:"level2", "inverted", 0.0);
14915                }
14916                else
14917                {
14918                   set_state(PART:"level", "default", 0.0);
14919                   set_state(PART:"level2", "default", 0.0);
14920                }
14921             }
14922          }
14923       }
14924    }
14925    group { name: "elm/slider/horizontal/indicator/default";
14926            alias: "elm/slider/horizontal/indicator/disabled";
14927            alias: "elm/slider/vertical/indicator/default";
14928            alias: "elm/slider/vertical/indicator/disabled";
14929       images {
14930          image: "sl_bt_0.png" COMP;
14931          image: "sl_bt_1.png" COMP;
14932          image: "sl_bt_2.png" COMP;
14933          image: "sl_bt_3.png" COMP;
14934          image: "sl_bt2_0_0.png" COMP;
14935          image: "sl_bt2_0_1.png" COMP;
14936          image: "sl_bt2_0_2.png" COMP;
14937          image: "sl_bt2_1.png" COMP;
14938          image: "sl_bt2_2.png" COMP;
14939       }
14940       script {
14941          public value_hide = 0;
14942          public set_value_show() {
14943             set_int(value_hide, 0);
14944          }
14945          public set_value_hide() {
14946             set_int(value_hide, 1);
14947          }
14948          public thumb_down() {
14949             if (get_int(value_hide) == 1) {
14950                set_state(PART:"elm.indicator", "default", 0.0);
14951                set_state(PART:"button3", "default", 0.0);
14952                set_state(PART:"button4", "default", 0.0);
14953                set_state(PART:"button5", "default", 0.0);
14954                set_state(PART:"button6", "default", 0.0);
14955                set_state(PART:"button7", "default", 0.0);
14956             } else {
14957                set_state(PART:"elm.indicator", "visible", 0.0);
14958                set_state(PART:"button3", "visible", 0.0);
14959                set_state(PART:"button4", "visible", 0.0);
14960                set_state(PART:"button5", "visible", 0.0);
14961                set_state(PART:"button6", "visible", 0.0);
14962                set_state(PART:"button7", "visible", 0.0);
14963             }
14964          }
14965          public thumb_up() {
14966             set_state(PART:"elm.indicator", "default", 0.0);
14967             set_state(PART:"button3", "default", 0.0);
14968             set_state(PART:"button4", "default", 0.0);
14969             set_state(PART:"button5", "default", 0.0);
14970             set_state(PART:"button6", "default", 0.0);
14971             set_state(PART:"button7", "default", 0.0);
14972          }
14973       }
14974       parts {
14975          part { name: "button_events";
14976             type: RECT;
14977             mouse_events: 1;
14978             description { state: "default" 0.0;
14979                fixed: 1 1;
14980                min: 16 16;
14981                aspect: 1.0 1.0;
14982                aspect_preference: VERTICAL;
14983                color: 0 0 0 0;
14984             }
14985          }
14986          part { name: "button0";
14987             mouse_events: 0;
14988             description { state: "default" 0.0;
14989                fixed: 1 1;
14990                max: 17 999;
14991                min: 17 24;
14992                image {
14993                   normal: "sl_bt_0.png";
14994                   border: 5 5 5 10;
14995                }
14996                fill.smooth: 0;
14997             }
14998             description { state: "disabled" 0.0;
14999                inherit: "default" 0.0;
15000                image {
15001                   normal: "sl_bt_3.png";
15002                   border: 5 5 5 10;
15003                }
15004             }
15005          }
15006          part { name: "button1";
15007             mouse_events: 0;
15008             description { state: "default" 0.0;
15009                rel1.to: "button0";
15010                rel2 {
15011                   to: "button0";
15012                   relative: 1.0 0.5;
15013                   offset: -1 -5;
15014                }
15015                image {
15016                   normal: "sl_bt_1.png";
15017                   border: 5 5 5 0;
15018                }
15019             }
15020          }
15021          part { name: "button2";
15022             mouse_events: 0;
15023             description { state: "default" 0.0;
15024                rel1.to: "button0";
15025                rel2.to: "button0";
15026                image {
15027                   normal: "sl_bt_2.png";
15028                   border: 5 5 5 10;
15029                }
15030                fill.smooth: 0;
15031             }
15032          }
15033          part { name: "button3";
15034             mouse_events: 0;
15035             description { state: "default" 0.0;
15036                fixed: 1 1;
15037                visible: 0;
15038                min: 8 32;
15039                align: 1.0 0.5;
15040                rel1 {
15041                   to_x: "elm.indicator";
15042                   to_y: "button4";
15043                   relative: 0.0 0.0;
15044                   offset: -7 0;
15045                }
15046                rel2 {
15047                   to: "button4";
15048                   relative: 0.0 1.0;
15049                   offset: -1 -1;
15050                }
15051                image {
15052                   normal: "sl_bt2_0_0.png";
15053                   border: 6 0 6 12;
15054                }
15055                fill.smooth: 0;
15056             }
15057             description { state: "visible" 0.0;
15058                inherit: "default" 0.0;
15059                visible: 1;
15060             }
15061          }
15062          part { name: "button4";
15063             mouse_events: 0;
15064             description { state: "default" 0.0;
15065                visible: 0;
15066                max: 15 999;
15067                min: 15 32;
15068                rel1 {
15069                   to_x: "button0";
15070                   to_y: "elm.indicator";
15071                   offset: 0 0;
15072                }
15073                rel2.to: "button0";
15074                image {
15075                   normal: "sl_bt2_0_1.png";
15076                   border: 0 0 6 12;
15077                }
15078                fill.smooth: 0;
15079             }
15080             description { state: "visible" 0.0;
15081                inherit: "default" 0.0;
15082                visible: 1;
15083             }
15084          }
15085          part { name: "button5";
15086             mouse_events: 0;
15087             description { state: "default" 0.0;
15088                fixed: 1 1;
15089                visible: 0;
15090                min: 8 32;
15091                align: 0.0 0.5;
15092                rel1 {
15093                   to: "button4";
15094                   relative: 1.0 0.0;
15095                   offset: 0 0;
15096                }
15097                rel2 {
15098                   to_x: "elm.indicator";
15099                   to_y: "button4";
15100                   relative: 1.0 1.0;
15101                   offset: 6 -1;
15102                }
15103                image {
15104                   normal: "sl_bt2_0_2.png";
15105                   border: 0 6 6 12;
15106                }
15107                fill.smooth: 0;
15108             }
15109             description { state: "visible" 0.0;
15110                inherit: "default" 0.0;
15111                visible: 1;
15112             }
15113          }
15114          part { name: "elm.indicator";
15115             type: TEXT;
15116             mouse_events: 0;
15117             effect: SOFT_SHADOW;
15118             scale: 1;
15119             description { state: "default" 0.0;
15120                visible: 0;
15121                fixed: 1 1;
15122                align: 0.5 1.0;
15123                rel1 {
15124                   to: "button0";
15125                   relative: 0.0 -0.25;
15126                   offset: 0 0;
15127                }
15128                rel2 {
15129                   to_x: "button0";
15130                   relative: 1.0 -0.25;
15131                   offset: -1 0;
15132                }
15133                color: 224 224 224 255;
15134                color3: 0 0 0 64;
15135                text {
15136                   font:     "Sans,Edje-Vera";
15137                   size:     10;
15138                   min:      0 0;
15139                   align:    0.5 0.5;
15140                }
15141             }
15142             description { state: "visible" 0.0;
15143                inherit: "default" 0.0;
15144                visible: 1;
15145                text.min: 1 1;
15146                rel1.offset: 0 -1;
15147                rel2.offset: -1 -1;
15148             }
15149          }
15150          part { name: "button6";
15151             mouse_events: 0;
15152             description { state: "default" 0.0;
15153                visible: 0;
15154                rel1.to: "button3";
15155                rel2 {
15156                   to: "button5";
15157                   relative: 1.0 0.3;
15158                   offset: -1 -1;
15159                }
15160                image {
15161                   normal: "sl_bt2_1.png";
15162                   border: 5 5 5 0;
15163                }
15164                fill.smooth: 0;
15165             }
15166             description { state: "visible" 0.0;
15167                inherit: "default" 0.0;
15168                visible: 1;
15169             }
15170          }
15171          part { name: "button7";
15172             mouse_events: 0;
15173             description { state: "default" 0.0;
15174                visible: 0;
15175                rel1.to: "button3";
15176                rel2.to: "button5";
15177                image {
15178                   normal: "sl_bt2_2.png";
15179                   border: 5 5 5 0;
15180                   middle: 0;
15181                }
15182                fill.smooth: 0;
15183             }
15184             description { state: "visible" 0.0;
15185                inherit: "default" 0.0;
15186                visible: 1;
15187             }
15188          }
15189       }
15190       programs {
15191          program { name: "set_val_show";
15192             signal: "elm,state,val,show";
15193             source: "elm";
15194             script {
15195                set_value_show();
15196             }
15197          }
15198          program { name: "set_val_hide";
15199             signal: "elm,state,val,hide";
15200             source: "elm";
15201             script {
15202                set_value_hide();
15203             }
15204          }
15205          program { name: "val_show";
15206             signal: "mouse,down,*";
15207             source: "button_events";
15208             script {
15209                thumb_down();
15210             }
15211
15212          }
15213          program { name: "val_hide";
15214             signal: "mouse,up,*";
15215             source: "button_events";
15216             script {
15217                thumb_up();
15218             }
15219          }
15220       }
15221    }
15222
15223
15224 ////////////////////////////////////////////////////////////////////////////////
15225 // actionslider
15226 ////////////////////////////////////////////////////////////////////////////////
15227    group { name: "elm/actionslider/base/default";
15228
15229       images {
15230          image: "shelf_inset.png" COMP;
15231          image: "ilist_1.png" COMP;
15232          image: "bt_bases.png" COMP;
15233          image: "bt_basew.png" COMP;
15234          image: "bt_hilightw.png" COMP;
15235       }
15236
15237       parts {
15238          part {
15239             name: "base";
15240             mouse_events: 0;
15241             description {
15242                state: "default" 0.0;
15243                min: 75 25;
15244                rel1.offset: 1 1;
15245                rel2.offset: -2 -2;
15246                image {
15247                   normal: "ilist_1.png";
15248                   border: 2 2 2 2;
15249                }
15250                fill.smooth: 0;
15251             }
15252          }
15253          part { name: "conf_over";
15254             mouse_events:  0;
15255             description { state: "default" 0.0;
15256                rel1.to: "base";
15257                rel2.to: "base";
15258                image {
15259                   normal: "shelf_inset.png";
15260                   border: 7 7 7 7;
15261                   middle: 0;
15262                }
15263                fill.smooth : 0;
15264             }
15265          }
15266          part { name: "icon.dragable.area";
15267            type: RECT;
15268             mouse_events: 0;
15269             description { state: "default" 0.0;
15270                visible: 0;
15271                rel1.to: "base";
15272                rel2.to: "base";
15273             }
15274          }
15275          part { name: "elm.text.left";
15276             type: TEXT;
15277             mouse_events: 0;
15278             scale: 1;
15279             description { state: "default" 0.0;
15280                color: 0 0 0 255;
15281                text {
15282                   font: "Sans,Edje-Vera";
15283                   size: 10;
15284                   align: 0.05 0.5;
15285                   min: 1 1;
15286                }
15287             }
15288          }
15289          part { name: "elm.text.center";
15290             type: TEXT;
15291             mouse_events: 0;
15292             scale: 1;
15293             description { state: "default" 0.0;
15294                color: 0 0 0 255;
15295                text {
15296                   font: "Sans,Edje-Vera";
15297                   size: 10;
15298                   align: 0.5 0.5;
15299                   min: 1 1;
15300                }
15301             }
15302          }
15303          part { name: "elm.text.right";
15304             type: TEXT;
15305             mouse_events: 0;
15306             scale: 1;
15307             description { state: "default" 0.0;
15308                color: 0 0 0 255;
15309                text {
15310                   font: "Sans,Edje-Vera";
15311                   size: 10;
15312                   align: 0.95 0.5;
15313                   min: 1 1;
15314                }
15315             }
15316          }
15317          part { name: "elm.drag_button_base";
15318             type: SWALLOW;
15319             mouse_events: 0;
15320             scale: 1;
15321             description { state: "default" 0.0;
15322                fixed: 1 1;
15323                min: 50 25;
15324                align: 0.5 0.5;
15325                rel1.to: "icon.dragable.area";
15326                rel2 {
15327                   relative: 0.0 1.0;
15328                   to: "icon.dragable.area";
15329                }
15330             }
15331             dragable {
15332                confine: "icon.dragable.area";
15333                x: 1 1 0;
15334                y: 0 0 0;
15335             }
15336          }
15337          part { name: "elm.drag_button";
15338             type: RECT;
15339             mouse_events: 1;
15340             description { state: "default" 0.0;
15341                min: 50 25;
15342                color: 255 255 255 0;
15343                rel1.to_x: "elm.drag_button_base";
15344                rel1.to_y: "icon.dragable.area";
15345                rel2.to_x: "elm.drag_button_base";
15346                rel2.to_y: "icon.dragable.area";
15347             }
15348             dragable {
15349                events: "elm.drag_button_base";
15350             }
15351          }
15352          part { name: "button0";
15353             mouse_events: 0;
15354             description { state: "default" 0.0;
15355                rel1.to: "button2";
15356                rel1.offset: -4 -4;
15357                rel2.to: "button2";
15358                rel2.offset: 3 3;
15359                image {
15360                   normal: "bt_bases.png";
15361                   border: 11 11 11 11;
15362                   middle: SOLID;
15363                }
15364                color: 255 255 255 128;
15365             }
15366          }
15367          part { name: "button2";
15368             mouse_events: 0;
15369             description { state: "default" 0.0;
15370                rel1.to: "elm.drag_button";
15371                rel2.to: "elm.drag_button";
15372                image {
15373                   normal: "bt_basew.png";
15374                   border: 7 7 7 7;
15375                   middle: SOLID;
15376                }
15377                color: 255 255 255 210;
15378             }
15379          }
15380          part { name: "button3";
15381             mouse_events: 0;
15382             description { state: "default" 0.0;
15383                rel1.to: "button2";
15384                rel2.to: "button2";
15385                rel2.relative: 1.0 0.5;
15386                image {
15387                   normal: "bt_hilightw.png";
15388                   border: 4 4 4 0;
15389                }
15390                color: 255 255 255 190;
15391             }
15392          }
15393          part { name: "elm.text.indicator";
15394             type: TEXT;
15395             scale: 1;
15396             mouse_events: 0;
15397             description { state: "default" 0.0;
15398                rel1 {
15399                   to: "elm.drag_button";
15400                   offset: 5 0;
15401                }
15402                rel2 {
15403                   to: "elm.drag_button";
15404                   offset: -5 0;
15405                }
15406                color: 0 0 0 255;
15407                text {
15408                   font: "Sans,Edje-Vera";
15409                   size: 10;
15410                   align: 0.5 0.5;
15411                   min: 0 1;
15412                }
15413             }
15414          }
15415       }
15416       programs {
15417          program { name: "elm.drag_button,mouse,up";
15418             signal: "mouse,up,1";
15419             source: "elm.drag_button";
15420             action: SIGNAL_EMIT "elm.drag_button,mouse,up" "";
15421          }
15422          program { name: "elm.drag_button,mouse,down";
15423             signal: "mouse,down,1";
15424             source: "elm.drag_button";
15425             action: SIGNAL_EMIT "elm.drag_button,mouse,down" "";
15426          }
15427          program { name: "elm.drag_button,mouse,move";
15428             signal: "mouse,move";
15429             source: "elm.drag_button_base";
15430             action: SIGNAL_EMIT "elm.drag_button,mouse,move" "";
15431          }
15432       }
15433    }
15434
15435    group { name: "elm/actionslider/base/bar";
15436
15437       images {
15438          image: "shelf_inset.png" COMP;
15439          image: "ilist_1.png" COMP;
15440          image: "bt_bases.png" COMP;
15441          image: "bt_basew.png" COMP;
15442          image: "bt_hilightw.png" COMP;
15443       }
15444
15445       parts {
15446          part {
15447             name: "base";
15448             mouse_events: 0;
15449             description {
15450                state: "default" 0.0;
15451                min: 150 30;
15452                rel1.offset: 1 1;
15453                rel2.offset: -2 -2;
15454                image {
15455                   normal: "ilist_1.png";
15456                   border: 2 2 2 2;
15457                }
15458                fill.smooth: 0;
15459             }
15460          }
15461          part { name: "conf_over";
15462             mouse_events:  0;
15463             description { state: "default" 0.0;
15464                rel1.to: "base";
15465                rel2.to: "base";
15466                image {
15467                   normal: "shelf_inset.png";
15468                   border: 7 7 7 7;
15469                   middle: 0;
15470                }
15471                fill.smooth : 0;
15472             }
15473          }
15474          part { name: "icon.dragable.area";
15475            type: RECT;
15476             mouse_events: 0;
15477             description { state: "default" 0.0;
15478                visible: 0;
15479                rel1.to: "base";
15480                rel2.to: "base";
15481             }
15482          }
15483          part { name: "elm.text.left";
15484             type: TEXT;
15485             mouse_events: 0;
15486             scale: 1;
15487             description { state: "default" 0.0;
15488                color: 0 0 0 255;
15489                text {
15490                   font: "Sans,Edje-Vera";
15491                   size: 10;
15492                   align: 0.05 0.5;
15493                   min: 1 1;
15494                }
15495             }
15496          }
15497          part { name: "elm.text.center";
15498             type: TEXT;
15499             mouse_events: 0;
15500             scale: 1;
15501             description { state: "default" 0.0;
15502                color: 0 0 0 255;
15503                text {
15504                   font: "Sans,Edje-Vera";
15505                   size: 10;
15506                   align: 0.5 0.5;
15507                   min: 1 1;
15508                }
15509             }
15510          }
15511          part { name: "elm.text.right";
15512             type: TEXT;
15513             mouse_events: 0;
15514             scale: 1;
15515             description { state: "default" 0.0;
15516                color: 0 0 0 255;
15517                text {
15518                   font: "Sans,Edje-Vera";
15519                   size: 10;
15520                   align: 0.95 0.5;
15521                   min: 1 1;
15522                }
15523             }
15524          }
15525          part { name: "bar";
15526             type: RECT;
15527             mouse_events: 0;
15528             description { state: "default" 0.0;
15529                rel1.to: "base";
15530                rel1.offset: 0 2;
15531                rel2 {
15532                   relative: 0 1;
15533                   offset: 3 -3;
15534                   to_x: "elm.drag_button_base";
15535                   to_y: "base";
15536                }
15537                color: 0 0 0 180;
15538             }
15539          }
15540          part { name: "elm.drag_button_base";
15541             type: SWALLOW;
15542             mouse_events: 1;
15543             scale: 1;
15544             description { state: "default" 0.0;
15545                fixed: 1 1;
15546                min: 50 25;
15547                align: 0.5 0.5;
15548                rel1.to: "icon.dragable.area";
15549                rel2 {
15550                   relative: 0.0 1.0;
15551                   to: "icon.dragable.area";
15552                }
15553             }
15554             dragable {
15555                confine: "icon.dragable.area";
15556                x: 1 1 0;
15557                y: 0 0 0;
15558             }
15559          }
15560          part { name: "elm.drag_button";
15561             type: RECT;
15562             mouse_events: 1;
15563             description { state: "default" 0.0;
15564                min: 50 25;
15565                color: 255 255 255 0;
15566                rel1.to_x: "elm.drag_button_base";
15567                rel1.to_y: "icon.dragable.area";
15568                rel2.to_x: "elm.drag_button_base";
15569                rel2.to_y: "icon.dragable.area";
15570             }
15571             dragable {
15572                events: "elm.drag_button_base";
15573             }
15574          }
15575          part { name: "button0";
15576             mouse_events: 0;
15577             description { state: "default" 0.0;
15578                rel1.to: "button2";
15579                rel1.offset: -4 -4;
15580                rel2.to: "button2";
15581                rel2.offset: 3 3;
15582                image {
15583                   normal: "bt_bases.png";
15584                   border: 11 11 11 11;
15585                   middle: SOLID;
15586                }
15587                color: 255 255 255 128;
15588             }
15589          }
15590          part { name: "button2";
15591             mouse_events: 0;
15592             description { state: "default" 0.0;
15593                rel1.to: "elm.drag_button";
15594                rel2.to: "elm.drag_button";
15595                image {
15596                   normal: "bt_basew.png";
15597                   border: 7 7 7 7;
15598                   middle: SOLID;
15599                }
15600                color: 255 255 255 210;
15601             }
15602          }
15603          part { name: "button3";
15604             mouse_events: 0;
15605             description { state: "default" 0.0;
15606                rel1.to: "button2";
15607                rel2.to: "button2";
15608                rel2.relative: 1.0 0.5;
15609                image {
15610                   normal: "bt_hilightw.png";
15611                   border: 4 4 4 0;
15612                }
15613                color: 255 255 255 190;
15614             }
15615          }
15616          part { name: "elm.text.indicator";
15617             type: TEXT;
15618             scale: 1;
15619             mouse_events: 0;
15620             description { state: "default" 0.0;
15621                rel1 {
15622                   to: "elm.drag_button";
15623                   offset: 5 0;
15624                }
15625                rel2 {
15626                   to: "elm.drag_button";
15627                   offset: -5 0;
15628                }
15629                color: 0 0 0 255;
15630                text {
15631                   font: "Sans,Edje-Vera";
15632                   size: 10;
15633                   align: 0.5 0.5;
15634                   min: 0 1;
15635                }
15636             }
15637          }
15638       }
15639       programs {
15640          program { name: "elm.drag_button,mouse,up";
15641             signal: "mouse,up,1";
15642             source: "elm.drag_button";
15643             action: SIGNAL_EMIT "elm.drag_button,mouse,up" "";
15644          }
15645          program { name: "elm.drag_button,mouse,down";
15646             signal: "mouse,down,1";
15647             source: "elm.drag_button";
15648             action: SIGNAL_EMIT "elm.drag_button,mouse,down" "";
15649          }
15650          program { name: "elm.drag_button,mouse,move";
15651             signal: "mouse,move";
15652             source: "elm.drag_button_base";
15653             action: SIGNAL_EMIT "elm.drag_button,mouse,move" "";
15654          }
15655       }
15656    }
15657
15658 ///////////////////////////////////////////////////////////////////////////////
15659    group { name: "elm/genlist/item/default/default";
15660       data.item: "stacking" "above";
15661       data.item: "selectraise" "on";
15662       data.item: "labels" "elm.text";
15663       data.item: "icons" "elm.swallow.icon elm.swallow.end";
15664       data.item: "treesize" "20";
15665 //      data.item: "states" "";
15666       images {
15667          image: "bt_sm_base1.png" COMP;
15668          image: "bt_sm_shine.png" COMP;
15669          image: "bt_sm_hilight.png" COMP;
15670          image: "ilist_1.png" COMP;
15671          image: "ilist_item_shadow.png" COMP;
15672       }
15673       parts {
15674          part {
15675             name:           "event";
15676             type:           RECT;
15677             repeat_events: 1;
15678             description {
15679                state: "default" 0.0;
15680                color: 0 0 0 0;
15681             }
15682          }
15683          part {
15684             name: "base_sh";
15685             mouse_events: 0;
15686             description {
15687                state: "default" 0.0;
15688                align: 0.0 0.0;
15689                min: 0 10;
15690                fixed: 1 1;
15691                rel1 {
15692                   to: "base";
15693                   relative: 0.0 1.0;
15694                   offset: 0 0;
15695                }
15696                rel2 {
15697                   to: "base";
15698                   relative: 1.0 1.0;
15699                   offset: -1 0;
15700                }
15701                image {
15702                   normal: "ilist_item_shadow.png";
15703                }
15704                fill.smooth: 0;
15705             }
15706          }
15707          part {
15708             name: "base";
15709             mouse_events: 0;
15710             description {
15711                state: "default" 0.0;
15712                image {
15713                   normal: "ilist_1.png";
15714                   border: 2 2 2 2;
15715                }
15716                fill.smooth: 0;
15717             }
15718          }
15719          part { name: "bg";
15720             clip_to: "disclip";
15721             mouse_events: 0;
15722             description { state: "default" 0.0;
15723                visible: 0;
15724                color: 255 255 255 0;
15725                rel1 {
15726                   relative: 0.0 0.0;
15727                   offset: -5 -5;
15728                }
15729                rel2 {
15730                   relative: 1.0 1.0;
15731                   offset: 4 4;
15732                }
15733                image {
15734                   normal: "bt_sm_base1.png";
15735                   border: 6 6 6 6;
15736                }
15737                image.middle: SOLID;
15738             }
15739             description { state: "selected" 0.0;
15740                inherit: "default" 0.0;
15741                visible: 1;
15742                color: 255 255 255 255;
15743                rel1 {
15744                   relative: 0.0 0.0;
15745                   offset: -2 -2;
15746                }
15747                rel2 {
15748                   relative: 1.0 1.0;
15749                   offset: 1 1;
15750                }
15751             }
15752          }
15753          part { name: "elm.swallow.pad";
15754             type: SWALLOW;
15755             description { state: "default" 0.0;
15756                fixed: 1 0;
15757                align: 0.0 0.5;
15758                rel1 {
15759                   relative: 0.0  0.0;
15760                   offset:   4    4;
15761                }
15762                rel2 {
15763                   relative: 0.0  1.0;
15764                   offset:   4   -5;
15765                }
15766             }
15767          }
15768          part { name: "elm.swallow.icon";
15769             clip_to: "disclip";
15770             type: SWALLOW;
15771             description { state: "default" 0.0;
15772                fixed: 1 0;
15773                align: 0.0 0.5;
15774                rel1 {
15775                   to_x: "elm.swallow.pad";
15776                   relative: 1.0  0.0;
15777                   offset:   -1    4;
15778                }
15779                rel2 {
15780                   to_x: "elm.swallow.pad";
15781                   relative: 1.0  1.0;
15782                   offset:   -1   -5;
15783                }
15784             }
15785          }
15786          part { name: "elm.swallow.end";
15787             clip_to: "disclip";
15788             type: SWALLOW;
15789             description { state: "default" 0.0;
15790                fixed: 1 0;
15791                align: 1.0 0.5;
15792                aspect: 1.0 1.0;
15793                aspect_preference: VERTICAL;
15794                rel1 {
15795                   relative: 1.0  0.0;
15796                   offset:   -5    4;
15797                }
15798                rel2 {
15799                   relative: 1.0  1.0;
15800                   offset:   -5   -5;
15801                }
15802             }
15803          }
15804          part { name: "elm.text";
15805             clip_to: "disclip";
15806             type:           TEXT;
15807             effect:         SOFT_SHADOW;
15808             mouse_events:   0;
15809             scale: 1;
15810             description {
15811                state: "default" 0.0;
15812 //               min: 16 16;
15813                rel1 {
15814                   to_x:     "elm.swallow.icon";
15815                   relative: 1.0  0.0;
15816                   offset:   0 4;
15817                }
15818                rel2 {
15819                   to_x:     "elm.swallow.end";
15820                   relative: 0.0  1.0;
15821                   offset:   -1 -5;
15822                }
15823                color: 0 0 0 255;
15824                color3: 0 0 0 0;
15825                text {
15826                   font: "Sans";
15827                   size: 10;
15828                   min: 1 1;
15829 //                  min: 0 1;
15830                   align: 0.0 0.5;
15831                   text_class: "list_item";
15832                }
15833             }
15834             description { state: "selected" 0.0;
15835                inherit: "default" 0.0;
15836                color: 224 224 224 255;
15837                color3: 0 0 0 64;
15838             }
15839          }
15840          part { name: "fg1";
15841             clip_to: "disclip";
15842             mouse_events: 0;
15843             description { state: "default" 0.0;
15844                visible: 0;
15845                color: 255 255 255 0;
15846                rel1.to: "bg";
15847                rel2.relative: 1.0 0.5;
15848                rel2.to: "bg";
15849                image {
15850                   normal: "bt_sm_hilight.png";
15851                   border: 6 6 6 0;
15852                }
15853             }
15854             description { state: "selected" 0.0;
15855                inherit: "default" 0.0;
15856                visible: 1;
15857                color: 255 255 255 255;
15858             }
15859          }
15860          part { name: "fg2";
15861             clip_to: "disclip";
15862             mouse_events: 0;
15863             description { state: "default" 0.0;
15864                visible: 0;
15865                color: 255 255 255 0;
15866                rel1.to: "bg";
15867                rel2.to: "bg";
15868                image {
15869                   normal: "bt_sm_shine.png";
15870                   border: 6 6 6 0;
15871                }
15872             }
15873             description { state: "selected" 0.0;
15874                inherit: "default" 0.0;
15875                visible: 1;
15876                color: 255 255 255 255;
15877             }
15878          }
15879          part { name: "disclip";
15880             type: RECT;
15881             description { state: "default" 0.0;
15882                rel1.to: "bg";
15883                rel2.to: "bg";
15884             }
15885             description { state: "disabled" 0.0;
15886                inherit: "default" 0.0;
15887                color: 255 255 255 64;
15888             }
15889          }
15890       }
15891       programs {
15892          // signal: elm,state,%s,active
15893          //   a "check" item named %s went active
15894          // signal: elm,state,%s,passive
15895          //   a "check" item named %s went passive
15896          // default is passive
15897          program {
15898             name:    "go_active";
15899             signal:  "elm,state,selected";
15900             source:  "elm";
15901             action:  STATE_SET "selected" 0.0;
15902             target:  "bg";
15903             target:  "fg1";
15904             target:  "fg2";
15905             target:  "elm.text";
15906          }
15907          program {
15908             name:    "go_passive";
15909             signal:  "elm,state,unselected";
15910             source:  "elm";
15911             action:  STATE_SET "default" 0.0;
15912             target:  "bg";
15913             target:  "fg1";
15914             target:  "fg2";
15915             target:  "elm.text";
15916             transition: LINEAR 0.1;
15917          }
15918          program {
15919             name:    "go_disabled";
15920             signal:  "elm,state,disabled";
15921             source:  "elm";
15922             action:  STATE_SET "disabled" 0.0;
15923             target:  "disclip";
15924          }
15925          program {
15926             name:    "go_enabled";
15927             signal:  "elm,state,enabled";
15928             source:  "elm";
15929             action:  STATE_SET "default" 0.0;
15930             target:  "disclip";
15931          }
15932       }
15933    }
15934    group { name: "elm/genlist/item/group_index/default";
15935       alias: "elm/genlist/item_odd/group_index/default";
15936       data.item: "stacking" "above";
15937       data.item: "selectraise" "on";
15938       data.item: "labels" "elm.text";
15939       data.item: "icons" "elm.swallow.icon elm.swallow.end";
15940       data.item: "treesize" "20";
15941 //      data.item: "states" "";
15942       images {
15943          image: "bt_sm_base1.png" COMP;
15944          image: "bt_sm_shine.png" COMP;
15945          image: "bt_sm_hilight.png" COMP;
15946          image: "ilist_item_shadow.png" COMP;
15947          image: "group_index.png" COMP;
15948       }
15949       parts {
15950          part {
15951             name: "event";
15952             type: RECT;
15953             repeat_events: 0;
15954             description {
15955                state: "default" 0.0;
15956                color: 0 0 0 0;
15957             }
15958          }
15959          part {
15960             name: "base_sh";
15961             mouse_events: 0;
15962             description {
15963                state: "default" 0.0;
15964                align: 0.0 0.0;
15965                min: 0 10;
15966                fixed: 1 1;
15967                rel1 {
15968                   to: "base";
15969                   relative: 0.0 1.0;
15970                   offset: 0 0;
15971                }
15972                rel2 {
15973                   to: "base";
15974                   relative: 1.0 1.0;
15975                   offset: -1 0;
15976                }
15977                image {
15978                   normal: "ilist_item_shadow.png";
15979                }
15980                fill.smooth: 0;
15981             }
15982          }
15983          part {
15984             name: "base";
15985             mouse_events: 0;
15986             description {
15987                state: "default" 0.0;
15988                image {
15989                   normal: "group_index.png";
15990                   border: 2 2 2 2;
15991                }
15992                fill.smooth: 0;
15993             }
15994          }
15995          part { name: "bg";
15996             clip_to: "disclip";
15997             mouse_events: 0;
15998             description { state: "default" 0.0;
15999                visible: 0;
16000                color: 255 255 255 0;
16001                rel1 {
16002                   relative: 0.0 0.0;
16003                   offset: -5 -5;
16004                }
16005                rel2 {
16006                   relative: 1.0 1.0;
16007                   offset: 4 4;
16008                }
16009                image {
16010                   normal: "bt_sm_base1.png";
16011                   border: 6 6 6 6;
16012                }
16013                image.middle: SOLID;
16014             }
16015             description { state: "selected" 0.0;
16016                inherit: "default" 0.0;
16017                visible: 1;
16018                color: 255 255 255 255;
16019                rel1 {
16020                   relative: 0.0 0.0;
16021                   offset: -2 -2;
16022                }
16023                rel2 {
16024                   relative: 1.0 1.0;
16025                   offset: 1 1;
16026                }
16027             }
16028          }
16029          part { name: "elm.swallow.pad";
16030             type: SWALLOW;
16031             description { state: "default" 0.0;
16032                fixed: 1 0;
16033                align: 0.0 0.5;
16034                rel1 {
16035                   relative: 0.0  0.0;
16036                   offset: 4 4;
16037                }
16038                rel2 {
16039                   relative: 0.0  1.0;
16040                   offset: 4 -5;
16041                }
16042             }
16043          }
16044          part { name: "elm.swallow.icon";
16045             clip_to: "disclip";
16046             type: SWALLOW;
16047             description { state: "default" 0.0;
16048                fixed: 1 0;
16049                align: 0.0 0.5;
16050                rel1 {
16051                   to_x: "elm.swallow.pad";
16052                   relative: 1.0 0.0;
16053                   offset: -1 4;
16054                }
16055                rel2 {
16056                   to_x: "elm.swallow.pad";
16057                   relative: 1.0 1.0;
16058                   offset: -1 -5;
16059                }
16060             }
16061          }
16062          part { name: "elm.swallow.end";
16063             clip_to: "disclip";
16064             type: SWALLOW;
16065             description { state: "default" 0.0;
16066                fixed: 1 0;
16067                align: 1.0 0.5;
16068                aspect: 1.0 1.0;
16069                aspect_preference: VERTICAL;
16070                rel1 {
16071                   relative: 1.0 0.0;
16072                   offset: -5 4;
16073                }
16074                rel2 {
16075                   relative: 1.0 1.0;
16076                   offset: -5 -5;
16077                }
16078             }
16079          }
16080          part { name: "elm.text";
16081             clip_to: "disclip";
16082             type: TEXT;
16083             effect: SOFT_SHADOW;
16084             mouse_events: 0;
16085             scale: 1;
16086             description {
16087                state: "default" 0.0;
16088 //               min: 16 16;
16089                rel1 {
16090                   to_x: "elm.swallow.icon";
16091                   relative: 1.0  0.0;
16092                   offset: 0 4;
16093                }
16094                rel2 {
16095                   to_x: "elm.swallow.end";
16096                   relative: 0.0  1.0;
16097                   offset: -1 -5;
16098                }
16099                color: 0 0 0 255;
16100                color3: 0 0 0 0;
16101                text {
16102                   font: "Sans";
16103                   size: 10;
16104                   min: 1 1;
16105 //                  min: 0 1;
16106                   align: -1.0 0.5;
16107                   text_class: "list_item";
16108                }
16109             }
16110             description { state: "selected" 0.0;
16111                inherit: "default" 0.0;
16112                color: 224 224 224 255;
16113                color3: 0 0 0 64;
16114             }
16115          }
16116          part { name: "fg1";
16117             clip_to: "disclip";
16118             mouse_events: 0;
16119             description { state: "default" 0.0;
16120                visible: 0;
16121                color: 255 255 255 0;
16122                rel1.to: "bg";
16123                rel2.relative: 1.0 0.5;
16124                rel2.to: "bg";
16125                image {
16126                   normal: "bt_sm_hilight.png";
16127                   border: 6 6 6 0;
16128                }
16129             }
16130             description { state: "selected" 0.0;
16131                inherit: "default" 0.0;
16132                visible: 1;
16133                color: 255 255 255 255;
16134             }
16135          }
16136          part { name: "fg2";
16137             clip_to: "disclip";
16138             mouse_events: 0;
16139             description { state: "default" 0.0;
16140                visible: 0;
16141                color: 255 255 255 0;
16142                rel1.to: "bg";
16143                rel2.to: "bg";
16144                image {
16145                   normal: "bt_sm_shine.png";
16146                   border: 6 6 6 0;
16147                }
16148             }
16149             description { state: "selected" 0.0;
16150                inherit: "default" 0.0;
16151                visible: 1;
16152                color: 255 255 255 255;
16153             }
16154          }
16155          part { name: "disclip";
16156             type: RECT;
16157             description { state: "default" 0.0;
16158                rel1.to: "bg";
16159                rel2.to: "bg";
16160             }
16161             description { state: "disabled" 0.0;
16162                inherit: "default" 0.0;
16163                color: 255 255 255 64;
16164             }
16165          }
16166       }
16167       programs {
16168          // signal: elm,state,%s,active
16169          //   a "check" item named %s went active
16170          // signal: elm,state,%s,passive
16171          //   a "check" item named %s went passive
16172          // default is passive
16173          program {
16174             name:    "go_active";
16175             signal:  "elm,state,selected";
16176             source:  "elm";
16177             action:  STATE_SET "selected" 0.0;
16178             target:  "bg";
16179             target:  "fg1";
16180             target:  "fg2";
16181             target:  "elm.text";
16182          }
16183          program {
16184             name:    "go_passive";
16185             signal:  "elm,state,unselected";
16186             source:  "elm";
16187             action:  STATE_SET "default" 0.0;
16188             target:  "bg";
16189             target:  "fg1";
16190             target:  "fg2";
16191             target:  "elm.text";
16192             transition: LINEAR 0.1;
16193          }
16194          program {
16195             name:    "go_disabled";
16196             signal:  "elm,state,disabled";
16197             source:  "elm";
16198             action:  STATE_SET "disabled" 0.0;
16199             target:  "disclip";
16200          }
16201          program {
16202             name:    "go_enabled";
16203             signal:  "elm,state,enabled";
16204             source:  "elm";
16205             action:  STATE_SET "default" 0.0;
16206             target:  "disclip";
16207          }
16208       }
16209    }
16210    group { name: "elm/genlist/item_compress/message/default";
16211       data.item: "stacking" "above";
16212       data.item: "selectraise" "on";
16213       data.item: "labels" "elm.title.1 elm.title.2 elm.text";
16214 //      data.item: "icons" "elm.swallow.icon elm.swallow.end";
16215       data.item: "treesize" "20";
16216 //      data.item: "states" "";
16217       images {
16218          image: "bt_sm_base1.png" COMP;
16219          image: "bt_sm_shine.png" COMP;
16220          image: "bt_sm_hilight.png" COMP;
16221          image: "ilist_1.png" COMP;
16222          image: "ilist_item_shadow.png" COMP;
16223       }
16224       styles {
16225         style { name: "genlist_textblock_style";
16226           base: "font=Sans font_size=10 color=#000 wrap=char text_class=list_item";
16227           tag:  "br" "\n";
16228           tag:  "ps" "ps";
16229           tag:  "tab" "\t";
16230         }
16231         style { name: "genlist_textblock_style2";
16232           base: "font=Sans font_size=10 color=#fff wrap=char text_class=list_item";
16233           tag:  "br" "\n";
16234           tag:  "ps" "ps";
16235           tag:  "tab" "\t";
16236         }
16237       }
16238      parts {
16239          part {
16240             name:           "event";
16241             type:           RECT;
16242             repeat_events: 1;
16243             description {
16244                state: "default" 0.0;
16245                color: 0 0 0 0;
16246             }
16247          }
16248          part {
16249             name: "base_sh";
16250             mouse_events: 0;
16251             description {
16252                state: "default" 0.0;
16253                align: 0.0 0.0;
16254                min: 0 10;
16255                fixed: 1 1;
16256                rel1 {
16257                   to: "base";
16258                   relative: 0.0 1.0;
16259                   offset: 0 0;
16260                }
16261                rel2 {
16262                   to: "base";
16263                   relative: 1.0 1.0;
16264                   offset: -1 0;
16265                }
16266                image {
16267                   normal: "ilist_item_shadow.png";
16268                }
16269                fill.smooth: 0;
16270             }
16271          }
16272          part {
16273             name: "base";
16274             mouse_events: 0;
16275             description {
16276                state: "default" 0.0;
16277                image {
16278                   normal: "ilist_1.png";
16279                   border: 2 2 2 2;
16280                }
16281                fill.smooth: 0;
16282             }
16283          }
16284          part { name: "bg";
16285             clip_to: "disclip";
16286             mouse_events: 0;
16287             description { state: "default" 0.0;
16288                visible: 0;
16289                color: 255 255 255 0;
16290                rel1 {
16291                   relative: 0.0 0.0;
16292                   offset: -5 -5;
16293                }
16294                rel2 {
16295                   relative: 1.0 1.0;
16296                   offset: 4 4;
16297                }
16298                image {
16299                   normal: "bt_sm_base1.png";
16300                   border: 6 6 6 6;
16301                }
16302                image.middle: SOLID;
16303             }
16304             description { state: "selected" 0.0;
16305                inherit: "default" 0.0;
16306                visible: 1;
16307                color: 255 255 255 255;
16308                rel1 {
16309                   relative: 0.0 0.0;
16310                   offset: -2 -2;
16311                }
16312                rel2 {
16313                   relative: 1.0 1.0;
16314                   offset: 1 1;
16315                }
16316             }
16317          }
16318          part { name: "elm.title.1";
16319             clip_to: "disclip";
16320             type:           TEXT;
16321             effect:         SOFT_SHADOW;
16322             mouse_events:   0;
16323             scale: 1;
16324             description {
16325                state: "default" 0.0;
16326                fixed: 0 1;
16327 //               min: 16 16;
16328                rel1 {
16329                   relative: 0.0  0.0;
16330                   offset:   4 4;
16331                }
16332                rel2 {
16333                   relative: 1.0  0.0;
16334                   offset:   -5 4;
16335                }
16336                color: 0 0 0 255;
16337                color3: 0 0 0 0;
16338                align: 0.0 0.0;
16339                text {
16340                   font: "Sans";
16341                   size: 10;
16342                   min: 0 1;
16343 //                  min: 1 1;
16344                   align: 0.0 0.0;
16345                   text_class: "list_item";
16346                }
16347             }
16348             description { state: "selected" 0.0;
16349                inherit: "default" 0.0;
16350                color: 224 224 224 255;
16351                color3: 0 0 0 64;
16352             }
16353          }
16354          part { name: "elm.title.2";
16355             clip_to: "disclip";
16356             type:           TEXT;
16357             effect:         SOFT_SHADOW;
16358             mouse_events:   0;
16359             scale: 1;
16360             description {
16361                state: "default" 0.0;
16362                fixed: 0 1;
16363 //               min: 16 16;
16364                rel1 {
16365                   to_y:     "elm.title.1";
16366                   relative: 0.0  1.0;
16367                   offset:   4 0;
16368                }
16369                rel2 {
16370                   to_y:     "elm.title.1";
16371                   relative: 1.0  1.0;
16372                   offset:   -5 0;
16373                }
16374                color: 0 0 0 255;
16375                color3: 0 0 0 0;
16376                align: 0.0 0.0;
16377                text {
16378                   font: "Sans";
16379                   size: 10;
16380                   min: 0 1;
16381 //                  min: 1 1;
16382                   align: 0.0 0.0;
16383                   text_class: "list_item";
16384                }
16385             }
16386             description { state: "selected" 0.0;
16387                inherit: "default" 0.0;
16388                color: 224 224 224 255;
16389                color3: 0 0 0 64;
16390             }
16391          }
16392          part { name: "elm.text";
16393             clip_to: "disclip";
16394             type:           TEXTBLOCK;
16395             mouse_events:   0;
16396             scale: 1;
16397             description {
16398                state: "default" 0.0;
16399 //               fixed: 0 1;
16400 //               min: 16 16;
16401                rel1 {
16402                   to_y:     "elm.title.2";
16403                   relative: 0.0  1.0;
16404                   offset:   4 0;
16405                }
16406                rel2 {
16407                   relative: 1.0  1.0;
16408                   offset:   -5 -5;
16409                }
16410                align: 0.0 0.0;
16411                text {
16412                   style: "genlist_textblock_style";
16413                   min: 0 1;
16414 //                  min: 1 1;
16415                   align: 0.0 0.0;
16416                }
16417             }
16418             description { state: "selected" 0.0;
16419                inherit: "default" 0.0;
16420                text {
16421                   style: "genlist_textblock_style2";
16422                }
16423             }
16424          }
16425          part { name: "fg1";
16426             clip_to: "disclip";
16427             mouse_events: 0;
16428             description { state: "default" 0.0;
16429                visible: 0;
16430                color: 255 255 255 0;
16431                rel1.to: "bg";
16432                rel2.relative: 1.0 0.5;
16433                rel2.to: "bg";
16434                image {
16435                   normal: "bt_sm_hilight.png";
16436                   border: 6 6 6 0;
16437                }
16438             }
16439             description { state: "selected" 0.0;
16440                inherit: "default" 0.0;
16441                visible: 1;
16442                color: 255 255 255 255;
16443             }
16444          }
16445          part { name: "fg2";
16446             clip_to: "disclip";
16447             mouse_events: 0;
16448             description { state: "default" 0.0;
16449                visible: 0;
16450                color: 255 255 255 0;
16451                rel1.to: "bg";
16452                rel2.to: "bg";
16453                image {
16454                   normal: "bt_sm_shine.png";
16455                   border: 6 6 6 0;
16456                }
16457             }
16458             description { state: "selected" 0.0;
16459                inherit: "default" 0.0;
16460                visible: 1;
16461                color: 255 255 255 255;
16462             }
16463          }
16464          part { name: "disclip";
16465             type: RECT;
16466             description { state: "default" 0.0;
16467                rel1.to: "bg";
16468                rel2.to: "bg";
16469             }
16470             description { state: "disabled" 0.0;
16471                inherit: "default" 0.0;
16472                color: 255 255 255 64;
16473             }
16474          }
16475       }
16476       programs {
16477          // signal: elm,state,%s,active
16478          //   a "check" item named %s went active
16479          // signal: elm,state,%s,passive
16480          //   a "check" item named %s went passive
16481          // default is passive
16482          program {
16483             name:    "go_active";
16484             signal:  "elm,state,selected";
16485             source:  "elm";
16486             action:  STATE_SET "selected" 0.0;
16487             target:  "bg";
16488             target:  "fg1";
16489             target:  "fg2";
16490             target:  "elm.title.1";
16491             target:  "elm.title.2";
16492             target:  "elm.text";
16493          }
16494          program {
16495             name:    "go_passive";
16496             signal:  "elm,state,unselected";
16497             source:  "elm";
16498             action:  STATE_SET "default" 0.0;
16499             target:  "bg";
16500             target:  "fg1";
16501             target:  "fg2";
16502             target:  "elm.title.1";
16503             target:  "elm.title.2";
16504             target:  "elm.text";
16505             transition: LINEAR 0.1;
16506          }
16507          program {
16508             name:    "go_disabled";
16509             signal:  "elm,state,disabled";
16510             source:  "elm";
16511             action:  STATE_SET "disabled" 0.0;
16512             target:  "disclip";
16513          }
16514          program {
16515             name:    "go_enabled";
16516             signal:  "elm,state,enabled";
16517             source:  "elm";
16518             action:  STATE_SET "default" 0.0;
16519             target:  "disclip";
16520          }
16521       }
16522    }
16523    group { name: "elm/genlist/item_compress_odd/message/default";
16524       data.item: "stacking" "below";
16525       data.item: "selectraise" "on";
16526       data.item: "labels" "elm.title.1 elm.title.2 elm.text";
16527 //      data.item: "icons" "elm.swallow.icon elm.swallow.end";
16528       data.item: "treesize" "20";
16529 //      data.item: "states" "";
16530       images {
16531          image: "bt_sm_base1.png" COMP;
16532          image: "bt_sm_shine.png" COMP;
16533          image: "bt_sm_hilight.png" COMP;
16534          image: "ilist_2.png" COMP;
16535       }
16536       parts {
16537          part { name: "event";
16538             type: RECT;
16539             repeat_events: 1;
16540             description {
16541                state: "default" 0.0;
16542                color: 0 0 0 0;
16543             }
16544          }
16545          part {
16546             name: "base";
16547             mouse_events: 0;
16548             description {
16549                state: "default" 0.0;
16550                image {
16551                   normal: "ilist_2.png";
16552                   border: 2 2 2 2;
16553                }
16554                fill.smooth: 0;
16555             }
16556          }
16557          part { name: "bg";
16558             clip_to: "disclip";
16559             mouse_events: 0;
16560             description { state: "default" 0.0;
16561                visible: 0;
16562                color: 255 255 255 0;
16563                rel1 {
16564                   relative: 0.0 0.0;
16565                   offset: -5 -5;
16566                }
16567                rel2 {
16568                   relative: 1.0 1.0;
16569                   offset: 4 4;
16570                }
16571                image {
16572                   normal: "bt_sm_base1.png";
16573                   border: 6 6 6 6;
16574                }
16575                image.middle: SOLID;
16576             }
16577             description { state: "selected" 0.0;
16578                inherit: "default" 0.0;
16579                visible: 1;
16580                color: 255 255 255 255;
16581                rel1 {
16582                   relative: 0.0 0.0;
16583                   offset: -2 -2;
16584                }
16585                rel2 {
16586                   relative: 1.0 1.0;
16587                   offset: 1 1;
16588                }
16589             }
16590          }
16591          part { name: "elm.title.1";
16592             clip_to: "disclip";
16593             type:           TEXT;
16594             effect:         SOFT_SHADOW;
16595             mouse_events:   0;
16596             scale: 1;
16597             description {
16598                state: "default" 0.0;
16599                fixed: 0 1;
16600 //               min: 16 16;
16601                rel1 {
16602                   relative: 0.0  0.0;
16603                   offset:   4 4;
16604                }
16605                rel2 {
16606                   relative: 1.0  0.0;
16607                   offset:   -5 4;
16608                }
16609                color: 0 0 0 255;
16610                color3: 0 0 0 0;
16611                align: 0.0 0.0;
16612                text {
16613                   font: "Sans";
16614                   size: 10;
16615                   min: 0 1;
16616 //                  min: 1 1;
16617                   align: 0.0 0.0;
16618                   text_class: "list_item";
16619                }
16620             }
16621             description { state: "selected" 0.0;
16622                inherit: "default" 0.0;
16623                color: 224 224 224 255;
16624                color3: 0 0 0 64;
16625             }
16626          }
16627          part { name: "elm.title.2";
16628             clip_to: "disclip";
16629             type:           TEXT;
16630             effect:         SOFT_SHADOW;
16631             mouse_events:   0;
16632             scale: 1;
16633             description {
16634                state: "default" 0.0;
16635                fixed: 0 1;
16636 //               min: 16 16;
16637                rel1 {
16638                   to_y:     "elm.title.1";
16639                   relative: 0.0  1.0;
16640                   offset:   4 0;
16641                }
16642                rel2 {
16643                   to_y:     "elm.title.1";
16644                   relative: 1.0  1.0;
16645                   offset:   -5 0;
16646                }
16647                color: 0 0 0 255;
16648                color3: 0 0 0 0;
16649                align: 0.0 0.0;
16650                text {
16651                   font: "Sans";
16652                   size: 10;
16653                   min: 0 1;
16654 //                  min: 1 1;
16655                   align: 0.0 0.0;
16656                   text_class: "list_item";
16657                }
16658             }
16659             description { state: "selected" 0.0;
16660                inherit: "default" 0.0;
16661                color: 224 224 224 255;
16662                color3: 0 0 0 64;
16663             }
16664          }
16665          part { name: "elm.text";
16666             clip_to: "disclip";
16667             type:           TEXTBLOCK;
16668             mouse_events:   0;
16669             scale: 1;
16670             description {
16671                state: "default" 0.0;
16672 //               fixed: 0 1;
16673 //               min: 16 16;
16674                rel1 {
16675                   to_y:     "elm.title.2";
16676                   relative: 0.0  1.0;
16677                   offset:   4 0;
16678                }
16679                rel2 {
16680                   relative: 1.0  1.0;
16681                   offset:   -5 -5;
16682                }
16683                align: 0.0 0.0;
16684                text {
16685                   style: "genlist_textblock_style";
16686                   min: 0 1;
16687 //                  min: 1 1;
16688                   align: 0.0 0.0;
16689                }
16690             }
16691             description { state: "selected" 0.0;
16692                inherit: "default" 0.0;
16693                text {
16694                   style: "genlist_textblock_style2";
16695                }
16696             }
16697          }
16698          part { name: "fg1";
16699             clip_to: "disclip";
16700             mouse_events: 0;
16701             description { state: "default" 0.0;
16702                visible: 0;
16703                color: 255 255 255 0;
16704                rel1.to: "bg";
16705                rel2.relative: 1.0 0.5;
16706                rel2.to: "bg";
16707                image {
16708                   normal: "bt_sm_hilight.png";
16709                   border: 6 6 6 0;
16710                }
16711             }
16712             description { state: "selected" 0.0;
16713                inherit: "default" 0.0;
16714                visible: 1;
16715                color: 255 255 255 255;
16716             }
16717          }
16718          part { name: "fg2";
16719             clip_to: "disclip";
16720             mouse_events: 0;
16721             description { state: "default" 0.0;
16722                visible: 0;
16723                color: 255 255 255 0;
16724                rel1.to: "bg";
16725                rel2.to: "bg";
16726                image {
16727                   normal: "bt_sm_shine.png";
16728                   border: 6 6 6 0;
16729                }
16730             }
16731             description { state: "selected" 0.0;
16732                inherit: "default" 0.0;
16733                visible: 1;
16734                color: 255 255 255 255;
16735             }
16736          }
16737          part { name: "disclip";
16738             type: RECT;
16739             description { state: "default" 0.0;
16740                rel1.to: "bg";
16741                rel2.to: "bg";
16742             }
16743             description { state: "disabled" 0.0;
16744                inherit: "default" 0.0;
16745                color: 255 255 255 64;
16746             }
16747          }
16748       }
16749       programs {
16750          // signal: elm,state,%s,active
16751          //   a "check" item named %s went active
16752          // signal: elm,state,%s,passive
16753          //   a "check" item named %s went passive
16754          // default is passive
16755          program {
16756             name:    "go_active";
16757             signal:  "elm,state,selected";
16758             source:  "elm";
16759             action:  STATE_SET "selected" 0.0;
16760             target:  "bg";
16761             target:  "fg1";
16762             target:  "fg2";
16763             target:  "elm.title.1";
16764             target:  "elm.title.2";
16765             target:  "elm.text";
16766          }
16767          program {
16768             name:    "go_passive";
16769             signal:  "elm,state,unselected";
16770             source:  "elm";
16771             action:  STATE_SET "default" 0.0;
16772             target:  "bg";
16773             target:  "fg1";
16774             target:  "fg2";
16775             target:  "elm.title.1";
16776             target:  "elm.title.2";
16777             target:  "elm.text";
16778             transition: LINEAR 0.1;
16779          }
16780          program {
16781             name:    "go_disabled";
16782             signal:  "elm,state,disabled";
16783             source:  "elm";
16784             action:  STATE_SET "disabled" 0.0;
16785             target:  "disclip";
16786          }
16787          program {
16788             name:    "go_enabled";
16789             signal:  "elm,state,enabled";
16790             source:  "elm";
16791             action:  STATE_SET "default" 0.0;
16792             target:  "disclip";
16793          }
16794       }
16795    }
16796    group { name: "elm/genlist/item_compress/default/default";
16797       data.item: "stacking" "above";
16798       data.item: "selectraise" "on";
16799       data.item: "labels" "elm.text";
16800       data.item: "icons" "elm.swallow.icon elm.swallow.end";
16801       data.item: "treesize" "20";
16802 //      data.item: "states" "";
16803       images {
16804          image: "bt_sm_base1.png" COMP;
16805          image: "bt_sm_shine.png" COMP;
16806          image: "bt_sm_hilight.png" COMP;
16807          image: "ilist_1.png" COMP;
16808          image: "ilist_item_shadow.png" COMP;
16809       }
16810       parts {
16811          part {
16812             name:           "event";
16813             type:           RECT;
16814             repeat_events: 1;
16815             description {
16816                state: "default" 0.0;
16817                color: 0 0 0 0;
16818             }
16819          }
16820          part {
16821             name: "base_sh";
16822             mouse_events: 0;
16823             description {
16824                state: "default" 0.0;
16825                align: 0.0 0.0;
16826                min: 0 10;
16827                fixed: 1 1;
16828                rel1 {
16829                   to: "base";
16830                   relative: 0.0 1.0;
16831                   offset: 0 0;
16832                }
16833                rel2 {
16834                   to: "base";
16835                   relative: 1.0 1.0;
16836                   offset: -1 0;
16837                }
16838                image {
16839                   normal: "ilist_item_shadow.png";
16840                }
16841                fill.smooth: 0;
16842             }
16843          }
16844          part {
16845             name: "base";
16846             mouse_events: 0;
16847             description {
16848                state: "default" 0.0;
16849                image {
16850                   normal: "ilist_1.png";
16851                   border: 2 2 2 2;
16852                }
16853                fill.smooth: 0;
16854             }
16855          }
16856          part { name: "bg";
16857             clip_to: "disclip";
16858             mouse_events: 0;
16859             description { state: "default" 0.0;
16860                visible: 0;
16861                color: 255 255 255 0;
16862                rel1 {
16863                   relative: 0.0 0.0;
16864                   offset: -5 -5;
16865                }
16866                rel2 {
16867                   relative: 1.0 1.0;
16868                   offset: 4 4;
16869                }
16870                image {
16871                   normal: "bt_sm_base1.png";
16872                   border: 6 6 6 6;
16873                }
16874                image.middle: SOLID;
16875             }
16876             description { state: "selected" 0.0;
16877                inherit: "default" 0.0;
16878                visible: 1;
16879                color: 255 255 255 255;
16880                rel1 {
16881                   relative: 0.0 0.0;
16882                   offset: -2 -2;
16883                }
16884                rel2 {
16885                   relative: 1.0 1.0;
16886                   offset: 1 1;
16887                }
16888             }
16889          }
16890          part { name: "elm.swallow.pad";
16891             type: SWALLOW;
16892             description { state: "default" 0.0;
16893                fixed: 1 0;
16894                align: 0.0 0.5;
16895                rel1 {
16896                   relative: 0.0  0.0;
16897                   offset:   4    4;
16898                }
16899                rel2 {
16900                   relative: 0.0  1.0;
16901                   offset:   4   -5;
16902                }
16903             }
16904          }
16905          part { name: "elm.swallow.icon";
16906             clip_to: "disclip";
16907             type: SWALLOW;
16908             description { state: "default" 0.0;
16909                fixed: 1 0;
16910                align: 0.0 0.5;
16911                rel1 {
16912                   to_x: "elm.swallow.pad";
16913                   relative: 1.0  0.0;
16914                   offset:   -1    4;
16915                }
16916                rel2 {
16917                   to_x: "elm.swallow.pad";
16918                   relative: 1.0  1.0;
16919                   offset:   -1   -5;
16920                }
16921             }
16922          }
16923          part { name: "elm.swallow.end";
16924             clip_to: "disclip";
16925             type: SWALLOW;
16926             description { state: "default" 0.0;
16927                fixed: 1 0;
16928                align: 1.0 0.5;
16929                aspect: 1.0 1.0;
16930                aspect_preference: VERTICAL;
16931                rel1 {
16932                   relative: 1.0  0.0;
16933                   offset:   -5    4;
16934                }
16935                rel2 {
16936                   relative: 1.0  1.0;
16937                   offset:   -5   -5;
16938                }
16939             }
16940          }
16941          part { name: "elm.text";
16942             clip_to: "disclip";
16943             type:           TEXT;
16944             effect:         SOFT_SHADOW;
16945             mouse_events:   0;
16946             scale: 1;
16947             description {
16948                state: "default" 0.0;
16949 //               min: 16 16;
16950                rel1 {
16951                   to_x:     "elm.swallow.icon";
16952                   relative: 1.0  0.0;
16953                   offset:   0 4;
16954                }
16955                rel2 {
16956                   to_x:     "elm.swallow.end";
16957                   relative: 0.0  1.0;
16958                   offset:   -1 -5;
16959                }
16960                color: 0 0 0 255;
16961                color3: 0 0 0 0;
16962                text {
16963                   font: "Sans";
16964                   size: 10;
16965                   min: 0 1;
16966 //                  min: 1 1;
16967                   align: 0.0 0.5;
16968                   text_class: "list_item";
16969                }
16970             }
16971             description { state: "selected" 0.0;
16972                inherit: "default" 0.0;
16973                color: 224 224 224 255;
16974                color3: 0 0 0 64;
16975             }
16976          }
16977          part { name: "fg1";
16978             clip_to: "disclip";
16979             mouse_events: 0;
16980             description { state: "default" 0.0;
16981                visible: 0;
16982                color: 255 255 255 0;
16983                rel1.to: "bg";
16984                rel2.relative: 1.0 0.5;
16985                rel2.to: "bg";
16986                image {
16987                   normal: "bt_sm_hilight.png";
16988                   border: 6 6 6 0;
16989                }
16990             }
16991             description { state: "selected" 0.0;
16992                inherit: "default" 0.0;
16993                visible: 1;
16994                color: 255 255 255 255;
16995             }
16996          }
16997          part { name: "fg2";
16998             clip_to: "disclip";
16999             mouse_events: 0;
17000             description { state: "default" 0.0;
17001                visible: 0;
17002                color: 255 255 255 0;
17003                rel1.to: "bg";
17004                rel2.to: "bg";
17005                image {
17006                   normal: "bt_sm_shine.png";
17007                   border: 6 6 6 0;
17008                }
17009             }
17010             description { state: "selected" 0.0;
17011                inherit: "default" 0.0;
17012                visible: 1;
17013                color: 255 255 255 255;
17014             }
17015          }
17016          part { name: "disclip";
17017             type: RECT;
17018             description { state: "default" 0.0;
17019                rel1.to: "bg";
17020                rel2.to: "bg";
17021             }
17022             description { state: "disabled" 0.0;
17023                inherit: "default" 0.0;
17024                color: 255 255 255 64;
17025             }
17026          }
17027       }
17028       programs {
17029          // signal: elm,state,%s,active
17030          //   a "check" item named %s went active
17031          // signal: elm,state,%s,passive
17032          //   a "check" item named %s went passive
17033          // default is passive
17034          program {
17035             name:    "go_active";
17036             signal:  "elm,state,selected";
17037             source:  "elm";
17038             action:  STATE_SET "selected" 0.0;
17039             target:  "bg";
17040             target:  "fg1";
17041             target:  "fg2";
17042             target:  "elm.text";
17043          }
17044          program {
17045             name:    "go_passive";
17046             signal:  "elm,state,unselected";
17047             source:  "elm";
17048             action:  STATE_SET "default" 0.0;
17049             target:  "bg";
17050             target:  "fg1";
17051             target:  "fg2";
17052             target:  "elm.text";
17053             transition: LINEAR 0.1;
17054          }
17055          program {
17056             name:    "go_disabled";
17057             signal:  "elm,state,disabled";
17058             source:  "elm";
17059             action:  STATE_SET "disabled" 0.0;
17060             target:  "disclip";
17061          }
17062          program {
17063             name:    "go_enabled";
17064             signal:  "elm,state,enabled";
17065             source:  "elm";
17066             action:  STATE_SET "default" 0.0;
17067             target:  "disclip";
17068          }
17069       }
17070    }
17071    group { name: "elm/genlist/item_odd/default/default";
17072       data.item: "stacking" "below";
17073       data.item: "selectraise" "on";
17074       data.item: "labels" "elm.text";
17075       data.item: "icons" "elm.swallow.icon elm.swallow.end";
17076       data.item: "treesize" "20";
17077 //      data.item: "states" "";
17078       images {
17079          image: "bt_sm_base1.png" COMP;
17080          image: "bt_sm_shine.png" COMP;
17081          image: "bt_sm_hilight.png" COMP;
17082          image: "ilist_2.png" COMP;
17083       }
17084       parts {
17085          part { name: "event";
17086             type: RECT;
17087             repeat_events: 1;
17088             description {
17089                state: "default" 0.0;
17090                color: 0 0 0 0;
17091             }
17092          }
17093          part {
17094             name: "base";
17095             mouse_events: 0;
17096             description {
17097                state: "default" 0.0;
17098                image {
17099                   normal: "ilist_2.png";
17100                   border: 2 2 2 2;
17101                }
17102                fill.smooth: 0;
17103             }
17104          }
17105          part { name: "bg";
17106             clip_to: "disclip";
17107             mouse_events: 0;
17108             description { state: "default" 0.0;
17109                visible: 0;
17110                color: 255 255 255 0;
17111                rel1 {
17112                   relative: 0.0 0.0;
17113                   offset: -5 -5;
17114                }
17115                rel2 {
17116                   relative: 1.0 1.0;
17117                   offset: 4 4;
17118                }
17119                image {
17120                   normal: "bt_sm_base1.png";
17121                   border: 6 6 6 6;
17122                }
17123                image.middle: SOLID;
17124             }
17125             description { state: "selected" 0.0;
17126                inherit: "default" 0.0;
17127                visible: 1;
17128                color: 255 255 255 255;
17129                rel1 {
17130                   relative: 0.0 0.0;
17131                   offset: -2 -2;
17132                }
17133                rel2 {
17134                   relative: 1.0 1.0;
17135                   offset: 1 1;
17136                }
17137             }
17138          }
17139          part { name: "elm.swallow.pad";
17140             type: SWALLOW;
17141             description { state: "default" 0.0;
17142                fixed: 1 0;
17143                align: 0.0 0.5;
17144                rel1 {
17145                   relative: 0.0  0.0;
17146                   offset:   4    4;
17147                }
17148                rel2 {
17149                   relative: 0.0  1.0;
17150                   offset:   4   -5;
17151                }
17152             }
17153          }
17154          part { name: "elm.swallow.icon";
17155             clip_to: "disclip";
17156             type: SWALLOW;
17157             description { state: "default" 0.0;
17158                fixed: 1 0;
17159                align: 0.0 0.5;
17160                rel1 {
17161                   to_x: "elm.swallow.pad";
17162                   relative: 1.0  0.0;
17163                   offset:   -1    4;
17164                }
17165                rel2 {
17166                   to_x: "elm.swallow.pad";
17167                   relative: 1.0  1.0;
17168                   offset:   -1   -5;
17169                }
17170             }
17171          }
17172          part { name: "elm.swallow.end";
17173             clip_to: "disclip";
17174             type:          SWALLOW;
17175             description { state:    "default" 0.0;
17176                fixed: 1 0;
17177                align:    1.0 0.5;
17178                aspect: 1.0 1.0;
17179                aspect_preference: VERTICAL;
17180                rel1 {
17181                   relative: 1.0  0.0;
17182                   offset:   -5    4;
17183                }
17184                rel2 {
17185                   relative: 1.0  1.0;
17186                   offset:   -5   -5;
17187                }
17188             }
17189          }
17190          part { name: "elm.text";
17191             clip_to: "disclip";
17192             type:           TEXT;
17193             effect:         SOFT_SHADOW;
17194             mouse_events:   0;
17195             scale: 1;
17196             description {
17197                state: "default" 0.0;
17198 //               min:      16 16;
17199                rel1 {
17200                   to_x:     "elm.swallow.icon";
17201                   relative: 1.0  0.0;
17202                   offset:   0 4;
17203                }
17204                rel2 {
17205                   to_x:     "elm.swallow.end";
17206                   relative: 0.0  1.0;
17207                   offset:   -1 -5;
17208                }
17209                color: 0 0 0 255;
17210                color3: 0 0 0 0;
17211                text {
17212                   font: "Sans";
17213                   size: 10;
17214                   min: 1 1;
17215 //                  min: 0 1;
17216                   align: -1.0 0.5;
17217                   text_class: "list_item";
17218                }
17219             }
17220             description { state: "selected" 0.0;
17221                inherit: "default" 0.0;
17222                color: 224 224 224 255;
17223                color3: 0 0 0 64;
17224             }
17225          }
17226          part { name: "fg1";
17227             clip_to: "disclip";
17228             mouse_events: 0;
17229             description { state: "default" 0.0;
17230                visible: 0;
17231                color: 255 255 255 0;
17232                rel1.to: "bg";
17233                rel2.relative: 1.0 0.5;
17234                rel2.to: "bg";
17235                image {
17236                   normal: "bt_sm_hilight.png";
17237                   border: 6 6 6 0;
17238                }
17239             }
17240             description { state: "selected" 0.0;
17241                inherit: "default" 0.0;
17242                visible: 1;
17243                color: 255 255 255 255;
17244             }
17245          }
17246          part { name: "fg2";
17247             clip_to: "disclip";
17248             mouse_events: 0;
17249             description { state: "default" 0.0;
17250                visible: 0;
17251                color: 255 255 255 0;
17252                rel1.to: "bg";
17253                rel2.to: "bg";
17254                image {
17255                   normal: "bt_sm_shine.png";
17256                   border: 6 6 6 0;
17257                }
17258             }
17259             description { state: "selected" 0.0;
17260                inherit: "default" 0.0;
17261                visible: 1;
17262                color: 255 255 255 255;
17263             }
17264          }
17265          part { name: "disclip";
17266             type: RECT;
17267             description { state: "default" 0.0;
17268                rel1.to: "bg";
17269                rel2.to: "bg";
17270             }
17271             description { state: "disabled" 0.0;
17272                inherit: "default" 0.0;
17273                color: 255 255 255 64;
17274             }
17275          }
17276       }
17277       programs {
17278          // signal: elm,state,%s,active
17279          //   a "check" item named %s went active
17280          // signal: elm,state,%s,passive
17281          //   a "check" item named %s went passive
17282          // default is passive
17283          program {
17284             name:    "go_active";
17285             signal:  "elm,state,selected";
17286             source:  "elm";
17287             action:  STATE_SET "selected" 0.0;
17288             target:  "bg";
17289             target:  "fg1";
17290             target:  "fg2";
17291             target:  "elm.text";
17292          }
17293          program {
17294             name:    "go_passive";
17295             signal:  "elm,state,unselected";
17296             source:  "elm";
17297             action:  STATE_SET "default" 0.0;
17298             target:  "bg";
17299             target:  "fg1";
17300             target:  "fg2";
17301             target:  "elm.text";
17302             transition: LINEAR 0.1;
17303          }
17304          program {
17305             name:    "go_disabled";
17306             signal:  "elm,state,disabled";
17307             source:  "elm";
17308             action:  STATE_SET "disabled" 0.0;
17309             target:  "disclip";
17310          }
17311          program {
17312             name:    "go_enabled";
17313             signal:  "elm,state,enabled";
17314             source:  "elm";
17315             action:  STATE_SET "default" 0.0;
17316             target:  "disclip";
17317          }
17318       }
17319    }
17320    group { name: "elm/genlist/item_compress_odd/default/default";
17321       data.item: "stacking" "below";
17322       data.item: "selectraise" "on";
17323       data.item: "labels" "elm.text";
17324       data.item: "icons" "elm.swallow.icon elm.swallow.end";
17325       data.item: "treesize" "20";
17326 //      data.item: "states" "";
17327       images {
17328          image: "bt_sm_base1.png" COMP;
17329          image: "bt_sm_shine.png" COMP;
17330          image: "bt_sm_hilight.png" COMP;
17331          image: "ilist_2.png" COMP;
17332       }
17333       parts {
17334          part { name: "event";
17335             type: RECT;
17336             repeat_events: 1;
17337             description {
17338                state: "default" 0.0;
17339                color: 0 0 0 0;
17340             }
17341          }
17342          part {
17343             name: "base";
17344             mouse_events: 0;
17345             description {
17346                state: "default" 0.0;
17347                image {
17348                   normal: "ilist_2.png";
17349                   border: 2 2 2 2;
17350                }
17351                fill.smooth: 0;
17352             }
17353          }
17354          part { name: "bg";
17355             clip_to: "disclip";
17356             mouse_events: 0;
17357             description { state: "default" 0.0;
17358                visible: 0;
17359                color: 255 255 255 0;
17360                rel1 {
17361                   relative: 0.0 0.0;
17362                   offset: -5 -5;
17363                }
17364                rel2 {
17365                   relative: 1.0 1.0;
17366                   offset: 4 4;
17367                }
17368                image {
17369                   normal: "bt_sm_base1.png";
17370                   border: 6 6 6 6;
17371                }
17372                image.middle: SOLID;
17373             }
17374             description { state: "selected" 0.0;
17375                inherit: "default" 0.0;
17376                visible: 1;
17377                color: 255 255 255 255;
17378                rel1 {
17379                   relative: 0.0 0.0;
17380                   offset: -2 -2;
17381                }
17382                rel2 {
17383                   relative: 1.0 1.0;
17384                   offset: 1 1;
17385                }
17386             }
17387          }
17388          part { name: "elm.swallow.pad";
17389             type: SWALLOW;
17390             description { state: "default" 0.0;
17391                fixed: 1 0;
17392                align: 0.0 0.5;
17393                rel1 {
17394                   relative: 0.0  0.0;
17395                   offset:   4    4;
17396                }
17397                rel2 {
17398                   relative: 0.0  1.0;
17399                   offset:   4   -5;
17400                }
17401             }
17402          }
17403          part { name: "elm.swallow.icon";
17404             clip_to: "disclip";
17405             type: SWALLOW;
17406             description { state: "default" 0.0;
17407                fixed: 1 0;
17408                align: 0.0 0.5;
17409                rel1 {
17410                   to_x: "elm.swallow.pad";
17411                   relative: 1.0  0.0;
17412                   offset:   -1    4;
17413                }
17414                rel2 {
17415                   to_x: "elm.swallow.pad";
17416                   relative: 1.0  1.0;
17417                   offset:   -1   -5;
17418                }
17419             }
17420          }
17421          part { name: "elm.swallow.end";
17422             clip_to: "disclip";
17423             type:          SWALLOW;
17424             description { state:    "default" 0.0;
17425                fixed: 1 0;
17426                align:    1.0 0.5;
17427                aspect: 1.0 1.0;
17428                aspect_preference: VERTICAL;
17429                rel1 {
17430                   relative: 1.0  0.0;
17431                   offset:   -5    4;
17432                }
17433                rel2 {
17434                   relative: 1.0  1.0;
17435                   offset:   -5   -5;
17436                }
17437             }
17438          }
17439          part { name: "elm.text";
17440             clip_to: "disclip";
17441             type:           TEXT;
17442             effect:         SOFT_SHADOW;
17443             mouse_events:   0;
17444             scale: 1;
17445             description {
17446                state: "default" 0.0;
17447 //               min:      16 16;
17448                rel1 {
17449                   to_x:     "elm.swallow.icon";
17450                   relative: 1.0  0.0;
17451                   offset:   0 4;
17452                }
17453                rel2 {
17454                   to_x:     "elm.swallow.end";
17455                   relative: 0.0  1.0;
17456                   offset:   -1 -5;
17457                }
17458                color: 0 0 0 255;
17459                color3: 0 0 0 0;
17460                text {
17461                   font: "Sans";
17462                   size: 10;
17463                   min: 0 1;
17464 //                  min: 1 1;
17465                   align: 0.0 0.5;
17466                   text_class: "list_item";
17467                }
17468             }
17469             description { state: "selected" 0.0;
17470                inherit: "default" 0.0;
17471                color: 224 224 224 255;
17472                color3: 0 0 0 64;
17473             }
17474          }
17475          part { name: "fg1";
17476             clip_to: "disclip";
17477             mouse_events: 0;
17478             description { state: "default" 0.0;
17479                visible: 0;
17480                color: 255 255 255 0;
17481                rel1.to: "bg";
17482                rel2.relative: 1.0 0.5;
17483                rel2.to: "bg";
17484                image {
17485                   normal: "bt_sm_hilight.png";
17486                   border: 6 6 6 0;
17487                }
17488             }
17489             description { state: "selected" 0.0;
17490                inherit: "default" 0.0;
17491                visible: 1;
17492                color: 255 255 255 255;
17493             }
17494          }
17495          part { name: "fg2";
17496             clip_to: "disclip";
17497             mouse_events: 0;
17498             description { state: "default" 0.0;
17499                visible: 0;
17500                color: 255 255 255 0;
17501                rel1.to: "bg";
17502                rel2.to: "bg";
17503                image {
17504                   normal: "bt_sm_shine.png";
17505                   border: 6 6 6 0;
17506                }
17507             }
17508             description { state: "selected" 0.0;
17509                inherit: "default" 0.0;
17510                visible: 1;
17511                color: 255 255 255 255;
17512             }
17513          }
17514          part { name: "disclip";
17515             type: RECT;
17516             description { state: "default" 0.0;
17517                rel1.to: "bg";
17518                rel2.to: "bg";
17519             }
17520             description { state: "disabled" 0.0;
17521                inherit: "default" 0.0;
17522                color: 255 255 255 64;
17523             }
17524          }
17525       }
17526       programs {
17527          // signal: elm,state,%s,active
17528          //   a "check" item named %s went active
17529          // signal: elm,state,%s,passive
17530          //   a "check" item named %s went passive
17531          // default is passive
17532          program {
17533             name:    "go_active";
17534             signal:  "elm,state,selected";
17535             source:  "elm";
17536             action:  STATE_SET "selected" 0.0;
17537             target:  "bg";
17538             target:  "fg1";
17539             target:  "fg2";
17540             target:  "elm.text";
17541          }
17542          program {
17543             name:    "go_passive";
17544             signal:  "elm,state,unselected";
17545             source:  "elm";
17546             action:  STATE_SET "default" 0.0;
17547             target:  "bg";
17548             target:  "fg1";
17549             target:  "fg2";
17550             target:  "elm.text";
17551             transition: LINEAR 0.1;
17552          }
17553          program {
17554             name:    "go_disabled";
17555             signal:  "elm,state,disabled";
17556             source:  "elm";
17557             action:  STATE_SET "disabled" 0.0;
17558             target:  "disclip";
17559          }
17560          program {
17561             name:    "go_enabled";
17562             signal:  "elm,state,enabled";
17563             source:  "elm";
17564             action:  STATE_SET "default" 0.0;
17565             target:  "disclip";
17566          }
17567       }
17568    }
17569
17570    group { name: "elm/genlist/tree/default/default";
17571       data.item: "stacking" "above";
17572       data.item: "selectraise" "on";
17573       data.item: "labels" "elm.text";
17574       data.item: "icons" "elm.swallow.icon elm.swallow.end";
17575       data.item: "treesize" "20";
17576 //      data.item: "states" "";
17577       images {
17578          image: "bt_sm_base1.png" COMP;
17579          image: "bt_sm_shine.png" COMP;
17580          image: "bt_sm_hilight.png" COMP;
17581          image: "ilist_1.png" COMP;
17582          image: "ilist_item_shadow.png" COMP;
17583          image: "icon_arrow_right.png" COMP;
17584          image: "icon_arrow_down.png" COMP;
17585       }
17586       parts {
17587          part {
17588             name:           "event";
17589             type:           RECT;
17590             repeat_events: 1;
17591             description {
17592                state: "default" 0.0;
17593                color: 0 0 0 0;
17594             }
17595          }
17596          part {
17597             name: "base_sh";
17598             mouse_events: 0;
17599             description {
17600                state: "default" 0.0;
17601                align: 0.0 0.0;
17602                min: 0 10;
17603                fixed: 1 1;
17604                rel1 {
17605                   to: "base";
17606                   relative: 0.0 1.0;
17607                   offset: 0 0;
17608                }
17609                rel2 {
17610                   to: "base";
17611                   relative: 1.0 1.0;
17612                   offset: -1 0;
17613                }
17614                image {
17615                   normal: "ilist_item_shadow.png";
17616                }
17617                fill.smooth: 0;
17618             }
17619          }
17620          part {
17621             name: "base";
17622             mouse_events: 0;
17623             description {
17624                state: "default" 0.0;
17625                image {
17626                   normal: "ilist_1.png";
17627                   border: 2 2 2 2;
17628                }
17629                fill.smooth: 0;
17630             }
17631          }
17632          part { name: "bg";
17633             clip_to: "disclip";
17634             mouse_events: 0;
17635             description { state: "default" 0.0;
17636                visible: 0;
17637                color: 255 255 255 0;
17638                rel1 {
17639                   relative: 0.0 0.0;
17640                   offset: -5 -5;
17641                }
17642                rel2 {
17643                   relative: 1.0 1.0;
17644                   offset: 4 4;
17645                }
17646                image {
17647                   normal: "bt_sm_base1.png";
17648                   border: 6 6 6 6;
17649                }
17650                image.middle: SOLID;
17651             }
17652             description { state: "selected" 0.0;
17653                inherit: "default" 0.0;
17654                visible: 1;
17655                color: 255 255 255 255;
17656                rel1 {
17657                   relative: 0.0 0.0;
17658                   offset: -2 -2;
17659                }
17660                rel2 {
17661                   relative: 1.0 1.0;
17662                   offset: 1 1;
17663                }
17664             }
17665          }
17666          part { name: "elm.swallow.pad";
17667             type: SWALLOW;
17668             description { state: "default" 0.0;
17669                fixed: 1 0;
17670                align: 0.0 0.5;
17671                rel1 {
17672                   relative: 0.0  0.0;
17673                   offset:   4    4;
17674                }
17675                rel2 {
17676                   relative: 0.0  1.0;
17677                   offset:   4   -5;
17678                }
17679             }
17680          }
17681          part { name: "arrow";
17682             clip_to: "disclip";
17683             ignore_flags: ON_HOLD;
17684             description { state: "default" 0.0;
17685                fixed: 1 0;
17686                align: 0.0 0.5;
17687                aspect: 1.0 1.0;
17688                rel1 {
17689                   to_x: "elm.swallow.pad";
17690                   relative: 1.0  0.0;
17691                   offset:   -1    4;
17692                }
17693                rel2 {
17694                   to_x: "elm.swallow.pad";
17695                   relative: 1.0  1.0;
17696                   offset:   -1   -5;
17697                }
17698                image.normal: "icon_arrow_right.png";
17699             }
17700             description { state: "active" 0.0;
17701                inherit: "default" 0.0;
17702                image.normal: "icon_arrow_down.png";
17703             }
17704          }
17705          part { name: "elm.swallow.icon";
17706             clip_to: "disclip";
17707             type: SWALLOW;
17708             description { state: "default" 0.0;
17709                fixed: 1 0;
17710                align: 0.0 0.5;
17711                rel1 {
17712                   to_x: "arrow";
17713                   relative: 1.0  0.0;
17714                   offset:   4    4;
17715                }
17716                rel2 {
17717                   to_x: "arrow";
17718                   relative: 1.0  1.0;
17719                   offset:   4   -5;
17720                }
17721             }
17722          }
17723          part { name: "elm.swallow.end";
17724             clip_to: "disclip";
17725             type: SWALLOW;
17726             description { state: "default" 0.0;
17727                fixed: 1 0;
17728                align: 1.0 0.5;
17729                aspect: 1.0 1.0;
17730                aspect_preference: VERTICAL;
17731                rel1 {
17732                   relative: 1.0  0.0;
17733                   offset:   -5    4;
17734                }
17735                rel2 {
17736                   relative: 1.0  1.0;
17737                   offset:   -5   -5;
17738                }
17739             }
17740          }
17741          part { name: "elm.text";
17742             clip_to: "disclip";
17743             type:           TEXT;
17744             effect:         SOFT_SHADOW;
17745             mouse_events:   0;
17746             scale: 1;
17747             description {
17748                state: "default" 0.0;
17749 //               min: 16 16;
17750                rel1 {
17751                   to_x:     "elm.swallow.icon";
17752                   relative: 1.0  0.0;
17753                   offset:   0 4;
17754                }
17755                rel2 {
17756                   to_x:     "elm.swallow.end";
17757                   relative: 0.0  1.0;
17758                   offset:   -1 -5;
17759                }
17760                color: 0 0 0 255;
17761                color3: 0 0 0 0;
17762                text {
17763                   font: "Sans";
17764                   size: 10;
17765                   min: 1 1;
17766 //                  min: 0 1;
17767                   align: -1.0 0.5;
17768                   text_class: "list_item";
17769                }
17770             }
17771             description { state: "selected" 0.0;
17772                inherit: "default" 0.0;
17773                color: 224 224 224 255;
17774                color3: 0 0 0 64;
17775             }
17776          }
17777          part { name: "fg1";
17778             clip_to: "disclip";
17779             mouse_events: 0;
17780             description { state: "default" 0.0;
17781                visible: 0;
17782                color: 255 255 255 0;
17783                rel1.to: "bg";
17784                rel2.relative: 1.0 0.5;
17785                rel2.to: "bg";
17786                image {
17787                   normal: "bt_sm_hilight.png";
17788                   border: 6 6 6 0;
17789                }
17790             }
17791             description { state: "selected" 0.0;
17792                inherit: "default" 0.0;
17793                visible: 1;
17794                color: 255 255 255 255;
17795             }
17796          }
17797          part { name: "fg2";
17798             clip_to: "disclip";
17799             mouse_events: 0;
17800             description { state: "default" 0.0;
17801                visible: 0;
17802                color: 255 255 255 0;
17803                rel1.to: "bg";
17804                rel2.to: "bg";
17805                image {
17806                   normal: "bt_sm_shine.png";
17807                   border: 6 6 6 0;
17808                }
17809             }
17810             description { state: "selected" 0.0;
17811                inherit: "default" 0.0;
17812                visible: 1;
17813                color: 255 255 255 255;
17814             }
17815          }
17816          part { name: "disclip";
17817             type: RECT;
17818             description { state: "default" 0.0;
17819                rel1.to: "bg";
17820                rel2.to: "bg";
17821             }
17822             description { state: "disabled" 0.0;
17823                inherit: "default" 0.0;
17824                color: 255 255 255 64;
17825             }
17826          }
17827       }
17828       programs {
17829          // signal: elm,state,%s,active
17830          //   a "check" item named %s went active
17831          // signal: elm,state,%s,passive
17832          //   a "check" item named %s went passive
17833          // default is passive
17834          program {
17835             name:    "go_active";
17836             signal:  "elm,state,selected";
17837             source:  "elm";
17838             action:  STATE_SET "selected" 0.0;
17839             target:  "bg";
17840             target:  "fg1";
17841             target:  "fg2";
17842             target:  "elm.text";
17843          }
17844          program {
17845             name:    "go_passive";
17846             signal:  "elm,state,unselected";
17847             source:  "elm";
17848             action:  STATE_SET "default" 0.0;
17849             target:  "bg";
17850             target:  "fg1";
17851             target:  "fg2";
17852             target:  "elm.text";
17853             transition: LINEAR 0.1;
17854          }
17855          program {
17856             name:    "go_disabled";
17857             signal:  "elm,state,disabled";
17858             source:  "elm";
17859             action:  STATE_SET "disabled" 0.0;
17860             target:  "disclip";
17861          }
17862          program {
17863             name:    "go_enabled";
17864             signal:  "elm,state,enabled";
17865             source:  "elm";
17866             action:  STATE_SET "default" 0.0;
17867             target:  "disclip";
17868          }
17869          program {
17870             name:    "expand";
17871             signal:  "mouse,up,1";
17872             source:  "arrow";
17873             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
17874          }
17875          program {
17876             name:    "go_expanded";
17877             signal:  "elm,state,expanded";
17878             source:  "elm";
17879             action:  STATE_SET "active" 0.0;
17880             target:  "arrow";
17881          }
17882          program {
17883             name:    "go_contracted";
17884             signal:  "elm,state,contracted";
17885             source:  "elm";
17886             action:  STATE_SET "default" 0.0;
17887             target:  "arrow";
17888          }
17889       }
17890    }
17891    group { name: "elm/genlist/tree_compress/default/default";
17892       data.item: "stacking" "above";
17893       data.item: "selectraise" "on";
17894       data.item: "labels" "elm.text";
17895       data.item: "icons" "elm.swallow.icon elm.swallow.end";
17896       data.item: "treesize" "20";
17897 //      data.item: "states" "";
17898       images {
17899          image: "bt_sm_base1.png" COMP;
17900          image: "bt_sm_shine.png" COMP;
17901          image: "bt_sm_hilight.png" COMP;
17902          image: "ilist_1.png" COMP;
17903          image: "ilist_item_shadow.png" COMP;
17904          image: "icon_arrow_right.png" COMP;
17905          image: "icon_arrow_down.png" COMP;
17906       }
17907       parts {
17908          part {
17909             name:           "event";
17910             type:           RECT;
17911             repeat_events: 1;
17912             description {
17913                state: "default" 0.0;
17914                color: 0 0 0 0;
17915             }
17916          }
17917          part {
17918             name: "base_sh";
17919             mouse_events: 0;
17920             description {
17921                state: "default" 0.0;
17922                align: 0.0 0.0;
17923                min: 0 10;
17924                fixed: 1 1;
17925                rel1 {
17926                   to: "base";
17927                   relative: 0.0 1.0;
17928                   offset: 0 0;
17929                }
17930                rel2 {
17931                   to: "base";
17932                   relative: 1.0 1.0;
17933                   offset: -1 0;
17934                }
17935                image {
17936                   normal: "ilist_item_shadow.png";
17937                }
17938                fill.smooth: 0;
17939             }
17940          }
17941          part {
17942             name: "base";
17943             mouse_events: 0;
17944             description {
17945                state: "default" 0.0;
17946                image {
17947                   normal: "ilist_1.png";
17948                   border: 2 2 2 2;
17949                }
17950                fill.smooth: 0;
17951             }
17952          }
17953          part { name: "bg";
17954             clip_to: "disclip";
17955             mouse_events: 0;
17956             description { state: "default" 0.0;
17957                visible: 0;
17958                color: 255 255 255 0;
17959                rel1 {
17960                   relative: 0.0 0.0;
17961                   offset: -5 -5;
17962                }
17963                rel2 {
17964                   relative: 1.0 1.0;
17965                   offset: 4 4;
17966                }
17967                image {
17968                   normal: "bt_sm_base1.png";
17969                   border: 6 6 6 6;
17970                }
17971                image.middle: SOLID;
17972             }
17973             description { state: "selected" 0.0;
17974                inherit: "default" 0.0;
17975                visible: 1;
17976                color: 255 255 255 255;
17977                rel1 {
17978                   relative: 0.0 0.0;
17979                   offset: -2 -2;
17980                }
17981                rel2 {
17982                   relative: 1.0 1.0;
17983                   offset: 1 1;
17984                }
17985             }
17986          }
17987          part { name: "elm.swallow.pad";
17988             type: SWALLOW;
17989             description { state: "default" 0.0;
17990                fixed: 1 0;
17991                align: 0.0 0.5;
17992                rel1 {
17993                   relative: 0.0  0.0;
17994                   offset:   4    4;
17995                }
17996                rel2 {
17997                   relative: 0.0  1.0;
17998                   offset:   4   -5;
17999                }
18000             }
18001          }
18002          part { name: "arrow";
18003             clip_to: "disclip";
18004             ignore_flags: ON_HOLD;
18005             description { state: "default" 0.0;
18006                fixed: 1 0;
18007                align: 0.0 0.5;
18008                aspect: 1.0 1.0;
18009                rel1 {
18010                   to_x: "elm.swallow.pad";
18011                   relative: 1.0  0.0;
18012                   offset:   -1    4;
18013                }
18014                rel2 {
18015                   to_x: "elm.swallow.pad";
18016                   relative: 1.0  1.0;
18017                   offset:   -1   -5;
18018                }
18019                image.normal: "icon_arrow_right.png";
18020             }
18021             description { state: "active" 0.0;
18022                inherit: "default" 0.0;
18023                image.normal: "icon_arrow_down.png";
18024             }
18025          }
18026          part { name: "elm.swallow.icon";
18027             clip_to: "disclip";
18028             type: SWALLOW;
18029             description { state: "default" 0.0;
18030                fixed: 1 0;
18031                align: 0.0 0.5;
18032                rel1 {
18033                   to_x: "arrow";
18034                   relative: 1.0  0.0;
18035                   offset:   4    4;
18036                }
18037                rel2 {
18038                   to_x: "arrow";
18039                   relative: 1.0  1.0;
18040                   offset:   4   -5;
18041                }
18042             }
18043          }
18044          part { name: "elm.swallow.end";
18045             clip_to: "disclip";
18046             type: SWALLOW;
18047             description { state: "default" 0.0;
18048                fixed: 1 0;
18049                align: 1.0 0.5;
18050                aspect: 1.0 1.0;
18051                aspect_preference: VERTICAL;
18052                rel1 {
18053                   relative: 1.0  0.0;
18054                   offset:   -5    4;
18055                }
18056                rel2 {
18057                   relative: 1.0  1.0;
18058                   offset:   -5   -5;
18059                }
18060             }
18061          }
18062          part { name: "elm.text";
18063             clip_to: "disclip";
18064             type:           TEXT;
18065             effect:         SOFT_SHADOW;
18066             mouse_events:   0;
18067             scale: 1;
18068             description {
18069                state: "default" 0.0;
18070 //               min: 16 16;
18071                rel1 {
18072                   to_x:     "elm.swallow.icon";
18073                   relative: 1.0  0.0;
18074                   offset:   0 4;
18075                }
18076                rel2 {
18077                   to_x:     "elm.swallow.end";
18078                   relative: 0.0  1.0;
18079                   offset:   -1 -5;
18080                }
18081                color: 0 0 0 255;
18082                color3: 0 0 0 0;
18083                text {
18084                   font: "Sans";
18085                   size: 10;
18086 //                  min: 1 1;
18087                   min: 0 1;
18088                   align: 0.0 0.5;
18089                   text_class: "list_item";
18090                }
18091             }
18092             description { state: "selected" 0.0;
18093                inherit: "default" 0.0;
18094                color: 224 224 224 255;
18095                color3: 0 0 0 64;
18096             }
18097          }
18098          part { name: "fg1";
18099             clip_to: "disclip";
18100             mouse_events: 0;
18101             description { state: "default" 0.0;
18102                visible: 0;
18103                color: 255 255 255 0;
18104                rel1.to: "bg";
18105                rel2.relative: 1.0 0.5;
18106                rel2.to: "bg";
18107                image {
18108                   normal: "bt_sm_hilight.png";
18109                   border: 6 6 6 0;
18110                }
18111             }
18112             description { state: "selected" 0.0;
18113                inherit: "default" 0.0;
18114                visible: 1;
18115                color: 255 255 255 255;
18116             }
18117          }
18118          part { name: "fg2";
18119             clip_to: "disclip";
18120             mouse_events: 0;
18121             description { state: "default" 0.0;
18122                visible: 0;
18123                color: 255 255 255 0;
18124                rel1.to: "bg";
18125                rel2.to: "bg";
18126                image {
18127                   normal: "bt_sm_shine.png";
18128                   border: 6 6 6 0;
18129                }
18130             }
18131             description { state: "selected" 0.0;
18132                inherit: "default" 0.0;
18133                visible: 1;
18134                color: 255 255 255 255;
18135             }
18136          }
18137          part { name: "disclip";
18138             type: RECT;
18139             description { state: "default" 0.0;
18140                rel1.to: "bg";
18141                rel2.to: "bg";
18142             }
18143             description { state: "disabled" 0.0;
18144                inherit: "default" 0.0;
18145                color: 255 255 255 64;
18146             }
18147          }
18148       }
18149       programs {
18150          // signal: elm,state,%s,active
18151          //   a "check" item named %s went active
18152          // signal: elm,state,%s,passive
18153          //   a "check" item named %s went passive
18154          // default is passive
18155          program {
18156             name:    "go_active";
18157             signal:  "elm,state,selected";
18158             source:  "elm";
18159             action:  STATE_SET "selected" 0.0;
18160             target:  "bg";
18161             target:  "fg1";
18162             target:  "fg2";
18163             target:  "elm.text";
18164          }
18165          program {
18166             name:    "go_passive";
18167             signal:  "elm,state,unselected";
18168             source:  "elm";
18169             action:  STATE_SET "default" 0.0;
18170             target:  "bg";
18171             target:  "fg1";
18172             target:  "fg2";
18173             target:  "elm.text";
18174             transition: LINEAR 0.1;
18175          }
18176          program {
18177             name:    "go_disabled";
18178             signal:  "elm,state,disabled";
18179             source:  "elm";
18180             action:  STATE_SET "disabled" 0.0;
18181             target:  "disclip";
18182          }
18183          program {
18184             name:    "go_enabled";
18185             signal:  "elm,state,enabled";
18186             source:  "elm";
18187             action:  STATE_SET "default" 0.0;
18188             target:  "disclip";
18189          }
18190          program {
18191             name:    "expand";
18192             signal:  "mouse,up,1";
18193             source:  "arrow";
18194             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
18195          }
18196          program {
18197             name:    "go_expanded";
18198             signal:  "elm,state,expanded";
18199             source:  "elm";
18200             action:  STATE_SET "active" 0.0;
18201             target:  "arrow";
18202          }
18203          program {
18204             name:    "go_contracted";
18205             signal:  "elm,state,contracted";
18206             source:  "elm";
18207             action:  STATE_SET "default" 0.0;
18208             target:  "arrow";
18209          }
18210       }
18211    }
18212    group { name: "elm/genlist/tree_odd/default/default";
18213       data.item: "stacking" "below";
18214       data.item: "selectraise" "on";
18215       data.item: "labels" "elm.text";
18216       data.item: "icons" "elm.swallow.icon elm.swallow.end";
18217       data.item: "treesize" "20";
18218 //      data.item: "states" "";
18219       images {
18220          image: "bt_sm_base1.png" COMP;
18221          image: "bt_sm_shine.png" COMP;
18222          image: "bt_sm_hilight.png" COMP;
18223          image: "ilist_2.png" COMP;
18224          image: "icon_arrow_right.png" COMP;
18225          image: "icon_arrow_down.png" COMP;
18226       }
18227       parts {
18228          part {
18229             name:           "event";
18230             type:           RECT;
18231             repeat_events: 1;
18232             description {
18233                state: "default" 0.0;
18234                color: 0 0 0 0;
18235             }
18236          }
18237          part {
18238             name: "base";
18239             mouse_events: 0;
18240             description {
18241                state: "default" 0.0;
18242                image {
18243                   normal: "ilist_2.png";
18244                   border: 2 2 2 2;
18245                }
18246                fill.smooth: 0;
18247             }
18248          }
18249          part { name: "bg";
18250             clip_to: "disclip";
18251             mouse_events: 0;
18252             description { state: "default" 0.0;
18253                visible: 0;
18254                color: 255 255 255 0;
18255                rel1 {
18256                   relative: 0.0 0.0;
18257                   offset: -5 -5;
18258                }
18259                rel2 {
18260                   relative: 1.0 1.0;
18261                   offset: 4 4;
18262                }
18263                image {
18264                   normal: "bt_sm_base1.png";
18265                   border: 6 6 6 6;
18266                }
18267                image.middle: SOLID;
18268             }
18269             description { state: "selected" 0.0;
18270                inherit: "default" 0.0;
18271                visible: 1;
18272                color: 255 255 255 255;
18273                rel1 {
18274                   relative: 0.0 0.0;
18275                   offset: -2 -2;
18276                }
18277                rel2 {
18278                   relative: 1.0 1.0;
18279                   offset: 1 1;
18280                }
18281             }
18282          }
18283          part { name: "elm.swallow.pad";
18284             type: SWALLOW;
18285             description { state: "default" 0.0;
18286                fixed: 1 0;
18287                align: 0.0 0.5;
18288                rel1 {
18289                   relative: 0.0  0.0;
18290                   offset:   4    4;
18291                }
18292                rel2 {
18293                   relative: 0.0  1.0;
18294                   offset:   4   -5;
18295                }
18296             }
18297          }
18298          part { name: "arrow";
18299             clip_to: "disclip";
18300             ignore_flags: ON_HOLD;
18301             description { state: "default" 0.0;
18302                fixed: 1 0;
18303                align: 0.0 0.5;
18304                aspect: 1.0 1.0;
18305                rel1 {
18306                   to_x: "elm.swallow.pad";
18307                   relative: 1.0  0.0;
18308                   offset:   -1    4;
18309                }
18310                rel2 {
18311                   to_x: "elm.swallow.pad";
18312                   relative: 1.0  1.0;
18313                   offset:   -1   -5;
18314                }
18315                image.normal: "icon_arrow_right.png";
18316             }
18317             description { state: "active" 0.0;
18318                inherit: "default" 0.0;
18319                image.normal: "icon_arrow_down.png";
18320             }
18321          }
18322          part { name: "elm.swallow.icon";
18323             clip_to: "disclip";
18324             type: SWALLOW;
18325             description { state: "default" 0.0;
18326                fixed: 1 0;
18327                align: 0.0 0.5;
18328                rel1 {
18329                   to_x: "arrow";
18330                   relative: 1.0  0.0;
18331                   offset:   4    4;
18332                }
18333                rel2 {
18334                   to_x: "arrow";
18335                   relative: 1.0  1.0;
18336                   offset:   4   -5;
18337                }
18338             }
18339          }
18340          part { name: "elm.swallow.end";
18341             clip_to: "disclip";
18342             type: SWALLOW;
18343             description { state: "default" 0.0;
18344                fixed: 1 0;
18345                align: 1.0 0.5;
18346                aspect: 1.0 1.0;
18347                aspect_preference: VERTICAL;
18348                rel1 {
18349                   relative: 1.0  0.0;
18350                   offset:   -5    4;
18351                }
18352                rel2 {
18353                   relative: 1.0  1.0;
18354                   offset:   -5   -5;
18355                }
18356             }
18357          }
18358          part { name: "elm.text";
18359             clip_to: "disclip";
18360             type:           TEXT;
18361             effect:         SOFT_SHADOW;
18362             mouse_events:   0;
18363             scale: 1;
18364             description {
18365                state: "default" 0.0;
18366 //               min: 16 16;
18367                rel1 {
18368                   to_x:     "elm.swallow.icon";
18369                   relative: 1.0  0.0;
18370                   offset:   0 4;
18371                }
18372                rel2 {
18373                   to_x:     "elm.swallow.end";
18374                   relative: 0.0  1.0;
18375                   offset:   -1 -5;
18376                }
18377                color: 0 0 0 255;
18378                color3: 0 0 0 0;
18379                text {
18380                   font: "Sans";
18381                   size: 10;
18382                   min: 1 1;
18383 //                  min: 0 1;
18384                   align: -1.0 0.5;
18385                   text_class: "list_item";
18386                }
18387             }
18388             description { state: "selected" 0.0;
18389                inherit: "default" 0.0;
18390                color: 224 224 224 255;
18391                color3: 0 0 0 64;
18392             }
18393          }
18394          part { name: "fg1";
18395             clip_to: "disclip";
18396             mouse_events: 0;
18397             description { state: "default" 0.0;
18398                visible: 0;
18399                color: 255 255 255 0;
18400                rel1.to: "bg";
18401                rel2.relative: 1.0 0.5;
18402                rel2.to: "bg";
18403                image {
18404                   normal: "bt_sm_hilight.png";
18405                   border: 6 6 6 0;
18406                }
18407             }
18408             description { state: "selected" 0.0;
18409                inherit: "default" 0.0;
18410                visible: 1;
18411                color: 255 255 255 255;
18412             }
18413          }
18414          part { name: "fg2";
18415             clip_to: "disclip";
18416             mouse_events: 0;
18417             description { state: "default" 0.0;
18418                visible: 0;
18419                color: 255 255 255 0;
18420                rel1.to: "bg";
18421                rel2.to: "bg";
18422                image {
18423                   normal: "bt_sm_shine.png";
18424                   border: 6 6 6 0;
18425                }
18426             }
18427             description { state: "selected" 0.0;
18428                inherit: "default" 0.0;
18429                visible: 1;
18430                color: 255 255 255 255;
18431             }
18432          }
18433          part { name: "disclip";
18434             type: RECT;
18435             description { state: "default" 0.0;
18436                rel1.to: "bg";
18437                rel2.to: "bg";
18438             }
18439             description { state: "disabled" 0.0;
18440                inherit: "default" 0.0;
18441                color: 255 255 255 64;
18442             }
18443          }
18444       }
18445       programs {
18446          // signal: elm,state,%s,active
18447          //   a "check" item named %s went active
18448          // signal: elm,state,%s,passive
18449          //   a "check" item named %s went passive
18450          // default is passive
18451          program {
18452             name:    "go_active";
18453             signal:  "elm,state,selected";
18454             source:  "elm";
18455             action:  STATE_SET "selected" 0.0;
18456             target:  "bg";
18457             target:  "fg1";
18458             target:  "fg2";
18459             target:  "elm.text";
18460          }
18461          program {
18462             name:    "go_passive";
18463             signal:  "elm,state,unselected";
18464             source:  "elm";
18465             action:  STATE_SET "default" 0.0;
18466             target:  "bg";
18467             target:  "fg1";
18468             target:  "fg2";
18469             target:  "elm.text";
18470             transition: LINEAR 0.1;
18471          }
18472          program {
18473             name:    "go_disabled";
18474             signal:  "elm,state,disabled";
18475             source:  "elm";
18476             action:  STATE_SET "disabled" 0.0;
18477             target:  "disclip";
18478          }
18479          program {
18480             name:    "go_enabled";
18481             signal:  "elm,state,enabled";
18482             source:  "elm";
18483             action:  STATE_SET "default" 0.0;
18484             target:  "disclip";
18485          }
18486          program {
18487             name:    "expand";
18488             signal:  "mouse,up,1";
18489             source:  "arrow";
18490             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
18491          }
18492          program {
18493             name:    "go_expanded";
18494             signal:  "elm,state,expanded";
18495             source:  "elm";
18496             action:  STATE_SET "active" 0.0;
18497             target:  "arrow";
18498          }
18499          program {
18500             name:    "go_contracted";
18501             signal:  "elm,state,contracted";
18502             source:  "elm";
18503             action:  STATE_SET "default" 0.0;
18504             target:  "arrow";
18505          }
18506       }
18507    }
18508    group { name: "elm/genlist/tree_compress_odd/default/default";
18509       data.item: "stacking" "below";
18510       data.item: "selectraise" "on";
18511       data.item: "labels" "elm.text";
18512       data.item: "icons" "elm.swallow.icon elm.swallow.end";
18513       data.item: "treesize" "20";
18514 //      data.item: "states" "";
18515       images {
18516          image: "bt_sm_base1.png" COMP;
18517          image: "bt_sm_shine.png" COMP;
18518          image: "bt_sm_hilight.png" COMP;
18519          image: "ilist_2.png" COMP;
18520          image: "icon_arrow_right.png" COMP;
18521          image: "icon_arrow_down.png" COMP;
18522       }
18523       parts {
18524          part {
18525             name:           "event";
18526             type:           RECT;
18527             repeat_events: 1;
18528             description {
18529                state: "default" 0.0;
18530                color: 0 0 0 0;
18531             }
18532          }
18533          part {
18534             name: "base";
18535             mouse_events: 0;
18536             description {
18537                state: "default" 0.0;
18538                image {
18539                   normal: "ilist_2.png";
18540                   border: 2 2 2 2;
18541                }
18542                fill.smooth: 0;
18543             }
18544          }
18545          part { name: "bg";
18546             clip_to: "disclip";
18547             mouse_events: 0;
18548             description { state: "default" 0.0;
18549                visible: 0;
18550                color: 255 255 255 0;
18551                rel1 {
18552                   relative: 0.0 0.0;
18553                   offset: -5 -5;
18554                }
18555                rel2 {
18556                   relative: 1.0 1.0;
18557                   offset: 4 4;
18558                }
18559                image {
18560                   normal: "bt_sm_base1.png";
18561                   border: 6 6 6 6;
18562                }
18563                image.middle: SOLID;
18564             }
18565             description { state: "selected" 0.0;
18566                inherit: "default" 0.0;
18567                visible: 1;
18568                color: 255 255 255 255;
18569                rel1 {
18570                   relative: 0.0 0.0;
18571                   offset: -2 -2;
18572                }
18573                rel2 {
18574                   relative: 1.0 1.0;
18575                   offset: 1 1;
18576                }
18577             }
18578          }
18579          part { name: "elm.swallow.pad";
18580             type: SWALLOW;
18581             description { state: "default" 0.0;
18582                fixed: 1 0;
18583                align: 0.0 0.5;
18584                rel1 {
18585                   relative: 0.0  0.0;
18586                   offset:   4    4;
18587                }
18588                rel2 {
18589                   relative: 0.0  1.0;
18590                   offset:   4   -5;
18591                }
18592             }
18593          }
18594          part { name: "arrow";
18595             clip_to: "disclip";
18596             ignore_flags: ON_HOLD;
18597             description { state: "default" 0.0;
18598                fixed: 1 0;
18599                align: 0.0 0.5;
18600                aspect: 1.0 1.0;
18601                rel1 {
18602                   to_x: "elm.swallow.pad";
18603                   relative: 1.0  0.0;
18604                   offset:   -1    4;
18605                }
18606                rel2 {
18607                   to_x: "elm.swallow.pad";
18608                   relative: 1.0  1.0;
18609                   offset:   -1   -5;
18610                }
18611                image.normal: "icon_arrow_right.png";
18612             }
18613             description { state: "active" 0.0;
18614                inherit: "default" 0.0;
18615                image.normal: "icon_arrow_down.png";
18616             }
18617          }
18618          part { name: "elm.swallow.icon";
18619             clip_to: "disclip";
18620             type: SWALLOW;
18621             description { state: "default" 0.0;
18622                fixed: 1 0;
18623                align: 0.0 0.5;
18624                rel1 {
18625                   to_x: "arrow";
18626                   relative: 1.0  0.0;
18627                   offset:   4    4;
18628                }
18629                rel2 {
18630                   to_x: "arrow";
18631                   relative: 1.0  1.0;
18632                   offset:   4   -5;
18633                }
18634             }
18635          }
18636          part { name: "elm.swallow.end";
18637             clip_to: "disclip";
18638             type: SWALLOW;
18639             description { state: "default" 0.0;
18640                fixed: 1 0;
18641                align: 1.0 0.5;
18642                aspect: 1.0 1.0;
18643                aspect_preference: VERTICAL;
18644                rel1 {
18645                   relative: 1.0  0.0;
18646                   offset:   -5    4;
18647                }
18648                rel2 {
18649                   relative: 1.0  1.0;
18650                   offset:   -5   -5;
18651                }
18652             }
18653          }
18654          part { name: "elm.text";
18655             clip_to: "disclip";
18656             type:           TEXT;
18657             effect:         SOFT_SHADOW;
18658             mouse_events:   0;
18659             scale: 1;
18660             description {
18661                state: "default" 0.0;
18662 //               min: 16 16;
18663                rel1 {
18664                   to_x:     "elm.swallow.icon";
18665                   relative: 1.0  0.0;
18666                   offset:   0 4;
18667                }
18668                rel2 {
18669                   to_x:     "elm.swallow.end";
18670                   relative: 0.0  1.0;
18671                   offset:   -1 -5;
18672                }
18673                color: 0 0 0 255;
18674                color3: 0 0 0 0;
18675                text {
18676                   font: "Sans";
18677                   size: 10;
18678 //                  min: 1 1;
18679                   min: 0 1;
18680                   align: 0.0 0.5;
18681                   text_class: "list_item";
18682                }
18683             }
18684             description { state: "selected" 0.0;
18685                inherit: "default" 0.0;
18686                color: 224 224 224 255;
18687                color3: 0 0 0 64;
18688             }
18689          }
18690          part { name: "fg1";
18691             clip_to: "disclip";
18692             mouse_events: 0;
18693             description { state: "default" 0.0;
18694                visible: 0;
18695                color: 255 255 255 0;
18696                rel1.to: "bg";
18697                rel2.relative: 1.0 0.5;
18698                rel2.to: "bg";
18699                image {
18700                   normal: "bt_sm_hilight.png";
18701                   border: 6 6 6 0;
18702                }
18703             }
18704             description { state: "selected" 0.0;
18705                inherit: "default" 0.0;
18706                visible: 1;
18707                color: 255 255 255 255;
18708             }
18709          }
18710          part { name: "fg2";
18711             clip_to: "disclip";
18712             mouse_events: 0;
18713             description { state: "default" 0.0;
18714                visible: 0;
18715                color: 255 255 255 0;
18716                rel1.to: "bg";
18717                rel2.to: "bg";
18718                image {
18719                   normal: "bt_sm_shine.png";
18720                   border: 6 6 6 0;
18721                }
18722             }
18723             description { state: "selected" 0.0;
18724                inherit: "default" 0.0;
18725                visible: 1;
18726                color: 255 255 255 255;
18727             }
18728          }
18729          part { name: "disclip";
18730             type: RECT;
18731             description { state: "default" 0.0;
18732                rel1.to: "bg";
18733                rel2.to: "bg";
18734             }
18735             description { state: "disabled" 0.0;
18736                inherit: "default" 0.0;
18737                color: 255 255 255 64;
18738             }
18739          }
18740       }
18741       programs {
18742          // signal: elm,state,%s,active
18743          //   a "check" item named %s went active
18744          // signal: elm,state,%s,passive
18745          //   a "check" item named %s went passive
18746          // default is passive
18747          program {
18748             name:    "go_active";
18749             signal:  "elm,state,selected";
18750             source:  "elm";
18751             action:  STATE_SET "selected" 0.0;
18752             target:  "bg";
18753             target:  "fg1";
18754             target:  "fg2";
18755             target:  "elm.text";
18756          }
18757          program {
18758             name:    "go_passive";
18759             signal:  "elm,state,unselected";
18760             source:  "elm";
18761             action:  STATE_SET "default" 0.0;
18762             target:  "bg";
18763             target:  "fg1";
18764             target:  "fg2";
18765             target:  "elm.text";
18766             transition: LINEAR 0.1;
18767          }
18768          program {
18769             name:    "go_disabled";
18770             signal:  "elm,state,disabled";
18771             source:  "elm";
18772             action:  STATE_SET "disabled" 0.0;
18773             target:  "disclip";
18774          }
18775          program {
18776             name:    "go_enabled";
18777             signal:  "elm,state,enabled";
18778             source:  "elm";
18779             action:  STATE_SET "default" 0.0;
18780             target:  "disclip";
18781          }
18782          program {
18783             name:    "expand";
18784             signal:  "mouse,up,1";
18785             source:  "arrow";
18786             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
18787          }
18788          program {
18789             name:    "go_expanded";
18790             signal:  "elm,state,expanded";
18791             source:  "elm";
18792             action:  STATE_SET "active" 0.0;
18793             target:  "arrow";
18794          }
18795          program {
18796             name:    "go_contracted";
18797             signal:  "elm,state,contracted";
18798             source:  "elm";
18799             action:  STATE_SET "default" 0.0;
18800             target:  "arrow";
18801          }
18802       }
18803    }
18804
18805    group { name: "elm/genlist/item/default_style/default";
18806        styles
18807        {
18808            style { name: "genlist_style";
18809                base: "font=Sans font_size=10 align=left valign=0.5 color=#000 text_class=list_item";
18810                tag:  "br" "\n";
18811                tag:  "ps" "ps";
18812                tag:  "hilight" "+ font=Sans:style=Bold";
18813                tag:  "b" "+ font=Sans:style=Bold";
18814                tag:  "tab" "\t";
18815            }
18816            style { name: "genlist_selected_style";
18817                base: "font=Sans font_size=10 align=left valign=0.5 color=#fff text_class=list_item";
18818                tag:  "br" "\n";
18819                tag:  "ps" "ps";
18820                tag:  "hilight" "+ font=Sans:style=Bold";
18821                tag:  "b" "+ font=Sans:style=Bold";
18822                tag:  "tab" "\t";
18823            }
18824        }
18825        data.item: "stacking" "above";
18826        data.item: "selectraise" "on";
18827        data.item: "labels" "elm.text";
18828        data.item: "icons" "elm.swallow.icon elm.swallow.end";
18829        data.item: "treesize" "20";
18830        images {
18831            image: "bt_sm_base1.png" COMP;
18832            image: "bt_sm_shine.png" COMP;
18833            image: "bt_sm_hilight.png" COMP;
18834            image: "ilist_1.png" COMP;
18835            image: "ilist_item_shadow.png" COMP;
18836        }
18837        parts {
18838            part {
18839                name:           "event";
18840                type:           RECT;
18841                repeat_events: 1;
18842                description {
18843                    state: "default" 0.0;
18844                    color: 0 0 0 0;
18845                }
18846            }
18847            part {
18848                name: "base_sh";
18849                mouse_events: 0;
18850                description {
18851                    state: "default" 0.0;
18852                    align: 0.0 0.0;
18853                    min: 0 10;
18854                    fixed: 1 1;
18855                    rel1 {
18856                        to: "base";
18857                        relative: 0.0 1.0;
18858                        offset: 0 0;
18859                    }
18860                    rel2 {
18861                        to: "base";
18862                        relative: 1.0 1.0;
18863                        offset: -1 0;
18864                    }
18865                    image {
18866                        normal: "ilist_item_shadow.png";
18867                    }
18868                    fill.smooth: 0;
18869                }
18870            }
18871            part {
18872                name: "base";
18873                mouse_events: 0;
18874                description {
18875                    state: "default" 0.0;
18876                    min: 16 28;
18877                    image {
18878                        normal: "ilist_1.png";
18879                        border: 2 2 2 2;
18880                    }
18881                    fill.smooth: 0;
18882                }
18883            }
18884            part { name: "bg";
18885                clip_to: "disclip";
18886                mouse_events: 0;
18887                description { state: "default" 0.0;
18888                    visible: 0;
18889                    color: 255 255 255 0;
18890                    rel1 {
18891                        relative: 0.0 0.0;
18892                        offset: -5 -5;
18893                    }
18894                    rel2 {
18895                        relative: 1.0 1.0;
18896                        offset: 4 4;
18897                    }
18898                    image {
18899                        normal: "bt_sm_base1.png";
18900                        border: 6 6 6 6;
18901                    }
18902                    image.middle: SOLID;
18903                }
18904                description { state: "selected" 0.0;
18905                    inherit: "default" 0.0;
18906                    visible: 1;
18907                    color: 255 255 255 255;
18908                    rel1 {
18909                        relative: 0.0 0.0;
18910                        offset: -2 -2;
18911                    }
18912                    rel2 {
18913                        relative: 1.0 1.0;
18914                        offset: 1 1;
18915                    }
18916                }
18917            }
18918            part { name: "elm.swallow.pad";
18919                type: SWALLOW;
18920                description { state: "default" 0.0;
18921                    fixed: 1 0;
18922                    align: 0.0 0.5;
18923                    rel1 {
18924                        relative: 0.0  0.0;
18925                        offset:   4    4;
18926                    }
18927                    rel2 {
18928                        relative: 0.0  1.0;
18929                        offset:   4   -5;
18930                    }
18931                }
18932            }
18933            part { name: "elm.swallow.icon";
18934                clip_to: "disclip";
18935                type: SWALLOW;
18936                description { state: "default" 0.0;
18937                    fixed: 1 0;
18938                    align: 0.0 0.5;
18939                    rel1 {
18940                        to_x: "elm.swallow.pad";
18941                        relative: 1.0  0.0;
18942                        offset:   -1    4;
18943                    }
18944                    rel2 {
18945                        to_x: "elm.swallow.pad";
18946                        relative: 1.0  1.0;
18947                        offset:   -1   -5;
18948                    }
18949                }
18950            }
18951            part { name: "elm.swallow.end";
18952                clip_to: "disclip";
18953                type: SWALLOW;
18954                description { state: "default" 0.0;
18955                    fixed: 1 0;
18956                    align: 1.0 0.5;
18957                    aspect: 1.0 1.0;
18958                    aspect_preference: VERTICAL;
18959                    rel1 {
18960                        relative: 1.0  0.0;
18961                        offset:   -5    4;
18962                    }
18963                    rel2 {
18964                        relative: 1.0  1.0;
18965                        offset:   -5   -5;
18966                    }
18967                }
18968            }
18969            part { name: "elm.text";
18970                clip_to: "disclip";
18971                type: TEXTBLOCK;
18972                mouse_events: 0;
18973                scale: 1;
18974                description {
18975                    state: "default" 0.0;
18976                    align: 0.0 0.5;
18977                    fixed: 0 1;
18978                    rel1 {
18979                        to_x: "elm.swallow.icon";
18980                        to_y: "base";
18981                        relative: 1.0  0.5;
18982                        offset:   0 4;
18983                    }
18984                    rel2 {
18985                        to_x: "elm.swallow.end";
18986                        to_y: "base";
18987                        relative: 0.0  0.5;
18988                        offset:   -1 -5;
18989                    }
18990                    text {
18991                        style: "genlist_style";
18992                        min: 1 1;
18993                    }
18994                }
18995                description { state: "selected" 0.0;
18996                    inherit: "default" 0.0;
18997                    text {
18998                        style: "genlist_selected_style";
18999                    }
19000                }
19001            }
19002            part { name: "fg1";
19003                clip_to: "disclip";
19004                mouse_events: 0;
19005                description { state: "default" 0.0;
19006                    visible: 0;
19007                    color: 255 255 255 0;
19008                    rel1.to: "bg";
19009                    rel2.relative: 1.0 0.5;
19010                    rel2.to: "bg";
19011                    image {
19012                        normal: "bt_sm_hilight.png";
19013                        border: 6 6 6 0;
19014                    }
19015                }
19016                description { state: "selected" 0.0;
19017                    inherit: "default" 0.0;
19018                    visible: 1;
19019                    color: 255 255 255 255;
19020                }
19021            }
19022            part { name: "fg2";
19023                clip_to: "disclip";
19024                mouse_events: 0;
19025                description { state: "default" 0.0;
19026                    visible: 0;
19027                    color: 255 255 255 0;
19028                    rel1.to: "bg";
19029                    rel2.to: "bg";
19030                    image {
19031                        normal: "bt_sm_shine.png";
19032                        border: 6 6 6 0;
19033                    }
19034                }
19035                description { state: "selected" 0.0;
19036                    inherit: "default" 0.0;
19037                    visible: 1;
19038                    color: 255 255 255 255;
19039                }
19040            }
19041            part { name: "disclip";
19042                type: RECT;
19043                description { state: "default" 0.0;
19044                    rel1.to: "bg";
19045                    rel2.to: "bg";
19046                }
19047                description { state: "disabled" 0.0;
19048                    inherit: "default" 0.0;
19049                    color: 255 255 255 64;
19050                }
19051            }
19052        }
19053        programs {
19054            // signal: elm,state,%s,active
19055            //   a "check" item named %s went active
19056            // signal: elm,state,%s,passive
19057            //   a "check" item named %s went passive
19058            // default is passive
19059            program {
19060                name:    "go_active";
19061                signal:  "elm,state,selected";
19062                source:  "elm";
19063                action:  STATE_SET "selected" 0.0;
19064                target:  "bg";
19065                target:  "fg1";
19066                target:  "fg2";
19067                target:  "elm.text";
19068            }
19069            program {
19070                name:    "go_passive";
19071                signal:  "elm,state,unselected";
19072                source:  "elm";
19073                action:  STATE_SET "default" 0.0;
19074                target:  "bg";
19075                target:  "fg1";
19076                target:  "fg2";
19077                target:  "elm.text";
19078                transition: LINEAR 0.1;
19079            }
19080            program {
19081                name:    "go_disabled";
19082                signal:  "elm,state,disabled";
19083                source:  "elm";
19084                action:  STATE_SET "disabled" 0.0;
19085                target:  "disclip";
19086            }
19087            program {
19088                name:    "go_enabled";
19089                signal:  "elm,state,enabled";
19090                source:  "elm";
19091                action:  STATE_SET "default" 0.0;
19092                target:  "disclip";
19093            }
19094        }
19095    }
19096    group { name: "elm/genlist/item_odd/default_style/default";
19097        data.item: "stacking" "below";
19098        data.item: "selectraise" "on";
19099        data.item: "labels" "elm.text";
19100        data.item: "icons" "elm.swallow.icon elm.swallow.end";
19101        data.item: "treesize" "20";
19102        images {
19103            image: "bt_sm_base1.png" COMP;
19104            image: "bt_sm_shine.png" COMP;
19105            image: "bt_sm_hilight.png" COMP;
19106            image: "ilist_2.png" COMP;
19107        }
19108        parts {
19109            part { name: "event";
19110                type: RECT;
19111                repeat_events: 1;
19112                description {
19113                    state: "default" 0.0;
19114                    color: 0 0 0 0;
19115                }
19116            }
19117            part {
19118                name: "base";
19119                mouse_events: 0;
19120                description {
19121                    state: "default" 0.0;
19122                    min: 16 28;
19123                    image {
19124                        normal: "ilist_2.png";
19125                        border: 2 2 2 2;
19126                    }
19127                    fill.smooth: 0;
19128                }
19129            }
19130            part { name: "bg";
19131                clip_to: "disclip";
19132                mouse_events: 0;
19133                description { state: "default" 0.0;
19134                    visible: 0;
19135                    color: 255 255 255 0;
19136                    rel1 {
19137                        relative: 0.0 0.0;
19138                        offset: -5 -5;
19139                    }
19140                    rel2 {
19141                        relative: 1.0 1.0;
19142                        offset: 4 4;
19143                    }
19144                    image {
19145                        normal: "bt_sm_base1.png";
19146                        border: 6 6 6 6;
19147                    }
19148                    image.middle: SOLID;
19149                }
19150                description { state: "selected" 0.0;
19151                    inherit: "default" 0.0;
19152                    visible: 1;
19153                    color: 255 255 255 255;
19154                    rel1 {
19155                        relative: 0.0 0.0;
19156                        offset: -2 -2;
19157                    }
19158                    rel2 {
19159                        relative: 1.0 1.0;
19160                        offset: 1 1;
19161                    }
19162                }
19163            }
19164            part { name: "elm.swallow.pad";
19165                type: SWALLOW;
19166                description { state: "default" 0.0;
19167                    fixed: 1 0;
19168                    align: 0.0 0.5;
19169                    rel1 {
19170                        relative: 0.0  0.0;
19171                        offset:   4    4;
19172                    }
19173                    rel2 {
19174                        relative: 0.0  1.0;
19175                        offset:   4   -5;
19176                    }
19177                }
19178            }
19179            part { name: "elm.swallow.icon";
19180                clip_to: "disclip";
19181                type: SWALLOW;
19182                description { state: "default" 0.0;
19183                    fixed: 1 0;
19184                    align: 0.0 0.5;
19185                    rel1 {
19186                        to_x: "elm.swallow.pad";
19187                        relative: 1.0  0.0;
19188                        offset:   -1    4;
19189                    }
19190                    rel2 {
19191                        to_x: "elm.swallow.pad";
19192                        relative: 1.0  1.0;
19193                        offset:   -1   -5;
19194                    }
19195                }
19196            }
19197            part { name: "elm.swallow.end";
19198                clip_to: "disclip";
19199                type:          SWALLOW;
19200                description { state:    "default" 0.0;
19201                    fixed: 1 0;
19202                    align:    1.0 0.5;
19203                    aspect: 1.0 1.0;
19204                    aspect_preference: VERTICAL;
19205                    rel1 {
19206                        relative: 1.0  0.0;
19207                        offset:   -5    4;
19208                    }
19209                    rel2 {
19210                        relative: 1.0  1.0;
19211                        offset:   -5   -5;
19212                    }
19213                }
19214            }
19215            part { name: "elm.text";
19216                clip_to: "disclip";
19217                type:           TEXTBLOCK;
19218                mouse_events:   0;
19219                scale: 1;
19220                description {
19221                    state: "default" 0.0;
19222                    align: 0.0 0.5;
19223                    fixed: 0 1;
19224                    rel1 {
19225                        to_x: "elm.swallow.icon";
19226                        to_y: "base";
19227                        relative: 1.0  0.5;
19228                        offset:   0 4;
19229                    }
19230                    rel2 {
19231                        to_x: "elm.swallow.end";
19232                        to_y: "base";
19233                        relative: 0.0  0.5;
19234                        offset:   -1 -5;
19235                    }
19236                    text {
19237                        style: "genlist_style";
19238                        min: 1 1;
19239                    }
19240                }
19241                description { state: "selected" 0.0;
19242                    inherit: "default" 0.0;
19243                    text {
19244                        style: "genlist_selected_style";
19245                    }
19246                }
19247            }
19248            part { name: "fg1";
19249                clip_to: "disclip";
19250                mouse_events: 0;
19251                description { state: "default" 0.0;
19252                    visible: 0;
19253                    color: 255 255 255 0;
19254                    rel1.to: "bg";
19255                    rel2.relative: 1.0 0.5;
19256                    rel2.to: "bg";
19257                    image {
19258                        normal: "bt_sm_hilight.png";
19259                        border: 6 6 6 0;
19260                    }
19261                }
19262                description { state: "selected" 0.0;
19263                    inherit: "default" 0.0;
19264                    visible: 1;
19265                    color: 255 255 255 255;
19266                }
19267            }
19268            part { name: "fg2";
19269                clip_to: "disclip";
19270                mouse_events: 0;
19271                description { state: "default" 0.0;
19272                    visible: 0;
19273                    color: 255 255 255 0;
19274                    rel1.to: "bg";
19275                    rel2.to: "bg";
19276                    image {
19277                        normal: "bt_sm_shine.png";
19278                        border: 6 6 6 0;
19279                    }
19280                }
19281                description { state: "selected" 0.0;
19282                    inherit: "default" 0.0;
19283                    visible: 1;
19284                    color: 255 255 255 255;
19285                }
19286            }
19287            part { name: "disclip";
19288                type: RECT;
19289                description { state: "default" 0.0;
19290                    rel1.to: "bg";
19291                    rel2.to: "bg";
19292                }
19293                description { state: "disabled" 0.0;
19294                    inherit: "default" 0.0;
19295                    color: 255 255 255 64;
19296                }
19297            }
19298        }
19299        programs {
19300            // signal: elm,state,%s,active
19301            //   a "check" item named %s went active
19302            // signal: elm,state,%s,passive
19303            //   a "check" item named %s went passive
19304            // default is passive
19305            program {
19306                name:    "go_active";
19307                signal:  "elm,state,selected";
19308                source:  "elm";
19309                action:  STATE_SET "selected" 0.0;
19310                target:  "bg";
19311                target:  "fg1";
19312                target:  "fg2";
19313                target:  "elm.text";
19314            }
19315            program {
19316                name:    "go_passive";
19317                signal:  "elm,state,unselected";
19318                source:  "elm";
19319                action:  STATE_SET "default" 0.0;
19320                target:  "bg";
19321                target:  "fg1";
19322                target:  "fg2";
19323                target:  "elm.text";
19324                transition: LINEAR 0.1;
19325            }
19326            program {
19327                name:    "go_disabled";
19328                signal:  "elm,state,disabled";
19329                source:  "elm";
19330                action:  STATE_SET "disabled" 0.0;
19331                target:  "disclip";
19332            }
19333            program {
19334                name:    "go_enabled";
19335                signal:  "elm,state,enabled";
19336                source:  "elm";
19337                action:  STATE_SET "default" 0.0;
19338                target:  "disclip";
19339            }
19340        }
19341    }
19342
19343    group { name: "elm/genlist/tree/default_style/default";
19344        data.item: "stacking" "above";
19345        data.item: "selectraise" "on";
19346        data.item: "labels" "elm.text";
19347        data.item: "icons" "elm.swallow.icon elm.swallow.end";
19348        data.item: "treesize" "20";
19349        images {
19350            image: "bt_sm_base1.png" COMP;
19351            image: "bt_sm_shine.png" COMP;
19352            image: "bt_sm_hilight.png" COMP;
19353            image: "ilist_1.png" COMP;
19354            image: "ilist_item_shadow.png" COMP;
19355            image: "icon_arrow_right.png" COMP;
19356            image: "icon_arrow_down.png" COMP;
19357        }
19358        parts {
19359            part {
19360                name:           "event";
19361                type:           RECT;
19362                repeat_events: 1;
19363                description {
19364                    state: "default" 0.0;
19365                    color: 0 0 0 0;
19366                }
19367            }
19368            part {
19369                name: "base_sh";
19370                mouse_events: 0;
19371                description {
19372                    state: "default" 0.0;
19373                    align: 0.0 0.0;
19374                    min: 0 10;
19375                    fixed: 1 1;
19376                    rel1 {
19377                        to: "base";
19378                        relative: 0.0 1.0;
19379                        offset: 0 0;
19380                    }
19381                    rel2 {
19382                        to: "base";
19383                        relative: 1.0 1.0;
19384                        offset: -1 0;
19385                    }
19386                    image {
19387                        normal: "ilist_item_shadow.png";
19388                    }
19389                    fill.smooth: 0;
19390                }
19391            }
19392            part {
19393                name: "base";
19394                mouse_events: 0;
19395                description {
19396                    state: "default" 0.0;
19397                    min: 16 28;
19398                    image {
19399                        normal: "ilist_1.png";
19400                        border: 2 2 2 2;
19401                    }
19402                    fill.smooth: 0;
19403                }
19404            }
19405            part { name: "bg";
19406                clip_to: "disclip";
19407                mouse_events: 0;
19408                description { state: "default" 0.0;
19409                    visible: 0;
19410                    color: 255 255 255 0;
19411                    rel1 {
19412                        relative: 0.0 0.0;
19413                        offset: -5 -5;
19414                    }
19415                    rel2 {
19416                        relative: 1.0 1.0;
19417                        offset: 4 4;
19418                    }
19419                    image {
19420                        normal: "bt_sm_base1.png";
19421                        border: 6 6 6 6;
19422                    }
19423                    image.middle: SOLID;
19424                }
19425                description { state: "selected" 0.0;
19426                    inherit: "default" 0.0;
19427                    visible: 1;
19428                    color: 255 255 255 255;
19429                    rel1 {
19430                        relative: 0.0 0.0;
19431                        offset: -2 -2;
19432                    }
19433                    rel2 {
19434                        relative: 1.0 1.0;
19435                        offset: 1 1;
19436                    }
19437                }
19438            }
19439            part { name: "elm.swallow.pad";
19440                type: SWALLOW;
19441                description { state: "default" 0.0;
19442                    fixed: 1 0;
19443                    align: 0.0 0.5;
19444                    rel1 {
19445                        relative: 0.0  0.0;
19446                        offset:   4    4;
19447                    }
19448                    rel2 {
19449                        relative: 0.0  1.0;
19450                        offset:   4   -5;
19451                    }
19452                }
19453            }
19454            part { name: "arrow";
19455                clip_to: "disclip";
19456                ignore_flags: ON_HOLD;
19457                description { state: "default" 0.0;
19458                    fixed: 1 0;
19459                    align: 0.0 0.5;
19460                    aspect: 1.0 1.0;
19461                    rel1 {
19462                        to_x: "elm.swallow.pad";
19463                        relative: 1.0  0.0;
19464                        offset:   -1    4;
19465                    }
19466                    rel2 {
19467                        to_x: "elm.swallow.pad";
19468                        relative: 1.0  1.0;
19469                        offset:   -1   -5;
19470                    }
19471                    image.normal: "icon_arrow_right.png";
19472                }
19473                description { state: "active" 0.0;
19474                    inherit: "default" 0.0;
19475                    image.normal: "icon_arrow_down.png";
19476                }
19477            }
19478            part { name: "elm.swallow.icon";
19479                clip_to: "disclip";
19480                type: SWALLOW;
19481                description { state: "default" 0.0;
19482                    fixed: 1 0;
19483                    align: 0.0 0.5;
19484                    rel1 {
19485                        to_x: "arrow";
19486                        relative: 1.0  0.0;
19487                        offset:   4    4;
19488                    }
19489                    rel2 {
19490                        to_x: "arrow";
19491                        relative: 1.0  1.0;
19492                        offset:   4   -5;
19493                    }
19494                }
19495            }
19496            part { name: "elm.swallow.end";
19497                clip_to: "disclip";
19498                type: SWALLOW;
19499                description { state: "default" 0.0;
19500                    fixed: 1 0;
19501                    align: 1.0 0.5;
19502                    aspect: 1.0 1.0;
19503                    aspect_preference: VERTICAL;
19504                    rel1 {
19505                        relative: 1.0  0.0;
19506                        offset:   -5    4;
19507                    }
19508                    rel2 {
19509                        relative: 1.0  1.0;
19510                        offset:   -5   -5;
19511                    }
19512                }
19513            }
19514            part { name: "elm.text";
19515                clip_to: "disclip";
19516                type:           TEXTBLOCK;
19517                effect:         SOFT_SHADOW;
19518                mouse_events:   0;
19519                scale: 1;
19520                description {
19521                    state: "default" 0.0;
19522                    align: 0.0 0.5;
19523                    fixed: 0 1;
19524                    rel1 {
19525                        to_x:     "elm.swallow.icon";
19526                        to_y: "base";
19527                        relative: 1.0  0.5;
19528                        offset:   0 4;
19529                    }
19530                    rel2 {
19531                        to_x:     "elm.swallow.end";
19532                        to_y: "base";
19533                        relative: 0.0  0.5;
19534                        offset:   -1 -5;
19535                    }
19536                    text {
19537                        style: "genlist_style";
19538                        min: 1 1;
19539                    }
19540                }
19541                description { state: "selected" 0.0;
19542                    inherit: "default" 0.0;
19543                    text {
19544                        style: "genlist_selected_style";
19545                    }
19546                }
19547            }
19548            part { name: "fg1";
19549                clip_to: "disclip";
19550                mouse_events: 0;
19551                description { state: "default" 0.0;
19552                    visible: 0;
19553                    color: 255 255 255 0;
19554                    rel1.to: "bg";
19555                    rel2.relative: 1.0 0.5;
19556                    rel2.to: "bg";
19557                    image {
19558                        normal: "bt_sm_hilight.png";
19559                        border: 6 6 6 0;
19560                    }
19561                }
19562                description { state: "selected" 0.0;
19563                    inherit: "default" 0.0;
19564                    visible: 1;
19565                    color: 255 255 255 255;
19566                }
19567            }
19568            part { name: "fg2";
19569                clip_to: "disclip";
19570                mouse_events: 0;
19571                description { state: "default" 0.0;
19572                    visible: 0;
19573                    color: 255 255 255 0;
19574                    rel1.to: "bg";
19575                    rel2.to: "bg";
19576                    image {
19577                        normal: "bt_sm_shine.png";
19578                        border: 6 6 6 0;
19579                    }
19580                }
19581                description { state: "selected" 0.0;
19582                    inherit: "default" 0.0;
19583                    visible: 1;
19584                    color: 255 255 255 255;
19585                }
19586            }
19587            part { name: "disclip";
19588                type: RECT;
19589                description { state: "default" 0.0;
19590                    rel1.to: "bg";
19591                    rel2.to: "bg";
19592                }
19593                description { state: "disabled" 0.0;
19594                    inherit: "default" 0.0;
19595                    color: 255 255 255 64;
19596                }
19597            }
19598        }
19599        programs {
19600            // signal: elm,state,%s,active
19601            //   a "check" item named %s went active
19602            // signal: elm,state,%s,passive
19603            //   a "check" item named %s went passive
19604            // default is passive
19605            program {
19606                name:    "go_active";
19607                signal:  "elm,state,selected";
19608                source:  "elm";
19609                action:  STATE_SET "selected" 0.0;
19610                target:  "bg";
19611                target:  "fg1";
19612                target:  "fg2";
19613                target:  "elm.text";
19614            }
19615            program {
19616                name:    "go_passive";
19617                signal:  "elm,state,unselected";
19618                source:  "elm";
19619                action:  STATE_SET "default" 0.0;
19620                target:  "bg";
19621                target:  "fg1";
19622                target:  "fg2";
19623                target:  "elm.text";
19624                transition: LINEAR 0.1;
19625            }
19626            program {
19627                name:    "go_disabled";
19628                signal:  "elm,state,disabled";
19629                source:  "elm";
19630                action:  STATE_SET "disabled" 0.0;
19631                target:  "disclip";
19632            }
19633            program {
19634                name:    "go_enabled";
19635                signal:  "elm,state,enabled";
19636                source:  "elm";
19637                action:  STATE_SET "default" 0.0;
19638                target:  "disclip";
19639            }
19640            program {
19641                name:    "expand";
19642                signal:  "mouse,up,1";
19643                source:  "arrow";
19644                action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
19645            }
19646            program {
19647                name:    "go_expanded";
19648                signal:  "elm,state,expanded";
19649                source:  "elm";
19650                action:  STATE_SET "active" 0.0;
19651                target:  "arrow";
19652            }
19653            program {
19654                name:    "go_contracted";
19655                signal:  "elm,state,contracted";
19656                source:  "elm";
19657                action:  STATE_SET "default" 0.0;
19658                target:  "arrow";
19659            }
19660        }
19661    }
19662    group { name: "elm/genlist/tree_odd/default_style/default";
19663        data.item: "stacking" "below";
19664        data.item: "selectraise" "on";
19665        data.item: "labels" "elm.text";
19666        data.item: "icons" "elm.swallow.icon elm.swallow.end";
19667        data.item: "treesize" "20";
19668        images {
19669            image: "bt_sm_base1.png" COMP;
19670            image: "bt_sm_shine.png" COMP;
19671            image: "bt_sm_hilight.png" COMP;
19672            image: "ilist_2.png" COMP;
19673            image: "icon_arrow_right.png" COMP;
19674            image: "icon_arrow_down.png" COMP;
19675        }
19676        parts {
19677            part {
19678                name:           "event";
19679                type:           RECT;
19680                repeat_events: 1;
19681                description {
19682                    state: "default" 0.0;
19683                    color: 0 0 0 0;
19684                }
19685            }
19686            part {
19687                name: "base";
19688                mouse_events: 0;
19689                description {
19690                    state: "default" 0.0;
19691                    min: 16 28;
19692                    image {
19693                        normal: "ilist_2.png";
19694                        border: 2 2 2 2;
19695                    }
19696                    fill.smooth: 0;
19697                }
19698            }
19699            part { name: "bg";
19700                clip_to: "disclip";
19701                mouse_events: 0;
19702                description { state: "default" 0.0;
19703                    visible: 0;
19704                    color: 255 255 255 0;
19705                    rel1 {
19706                        relative: 0.0 0.0;
19707                        offset: -5 -5;
19708                    }
19709                    rel2 {
19710                        relative: 1.0 1.0;
19711                        offset: 4 4;
19712                    }
19713                    image {
19714                        normal: "bt_sm_base1.png";
19715                        border: 6 6 6 6;
19716                    }
19717                    image.middle: SOLID;
19718                }
19719                description { state: "selected" 0.0;
19720                    inherit: "default" 0.0;
19721                    visible: 1;
19722                    color: 255 255 255 255;
19723                    rel1 {
19724                        relative: 0.0 0.0;
19725                        offset: -2 -2;
19726                    }
19727                    rel2 {
19728                        relative: 1.0 1.0;
19729                        offset: 1 1;
19730                    }
19731                }
19732            }
19733            part { name: "elm.swallow.pad";
19734                type: SWALLOW;
19735                description { state: "default" 0.0;
19736                    fixed: 1 0;
19737                    align: 0.0 0.5;
19738                    rel1 {
19739                        relative: 0.0  0.0;
19740                        offset:   4    4;
19741                    }
19742                    rel2 {
19743                        relative: 0.0  1.0;
19744                        offset:   4   -5;
19745                    }
19746                }
19747            }
19748            part { name: "arrow";
19749                clip_to: "disclip";
19750                ignore_flags: ON_HOLD;
19751                description { state: "default" 0.0;
19752                    fixed: 1 0;
19753                    align: 0.0 0.5;
19754                    aspect: 1.0 1.0;
19755                    rel1 {
19756                        to_x: "elm.swallow.pad";
19757                        relative: 1.0  0.0;
19758                        offset:   -1    4;
19759                    }
19760                    rel2 {
19761                        to_x: "elm.swallow.pad";
19762                        relative: 1.0  1.0;
19763                        offset:   -1   -5;
19764                    }
19765                    image.normal: "icon_arrow_right.png";
19766                }
19767                description { state: "active" 0.0;
19768                    inherit: "default" 0.0;
19769                    image.normal: "icon_arrow_down.png";
19770                }
19771            }
19772            part { name: "elm.swallow.icon";
19773                clip_to: "disclip";
19774                type: SWALLOW;
19775                description { state: "default" 0.0;
19776                    fixed: 1 0;
19777                    align: 0.0 0.5;
19778                    rel1 {
19779                        to_x: "arrow";
19780                        relative: 1.0  0.0;
19781                        offset:   4    4;
19782                    }
19783                    rel2 {
19784                        to_x: "arrow";
19785                        relative: 1.0  1.0;
19786                        offset:   4   -5;
19787                    }
19788                }
19789            }
19790            part { name: "elm.swallow.end";
19791                clip_to: "disclip";
19792                type: SWALLOW;
19793                description { state: "default" 0.0;
19794                    fixed: 1 0;
19795                    align: 1.0 0.5;
19796                    aspect: 1.0 1.0;
19797                    aspect_preference: VERTICAL;
19798                    rel1 {
19799                        relative: 1.0  0.0;
19800                        offset:   -5    4;
19801                    }
19802                    rel2 {
19803                        relative: 1.0  1.0;
19804                        offset:   -5   -5;
19805                    }
19806                }
19807            }
19808            part { name: "elm.text";
19809                clip_to: "disclip";
19810                type:           TEXTBLOCK;
19811                effect:         SOFT_SHADOW;
19812                mouse_events:   0;
19813                scale: 1;
19814                description {
19815                    state: "default" 0.0;
19816                    align: 0.0 0.5;
19817                    fixed: 0 1;
19818                    rel1 {
19819                        to_x:     "elm.swallow.icon";
19820                        to_y: "base";
19821                        relative: 1.0  0.5;
19822                        offset:   0 4;
19823                    }
19824                    rel2 {
19825                        to_x:     "elm.swallow.end";
19826                        to_y: "base";
19827                        relative: 0.0  0.5;
19828                        offset:   -1 -5;
19829                    }
19830                    text {
19831                        style: "genlist_style";
19832                        min: 1 1;
19833                    }
19834                }
19835                description { state: "selected" 0.0;
19836                    inherit: "default" 0.0;
19837                    text {
19838                        style: "genlist_selected_style";
19839                    }
19840                }
19841            }
19842            part { name: "fg1";
19843                clip_to: "disclip";
19844                mouse_events: 0;
19845                description { state: "default" 0.0;
19846                    visible: 0;
19847                    color: 255 255 255 0;
19848                    rel1.to: "bg";
19849                    rel2.relative: 1.0 0.5;
19850                    rel2.to: "bg";
19851                    image {
19852                        normal: "bt_sm_hilight.png";
19853                        border: 6 6 6 0;
19854                    }
19855                }
19856                description { state: "selected" 0.0;
19857                    inherit: "default" 0.0;
19858                    visible: 1;
19859                    color: 255 255 255 255;
19860                }
19861            }
19862            part { name: "fg2";
19863                clip_to: "disclip";
19864                mouse_events: 0;
19865                description { state: "default" 0.0;
19866                    visible: 0;
19867                    color: 255 255 255 0;
19868                    rel1.to: "bg";
19869                    rel2.to: "bg";
19870                    image {
19871                        normal: "bt_sm_shine.png";
19872                        border: 6 6 6 0;
19873                    }
19874                }
19875                description { state: "selected" 0.0;
19876                    inherit: "default" 0.0;
19877                    visible: 1;
19878                    color: 255 255 255 255;
19879                }
19880            }
19881            part { name: "disclip";
19882                type: RECT;
19883                description { state: "default" 0.0;
19884                    rel1.to: "bg";
19885                    rel2.to: "bg";
19886                }
19887                description { state: "disabled" 0.0;
19888                    inherit: "default" 0.0;
19889                    color: 255 255 255 64;
19890                }
19891            }
19892        }
19893        programs {
19894            // signal: elm,state,%s,active
19895            //   a "check" item named %s went active
19896            // signal: elm,state,%s,passive
19897            //   a "check" item named %s went passive
19898            // default is passive
19899            program {
19900                name:    "go_active";
19901                signal:  "elm,state,selected";
19902                source:  "elm";
19903                action:  STATE_SET "selected" 0.0;
19904                target:  "bg";
19905                target:  "fg1";
19906                target:  "fg2";
19907                target:  "elm.text";
19908            }
19909            program {
19910                name:    "go_passive";
19911                signal:  "elm,state,unselected";
19912                source:  "elm";
19913                action:  STATE_SET "default" 0.0;
19914                target:  "bg";
19915                target:  "fg1";
19916                target:  "fg2";
19917                target:  "elm.text";
19918                transition: LINEAR 0.1;
19919            }
19920            program {
19921                name:    "go_disabled";
19922                signal:  "elm,state,disabled";
19923                source:  "elm";
19924                action:  STATE_SET "disabled" 0.0;
19925                target:  "disclip";
19926            }
19927            program {
19928                name:    "go_enabled";
19929                signal:  "elm,state,enabled";
19930                source:  "elm";
19931                action:  STATE_SET "default" 0.0;
19932                target:  "disclip";
19933            }
19934            program {
19935                name:    "expand";
19936                signal:  "mouse,up,1";
19937                source:  "arrow";
19938                action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
19939            }
19940            program {
19941                name:    "go_expanded";
19942                signal:  "elm,state,expanded";
19943                source:  "elm";
19944                action:  STATE_SET "active" 0.0;
19945                target:  "arrow";
19946            }
19947            program {
19948                name:    "go_contracted";
19949                signal:  "elm,state,contracted";
19950                source:  "elm";
19951                action:  STATE_SET "default" 0.0;
19952                target:  "arrow";
19953            }
19954        }
19955    }
19956
19957
19958    group { name: "elm/genlist/item/double_label/default";
19959       data.item: "stacking" "above";
19960       data.item: "selectraise" "on";
19961       data.item: "labels" "elm.text elm.text.sub";
19962       data.item: "icons" "elm.swallow.icon elm.swallow.end";
19963       data.item: "treesize" "20";
19964 //      data.item: "states" "";
19965       images {
19966          image: "bt_sm_base1.png" COMP;
19967          image: "bt_sm_shine.png" COMP;
19968          image: "bt_sm_hilight.png" COMP;
19969          image: "ilist_1.png" COMP;
19970          image: "ilist_item_shadow.png" COMP;
19971       }
19972       parts {
19973          part {
19974             name:           "event";
19975             type:           RECT;
19976             repeat_events: 1;
19977             description {
19978                state: "default" 0.0;
19979                color: 0 0 0 0;
19980             }
19981          }
19982          part {
19983             name: "base_sh";
19984             mouse_events: 0;
19985             description {
19986                state: "default" 0.0;
19987                align: 0.0 0.0;
19988                min: 0 10;
19989                fixed: 1 1;
19990                rel1 {
19991                   to: "base";
19992                   relative: 0.0 1.0;
19993                   offset: 0 0;
19994                }
19995                rel2 {
19996                   to: "base";
19997                   relative: 1.0 1.0;
19998                   offset: -1 0;
19999                }
20000                image {
20001                   normal: "ilist_item_shadow.png";
20002                }
20003                fill.smooth: 0;
20004             }
20005          }
20006          part {
20007             name: "base";
20008             mouse_events: 0;
20009             description {
20010                state: "default" 0.0;
20011                image {
20012                   normal: "ilist_1.png";
20013                   border: 2 2 2 2;
20014                }
20015                fill.smooth: 0;
20016             }
20017          }
20018          part { name: "bg";
20019             clip_to: "disclip";
20020             mouse_events: 0;
20021             description { state: "default" 0.0;
20022                visible: 0;
20023                color: 255 255 255 0;
20024                rel1 {
20025                   relative: 0.0 0.0;
20026                   offset: -5 -5;
20027                }
20028                rel2 {
20029                   relative: 1.0 1.0;
20030                   offset: 4 4;
20031                }
20032                image {
20033                   normal: "bt_sm_base1.png";
20034                   border: 6 6 6 6;
20035                }
20036                image.middle: SOLID;
20037             }
20038             description { state: "selected" 0.0;
20039                inherit: "default" 0.0;
20040                visible: 1;
20041                color: 255 255 255 255;
20042                rel1 {
20043                   relative: 0.0 0.0;
20044                   offset: -2 -2;
20045                }
20046                rel2 {
20047                   relative: 1.0 1.0;
20048                   offset: 1 1;
20049                }
20050             }
20051          }
20052          part { name: "elm.swallow.pad";
20053             type: SWALLOW;
20054             description { state: "default" 0.0;
20055                fixed: 1 0;
20056                align: 0.0 0.5;
20057                rel1 {
20058                   relative: 0.0  0.0;
20059                   offset:   4    4;
20060                }
20061                rel2 {
20062                   relative: 0.0  1.0;
20063                   offset:   4   -5;
20064                }
20065             }
20066          }
20067          part { name: "elm.swallow.icon";
20068             clip_to: "disclip";
20069             type: SWALLOW;
20070             description { state: "default" 0.0;
20071                fixed: 1 0;
20072                align: 0.0 0.5;
20073                rel1 {
20074                   to_x: "elm.swallow.pad";
20075                   relative: 1.0  0.0;
20076                   offset:   -1    4;
20077                }
20078                rel2 {
20079                   to_x: "elm.swallow.pad";
20080                   relative: 1.0  1.0;
20081                   offset:   -1   -5;
20082                }
20083             }
20084          }
20085          part { name: "elm.swallow.end";
20086             clip_to: "disclip";
20087             type: SWALLOW;
20088             description { state: "default" 0.0;
20089                fixed: 1 0;
20090                align: 1.0 0.5;
20091                aspect: 1.0 1.0;
20092                aspect_preference: VERTICAL;
20093                rel1 {
20094                   relative: 1.0  0.0;
20095                   offset:   -5    4;
20096                }
20097                rel2 {
20098                   relative: 1.0  1.0;
20099                   offset:   -5   -5;
20100                }
20101             }
20102          }
20103          part { name: "elm.text";
20104             clip_to: "disclip";
20105             type:           TEXT;
20106             effect:         SOFT_SHADOW;
20107             mouse_events:   0;
20108             scale: 1;
20109             description {
20110                state: "default" 0.0;
20111 //               min: 16 16;
20112                rel1 {
20113                   to_x:     "elm.swallow.icon";
20114                   relative: 1.0  0.0;
20115                   offset:   0 4;
20116                }
20117                rel2 {
20118                   to_x:     "elm.swallow.end";
20119                   relative: 0.0  0.5;
20120                   offset:   -1 -5;
20121                }
20122                color: 0 0 0 255;
20123                color3: 0 0 0 0;
20124                text {
20125                   font: "Sans";
20126                   size: 10;
20127                   min: 1 1;
20128 //                  min: 0 1;
20129                   align: 0.0 0.5;
20130                   text_class: "list_item";
20131                }
20132             }
20133             description { state: "selected" 0.0;
20134                inherit: "default" 0.0;
20135                color: 224 224 224 255;
20136                color3: 0 0 0 64;
20137             }
20138          }
20139          part { name: "elm.text.sub";
20140             clip_to: "disclip";
20141             type:           TEXT;
20142             mouse_events:   0;
20143             scale: 1;
20144             description {
20145                state: "default" 0.0;
20146 //               min: 16 16;
20147                rel1 {
20148                   to_x:     "elm.swallow.icon";
20149                   relative: 1.0  0.5;
20150                   offset:   0 4;
20151                }
20152                rel2 {
20153                   to_x:     "elm.swallow.end";
20154                   relative: 0.0  1.0;
20155                   offset:   -1 -5;
20156                }
20157                color: 0 0 0 128;
20158                color3: 0 0 0 0;
20159                text {
20160                   font: "Sans";
20161                   size: 8;
20162                   min: 1 1;
20163 //                  min: 0 1;
20164                   align: 0.0 0.5;
20165                   text_class: "list_item";
20166                }
20167             }
20168             description { state: "selected" 0.0;
20169                inherit: "default" 0.0;
20170                color: 128 128 128 255;
20171                color3: 0 0 0 32;
20172             }
20173          }
20174          part { name: "fg1";
20175             clip_to: "disclip";
20176             mouse_events: 0;
20177             description { state: "default" 0.0;
20178                visible: 0;
20179                color: 255 255 255 0;
20180                rel1.to: "bg";
20181                rel2.relative: 1.0 0.5;
20182                rel2.to: "bg";
20183                image {
20184                   normal: "bt_sm_hilight.png";
20185                   border: 6 6 6 0;
20186                }
20187             }
20188             description { state: "selected" 0.0;
20189                inherit: "default" 0.0;
20190                visible: 1;
20191                color: 255 255 255 255;
20192             }
20193          }
20194          part { name: "fg2";
20195             clip_to: "disclip";
20196             mouse_events: 0;
20197             description { state: "default" 0.0;
20198                visible: 0;
20199                color: 255 255 255 0;
20200                rel1.to: "bg";
20201                rel2.to: "bg";
20202                image {
20203                   normal: "bt_sm_shine.png";
20204                   border: 6 6 6 0;
20205                }
20206             }
20207             description { state: "selected" 0.0;
20208                inherit: "default" 0.0;
20209                visible: 1;
20210                color: 255 255 255 255;
20211             }
20212          }
20213          part { name: "disclip";
20214             type: RECT;
20215             description { state: "default" 0.0;
20216                rel1.to: "bg";
20217                rel2.to: "bg";
20218             }
20219             description { state: "disabled" 0.0;
20220                inherit: "default" 0.0;
20221                color: 255 255 255 64;
20222             }
20223          }
20224       }
20225       programs {
20226          // signal: elm,state,%s,active
20227          //   a "check" item named %s went active
20228          // signal: elm,state,%s,passive
20229          //   a "check" item named %s went passive
20230          // default is passive
20231          program {
20232             name:    "go_active";
20233             signal:  "elm,state,selected";
20234             source:  "elm";
20235             action:  STATE_SET "selected" 0.0;
20236             target:  "bg";
20237             target:  "fg1";
20238             target:  "fg2";
20239             target:  "elm.text";
20240             target:  "elm.text.sub";
20241          }
20242          program {
20243             name:    "go_passive";
20244             signal:  "elm,state,unselected";
20245             source:  "elm";
20246             action:  STATE_SET "default" 0.0;
20247             target:  "bg";
20248             target:  "fg1";
20249             target:  "fg2";
20250             target:  "elm.text";
20251             target:  "elm.text.sub";
20252             transition: LINEAR 0.1;
20253          }
20254          program {
20255             name:    "go_disabled";
20256             signal:  "elm,state,disabled";
20257             source:  "elm";
20258             action:  STATE_SET "disabled" 0.0;
20259             target:  "disclip";
20260          }
20261          program {
20262             name:    "go_enabled";
20263             signal:  "elm,state,enabled";
20264             source:  "elm";
20265             action:  STATE_SET "default" 0.0;
20266             target:  "disclip";
20267          }
20268       }
20269    }
20270    group { name: "elm/genlist/item_compress/double_label/default";
20271       data.item: "stacking" "above";
20272       data.item: "selectraise" "on";
20273       data.item: "labels" "elm.text elm.text.sub";
20274       data.item: "icons" "elm.swallow.icon elm.swallow.end";
20275       data.item: "treesize" "20";
20276 //      data.item: "states" "";
20277       images {
20278          image: "bt_sm_base1.png" COMP;
20279          image: "bt_sm_shine.png" COMP;
20280          image: "bt_sm_hilight.png" COMP;
20281          image: "ilist_1.png" COMP;
20282          image: "ilist_item_shadow.png" COMP;
20283       }
20284       parts {
20285          part {
20286             name:           "event";
20287             type:           RECT;
20288             repeat_events: 1;
20289             description {
20290                state: "default" 0.0;
20291                color: 0 0 0 0;
20292             }
20293          }
20294          part {
20295             name: "base_sh";
20296             mouse_events: 0;
20297             description {
20298                state: "default" 0.0;
20299                align: 0.0 0.0;
20300                min: 0 10;
20301                fixed: 1 1;
20302                rel1 {
20303                   to: "base";
20304                   relative: 0.0 1.0;
20305                   offset: 0 0;
20306                }
20307                rel2 {
20308                   to: "base";
20309                   relative: 1.0 1.0;
20310                   offset: -1 0;
20311                }
20312                image {
20313                   normal: "ilist_item_shadow.png";
20314                }
20315                fill.smooth: 0;
20316             }
20317          }
20318          part {
20319             name: "base";
20320             mouse_events: 0;
20321             description {
20322                state: "default" 0.0;
20323                image {
20324                   normal: "ilist_1.png";
20325                   border: 2 2 2 2;
20326                }
20327                fill.smooth: 0;
20328             }
20329          }
20330          part { name: "bg";
20331             clip_to: "disclip";
20332             mouse_events: 0;
20333             description { state: "default" 0.0;
20334                visible: 0;
20335                color: 255 255 255 0;
20336                rel1 {
20337                   relative: 0.0 0.0;
20338                   offset: -5 -5;
20339                }
20340                rel2 {
20341                   relative: 1.0 1.0;
20342                   offset: 4 4;
20343                }
20344                image {
20345                   normal: "bt_sm_base1.png";
20346                   border: 6 6 6 6;
20347                }
20348                image.middle: SOLID;
20349             }
20350             description { state: "selected" 0.0;
20351                inherit: "default" 0.0;
20352                visible: 1;
20353                color: 255 255 255 255;
20354                rel1 {
20355                   relative: 0.0 0.0;
20356                   offset: -2 -2;
20357                }
20358                rel2 {
20359                   relative: 1.0 1.0;
20360                   offset: 1 1;
20361                }
20362             }
20363          }
20364          part { name: "elm.swallow.pad";
20365             type: SWALLOW;
20366             description { state: "default" 0.0;
20367                fixed: 1 0;
20368                align: 0.0 0.5;
20369                rel1 {
20370                   relative: 0.0  0.0;
20371                   offset:   4    4;
20372                }
20373                rel2 {
20374                   relative: 0.0  1.0;
20375                   offset:   4   -5;
20376                }
20377             }
20378          }
20379          part { name: "elm.swallow.icon";
20380             clip_to: "disclip";
20381             type: SWALLOW;
20382             description { state: "default" 0.0;
20383                fixed: 1 0;
20384                align: 0.0 0.5;
20385                rel1 {
20386                   to_x: "elm.swallow.pad";
20387                   relative: 1.0  0.0;
20388                   offset:   -1    4;
20389                }
20390                rel2 {
20391                   to_x: "elm.swallow.pad";
20392                   relative: 1.0  1.0;
20393                   offset:   -1   -5;
20394                }
20395             }
20396          }
20397          part { name: "elm.swallow.end";
20398             clip_to: "disclip";
20399             type: SWALLOW;
20400             description { state: "default" 0.0;
20401                fixed: 1 0;
20402                align: 1.0 0.5;
20403                aspect: 1.0 1.0;
20404                aspect_preference: VERTICAL;
20405                rel1 {
20406                   relative: 1.0  0.0;
20407                   offset:   -5    4;
20408                }
20409                rel2 {
20410                   relative: 1.0  1.0;
20411                   offset:   -5   -5;
20412                }
20413             }
20414          }
20415          part { name: "elm.text";
20416             clip_to: "disclip";
20417             type:           TEXT;
20418             effect:         SOFT_SHADOW;
20419             mouse_events:   0;
20420             scale: 1;
20421             description {
20422                state: "default" 0.0;
20423 //               min: 16 16;
20424                rel1 {
20425                   to_x:     "elm.swallow.icon";
20426                   relative: 1.0  0.0;
20427                   offset:   0 4;
20428                }
20429                rel2 {
20430                   to_x:     "elm.swallow.end";
20431                   relative: 0.0  0.5;
20432                   offset:   -1 -5;
20433                }
20434                color: 0 0 0 255;
20435                color3: 0 0 0 0;
20436                text {
20437                   font: "Sans";
20438                   size: 10;
20439 //                  min: 1 1;
20440                   min: 0 1;
20441                   align: 0.0 0.5;
20442                   text_class: "list_item";
20443                }
20444             }
20445             description { state: "selected" 0.0;
20446                inherit: "default" 0.0;
20447                color: 224 224 224 255;
20448                color3: 0 0 0 64;
20449             }
20450          }
20451          part { name: "elm.text.sub";
20452             clip_to: "disclip";
20453             type:           TEXT;
20454             mouse_events:   0;
20455             scale: 1;
20456             description {
20457                state: "default" 0.0;
20458 //               min: 16 16;
20459                rel1 {
20460                   to_x:     "elm.swallow.icon";
20461                   relative: 1.0  0.5;
20462                   offset:   0 4;
20463                }
20464                rel2 {
20465                   to_x:     "elm.swallow.end";
20466                   relative: 0.0  1.0;
20467                   offset:   -1 -5;
20468                }
20469                color: 0 0 0 128;
20470                color3: 0 0 0 0;
20471                text {
20472                   font: "Sans";
20473                   size: 8;
20474 //                  min: 1 1;
20475                   min: 0 1;
20476                   align: 0.0 0.5;
20477                   text_class: "list_item";
20478                }
20479             }
20480             description { state: "selected" 0.0;
20481                inherit: "default" 0.0;
20482                color: 128 128 128 255;
20483                color3: 0 0 0 32;
20484             }
20485          }
20486          part { name: "fg1";
20487             clip_to: "disclip";
20488             mouse_events: 0;
20489             description { state: "default" 0.0;
20490                visible: 0;
20491                color: 255 255 255 0;
20492                rel1.to: "bg";
20493                rel2.relative: 1.0 0.5;
20494                rel2.to: "bg";
20495                image {
20496                   normal: "bt_sm_hilight.png";
20497                   border: 6 6 6 0;
20498                }
20499             }
20500             description { state: "selected" 0.0;
20501                inherit: "default" 0.0;
20502                visible: 1;
20503                color: 255 255 255 255;
20504             }
20505          }
20506          part { name: "fg2";
20507             clip_to: "disclip";
20508             mouse_events: 0;
20509             description { state: "default" 0.0;
20510                visible: 0;
20511                color: 255 255 255 0;
20512                rel1.to: "bg";
20513                rel2.to: "bg";
20514                image {
20515                   normal: "bt_sm_shine.png";
20516                   border: 6 6 6 0;
20517                }
20518             }
20519             description { state: "selected" 0.0;
20520                inherit: "default" 0.0;
20521                visible: 1;
20522                color: 255 255 255 255;
20523             }
20524          }
20525          part { name: "disclip";
20526             type: RECT;
20527             description { state: "default" 0.0;
20528                rel1.to: "bg";
20529                rel2.to: "bg";
20530             }
20531             description { state: "disabled" 0.0;
20532                inherit: "default" 0.0;
20533                color: 255 255 255 64;
20534             }
20535          }
20536       }
20537       programs {
20538          // signal: elm,state,%s,active
20539          //   a "check" item named %s went active
20540          // signal: elm,state,%s,passive
20541          //   a "check" item named %s went passive
20542          // default is passive
20543          program {
20544             name:    "go_active";
20545             signal:  "elm,state,selected";
20546             source:  "elm";
20547             action:  STATE_SET "selected" 0.0;
20548             target:  "bg";
20549             target:  "fg1";
20550             target:  "fg2";
20551             target:  "elm.text";
20552             target:  "elm.text.sub";
20553          }
20554          program {
20555             name:    "go_passive";
20556             signal:  "elm,state,unselected";
20557             source:  "elm";
20558             action:  STATE_SET "default" 0.0;
20559             target:  "bg";
20560             target:  "fg1";
20561             target:  "fg2";
20562             target:  "elm.text";
20563             target:  "elm.text.sub";
20564             transition: LINEAR 0.1;
20565          }
20566          program {
20567             name:    "go_disabled";
20568             signal:  "elm,state,disabled";
20569             source:  "elm";
20570             action:  STATE_SET "disabled" 0.0;
20571             target:  "disclip";
20572          }
20573          program {
20574             name:    "go_enabled";
20575             signal:  "elm,state,enabled";
20576             source:  "elm";
20577             action:  STATE_SET "default" 0.0;
20578             target:  "disclip";
20579          }
20580       }
20581    }
20582    group { name: "elm/genlist/item_odd/double_label/default";
20583       data.item: "stacking" "below";
20584       data.item: "selectraise" "on";
20585       data.item: "labels" "elm.text elm.text.sub";
20586       data.item: "icons" "elm.swallow.icon elm.swallow.end";
20587       data.item: "treesize" "20";
20588 //      data.item: "states" "";
20589       images {
20590          image: "bt_sm_base1.png" COMP;
20591          image: "bt_sm_shine.png" COMP;
20592          image: "bt_sm_hilight.png" COMP;
20593          image: "ilist_2.png" COMP;
20594       }
20595       parts {
20596          part { name: "event";
20597             type: RECT;
20598             repeat_events: 1;
20599             description {
20600                state: "default" 0.0;
20601                color: 0 0 0 0;
20602             }
20603          }
20604          part {
20605             name: "base";
20606             mouse_events: 0;
20607             description {
20608                state: "default" 0.0;
20609                image {
20610                   normal: "ilist_2.png";
20611                   border: 2 2 2 2;
20612                }
20613                fill.smooth: 0;
20614             }
20615          }
20616          part { name: "bg";
20617             clip_to: "disclip";
20618             mouse_events: 0;
20619             description { state: "default" 0.0;
20620                visible: 0;
20621                color: 255 255 255 0;
20622                rel1 {
20623                   relative: 0.0 0.0;
20624                   offset: -5 -5;
20625                }
20626                rel2 {
20627                   relative: 1.0 1.0;
20628                   offset: 4 4;
20629                }
20630                image {
20631                   normal: "bt_sm_base1.png";
20632                   border: 6 6 6 6;
20633                }
20634                image.middle: SOLID;
20635             }
20636             description { state: "selected" 0.0;
20637                inherit: "default" 0.0;
20638                visible: 1;
20639                color: 255 255 255 255;
20640                rel1 {
20641                   relative: 0.0 0.0;
20642                   offset: -2 -2;
20643                }
20644                rel2 {
20645                   relative: 1.0 1.0;
20646                   offset: 1 1;
20647                }
20648             }
20649          }
20650          part { name: "elm.swallow.pad";
20651             type: SWALLOW;
20652             description { state: "default" 0.0;
20653                fixed: 1 0;
20654                align: 0.0 0.5;
20655                rel1 {
20656                   relative: 0.0  0.0;
20657                   offset:   4    4;
20658                }
20659                rel2 {
20660                   relative: 0.0  1.0;
20661                   offset:   4   -5;
20662                }
20663             }
20664          }
20665          part { name: "elm.swallow.icon";
20666             clip_to: "disclip";
20667             type: SWALLOW;
20668             description { state: "default" 0.0;
20669                fixed: 1 0;
20670                align: 0.0 0.5;
20671                rel1 {
20672                   to_x: "elm.swallow.pad";
20673                   relative: 1.0  0.0;
20674                   offset:   -1    4;
20675                }
20676                rel2 {
20677                   to_x: "elm.swallow.pad";
20678                   relative: 1.0  1.0;
20679                   offset:   -1   -5;
20680                }
20681             }
20682          }
20683          part { name: "elm.swallow.end";
20684             clip_to: "disclip";
20685             type:          SWALLOW;
20686             description { state:    "default" 0.0;
20687                fixed: 1 0;
20688                align:    1.0 0.5;
20689                aspect: 1.0 1.0;
20690                aspect_preference: VERTICAL;
20691                rel1 {
20692                   relative: 1.0  0.0;
20693                   offset:   -5    4;
20694                }
20695                rel2 {
20696                   relative: 1.0  1.0;
20697                   offset:   -5   -5;
20698                }
20699             }
20700          }
20701          part { name: "elm.text";
20702             clip_to: "disclip";
20703             type:           TEXT;
20704             effect:         SOFT_SHADOW;
20705             mouse_events:   0;
20706             scale: 1;
20707             description {
20708                state: "default" 0.0;
20709 //               min: 16 16;
20710                rel1 {
20711                   to_x:     "elm.swallow.icon";
20712                   relative: 1.0  0.0;
20713                   offset:   0 4;
20714                }
20715                rel2 {
20716                   to_x:     "elm.swallow.end";
20717                   relative: 0.0  0.5;
20718                   offset:   -1 -5;
20719                }
20720                color: 0 0 0 255;
20721                color3: 0 0 0 0;
20722                text {
20723                   font: "Sans";
20724                   size: 10;
20725                   min: 1 1;
20726 //                  min: 0 1;
20727                   align: 0.0 0.5;
20728                   text_class: "list_item";
20729                }
20730             }
20731             description { state: "selected" 0.0;
20732                inherit: "default" 0.0;
20733                color: 224 224 224 255;
20734                color3: 0 0 0 64;
20735             }
20736          }
20737          part { name: "elm.text.sub";
20738             clip_to: "disclip";
20739             type:           TEXT;
20740             mouse_events:   0;
20741             scale: 1;
20742             description {
20743                state: "default" 0.0;
20744 //               min: 16 16;
20745                rel1 {
20746                   to_x:     "elm.swallow.icon";
20747                   relative: 1.0  0.5;
20748                   offset:   0 4;
20749                }
20750                rel2 {
20751                   to_x:     "elm.swallow.end";
20752                   relative: 0.0  1.0;
20753                   offset:   -1 -5;
20754                }
20755                color: 0 0 0 128;
20756                color3: 0 0 0 0;
20757                text {
20758                   font: "Sans";
20759                   size: 8;
20760                   min: 1 1;
20761 //                  min: 0 1;
20762                   align: 0.0 0.5;
20763                   text_class: "list_item";
20764                }
20765             }
20766             description { state: "selected" 0.0;
20767                inherit: "default" 0.0;
20768                color: 128 128 128 255;
20769                color3: 0 0 0 32;
20770             }
20771          }
20772          part { name: "fg1";
20773             clip_to: "disclip";
20774             mouse_events: 0;
20775             description { state: "default" 0.0;
20776                visible: 0;
20777                color: 255 255 255 0;
20778                rel1.to: "bg";
20779                rel2.relative: 1.0 0.5;
20780                rel2.to: "bg";
20781                image {
20782                   normal: "bt_sm_hilight.png";
20783                   border: 6 6 6 0;
20784                }
20785             }
20786             description { state: "selected" 0.0;
20787                inherit: "default" 0.0;
20788                visible: 1;
20789                color: 255 255 255 255;
20790             }
20791          }
20792          part { name: "fg2";
20793             clip_to: "disclip";
20794             mouse_events: 0;
20795             description { state: "default" 0.0;
20796                visible: 0;
20797                color: 255 255 255 0;
20798                rel1.to: "bg";
20799                rel2.to: "bg";
20800                image {
20801                   normal: "bt_sm_shine.png";
20802                   border: 6 6 6 0;
20803                }
20804             }
20805             description { state: "selected" 0.0;
20806                inherit: "default" 0.0;
20807                visible: 1;
20808                color: 255 255 255 255;
20809             }
20810          }
20811          part { name: "disclip";
20812             type: RECT;
20813             description { state: "default" 0.0;
20814                rel1.to: "bg";
20815                rel2.to: "bg";
20816             }
20817             description { state: "disabled" 0.0;
20818                inherit: "default" 0.0;
20819                color: 255 255 255 64;
20820             }
20821          }
20822       }
20823       programs {
20824          // signal: elm,state,%s,active
20825          //   a "check" item named %s went active
20826          // signal: elm,state,%s,passive
20827          //   a "check" item named %s went passive
20828          // default is passive
20829          program {
20830             name:    "go_active";
20831             signal:  "elm,state,selected";
20832             source:  "elm";
20833             action:  STATE_SET "selected" 0.0;
20834             target:  "bg";
20835             target:  "fg1";
20836             target:  "fg2";
20837             target:  "elm.text";
20838             target:  "elm.text.sub";
20839          }
20840          program {
20841             name:    "go_passive";
20842             signal:  "elm,state,unselected";
20843             source:  "elm";
20844             action:  STATE_SET "default" 0.0;
20845             target:  "bg";
20846             target:  "fg1";
20847             target:  "fg2";
20848             target:  "elm.text";
20849             target:  "elm.text.sub";
20850             transition: LINEAR 0.1;
20851          }
20852          program {
20853             name:    "go_disabled";
20854             signal:  "elm,state,disabled";
20855             source:  "elm";
20856             action:  STATE_SET "disabled" 0.0;
20857             target:  "disclip";
20858          }
20859          program {
20860             name:    "go_enabled";
20861             signal:  "elm,state,enabled";
20862             source:  "elm";
20863             action:  STATE_SET "default" 0.0;
20864             target:  "disclip";
20865          }
20866       }
20867    }
20868    group { name: "elm/genlist/item_compress_odd/double_label/default";
20869       data.item: "stacking" "below";
20870       data.item: "selectraise" "on";
20871       data.item: "labels" "elm.text elm.text.sub";
20872       data.item: "icons" "elm.swallow.icon elm.swallow.end";
20873       data.item: "treesize" "20";
20874 //      data.item: "states" "";
20875       images {
20876          image: "bt_sm_base1.png" COMP;
20877          image: "bt_sm_shine.png" COMP;
20878          image: "bt_sm_hilight.png" COMP;
20879          image: "ilist_2.png" COMP;
20880       }
20881       parts {
20882          part { name: "event";
20883             type: RECT;
20884             repeat_events: 1;
20885             description {
20886                state: "default" 0.0;
20887                color: 0 0 0 0;
20888             }
20889          }
20890          part {
20891             name: "base";
20892             mouse_events: 0;
20893             description {
20894                state: "default" 0.0;
20895                image {
20896                   normal: "ilist_2.png";
20897                   border: 2 2 2 2;
20898                }
20899                fill.smooth: 0;
20900             }
20901          }
20902          part { name: "bg";
20903             clip_to: "disclip";
20904             mouse_events: 0;
20905             description { state: "default" 0.0;
20906                visible: 0;
20907                color: 255 255 255 0;
20908                rel1 {
20909                   relative: 0.0 0.0;
20910                   offset: -5 -5;
20911                }
20912                rel2 {
20913                   relative: 1.0 1.0;
20914                   offset: 4 4;
20915                }
20916                image {
20917                   normal: "bt_sm_base1.png";
20918                   border: 6 6 6 6;
20919                }
20920                image.middle: SOLID;
20921             }
20922             description { state: "selected" 0.0;
20923                inherit: "default" 0.0;
20924                visible: 1;
20925                color: 255 255 255 255;
20926                rel1 {
20927                   relative: 0.0 0.0;
20928                   offset: -2 -2;
20929                }
20930                rel2 {
20931                   relative: 1.0 1.0;
20932                   offset: 1 1;
20933                }
20934             }
20935          }
20936          part { name: "elm.swallow.pad";
20937             type: SWALLOW;
20938             description { state: "default" 0.0;
20939                fixed: 1 0;
20940                align: 0.0 0.5;
20941                rel1 {
20942                   relative: 0.0  0.0;
20943                   offset:   4    4;
20944                }
20945                rel2 {
20946                   relative: 0.0  1.0;
20947                   offset:   4   -5;
20948                }
20949             }
20950          }
20951          part { name: "elm.swallow.icon";
20952             clip_to: "disclip";
20953             type: SWALLOW;
20954             description { state: "default" 0.0;
20955                fixed: 1 0;
20956                align: 0.0 0.5;
20957                rel1 {
20958                   to_x: "elm.swallow.pad";
20959                   relative: 1.0  0.0;
20960                   offset:   -1    4;
20961                }
20962                rel2 {
20963                   to_x: "elm.swallow.pad";
20964                   relative: 1.0  1.0;
20965                   offset:   -1   -5;
20966                }
20967             }
20968          }
20969          part { name: "elm.swallow.end";
20970             clip_to: "disclip";
20971             type:          SWALLOW;
20972             description { state:    "default" 0.0;
20973                fixed: 1 0;
20974                align:    1.0 0.5;
20975                aspect: 1.0 1.0;
20976                aspect_preference: VERTICAL;
20977                rel1 {
20978                   relative: 1.0  0.0;
20979                   offset:   -5    4;
20980                }
20981                rel2 {
20982                   relative: 1.0  1.0;
20983                   offset:   -5   -5;
20984                }
20985             }
20986          }
20987          part { name: "elm.text";
20988             clip_to: "disclip";
20989             type:           TEXT;
20990             effect:         SOFT_SHADOW;
20991             mouse_events:   0;
20992             scale: 1;
20993             description {
20994                state: "default" 0.0;
20995 //               min: 16 16;
20996                rel1 {
20997                   to_x:     "elm.swallow.icon";
20998                   relative: 1.0  0.0;
20999                   offset:   0 4;
21000                }
21001                rel2 {
21002                   to_x:     "elm.swallow.end";
21003                   relative: 0.0  0.5;
21004                   offset:   -1 -5;
21005                }
21006                color: 0 0 0 255;
21007                color3: 0 0 0 0;
21008                text {
21009                   font: "Sans";
21010                   size: 10;
21011 //                  min: 1 1;
21012                   min: 0 1;
21013                   align: 0.0 0.5;
21014                   text_class: "list_item";
21015                }
21016             }
21017             description { state: "selected" 0.0;
21018                inherit: "default" 0.0;
21019                color: 224 224 224 255;
21020                color3: 0 0 0 64;
21021             }
21022          }
21023          part { name: "elm.text.sub";
21024             clip_to: "disclip";
21025             type:           TEXT;
21026             mouse_events:   0;
21027             scale: 1;
21028             description {
21029                state: "default" 0.0;
21030 //               min: 16 16;
21031                rel1 {
21032                   to_x:     "elm.swallow.icon";
21033                   relative: 1.0  0.5;
21034                   offset:   0 4;
21035                }
21036                rel2 {
21037                   to_x:     "elm.swallow.end";
21038                   relative: 0.0  1.0;
21039                   offset:   -1 -5;
21040                }
21041                color: 0 0 0 128;
21042                color3: 0 0 0 0;
21043                text {
21044                   font: "Sans";
21045                   size: 8;
21046 //                  min: 1 1;
21047                   min: 0 1;
21048                   align: 0.0 0.5;
21049                   text_class: "list_item";
21050                }
21051             }
21052             description { state: "selected" 0.0;
21053                inherit: "default" 0.0;
21054                color: 128 128 128 255;
21055                color3: 0 0 0 32;
21056             }
21057          }
21058          part { name: "fg1";
21059             clip_to: "disclip";
21060             mouse_events: 0;
21061             description { state: "default" 0.0;
21062                visible: 0;
21063                color: 255 255 255 0;
21064                rel1.to: "bg";
21065                rel2.relative: 1.0 0.5;
21066                rel2.to: "bg";
21067                image {
21068                   normal: "bt_sm_hilight.png";
21069                   border: 6 6 6 0;
21070                }
21071             }
21072             description { state: "selected" 0.0;
21073                inherit: "default" 0.0;
21074                visible: 1;
21075                color: 255 255 255 255;
21076             }
21077          }
21078          part { name: "fg2";
21079             clip_to: "disclip";
21080             mouse_events: 0;
21081             description { state: "default" 0.0;
21082                visible: 0;
21083                color: 255 255 255 0;
21084                rel1.to: "bg";
21085                rel2.to: "bg";
21086                image {
21087                   normal: "bt_sm_shine.png";
21088                   border: 6 6 6 0;
21089                }
21090             }
21091             description { state: "selected" 0.0;
21092                inherit: "default" 0.0;
21093                visible: 1;
21094                color: 255 255 255 255;
21095             }
21096          }
21097          part { name: "disclip";
21098             type: RECT;
21099             description { state: "default" 0.0;
21100                rel1.to: "bg";
21101                rel2.to: "bg";
21102             }
21103             description { state: "disabled" 0.0;
21104                inherit: "default" 0.0;
21105                color: 255 255 255 64;
21106             }
21107          }
21108       }
21109       programs {
21110          // signal: elm,state,%s,active
21111          //   a "check" item named %s went active
21112          // signal: elm,state,%s,passive
21113          //   a "check" item named %s went passive
21114          // default is passive
21115          program {
21116             name:    "go_active";
21117             signal:  "elm,state,selected";
21118             source:  "elm";
21119             action:  STATE_SET "selected" 0.0;
21120             target:  "bg";
21121             target:  "fg1";
21122             target:  "fg2";
21123             target:  "elm.text";
21124             target:  "elm.text.sub";
21125          }
21126          program {
21127             name:    "go_passive";
21128             signal:  "elm,state,unselected";
21129             source:  "elm";
21130             action:  STATE_SET "default" 0.0;
21131             target:  "bg";
21132             target:  "fg1";
21133             target:  "fg2";
21134             target:  "elm.text";
21135             target:  "elm.text.sub";
21136             transition: LINEAR 0.1;
21137          }
21138          program {
21139             name:    "go_disabled";
21140             signal:  "elm,state,disabled";
21141             source:  "elm";
21142             action:  STATE_SET "disabled" 0.0;
21143             target:  "disclip";
21144          }
21145          program {
21146             name:    "go_enabled";
21147             signal:  "elm,state,enabled";
21148             source:  "elm";
21149             action:  STATE_SET "default" 0.0;
21150             target:  "disclip";
21151          }
21152       }
21153    }
21154
21155    group { name: "elm/genlist/tree/double_label/default";
21156       data.item: "stacking" "above";
21157       data.item: "selectraise" "on";
21158       data.item: "labels" "elm.text elm.text.sub";
21159       data.item: "icons" "elm.swallow.icon elm.swallow.end";
21160       data.item: "treesize" "20";
21161 //      data.item: "states" "";
21162       images {
21163          image: "bt_sm_base1.png" COMP;
21164          image: "bt_sm_shine.png" COMP;
21165          image: "bt_sm_hilight.png" COMP;
21166          image: "ilist_1.png" COMP;
21167          image: "ilist_item_shadow.png" COMP;
21168          image: "icon_arrow_right.png" COMP;
21169          image: "icon_arrow_down.png" COMP;
21170       }
21171       parts {
21172          part {
21173             name:           "event";
21174             type:           RECT;
21175             repeat_events: 1;
21176             description {
21177                state: "default" 0.0;
21178                color: 0 0 0 0;
21179             }
21180          }
21181          part {
21182             name: "base_sh";
21183             mouse_events: 0;
21184             description {
21185                state: "default" 0.0;
21186                align: 0.0 0.0;
21187                min: 0 10;
21188                fixed: 1 1;
21189                rel1 {
21190                   to: "base";
21191                   relative: 0.0 1.0;
21192                   offset: 0 0;
21193                }
21194                rel2 {
21195                   to: "base";
21196                   relative: 1.0 1.0;
21197                   offset: -1 0;
21198                }
21199                image {
21200                   normal: "ilist_item_shadow.png";
21201                }
21202                fill.smooth: 0;
21203             }
21204          }
21205          part {
21206             name: "base";
21207             mouse_events: 0;
21208             description {
21209                state: "default" 0.0;
21210                image {
21211                   normal: "ilist_1.png";
21212                   border: 2 2 2 2;
21213                }
21214                fill.smooth: 0;
21215             }
21216          }
21217          part { name: "bg";
21218             clip_to: "disclip";
21219             mouse_events: 0;
21220             description { state: "default" 0.0;
21221                visible: 0;
21222                color: 255 255 255 0;
21223                rel1 {
21224                   relative: 0.0 0.0;
21225                   offset: -5 -5;
21226                }
21227                rel2 {
21228                   relative: 1.0 1.0;
21229                   offset: 4 4;
21230                }
21231                image {
21232                   normal: "bt_sm_base1.png";
21233                   border: 6 6 6 6;
21234                }
21235                image.middle: SOLID;
21236             }
21237             description { state: "selected" 0.0;
21238                inherit: "default" 0.0;
21239                visible: 1;
21240                color: 255 255 255 255;
21241                rel1 {
21242                   relative: 0.0 0.0;
21243                   offset: -2 -2;
21244                }
21245                rel2 {
21246                   relative: 1.0 1.0;
21247                   offset: 1 1;
21248                }
21249             }
21250          }
21251          part { name: "elm.swallow.pad";
21252             type: SWALLOW;
21253             description { state: "default" 0.0;
21254                fixed: 1 0;
21255                align: 0.0 0.5;
21256                rel1 {
21257                   relative: 0.0  0.0;
21258                   offset:   4    4;
21259                }
21260                rel2 {
21261                   relative: 0.0  1.0;
21262                   offset:   4   -5;
21263                }
21264             }
21265          }
21266          part { name: "arrow";
21267             clip_to: "disclip";
21268             ignore_flags: ON_HOLD;
21269             description { state: "default" 0.0;
21270                fixed: 1 0;
21271                align: 0.0 0.5;
21272                aspect: 1.0 1.0;
21273                rel1 {
21274                   to_x: "elm.swallow.pad";
21275                   relative: 1.0  0.0;
21276                   offset:   -1    4;
21277                }
21278                rel2 {
21279                   to_x: "elm.swallow.pad";
21280                   relative: 1.0  1.0;
21281                   offset:   -1   -5;
21282                }
21283                image.normal: "icon_arrow_right.png";
21284             }
21285             description { state: "active" 0.0;
21286                inherit: "default" 0.0;
21287                image.normal: "icon_arrow_down.png";
21288             }
21289          }
21290          part { name: "elm.swallow.icon";
21291             clip_to: "disclip";
21292             type: SWALLOW;
21293             description { state: "default" 0.0;
21294                fixed: 1 0;
21295                align: 0.0 0.5;
21296                rel1 {
21297                   to_x: "arrow";
21298                   relative: 1.0  0.0;
21299                   offset:   4    4;
21300                }
21301                rel2 {
21302                   to_x: "arrow";
21303                   relative: 1.0  1.0;
21304                   offset:   4   -5;
21305                }
21306             }
21307          }
21308          part { name: "elm.swallow.end";
21309             clip_to: "disclip";
21310             type: SWALLOW;
21311             description { state: "default" 0.0;
21312                fixed: 1 0;
21313                align: 1.0 0.5;
21314                aspect: 1.0 1.0;
21315                aspect_preference: VERTICAL;
21316                rel1 {
21317                   relative: 1.0  0.0;
21318                   offset:   -5    4;
21319                }
21320                rel2 {
21321                   relative: 1.0  1.0;
21322                   offset:   -5   -5;
21323                }
21324             }
21325          }
21326          part { name: "elm.text";
21327             clip_to: "disclip";
21328             type:           TEXT;
21329             effect:         SOFT_SHADOW;
21330             mouse_events:   0;
21331             scale: 1;
21332             description {
21333                state: "default" 0.0;
21334 //               min: 16 16;
21335                rel1 {
21336                   to_x:     "elm.swallow.icon";
21337                   relative: 1.0  0.0;
21338                   offset:   0 4;
21339                }
21340                rel2 {
21341                   to_x:     "elm.swallow.end";
21342                   relative: 0.0  0.5;
21343                   offset:   -1 -5;
21344                }
21345                color: 0 0 0 255;
21346                color3: 0 0 0 0;
21347                text {
21348                   font: "Sans";
21349                   size: 10;
21350                   min: 1 1;
21351 //                  min: 0 1;
21352                   align: 0.0 0.5;
21353                   text_class: "list_item";
21354                }
21355             }
21356             description { state: "selected" 0.0;
21357                inherit: "default" 0.0;
21358                color: 224 224 224 255;
21359                color3: 0 0 0 64;
21360             }
21361          }
21362          part { name: "elm.text.sub";
21363             clip_to: "disclip";
21364             type:           TEXT;
21365             mouse_events:   0;
21366             scale: 1;
21367             description {
21368                state: "default" 0.0;
21369 //               min: 16 16;
21370                rel1 {
21371                   to_x:     "elm.swallow.icon";
21372                   relative: 1.0  0.5;
21373                   offset:   0 4;
21374                }
21375                rel2 {
21376                   to_x:     "elm.swallow.end";
21377                   relative: 0.0  1.0;
21378                   offset:   -1 -5;
21379                }
21380                color: 0 0 0 128;
21381                color3: 0 0 0 0;
21382                text {
21383                   font: "Sans";
21384                   size: 8;
21385                   min: 1 1;
21386 //                  min: 0 1;
21387                   align: 0.0 0.5;
21388                   text_class: "list_item";
21389                }
21390             }
21391             description { state: "selected" 0.0;
21392                inherit: "default" 0.0;
21393                color: 128 128 128 255;
21394                color3: 0 0 0 32;
21395             }
21396          }
21397          part { name: "fg1";
21398             clip_to: "disclip";
21399             mouse_events: 0;
21400             description { state: "default" 0.0;
21401                visible: 0;
21402                color: 255 255 255 0;
21403                rel1.to: "bg";
21404                rel2.relative: 1.0 0.5;
21405                rel2.to: "bg";
21406                image {
21407                   normal: "bt_sm_hilight.png";
21408                   border: 6 6 6 0;
21409                }
21410             }
21411             description { state: "selected" 0.0;
21412                inherit: "default" 0.0;
21413                visible: 1;
21414                color: 255 255 255 255;
21415             }
21416          }
21417          part { name: "fg2";
21418             clip_to: "disclip";
21419             mouse_events: 0;
21420             description { state: "default" 0.0;
21421                visible: 0;
21422                color: 255 255 255 0;
21423                rel1.to: "bg";
21424                rel2.to: "bg";
21425                image {
21426                   normal: "bt_sm_shine.png";
21427                   border: 6 6 6 0;
21428                }
21429             }
21430             description { state: "selected" 0.0;
21431                inherit: "default" 0.0;
21432                visible: 1;
21433                color: 255 255 255 255;
21434             }
21435          }
21436          part { name: "disclip";
21437             type: RECT;
21438             description { state: "default" 0.0;
21439                rel1.to: "bg";
21440                rel2.to: "bg";
21441             }
21442             description { state: "disabled" 0.0;
21443                inherit: "default" 0.0;
21444                color: 255 255 255 64;
21445             }
21446          }
21447       }
21448       programs {
21449          // signal: elm,state,%s,active
21450          //   a "check" item named %s went active
21451          // signal: elm,state,%s,passive
21452          //   a "check" item named %s went passive
21453          // default is passive
21454          program {
21455             name:    "go_active";
21456             signal:  "elm,state,selected";
21457             source:  "elm";
21458             action:  STATE_SET "selected" 0.0;
21459             target:  "bg";
21460             target:  "fg1";
21461             target:  "fg2";
21462             target:  "elm.text";
21463             target:  "elm.text.sub";
21464          }
21465          program {
21466             name:    "go_passive";
21467             signal:  "elm,state,unselected";
21468             source:  "elm";
21469             action:  STATE_SET "default" 0.0;
21470             target:  "bg";
21471             target:  "fg1";
21472             target:  "fg2";
21473             target:  "elm.text";
21474             target:  "elm.text.sub";
21475             transition: LINEAR 0.1;
21476          }
21477          program {
21478             name:    "go_disabled";
21479             signal:  "elm,state,disabled";
21480             source:  "elm";
21481             action:  STATE_SET "disabled" 0.0;
21482             target:  "disclip";
21483          }
21484          program {
21485             name:    "go_enabled";
21486             signal:  "elm,state,enabled";
21487             source:  "elm";
21488             action:  STATE_SET "default" 0.0;
21489             target:  "disclip";
21490          }
21491          program {
21492             name:    "expand";
21493             signal:  "mouse,up,1";
21494             source:  "arrow";
21495             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
21496          }
21497          program {
21498             name:    "go_expanded";
21499             signal:  "elm,state,expanded";
21500             source:  "elm";
21501             action:  STATE_SET "active" 0.0;
21502             target:  "arrow";
21503          }
21504          program {
21505             name:    "go_contracted";
21506             signal:  "elm,state,contracted";
21507             source:  "elm";
21508             action:  STATE_SET "default" 0.0;
21509             target:  "arrow";
21510          }
21511       }
21512    }
21513    group { name: "elm/genlist/tree_compress/double_label/default";
21514       data.item: "stacking" "above";
21515       data.item: "selectraise" "on";
21516       data.item: "labels" "elm.text elm.text.sub";
21517       data.item: "icons" "elm.swallow.icon elm.swallow.end";
21518       data.item: "treesize" "20";
21519 //      data.item: "states" "";
21520       images {
21521          image: "bt_sm_base1.png" COMP;
21522          image: "bt_sm_shine.png" COMP;
21523          image: "bt_sm_hilight.png" COMP;
21524          image: "ilist_1.png" COMP;
21525          image: "ilist_item_shadow.png" COMP;
21526          image: "icon_arrow_right.png" COMP;
21527          image: "icon_arrow_down.png" COMP;
21528       }
21529       parts {
21530          part {
21531             name:           "event";
21532             type:           RECT;
21533             repeat_events: 1;
21534             description {
21535                state: "default" 0.0;
21536                color: 0 0 0 0;
21537             }
21538          }
21539          part {
21540             name: "base_sh";
21541             mouse_events: 0;
21542             description {
21543                state: "default" 0.0;
21544                align: 0.0 0.0;
21545                min: 0 10;
21546                fixed: 1 1;
21547                rel1 {
21548                   to: "base";
21549                   relative: 0.0 1.0;
21550                   offset: 0 0;
21551                }
21552                rel2 {
21553                   to: "base";
21554                   relative: 1.0 1.0;
21555                   offset: -1 0;
21556                }
21557                image {
21558                   normal: "ilist_item_shadow.png";
21559                }
21560                fill.smooth: 0;
21561             }
21562          }
21563          part {
21564             name: "base";
21565             mouse_events: 0;
21566             description {
21567                state: "default" 0.0;
21568                image {
21569                   normal: "ilist_1.png";
21570                   border: 2 2 2 2;
21571                }
21572                fill.smooth: 0;
21573             }
21574          }
21575          part { name: "bg";
21576             clip_to: "disclip";
21577             mouse_events: 0;
21578             description { state: "default" 0.0;
21579                visible: 0;
21580                color: 255 255 255 0;
21581                rel1 {
21582                   relative: 0.0 0.0;
21583                   offset: -5 -5;
21584                }
21585                rel2 {
21586                   relative: 1.0 1.0;
21587                   offset: 4 4;
21588                }
21589                image {
21590                   normal: "bt_sm_base1.png";
21591                   border: 6 6 6 6;
21592                }
21593                image.middle: SOLID;
21594             }
21595             description { state: "selected" 0.0;
21596                inherit: "default" 0.0;
21597                visible: 1;
21598                color: 255 255 255 255;
21599                rel1 {
21600                   relative: 0.0 0.0;
21601                   offset: -2 -2;
21602                }
21603                rel2 {
21604                   relative: 1.0 1.0;
21605                   offset: 1 1;
21606                }
21607             }
21608          }
21609          part { name: "elm.swallow.pad";
21610             type: SWALLOW;
21611             description { state: "default" 0.0;
21612                fixed: 1 0;
21613                align: 0.0 0.5;
21614                rel1 {
21615                   relative: 0.0  0.0;
21616                   offset:   4    4;
21617                }
21618                rel2 {
21619                   relative: 0.0  1.0;
21620                   offset:   4   -5;
21621                }
21622             }
21623          }
21624          part { name: "arrow";
21625             clip_to: "disclip";
21626             ignore_flags: ON_HOLD;
21627             description { state: "default" 0.0;
21628                fixed: 1 0;
21629                align: 0.0 0.5;
21630                aspect: 1.0 1.0;
21631                rel1 {
21632                   to_x: "elm.swallow.pad";
21633                   relative: 1.0  0.0;
21634                   offset:   -1    4;
21635                }
21636                rel2 {
21637                   to_x: "elm.swallow.pad";
21638                   relative: 1.0  1.0;
21639                   offset:   -1   -5;
21640                }
21641                image.normal: "icon_arrow_right.png";
21642             }
21643             description { state: "active" 0.0;
21644                inherit: "default" 0.0;
21645                image.normal: "icon_arrow_down.png";
21646             }
21647          }
21648          part { name: "elm.swallow.icon";
21649             clip_to: "disclip";
21650             type: SWALLOW;
21651             description { state: "default" 0.0;
21652                fixed: 1 0;
21653                align: 0.0 0.5;
21654                rel1 {
21655                   to_x: "arrow";
21656                   relative: 1.0  0.0;
21657                   offset:   4    4;
21658                }
21659                rel2 {
21660                   to_x: "arrow";
21661                   relative: 1.0  1.0;
21662                   offset:   4   -5;
21663                }
21664             }
21665          }
21666          part { name: "elm.swallow.end";
21667             clip_to: "disclip";
21668             type: SWALLOW;
21669             description { state: "default" 0.0;
21670                fixed: 1 0;
21671                align: 1.0 0.5;
21672                aspect: 1.0 1.0;
21673                aspect_preference: VERTICAL;
21674                rel1 {
21675                   relative: 1.0  0.0;
21676                   offset:   -5    4;
21677                }
21678                rel2 {
21679                   relative: 1.0  1.0;
21680                   offset:   -5   -5;
21681                }
21682             }
21683          }
21684          part { name: "elm.text";
21685             clip_to: "disclip";
21686             type:           TEXT;
21687             effect:         SOFT_SHADOW;
21688             mouse_events:   0;
21689             scale: 1;
21690             description {
21691                state: "default" 0.0;
21692 //               min: 16 16;
21693                rel1 {
21694                   to_x:     "elm.swallow.icon";
21695                   relative: 1.0  0.0;
21696                   offset:   0 4;
21697                }
21698                rel2 {
21699                   to_x:     "elm.swallow.end";
21700                   relative: 0.0  0.5;
21701                   offset:   -1 -5;
21702                }
21703                color: 0 0 0 255;
21704                color3: 0 0 0 0;
21705                text {
21706                   font: "Sans";
21707                   size: 10;
21708 //                  min: 1 1;
21709                   min: 0 1;
21710                   align: 0.0 0.5;
21711                   text_class: "list_item";
21712                }
21713             }
21714             description { state: "selected" 0.0;
21715                inherit: "default" 0.0;
21716                color: 224 224 224 255;
21717                color3: 0 0 0 64;
21718             }
21719          }
21720          part { name: "elm.text.sub";
21721             clip_to: "disclip";
21722             type:           TEXT;
21723             mouse_events:   0;
21724             scale: 1;
21725             description {
21726                state: "default" 0.0;
21727 //               min: 16 16;
21728                rel1 {
21729                   to_x:     "elm.swallow.icon";
21730                   relative: 1.0  0.5;
21731                   offset:   0 4;
21732                }
21733                rel2 {
21734                   to_x:     "elm.swallow.end";
21735                   relative: 0.0  1.0;
21736                   offset:   -1 -5;
21737                }
21738                color: 0 0 0 128;
21739                color3: 0 0 0 0;
21740                text {
21741                   font: "Sans";
21742                   size: 8;
21743 //                  min: 1 1;
21744                   min: 0 1;
21745                   align: 0.0 0.5;
21746                   text_class: "list_item";
21747                }
21748             }
21749             description { state: "selected" 0.0;
21750                inherit: "default" 0.0;
21751                color: 128 128 128 255;
21752                color3: 0 0 0 32;
21753             }
21754          }
21755          part { name: "fg1";
21756             clip_to: "disclip";
21757             mouse_events: 0;
21758             description { state: "default" 0.0;
21759                visible: 0;
21760                color: 255 255 255 0;
21761                rel1.to: "bg";
21762                rel2.relative: 1.0 0.5;
21763                rel2.to: "bg";
21764                image {
21765                   normal: "bt_sm_hilight.png";
21766                   border: 6 6 6 0;
21767                }
21768             }
21769             description { state: "selected" 0.0;
21770                inherit: "default" 0.0;
21771                visible: 1;
21772                color: 255 255 255 255;
21773             }
21774          }
21775          part { name: "fg2";
21776             clip_to: "disclip";
21777             mouse_events: 0;
21778             description { state: "default" 0.0;
21779                visible: 0;
21780                color: 255 255 255 0;
21781                rel1.to: "bg";
21782                rel2.to: "bg";
21783                image {
21784                   normal: "bt_sm_shine.png";
21785                   border: 6 6 6 0;
21786                }
21787             }
21788             description { state: "selected" 0.0;
21789                inherit: "default" 0.0;
21790                visible: 1;
21791                color: 255 255 255 255;
21792             }
21793          }
21794          part { name: "disclip";
21795             type: RECT;
21796             description { state: "default" 0.0;
21797                rel1.to: "bg";
21798                rel2.to: "bg";
21799             }
21800             description { state: "disabled" 0.0;
21801                inherit: "default" 0.0;
21802                color: 255 255 255 64;
21803             }
21804          }
21805       }
21806       programs {
21807          // signal: elm,state,%s,active
21808          //   a "check" item named %s went active
21809          // signal: elm,state,%s,passive
21810          //   a "check" item named %s went passive
21811          // default is passive
21812          program {
21813             name:    "go_active";
21814             signal:  "elm,state,selected";
21815             source:  "elm";
21816             action:  STATE_SET "selected" 0.0;
21817             target:  "bg";
21818             target:  "fg1";
21819             target:  "fg2";
21820             target:  "elm.text";
21821             target:  "elm.text.sub";
21822          }
21823          program {
21824             name:    "go_passive";
21825             signal:  "elm,state,unselected";
21826             source:  "elm";
21827             action:  STATE_SET "default" 0.0;
21828             target:  "bg";
21829             target:  "fg1";
21830             target:  "fg2";
21831             target:  "elm.text";
21832             target:  "elm.text.sub";
21833             transition: LINEAR 0.1;
21834          }
21835          program {
21836             name:    "go_disabled";
21837             signal:  "elm,state,disabled";
21838             source:  "elm";
21839             action:  STATE_SET "disabled" 0.0;
21840             target:  "disclip";
21841          }
21842          program {
21843             name:    "go_enabled";
21844             signal:  "elm,state,enabled";
21845             source:  "elm";
21846             action:  STATE_SET "default" 0.0;
21847             target:  "disclip";
21848          }
21849          program {
21850             name:    "expand";
21851             signal:  "mouse,up,1";
21852             source:  "arrow";
21853             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
21854          }
21855          program {
21856             name:    "go_expanded";
21857             signal:  "elm,state,expanded";
21858             source:  "elm";
21859             action:  STATE_SET "active" 0.0;
21860             target:  "arrow";
21861          }
21862          program {
21863             name:    "go_contracted";
21864             signal:  "elm,state,contracted";
21865             source:  "elm";
21866             action:  STATE_SET "default" 0.0;
21867             target:  "arrow";
21868          }
21869       }
21870    }
21871    group { name: "elm/genlist/tree_odd/double_label/default";
21872       data.item: "stacking" "below";
21873       data.item: "selectraise" "on";
21874       data.item: "labels" "elm.text elm.text.sub";
21875       data.item: "icons" "elm.swallow.icon elm.swallow.end";
21876       data.item: "treesize" "20";
21877 //      data.item: "states" "";
21878       images {
21879          image: "bt_sm_base1.png" COMP;
21880          image: "bt_sm_shine.png" COMP;
21881          image: "bt_sm_hilight.png" COMP;
21882          image: "ilist_2.png" COMP;
21883          image: "icon_arrow_right.png" COMP;
21884          image: "icon_arrow_down.png" COMP;
21885       }
21886       parts {
21887          part {
21888             name:           "event";
21889             type:           RECT;
21890             repeat_events: 1;
21891             description {
21892                state: "default" 0.0;
21893                color: 0 0 0 0;
21894             }
21895          }
21896          part {
21897             name: "base";
21898             mouse_events: 0;
21899             description {
21900                state: "default" 0.0;
21901                image {
21902                   normal: "ilist_2.png";
21903                   border: 2 2 2 2;
21904                }
21905                fill.smooth: 0;
21906             }
21907          }
21908          part { name: "bg";
21909             clip_to: "disclip";
21910             mouse_events: 0;
21911             description { state: "default" 0.0;
21912                visible: 0;
21913                color: 255 255 255 0;
21914                rel1 {
21915                   relative: 0.0 0.0;
21916                   offset: -5 -5;
21917                }
21918                rel2 {
21919                   relative: 1.0 1.0;
21920                   offset: 4 4;
21921                }
21922                image {
21923                   normal: "bt_sm_base1.png";
21924                   border: 6 6 6 6;
21925                }
21926                image.middle: SOLID;
21927             }
21928             description { state: "selected" 0.0;
21929                inherit: "default" 0.0;
21930                visible: 1;
21931                color: 255 255 255 255;
21932                rel1 {
21933                   relative: 0.0 0.0;
21934                   offset: -2 -2;
21935                }
21936                rel2 {
21937                   relative: 1.0 1.0;
21938                   offset: 1 1;
21939                }
21940             }
21941          }
21942          part { name: "elm.swallow.pad";
21943             type: SWALLOW;
21944             description { state: "default" 0.0;
21945                fixed: 1 0;
21946                align: 0.0 0.5;
21947                rel1 {
21948                   relative: 0.0  0.0;
21949                   offset:   4    4;
21950                }
21951                rel2 {
21952                   relative: 0.0  1.0;
21953                   offset:   4   -5;
21954                }
21955             }
21956          }
21957          part { name: "arrow";
21958             clip_to: "disclip";
21959             ignore_flags: ON_HOLD;
21960             description { state: "default" 0.0;
21961                fixed: 1 0;
21962                align: 0.0 0.5;
21963                aspect: 1.0 1.0;
21964                rel1 {
21965                   to_x: "elm.swallow.pad";
21966                   relative: 1.0  0.0;
21967                   offset:   -1    4;
21968                }
21969                rel2 {
21970                   to_x: "elm.swallow.pad";
21971                   relative: 1.0  1.0;
21972                   offset:   -1   -5;
21973                }
21974                image.normal: "icon_arrow_right.png";
21975             }
21976             description { state: "active" 0.0;
21977                inherit: "default" 0.0;
21978                image.normal: "icon_arrow_down.png";
21979             }
21980          }
21981          part { name: "elm.swallow.icon";
21982             clip_to: "disclip";
21983             type: SWALLOW;
21984             description { state: "default" 0.0;
21985                fixed: 1 0;
21986                align: 0.0 0.5;
21987                rel1 {
21988                   to_x: "arrow";
21989                   relative: 1.0  0.0;
21990                   offset:   4    4;
21991                }
21992                rel2 {
21993                   to_x: "arrow";
21994                   relative: 1.0  1.0;
21995                   offset:   4   -5;
21996                }
21997             }
21998          }
21999          part { name: "elm.swallow.end";
22000             clip_to: "disclip";
22001             type: SWALLOW;
22002             description { state: "default" 0.0;
22003                fixed: 1 0;
22004                align: 1.0 0.5;
22005                aspect: 1.0 1.0;
22006                aspect_preference: VERTICAL;
22007                rel1 {
22008                   relative: 1.0  0.0;
22009                   offset:   -5    4;
22010                }
22011                rel2 {
22012                   relative: 1.0  1.0;
22013                   offset:   -5   -5;
22014                }
22015             }
22016          }
22017          part { name: "elm.text";
22018             clip_to: "disclip";
22019             type:           TEXT;
22020             effect:         SOFT_SHADOW;
22021             mouse_events:   0;
22022             scale: 1;
22023             description {
22024                state: "default" 0.0;
22025 //               min: 16 16;
22026                rel1 {
22027                   to_x:     "elm.swallow.icon";
22028                   relative: 1.0  0.0;
22029                   offset:   0 4;
22030                }
22031                rel2 {
22032                   to_x:     "elm.swallow.end";
22033                   relative: 0.0  0.5;
22034                   offset:   -1 -5;
22035                }
22036                color: 0 0 0 255;
22037                color3: 0 0 0 0;
22038                text {
22039                   font: "Sans";
22040                   size: 10;
22041                   min: 1 1;
22042 //                  min: 0 1;
22043                   align: 0.0 0.5;
22044                   text_class: "list_item";
22045                }
22046             }
22047             description { state: "selected" 0.0;
22048                inherit: "default" 0.0;
22049                color: 224 224 224 255;
22050                color3: 0 0 0 64;
22051             }
22052          }
22053          part { name: "elm.text.sub";
22054             clip_to: "disclip";
22055             type:           TEXT;
22056             mouse_events:   0;
22057             scale: 1;
22058             description {
22059                state: "default" 0.0;
22060 //               min: 16 16;
22061                rel1 {
22062                   to_x:     "elm.swallow.icon";
22063                   relative: 1.0  0.5;
22064                   offset:   0 4;
22065                }
22066                rel2 {
22067                   to_x:     "elm.swallow.end";
22068                   relative: 0.0  1.0;
22069                   offset:   -1 -5;
22070                }
22071                color: 0 0 0 128;
22072                color3: 0 0 0 0;
22073                text {
22074                   font: "Sans";
22075                   size: 8;
22076                   min: 1 1;
22077 //                  min: 0 1;
22078                   align: 0.0 0.5;
22079                   text_class: "list_item";
22080                }
22081             }
22082             description { state: "selected" 0.0;
22083                inherit: "default" 0.0;
22084                color: 128 128 128 255;
22085                color3: 0 0 0 32;
22086             }
22087          }
22088          part { name: "fg1";
22089             clip_to: "disclip";
22090             mouse_events: 0;
22091             description { state: "default" 0.0;
22092                visible: 0;
22093                color: 255 255 255 0;
22094                rel1.to: "bg";
22095                rel2.relative: 1.0 0.5;
22096                rel2.to: "bg";
22097                image {
22098                   normal: "bt_sm_hilight.png";
22099                   border: 6 6 6 0;
22100                }
22101             }
22102             description { state: "selected" 0.0;
22103                inherit: "default" 0.0;
22104                visible: 1;
22105                color: 255 255 255 255;
22106             }
22107          }
22108          part { name: "fg2";
22109             clip_to: "disclip";
22110             mouse_events: 0;
22111             description { state: "default" 0.0;
22112                visible: 0;
22113                color: 255 255 255 0;
22114                rel1.to: "bg";
22115                rel2.to: "bg";
22116                image {
22117                   normal: "bt_sm_shine.png";
22118                   border: 6 6 6 0;
22119                }
22120             }
22121             description { state: "selected" 0.0;
22122                inherit: "default" 0.0;
22123                visible: 1;
22124                color: 255 255 255 255;
22125             }
22126          }
22127          part { name: "disclip";
22128             type: RECT;
22129             description { state: "default" 0.0;
22130                rel1.to: "bg";
22131                rel2.to: "bg";
22132             }
22133             description { state: "disabled" 0.0;
22134                inherit: "default" 0.0;
22135                color: 255 255 255 64;
22136             }
22137          }
22138       }
22139       programs {
22140          // signal: elm,state,%s,active
22141          //   a "check" item named %s went active
22142          // signal: elm,state,%s,passive
22143          //   a "check" item named %s went passive
22144          // default is passive
22145          program {
22146             name:    "go_active";
22147             signal:  "elm,state,selected";
22148             source:  "elm";
22149             action:  STATE_SET "selected" 0.0;
22150             target:  "bg";
22151             target:  "fg1";
22152             target:  "fg2";
22153             target:  "elm.text";
22154             target:  "elm.text.sub";
22155          }
22156          program {
22157             name:    "go_passive";
22158             signal:  "elm,state,unselected";
22159             source:  "elm";
22160             action:  STATE_SET "default" 0.0;
22161             target:  "bg";
22162             target:  "fg1";
22163             target:  "fg2";
22164             target:  "elm.text";
22165             target:  "elm.text.sub";
22166             transition: LINEAR 0.1;
22167          }
22168          program {
22169             name:    "go_disabled";
22170             signal:  "elm,state,disabled";
22171             source:  "elm";
22172             action:  STATE_SET "disabled" 0.0;
22173             target:  "disclip";
22174          }
22175          program {
22176             name:    "go_enabled";
22177             signal:  "elm,state,enabled";
22178             source:  "elm";
22179             action:  STATE_SET "default" 0.0;
22180             target:  "disclip";
22181          }
22182          program {
22183             name:    "expand";
22184             signal:  "mouse,up,1";
22185             source:  "arrow";
22186             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
22187          }
22188          program {
22189             name:    "go_expanded";
22190             signal:  "elm,state,expanded";
22191             source:  "elm";
22192             action:  STATE_SET "active" 0.0;
22193             target:  "arrow";
22194          }
22195          program {
22196             name:    "go_contracted";
22197             signal:  "elm,state,contracted";
22198             source:  "elm";
22199             action:  STATE_SET "default" 0.0;
22200             target:  "arrow";
22201          }
22202       }
22203    }
22204
22205    group { name: "elm/genlist/item/icon_top_text_bottom/default";
22206       data.item: "stacking" "above";
22207       data.item: "selectraise" "on";
22208       data.item: "labels" "elm.text";
22209       data.item: "icons" "elm.swallow.icon";
22210       data.item: "treesize" "20";
22211 //      data.item: "states" "";
22212       images {
22213          image: "bt_sm_base1.png" COMP;
22214          image: "bt_sm_shine.png" COMP;
22215          image: "bt_sm_hilight.png" COMP;
22216          image: "ilist_1.png" COMP;
22217          image: "ilist_item_shadow.png" COMP;
22218       }
22219       parts {
22220          part {
22221             name:           "event";
22222             type:           RECT;
22223             repeat_events: 1;
22224             description {
22225                state: "default" 0.0;
22226                color: 0 0 0 0;
22227             }
22228          }
22229          part {
22230             name: "base_sh";
22231             mouse_events: 0;
22232             description {
22233                state: "default" 0.0;
22234                align: 0.0 0.0;
22235                min: 0 10;
22236                fixed: 1 1;
22237                rel1 {
22238                   to: "base";
22239                   relative: 0.0 1.0;
22240                   offset: 0 0;
22241                }
22242                rel2 {
22243                   to: "base";
22244                   relative: 1.0 1.0;
22245                   offset: -1 0;
22246                }
22247                image {
22248                   normal: "ilist_item_shadow.png";
22249                }
22250                fill.smooth: 0;
22251             }
22252          }
22253          part {
22254             name: "base";
22255             mouse_events: 0;
22256             description {
22257                state: "default" 0.0;
22258                image {
22259                   normal: "ilist_1.png";
22260                   border: 2 2 2 2;
22261                }
22262                fill.smooth: 0;
22263             }
22264          }
22265          part { name: "bg";
22266             clip_to: "disclip";
22267             mouse_events: 0;
22268             description { state: "default" 0.0;
22269                visible: 0;
22270                color: 255 255 255 0;
22271                rel1 {
22272                   relative: 0.0 0.0;
22273                   offset: -5 -5;
22274                }
22275                rel2 {
22276                   relative: 1.0 1.0;
22277                   offset: 4 4;
22278                }
22279                image {
22280                   normal: "bt_sm_base1.png";
22281                   border: 6 6 6 6;
22282                }
22283                image.middle: SOLID;
22284             }
22285             description { state: "selected" 0.0;
22286                inherit: "default" 0.0;
22287                visible: 1;
22288                color: 255 255 255 255;
22289                rel1 {
22290                   relative: 0.0 0.0;
22291                   offset: -2 -2;
22292                }
22293                rel2 {
22294                   relative: 1.0 1.0;
22295                   offset: 1 1;
22296                }
22297             }
22298          }
22299          part { name: "elm.swallow.pad";
22300             type: SWALLOW;
22301             description { state: "default" 0.0;
22302                fixed: 1 0;
22303                align: 0.0 0.5;
22304                rel1 {
22305                   relative: 0.0  0.0;
22306                   offset:   4    4;
22307                }
22308                rel2 {
22309                   relative: 1.0  1.0;
22310                   offset:   -4   -5;
22311                }
22312             }
22313          }
22314          part { name: "elm.swallow.icon";
22315             clip_to: "disclip";
22316             type: SWALLOW;
22317             description { state: "default" 0.0;
22318                fixed: 1 0;
22319                align: 0.5 0.5;
22320                rel1 {
22321                   to_x: "elm.swallow.pad";
22322                   relative: 0.0  0.0;
22323                   offset:   -1    4;
22324                }
22325                rel2 {
22326                   to_x: "elm.swallow.pad";
22327                   relative: 1.0  1.0;
22328                   offset:   -1   -5;
22329                }
22330             }
22331          }
22332          part { name: "elm.text";
22333             clip_to: "disclip";
22334             type:           TEXT;
22335             effect:         SOFT_SHADOW;
22336             mouse_events:   0;
22337             scale: 1;
22338             description {
22339                state: "default" 0.0;
22340 //               min: 16 16;
22341                rel1 {
22342                   to_y:     "elm.swallow.icon";
22343                   relative: 0.0  1.0;
22344                   offset:   0 4;
22345                }
22346                rel2 {
22347                   relative: 1.0  1.0;
22348                   offset:   -5 -5;
22349                }
22350                color: 0 0 0 255;
22351                color3: 0 0 0 0;
22352                text {
22353                   font: "Sans";
22354                   size: 10;
22355                   min: 1 1;
22356 //                  min: 0 1;
22357                   align: 0.5 0.5;
22358                   text_class: "list_item";
22359                }
22360             }
22361             description { state: "selected" 0.0;
22362                inherit: "default" 0.0;
22363                color: 224 224 224 255;
22364                color3: 0 0 0 64;
22365             }
22366          }
22367          part { name: "fg1";
22368             clip_to: "disclip";
22369             mouse_events: 0;
22370             description { state: "default" 0.0;
22371                visible: 0;
22372                color: 255 255 255 0;
22373                rel1.to: "bg";
22374                rel2.relative: 1.0 0.5;
22375                rel2.to: "bg";
22376                image {
22377                   normal: "bt_sm_hilight.png";
22378                   border: 6 6 6 0;
22379                }
22380             }
22381             description { state: "selected" 0.0;
22382                inherit: "default" 0.0;
22383                visible: 1;
22384                color: 255 255 255 255;
22385             }
22386          }
22387          part { name: "fg2";
22388             clip_to: "disclip";
22389             mouse_events: 0;
22390             description { state: "default" 0.0;
22391                visible: 0;
22392                color: 255 255 255 0;
22393                rel1.to: "bg";
22394                rel2.to: "bg";
22395                image {
22396                   normal: "bt_sm_shine.png";
22397                   border: 6 6 6 0;
22398                }
22399             }
22400             description { state: "selected" 0.0;
22401                inherit: "default" 0.0;
22402                visible: 1;
22403                color: 255 255 255 255;
22404             }
22405          }
22406          part { name: "disclip";
22407             type: RECT;
22408             description { state: "default" 0.0;
22409                rel1.to: "bg";
22410                rel2.to: "bg";
22411             }
22412             description { state: "disabled" 0.0;
22413                inherit: "default" 0.0;
22414                color: 255 255 255 64;
22415             }
22416          }
22417       }
22418       programs {
22419          // signal: elm,state,%s,active
22420          //   a "check" item named %s went active
22421          // signal: elm,state,%s,passive
22422          //   a "check" item named %s went passive
22423          // default is passive
22424          program {
22425             name:    "go_active";
22426             signal:  "elm,state,selected";
22427             source:  "elm";
22428             action:  STATE_SET "selected" 0.0;
22429             target:  "bg";
22430             target:  "fg1";
22431             target:  "fg2";
22432             target:  "elm.text";
22433          }
22434          program {
22435             name:    "go_passive";
22436             signal:  "elm,state,unselected";
22437             source:  "elm";
22438             action:  STATE_SET "default" 0.0;
22439             target:  "bg";
22440             target:  "fg1";
22441             target:  "fg2";
22442             target:  "elm.text";
22443             transition: LINEAR 0.1;
22444          }
22445          program {
22446             name:    "go_disabled";
22447             signal:  "elm,state,disabled";
22448             source:  "elm";
22449             action:  STATE_SET "disabled" 0.0;
22450             target:  "disclip";
22451          }
22452          program {
22453             name:    "go_enabled";
22454             signal:  "elm,state,enabled";
22455             source:  "elm";
22456             action:  STATE_SET "default" 0.0;
22457             target:  "disclip";
22458          }
22459       }
22460    }
22461    group { name: "elm/genlist/item_odd/icon_top_text_bottom/default";
22462       data.item: "stacking" "below";
22463       data.item: "selectraise" "on";
22464       data.item: "labels" "elm.text";
22465       data.item: "icons" "elm.swallow.icon";
22466       data.item: "treesize" "20";
22467 //      data.item: "states" "";
22468       images {
22469          image: "bt_sm_base1.png" COMP;
22470          image: "bt_sm_shine.png" COMP;
22471          image: "bt_sm_hilight.png" COMP;
22472          image: "ilist_2.png" COMP;
22473       }
22474       parts {
22475          part { name: "event";
22476             type: RECT;
22477             repeat_events: 1;
22478             description {
22479                state: "default" 0.0;
22480                color: 0 0 0 0;
22481             }
22482          }
22483          part {
22484             name: "base";
22485             mouse_events: 0;
22486             description {
22487                state: "default" 0.0;
22488                image {
22489                   normal: "ilist_2.png";
22490                   border: 2 2 2 2;
22491                }
22492                fill.smooth: 0;
22493             }
22494          }
22495          part { name: "bg";
22496             clip_to: "disclip";
22497             mouse_events: 0;
22498             description { state: "default" 0.0;
22499                visible: 0;
22500                color: 255 255 255 0;
22501                rel1 {
22502                   relative: 0.0 0.0;
22503                   offset: -5 -5;
22504                }
22505                rel2 {
22506                   relative: 1.0 1.0;
22507                   offset: 4 4;
22508                }
22509                image {
22510                   normal: "bt_sm_base1.png";
22511                   border: 6 6 6 6;
22512                }
22513                image.middle: SOLID;
22514             }
22515             description { state: "selected" 0.0;
22516                inherit: "default" 0.0;
22517                visible: 1;
22518                color: 255 255 255 255;
22519                rel1 {
22520                   relative: 0.0 0.0;
22521                   offset: -2 -2;
22522                }
22523                rel2 {
22524                   relative: 1.0 1.0;
22525                   offset: 1 1;
22526                }
22527             }
22528          }
22529          part { name: "elm.swallow.pad";
22530             type: SWALLOW;
22531             description { state: "default" 0.0;
22532                fixed: 1 0;
22533                align: 0.0 0.5;
22534                rel1 {
22535                   relative: 0.0  0.0;
22536                   offset:   4    4;
22537                }
22538                rel2 {
22539                   relative: 1.0  1.0;
22540                   offset:   -4   -5;
22541                }
22542             }
22543          }
22544          part { name: "elm.swallow.icon";
22545             clip_to: "disclip";
22546             type: SWALLOW;
22547             description { state: "default" 0.0;
22548                fixed: 1 0;
22549                align: 0.5 0.5;
22550                rel1 {
22551                   to_x: "elm.swallow.pad";
22552                   relative: 0.0  0.0;
22553                   offset:   -1    4;
22554                }
22555                rel2 {
22556                   to_x: "elm.swallow.pad";
22557                   relative: 1.0  1.0;
22558                   offset:   -1   -5;
22559                }
22560             }
22561          }
22562          part { name: "elm.text";
22563             clip_to: "disclip";
22564             type:           TEXT;
22565             effect:         SOFT_SHADOW;
22566             mouse_events:   0;
22567             scale: 1;
22568             description {
22569                state: "default" 0.0;
22570 //               min:      16 16;
22571                rel1 {
22572                   to_y:     "elm.swallow.icon";
22573                   relative: 0.0  1.0;
22574                   offset:   0 4;
22575                }
22576                rel2 {
22577                   relative: 1.0  1.0;
22578                   offset:   -5 -5;
22579                }
22580                color: 0 0 0 255;
22581                color3: 0 0 0 0;
22582                text {
22583                   font: "Sans";
22584                   size: 10;
22585                   min: 1 1;
22586 //                  min: 0 1;
22587                   align: 0.5 0.5;
22588                   text_class: "list_item";
22589                }
22590             }
22591             description { state: "selected" 0.0;
22592                inherit: "default" 0.0;
22593                color: 224 224 224 255;
22594                color3: 0 0 0 64;
22595             }
22596          }
22597          part { name: "fg1";
22598             clip_to: "disclip";
22599             mouse_events: 0;
22600             description { state: "default" 0.0;
22601                visible: 0;
22602                color: 255 255 255 0;
22603                rel1.to: "bg";
22604                rel2.relative: 1.0 0.5;
22605                rel2.to: "bg";
22606                image {
22607                   normal: "bt_sm_hilight.png";
22608                   border: 6 6 6 0;
22609                }
22610             }
22611             description { state: "selected" 0.0;
22612                inherit: "default" 0.0;
22613                visible: 1;
22614                color: 255 255 255 255;
22615             }
22616          }
22617          part { name: "fg2";
22618             clip_to: "disclip";
22619             mouse_events: 0;
22620             description { state: "default" 0.0;
22621                visible: 0;
22622                color: 255 255 255 0;
22623                rel1.to: "bg";
22624                rel2.to: "bg";
22625                image {
22626                   normal: "bt_sm_shine.png";
22627                   border: 6 6 6 0;
22628                }
22629             }
22630             description { state: "selected" 0.0;
22631                inherit: "default" 0.0;
22632                visible: 1;
22633                color: 255 255 255 255;
22634             }
22635          }
22636          part { name: "disclip";
22637             type: RECT;
22638             description { state: "default" 0.0;
22639                rel1.to: "bg";
22640                rel2.to: "bg";
22641             }
22642             description { state: "disabled" 0.0;
22643                inherit: "default" 0.0;
22644                color: 255 255 255 64;
22645             }
22646          }
22647       }
22648       programs {
22649          // signal: elm,state,%s,active
22650          //   a "check" item named %s went active
22651          // signal: elm,state,%s,passive
22652          //   a "check" item named %s went passive
22653          // default is passive
22654          program {
22655             name:    "go_active";
22656             signal:  "elm,state,selected";
22657             source:  "elm";
22658             action:  STATE_SET "selected" 0.0;
22659             target:  "bg";
22660             target:  "fg1";
22661             target:  "fg2";
22662             target:  "elm.text";
22663          }
22664          program {
22665             name:    "go_passive";
22666             signal:  "elm,state,unselected";
22667             source:  "elm";
22668             action:  STATE_SET "default" 0.0;
22669             target:  "bg";
22670             target:  "fg1";
22671             target:  "fg2";
22672             target:  "elm.text";
22673             transition: LINEAR 0.1;
22674          }
22675          program {
22676             name:    "go_disabled";
22677             signal:  "elm,state,disabled";
22678             source:  "elm";
22679             action:  STATE_SET "disabled" 0.0;
22680             target:  "disclip";
22681          }
22682          program {
22683             name:    "go_enabled";
22684             signal:  "elm,state,enabled";
22685             source:  "elm";
22686             action:  STATE_SET "default" 0.0;
22687             target:  "disclip";
22688          }
22689       }
22690    }
22691
22692    group { name: "elm/genlist/tree/icon_top_text_bottom/default";
22693       data.item: "stacking" "above";
22694       data.item: "selectraise" "on";
22695       data.item: "labels" "elm.text";
22696       data.item: "icons" "elm.swallow.icon";
22697       data.item: "treesize" "20";
22698 //      data.item: "states" "";
22699       images {
22700          image: "bt_sm_base1.png" COMP;
22701          image: "bt_sm_shine.png" COMP;
22702          image: "bt_sm_hilight.png" COMP;
22703          image: "ilist_1.png" COMP;
22704          image: "ilist_item_shadow.png" COMP;
22705          image: "icon_arrow_right.png" COMP;
22706          image: "icon_arrow_down.png" COMP;
22707       }
22708       parts {
22709          part {
22710             name:           "event";
22711             type:           RECT;
22712             repeat_events: 1;
22713             description {
22714                state: "default" 0.0;
22715                color: 0 0 0 0;
22716             }
22717          }
22718          part {
22719             name: "base_sh";
22720             mouse_events: 0;
22721             description {
22722                state: "default" 0.0;
22723                align: 0.0 0.0;
22724                min: 0 10;
22725                fixed: 1 1;
22726                rel1 {
22727                   to: "base";
22728                   relative: 0.0 1.0;
22729                   offset: 0 0;
22730                }
22731                rel2 {
22732                   to: "base";
22733                   relative: 1.0 1.0;
22734                   offset: -1 0;
22735                }
22736                image {
22737                   normal: "ilist_item_shadow.png";
22738                }
22739                fill.smooth: 0;
22740             }
22741          }
22742          part {
22743             name: "base";
22744             mouse_events: 0;
22745             description {
22746                state: "default" 0.0;
22747                image {
22748                   normal: "ilist_1.png";
22749                   border: 2 2 2 2;
22750                }
22751                fill.smooth: 0;
22752             }
22753          }
22754          part { name: "bg";
22755             clip_to: "disclip";
22756             mouse_events: 0;
22757             description { state: "default" 0.0;
22758                visible: 0;
22759                color: 255 255 255 0;
22760                rel1 {
22761                   relative: 0.0 0.0;
22762                   offset: -5 -5;
22763                }
22764                rel2 {
22765                   relative: 1.0 1.0;
22766                   offset: 4 4;
22767                }
22768                image {
22769                   normal: "bt_sm_base1.png";
22770                   border: 6 6 6 6;
22771                }
22772                image.middle: SOLID;
22773             }
22774             description { state: "selected" 0.0;
22775                inherit: "default" 0.0;
22776                visible: 1;
22777                color: 255 255 255 255;
22778                rel1 {
22779                   relative: 0.0 0.0;
22780                   offset: -2 -2;
22781                }
22782                rel2 {
22783                   relative: 1.0 1.0;
22784                   offset: 1 1;
22785                }
22786             }
22787          }
22788          part { name: "elm.swallow.pad";
22789             type: SWALLOW;
22790             description { state: "default" 0.0;
22791                fixed: 1 0;
22792                align: 0.0 0.5;
22793                rel1 {
22794                   relative: 0.0  0.0;
22795                   offset:   4    4;
22796                }
22797                rel2 {
22798                   relative: 0.0  1.0;
22799                   offset:   4   -5;
22800                }
22801             }
22802          }
22803          part { name: "arrow";
22804             clip_to: "disclip";
22805             ignore_flags: ON_HOLD;
22806             description { state: "default" 0.0;
22807                fixed: 1 0;
22808                align: 0.0 0.5;
22809                aspect: 1.0 1.0;
22810                rel1 {
22811                   to_x: "elm.swallow.pad";
22812                   relative: 1.0  0.0;
22813                   offset:   -1    4;
22814                }
22815                rel2 {
22816                   to_x: "elm.swallow.pad";
22817                   relative: 1.0  1.0;
22818                   offset:   -1   -5;
22819                }
22820                image.normal: "icon_arrow_right.png";
22821             }
22822             description { state: "active" 0.0;
22823                inherit: "default" 0.0;
22824                image.normal: "icon_arrow_down.png";
22825             }
22826          }
22827          part { name: "elm.swallow.icon";
22828             clip_to: "disclip";
22829             type: SWALLOW;
22830             description { state: "default" 0.0;
22831                fixed: 1 0;
22832                align: 0.5 0.5;
22833                rel1 {
22834                   to_x: "arrow";
22835                   relative: 1.0  0.0;
22836                   offset:   4    4;
22837                }
22838                rel2 {
22839                   relative: 1.0  1.0;
22840                   offset:   -4   -5;
22841                }
22842             }
22843          }
22844          part { name: "elm.text";
22845             clip_to: "disclip";
22846             type:           TEXT;
22847             effect:         SOFT_SHADOW;
22848             mouse_events:   0;
22849             scale: 1;
22850             description {
22851                state: "default" 0.0;
22852 //               min: 16 16;
22853                rel1 {
22854                   to_y:     "elm.swallow.icon";
22855                   relative: 0.0  1.0;
22856                   offset:   0 4;
22857                }
22858                rel2 {
22859                   relative: 1.0  1.0;
22860                   offset:   -5 -5;
22861                }
22862                color: 0 0 0 255;
22863                color3: 0 0 0 0;
22864                text {
22865                   font: "Sans";
22866                   size: 10;
22867                   min: 1 1;
22868 //                  min: 0 1;
22869                   align: 0.5 0.5;
22870                   text_class: "list_item";
22871                }
22872             }
22873             description { state: "selected" 0.0;
22874                inherit: "default" 0.0;
22875                color: 224 224 224 255;
22876                color3: 0 0 0 64;
22877             }
22878          }
22879          part { name: "fg1";
22880             clip_to: "disclip";
22881             mouse_events: 0;
22882             description { state: "default" 0.0;
22883                visible: 0;
22884                color: 255 255 255 0;
22885                rel1.to: "bg";
22886                rel2.relative: 1.0 0.5;
22887                rel2.to: "bg";
22888                image {
22889                   normal: "bt_sm_hilight.png";
22890                   border: 6 6 6 0;
22891                }
22892             }
22893             description { state: "selected" 0.0;
22894                inherit: "default" 0.0;
22895                visible: 1;
22896                color: 255 255 255 255;
22897             }
22898          }
22899          part { name: "fg2";
22900             clip_to: "disclip";
22901             mouse_events: 0;
22902             description { state: "default" 0.0;
22903                visible: 0;
22904                color: 255 255 255 0;
22905                rel1.to: "bg";
22906                rel2.to: "bg";
22907                image {
22908                   normal: "bt_sm_shine.png";
22909                   border: 6 6 6 0;
22910                }
22911             }
22912             description { state: "selected" 0.0;
22913                inherit: "default" 0.0;
22914                visible: 1;
22915                color: 255 255 255 255;
22916             }
22917          }
22918          part { name: "disclip";
22919             type: RECT;
22920             description { state: "default" 0.0;
22921                rel1.to: "bg";
22922                rel2.to: "bg";
22923             }
22924             description { state: "disabled" 0.0;
22925                inherit: "default" 0.0;
22926                color: 255 255 255 64;
22927             }
22928          }
22929       }
22930       programs {
22931          // signal: elm,state,%s,active
22932          //   a "check" item named %s went active
22933          // signal: elm,state,%s,passive
22934          //   a "check" item named %s went passive
22935          // default is passive
22936          program {
22937             name:    "go_active";
22938             signal:  "elm,state,selected";
22939             source:  "elm";
22940             action:  STATE_SET "selected" 0.0;
22941             target:  "bg";
22942             target:  "fg1";
22943             target:  "fg2";
22944             target:  "elm.text";
22945          }
22946          program {
22947             name:    "go_passive";
22948             signal:  "elm,state,unselected";
22949             source:  "elm";
22950             action:  STATE_SET "default" 0.0;
22951             target:  "bg";
22952             target:  "fg1";
22953             target:  "fg2";
22954             target:  "elm.text";
22955             transition: LINEAR 0.1;
22956          }
22957          program {
22958             name:    "go_disabled";
22959             signal:  "elm,state,disabled";
22960             source:  "elm";
22961             action:  STATE_SET "disabled" 0.0;
22962             target:  "disclip";
22963          }
22964          program {
22965             name:    "go_enabled";
22966             signal:  "elm,state,enabled";
22967             source:  "elm";
22968             action:  STATE_SET "default" 0.0;
22969             target:  "disclip";
22970          }
22971          program {
22972             name:    "expand";
22973             signal:  "mouse,up,1";
22974             source:  "arrow";
22975             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
22976          }
22977          program {
22978             name:    "go_expanded";
22979             signal:  "elm,state,expanded";
22980             source:  "elm";
22981             action:  STATE_SET "active" 0.0;
22982             target:  "arrow";
22983          }
22984          program {
22985             name:    "go_contracted";
22986             signal:  "elm,state,contracted";
22987             source:  "elm";
22988             action:  STATE_SET "default" 0.0;
22989             target:  "arrow";
22990          }
22991       }
22992    }
22993    group { name: "elm/genlist/tree_odd/icon_top_text_bottom/default";
22994       data.item: "stacking" "below";
22995       data.item: "selectraise" "on";
22996       data.item: "labels" "elm.text";
22997       data.item: "icons" "elm.swallow.icon";
22998       data.item: "treesize" "20";
22999 //      data.item: "states" "";
23000       images {
23001          image: "bt_sm_base1.png" COMP;
23002          image: "bt_sm_shine.png" COMP;
23003          image: "bt_sm_hilight.png" COMP;
23004          image: "ilist_2.png" COMP;
23005          image: "icon_arrow_right.png" COMP;
23006          image: "icon_arrow_down.png" COMP;
23007       }
23008       parts {
23009          part {
23010             name:           "event";
23011             type:           RECT;
23012             repeat_events: 1;
23013             description {
23014                state: "default" 0.0;
23015                color: 0 0 0 0;
23016             }
23017          }
23018          part {
23019             name: "base";
23020             mouse_events: 0;
23021             description {
23022                state: "default" 0.0;
23023                image {
23024                   normal: "ilist_2.png";
23025                   border: 2 2 2 2;
23026                }
23027                fill.smooth: 0;
23028             }
23029          }
23030          part { name: "bg";
23031             clip_to: "disclip";
23032             mouse_events: 0;
23033             description { state: "default" 0.0;
23034                visible: 0;
23035                color: 255 255 255 0;
23036                rel1 {
23037                   relative: 0.0 0.0;
23038                   offset: -5 -5;
23039                }
23040                rel2 {
23041                   relative: 1.0 1.0;
23042                   offset: 4 4;
23043                }
23044                image {
23045                   normal: "bt_sm_base1.png";
23046                   border: 6 6 6 6;
23047                }
23048                image.middle: SOLID;
23049             }
23050             description { state: "selected" 0.0;
23051                inherit: "default" 0.0;
23052                visible: 1;
23053                color: 255 255 255 255;
23054                rel1 {
23055                   relative: 0.0 0.0;
23056                   offset: -2 -2;
23057                }
23058                rel2 {
23059                   relative: 1.0 1.0;
23060                   offset: 1 1;
23061                }
23062             }
23063          }
23064          part { name: "elm.swallow.pad";
23065             type: SWALLOW;
23066             description { state: "default" 0.0;
23067                fixed: 1 0;
23068                align: 0.0 0.5;
23069                rel1 {
23070                   relative: 0.0  0.0;
23071                   offset:   4    4;
23072                }
23073                rel2 {
23074                   relative: 0.0  1.0;
23075                   offset:   4   -5;
23076                }
23077             }
23078          }
23079          part { name: "arrow";
23080             clip_to: "disclip";
23081             ignore_flags: ON_HOLD;
23082             description { state: "default" 0.0;
23083                fixed: 1 0;
23084                align: 0.0 0.5;
23085                aspect: 1.0 1.0;
23086                rel1 {
23087                   to_x: "elm.swallow.pad";
23088                   relative: 1.0  0.0;
23089                   offset:   -1    4;
23090                }
23091                rel2 {
23092                   to_x: "elm.swallow.pad";
23093                   relative: 1.0  1.0;
23094                   offset:   -1   -5;
23095                }
23096                image.normal: "icon_arrow_right.png";
23097             }
23098             description { state: "active" 0.0;
23099                inherit: "default" 0.0;
23100                image.normal: "icon_arrow_down.png";
23101             }
23102          }
23103          part { name: "elm.swallow.icon";
23104             clip_to: "disclip";
23105             type: SWALLOW;
23106             description { state: "default" 0.0;
23107                fixed: 1 0;
23108                align: 0.5 0.5;
23109                rel1 {
23110                   to_x: "arrow";
23111                   relative: 1.0  0.0;
23112                   offset:   4    4;
23113                }
23114                rel2 {
23115                   relative: 1.0  1.0;
23116                   offset:   -4   -5;
23117                }
23118             }
23119          }
23120          part { name: "elm.text";
23121             clip_to: "disclip";
23122             type:           TEXT;
23123             effect:         SOFT_SHADOW;
23124             mouse_events:   0;
23125             scale: 1;
23126             description {
23127                state: "default" 0.0;
23128 //               min: 16 16;
23129                rel1 {
23130                   to_y:     "elm.swallow.icon";
23131                   relative: 0.0  1.0;
23132                   offset:   0 4;
23133                }
23134                rel2 {
23135                   relative: 1.0  1.0;
23136                   offset:   -5 -5;
23137                }
23138                color: 0 0 0 255;
23139                color3: 0 0 0 0;
23140                text {
23141                   font: "Sans";
23142                   size: 10;
23143                   min: 1 1;
23144 //                  min: 0 1;
23145                   align: 0.5 0.5;
23146                   text_class: "list_item";
23147                }
23148             }
23149             description { state: "selected" 0.0;
23150                inherit: "default" 0.0;
23151                color: 224 224 224 255;
23152                color3: 0 0 0 64;
23153             }
23154          }
23155          part { name: "fg1";
23156             clip_to: "disclip";
23157             mouse_events: 0;
23158             description { state: "default" 0.0;
23159                visible: 0;
23160                color: 255 255 255 0;
23161                rel1.to: "bg";
23162                rel2.relative: 1.0 0.5;
23163                rel2.to: "bg";
23164                image {
23165                   normal: "bt_sm_hilight.png";
23166                   border: 6 6 6 0;
23167                }
23168             }
23169             description { state: "selected" 0.0;
23170                inherit: "default" 0.0;
23171                visible: 1;
23172                color: 255 255 255 255;
23173             }
23174          }
23175          part { name: "fg2";
23176             clip_to: "disclip";
23177             mouse_events: 0;
23178             description { state: "default" 0.0;
23179                visible: 0;
23180                color: 255 255 255 0;
23181                rel1.to: "bg";
23182                rel2.to: "bg";
23183                image {
23184                   normal: "bt_sm_shine.png";
23185                   border: 6 6 6 0;
23186                }
23187             }
23188             description { state: "selected" 0.0;
23189                inherit: "default" 0.0;
23190                visible: 1;
23191                color: 255 255 255 255;
23192             }
23193          }
23194          part { name: "disclip";
23195             type: RECT;
23196             description { state: "default" 0.0;
23197                rel1.to: "bg";
23198                rel2.to: "bg";
23199             }
23200             description { state: "disabled" 0.0;
23201                inherit: "default" 0.0;
23202                color: 255 255 255 64;
23203             }
23204          }
23205       }
23206       programs {
23207          // signal: elm,state,%s,active
23208          //   a "check" item named %s went active
23209          // signal: elm,state,%s,passive
23210          //   a "check" item named %s went passive
23211          // default is passive
23212          program {
23213             name:    "go_active";
23214             signal:  "elm,state,selected";
23215             source:  "elm";
23216             action:  STATE_SET "selected" 0.0;
23217             target:  "bg";
23218             target:  "fg1";
23219             target:  "fg2";
23220             target:  "elm.text";
23221          }
23222          program {
23223             name:    "go_passive";
23224             signal:  "elm,state,unselected";
23225             source:  "elm";
23226             action:  STATE_SET "default" 0.0;
23227             target:  "bg";
23228             target:  "fg1";
23229             target:  "fg2";
23230             target:  "elm.text";
23231             transition: LINEAR 0.1;
23232          }
23233          program {
23234             name:    "go_disabled";
23235             signal:  "elm,state,disabled";
23236             source:  "elm";
23237             action:  STATE_SET "disabled" 0.0;
23238             target:  "disclip";
23239          }
23240          program {
23241             name:    "go_enabled";
23242             signal:  "elm,state,enabled";
23243             source:  "elm";
23244             action:  STATE_SET "default" 0.0;
23245             target:  "disclip";
23246          }
23247          program {
23248             name:    "expand";
23249             signal:  "mouse,up,1";
23250             source:  "arrow";
23251             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
23252          }
23253          program {
23254             name:    "go_expanded";
23255             signal:  "elm,state,expanded";
23256             source:  "elm";
23257             action:  STATE_SET "active" 0.0;
23258             target:  "arrow";
23259          }
23260          program {
23261             name:    "go_contracted";
23262             signal:  "elm,state,contracted";
23263             source:  "elm";
23264             action:  STATE_SET "default" 0.0;
23265             target:  "arrow";
23266          }
23267       }
23268    }
23269
23270
23271 ///////////////////////////////////////////////////////////////////////////////
23272    group { name: "elm/check/base/default";
23273       images {
23274          image: "check_base.png" COMP;
23275          image: "check.png" COMP;
23276          image: "check2.png" COMP;
23277       }
23278       parts {
23279          part { name: "bg";
23280             mouse_events: 0;
23281             scale: 1;
23282             description { state: "default" 0.0;
23283                rel1.offset: 1 1;
23284                rel2.relative: 0.0 1.0;
23285                rel2.offset: 1 -2;
23286                align: 0.0 0.5;
23287                min: 16 16;
23288                max: 16 16;
23289                aspect: 1.0 1.0;
23290                aspect_preference: VERTICAL;
23291                image {
23292                   normal: "check_base.png";
23293                   border: 5 5 5 5;
23294                   middle: 0;
23295                }
23296                fill.smooth : 0;
23297             }
23298          }
23299          part { name: "check";
23300             mouse_events: 0;
23301             scale: 1;
23302             description { state: "default" 0.0;
23303                rel1 {
23304                   to: "bg";
23305                   offset: 1 1;
23306                }
23307                rel2 {
23308                   to: "bg";
23309                   offset: -2 -2;
23310                }
23311                visible: 0;
23312                color: 255 255 255 255;
23313                image.normal: "check.png";
23314             }
23315             description { state: "visible" 0.0;
23316                inherit: "default" 0.0;
23317                visible: 1;
23318             }
23319             description { state: "disabled" 0.0;
23320                inherit: "default" 0.0;
23321                visible: 0;
23322                color: 128 128 128 128;
23323             }
23324             description { state: "disabled_visible" 0.0;
23325                inherit: "default" 0.0;
23326                color: 128 128 128 128;
23327                visible: 1;
23328             }
23329          }
23330          part { name: "elm.swallow.content";
23331             type: SWALLOW;
23332             description { state: "default" 0.0;
23333                fixed: 1 0;
23334                visible: 0;
23335                align: 0.0 0.5;
23336           rel1.to_x: "bg";
23337                rel1.relative: 1.0 0.0;
23338                rel1.offset: 1 1;
23339           rel2.to_x: "bg";
23340                rel2.offset: 1 -2;
23341                rel2.relative: 1.0 1.0;
23342             }
23343             description { state: "visible" 0.0;
23344                inherit: "default" 0.0;
23345           fixed: 1 0;
23346                visible: 1;
23347                aspect: 1.0 1.0;
23348             }
23349             description { state: "disabled" 0.0;
23350                inherit: "default" 0.0;
23351                color: 128 128 128 128;
23352             }
23353             description { state: "disabled_visible" 0.0;
23354                inherit: "default" 0.0;
23355                color: 128 128 128 128;
23356           fixed: 1 0;
23357                visible: 1;
23358                aspect: 1.0 1.0;
23359             }
23360          }
23361          part { name: "elm.text";
23362             type: TEXT;
23363             mouse_events: 0;
23364             scale: 1;
23365             description { state: "default" 0.0;
23366                visible: 0;
23367                rel1.to_x: "elm.swallow.content";
23368                rel1.relative: 1.0 0.0;
23369                rel1.offset: 1 1;
23370                rel2.relative: 1.0 1.0;
23371                rel2.offset: -2 -2;
23372                color: 0 0 0 255;
23373                text {
23374                   font: "Sans,Edje-Vera";
23375                   size: 10;
23376                   min: 0 1;
23377                   align: 0.0 0.5;
23378                }
23379             }
23380             description { state: "visible" 0.0;
23381                inherit: "default" 0.0;
23382                visible: 1;
23383                text.min: 1 1;
23384             }
23385             description { state: "disabled" 0.0;
23386                inherit: "default" 0.0;
23387                color: 0 0 0 128;
23388                color3: 0 0 0 0;
23389             }
23390             description { state: "disabled_visible" 0.0;
23391                inherit: "default" 0.0;
23392                color: 0 0 0 128;
23393                color3: 0 0 0 0;
23394                visible: 1;
23395                text.min: 1 1;
23396             }
23397          }
23398          part { name: "events";
23399             type: RECT;
23400             ignore_flags: ON_HOLD;
23401             description { state: "default" 0.0;
23402                color: 0 0 0 0;
23403             }
23404          }
23405          part { name: "disabler";
23406             type: RECT;
23407             description { state: "default" 0.0;
23408                color: 0 0 0 0;
23409                visible: 0;
23410             }
23411             description { state: "disabled" 0.0;
23412                inherit: "default" 0.0;
23413                visible: 1;
23414             }
23415          }
23416       }
23417       programs {
23418          program { name: "click";
23419             signal: "mouse,up,1";
23420             source: "events";
23421             action: SIGNAL_EMIT "elm,action,check,toggle" "";
23422          }
23423          program { name: "check_on";
23424             signal: "elm,state,check,on";
23425             source: "elm";
23426             action:  STATE_SET "visible" 0.0;
23427             target: "check";
23428          }
23429          program { name: "check_off";
23430             signal: "elm,state,check,off";
23431             source: "elm";
23432             action:  STATE_SET "default" 0.0;
23433             target: "check";
23434          }
23435          program { name: "text_show";
23436             signal: "elm,state,text,visible";
23437             source: "elm";
23438             action:  STATE_SET "visible" 0.0;
23439             target: "elm.text";
23440          }
23441          program { name: "text_hide";
23442             signal: "elm,state,text,hidden";
23443             source: "elm";
23444             action:  STATE_SET "default" 0.0;
23445             target: "elm.text";
23446          }
23447          program { name: "icon_show";
23448             signal: "elm,state,icon,visible";
23449             source: "elm";
23450             action:  STATE_SET "visible" 0.0;
23451             target: "elm.swallow.content";
23452          }
23453          program { name: "icon_hide";
23454             signal: "elm,state,icon,hidden";
23455             source: "elm";
23456             action:  STATE_SET "default" 0.0;
23457             target: "elm.swallow.content";
23458          }
23459          program { name: "disable";
23460             signal: "elm,state,disabled";
23461             source: "elm";
23462             action: STATE_SET "disabled" 0.0;
23463             target: "disabler";
23464             after: "disable_text";
23465          }
23466          program { name: "disable_text";
23467             script {
23468                new st[31];
23469                new Float:vl;
23470                get_state(PART:"elm.text", st, 30, vl);
23471                if (!strcmp(st, "visible"))
23472                  set_state(PART:"elm.text", "disabled_visible", 0.0);
23473                else
23474                  set_state(PART:"elm.text", "disabled", 0.0);
23475
23476                get_state(PART:"elm.swallow.content", st, 30, vl);
23477                if (!strcmp(st, "visible"))
23478                  set_state(PART:"elm.swallow.content", "disabled_visible", 0.0);
23479                else
23480                  set_state(PART:"elm.swallow.content", "disabled", 0.0);
23481
23482                get_state(PART:"check", st, 30, vl);
23483                if (!strcmp(st, "visible"))
23484                  set_state(PART:"check", "disabled_visible", 0.0);
23485                else
23486                  set_state(PART:"check", "disabled", 0.0);
23487             }
23488          }
23489          program { name: "enable";
23490             signal: "elm,state,enabled";
23491             source: "elm";
23492             action: STATE_SET "default" 0.0;
23493             target: "disabler";
23494             after: "enable_text";
23495          }
23496          program { name: "enable_text";
23497             script {
23498                new st[31];
23499                new Float:vl;
23500                get_state(PART:"elm.text", st, 30, vl);
23501                if (!strcmp(st, "disabled_visible"))
23502                  set_state(PART:"elm.text", "visible", 0.0);
23503                else
23504                  set_state(PART:"elm.text", "default", 0.0);
23505
23506                get_state(PART:"elm.swallow.content", st, 30, vl);
23507                if (!strcmp(st, "visible"))
23508                  set_state(PART:"elm.swallow.content", "visible", 0.0);
23509                else
23510                  set_state(PART:"elm.swallow.content", "default", 0.0);
23511
23512                get_state(PART:"check", st, 30, vl);
23513                if (!strcmp(st, "visible"))
23514                  set_state(PART:"check", "visible", 0.0);
23515                else
23516                  set_state(PART:"check", "default", 0.0);
23517             }
23518          }
23519       }
23520    }
23521 ///////////////////////////////////////////////////////////////////////////////
23522    group { name: "elm/radio/base/default";
23523       images {
23524          image: "radio_base.png" COMP;
23525          image: "radio.png" COMP;
23526          image: "radio2.png" COMP;
23527       }
23528       parts {
23529          part { name: "bg";
23530             mouse_events: 0;
23531             scale: 1;
23532             description { state: "default" 0.0;
23533                rel1.offset: 1 1;
23534                rel2.relative: 0.0 1.0;
23535                rel2.offset: 1 -2;
23536                align: 0.0 0.5;
23537                min: 16 16;
23538                max: 16 16;
23539                aspect: 1.0 1.0;
23540                aspect_preference: VERTICAL;
23541                image.normal: "radio_base.png";
23542             }
23543          }
23544          part { name: "radio";
23545             mouse_events: 0;
23546             scale: 1;
23547             description { state: "default" 0.0;
23548                rel1.to: "bg";
23549                rel2.to: "bg";
23550                visible: 0;
23551                image.normal: "radio.png";
23552             }
23553             description { state: "visible" 0.0;
23554                inherit: "default" 0.0;
23555                visible: 1;
23556             }
23557          }
23558          part { name: "elm.swallow.content";
23559             type: SWALLOW;
23560             description { state: "default" 0.0;
23561                fixed: 1 0;
23562                visible: 0;
23563                align: 0.0 0.5;
23564                color: 0 0 0 0;
23565                rel1.to_x: "bg";
23566                rel1.relative: 1.0 0.0;
23567                rel1.offset: 1 1;
23568                rel2.to_x: "bg";
23569                rel2.relative: 1.0 1.0;
23570                rel2.offset: 2 -2;
23571             }
23572             description { state: "visible" 0.0;
23573                inherit: "default" 0.0;
23574                visible: 1;
23575                color: 255 255 255 255;
23576                aspect: 1.0 1.0;
23577             }
23578             description { state: "disabled" 0.0;
23579                inherit: "default" 0.0;
23580                color: 128 128 128 128;
23581             }
23582             description { state: "disabled_visible" 0.0;
23583                inherit: "default" 0.0;
23584                color: 128 128 128 128;
23585                visible: 1;
23586                aspect: 1.0 1.0;
23587             }
23588          }
23589          part { name: "elm.text";
23590             type: TEXT;
23591             mouse_events: 0;
23592             scale: 1;
23593             description { state: "default" 0.0;
23594                visible: 0;
23595                rel1.to_x: "elm.swallow.content";
23596                rel1.relative: 1.0 0.0;
23597                rel1.offset: 1 1;
23598                rel2.relative: 1.0 1.0;
23599                rel2.offset: -2 -2;
23600                color: 0 0 0 255;
23601                text {
23602                   font: "Sans,Edje-Vera";
23603                   size: 10;
23604                   min: 0 0;
23605                   align: 0.0 0.5;
23606                }
23607             }
23608             description { state: "visible" 0.0;
23609                inherit: "default" 0.0;
23610                visible: 1;
23611                text.min: 1 1;
23612             }
23613             description { state: "disabled" 0.0;
23614                inherit: "default" 0.0;
23615                color: 0 0 0 128;
23616                color3: 0 0 0 0;
23617             }
23618             description { state: "disabled_visible" 0.0;
23619                inherit: "default" 0.0;
23620                color: 0 0 0 128;
23621                color3: 0 0 0 0;
23622                visible: 1;
23623                text.min: 1 1;
23624             }
23625          }
23626          part { name: "events";
23627             type: RECT;
23628             ignore_flags: ON_HOLD;
23629             description { state: "default" 0.0;
23630                color: 0 0 0 0;
23631             }
23632          }
23633          part { name: "disabler";
23634             type: RECT;
23635             description { state: "default" 0.0;
23636                color: 0 0 0 0;
23637                visible: 0;
23638             }
23639             description { state: "disabled" 0.0;
23640                inherit: "default" 0.0;
23641                visible: 1;
23642             }
23643          }
23644       }
23645       programs {
23646          program { name: "click";
23647             signal: "mouse,up,1";
23648             source: "events";
23649             action: SIGNAL_EMIT "elm,action,radio,toggle" "";
23650          }
23651          program { name: "radio_on";
23652             signal: "elm,state,radio,on";
23653             source: "elm";
23654             action:  STATE_SET "visible" 0.0;
23655             target: "radio";
23656          }
23657          program { name: "radio_off";
23658             signal: "elm,state,radio,off";
23659             source: "elm";
23660             action:  STATE_SET "default" 0.0;
23661             target: "radio";
23662          }
23663          program { name: "text_show";
23664             signal: "elm,state,text,visible";
23665             source: "elm";
23666             action:  STATE_SET "visible" 0.0;
23667             target: "elm.text";
23668          }
23669          program { name: "text_hide";
23670             signal: "elm,state,text,hidden";
23671             source: "elm";
23672             action:  STATE_SET "default" 0.0;
23673             target: "elm.text";
23674          }
23675          program { name: "icon_show";
23676             signal: "elm,state,icon,visible";
23677             source: "elm";
23678             action:  STATE_SET "visible" 0.0;
23679             target: "elm.swallow.content";
23680          }
23681          program { name: "icon_hide";
23682             signal: "elm,state,icon,hidden";
23683             source: "elm";
23684             action:  STATE_SET "default" 0.0;
23685             target: "elm.swallow.content";
23686          }
23687          program { name: "disable";
23688             signal: "elm,state,disabled";
23689             source: "elm";
23690             action: STATE_SET "disabled" 0.0;
23691             target: "disabler";
23692             after: "disable_text";
23693          }
23694          program { name: "disable_text";
23695             script {
23696                new st[31];
23697                new Float:vl;
23698                get_state(PART:"elm.text", st, 30, vl);
23699                if (!strcmp(st, "visible"))
23700                  set_state(PART:"elm.text", "disabled_visible", 0.0);
23701                else
23702                  set_state(PART:"elm.text", "disabled", 0.0);
23703
23704                get_state(PART:"elm.swallow.content", st, 30, vl);
23705                if (!strcmp(st, "visible"))
23706                  set_state(PART:"elm.swallow.content", "disabled_visible", 0.0);
23707                else
23708                  set_state(PART:"elm.swallow.content", "disabled", 0.0);
23709             }
23710          }
23711          program { name: "enable";
23712             signal: "elm,state,enabled";
23713             source: "elm";
23714             action: STATE_SET "default" 0.0;
23715             target: "disabler";
23716             after: "enable_text";
23717          }
23718          program { name: "enable_text";
23719             script {
23720                new st[31];
23721                new Float:vl;
23722                get_state(PART:"elm.text", st, 30, vl);
23723                if (!strcmp(st, "disabled_visible"))
23724                  set_state(PART:"elm.text", "visible", 0.0);
23725                else
23726                  set_state(PART:"elm.text", "default", 0.0);
23727
23728                get_state(PART:"elm.swallow.content", st, 30, vl);
23729                if (!strcmp(st, "visible"))
23730                  set_state(PART:"elm.swallow.content", "visible", 0.0);
23731                else
23732                  set_state(PART:"elm.swallow.content", "default", 0.0);
23733             }
23734          }
23735       }
23736    }
23737    group { name: "elm/genlist/tree_compress_odd/double_label/default";
23738       data.item: "stacking" "below";
23739       data.item: "selectraise" "on";
23740       data.item: "labels" "elm.text elm.text.sub";
23741       data.item: "icons" "elm.swallow.icon elm.swallow.end";
23742       data.item: "treesize" "20";
23743 //      data.item: "states" "";
23744       images {
23745          image: "bt_sm_base1.png" COMP;
23746          image: "bt_sm_shine.png" COMP;
23747          image: "bt_sm_hilight.png" COMP;
23748          image: "ilist_2.png" COMP;
23749          image: "icon_arrow_right.png" COMP;
23750          image: "icon_arrow_down.png" COMP;
23751       }
23752       parts {
23753          part {
23754             name:           "event";
23755             type:           RECT;
23756             repeat_events: 1;
23757             description {
23758                state: "default" 0.0;
23759                color: 0 0 0 0;
23760             }
23761          }
23762          part {
23763             name: "base";
23764             mouse_events: 0;
23765             description {
23766                state: "default" 0.0;
23767                image {
23768                   normal: "ilist_2.png";
23769                   border: 2 2 2 2;
23770                }
23771                fill.smooth: 0;
23772             }
23773          }
23774          part { name: "bg";
23775             clip_to: "disclip";
23776             mouse_events: 0;
23777             description { state: "default" 0.0;
23778                visible: 0;
23779                color: 255 255 255 0;
23780                rel1 {
23781                   relative: 0.0 0.0;
23782                   offset: -5 -5;
23783                }
23784                rel2 {
23785                   relative: 1.0 1.0;
23786                   offset: 4 4;
23787                }
23788                image {
23789                   normal: "bt_sm_base1.png";
23790                   border: 6 6 6 6;
23791                }
23792                image.middle: SOLID;
23793             }
23794             description { state: "selected" 0.0;
23795                inherit: "default" 0.0;
23796                visible: 1;
23797                color: 255 255 255 255;
23798                rel1 {
23799                   relative: 0.0 0.0;
23800                   offset: -2 -2;
23801                }
23802                rel2 {
23803                   relative: 1.0 1.0;
23804                   offset: 1 1;
23805                }
23806             }
23807          }
23808          part { name: "elm.swallow.pad";
23809             type: SWALLOW;
23810             description { state: "default" 0.0;
23811                fixed: 1 0;
23812                align: 0.0 0.5;
23813                rel1 {
23814                   relative: 0.0  0.0;
23815                   offset:   4    4;
23816                }
23817                rel2 {
23818                   relative: 0.0  1.0;
23819                   offset:   4   -5;
23820                }
23821             }
23822          }
23823          part { name: "arrow";
23824             clip_to: "disclip";
23825             ignore_flags: ON_HOLD;
23826             description { state: "default" 0.0;
23827                fixed: 1 0;
23828                align: 0.0 0.5;
23829                aspect: 1.0 1.0;
23830                rel1 {
23831                   to_x: "elm.swallow.pad";
23832                   relative: 1.0  0.0;
23833                   offset:   -1    4;
23834                }
23835                rel2 {
23836                   to_x: "elm.swallow.pad";
23837                   relative: 1.0  1.0;
23838                   offset:   -1   -5;
23839                }
23840                image.normal: "icon_arrow_right.png";
23841             }
23842             description { state: "active" 0.0;
23843                inherit: "default" 0.0;
23844                image.normal: "icon_arrow_down.png";
23845             }
23846          }
23847          part { name: "elm.swallow.icon";
23848             clip_to: "disclip";
23849             type: SWALLOW;
23850             description { state: "default" 0.0;
23851                fixed: 1 0;
23852                align: 0.0 0.5;
23853                rel1 {
23854                   to_x: "arrow";
23855                   relative: 1.0  0.0;
23856                   offset:   4    4;
23857                }
23858                rel2 {
23859                   to_x: "arrow";
23860                   relative: 1.0  1.0;
23861                   offset:   4   -5;
23862                }
23863             }
23864          }
23865          part { name: "elm.swallow.end";
23866             clip_to: "disclip";
23867             type: SWALLOW;
23868             description { state: "default" 0.0;
23869                fixed: 1 0;
23870                align: 1.0 0.5;
23871                aspect: 1.0 1.0;
23872                aspect_preference: VERTICAL;
23873                rel1 {
23874                   relative: 1.0  0.0;
23875                   offset:   -5    4;
23876                }
23877                rel2 {
23878                   relative: 1.0  1.0;
23879                   offset:   -5   -5;
23880                }
23881             }
23882          }
23883          part { name: "elm.text";
23884             clip_to: "disclip";
23885             type:           TEXT;
23886             effect:         SOFT_SHADOW;
23887             mouse_events:   0;
23888             scale: 1;
23889             description {
23890                state: "default" 0.0;
23891 //               min: 16 16;
23892                rel1 {
23893                   to_x:     "elm.swallow.icon";
23894                   relative: 1.0  0.0;
23895                   offset:   0 4;
23896                }
23897                rel2 {
23898                   to_x:     "elm.swallow.end";
23899                   relative: 0.0  0.5;
23900                   offset:   -1 -5;
23901                }
23902                color: 0 0 0 255;
23903                color3: 0 0 0 0;
23904                text {
23905                   font: "Sans";
23906                   size: 10;
23907 //                  min: 1 1;
23908                   min: 0 1;
23909                   align: 0.0 0.5;
23910                   text_class: "list_item";
23911                }
23912             }
23913             description { state: "selected" 0.0;
23914                inherit: "default" 0.0;
23915                color: 224 224 224 255;
23916                color3: 0 0 0 64;
23917             }
23918          }
23919          part { name: "elm.text.sub";
23920             clip_to: "disclip";
23921             type:           TEXT;
23922             mouse_events:   0;
23923             scale: 1;
23924             description {
23925                state: "default" 0.0;
23926 //               min: 16 16;
23927                rel1 {
23928                   to_x:     "elm.swallow.icon";
23929                   relative: 1.0  0.5;
23930                   offset:   0 4;
23931                }
23932                rel2 {
23933                   to_x:     "elm.swallow.end";
23934                   relative: 0.0  1.0;
23935                   offset:   -1 -5;
23936                }
23937                color: 0 0 0 128;
23938                color3: 0 0 0 0;
23939                text {
23940                   font: "Sans";
23941                   size: 8;
23942 //                  min: 1 1;
23943                   min: 0 1;
23944                   align: 0.0 0.5;
23945                   text_class: "list_item";
23946                }
23947             }
23948             description { state: "selected" 0.0;
23949                inherit: "default" 0.0;
23950                color: 128 128 128 255;
23951                color3: 0 0 0 32;
23952             }
23953          }
23954          part { name: "fg1";
23955             clip_to: "disclip";
23956             mouse_events: 0;
23957             description { state: "default" 0.0;
23958                visible: 0;
23959                color: 255 255 255 0;
23960                rel1.to: "bg";
23961                rel2.relative: 1.0 0.5;
23962                rel2.to: "bg";
23963                image {
23964                   normal: "bt_sm_hilight.png";
23965                   border: 6 6 6 0;
23966                }
23967             }
23968             description { state: "selected" 0.0;
23969                inherit: "default" 0.0;
23970                visible: 1;
23971                color: 255 255 255 255;
23972             }
23973          }
23974          part { name: "fg2";
23975             clip_to: "disclip";
23976             mouse_events: 0;
23977             description { state: "default" 0.0;
23978                visible: 0;
23979                color: 255 255 255 0;
23980                rel1.to: "bg";
23981                rel2.to: "bg";
23982                image {
23983                   normal: "bt_sm_shine.png";
23984                   border: 6 6 6 0;
23985                }
23986             }
23987             description { state: "selected" 0.0;
23988                inherit: "default" 0.0;
23989                visible: 1;
23990                color: 255 255 255 255;
23991             }
23992          }
23993          part { name: "disclip";
23994             type: RECT;
23995             description { state: "default" 0.0;
23996                rel1.to: "bg";
23997                rel2.to: "bg";
23998             }
23999             description { state: "disabled" 0.0;
24000                inherit: "default" 0.0;
24001                color: 255 255 255 64;
24002             }
24003          }
24004       }
24005       programs {
24006          // signal: elm,state,%s,active
24007          //   a "check" item named %s went active
24008          // signal: elm,state,%s,passive
24009          //   a "check" item named %s went passive
24010          // default is passive
24011          program {
24012             name:    "go_active";
24013             signal:  "elm,state,selected";
24014             source:  "elm";
24015             action:  STATE_SET "selected" 0.0;
24016             target:  "bg";
24017             target:  "fg1";
24018             target:  "fg2";
24019             target:  "elm.text";
24020             target:  "elm.text.sub";
24021          }
24022          program {
24023             name:    "go_passive";
24024             signal:  "elm,state,unselected";
24025             source:  "elm";
24026             action:  STATE_SET "default" 0.0;
24027             target:  "bg";
24028             target:  "fg1";
24029             target:  "fg2";
24030             target:  "elm.text";
24031             target:  "elm.text.sub";
24032             transition: LINEAR 0.1;
24033          }
24034          program {
24035             name:    "go_disabled";
24036             signal:  "elm,state,disabled";
24037             source:  "elm";
24038             action:  STATE_SET "disabled" 0.0;
24039             target:  "disclip";
24040          }
24041          program {
24042             name:    "go_enabled";
24043             signal:  "elm,state,enabled";
24044             source:  "elm";
24045             action:  STATE_SET "default" 0.0;
24046             target:  "disclip";
24047          }
24048          program {
24049             name:    "expand";
24050             signal:  "mouse,up,1";
24051             source:  "arrow";
24052             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
24053          }
24054          program {
24055             name:    "go_expanded";
24056             signal:  "elm,state,expanded";
24057             source:  "elm";
24058             action:  STATE_SET "active" 0.0;
24059             target:  "arrow";
24060          }
24061          program {
24062             name:    "go_contracted";
24063             signal:  "elm,state,contracted";
24064             source:  "elm";
24065             action:  STATE_SET "default" 0.0;
24066             target:  "arrow";
24067          }
24068       }
24069    }
24070
24071    group { name: "elm/genlist/item_compress/media/default";
24072       data.item: "stacking" "above";
24073       data.item: "selectraise" "on";
24074       data.item: "labels" "elm.text.title elm.text.album-artist";
24075       data.item: "treesize" "20";
24076       images {
24077          image: "bt_sm_base1.png" COMP;
24078          image: "bt_sm_shine.png" COMP;
24079          image: "bt_sm_hilight.png" COMP;
24080          image: "ilist_1.png" COMP;
24081          image: "ilist_item_shadow.png" COMP;
24082       }
24083       parts {
24084          part {
24085             name:           "event";
24086             type:           RECT;
24087             repeat_events: 1;
24088             description {
24089                state: "default" 0.0;
24090                color: 0 0 0 0;
24091             }
24092          }
24093          part {
24094             name: "base_sh";
24095             mouse_events: 0;
24096             description {
24097                state: "default" 0.0;
24098                align: 0.0 0.0;
24099                min: 0 10;
24100                fixed: 1 1;
24101                rel1 {
24102                   to: "base";
24103                   relative: 0.0 1.0;
24104                   offset: 0 0;
24105                }
24106                rel2 {
24107                   to: "base";
24108                   relative: 1.0 1.0;
24109                   offset: -1 0;
24110                }
24111                image {
24112                   normal: "ilist_item_shadow.png";
24113                }
24114                fill.smooth: 0;
24115             }
24116          }
24117          part {
24118             name: "base";
24119             mouse_events: 0;
24120             description {
24121                state: "default" 0.0;
24122                image {
24123                   normal: "ilist_1.png";
24124                   border: 2 2 2 2;
24125                }
24126                fill.smooth: 0;
24127             }
24128          }
24129          part { name: "bg";
24130             clip_to: "disclip";
24131             mouse_events: 0;
24132             description { state: "default" 0.0;
24133                visible: 0;
24134                color: 255 255 255 0;
24135                rel1 {
24136                   relative: 0.0 0.0;
24137                   offset: -5 -5;
24138                }
24139                rel2 {
24140                   relative: 1.0 1.0;
24141                   offset: 4 4;
24142                }
24143                image {
24144                   normal: "bt_sm_base1.png";
24145                   border: 6 6 6 6;
24146                }
24147                image.middle: SOLID;
24148             }
24149             description { state: "selected" 0.0;
24150                inherit: "default" 0.0;
24151                visible: 1;
24152                color: 255 255 255 255;
24153                rel1 {
24154                   relative: 0.0 0.0;
24155                   offset: -2 -2;
24156                }
24157                rel2 {
24158                   relative: 1.0 1.0;
24159                   offset: 1 1;
24160                }
24161             }
24162          }
24163          part { name: "elm.swallow.pad";
24164             type: SWALLOW;
24165             description { state: "default" 0.0;
24166                fixed: 1 0;
24167                align: 0.0 0.5;
24168                rel1 {
24169                   relative: 0.0  0.0;
24170                   offset:   4    4;
24171                }
24172                rel2 {
24173                   relative: 0.0  1.0;
24174                   offset:   4   -5;
24175                }
24176             }
24177          }
24178          part { name: "elm.text.title";
24179             clip_to: "disclip";
24180             type:           TEXT;
24181             effect:         SOFT_SHADOW;
24182             mouse_events:   0;
24183             scale: 1;
24184             description {
24185                state: "default" 0.0;
24186                rel1 {
24187                   relative: 0.0  0.0;
24188                   offset:   4 4;
24189                }
24190                rel2 {
24191                   relative: 1.0  0.5;
24192                   offset:   -1 -5;
24193                }
24194                color: 0 0 0 255;
24195                color3: 0 0 0 0;
24196                text {
24197                   font: "Sans";
24198                   size: 10;
24199                   min: 0 1;
24200                   align: 0.0 0.5;
24201                }
24202             }
24203             description { state: "selected" 0.0;
24204                inherit: "default" 0.0;
24205                color: 224 224 224 255;
24206                color3: 0 0 0 64;
24207             }
24208          }
24209          part { name: "elm.text.album-artist";
24210             clip_to: "disclip";
24211             type:           TEXT;
24212             mouse_events:   0;
24213             scale: 1;
24214             description {
24215                state: "default" 0.0;
24216                rel1 {
24217                   relative: 0.0  0.5;
24218                   offset:   4 4;
24219                }
24220                rel2 {
24221                   relative: 1.0  1.0;
24222                   offset:   -1 -5;
24223                }
24224                color: 0 0 0 128;
24225                color3: 0 0 0 0;
24226                text {
24227                   font: "Sans";
24228                   size: 8;
24229                   min: 0 1;
24230                   align: 0.0 0.5;
24231                }
24232             }
24233             description { state: "selected" 0.0;
24234                inherit: "default" 0.0;
24235                color: 128 128 128 255;
24236                color3: 0 0 0 32;
24237             }
24238          }
24239          part { name: "fg1";
24240             clip_to: "disclip";
24241             mouse_events: 0;
24242             description { state: "default" 0.0;
24243                visible: 0;
24244                color: 255 255 255 0;
24245                rel1.to: "bg";
24246                rel2.relative: 1.0 0.5;
24247                rel2.to: "bg";
24248                image {
24249                   normal: "bt_sm_hilight.png";
24250                   border: 6 6 6 0;
24251                }
24252             }
24253             description { state: "selected" 0.0;
24254                inherit: "default" 0.0;
24255                visible: 1;
24256                color: 255 255 255 255;
24257             }
24258          }
24259          part { name: "fg2";
24260             clip_to: "disclip";
24261             mouse_events: 0;
24262             description { state: "default" 0.0;
24263                visible: 0;
24264                color: 255 255 255 0;
24265                rel1.to: "bg";
24266                rel2.to: "bg";
24267                image {
24268                   normal: "bt_sm_shine.png";
24269                   border: 6 6 6 0;
24270                }
24271             }
24272             description { state: "selected" 0.0;
24273                inherit: "default" 0.0;
24274                visible: 1;
24275                color: 255 255 255 255;
24276             }
24277          }
24278          part { name: "disclip";
24279             type: RECT;
24280             description { state: "default" 0.0;
24281                rel1.to: "bg";
24282                rel2.to: "bg";
24283             }
24284             description { state: "disabled" 0.0;
24285                inherit: "default" 0.0;
24286                color: 255 255 255 64;
24287             }
24288          }
24289       }
24290       programs {
24291          // signal: elm,state,%s,active
24292          //   a "check" item named %s went active
24293          // signal: elm,state,%s,passive
24294          //   a "check" item named %s went passive
24295          // default is passive
24296          program {
24297             name:    "go_active";
24298             signal:  "elm,state,selected";
24299             source:  "elm";
24300             action:  STATE_SET "selected" 0.0;
24301             target:  "bg";
24302             target:  "fg1";
24303             target:  "fg2";
24304             target:  "elm.text.title";
24305             target:  "elm.text.album-artist";
24306          }
24307          program {
24308             name:    "go_passive";
24309             signal:  "elm,state,unselected";
24310             source:  "elm";
24311             action:  STATE_SET "default" 0.0;
24312             target:  "bg";
24313             target:  "fg1";
24314             target:  "fg2";
24315             target:  "elm.text.title";
24316             target:  "elm.text.album-artist";
24317             transition: LINEAR 0.1;
24318          }
24319          program {
24320             name:    "go_disabled";
24321             signal:  "elm,state,disabled";
24322             source:  "elm";
24323             action:  STATE_SET "disabled" 0.0;
24324             target:  "disclip";
24325          }
24326          program {
24327             name:    "go_enabled";
24328             signal:  "elm,state,enabled";
24329             source:  "elm";
24330             action:  STATE_SET "default" 0.0;
24331             target:  "disclip";
24332          }
24333       }
24334    }
24335    group { name: "elm/genlist/item_compress_odd/media/default";
24336       data.item: "stacking" "below";
24337       data.item: "selectraise" "on";
24338       data.item: "labels" "elm.text.title elm.text.album-artist";
24339       data.item: "treesize" "20";
24340       images {
24341          image: "bt_sm_base1.png" COMP;
24342          image: "bt_sm_shine.png" COMP;
24343          image: "bt_sm_hilight.png" COMP;
24344          image: "ilist_2.png" COMP;
24345       }
24346       parts {
24347          part { name: "event";
24348             type: RECT;
24349             repeat_events: 1;
24350             description {
24351                state: "default" 0.0;
24352                color: 0 0 0 0;
24353             }
24354          }
24355          part {
24356             name: "base";
24357             mouse_events: 0;
24358             description {
24359                state: "default" 0.0;
24360                image {
24361                   normal: "ilist_2.png";
24362                   border: 2 2 2 2;
24363                }
24364                fill.smooth: 0;
24365             }
24366          }
24367          part { name: "bg";
24368             clip_to: "disclip";
24369             mouse_events: 0;
24370             description { state: "default" 0.0;
24371                visible: 0;
24372                color: 255 255 255 0;
24373                rel1 {
24374                   relative: 0.0 0.0;
24375                   offset: -5 -5;
24376                }
24377                rel2 {
24378                   relative: 1.0 1.0;
24379                   offset: 4 4;
24380                }
24381                image {
24382                   normal: "bt_sm_base1.png";
24383                   border: 6 6 6 6;
24384                }
24385                image.middle: SOLID;
24386             }
24387             description { state: "selected" 0.0;
24388                inherit: "default" 0.0;
24389                visible: 1;
24390                color: 255 255 255 255;
24391                rel1 {
24392                   relative: 0.0 0.0;
24393                   offset: -2 -2;
24394                }
24395                rel2 {
24396                   relative: 1.0 1.0;
24397                   offset: 1 1;
24398                }
24399             }
24400          }
24401          part { name: "elm.swallow.pad";
24402             type: SWALLOW;
24403             description { state: "default" 0.0;
24404                fixed: 1 0;
24405                align: 0.0 0.5;
24406                rel1 {
24407                   relative: 0.0  0.0;
24408                   offset:   4    4;
24409                }
24410                rel2 {
24411                   relative: 0.0  1.0;
24412                   offset:   4   -5;
24413                }
24414             }
24415          }
24416          part { name: "elm.text.title";
24417             clip_to: "disclip";
24418             type:           TEXT;
24419             effect:         SOFT_SHADOW;
24420             mouse_events:   0;
24421             scale: 1;
24422             description {
24423                state: "default" 0.0;
24424                rel1 {
24425                   relative: 0.0  0.0;
24426                   offset:   4 4;
24427                }
24428                rel2 {
24429                   relative: 1.0  0.5;
24430                   offset:   -1 -5;
24431                }
24432                color: 0 0 0 255;
24433                color3: 0 0 0 0;
24434                text {
24435                   font: "Sans";
24436                   size: 10;
24437                   min: 0 1;
24438                   align: 0.0 0.5;
24439                }
24440             }
24441             description { state: "selected" 0.0;
24442                inherit: "default" 0.0;
24443                color: 224 224 224 255;
24444                color3: 0 0 0 64;
24445             }
24446          }
24447          part { name: "elm.text.album-artist";
24448             clip_to: "disclip";
24449             type:           TEXT;
24450             mouse_events:   0;
24451             scale: 1;
24452             description {
24453                state: "default" 0.0;
24454                rel1 {
24455                   relative: 0.0  0.5;
24456                   offset:   4 4;
24457                }
24458                rel2 {
24459                   relative: 1.0  1.0;
24460                   offset:   -1 -5;
24461                }
24462                color: 0 0 0 128;
24463                color3: 0 0 0 0;
24464                text {
24465                   font: "Sans";
24466                   size: 8;
24467                   min: 0 1;
24468                   align: 0.0 0.5;
24469                }
24470             }
24471             description { state: "selected" 0.0;
24472                inherit: "default" 0.0;
24473                color: 128 128 128 255;
24474                color3: 0 0 0 32;
24475             }
24476          }
24477          part { name: "fg1";
24478             clip_to: "disclip";
24479             mouse_events: 0;
24480             description { state: "default" 0.0;
24481                visible: 0;
24482                color: 255 255 255 0;
24483                rel1.to: "bg";
24484                rel2.relative: 1.0 0.5;
24485                rel2.to: "bg";
24486                image {
24487                   normal: "bt_sm_hilight.png";
24488                   border: 6 6 6 0;
24489                }
24490             }
24491             description { state: "selected" 0.0;
24492                inherit: "default" 0.0;
24493                visible: 1;
24494                color: 255 255 255 255;
24495             }
24496          }
24497          part { name: "fg2";
24498             clip_to: "disclip";
24499             mouse_events: 0;
24500             description { state: "default" 0.0;
24501                visible: 0;
24502                color: 255 255 255 0;
24503                rel1.to: "bg";
24504                rel2.to: "bg";
24505                image {
24506                   normal: "bt_sm_shine.png";
24507                   border: 6 6 6 0;
24508                }
24509             }
24510             description { state: "selected" 0.0;
24511                inherit: "default" 0.0;
24512                visible: 1;
24513                color: 255 255 255 255;
24514             }
24515          }
24516          part { name: "disclip";
24517             type: RECT;
24518             description { state: "default" 0.0;
24519                rel1.to: "bg";
24520                rel2.to: "bg";
24521             }
24522             description { state: "disabled" 0.0;
24523                inherit: "default" 0.0;
24524                color: 255 255 255 64;
24525             }
24526          }
24527       }
24528       programs {
24529          // signal: elm,state,%s,active
24530          //   a "check" item named %s went active
24531          // signal: elm,state,%s,passive
24532          //   a "check" item named %s went passive
24533          // default is passive
24534          program {
24535             name:    "go_active";
24536             signal:  "elm,state,selected";
24537             source:  "elm";
24538             action:  STATE_SET "selected" 0.0;
24539             target:  "bg";
24540             target:  "fg1";
24541             target:  "fg2";
24542             target:  "elm.text.title";
24543             target:  "elm.text.album-artist";
24544          }
24545          program {
24546             name:    "go_passive";
24547             signal:  "elm,state,unselected";
24548             source:  "elm";
24549             action:  STATE_SET "default" 0.0;
24550             target:  "bg";
24551             target:  "fg1";
24552             target:  "fg2";
24553             target:  "elm.text.title";
24554             target:  "elm.text.album-artist";
24555             transition: LINEAR 0.1;
24556          }
24557          program {
24558             name:    "go_disabled";
24559             signal:  "elm,state,disabled";
24560             source:  "elm";
24561             action:  STATE_SET "disabled" 0.0;
24562             target:  "disclip";
24563          }
24564          program {
24565             name:    "go_enabled";
24566             signal:  "elm,state,enabled";
24567             source:  "elm";
24568             action:  STATE_SET "default" 0.0;
24569             target:  "disclip";
24570          }
24571       }
24572    }
24573
24574    group { name: "elm/genlist/item_compress/media-album/default";
24575       data.item: "stacking" "above";
24576       data.item: "selectraise" "on";
24577       data.item: "labels" "elm.text.title elm.text.trackno elm.text.length";
24578       data.item: "states" "elm.state.trackno";
24579       data.item: "treesize" "20";
24580       images {
24581          image: "bt_sm_base1.png" COMP;
24582          image: "bt_sm_shine.png" COMP;
24583          image: "bt_sm_hilight.png" COMP;
24584          image: "ilist_1.png" COMP;
24585          image: "ilist_item_shadow.png" COMP;
24586       }
24587       script {
24588          public dot_visible;
24589       }
24590       parts {
24591          part {
24592             name: "event";
24593             type: RECT;
24594             repeat_events: 1;
24595             description {
24596                state: "default" 0.0;
24597                color: 0 0 0 0;
24598             }
24599          }
24600          part {
24601             name: "base_sh";
24602             mouse_events: 0;
24603             description {
24604                state: "default" 0.0;
24605                align: 0.0 0.0;
24606                min: 0 10;
24607                fixed: 1 1;
24608                rel1 {
24609                   to: "base";
24610                   relative: 0.0 1.0;
24611                   offset: 0 0;
24612                }
24613                rel2 {
24614                   to: "base";
24615                   relative: 1.0 1.0;
24616                   offset: -1 0;
24617                }
24618                image {
24619                   normal: "ilist_item_shadow.png";
24620                }
24621                fill.smooth: 0;
24622             }
24623          }
24624          part {
24625             name: "base";
24626             mouse_events: 0;
24627             description {
24628                state: "default" 0.0;
24629                image {
24630                   normal: "ilist_1.png";
24631                   border: 2 2 2 2;
24632                }
24633                fill.smooth: 0;
24634             }
24635          }
24636          part { name: "bg";
24637             clip_to: "disclip";
24638             mouse_events: 0;
24639             description { state: "default" 0.0;
24640                visible: 0;
24641                color: 255 255 255 0;
24642                rel1 {
24643                   relative: 0.0 0.0;
24644                   offset: -5 -5;
24645                }
24646                rel2 {
24647                   relative: 1.0 1.0;
24648                   offset: 4 4;
24649                }
24650                image {
24651                   normal: "bt_sm_base1.png";
24652                   border: 6 6 6 6;
24653                }
24654                image.middle: SOLID;
24655             }
24656             description { state: "selected" 0.0;
24657                inherit: "default" 0.0;
24658                visible: 1;
24659                color: 255 255 255 255;
24660                rel1 {
24661                   relative: 0.0 0.0;
24662                   offset: -2 -2;
24663                }
24664                rel2 {
24665                   relative: 1.0 1.0;
24666                   offset: 1 1;
24667                }
24668             }
24669          }
24670          part { name: "elm.swallow.pad";
24671             type: SWALLOW;
24672             description { state: "default" 0.0;
24673                fixed: 1 0;
24674                align: 0.0 0.5;
24675                rel1 {
24676                   relative: 0.0  0.0;
24677                   offset:   4    4;
24678                }
24679                rel2 {
24680                   relative: 0.0  1.0;
24681                   offset:   4   -5;
24682                }
24683             }
24684          }
24685          part {
24686             name: "elm.text.trackno";
24687             type: TEXT;
24688             scale: 1;
24689             mouse_events: 0;
24690             description {
24691                state: "default" 0.0;
24692                color: 255 255 255 255;
24693                align: 0.0 0.0;
24694                fixed: 1 0;
24695                rel1 {
24696                   to_y: "elm.text.title";
24697                   relative: 0.0 0.0;
24698                   offset: 5 0;
24699                }
24700                rel2 {
24701                   to_y: "elm.text.title";
24702                   relative: 0.0 1.0;
24703                   offset: 20 0;
24704                }
24705                color: 0 0 0 255;
24706                color3: 0 0 0 0;
24707                text {
24708                   font: "Sans";
24709                   size: 10;
24710                   min: 1 1;
24711                   align: 1.0 0.5;
24712                }
24713             }
24714             description { state: "selected" 0.0;
24715                inherit: "default" 0.0;
24716                color: 224 224 224 255;
24717                color3: 0 0 0 64;
24718             }
24719          }
24720          part {
24721             name: "dot";
24722             type: TEXT;
24723             scale: 1;
24724             mouse_events: 0;
24725             description {
24726                state: "default" 0.0;
24727                color: 255 255 255 255;
24728                visible: 0;
24729                fixed: 1 1;
24730                align: 0.0 0.0;
24731                rel1 {
24732                   to_x: "elm.text.trackno";
24733                   to_y: "elm.text.title";
24734                   relative: 1.0 0.0;
24735                   offset: 1 0;
24736                }
24737                rel2 {
24738                   to_x: "elm.text.trackno";
24739                   to_y: "elm.text.title";
24740                   relative: 1.0 1.0;
24741                   offset: 1 0;
24742
24743                }
24744                color: 0 0 0 255;
24745                color3: 0 0 0 0;
24746                text {
24747                   font: "Sans";
24748                   size: 10;
24749                   min: 1 1;
24750                   align: 0.0 0.5;
24751                   text: ".";
24752                }
24753             }
24754             description {
24755                state: "visible" 0.0;
24756                inherit: "default" 0.0;
24757                visible: 1;
24758             }
24759             description { state: "selected" 0.0;
24760                inherit: "default" 0.0;
24761                color: 224 224 224 255;
24762                color3: 0 0 0 64;
24763                visible: 1;
24764             }
24765          }
24766          programs {
24767             program {
24768                signal: "elm,state,elm.state.trackno,active";
24769                source: "elm";
24770                script {
24771                   set_state(PART:"dot", "visible", 0.0);
24772                   set_int(dot_visible, 1);
24773                }
24774             }
24775          }
24776          part { name: "elm.text.title";
24777             clip_to: "disclip";
24778             type:           TEXT;
24779             effect:         SOFT_SHADOW;
24780             mouse_events:   0;
24781             scale: 1;
24782             description {
24783                state: "default" 0.0;
24784                rel1 {
24785                   to_x: "dot";
24786                   relative: 0.0  0.0;
24787                   offset:   4 4;
24788                }
24789                rel2 {
24790                   relative: 1.0  0.5;
24791                   offset:   -1 -5;
24792                }
24793                color: 0 0 0 255;
24794                color3: 0 0 0 0;
24795                text {
24796                   font: "Sans";
24797                   size: 10;
24798                   min: 0 1;
24799                   align: 0.0 0.5;
24800                }
24801             }
24802             description { state: "selected" 0.0;
24803                inherit: "default" 0.0;
24804                color: 224 224 224 255;
24805                color3: 0 0 0 64;
24806             }
24807          }
24808          part { name: "elm.text.length";
24809             clip_to: "disclip";
24810             type:           TEXT;
24811             mouse_events:   0;
24812             scale: 1;
24813             description {
24814                state: "default" 0.0;
24815                rel1 {
24816                   relative: 0.0  0.5;
24817                   offset:   4 4;
24818                }
24819                rel2 {
24820                   relative: 1.0  1.0;
24821                   offset:   -1 -5;
24822                }
24823                color: 0 0 0 128;
24824                color3: 0 0 0 0;
24825                text {
24826                   font: "Sans";
24827                   size: 8;
24828                   min: 0 1;
24829                   align: 0.0 0.5;
24830                }
24831             }
24832             description { state: "selected" 0.0;
24833                inherit: "default" 0.0;
24834                color: 128 128 128 255;
24835                color3: 0 0 0 32;
24836             }
24837          }
24838          part { name: "fg1";
24839             clip_to: "disclip";
24840             mouse_events: 0;
24841             description { state: "default" 0.0;
24842                visible: 0;
24843                color: 255 255 255 0;
24844                rel1.to: "bg";
24845                rel2.relative: 1.0 0.5;
24846                rel2.to: "bg";
24847                image {
24848                   normal: "bt_sm_hilight.png";
24849                   border: 6 6 6 0;
24850                }
24851             }
24852             description { state: "selected" 0.0;
24853                inherit: "default" 0.0;
24854                visible: 1;
24855                color: 255 255 255 255;
24856             }
24857          }
24858          part { name: "fg2";
24859             clip_to: "disclip";
24860             mouse_events: 0;
24861             description { state: "default" 0.0;
24862                visible: 0;
24863                color: 255 255 255 0;
24864                rel1.to: "bg";
24865                rel2.to: "bg";
24866                image {
24867                   normal: "bt_sm_shine.png";
24868                   border: 6 6 6 0;
24869                }
24870             }
24871             description { state: "selected" 0.0;
24872                inherit: "default" 0.0;
24873                visible: 1;
24874                color: 255 255 255 255;
24875             }
24876          }
24877          part { name: "disclip";
24878             type: RECT;
24879             description { state: "default" 0.0;
24880                rel1.to: "bg";
24881                rel2.to: "bg";
24882             }
24883             description { state: "disabled" 0.0;
24884                inherit: "default" 0.0;
24885                color: 255 255 255 64;
24886             }
24887          }
24888       }
24889       programs {
24890          // signal: elm,state,%s,active
24891          //   a "check" item named %s went active
24892          // signal: elm,state,%s,passive
24893          //   a "check" item named %s went passive
24894          // default is passive
24895          program {
24896             name:    "go_active";
24897             signal:  "elm,state,selected";
24898             source:  "elm";
24899             action:  STATE_SET "selected" 0.0;
24900             target:  "bg";
24901             target:  "fg1";
24902             target:  "fg2";
24903             target:  "elm.text.title";
24904             target:  "elm.text.trackno";
24905             target:  "elm.text.length";
24906             after:   "dot_active";
24907          }
24908          program {
24909             name: "dot_active";
24910             script {
24911                if (get_int(dot_visible) == 1)
24912                   set_state(PART:"dot", "selected", 0.0);
24913             }
24914          }
24915          program {
24916             name:    "go_passive";
24917             signal:  "elm,state,unselected";
24918             source:  "elm";
24919             action:  STATE_SET "default" 0.0;
24920             target:  "bg";
24921             target:  "fg1";
24922             target:  "fg2";
24923             target:  "elm.text.title";
24924             target:  "elm.text.length";
24925             target:  "elm.text.trackno";
24926             transition: LINEAR 0.1;
24927             after:   "dot_passive";
24928          }
24929          program {
24930             name: "dot_passive";
24931             script {
24932                if (get_int(dot_visible) == 1)
24933                   set_state(PART:"dot", "visible", 0.0);
24934             }
24935          }
24936          program {
24937             name:    "go_disabled";
24938             signal:  "elm,state,disabled";
24939             source:  "elm";
24940             action:  STATE_SET "disabled" 0.0;
24941             target:  "disclip";
24942          }
24943          program {
24944             name:    "go_enabled";
24945             signal:  "elm,state,enabled";
24946             source:  "elm";
24947             action:  STATE_SET "default" 0.0;
24948             target:  "disclip";
24949          }
24950       }
24951    }
24952    group { name: "elm/genlist/item_compress_odd/media-album/default";
24953       data.item: "stacking" "below";
24954       data.item: "selectraise" "on";
24955       data.item: "labels" "elm.text.title elm.text.trackno elm.text.length";
24956       data.item: "states" "elm.state.trackno";
24957       data.item: "treesize" "20";
24958       images {
24959          image: "bt_sm_base1.png" COMP;
24960          image: "bt_sm_shine.png" COMP;
24961          image: "bt_sm_hilight.png" COMP;
24962          image: "ilist_2.png" COMP;
24963       }
24964       script {
24965          public dot_visible;
24966       }
24967       parts {
24968          part { name: "event";
24969             type: RECT;
24970             repeat_events: 1;
24971             description {
24972                state: "default" 0.0;
24973                color: 0 0 0 0;
24974             }
24975          }
24976          part {
24977             name: "base";
24978             mouse_events: 0;
24979             description {
24980                state: "default" 0.0;
24981                image {
24982                   normal: "ilist_2.png";
24983                   border: 2 2 2 2;
24984                }
24985                fill.smooth: 0;
24986             }
24987          }
24988          part { name: "bg";
24989             clip_to: "disclip";
24990             mouse_events: 0;
24991             description { state: "default" 0.0;
24992                visible: 0;
24993                color: 255 255 255 0;
24994                rel1 {
24995                   relative: 0.0 0.0;
24996                   offset: -5 -5;
24997                }
24998                rel2 {
24999                   relative: 1.0 1.0;
25000                   offset: 4 4;
25001                }
25002                image {
25003                   normal: "bt_sm_base1.png";
25004                   border: 6 6 6 6;
25005                }
25006                image.middle: SOLID;
25007             }
25008             description { state: "selected" 0.0;
25009                inherit: "default" 0.0;
25010                visible: 1;
25011                color: 255 255 255 255;
25012                rel1 {
25013                   relative: 0.0 0.0;
25014                   offset: -2 -2;
25015                }
25016                rel2 {
25017                   relative: 1.0 1.0;
25018                   offset: 1 1;
25019                }
25020             }
25021          }
25022          part { name: "elm.swallow.pad";
25023             type: SWALLOW;
25024             description { state: "default" 0.0;
25025                fixed: 1 0;
25026                align: 0.0 0.5;
25027                rel1 {
25028                   relative: 0.0  0.0;
25029                   offset:   4    4;
25030                }
25031                rel2 {
25032                   relative: 0.0  1.0;
25033                   offset:   4   -5;
25034                }
25035             }
25036          }
25037          part {
25038             name: "elm.text.trackno";
25039             type: TEXT;
25040             scale: 1;
25041             mouse_events: 0;
25042             description {
25043                state: "default" 0.0;
25044                color: 255 255 255 255;
25045                align: 0.0 0.0;
25046                fixed: 1 0;
25047                rel1 {
25048                   to_y: "elm.text.title";
25049                   relative: 0.0 0.0;
25050                   offset: 5 0;
25051                }
25052                rel2 {
25053                   to_y: "elm.text.title";
25054                   relative: 0.0 1.0;
25055                   offset: 20 0;
25056                }
25057                color: 0 0 0 255;
25058                color3: 0 0 0 0;
25059                text {
25060                   font: "Sans";
25061                   size: 10;
25062                   min: 1 1;
25063                   align: 1.0 0.5;
25064                }
25065             }
25066             description { state: "selected" 0.0;
25067                inherit: "default" 0.0;
25068                color: 224 224 224 255;
25069                color3: 0 0 0 64;
25070             }
25071          }
25072          part {
25073             name: "dot";
25074             type: TEXT;
25075             scale: 1;
25076             mouse_events: 0;
25077             description {
25078                state: "default" 0.0;
25079                color: 255 255 255 255;
25080                visible: 0;
25081                fixed: 1 1;
25082                align: 0.0 0.0;
25083                rel1 {
25084                   to_x: "elm.text.trackno";
25085                   to_y: "elm.text.title";
25086                   relative: 1.0 0.0;
25087                   offset: 1 0;
25088                }
25089                rel2 {
25090                   to_x: "elm.text.trackno";
25091                   to_y: "elm.text.title";
25092                   relative: 1.0 1.0;
25093                   offset: 1 0;
25094
25095                }
25096                color: 0 0 0 255;
25097                color3: 0 0 0 0;
25098                text {
25099                   font: "Sans";
25100                   size: 10;
25101                   min: 1 1;
25102                   align: 0.0 0.5;
25103                   text: ".";
25104                }
25105             }
25106             description {
25107                state: "visible" 0.0;
25108                inherit: "default" 0.0;
25109                visible: 1;
25110             }
25111             description { state: "selected" 0.0;
25112                inherit: "default" 0.0;
25113                color: 224 224 224 255;
25114                color3: 0 0 0 64;
25115                visible: 1;
25116             }
25117          }
25118          programs {
25119             program {
25120                signal: "elm,state,elm.state.trackno,active";
25121                source: "elm";
25122                script {
25123                   set_state(PART:"dot", "visible", 0.0);
25124                   set_int(dot_visible, 1);
25125                }
25126             }
25127          }
25128          part { name: "elm.text.title";
25129             clip_to: "disclip";
25130             type:           TEXT;
25131             effect:         SOFT_SHADOW;
25132             mouse_events:   0;
25133             scale: 1;
25134             description {
25135                state: "default" 0.0;
25136                rel1 {
25137                   to_x: "dot";
25138                   relative: 1.0  0.0;
25139                   offset:   4 4;
25140                }
25141                rel2 {
25142                   relative: 1.0  0.5;
25143                   offset:   -1 -5;
25144                }
25145                color: 0 0 0 255;
25146                color3: 0 0 0 0;
25147                text {
25148                   font: "Sans";
25149                   size: 10;
25150                   min: 0 1;
25151                   align: 0.0 0.5;
25152                }
25153             }
25154             description { state: "selected" 0.0;
25155                inherit: "default" 0.0;
25156                color: 224 224 224 255;
25157                color3: 0 0 0 64;
25158             }
25159          }
25160          part { name: "elm.text.length";
25161             clip_to: "disclip";
25162             type:           TEXT;
25163             mouse_events:   0;
25164             scale: 1;
25165             description {
25166                state: "default" 0.0;
25167                rel1 {
25168                   relative: 0.0  0.5;
25169                   offset:   4 4;
25170                }
25171                rel2 {
25172                   relative: 1.0  1.0;
25173                   offset:   -1 -5;
25174                }
25175                color: 0 0 0 128;
25176                color3: 0 0 0 0;
25177                text {
25178                   font: "Sans";
25179                   size: 8;
25180                   min: 0 1;
25181                   align: 0.0 0.5;
25182                }
25183             }
25184             description { state: "selected" 0.0;
25185                inherit: "default" 0.0;
25186                color: 128 128 128 255;
25187                color3: 0 0 0 32;
25188             }
25189          }
25190          part { name: "fg1";
25191             clip_to: "disclip";
25192             mouse_events: 0;
25193             description { state: "default" 0.0;
25194                visible: 0;
25195                color: 255 255 255 0;
25196                rel1.to: "bg";
25197                rel2.relative: 1.0 0.5;
25198                rel2.to: "bg";
25199                image {
25200                   normal: "bt_sm_hilight.png";
25201                   border: 6 6 6 0;
25202                }
25203             }
25204             description { state: "selected" 0.0;
25205                inherit: "default" 0.0;
25206                visible: 1;
25207                color: 255 255 255 255;
25208             }
25209          }
25210          part { name: "fg2";
25211             clip_to: "disclip";
25212             mouse_events: 0;
25213             description { state: "default" 0.0;
25214                visible: 0;
25215                color: 255 255 255 0;
25216                rel1.to: "bg";
25217                rel2.to: "bg";
25218                image {
25219                   normal: "bt_sm_shine.png";
25220                   border: 6 6 6 0;
25221                }
25222             }
25223             description { state: "selected" 0.0;
25224                inherit: "default" 0.0;
25225                visible: 1;
25226                color: 255 255 255 255;
25227             }
25228          }
25229          part { name: "disclip";
25230             type: RECT;
25231             description { state: "default" 0.0;
25232                rel1.to: "bg";
25233                rel2.to: "bg";
25234             }
25235             description { state: "disabled" 0.0;
25236                inherit: "default" 0.0;
25237                color: 255 255 255 64;
25238             }
25239          }
25240       }
25241       programs {
25242          // signal: elm,state,%s,active
25243          //   a "check" item named %s went active
25244          // signal: elm,state,%s,passive
25245          //   a "check" item named %s went passive
25246          // default is passive
25247          program {
25248             name:    "go_active";
25249             signal:  "elm,state,selected";
25250             source:  "elm";
25251             action:  STATE_SET "selected" 0.0;
25252             target:  "bg";
25253             target:  "fg1";
25254             target:  "fg2";
25255             target:  "elm.text.title";
25256             target:  "elm.text.length";
25257             target:  "elm.text.trackno";
25258             after:   "dot_active";
25259          }
25260          program {
25261             name: "dot_active";
25262             script {
25263                if (get_int(dot_visible) == 1)
25264                   set_state(PART:"dot", "selected", 0.0);
25265             }
25266          }
25267          program {
25268             name:    "go_passive";
25269             signal:  "elm,state,unselected";
25270             source:  "elm";
25271             action:  STATE_SET "default" 0.0;
25272             target:  "bg";
25273             target:  "fg1";
25274             target:  "fg2";
25275             target:  "elm.text.title";
25276             target:  "elm.text.length";
25277             target:  "elm.text.trackno";
25278             transition: LINEAR 0.1;
25279             after:   "dot_passive";
25280          }
25281          program {
25282             name: "dot_passive";
25283             script {
25284                if (get_int(dot_visible) == 1)
25285                   set_state(PART:"dot", "visible", 0.0);
25286             }
25287          }
25288          program {
25289             name:    "go_disabled";
25290             signal:  "elm,state,disabled";
25291             source:  "elm";
25292             action:  STATE_SET "disabled" 0.0;
25293             target:  "disclip";
25294          }
25295          program {
25296             name:    "go_enabled";
25297             signal:  "elm,state,enabled";
25298             source:  "elm";
25299             action:  STATE_SET "default" 0.0;
25300             target:  "disclip";
25301          }
25302       }
25303    }
25304
25305    group { name: "elm/genlist/item_compress/media-preview/default";
25306       data.item: "stacking" "above";
25307       data.item: "selectraise" "on";
25308       data.item: "labels" "elm.text.title elm.text.artist";
25309       data.item: "icons" "elm.swallow.preview";
25310       data.item: "treesize" "20";
25311       images {
25312          image: "bt_sm_base1.png" COMP;
25313          image: "bt_sm_shine.png" COMP;
25314          image: "bt_sm_hilight.png" COMP;
25315          image: "ilist_1.png" COMP;
25316          image: "ilist_item_shadow.png" COMP;
25317       }
25318       parts {
25319          part {
25320             name: "event";
25321             type: RECT;
25322             repeat_events: 1;
25323             description {
25324                state: "default" 0.0;
25325                color: 0 0 0 0;
25326             }
25327          }
25328          part {
25329             name: "base_sh";
25330             mouse_events: 0;
25331             description {
25332                state: "default" 0.0;
25333                align: 0.0 0.0;
25334                min: 0 10;
25335                fixed: 1 1;
25336                rel1 {
25337                   to: "base";
25338                   relative: 0.0 1.0;
25339                   offset: 0 0;
25340                }
25341                rel2 {
25342                   to: "base";
25343                   relative: 1.0 1.0;
25344                   offset: -1 0;
25345                }
25346                image {
25347                   normal: "ilist_item_shadow.png";
25348                }
25349                fill.smooth: 0;
25350             }
25351          }
25352          part {
25353             name: "base";
25354             mouse_events: 0;
25355             description {
25356                state: "default" 0.0;
25357                image {
25358                   normal: "ilist_1.png";
25359                   border: 2 2 2 2;
25360                }
25361                fill.smooth: 0;
25362             }
25363          }
25364          part { name: "bg";
25365             clip_to: "disclip";
25366             mouse_events: 0;
25367             description { state: "default" 0.0;
25368                visible: 0;
25369                color: 255 255 255 0;
25370                rel1 {
25371                   relative: 0.0 0.0;
25372                   offset: -5 -5;
25373                }
25374                rel2 {
25375                   relative: 1.0 1.0;
25376                   offset: 4 4;
25377                }
25378                image {
25379                   normal: "bt_sm_base1.png";
25380                   border: 6 6 6 6;
25381                }
25382                image.middle: SOLID;
25383             }
25384             description { state: "selected" 0.0;
25385                inherit: "default" 0.0;
25386                visible: 1;
25387                color: 255 255 255 255;
25388                rel1 {
25389                   relative: 0.0 0.0;
25390                   offset: -2 -2;
25391                }
25392                rel2 {
25393                   relative: 1.0 1.0;
25394                   offset: 1 1;
25395                }
25396             }
25397          }
25398          part { name: "elm.swallow.pad";
25399             type: SWALLOW;
25400             description { state: "default" 0.0;
25401                fixed: 1 0;
25402                align: 0.0 0.5;
25403                rel1 {
25404                   relative: 0.0  0.0;
25405                   offset:   4    4;
25406                }
25407                rel2 {
25408                   relative: 0.0  1.0;
25409                   offset:   4   -5;
25410                }
25411             }
25412          }
25413          part { name: "elm.swallow.preview";
25414             clip_to: "disclip";
25415             type: SWALLOW;
25416             description { state: "default" 0.0;
25417                fixed: 1 0;
25418                align: 0.0 0.5;
25419                min: 68 68;
25420                max: 68 68;
25421                rel1 {
25422                   to_x: "elm.swallow.pad";
25423                   relative: 1.0  0.0;
25424                   offset:   -1    4;
25425                }
25426                rel2 {
25427                   to_x: "elm.swallow.pad";
25428                   relative: 1.0  1.0;
25429                   offset:   -1   -5;
25430                }
25431             }
25432          }
25433          part { name: "elm.text.title";
25434             clip_to: "disclip";
25435             type:           TEXT;
25436             effect:         SOFT_SHADOW;
25437             mouse_events:   0;
25438             scale: 1;
25439             description {
25440                state: "default" 0.0;
25441                rel1 {
25442                   to_x:     "elm.swallow.preview";
25443                   relative: 1.0  0.0;
25444                   offset:   4 4;
25445                }
25446                rel2 {
25447                   relative: 1.0  0.5;
25448                   offset:   -1 -5;
25449                }
25450                color: 0 0 0 255;
25451                color3: 0 0 0 0;
25452                text {
25453                   font: "Sans";
25454                   size: 10;
25455                   min: 0 1;
25456                   align: 0.0 0.5;
25457                }
25458             }
25459             description { state: "selected" 0.0;
25460                inherit: "default" 0.0;
25461                color: 224 224 224 255;
25462                color3: 0 0 0 64;
25463             }
25464          }
25465          part { name: "elm.text.artist";
25466             clip_to: "disclip";
25467             type:           TEXT;
25468             mouse_events:   0;
25469             scale: 1;
25470             description {
25471                state: "default" 0.0;
25472                rel1 {
25473                   to_x:     "elm.swallow.preview";
25474                   relative: 1.0  0.5;
25475                   offset:   4 4;
25476                }
25477                rel2 {
25478                   relative: 1.0  1.0;
25479                   offset:   -1 -5;
25480                }
25481                color: 0 0 0 128;
25482                color3: 0 0 0 0;
25483                text {
25484                   font: "Sans";
25485                   size: 8;
25486                   min: 0 1;
25487                   align: 0.0 0.5;
25488                }
25489             }
25490             description { state: "selected" 0.0;
25491                inherit: "default" 0.0;
25492                color: 128 128 128 255;
25493                color3: 0 0 0 32;
25494             }
25495          }
25496          part { name: "fg1";
25497             clip_to: "disclip";
25498             mouse_events: 0;
25499             description { state: "default" 0.0;
25500                visible: 0;
25501                color: 255 255 255 0;
25502                rel1.to: "bg";
25503                rel2.relative: 1.0 0.5;
25504                rel2.to: "bg";
25505                image {
25506                   normal: "bt_sm_hilight.png";
25507                   border: 6 6 6 0;
25508                }
25509             }
25510             description { state: "selected" 0.0;
25511                inherit: "default" 0.0;
25512                visible: 1;
25513                color: 255 255 255 255;
25514             }
25515          }
25516          part { name: "fg2";
25517             clip_to: "disclip";
25518             mouse_events: 0;
25519             description { state: "default" 0.0;
25520                visible: 0;
25521                color: 255 255 255 0;
25522                rel1.to: "bg";
25523                rel2.to: "bg";
25524                image {
25525                   normal: "bt_sm_shine.png";
25526                   border: 6 6 6 0;
25527                }
25528             }
25529             description { state: "selected" 0.0;
25530                inherit: "default" 0.0;
25531                visible: 1;
25532                color: 255 255 255 255;
25533             }
25534          }
25535          part { name: "disclip";
25536             type: RECT;
25537             description { state: "default" 0.0;
25538                rel1.to: "bg";
25539                rel2.to: "bg";
25540             }
25541             description { state: "disabled" 0.0;
25542                inherit: "default" 0.0;
25543                color: 255 255 255 64;
25544             }
25545          }
25546       }
25547       programs {
25548          // signal: elm,state,%s,active
25549          //   a "check" item named %s went active
25550          // signal: elm,state,%s,passive
25551          //   a "check" item named %s went passive
25552          // default is passive
25553          program {
25554             name:    "go_active";
25555             signal:  "elm,state,selected";
25556             source:  "elm";
25557             action:  STATE_SET "selected" 0.0;
25558             target:  "bg";
25559             target:  "fg1";
25560             target:  "fg2";
25561             target:  "elm.text.title";
25562             target:  "elm.text.artist";
25563          }
25564          program {
25565             name:    "go_passive";
25566             signal:  "elm,state,unselected";
25567             source:  "elm";
25568             action:  STATE_SET "default" 0.0;
25569             target:  "bg";
25570             target:  "fg1";
25571             target:  "fg2";
25572             target:  "elm.text.title";
25573             target:  "elm.text.artist";
25574             transition: LINEAR 0.1;
25575          }
25576          program {
25577             name:    "go_disabled";
25578             signal:  "elm,state,disabled";
25579             source:  "elm";
25580             action:  STATE_SET "disabled" 0.0;
25581             target:  "disclip";
25582          }
25583          program {
25584             name:    "go_enabled";
25585             signal:  "elm,state,enabled";
25586             source:  "elm";
25587             action:  STATE_SET "default" 0.0;
25588             target:  "disclip";
25589          }
25590       }
25591    }
25592    group { name: "elm/genlist/item_compress_odd/media-preview/default";
25593       data.item: "stacking" "below";
25594       data.item: "selectraise" "on";
25595       data.item: "labels" "elm.text.title elm.text.artist";
25596       data.item: "icons" "elm.swallow.preview";
25597       data.item: "treesize" "20";
25598       images {
25599          image: "bt_sm_base1.png" COMP;
25600          image: "bt_sm_shine.png" COMP;
25601          image: "bt_sm_hilight.png" COMP;
25602          image: "ilist_2.png" COMP;
25603       }
25604       parts {
25605          part { name: "event";
25606             type: RECT;
25607             repeat_events: 1;
25608             description {
25609                state: "default" 0.0;
25610                color: 0 0 0 0;
25611             }
25612          }
25613          part {
25614             name: "base";
25615             mouse_events: 0;
25616             description {
25617                state: "default" 0.0;
25618                image {
25619                   normal: "ilist_2.png";
25620                   border: 2 2 2 2;
25621                }
25622                fill.smooth: 0;
25623             }
25624          }
25625          part { name: "bg";
25626             clip_to: "disclip";
25627             mouse_events: 0;
25628             description { state: "default" 0.0;
25629                visible: 0;
25630                color: 255 255 255 0;
25631                rel1 {
25632                   relative: 0.0 0.0;
25633                   offset: -5 -5;
25634                }
25635                rel2 {
25636                   relative: 1.0 1.0;
25637                   offset: 4 4;
25638                }
25639                image {
25640                   normal: "bt_sm_base1.png";
25641                   border: 6 6 6 6;
25642                }
25643                image.middle: SOLID;
25644             }
25645             description { state: "selected" 0.0;
25646                inherit: "default" 0.0;
25647                visible: 1;
25648                color: 255 255 255 255;
25649                rel1 {
25650                   relative: 0.0 0.0;
25651                   offset: -2 -2;
25652                }
25653                rel2 {
25654                   relative: 1.0 1.0;
25655                   offset: 1 1;
25656                }
25657             }
25658          }
25659          part { name: "elm.swallow.pad";
25660             type: SWALLOW;
25661             description { state: "default" 0.0;
25662                fixed: 1 0;
25663                align: 0.0 0.5;
25664                rel1 {
25665                   relative: 0.0  0.0;
25666                   offset:   4    4;
25667                }
25668                rel2 {
25669                   relative: 0.0  1.0;
25670                   offset:   4   -5;
25671                }
25672             }
25673          }
25674          part { name: "elm.swallow.preview";
25675             clip_to: "disclip";
25676             type: SWALLOW;
25677             description { state: "default" 0.0;
25678                fixed: 1 0;
25679                align: 0.0 0.5;
25680                min: 68 68;
25681                max: 68 68;
25682                rel1 {
25683                   to_x: "elm.swallow.pad";
25684                   relative: 1.0  0.0;
25685                   offset:   -1    4;
25686                }
25687                rel2 {
25688                   to_x: "elm.swallow.pad";
25689                   relative: 1.0  1.0;
25690                   offset:   -1   -5;
25691                }
25692             }
25693          }
25694          part { name: "elm.text.title";
25695             clip_to: "disclip";
25696             type:           TEXT;
25697             effect:         SOFT_SHADOW;
25698             mouse_events:   0;
25699             scale: 1;
25700             description {
25701                state: "default" 0.0;
25702                rel1 {
25703                   to_x:     "elm.swallow.preview";
25704                   relative: 1.0  0.0;
25705                   offset:   4 4;
25706                }
25707                rel2 {
25708                   relative: 1.0  0.5;
25709                   offset:   -1 -5;
25710                }
25711                color: 0 0 0 255;
25712                color3: 0 0 0 0;
25713                text {
25714                   font: "Sans";
25715                   size: 10;
25716                   min: 0 1;
25717                   align: 0.0 0.5;
25718                }
25719             }
25720             description { state: "selected" 0.0;
25721                inherit: "default" 0.0;
25722                color: 224 224 224 255;
25723                color3: 0 0 0 64;
25724             }
25725          }
25726          part { name: "elm.text.artist";
25727             clip_to: "disclip";
25728             type:           TEXT;
25729             mouse_events:   0;
25730             scale: 1;
25731             description {
25732                state: "default" 0.0;
25733                rel1 {
25734                   to_x:     "elm.swallow.preview";
25735                   relative: 1.0  0.5;
25736                   offset:   4 4;
25737                }
25738                rel2 {
25739                   relative: 1.0  1.0;
25740                   offset:   -1 -5;
25741                }
25742                color: 0 0 0 128;
25743                color3: 0 0 0 0;
25744                text {
25745                   font: "Sans";
25746                   size: 8;
25747                   min: 0 1;
25748                   align: 0.0 0.5;
25749                }
25750             }
25751             description { state: "selected" 0.0;
25752                inherit: "default" 0.0;
25753                color: 128 128 128 255;
25754                color3: 0 0 0 32;
25755             }
25756          }
25757          part { name: "fg1";
25758             clip_to: "disclip";
25759             mouse_events: 0;
25760             description { state: "default" 0.0;
25761                visible: 0;
25762                color: 255 255 255 0;
25763                rel1.to: "bg";
25764                rel2.relative: 1.0 0.5;
25765                rel2.to: "bg";
25766                image {
25767                   normal: "bt_sm_hilight.png";
25768                   border: 6 6 6 0;
25769                }
25770             }
25771             description { state: "selected" 0.0;
25772                inherit: "default" 0.0;
25773                visible: 1;
25774                color: 255 255 255 255;
25775             }
25776          }
25777          part { name: "fg2";
25778             clip_to: "disclip";
25779             mouse_events: 0;
25780             description { state: "default" 0.0;
25781                visible: 0;
25782                color: 255 255 255 0;
25783                rel1.to: "bg";
25784                rel2.to: "bg";
25785                image {
25786                   normal: "bt_sm_shine.png";
25787                   border: 6 6 6 0;
25788                }
25789             }
25790             description { state: "selected" 0.0;
25791                inherit: "default" 0.0;
25792                visible: 1;
25793                color: 255 255 255 255;
25794             }
25795          }
25796          part { name: "disclip";
25797             type: RECT;
25798             description { state: "default" 0.0;
25799                rel1.to: "bg";
25800                rel2.to: "bg";
25801             }
25802             description { state: "disabled" 0.0;
25803                inherit: "default" 0.0;
25804                color: 255 255 255 64;
25805             }
25806          }
25807       }
25808       programs {
25809          // signal: elm,state,%s,active
25810          //   a "check" item named %s went active
25811          // signal: elm,state,%s,passive
25812          //   a "check" item named %s went passive
25813          // default is passive
25814          program {
25815             name:    "go_active";
25816             signal:  "elm,state,selected";
25817             source:  "elm";
25818             action:  STATE_SET "selected" 0.0;
25819             target:  "bg";
25820             target:  "fg1";
25821             target:  "fg2";
25822             target:  "elm.text.title";
25823             target:  "elm.text.artist";
25824          }
25825          program {
25826             name:    "go_passive";
25827             signal:  "elm,state,unselected";
25828             source:  "elm";
25829             action:  STATE_SET "default" 0.0;
25830             target:  "bg";
25831             target:  "fg1";
25832             target:  "fg2";
25833             target:  "elm.text.title";
25834             target:  "elm.text.artist";
25835             transition: LINEAR 0.1;
25836          }
25837          program {
25838             name:    "go_disabled";
25839             signal:  "elm,state,disabled";
25840             source:  "elm";
25841             action:  STATE_SET "disabled" 0.0;
25842             target:  "disclip";
25843          }
25844          program {
25845             name:    "go_enabled";
25846             signal:  "elm,state,enabled";
25847             source:  "elm";
25848             action:  STATE_SET "default" 0.0;
25849             target:  "disclip";
25850          }
25851       }
25852    }
25853
25854 ///////////////////////////////////////////////////////////////////////////////
25855    group { name: "elm/pager/base/default";
25856       data.item: "onshow" "raise";
25857 // other options
25858 //      data.item: "onhide" "lower";
25859 //      data.item: "onshow" "lower";
25860       images {
25861          image: "frame_1.png" COMP;
25862          image: "frame_2.png" COMP;
25863          image: "dia_grad.png" COMP;
25864       }
25865       parts {
25866          part { name: "clip";
25867             type: RECT;
25868             mouse_events: 0;
25869             description { state: "default" 0.0;
25870                rel1 {
25871                   to: "base";
25872                   offset: -9999 -9999;
25873                }
25874                rel2 {
25875                   to: "base";
25876                   offset: 9999 9999;
25877                }
25878                color: 255 255 255 255;
25879             }
25880             description { state: "visible" 0.0;
25881                inherit: "default" 0.0;
25882             }
25883             description { state: "hidden" 0.0;
25884                inherit: "default" 0.0;
25885                color: 255 255 255 0;
25886                visible: 0;
25887             }
25888          }
25889          part { name: "base0";
25890             mouse_events:  0;
25891             clip_to: "clip";
25892             description { state: "default" 0.0;
25893                image.normal: "dia_grad.png";
25894                rel1.to: "over";
25895                rel2.to: "over";
25896                fill {
25897                   smooth: 0;
25898                   size {
25899                      relative: 0.0 1.0;
25900                      offset: 64 0;
25901                   }
25902                }
25903             }
25904          }
25905          part { name: "base";
25906             mouse_events:  0;
25907             clip_to: "clip";
25908             description { state: "default" 0.0;
25909                image {
25910                   normal: "frame_2.png";
25911                   border: 5 5 32 26;
25912                   middle: 0;
25913                }
25914                fill.smooth : 0;
25915             }
25916             description { state: "hidden" 0.0;
25917                inherit: "default" 0.0;
25918                rel1.relative: -1.0 0.0;
25919                rel2.relative: 0.0 1.0;
25920             }
25921             description { state: "visible" 0.0;
25922                inherit: "default" 0.0;
25923                rel1.relative: 0.0 0.0;
25924                rel2.relative: 1.0 1.0;
25925             }
25926          }
25927          part { name: "over";
25928             mouse_events:  0;
25929             clip_to: "clip";
25930             description { state:    "default" 0.0;
25931                rel1 {
25932                   to: "base";
25933                   offset: 4 4;
25934                }
25935                rel2 {
25936                   to: "base";
25937                   offset: -5 -5;
25938                }
25939                image {
25940                   normal: "frame_1.png";
25941                   border: 2 2 28 22;
25942                   middle: 0;
25943                }
25944                fill.smooth : 0;
25945             }
25946          }
25947          part { name: "elm.swallow.content";
25948             type: SWALLOW;
25949             clip_to: "clip";
25950             description { state: "default" 0.0;
25951                rel1 {
25952                   to: "base";
25953                   offset: 8 8;
25954                }
25955                rel2 {
25956                   to: "base";
25957                   offset: -9 -9;
25958                }
25959             }
25960          }
25961       }
25962       programs {
25963          program { name: "push_start";
25964             signal: "elm,action,push";
25965             source: "elm";
25966             action:  STATE_SET "hidden" 0.0;
25967             target: "base";
25968             target: "clip";
25969             after: "show_start2";
25970          }
25971          program { name: "show_start";
25972             signal: "elm,action,show";
25973             source: "elm";
25974             action:  STATE_SET "hidden" 0.0;
25975             target: "base";
25976             target: "clip";
25977             after: "show_start2";
25978          }
25979          program { name: "show_start2";
25980             action:  STATE_SET "visible" 0.0;
25981             transition: DECELERATE 0.5;
25982             target: "base";
25983             target: "clip";
25984             after: "show_end";
25985          }
25986          program { name: "show_end";
25987             action: SIGNAL_EMIT "elm,action,show,finished" "";
25988          }
25989          program { name: "pop_start";
25990             signal: "elm,action,pop";
25991             source: "elm";
25992             action:  STATE_SET "visible" 0.0;
25993             target: "base";
25994             target: "clip";
25995             after: "hide_start2";
25996          }
25997          program { name: "hide_start";
25998             signal: "elm,action,hide";
25999             source: "elm";
26000             action:  STATE_SET "visible" 0.0;
26001             target: "base";
26002             target: "clip";
26003             after: "hide_start2";
26004          }
26005          program { name: "hide_start2";
26006             action:  STATE_SET "hidden" 0.0;
26007             transition: DECELERATE 0.5;
26008             target: "base";
26009             target: "clip";
26010             after: "hide_end";
26011          }
26012          program { name: "hide_end";
26013             action: SIGNAL_EMIT "elm,action,hide,finished" "";
26014          }
26015          program { name: "reset";
26016             signal: "elm,action,reset";
26017             source: "elm";
26018             action:  STATE_SET "default" 0.0;
26019             target: "base";
26020             target: "clip";
26021          }
26022       }
26023    }
26024
26025    group { name: "elm/pager/base/slide";
26026       images {
26027          image: "frame_1.png" COMP;
26028          image: "frame_2.png" COMP;
26029          image: "dia_grad.png" COMP;
26030       }
26031       parts {
26032          part { name: "clip";
26033             type: RECT;
26034             mouse_events: 0;
26035             description { state: "default" 0.0;
26036                rel1 {
26037                   to: "base";
26038                   offset: -9999 -9999;
26039                }
26040                rel2 {
26041                   to: "base";
26042                   offset: 9999 9999;
26043                }
26044                color: 255 255 255 255;
26045             }
26046             description { state: "visible" 0.0;
26047                inherit: "default" 0.0;
26048             }
26049             description { state: "hidden" 0.0;
26050                inherit: "default" 0.0;
26051                color: 255 255 255 0;
26052                visible: 0;
26053             }
26054             description { state: "hidden2" 0.0;
26055                inherit: "default" 0.0;
26056                color: 255 255 255 0;
26057                visible: 0;
26058             }
26059          }
26060          part { name: "base0";
26061             mouse_events:  0;
26062             clip_to: "clip";
26063             description { state: "default" 0.0;
26064                image.normal: "dia_grad.png";
26065                rel1.to: "over";
26066                rel2.to: "over";
26067                fill {
26068                   smooth: 0;
26069                   size {
26070                      relative: 0.0 1.0;
26071                      offset: 64 0;
26072                   }
26073                }
26074             }
26075          }
26076          part { name: "base";
26077             mouse_events:  0;
26078             clip_to: "clip";
26079             description { state: "default" 0.0;
26080                image {
26081                   normal: "frame_2.png";
26082                   border: 5 5 32 26;
26083                   middle: 0;
26084                }
26085                fill.smooth : 0;
26086             }
26087             description { state: "hidden" 0.0;
26088                inherit: "default" 0.0;
26089                rel1.relative: -1.0 0.0;
26090                rel2.relative: 0.0 1.0;
26091             }
26092             description { state: "hidden2" 0.0;
26093                inherit: "default" 0.0;
26094                rel1.relative: 1.0 0.0;
26095                rel2.relative: 2.0 1.0;
26096             }
26097             description { state: "visible" 0.0;
26098                inherit: "default" 0.0;
26099                rel1.relative: 0.0 0.0;
26100                rel2.relative: 1.0 1.0;
26101             }
26102          }
26103          part { name: "over";
26104             mouse_events:  0;
26105             clip_to: "clip";
26106             description { state:    "default" 0.0;
26107                rel1 {
26108                   to: "base";
26109                   offset: 4 4;
26110                }
26111                rel2 {
26112                   to: "base";
26113                   offset: -5 -5;
26114                }
26115                image {
26116                   normal: "frame_1.png";
26117                   border: 2 2 28 22;
26118                   middle: 0;
26119                }
26120                fill.smooth : 0;
26121             }
26122          }
26123          part { name: "elm.swallow.content";
26124             type: SWALLOW;
26125             clip_to: "clip";
26126             description { state: "default" 0.0;
26127                rel1 {
26128                   to: "base";
26129                   offset: 8 8;
26130                }
26131                rel2 {
26132                   to: "base";
26133                   offset: -9 -9;
26134                }
26135             }
26136          }
26137       }
26138       programs {
26139          program { name: "push_start";
26140             signal: "elm,action,push";
26141             source: "elm";
26142             action:  STATE_SET "hidden2" 0.0;
26143             target: "base";
26144             target: "clip";
26145             after: "show_start2";
26146          }
26147          program { name: "show_start";
26148             signal: "elm,action,show";
26149             source: "elm";
26150             action:  STATE_SET "hidden" 0.0;
26151             target: "base";
26152             target: "clip";
26153             after: "show_start2";
26154          }
26155          program { name: "show_start2";
26156             action:  STATE_SET "visible" 0.0;
26157             transition: DECELERATE 0.5;
26158             target: "base";
26159             target: "clip";
26160             after: "show_end";
26161          }
26162          program { name: "show_end";
26163             action: SIGNAL_EMIT "elm,action,show,finished" "";
26164          }
26165          program { name: "pop_start";
26166             signal: "elm,action,pop";
26167             source: "elm";
26168             action:  STATE_SET "visible" 0.0;
26169             target: "base";
26170             target: "clip";
26171             after: "pop_start2";
26172          }
26173          program { name: "pop_start2";
26174             action:  STATE_SET "hidden2" 0.0;
26175             transition: DECELERATE 0.5;
26176             target: "base";
26177             target: "clip";
26178             after: "hide_end";
26179          }
26180          program { name: "hide_start";
26181             signal: "elm,action,hide";
26182             source: "elm";
26183             action:  STATE_SET "visible" 0.0;
26184             target: "base";
26185             target: "clip";
26186             after: "hide_start2";
26187          }
26188          program { name: "hide_start2";
26189             action:  STATE_SET "hidden" 0.0;
26190             transition: DECELERATE 0.5;
26191             target: "base";
26192             target: "clip";
26193             after: "hide_end";
26194          }
26195          program { name: "hide_end";
26196             action: SIGNAL_EMIT "elm,action,hide,finished" "";
26197          }
26198          program { name: "reset";
26199             signal: "elm,action,reset";
26200             source: "elm";
26201             action:  STATE_SET "default" 0.0;
26202             target: "base";
26203             target: "clip";
26204          }
26205       }
26206    }
26207    group { name: "elm/pager/base/slide_invisible";
26208       parts {
26209          part { name: "clip";
26210             type: RECT;
26211             mouse_events: 0;
26212             description { state: "default" 0.0;
26213                rel1 {
26214                   to: "base";
26215                   offset: -9999 -9999;
26216             }
26217                rel2 {
26218                   to: "base";
26219                   offset: 9999 9999;
26220                }
26221                color: 255 255 255 255;
26222             }
26223             description { state: "visible" 0.0;
26224                inherit: "default" 0.0;
26225             }
26226             description { state: "hidden" 0.0;
26227                inherit: "default" 0.0;
26228                color: 255 255 255 0;
26229                visible: 0;
26230             }
26231             description { state: "hidden2" 0.0;
26232                inherit: "default" 0.0;
26233                color: 255 255 255 0;
26234                visible: 0;
26235             }
26236          }
26237          part { name: "base";
26238             type: RECT;
26239             mouse_events:  0;
26240             clip_to: "clip";
26241             description { state: "default" 0.0;
26242                color: 0 0 0 0;
26243             }
26244             description { state: "hidden" 0.0;
26245                color: 0 0 0 0;
26246                rel1.relative: -1.0 0.0;
26247                rel2.relative: 0.0 1.0;
26248             }
26249             description { state: "hidden2" 0.0;
26250                color: 0 0 0 0;
26251                rel1.relative: 1.0 0.0;
26252                rel2.relative: 2.0 1.0;
26253             }
26254             description { state: "visible" 0.0;
26255                color: 0 0 0 0;
26256                rel1.relative: 0.0 0.0;
26257                rel2.relative: 1.0 1.0;
26258             }
26259          }
26260          part { name: "elm.swallow.content";
26261             type: SWALLOW;
26262             clip_to: "clip";
26263             description { state: "default" 0.0;
26264                rel1.to: "base";
26265                rel2.to: "base";
26266             }
26267          }
26268       }
26269       programs {
26270          program { name: "push_start";
26271             signal: "elm,action,push";
26272             source: "elm";
26273             action:  STATE_SET "hidden2" 0.0;
26274             target: "base";
26275             target: "clip";
26276             after: "show_start2";
26277          }
26278          program { name: "show_start";
26279             signal: "elm,action,show";
26280             source: "elm";
26281             action:  STATE_SET "hidden" 0.0;
26282             target: "base";
26283             target: "clip";
26284             after: "show_start2";
26285          }
26286          program { name: "show_start2";
26287             action:  STATE_SET "visible" 0.0;
26288             transition: DECELERATE 0.5;
26289             target: "base";
26290             target: "clip";
26291             after: "show_end";
26292          }
26293          program { name: "show_end";
26294             action: SIGNAL_EMIT "elm,action,show,finished" "";
26295          }
26296          program { name: "pop_start";
26297             signal: "elm,action,pop";
26298             source: "elm";
26299             action:  STATE_SET "visible" 0.0;
26300             target: "base";
26301             target: "clip";
26302             after: "pop_start2";
26303          }
26304          program { name: "pop_start2";
26305             action:  STATE_SET "hidden2" 0.0;
26306             transition: DECELERATE 0.5;
26307             target: "base";
26308             target: "clip";
26309             after: "hide_end";
26310          }
26311          program { name: "hide_start";
26312             signal: "elm,action,hide";
26313             source: "elm";
26314             action:  STATE_SET "visible" 0.0;
26315             target: "base";
26316             target: "clip";
26317             after: "hide_start2";
26318          }
26319          program { name: "hide_start2";
26320             action:  STATE_SET "hidden" 0.0;
26321             transition: DECELERATE 0.5;
26322             target: "base";
26323             target: "clip";
26324             after: "hide_end";
26325          }
26326          program { name: "hide_end";
26327             action: SIGNAL_EMIT "elm,action,hide,finished" "";
26328          }
26329          program { name: "reset";
26330             signal: "elm,action,reset";
26331             source: "elm";
26332             action:  STATE_SET "default" 0.0;
26333             target: "base";
26334             target: "clip";
26335          }
26336       }
26337    }
26338
26339    group { name: "elm/pager/base/fade";
26340        data.item: "onshow" "raise";
26341        // other options
26342        //      data.item: "onhide" "lower";
26343        //      data.item: "onshow" "lower";
26344        images {
26345            image: "frame_1.png" COMP;
26346            image: "frame_2.png" COMP;
26347            image: "dia_grad.png" COMP;
26348        }
26349        parts {
26350            part { name: "clip_base";
26351                type: RECT;
26352                mouse_events: 0;
26353                description { state: "default" 0.0;
26354                    rel1 {
26355                        to: "base";
26356                        offset: -9999 -9999;
26357                    }
26358                    rel2 {
26359                        to: "base";
26360                        offset: 9999 9999;
26361                    }
26362                    color: 255 255 255 120;
26363                }
26364                description { state: "visible" 0.0;
26365                    inherit: "default" 0.0;
26366                }
26367                description { state: "hidden" 0.0;
26368                    inherit: "default" 0.0;
26369                    color: 255 255 255 0;
26370                    visible: 0;
26371                }
26372            }
26373            part { name: "clip";
26374                type: RECT;
26375                mouse_events: 0;
26376                description { state: "default" 0.0;
26377                    rel1 {
26378                        to: "base";
26379                        offset: -9999 -9999;
26380                    }
26381                    rel2 {
26382                        to: "base";
26383                        offset: 9999 9999;
26384                    }
26385                    color: 255 255 255 255;
26386                }
26387                description { state: "visible" 0.0;
26388                    inherit: "default" 0.0;
26389                }
26390                description { state: "hidden" 0.0;
26391                    inherit: "default" 0.0;
26392                    color: 255 255 255 0;
26393                    visible: 0;
26394                }
26395            }
26396            part { name: "base0";
26397                mouse_events:  0;
26398                clip_to: "clip_base";
26399                description { state: "default" 0.0;
26400                    image.normal: "dia_grad.png";
26401                    rel1.to: "over";
26402                    rel2.to: "over";
26403                    fill {
26404                        smooth: 0;
26405                        size {
26406                            relative: 0.0 1.0;
26407                            offset: 64 0;
26408                        }
26409                    }
26410                }
26411            }
26412            part { name: "base";
26413                mouse_events:  0;
26414                clip_to: "clip_base";
26415                description { state: "default" 0.0;
26416                    image {
26417                        normal: "frame_2.png";
26418                        border: 5 5 32 26;
26419                        middle: 0;
26420                    }
26421                    fill.smooth : 0;
26422                }
26423            }
26424            part { name: "over";
26425                mouse_events:  0;
26426                clip_to: "clip";
26427                description { state:    "default" 0.0;
26428                    rel1 {
26429                        to: "base";
26430                        offset: 4 4;
26431                    }
26432                    rel2 {
26433                        to: "base";
26434                        offset: -5 -5;
26435                    }
26436                    image {
26437                        normal: "frame_1.png";
26438                        border: 2 2 28 22;
26439                        middle: 0;
26440                    }
26441                    fill.smooth : 0;
26442                }
26443            }
26444            part { name: "elm.swallow.content";
26445                type: SWALLOW;
26446                clip_to: "clip";
26447                description { state: "default" 0.0;
26448                    rel1 {
26449                        to: "base";
26450                        offset: 8 8;
26451                    }
26452                    rel2 {
26453                        to: "base";
26454                        offset: -9 -9;
26455                    }
26456                }
26457            }
26458        }
26459        programs {
26460            program { name: "push_start";
26461                signal: "elm,action,push";
26462                source: "elm";
26463                action:  STATE_SET "hidden" 0.0;
26464                target: "clip";
26465                target: "clip_base";
26466                after: "show_start2";
26467            }
26468            program { name: "show_start";
26469                signal: "elm,action,show";
26470                source: "elm";
26471                action:  STATE_SET "hidden" 0.0;
26472                target: "clip";
26473                target: "clip_base";
26474                after: "show_start2";
26475            }
26476            program { name: "show_start2";
26477                action:  STATE_SET "visible" 0.0;
26478                transition: DECELERATE 0.5;
26479                target: "clip";
26480                target: "clip_base";
26481                after: "show_end";
26482            }
26483            program { name: "show_end";
26484                action: SIGNAL_EMIT "elm,action,show,finished" "";
26485            }
26486            program { name: "pop_start";
26487                signal: "elm,action,pop";
26488                source: "elm";
26489                action:  STATE_SET "visible" 0.0;
26490                target: "clip";
26491                target: "clip_base";
26492                after: "hide_start2";
26493            }
26494            program { name: "hide_start";
26495                signal: "elm,action,hide";
26496                source: "elm";
26497                action:  STATE_SET "visible" 0.0;
26498                target: "clip";
26499                target: "clip_base";
26500                after: "hide_start2";
26501            }
26502            program { name: "hide_start2";
26503                action:  STATE_SET "hidden" 0.0;
26504                transition: DECELERATE 0.5;
26505                target: "clip";
26506                target: "clip_base";
26507                after: "hide_end";
26508            }
26509            program { name: "hide_end";
26510                action: SIGNAL_EMIT "elm,action,hide,finished" "";
26511            }
26512            program { name: "reset";
26513                signal: "elm,action,reset";
26514                source: "elm";
26515                action:  STATE_SET "default" 0.0;
26516                target: "clip_base";
26517                target: "clip";
26518            }
26519        }
26520    }
26521    group { name: "elm/pager/base/fade_translucide";
26522        data.item: "onshow" "raise";
26523        // other options
26524        //      data.item: "onhide" "lower";
26525        //      data.item: "onshow" "lower";
26526        images {
26527            image: "frame_1.png" COMP;
26528            image: "frame_2.png" COMP;
26529            image: "dia_grad.png" COMP;
26530        }
26531        parts {
26532            part { name: "clip_base";
26533                type: RECT;
26534                mouse_events: 0;
26535                description { state: "default" 0.0;
26536                    rel1 {
26537                        to: "base";
26538                        offset: -9999 -9999;
26539                    }
26540                    rel2 {
26541                        to: "base";
26542                        offset: 9999 9999;
26543                    }
26544                    color: 255 255 255 120;
26545                }
26546                description { state: "visible" 0.0;
26547                    inherit: "default" 0.0;
26548                }
26549                description { state: "hidden" 0.0;
26550                    inherit: "default" 0.0;
26551                    color: 255 255 255 0;
26552                    visible: 0;
26553                }
26554            }
26555            part { name: "clip";
26556                type: RECT;
26557                mouse_events: 0;
26558                description { state: "default" 0.0;
26559                    rel1 {
26560                        to: "base";
26561                        offset: -9999 -9999;
26562                    }
26563                    rel2 {
26564                        to: "base";
26565                        offset: 9999 9999;
26566                    }
26567                    color: 255 255 255 255;
26568                }
26569                description { state: "visible" 0.0;
26570                    inherit: "default" 0.0;
26571                }
26572                description { state: "hidden" 0.0;
26573                    inherit: "default" 0.0;
26574                    color: 255 255 255 0;
26575                    visible: 0;
26576                }
26577            }
26578            part { name: "base0";
26579                mouse_events:  0;
26580                clip_to: "clip_base";
26581                description { state: "default" 0.0;
26582                    image.normal: "dia_grad.png";
26583                    rel1.to: "over";
26584                    rel2.to: "over";
26585                    fill {
26586                        smooth: 0;
26587                        size {
26588                            relative: 0.0 1.0;
26589                            offset: 64 0;
26590                        }
26591                    }
26592                }
26593            }
26594            part { name: "base";
26595                mouse_events:  0;
26596                clip_to: "clip_base";
26597                description { state: "default" 0.0;
26598                    image {
26599                        normal: "frame_2.png";
26600                        border: 5 5 32 26;
26601                        middle: 0;
26602                    }
26603                    fill.smooth : 0;
26604                }
26605            }
26606            part { name: "over";
26607                mouse_events:  0;
26608                clip_to: "clip";
26609                description { state:    "default" 0.0;
26610                    rel1 {
26611                        to: "base";
26612                        offset: 4 4;
26613                    }
26614                    rel2 {
26615                        to: "base";
26616                        offset: -5 -5;
26617                    }
26618                    image {
26619                        normal: "frame_1.png";
26620                        border: 2 2 28 22;
26621                        middle: 0;
26622                    }
26623                    fill.smooth : 0;
26624                }
26625            }
26626            part { name: "elm.swallow.content";
26627                type: SWALLOW;
26628                clip_to: "clip";
26629                description { state: "default" 0.0;
26630                    rel1 {
26631                        to: "base";
26632                        offset: 8 8;
26633                    }
26634                    rel2 {
26635                        to: "base";
26636                        offset: -9 -9;
26637                    }
26638                }
26639            }
26640        }
26641        programs {
26642            program { name: "push_start";
26643                signal: "elm,action,push";
26644                source: "elm";
26645                action:  STATE_SET "hidden" 0.0;
26646                target: "clip";
26647                target: "clip_base";
26648                after: "show_start2";
26649            }
26650            program { name: "show_start";
26651                signal: "elm,action,show";
26652                source: "elm";
26653                action:  STATE_SET "hidden" 0.0;
26654                target: "clip";
26655                target: "clip_base";
26656                after: "show_start2";
26657            }
26658            program { name: "show_start2";
26659                action:  STATE_SET "visible" 0.0;
26660                transition: DECELERATE 0.5;
26661                target: "clip";
26662                target: "clip_base";
26663                after: "show_end";
26664            }
26665            program { name: "show_end";
26666                action: SIGNAL_EMIT "elm,action,show,finished" "";
26667            }
26668            program { name: "pop_start";
26669                signal: "elm,action,pop";
26670                source: "elm";
26671                action:  STATE_SET "visible" 0.0;
26672                target: "clip";
26673                target: "clip_base";
26674                after: "hide_start2";
26675            }
26676            program { name: "hide_start";
26677                signal: "elm,action,hide";
26678                source: "elm";
26679                action:  STATE_SET "visible" 0.0;
26680                target: "clip";
26681                target: "clip_base";
26682                after: "hide_start2";
26683            }
26684            program { name: "hide_start2";
26685                action:  STATE_SET "hidden" 0.0;
26686                transition: DECELERATE 0.5;
26687                target: "clip";
26688                target: "clip_base";
26689                after: "hide_end";
26690            }
26691            program { name: "hide_end";
26692                action: SIGNAL_EMIT "elm,action,hide,finished" "";
26693            }
26694            program { name: "reset";
26695                signal: "elm,action,reset";
26696                source: "elm";
26697                action:  STATE_SET "default" 0.0;
26698                target: "clip_base";
26699                target: "clip";
26700            }
26701        }
26702    }
26703    group { name: "elm/pager/base/fade_invisible";
26704        data.item: "onshow" "raise";
26705        // other options
26706        //      data.item: "onhide" "lower";
26707        //      data.item: "onshow" "lower";
26708        parts {
26709            part { name: "clip";
26710                type: RECT;
26711                mouse_events: 0;
26712                description { state: "default" 0.0;
26713                    rel1 {
26714                        offset: -9999 -9999;
26715                    }
26716                    rel2 {
26717                        offset: 9999 9999;
26718                    }
26719                    color: 255 255 255 255;
26720                }
26721                description { state: "visible" 0.0;
26722                    inherit: "default" 0.0;
26723                }
26724                description { state: "hidden" 0.0;
26725                    inherit: "default" 0.0;
26726                    color: 255 255 255 0;
26727                    visible: 0;
26728                }
26729            }
26730            part { name: "elm.swallow.content";
26731                type: SWALLOW;
26732                clip_to: "clip";
26733                description { state: "default" 0.0;
26734                    rel1 {
26735                        offset: 8 8;
26736                    }
26737                    rel2 {
26738                        offset: -9 -9;
26739                    }
26740                }
26741            }
26742        }
26743        programs {
26744            program { name: "push_start";
26745                signal: "elm,action,push";
26746                source: "elm";
26747                action:  STATE_SET "hidden" 0.0;
26748                target: "clip";
26749                after: "show_start2";
26750            }
26751            program { name: "show_start";
26752                signal: "elm,action,show";
26753                source: "elm";
26754                action:  STATE_SET "hidden" 0.0;
26755                target: "clip";
26756                after: "show_start2";
26757            }
26758            program { name: "show_start2";
26759                action:  STATE_SET "visible" 0.0;
26760                transition: DECELERATE 0.5;
26761                target: "clip";
26762                after: "show_end";
26763            }
26764            program { name: "show_end";
26765                action: SIGNAL_EMIT "elm,action,show,finished" "";
26766            }
26767            program { name: "pop_start";
26768                signal: "elm,action,pop";
26769                source: "elm";
26770                action:  STATE_SET "visible" 0.0;
26771                target: "clip";
26772                after: "hide_start2";
26773            }
26774            program { name: "hide_start";
26775                signal: "elm,action,hide";
26776                source: "elm";
26777                action:  STATE_SET "visible" 0.0;
26778                target: "clip";
26779                after: "hide_start2";
26780            }
26781            program { name: "hide_start2";
26782                action:  STATE_SET "hidden" 0.0;
26783                transition: DECELERATE 0.5;
26784                target: "clip";
26785                after: "hide_end";
26786            }
26787            program { name: "hide_end";
26788                action: SIGNAL_EMIT "elm,action,hide,finished" "";
26789            }
26790            program { name: "reset";
26791                signal: "elm,action,reset";
26792                source: "elm";
26793                action:  STATE_SET "default" 0.0;
26794                target: "clip";
26795            }
26796        }
26797    }
26798
26799    group { name: "elm/pager/base/flip";
26800       data.item: "onshow" "raise";
26801       images {
26802          image: "frame_1.png" COMP;
26803          image: "frame_2.png" COMP;
26804          image: "dia_grad.png" COMP;
26805       }
26806       parts {
26807          part { name: "elm.swallow.content";
26808             type: SWALLOW;
26809             description { state: "default" 0.0;
26810                map {
26811                   on: 1;
26812                   smooth: 1;
26813                   backface_cull: 1;
26814                   perspective_on: 1;
26815                }
26816                perspective {
26817                   zplane: 0;
26818                   focal: 1000;
26819                }
26820             }
26821             description { state: "hidden" 0.0;
26822                inherit: "default" 0.0;
26823                visible: 0;
26824                map.rotation.y: 90.0;
26825             }
26826             description { state: "before_hidden" 0.0;
26827                inherit: "default" 0.0;
26828                visible: 0;
26829                map.rotation.y: -90.0;
26830             }
26831          }
26832       }
26833       programs {
26834          program { name: "push_start";
26835             signal: "elm,action,push";
26836             source: "elm";
26837             after: "push1";
26838          }
26839          program { name: "push1";
26840             action:  STATE_SET "hidden" 0.0;
26841             target: "elm.swallow.content";
26842             after: "push2";
26843          }
26844          program { name: "push2";
26845             action:  STATE_SET "default" 0.0;
26846             in: 0.5 0.0;
26847             transition: LINEAR 0.5;
26848             target: "elm.swallow.content";
26849             after: "push3";
26850          }
26851          program { name: "push3";
26852             action: SIGNAL_EMIT "elm,action,show,finished" "";
26853          }
26854
26855          program { name: "show_start";
26856             signal: "elm,action,show";
26857             source: "elm";
26858             after: "show1";
26859          }
26860          program { name: "show1";
26861             action:  STATE_SET "before_hidden" 0.0;
26862             target: "elm.swallow.content";
26863             after: "show2";
26864          }
26865          program { name: "show2";
26866             action:  STATE_SET "default" 0.0;
26867             in: 0.5 0.0;
26868             transition: LINEAR 0.5;
26869             target: "elm.swallow.content";
26870             after: "show3";
26871          }
26872          program { name: "show3";
26873             action: SIGNAL_EMIT "elm,action,show,finished" "";
26874          }
26875
26876          program { name: "pop_start";
26877             signal: "elm,action,pop";
26878             source: "elm";
26879             after: "pop1";
26880          }
26881          program { name: "pop1";
26882             action:  STATE_SET "default" 0.0;
26883             target: "elm.swallow.content";
26884             after: "pop2";
26885          }
26886          program { name: "pop2";
26887             action:  STATE_SET "hidden" 0.0;
26888             transition: LINEAR 0.5;
26889             target: "elm.swallow.content";
26890             after: "pop3";
26891          }
26892          program { name: "pop3";
26893             action: SIGNAL_EMIT "elm,action,hide,finished" "";
26894          }
26895
26896          program { name: "hide_start";
26897             signal: "elm,action,hide";
26898             source: "elm";
26899             after: "hide1";
26900          }
26901          program { name: "hide1";
26902             action:  STATE_SET "default" 0.0;
26903             target: "elm.swallow.content";
26904             after: "hide2";
26905          }
26906          program { name: "hide2";
26907             action:  STATE_SET "before_hidden" 0.0;
26908             transition: LINEAR 0.5;
26909             target: "elm.swallow.content";
26910             after: "hide3";
26911          }
26912          program { name: "hide3";
26913             action: SIGNAL_EMIT "elm,action,hide,finished" "";
26914          }
26915
26916          program { name: "reset";
26917             signal: "elm,action,reset";
26918             source: "elm";
26919             action:  STATE_SET "default" 0.0;
26920             target: "elm.swallow.content";
26921          }
26922       }
26923    }
26924
26925
26926
26927 ///////////////////////////////////////////////////////////////////////////////
26928 // FIXME: this doesn't look too hot. need to fix it up
26929    group { name: "elm/progressbar/horizontal/default";
26930       images {
26931          image: "shelf_inset.png" COMP;
26932          image: "bt_sm_base2.png" COMP;
26933          image: "bt_sm_hilight.png" COMP;
26934          image: "bt_sm_shine.png" COMP;
26935       }
26936       parts {
26937          part { name: "elm.background.progressbar";
26938             mouse_events: 0;
26939             description {
26940                state: "default" 0.0;
26941                rel1 {
26942                   relative: 0.0 0.0;
26943                   offset: 0 0;
26944                }
26945                rel2 {
26946                   relative: 1.0 1.0;
26947                }
26948             }
26949          }
26950          part { name: "elm.swallow.bar";
26951             mouse_events: 0;
26952             type: SWALLOW;
26953             description {
26954                min: 48 28;
26955                max: 99999 28;
26956                state: "default" 0.0;
26957                rel1 {
26958                   to_x: "elm.text";
26959                   to_y: "elm.background.progressbar";
26960                   relative: 1.0 0.0;
26961                }
26962                rel2 {
26963                   to: "elm.background.progressbar";
26964                   relative: 1.0 1.0;
26965                }
26966             }
26967          }
26968          part { name: "elm.swallow.content";
26969             type: SWALLOW;
26970             description { state: "default" 0.0;
26971                visible: 0;
26972                align: 0.0 0.5;
26973                rel1 {
26974                   offset: 4 0;
26975                   to_y: "elm.background.progressbar";
26976                }
26977                rel2 {
26978                   offset: 3 -1;
26979                   relative: 0.0 1.0;
26980                   to_y: "elm.background.progressbar";
26981                }
26982             }
26983             description { state: "visible" 0.0;
26984                inherit: "default" 0.0;
26985                visible: 1;
26986                aspect: 1.0 1.0;
26987                aspect_preference: VERTICAL;
26988                rel2.offset: 4 -1;
26989             }
26990          }
26991          part { name: "elm.text";
26992             type: TEXT;
26993             mouse_events: 0;
26994             scale: 1;
26995             description { state: "default" 0.0;
26996                visible: 0;
26997                fixed: 1 1;
26998                align: 0.0 0.5;
26999                rel1.to_x: "elm.swallow.content";
27000                rel1.relative: 1.0 0.0;
27001                rel1.offset: -1 4;
27002                rel2.to_x: "elm.swallow.content";
27003                rel2.relative: 1.0 1.0;
27004                rel2.offset: -1 -5;
27005                color: 0 0 0 255;
27006                text {
27007                   font: "Sans,Edje-Vera";
27008                   size: 10;
27009                   min: 0 0;
27010                   align: 0.0 0.5;
27011                }
27012             }
27013             description { state: "visible" 0.0;
27014                inherit: "default" 0.0;
27015                visible: 1;
27016                text.min: 1 1;
27017                rel1.offset: 0 4;
27018                rel2.offset: 0 -5;
27019             }
27020          }
27021
27022          part { name: "background";
27023             mouse_events: 0;
27024             clip_to: "elm.background.progressbar";
27025             description {
27026                state: "default" 0.0;
27027                rel1 {
27028                   to: "elm.swallow.bar";
27029                   relative: 0.0 0.0;
27030                }
27031                rel2 {
27032                   to: "elm.swallow.bar";
27033                   relative: 1.0 1.0;
27034                   offset: -1 -1;
27035                }
27036                image {
27037                   normal: "shelf_inset.png";
27038                   border: 7 7 7 7;
27039                }
27040             }
27041          }
27042
27043          part { name: "elm.text.status";
27044             type: TEXT;
27045             mouse_events: 0;
27046             description { state: "default" 0.0;
27047                fixed: 1 1;
27048                visible: 1;
27049                rel1 {
27050                   to: "background";
27051                   relative: 0.5 0.5;
27052                }
27053                rel2 {
27054                   to: "background";
27055                   relative: 0.5 0.5;
27056                }
27057                text {
27058                   font: "Sans:style=Bold,Edje-Vera-Bold";
27059                   size: 10;
27060                   min: 1 1;
27061                   align: 0.5 0.0;
27062                }
27063                color: 0 0 0 255;
27064             }
27065             description { state: "hidden" 0.0;
27066                inherit: "default" 0.0;
27067                visible: 0;
27068                text.min: 0 0;
27069             }
27070          }
27071
27072          part { name: "elm.progress.progressbar";
27073             mouse_events: 0;
27074             clip_to: "elm.background.progressbar";
27075             description {
27076                state: "default" 0.0;
27077                min: 14 28;
27078                fixed: 1 1;
27079                rel1 {
27080                   to: "elm.swallow.bar";
27081                   relative: 0.0 0.0;
27082                }
27083                rel2 {
27084                   to_y: "elm.swallow.bar";
27085                   to_x: "elm.cur.progressbar";
27086                   offset: -1 -1;
27087                }
27088                image {
27089                   normal: "bt_sm_base2.png";
27090                   border: 6 6 6 6;
27091                }
27092             }
27093             description {
27094                state: "invert" 0.0;
27095                inherit: "default" 0.0;
27096                rel1 {
27097                   to_y: "elm.swallow.bar";
27098                   to_x: "elm.cur.progressbar";
27099                }
27100                rel2 {
27101                   to: "elm.swallow.bar";
27102                   relative: 1.0 1.0;
27103                }
27104             }
27105             description {
27106                state: "state_begin" 0.0;
27107                inherit: "default" 0.0;
27108                rel1 {
27109                   to: "elm.swallow.bar";
27110                   relative: 0.0 0.0;
27111                }
27112                rel2 {
27113                   to: "elm.swallow.bar";
27114                   relative: 0.1 1.0;
27115                }
27116             }
27117             description {
27118                state: "state_end" 0.0;
27119                inherit: "default" 0.0;
27120                rel1 {
27121                   to: "elm.swallow.bar";
27122                   relative: 0.9 0.0;
27123                }
27124                rel2 {
27125                   to: "elm.swallow.bar";
27126                   relative: 1.0 1.0;
27127                }
27128             }
27129          }
27130          part { name: "text-bar";
27131             type: TEXT;
27132             mouse_events: 0;
27133             clip_to: "progress-rect";
27134             effect: SOFT_SHADOW;
27135             scale: 1;
27136             description { state: "default" 0.0;
27137                align: 0.0 0.0;
27138                fixed: 1 1;
27139                visible: 1;
27140                rel1.to: "elm.text.status";
27141                rel1.offset: -1 -1;
27142                rel2.to: "elm.text.status";
27143                text {
27144                   text_source: "elm.text.status";
27145                   font: "Sans:style=Bold,Edje-Vera-Bold";
27146                   size: 10;
27147                   min: 1 1;
27148                   align: 0.0 0.0;
27149                }
27150                color: 224 224 224 255;
27151                color3: 0 0 0 64;
27152             }
27153             description { state: "hidden" 0.0;
27154                inherit: "default" 0.0;
27155                visible: 0;
27156                text.min: 0 0;
27157             }
27158          }
27159
27160          part { name: "over1";
27161             mouse_events: 0;
27162             description { state: "default" 0.0;
27163                rel1.to: "elm.progress.progressbar";
27164                rel2.to: "elm.progress.progressbar";
27165                rel2.relative: 1.0 0.5;
27166                image {
27167                   normal: "bt_sm_hilight.png";
27168                   border: 6 6 6 0;
27169                }
27170             }
27171          }
27172
27173          part { name: "over2";
27174             mouse_events: 1;
27175             repeat_events: 1;
27176             description { state: "default" 0.0;
27177                rel1.to: "elm.progress.progressbar";
27178                rel2.to: "elm.progress.progressbar";
27179                image {
27180                   normal: "bt_sm_shine.png";
27181                   border: 6 6 6 0;
27182                }
27183             }
27184          }
27185
27186          part { name: "elm.cur.progressbar";
27187             mouse_events: 0;
27188             dragable {
27189                confine: "background";
27190                x: 1 1 1;
27191                y: 0 0 0;
27192             }
27193             description { state: "default" 0.0;
27194                min: 14 28;
27195                fixed: 1 1;
27196                visible: 0;
27197                rel1 {
27198                   to: "background";
27199                   relative: 0 0;
27200                }
27201                rel2.to: "background";
27202            }
27203          }
27204          part { name: "progress-rect";
27205             mouse_events: 0;
27206             description {
27207                state: "default" 0.0;
27208                rel1.to: "elm.progress.progressbar";
27209                rel2.to: "elm.progress.progressbar";
27210             }
27211          }
27212       }
27213       programs {
27214          program { name: "label_show";
27215             signal: "elm,state,text,visible";
27216             source: "elm";
27217             action:  STATE_SET "visible" 0.0;
27218             target: "elm.text";
27219          }
27220          program { name: "label_hide";
27221             signal: "elm,state,text,hidden";
27222             source: "elm";
27223             action:  STATE_SET "default" 0.0;
27224             target: "elm.text";
27225          }
27226          program { name: "icon_show";
27227             signal: "elm,state,icon,visible";
27228             source: "elm";
27229             action:  STATE_SET "visible" 0.0;
27230             target: "elm.swallow.content";
27231          }
27232          program { name: "icon_hide";
27233             signal: "elm,state,icon,hidden";
27234             source: "elm";
27235             action:  STATE_SET "default" 0.0;
27236             target: "elm.swallow.content";
27237          }
27238          program { name: "units_show";
27239             signal: "elm,state,units,visible";
27240             source: "elm";
27241             action:  STATE_SET "default" 0.0;
27242             target: "text-bar";
27243             target: "elm.text.status";
27244          }
27245          program { name: "units_hide";
27246             signal: "elm,state,units,hidden";
27247             source: "elm";
27248             action:  STATE_SET "hidden" 0.0;
27249             target: "text-bar";
27250             target: "elm.text.status";
27251          }
27252          program { name: "slide_to_end";
27253             action:  STATE_SET "state_end" 0.0;
27254             transition: LINEAR 0.5;
27255             target: "elm.progress.progressbar";
27256             after: "slide_to_begin";
27257          }
27258          program { name: "slide_to_begin";
27259             signal: "elm,state,slide,begin";
27260             action: STATE_SET "state_begin" 0.0;
27261             target: "elm.progress.progressbar";
27262             transition: LINEAR 0.5;
27263             after: "slide_to_end";
27264          }
27265          program { name: "start_pulse";
27266             signal: "elm,state,pulse,start";
27267             source: "elm";
27268             after: "slide_to_end";
27269          }
27270          program { name: "stop_pulse";
27271             signal: "elm,state,pulse,stop";
27272             source: "elm";
27273             action: ACTION_STOP;
27274             target: "slide_to_begin";
27275             target: "slide_to_end";
27276             target: "start_pulse";
27277             after: "state_pulse";
27278          }
27279          program { name: "state_pulse";
27280             signal: "elm,state,pulse";
27281             source: "elm";
27282             action: STATE_SET "state_begin" 0.0;
27283             target: "elm.progress.progressbar";
27284             after: "units_hide";
27285          }
27286          program { name: "state_fraction";
27287             signal: "elm,state,fraction";
27288             source: "elm";
27289             action: ACTION_STOP;
27290             target: "slide_to_begin";
27291             target: "slide_to_end";
27292             target: "start_pulse";
27293             action: STATE_SET "default" 0.0;
27294             target: "elm.progress.progressbar";
27295          }
27296          program { name: "set_invert_on";
27297             signal: "elm,state,inverted,on";
27298             source: "elm";
27299             action:  STATE_SET "invert" 0.0;
27300             target: "elm.progress.progressbar";
27301          }
27302          program { name: "set_invert_off";
27303             signal: "elm,state,inverted,off";
27304             source: "elm";
27305             action:  STATE_SET "default" 0.0;
27306             target: "elm.progress.progressbar";
27307          }
27308       }
27309    }
27310
27311 ///////////////////////////////////////////////////////////////////////////////
27312    group { name: "elm/progressbar/vertical/default";
27313       images {
27314          image: "shelf_inset.png" COMP;
27315          image: "bt_sm_base2.png" COMP;
27316          image: "bt_sm_hilight.png" COMP;
27317          image: "bt_sm_shine.png" COMP;
27318       }
27319       parts {
27320          part { name: "elm.background.progressbar";
27321             type: RECT;
27322             mouse_events: 0;
27323             description {
27324                state: "default" 0.0;
27325                rel1 {
27326                   relative: 0.0 0.0;
27327                   offset: 0 0;
27328                }
27329                rel2 {
27330                   relative: 1.0 1.0;
27331                   offset: -1 -1;
27332                }
27333             }
27334          }
27335          part { name: "elm.swallow.bar";
27336             type: SWALLOW;
27337             scale: 1;
27338             description { state: "default" 0.0;
27339                min: 28 48;
27340                max: 28 9999;
27341                align: 0.5 1.0;
27342                rel1 {
27343                   to_y: "elm.text";
27344                   relative: 0.0 1.0;
27345                   offset: 0 2;
27346                }
27347                rel2 {
27348                   to_y: "elm.text.box";
27349                   relative: 1.0 0.0;
27350                   offset: -1 -3;
27351                }
27352             }
27353          }
27354          part { name: "elm.swallow.content";
27355             type: SWALLOW;
27356             description { state: "default" 0.0;
27357                visible: 0;
27358                align: 0.5 0.0;
27359                rel1 {
27360                   offset: 0 4;
27361                   to_x: "elm.swallow.bar";
27362                }
27363                rel2 {
27364                   offset: -1 3;
27365                   relative: 1.0 0.0;
27366                   to_x: "elm.swallow.bar";
27367                }
27368             }
27369             description { state: "visible" 0.0;
27370                inherit: "default" 0.0;
27371                visible: 1;
27372                aspect: 1.0 1.0;
27373                aspect_preference: HORIZONTAL;
27374                rel2.offset: -1 4;
27375             }
27376          }
27377          part { name: "elm.text";
27378             type: TEXT;
27379             mouse_events: 0;
27380             scale: 1;
27381             description { state: "default" 0.0;
27382                visible: 0;
27383                fixed: 1 1;
27384                align: 0.5 0.0;
27385                rel1.to_y: "elm.swallow.content";
27386                rel1.relative: 0.5 1.0;
27387                rel1.offset: 0 -1;
27388                rel2.to_y: "elm.swallow.content";
27389                rel2.relative: 0.5 1.0;
27390                rel2.offset: -1 -1;
27391                color: 0 0 0 255;
27392                text {
27393                   font: "Sans,Edje-Vera";
27394                   size: 10;
27395                   min: 0 0;
27396                   align: 0.5 0.0;
27397                }
27398             }
27399             description { state: "visible" 0.0;
27400                inherit: "default" 0.0;
27401                visible: 1;
27402                text.min: 1 1;
27403                rel1.offset: 4 0;
27404                rel2.offset: -5 0;
27405             }
27406          }
27407
27408          part { name: "background";
27409             mouse_events: 0;
27410             clip_to: "elm.background.progressbar";
27411             description {
27412                state: "default" 0.0;
27413                rel1 {
27414                   to: "elm.swallow.bar";
27415                   relative: 0.0 0.0;
27416                }
27417                rel2 {
27418                   to: "elm.swallow.bar";
27419                   relative: 1.0 1.0;
27420                   offset: -1 -1;
27421                }
27422                image {
27423                   normal: "shelf_inset.png";
27424                   border: 7 7 7 7;
27425                }
27426             }
27427          }
27428
27429          part { name: "elm.progress.progressbar";
27430             mouse_events: 0;
27431             clip_to: "elm.background.progressbar";
27432             description {
27433                state: "default" 0.0;
27434                min: 28 14;
27435                fixed: 1 1;
27436                rel1 {
27437                   to: "elm.swallow.bar";
27438                   relative: 0.0 0.0;
27439                }
27440                rel2 {
27441                   to_x: "elm.swallow.bar";
27442                   to_y: "elm.cur.progressbar";
27443                   offset: -1 -1;
27444                }
27445                image {
27446                   normal: "bt_sm_base2.png";
27447                   border: 6 6 6 6;
27448                }
27449             }
27450             description {
27451                state: "invert" 0.0;
27452                inherit: "default" 0.0;
27453                rel1 {
27454                   to_x: "elm.swallow.bar";
27455                   to_y: "elm.cur.progressbar";
27456                }
27457                rel2 {
27458                   to: "elm.swallow.bar";
27459                   relative: 1.0 1.0;
27460                }
27461             }
27462             description {
27463                state: "state_begin" 0.0;
27464                inherit: "default" 0.0;
27465                rel1 {
27466                   to: "elm.swallow.bar";
27467                   relative: 0.0 0.0;
27468                }
27469                rel2 {
27470                   to: "elm.swallow.bar";
27471                   relative: 1.0 0.1;
27472                }
27473             }
27474             description {
27475                state: "state_end" 0.0;
27476                inherit: "default" 0.0;
27477                rel1 {
27478                   to: "elm.swallow.bar";
27479                   relative: 0.0 0.9;
27480                }
27481                rel2 {
27482                   to: "elm.swallow.bar";
27483                   relative: 1.0 1.0;
27484                }
27485             }
27486          }
27487
27488          part { name: "over1";
27489             mouse_events: 0;
27490             description { state: "default" 0.0;
27491                rel1.to: "elm.progress.progressbar";
27492                rel2.to: "elm.progress.progressbar";
27493                rel2.relative: 1.0 0.5;
27494                image {
27495                   normal: "bt_sm_hilight.png";
27496                   border: 6 6 6 0;
27497                }
27498             }
27499          }
27500
27501          part { name: "over2";
27502             mouse_events: 1;
27503             repeat_events: 1;
27504             description { state: "default" 0.0;
27505                rel1.to: "elm.progress.progressbar";
27506                rel2.to: "elm.progress.progressbar";
27507                image {
27508                   normal: "bt_sm_shine.png";
27509                   border: 6 6 6 0;
27510                }
27511             }
27512          }
27513
27514          part { name: "elm.cur.progressbar";
27515             mouse_events: 0;
27516             dragable {
27517                confine: "background";
27518                x: 0 0 0;
27519                y: 1 1 1;
27520             }
27521             description { state: "default" 0.0;
27522                min: 28 14;
27523                fixed: 1 1;
27524                visible: 0;
27525                rel1 {
27526                   to: "background";
27527                   relative: 0 0;
27528                }
27529                rel2.to: "background";
27530            }
27531          }
27532
27533          part { name: "elm.text.box";
27534             mouse_events: 0;
27535             type: RECT;
27536             description { state: "default" 0.0;
27537                visible: 0;
27538                rel1 {
27539                   to: "elm.text.status";
27540                   offset: -2 -2;
27541                }
27542                rel2 {
27543                   to: "elm.text.status";
27544                   offset: 2 2;
27545                }
27546                color: 255 255 255 0;
27547             }
27548             description { state: "visible" 0.0;
27549                inherit: "default" 0.0;
27550                visible: 1;
27551             }
27552          }
27553          part { name: "elm.text.status";
27554             type: TEXT;
27555             mouse_events: 0;
27556             scale: 1;
27557             description { state: "default" 0.0;
27558                visible: 0;
27559                fixed: 1 1;
27560                align: 0.5 1.0;
27561                rel1.relative: 0.0 1.0;
27562                rel1.offset: 2 0;
27563                rel2.relative: 1.0 1.0;
27564                rel2.offset: -2 0;
27565                color: 0 0 0 255;
27566                text {
27567                   font: "Sans:style=Bold,Edje-Vera-Bold";
27568                   size: 10;
27569                   min: 0 0;
27570                   align: 0.5 0.0;
27571                }
27572             }
27573             description { state: "visible" 0.0;
27574                inherit: "default" 0.0;
27575                fixed: 1 1;
27576                visible: 1;
27577                text.min: 1 1;
27578                rel1.offset: 8 -9;
27579                rel2.offset: -9 -9;
27580             }
27581          }
27582       }
27583       programs {
27584          program { name: "label_show";
27585             signal: "elm,state,text,visible";
27586             source: "elm";
27587             action:  STATE_SET "visible" 0.0;
27588             target: "elm.text";
27589          }
27590          program { name: "label_hide";
27591             signal: "elm,state,text,hidden";
27592             source: "elm";
27593             action:  STATE_SET "default" 0.0;
27594             target: "elm.text";
27595          }
27596          program { name: "icon_show";
27597             signal: "elm,state,icon,visible";
27598             source: "elm";
27599             action:  STATE_SET "visible" 0.0;
27600             target: "elm.swallow.content";
27601          }
27602          program { name: "icon_hide";
27603             signal: "elm,state,icon,hidden";
27604             source: "elm";
27605             action:  STATE_SET "default" 0.0;
27606             target: "elm.swallow.content";
27607          }
27608          program { name: "units_show";
27609             signal: "elm,state,units,visible";
27610             source: "elm";
27611             action:  STATE_SET "visible" 0.0;
27612             target: "elm.text.status";
27613             target: "elm.text.box";
27614          }
27615          program { name: "units_hide";
27616             signal: "elm,state,units,hidden";
27617             source: "elm";
27618             action:  STATE_SET "default" 0.0;
27619             target: "elm.text.status";
27620             target: "elm.text.box";
27621          }
27622          program { name: "slide_to_end";
27623             action:  STATE_SET "state_end" 0.0;
27624             transition: LINEAR 0.5;
27625             target: "elm.progress.progressbar";
27626             after: "slide_to_begin";
27627          }
27628          program { name: "slide_to_begin";
27629             action:  STATE_SET "state_begin" 0.0;
27630             target: "elm.progress.progressbar";
27631             transition: LINEAR 0.5;
27632             after: "slide_to_end";
27633          }
27634          program { name: "start_pulse";
27635             signal: "elm,state,pulse,start";
27636             source: "elm";
27637             action: STATE_SET "state_begin" 0.0;
27638             target: "elm.progress.progressbar";
27639             after: "slide_to_end";
27640          }
27641          program { name: "stop_pulse";
27642             signal: "elm,state,pulse,stop";
27643             source: "elm";
27644             action: ACTION_STOP;
27645             target: "slide_to_begin";
27646             target: "slide_to_end";
27647             target: "start_pulse";
27648             after: "state_pulse";
27649          }
27650          program { name: "state_pulse";
27651             signal: "elm,state,pulse";
27652             source: "elm";
27653             action: STATE_SET "state_begin" 0.0;
27654             target: "elm.progress.progressbar";
27655             after: "units_hide";
27656          }
27657          program { name: "state_fraction";
27658             signal: "elm,state,fraction";
27659             source: "elm";
27660             action: ACTION_STOP;
27661             target: "slide_to_begin";
27662             target: "slide_to_end";
27663             target: "start_pulse";
27664             action: STATE_SET "default" 0.0;
27665             target: "elm.progress.progressbar";
27666          }
27667          program { name: "set_invert_on";
27668             signal: "elm,state,inverted,on";
27669             source: "elm";
27670             action:  STATE_SET "invert" 0.0;
27671             target: "elm.progress.progressbar";
27672             target: "elm.cur.progressbar";
27673          }
27674          program { name: "set_invert_off";
27675             signal: "elm,state,inverted,off";
27676             source: "elm";
27677             action:  STATE_SET "default" 0.0;
27678             target: "elm.progress.progressbar";
27679             target: "elm.cur.progressbar";
27680          }
27681       }
27682    }
27683
27684 ///////////////////////////////////////////////////////////////////////////////
27685    group { name: "elm/separator/horizontal/default";
27686        images {
27687            image: "separator_h.png" COMP;
27688        }
27689        parts {
27690            part { name: "separator"; // separator group
27691                description { state: "default" 0.0;
27692                    min: 2 2;
27693                    rel1.offset: 4 4;
27694                    rel2.offset: -5 -5;
27695                    image {
27696                        normal: "separator_h.png";
27697                    }
27698                    fill {
27699                        smooth: 0;
27700                    }
27701                }
27702            }
27703        }
27704    }
27705
27706    ///////////////////////////////////////////////////////////////////////////////
27707    group { name: "elm/separator/vertical/default";
27708        images {
27709            image: "separator_v.png" COMP;
27710        }
27711        parts {
27712            part { name: "separator"; // separator group
27713                description { state: "default" 0.0;
27714                    min: 2 2;
27715                    rel1.offset: 4 4;
27716                    rel2.offset: -5 -5;
27717                    image {
27718                        normal: "separator_v.png";
27719                    }
27720                    fill {
27721                        smooth: 0;
27722                    }
27723                }
27724            }
27725        }
27726    }
27727
27728    group { name: "elm/progressbar/horizontal/wheel";
27729        images {
27730            image: "busy-1.png" COMP;
27731            image: "busy-2.png" COMP;
27732            image: "busy-3.png" COMP;
27733            image: "busy-4.png" COMP;
27734            image: "busy-5.png" COMP;
27735            image: "busy-6.png" COMP;
27736            image: "busy-7.png" COMP;
27737            image: "busy-8.png" COMP;
27738            image: "busy-9.png" COMP;
27739        }
27740        parts {
27741            part { name: "elm.background.progressbar";
27742                mouse_events: 0;
27743                type: RECT;
27744                description {
27745                    state: "default" 0.0;
27746                }
27747            }
27748            part { name: "elm.swallow.bar";
27749                mouse_events: 0;
27750                type: SWALLOW;
27751                description { state: "default" 0.0;
27752                    min: 0 0;
27753                    max: 0 0;
27754                    visible: 0;
27755                }
27756            }
27757            part { name: "elm.swallow.content";
27758                type: SWALLOW;
27759                description { state: "default" 0.0;
27760                    min: 0 0;
27761                    max: 0 0;
27762                    visible: 0;
27763                }
27764            }
27765            part { name: "background";
27766                mouse_events: 0;
27767                clip_to: "elm.background.progressbar";
27768                description {
27769                    state: "default" 0.0;
27770                    min: 32 32;
27771                    max: 32 32;
27772                    visible: 1;
27773                    aspect: 1.0 1.0;
27774                    aspect_preference: BOTH;
27775                    image {
27776                        normal: "busy-9.png";
27777                        border: 7 7 7 7;
27778                    }
27779                }
27780                description {
27781                    state: "pulse" 0.0;
27782                    inherit: "default" 0.0;
27783                    image {
27784                        normal: "busy-9.png";
27785                        tween:  "busy-1.png";
27786                        tween:  "busy-2.png";
27787                        tween:  "busy-3.png";
27788                        tween:  "busy-4.png";
27789                        tween:  "busy-5.png";
27790                        tween:  "busy-6.png";
27791                        tween:  "busy-7.png";
27792                        tween:  "busy-8.png";
27793                        border: 7 7 7 7;
27794                    }
27795                }
27796            }
27797        }
27798        programs {
27799            program { name: "start_pulse";
27800                signal: "elm,state,pulse,start";
27801                source: "elm";
27802                action: STATE_SET "pulse" 0.0;
27803                target: "background";
27804                transition: LINEAR 0.5;
27805                after: "start_pulse";
27806            }
27807            program { name: "stop_pulse";
27808                signal: "elm,state,pulse,stop";
27809                source: "elm";
27810                action: STATE_SET "default" 0.0;
27811                target: "background";
27812            }
27813        }
27814    }
27815
27816
27817 ///////////////////////////////////////////////////////////////////////////////
27818    group { name: "elm/spinner/base/default";
27819        images {
27820            image: "shelf_inset.png" COMP;
27821            image: "bt_base1.png" COMP;
27822            image: "bt_hilight.png" COMP;
27823            image: "bt_shine.png" COMP;
27824            image: "bt_glow.png" COMP;
27825            image: "bt_dis_base.png" COMP;
27826            image: "bt_dis_hilight.png" COMP;
27827            image: "sp_bt_l.png" COMP;
27828            image: "sp_bt_r.png" COMP;
27829        }
27830        parts {
27831            part { name: "bg";
27832                type: RECT;
27833                description { state: "default" 0.0;
27834                    min: 0 30;
27835                    rel1.offset: 1 1;
27836                    rel2.offset: -2 -2;
27837                    color: 255 255 255 0;
27838                }
27839            }
27840            part { name: "conf_over";
27841                mouse_events:  0;
27842                description { state: "default" 0.0;
27843                    rel1.to: "bg";
27844                    rel2.to: "bg";
27845                    image {
27846                        normal: "shelf_inset.png";
27847                        border: 7 7 7 7;
27848                        middle: 0;
27849                    }
27850                    fill.smooth : 0;
27851                }
27852            }
27853            part { name: "left_bt";
27854                mouse_events:  1;
27855                description { state: "default" 0.0;
27856                    rel1 { to: "bg";
27857                        offset: 3 3;
27858                    }
27859                    rel2 { to: "bg";
27860                        offset: -4 -4;
27861                    }
27862                    align: 0.0 0.5;
27863                    min: 24 24;
27864                    aspect: 1.0 1.0;
27865                    aspect_preference: VERTICAL;
27866                    image {
27867                        normal: "bt_base1.png";
27868                        border: 6 6 6 6;
27869                    }
27870                    fill.smooth : 0;
27871                }
27872                description { state: "clicked" 0.0;
27873                    inherit: "default" 0.0;
27874                    image.normal: "bt_base1.png";
27875                    image.middle: SOLID;
27876                }
27877                description { state: "disabled" 0.0;
27878                    inherit:  "default" 0.0;
27879                    image {
27880                        normal: "bt_dis_base.png";
27881                        border: 4 4 4 4;
27882                    }
27883                }
27884            }
27885            part {         name: "left_over1";
27886                mouse_events: 0;
27887                description { state: "default" 0.0;
27888                    rel1.to: "left_bt";
27889                    rel2 { to: "left_bt";
27890                        relative: 1.0 0.5;
27891                    }
27892                    image {
27893                        normal: "bt_hilight.png";
27894                        border: 7 7 7 0;
27895                    }
27896                }
27897                description { state: "disabled" 0.0;
27898                    inherit:  "default" 0.0;
27899                    image {
27900                        normal: "bt_dis_hilight.png";
27901                        border: 4 4 4 0;
27902                    }
27903                }
27904            }
27905            part { name: "left_over2";
27906                mouse_events: 1;
27907                repeat_events: 1;
27908                ignore_flags: ON_HOLD;
27909                description { state: "default" 0.0;
27910                    rel1.to: "left_bt";
27911                    rel2.to: "left_bt";
27912                    image {
27913                        normal: "bt_shine.png";
27914                        border: 7 7 7 7;
27915                    }
27916                }
27917                description { state: "disabled" 0.0;
27918                    inherit:  "default" 0.0;
27919                    visible: 0;
27920                }
27921            }
27922            part { name: "left_over3";
27923                mouse_events: 1;
27924                repeat_events: 1;
27925                description { state: "default" 0.0;
27926                    color: 255 255 255 0;
27927                    rel1.to: "left_bt";
27928                    rel2.to: "left_bt";
27929                    image {
27930                        normal: "bt_glow.png";
27931                        border: 12 12 12 12;
27932                    }
27933                    fill.smooth : 0;
27934                }
27935                description { state: "clicked" 0.0;
27936                    inherit:  "default" 0.0;
27937                    visible: 1;
27938                    color: 255 255 255 255;
27939                }
27940            }
27941            part { name: "right_bt";
27942                mouse_events:  1;
27943                description { state: "default" 0.0;
27944                    rel1 { to: "bg";
27945                        offset: -26 3;
27946                    }
27947                    rel2 { to: "bg";
27948                        offset: -4 -4;
27949                    }
27950                    align: 1.0 0.5;
27951                    min: 24 24;
27952                    aspect: 1.0 1.0;
27953                    aspect_preference: VERTICAL;
27954                    image {
27955                        normal: "bt_base1.png";
27956                        border: 5 5 4 12;
27957                    }
27958                    fill.smooth : 0;
27959                }
27960                description { state: "clicked" 0.0;
27961                    inherit: "default" 0.0;
27962                    image.normal: "bt_base1.png";
27963                    image.middle: SOLID;
27964                }
27965                description { state: "disabled" 0.0;
27966                    inherit:  "default" 0.0;
27967                    image {
27968                        normal: "bt_dis_base.png";
27969                        border: 4 4 4 4;
27970                    }
27971                }
27972            }
27973            part { name: "right_over1";
27974                mouse_events: 0;
27975                description { state: "default" 0.0;
27976                    rel1.to: "right_bt";
27977                    rel2 { to: "right_bt";
27978                        relative: 1.0 0.5;
27979                    }
27980                    image {
27981                        normal: "bt_hilight.png";
27982                        border: 7 7 7 0;
27983                    }
27984                }
27985                description { state: "disabled" 0.0;
27986                    inherit:  "default" 0.0;
27987                    image {
27988                        normal: "bt_dis_hilight.png";
27989                        border: 4 4 4 0;
27990                    }
27991                }
27992            }
27993            part { name: "right_over2";
27994                mouse_events: 1;
27995                repeat_events: 1;
27996                ignore_flags: ON_HOLD;
27997                description { state: "default" 0.0;
27998                    rel1.to: "right_bt";
27999                    rel2.to: "right_bt";
28000                    image {
28001                        normal: "bt_shine.png";
28002                        border: 7 7 7 7;
28003                    }
28004                }
28005                description { state: "disabled" 0.0;
28006                    inherit:  "default" 0.0;
28007                    visible: 0;
28008                }
28009            }
28010            part { name: "right_over3";
28011                mouse_events: 1;
28012                repeat_events: 1;
28013                description { state: "default" 0.0;
28014                    color: 255 255 255 0;
28015                    rel1.to: "right_bt";
28016                    rel2.to: "right_bt";
28017                    image {
28018                        normal: "bt_glow.png";
28019                        border: 12 12 12 12;
28020                    }
28021                    fill.smooth : 0;
28022                }
28023                description { state: "clicked" 0.0;
28024                    inherit:  "default" 0.0;
28025                    visible: 1;
28026                    color: 255 255 255 255;
28027                }
28028            }
28029            part { name: "left_bt_icon";
28030                repeat_events: 1;
28031                description { state: "default" 0.0;
28032                    rel1.to: "left_bt";
28033                    rel1.offset: 4 4;
28034                    rel2.to: "left_bt";
28035                    rel2.offset: -5 -5;
28036                    align: 0.5 0.5;
28037                    min: 16 16;
28038                    aspect: 1.0 1.0;
28039                    aspect_preference: BOTH;
28040                    image.normal: "sp_bt_l.png";
28041                }
28042            }
28043            part { name: "right_bt_icon";
28044                repeat_events: 1;
28045                description { state: "default" 0.0;
28046                    rel1.to: "right_bt";
28047                    rel1.offset: 4 4;
28048                    rel2.to: "right_bt";
28049                    rel2.offset: -5 -5;
28050                    align: 0.5 0.5;
28051                    min: 16 16;
28052                    aspect: 1.0 1.0;
28053                    aspect_preference: BOTH;
28054                    image.normal: "sp_bt_r.png";
28055                }
28056            }
28057            part { name: "elm.text";
28058                type: TEXT;
28059                mouse_events: 0;
28060                scale: 1;
28061                description { state: "default" 0.0;
28062                    visible: 1;
28063                    align: 0.0 0.5;
28064                    rel1 { relative: 1.0 0.0;
28065                        offset: 3 2;
28066                        to_x: "left_bt";
28067                        to_y: "bg";
28068                    }
28069                    rel2 { relative: 0.0 1.0;
28070                        offset: -3 -2;
28071                        to_x: "right_bt";
28072                        to_y: "bg";
28073                    }
28074                    color: 0 0 0 255;
28075                    text {
28076                        font: "Sans,Edje-Vera";
28077                        size: 10;
28078                        min: 1 1;
28079                        align: 0.5 0.5;
28080                    }
28081                }
28082                description { state: "active" 0.0;
28083                    inherit: "default" 0.0;
28084                    visible: 0;
28085                }
28086                description { state: "disabled_active" 0.0;
28087                    inherit: "default" 0.0;
28088                    color: 0 0 0 128;
28089                    color3: 0 0 0 0;
28090                }
28091                description { state: "disabled" 0.0;
28092                    inherit: "default" 0.0;
28093                    color: 0 0 0 128;
28094                    color3: 0 0 0 0;
28095                }
28096            }
28097            part { name: "elm.dragable.slider";
28098                type: RECT;
28099                mouse_events: 0;
28100                scale: 1;
28101                dragable {
28102                    x: 1 1 0;
28103                    y: 0 0 0;
28104                }
28105                description { state: "default" 0.0;
28106                    rel1.to: "bg";
28107                    rel2.to: "bg";
28108                    fixed: 1 1;
28109                    color: 0 0 0 0;
28110                }
28111            }
28112            part { name: "button_events";
28113                type: RECT;
28114                dragable {
28115                    events: "elm.dragable.slider";
28116                }
28117                mouse_events: 1;
28118                description { state: "default" 0.0;
28119                    rel1.to: "elm.text";
28120                    rel2.to: "elm.text";
28121                    color: 0 0 0 0;
28122                }
28123            }
28124            part { name: "elm.swallow.entry";
28125                type: SWALLOW;
28126                description { state: "default" 0.0;
28127                    visible: 0;
28128                    align: 0.5 0.5;
28129                    rel1 { relative: 1.0 0.5;
28130                        offset: 3 2;
28131                        to_x: "left_bt";
28132                        to_y: "bg";
28133                    }
28134                    rel2 { relative: 0.0 0.5;
28135                        offset: -3 -2;
28136                        to_x: "right_bt";
28137                        to_y: "bg";
28138                    }
28139                    fixed: 1 1;
28140                    color: 0 0 0 0;
28141                }
28142                description { state: "active" 0.0;
28143                    inherit: "default" 0.0;
28144                    visible: 1;
28145                    color: 255 255 255 255;
28146                }
28147                description { state: "disabled_active" 0.0;
28148                    inherit: "default" 0.0;
28149                    visible: 0;
28150                }
28151                description { state: "disabled" 0.0;
28152                    inherit: "default" 0.0;
28153                    visible: 0;
28154                }
28155            }
28156            part { name: "disabler";
28157                type: RECT;
28158                description { state: "default" 0.0;
28159                    color: 0 0 0 0;
28160                    visible: 0;
28161                }
28162                description { state: "disabled" 0.0;
28163                    inherit: "default" 0.0;
28164                    visible: 1;
28165                }
28166            }
28167        }
28168        programs {
28169            program { name: "text_show";
28170                signal: "elm,state,text,visible";
28171                source: "elm";
28172                action:  STATE_SET "visible" 0.0;
28173                target: "elm.text";
28174            }
28175            program { name: "text_hide";
28176                signal: "elm,state,text,hidden";
28177                source: "elm";
28178                action:  STATE_SET "default" 0.0;
28179                target: "elm.text";
28180            }
28181            program { name: "dec";
28182                signal: "mouse,down,1";
28183                source: "left_bt";
28184                action: SIGNAL_EMIT "elm,action,decrement,start" "";
28185            }
28186            program { name: "dec2";
28187                signal: "mouse,up,1";
28188                source: "left_bt";
28189                action: SIGNAL_EMIT "elm,action,decrement,stop" "";
28190            }
28191            program { name: "inc";
28192                signal: "mouse,down,1";
28193                source: "right_bt";
28194                action: SIGNAL_EMIT "elm,action,increment,start" "";
28195            }
28196            program { name: "inc2";
28197                signal: "mouse,up,1";
28198                source: "right_bt";
28199                action: SIGNAL_EMIT "elm,action,increment,stop" "";
28200            }
28201            program {
28202                name:   "left_bt_click";
28203                signal: "mouse,down,1";
28204                source: "left_over2";
28205                action: STATE_SET "clicked" 0.0;
28206                target: "left_bt";
28207            }
28208            program {
28209                name:   "left_bt_unclick";
28210                signal: "mouse,up,1";
28211                source: "left_over2";
28212                action: STATE_SET "default" 0.0;
28213                target: "left_bt";
28214            }
28215            program {
28216                name:   "left_bt_click2";
28217                signal: "mouse,down,1";
28218                source: "left_over3";
28219                action: STATE_SET "clicked" 0.0;
28220                target: "left_over3";
28221            }
28222            program {
28223                name:   "left_bt_unclick2";
28224                signal: "mouse,up,1";
28225                source: "left_over3";
28226                action: STATE_SET "default" 0.0;
28227                transition: DECELERATE 0.5;
28228                target: "left_over3";
28229            }
28230            program {
28231                name:   "left_bt_unclick3";
28232                signal: "mouse,up,1";
28233                source: "left_over2";
28234                action: SIGNAL_EMIT "elm,action,click" "";
28235            }
28236            program {
28237                name:   "left_bt_pressed_anim";
28238                signal: "elm,left,anim,activate";
28239                source: "elm";
28240                action: STATE_SET "clicked" 0.0;
28241                target: "left_bt";
28242                target: "left_over3";
28243                after: "left_bt_unpressed_anim";
28244            }
28245            program {
28246                name:   "left_bt_unpressed_anim";
28247                action: STATE_SET "default" 0.0;
28248                transition: DECELERATE 0.5;
28249                target: "left_bt";
28250                target: "left_over3";
28251            }
28252
28253            program {
28254                name:   "right_bt_click";
28255                signal: "mouse,down,1";
28256                source: "right_over2";
28257                action: STATE_SET "clicked" 0.0;
28258                target: "right_bt";
28259            }
28260            program {
28261                name:   "right_bt_unclick";
28262                signal: "mouse,up,1";
28263                source: "right_over2";
28264                action: STATE_SET "default" 0.0;
28265                target: "right_bt";
28266            }
28267            program {
28268                name:   "right_bt_click2";
28269                signal: "mouse,down,1";
28270                source: "right_over3";
28271                action: STATE_SET "clicked" 0.0;
28272                target: "right_over3";
28273            }
28274            program {
28275                name:   "right_bt_unclick2";
28276                signal: "mouse,up,1";
28277                source: "right_over3";
28278                action: STATE_SET "default" 0.0;
28279                transition: DECELERATE 0.5;
28280                target: "right_over3";
28281            }
28282            program {
28283                name:   "right_bt_unclick3";
28284                signal: "mouse,up,1";
28285                source: "right_over2";
28286                action: SIGNAL_EMIT "elm,action,click" "";
28287            }
28288            program {
28289                name:   "right_bt_pressed_anim";
28290                signal: "elm,right,anim,activate";
28291                source: "elm";
28292                action: STATE_SET "clicked" 0.0;
28293                target: "right_bt";
28294                target: "right_over3";
28295                after: "right_bt_unpressed_anim";
28296            }
28297            program {
28298                name:   "right_bt_unpressed_anim";
28299                action: STATE_SET "default" 0.0;
28300                transition: DECELERATE 0.5;
28301                target: "right_bt";
28302                target: "right_over3";
28303            }
28304
28305            program { name: "disable";
28306                signal: "elm,state,disabled";
28307                source: "elm";
28308                action: STATE_SET "disabled" 0.0;
28309                target: "left_bt";
28310                target: "left_over1";
28311                target: "left_over2";
28312                target: "right_bt";
28313                target: "right_over1";
28314                target: "right_over2";
28315                target: "disabler";
28316                after: "disable_text";
28317            }
28318            program { name: "disable_text";
28319                script {
28320                    new st[31];
28321                    new Float:vl;
28322                    get_state(PART:"elm.text", st, 30, vl);
28323                    if (!strcmp(st, "active"))
28324                    set_state(PART:"elm.text", "disabled_active", 0.0);
28325                    else
28326                    set_state(PART:"elm.text", "disabled", 0.0);
28327
28328                    get_state(PART:"elm.swallow.entry", st, 30, vl);
28329                    if (!strcmp(st, "active"))
28330                    set_state(PART:"elm.swallow.entry", "disabled_active", 0.0);
28331                    else
28332                    set_state(PART:"elm.swallow.entry", "disabled", 0.0);
28333                }
28334            }
28335            program { name: "enable";
28336                signal: "elm,state,enabled";
28337                source: "elm";
28338                action: STATE_SET "default" 0.0;
28339                target: "left_bt";
28340                target: "left_over1";
28341                target: "left_over2";
28342                target: "right_bt";
28343                target: "right_over1";
28344                target: "right_over2";
28345                target: "disabler";
28346                after: "enable_text";
28347            }
28348            program { name: "enable_text";
28349                script {
28350                    new st[31];
28351                    new Float:vl;
28352                    get_state(PART:"elm.text", st, 30, vl);
28353                    if (!strcmp(st, "disabled_active"))
28354                    set_state(PART:"elm.text", "active", 0.0);
28355                    else
28356                    set_state(PART:"elm.text", "default", 0.0);
28357
28358                    get_state(PART:"elm.swallow.entry", st, 30, vl);
28359                    if (!strcmp(st, "disabled_active"))
28360                    set_state(PART:"elm.swallow.entry", "active", 0.0);
28361                    else
28362                    set_state(PART:"elm.swallow.entry", "default", 0.0);
28363                }
28364            }
28365            program { name: "active";
28366                signal: "elm,state,active";
28367                source: "elm";
28368                action: STATE_SET "active" 0.0;
28369                target: "elm.text";
28370                target: "elm.swallow.entry";
28371            }
28372            program { name: "inactive";
28373                signal: "elm,state,inactive";
28374                source: "elm";
28375                action: STATE_SET "default" 0.0;
28376                target: "elm.text";
28377                target: "elm.swallow.entry";
28378            }
28379            program { name: "toggle_text";
28380                signal: "mouse,up,1";
28381                source: "button_events";
28382                action: SIGNAL_EMIT "elm,action,entry,toggle" "";
28383            }
28384        }
28385    }
28386
28387 ///////////////////////////////////////////////////////////////////////////////
28388    group { name: "elm/spinner/base/vertical";
28389        images {
28390            image: "shelf_inset.png" COMP;
28391            image: "bt_hilight.png" COMP;
28392            image: "bt_shine.png" COMP;
28393            image: "bt_glow.png" COMP;
28394            image: "bt_dis_base.png" COMP;
28395            image: "bt_dis_hilight.png" COMP;
28396            image: "up.png" COMP;
28397            image: "down.png" COMP;
28398            image: "bt_spinner_up.png" COMP;
28399            image: "bt_spinner_down.png" COMP;
28400            image: "bt_spinner_hilight.png" COMP;
28401        }
28402        parts {
28403            part { name: "bg";
28404                type: RECT;
28405                description { state: "default" 0.0;
28406                    min: 0 30;
28407                    rel1.offset: 1 1;
28408                    rel2.offset: -2 -2;
28409                    color: 255 255 255 0;
28410                }
28411            }
28412            part { name: "conf_over";
28413                mouse_events:  0;
28414                description { state: "default" 0.0;
28415                    rel1 {
28416                      to: "bg";
28417                      relative: 0.0 0.0;
28418                    }
28419                    rel2 {
28420                       to: "bg";
28421                    }
28422                    image {
28423                        normal: "shelf_inset.png";
28424                        border: 7 7 7 7;
28425                        middle: 0;
28426                    }
28427                    fill.smooth : 0;
28428                }
28429            }
28430            part { name: "down_bt";
28431                mouse_events:  1;
28432                description { state: "default" 0.0;
28433                    fixed: 1 1;
28434                    rel1 {
28435                        to: "up_bt";
28436                        relative: 0 1;
28437                        offset: 0 1;
28438                    }
28439                    rel2 {
28440                        to_y: "bg";
28441                        to_x: "up_bt";
28442                        relative: 1 1;
28443                        offset: -1 -4;
28444                    }
28445                    align: 1.0 0.5;
28446                    min: 24 16;
28447                    image {
28448                        normal: "bt_spinner_down.png";
28449                        border: 6 6 6 6;
28450                    }
28451                    fill.smooth : 0;
28452                }
28453                description { state: "clicked" 0.0;
28454                    inherit: "default" 0.0;
28455                    image.normal: "bt_spinner_down.png";
28456                    image.middle: SOLID;
28457                }
28458                description { state: "disabled" 0.0;
28459                    inherit:  "default" 0.0;
28460                    image {
28461                        normal: "bt_dis_base.png";
28462                        border: 4 4 4 4;
28463                    }
28464                }
28465            }
28466            part { name: "down_over3";
28467                mouse_events: 1;
28468                repeat_events: 1;
28469                description { state: "default" 0.0;
28470                    color: 255 255 255 0;
28471                    rel1.to: "down_bt";
28472                    rel2.to: "down_bt";
28473                    image {
28474                        normal: "bt_glow.png";
28475                        border: 12 12 12 12;
28476                    }
28477                    fill.smooth : 0;
28478                }
28479                description { state: "clicked" 0.0;
28480                    inherit:  "default" 0.0;
28481                    visible: 1;
28482                    color: 255 255 255 255;
28483                }
28484            }
28485            part { name: "up_bt";
28486                mouse_events:  1;
28487                description { state: "default" 0.0;
28488                    fixed: 1 0;
28489                    rel1 { to: "bg";
28490                        relative: 0 0;
28491                        offset: 0 2;
28492                    }
28493                    rel2 { to: "bg";
28494                        relative: 1 0.5;
28495                        offset: -3 0;
28496                    }
28497                    align: 1.0 0.5;
28498                    min: 24 16;
28499                    aspect: 1.5 1.0;
28500                    aspect_preference: BOTH;
28501                    image {
28502                        normal: "bt_spinner_up.png";
28503                        border: 6 6 6 6;
28504                    }
28505                    fill.smooth : 0;
28506                }
28507                description { state: "clicked" 0.0;
28508                    inherit: "default" 0.0;
28509                    image.normal: "bt_spinner_up.png";
28510                    image.middle: SOLID;
28511                }
28512                description { state: "disabled" 0.0;
28513                    inherit:  "default" 0.0;
28514                    image {
28515                        normal: "bt_dis_base.png";
28516                        border: 4 4 4 4;
28517                    }
28518                }
28519            }
28520            part { name: "up_over1";
28521                mouse_events: 0;
28522                description { state: "default" 0.0;
28523                    rel1.to: "up_bt";
28524                    rel2 { to: "up_bt";
28525                        relative: 1.0 0.5;
28526                    }
28527                    image {
28528                        normal: "bt_spinner_hilight.png";
28529                        border: 7 7 7 0;
28530                    }
28531                }
28532                description { state: "disabled" 0.0;
28533                    inherit:  "default" 0.0;
28534                    image {
28535                        normal: "bt_dis_hilight.png";
28536                        border: 4 4 4 0;
28537                    }
28538                }
28539            }
28540            part { name: "up_over3";
28541                mouse_events: 1;
28542                repeat_events: 1;
28543                description { state: "default" 0.0;
28544                    color: 255 255 255 0;
28545                    rel1.to: "up_bt";
28546                    rel2.to: "up_bt";
28547                    image {
28548                        normal: "bt_glow.png";
28549                        border: 12 12 12 12;
28550                    }
28551                    fill.smooth : 0;
28552                }
28553                description { state: "clicked" 0.0;
28554                    inherit:  "default" 0.0;
28555                    visible: 1;
28556                    color: 255 255 255 255;
28557                }
28558            }
28559            part { name: "down_bt_icon";
28560                repeat_events: 1;
28561                description { state: "default" 0.0;
28562                    rel1.to: "down_bt";
28563                    rel1.offset: 5 3;
28564                    rel2.to: "down_bt";
28565                    rel2.offset: -6 -3;
28566                    align: 0.5 0.5;
28567                    image.normal: "down.png";
28568                }
28569            }
28570            part { name: "up_bt_icon";
28571                repeat_events: 1;
28572                description { state: "default" 0.0;
28573                    rel1.to: "up_bt";
28574                    rel1.offset: 5 3;
28575                    rel2.to: "up_bt";
28576                    rel2.offset: -6 -3;
28577                    align: 0.5 0.5;
28578                    image.normal: "up.png";
28579                }
28580            }
28581            part { name: "elm.text";
28582                type: TEXT;
28583                mouse_events: 0;
28584                scale: 1;
28585                description { state: "default" 0.0;
28586                    visible: 1;
28587                    align: 0.0 0.5;
28588                    rel1 { relative: 0.0 0.0;
28589                        offset: 3 2;
28590                        to_x: "bg";
28591                        to_y: "bg";
28592                    }
28593                    rel2 { relative: 0.0 1.0;
28594                        offset: -3 -2;
28595                        to_x: "down_bt";
28596                        to_y: "bg";
28597                    }
28598                    color: 0 0 0 255;
28599                    text {
28600                        font: "Sans,Edje-Vera";
28601                        size: 10;
28602                        min: 1 1;
28603                        align: 0.5 0.5;
28604                    }
28605                }
28606                description { state: "active" 0.0;
28607                    inherit: "default" 0.0;
28608                    visible: 0;
28609                }
28610                description { state: "disabled_active" 0.0;
28611                    inherit: "default" 0.0;
28612                    color: 0 0 0 128;
28613                    color3: 0 0 0 0;
28614                }
28615                description { state: "disabled" 0.0;
28616                    inherit: "default" 0.0;
28617                    color: 0 0 0 128;
28618                    color3: 0 0 0 0;
28619                }
28620            }
28621            part { name: "elm.dragable.slider";
28622                type: RECT;
28623                mouse_events: 0;
28624                scale: 1;
28625                dragable {
28626                    x: 1 1 0;
28627                    y: 0 0 0;
28628                }
28629                description { state: "default" 0.0;
28630                    rel1.to: "bg";
28631                    rel2.to: "bg";
28632                    fixed: 1 1;
28633                    color: 0 0 0 0;
28634                }
28635            }
28636            part { name: "button_events";
28637                type: RECT;
28638                dragable {
28639                    events: "elm.dragable.slider";
28640                }
28641                mouse_events: 1;
28642                description { state: "default" 0.0;
28643                    rel1.to: "elm.text";
28644                    rel2.to: "elm.text";
28645                    color: 0 0 0 0;
28646                }
28647            }
28648            part { name: "elm.swallow.entry";
28649                type: SWALLOW;
28650                description { state: "default" 0.0;
28651                    visible: 0;
28652                    align: 0.5 0.5;
28653                    rel1 { relative: 0.0 0.5;
28654                        offset: 3 2;
28655                        to: "bg";
28656                    }
28657                    rel2 { relative: 1.0 0.5;
28658                        offset: -3 -2;
28659                        to: "bg";
28660                    }
28661                    fixed: 1 1;
28662                    color: 0 0 0 0;
28663                }
28664                description { state: "active" 0.0;
28665                    inherit: "default" 0.0;
28666                    visible: 1;
28667                    color: 255 255 255 255;
28668                }
28669                description { state: "disabled_active" 0.0;
28670                    inherit: "default" 0.0;
28671                    visible: 0;
28672                }
28673                description { state: "disabled" 0.0;
28674                    inherit: "default" 0.0;
28675                    visible: 0;
28676                }
28677            }
28678            part { name: "disabler";
28679                type: RECT;
28680                description { state: "default" 0.0;
28681                    color: 0 0 0 0;
28682                    visible: 0;
28683                }
28684                description { state: "disabled" 0.0;
28685                    inherit: "default" 0.0;
28686                    visible: 1;
28687                }
28688            }
28689        }
28690        programs {
28691            program { name: "text_show";
28692                signal: "elm,state,text,visible";
28693                source: "elm";
28694                action:  STATE_SET "visible" 0.0;
28695                target: "elm.text";
28696            }
28697            program { name: "text_hide";
28698                signal: "elm,state,text,hidden";
28699                source: "elm";
28700                action:  STATE_SET "default" 0.0;
28701                target: "elm.text";
28702            }
28703            program { name: "dec";
28704                signal: "mouse,down,1";
28705                source: "down_bt";
28706                action: SIGNAL_EMIT "elm,action,decrement,start" "";
28707            }
28708            program { name: "dec2";
28709                signal: "mouse,up,1";
28710                source: "down_bt";
28711                action: SIGNAL_EMIT "elm,action,decrement,stop" "";
28712            }
28713            program { name: "inc";
28714                signal: "mouse,down,1";
28715                source: "up_bt";
28716                action: SIGNAL_EMIT "elm,action,increment,start" "";
28717            }
28718            program { name: "inc2";
28719                signal: "mouse,up,1";
28720                source: "up_bt";
28721                action: SIGNAL_EMIT "elm,action,increment,stop" "";
28722            }
28723            program {
28724                name:   "down_bt_click2";
28725                signal: "mouse,down,1";
28726                source: "down_over3";
28727                action: STATE_SET "clicked" 0.0;
28728                target: "down_over3";
28729            }
28730            program {
28731                name:   "down_bt_unclick2";
28732                signal: "mouse,up,1";
28733                source: "down_over3";
28734                action: STATE_SET "default" 0.0;
28735                transition: DECELERATE 0.5;
28736                target: "down_over3";
28737            }
28738            program {
28739                name:   "up_bt_click2";
28740                signal: "mouse,down,1";
28741                source: "up_over3";
28742                action: STATE_SET "clicked" 0.0;
28743                target: "up_over3";
28744            }
28745            program {
28746                name:   "up_bt_unclick2";
28747                signal: "mouse,up,1";
28748                source: "up_over3";
28749                action: STATE_SET "default" 0.0;
28750                transition: DECELERATE 0.5;
28751                target: "up_over3";
28752            }
28753            program { name: "disable";
28754                signal: "elm,state,disabled";
28755                source: "elm";
28756                action: STATE_SET "disabled" 0.0;
28757                target: "down_bt";
28758                target: "up_bt";
28759                target: "disabler";
28760                after: "disable_text";
28761            }
28762            program { name: "disable_text";
28763                script {
28764                    new st[31];
28765                    new Float:vl;
28766                    get_state(PART:"elm.text", st, 30, vl);
28767                    if (!strcmp(st, "active"))
28768                    set_state(PART:"elm.text", "disabled_active", 0.0);
28769                    else
28770                    set_state(PART:"elm.text", "disabled", 0.0);
28771
28772                    get_state(PART:"elm.swallow.entry", st, 30, vl);
28773                    if (!strcmp(st, "active"))
28774                    set_state(PART:"elm.swallow.entry", "disabled_active", 0.0);
28775                    else
28776                    set_state(PART:"elm.swallow.entry", "disabled", 0.0);
28777                }
28778            }
28779            program { name: "enable";
28780                signal: "elm,state,enabled";
28781                source: "elm";
28782                action: STATE_SET "default" 0.0;
28783                target: "down_bt";
28784                target: "up_bt";
28785                target: "disabler";
28786                after: "enable_text";
28787            }
28788            program { name: "enable_text";
28789                script {
28790                    new st[31];
28791                    new Float:vl;
28792                    get_state(PART:"elm.text", st, 30, vl);
28793                    if (!strcmp(st, "disabled_active"))
28794                    set_state(PART:"elm.text", "active", 0.0);
28795                    else
28796                    set_state(PART:"elm.text", "default", 0.0);
28797
28798                    get_state(PART:"elm.swallow.entry", st, 30, vl);
28799                    if (!strcmp(st, "disabled_active"))
28800                    set_state(PART:"elm.swallow.entry", "active", 0.0);
28801                    else
28802                    set_state(PART:"elm.swallow.entry", "default", 0.0);
28803                }
28804            }
28805            program { name: "active";
28806                signal: "elm,state,active";
28807                source: "elm";
28808                action: STATE_SET "active" 0.0;
28809                target: "elm.text";
28810                target: "elm.swallow.entry";
28811            }
28812            program { name: "inactive";
28813                signal: "elm,state,inactive";
28814                source: "elm";
28815                action: STATE_SET "default" 0.0;
28816                target: "elm.text";
28817                target: "elm.swallow.entry";
28818            }
28819            program { name: "toggle_text";
28820                signal: "mouse,up,1";
28821                source: "button_events";
28822                action: SIGNAL_EMIT "elm,action,entry,toggle" "";
28823            }
28824        }
28825    }
28826
28827
28828    ///////////////////////////////////////////////////////////////////////////////
28829    group { name: "elm/index/base/vertical/default";
28830        images {
28831            image: "bt_base1.png" COMP;
28832            image: "bt_base2.png" COMP;
28833            image: "bt_hilight.png" COMP;
28834            image: "bt_shine.png" COMP;
28835        }
28836        parts {
28837            part { name: "clip";
28838                type: RECT;
28839                mouse_events:  0;
28840                description { state: "default" 0.0;
28841                    visible:  0;
28842                    color: 255 255 255 0;
28843                }
28844                description { state: "active" 0.0;
28845                    visible:  1;
28846                    color: 255 255 255 255;
28847                }
28848            }
28849            part { name: "clip2";
28850                type: RECT;
28851                mouse_events:  0;
28852                clip_to: "clip";
28853                description { state: "default" 0.0;
28854                    visible: 0;
28855                    color: 255 255 255 0;
28856                }
28857                description { state: "active" 0.0;
28858                    visible:  1;
28859                    color: 255 255 255 255;
28860                }
28861            }
28862            part { name: "elm.swallow.index.0";
28863                type: SWALLOW;
28864                clip_to: "clip";
28865                description { state: "default" 0.0;
28866                    align: 1.0 0.5;
28867                    fixed: 1 1;
28868                    rel1 {
28869                        relative: 1.0 0.5;
28870                        offset: -1 5;
28871                    }
28872                    rel2 {
28873                        relative: 1.0 0.5;
28874                        offset: -1 -6;
28875                    }
28876                }
28877            }
28878            part { name: "button_image";
28879                mouse_events: 1;
28880                clip_to: "clip";
28881                description { state: "default" 0.0;
28882                    rel1 {
28883                        to: "elm.text.body";
28884                        offset: -5 -5;
28885                    }
28886                    rel2 {
28887                        to: "elm.text";
28888                        offset: 4 4;
28889                    }
28890                    image {
28891                        normal: "bt_base2.png";
28892                        border: 7 7 7 7;
28893                    }
28894                    image.middle: SOLID;
28895                }
28896            }
28897            part { name: "elm.text.body";
28898                type: TEXT;
28899                effect: SOFT_SHADOW;
28900                mouse_events: 0;
28901                scale: 1;
28902                clip_to: "clip";
28903                description { state: "default" 0.0;
28904                    align: 1.0 0.5;
28905                    fixed: 1 1;
28906                    rel1 {
28907                        to: "elm.text";
28908                        relative: 0.0 0.0;
28909                        offset: 5 0;
28910                    }
28911                    rel2 {
28912                        to: "elm.text";
28913                        relative: 0.0 1.0;
28914                        offset: 5 -1;
28915                    }
28916                    color: 224 224 224 255;
28917                    color3: 0 0 0 64;
28918                    text {
28919                        font:     "Sans,Edje-Vera";
28920                        size:     20;
28921                        min:      1 1;
28922                        align:    1.0 0.5;
28923                    }
28924                }
28925            }
28926            part { name: "elm.text";
28927                type: TEXT;
28928                effect: SOFT_SHADOW;
28929                mouse_events: 0;
28930                scale: 1;
28931                clip_to: "clip";
28932                description { state: "default" 0.0;
28933                    align: 1.0 0.5;
28934                    fixed: 1 1;
28935                    rel1 {
28936                        to_x: "elm.swallow.event.0";
28937                        to_y: "elm.dragable.pointer";
28938                        relative: 0.0 0.5;
28939                        offset: -16 0;
28940                    }
28941                    rel2 {
28942                        to_x: "elm.swallow.event.0";
28943                        to_y: "elm.dragable.pointer";
28944                        relative: 0.0 0.5;
28945                        offset: -16 -1;
28946                    }
28947                    color: 255 0 0 255;
28948                    color3: 0 0 0 64;
28949                    text {
28950                        font:     "Sans,Edje-Vera";
28951                        size:     20;
28952                        min:      1 1;
28953                        align:    1.0 0.5;
28954                    }
28955                }
28956            }
28957            part {       name: "over1";
28958                mouse_events: 0;
28959                clip_to: "clip";
28960                description { state: "default" 0.0;
28961                    rel1 {
28962                        to: "button_image";
28963                    }
28964                    rel2 {
28965                        to: "button_image";
28966                        relative: 1.0 0.5;
28967                    }
28968                    image {
28969                        normal: "bt_hilight.png";
28970                        border: 7 7 7 0;
28971                    }
28972                }
28973            }
28974            part { name: "over2";
28975                mouse_events: 1;
28976                repeat_events: 1;
28977                ignore_flags: ON_HOLD;
28978                clip_to: "clip";
28979                description { state: "default" 0.0;
28980                    rel1 {
28981                        to: "button_image";
28982                    }
28983                    rel2 {
28984                        to: "button_image";
28985                    }
28986                    image {
28987                        normal: "bt_shine.png";
28988                        border: 7 7 7 7;
28989                    }
28990                }
28991            }
28992            part { name: "elm.dragable.pointer";
28993                type: RECT;
28994                mouse_events: 0;
28995                dragable {
28996                    x: 1 1 0;
28997                    y: 1 1 0;
28998                }
28999                clip_to: "clip";
29000                description { state: "default" 0.0;
29001                    fixed: 1 1;
29002                    min: 8 8;
29003                    max: 8 8;
29004                    rel1 {
29005                        relative: 0.0 0.0;
29006                        offset:   0 0;
29007                    }
29008                    rel2 {
29009                        relative: 0.0 0.0;
29010                        offset:   0 0;
29011                    }
29012                    color: 0 0 255 128;
29013                }
29014            }
29015            part { name: "elm.swallow.event.0";
29016                type: SWALLOW;
29017                description { state: "default" 0.0;
29018                    align: 1.0 0.5;
29019                    fixed: 1 1;
29020                    rel1 {
29021                        relative: 1.0 0.0;
29022                        offset: -1 0;
29023                    }
29024                    rel2 {
29025                        relative: 1.0 1.0;
29026                        offset: -1 -1;
29027                    }
29028                }
29029            }
29030        }
29031        programs {
29032            program { name: "active";
29033                signal: "elm,state,active";
29034                source: "elm";
29035                action: STATE_SET "active" 0.0;
29036                transition: DECELERATE 0.5;
29037                target: "clip";
29038            }
29039            program { name: "inactive";
29040                signal: "elm,state,inactive";
29041                source: "elm";
29042                action: STATE_SET "default" 0.0;
29043                transition: DECELERATE 0.5;
29044                target: "clip";
29045            }
29046        }
29047    }
29048
29049    group { name: "elm/index/item/vertical/default";
29050        data.item: "stacking" "above";
29051        data.item: "selectraise" "on";
29052        images {
29053            image: "ilist_1.png" COMP;
29054            image: "ilist_item_shadow.png" COMP;
29055        }
29056        parts {
29057            part {
29058                name: "base_sh";
29059                mouse_events: 0;
29060                description {
29061                    state: "default" 0.0;
29062                    align: 0.0 0.0;
29063                    min: 0 10;
29064                    fixed: 1 1;
29065                    rel1 {
29066                        to: "base";
29067                        relative: 0.0 1.0;
29068                        offset: 0 0;
29069                    }
29070                    rel2 {
29071                        to: "base";
29072                        relative: 1.0 1.0;
29073                        offset: -1 0;
29074                    }
29075                    image {
29076                        normal: "ilist_item_shadow.png";
29077                    }
29078                    fill.smooth: 0;
29079                }
29080            }
29081            part {
29082                name: "base";
29083                mouse_events: 0;
29084                description {
29085                    state: "default" 0.0;
29086                    image {
29087                        normal: "ilist_1.png";
29088                        border: 2 2 2 2;
29089                    }
29090                    fill.smooth: 0;
29091                }
29092                description { state: "active" 0.0;
29093                    inherit: "default" 0.0;
29094                    rel1 {
29095                        offset: -16 0;
29096                    }
29097                }
29098            }
29099            part { name: "elm.text";
29100                type:           TEXT;
29101                mouse_events:   0;
29102                scale: 1;
29103                description {
29104                    state: "default" 0.0;
29105                           //               min: 16 16;
29106                    rel1 {
29107                        to: "base";
29108                        relative: 0.0  0.0;
29109                        offset:   4 4;
29110                    }
29111                    rel2 {
29112                        to: "base";
29113                        relative: 1.0  1.0;
29114                        offset:   -5 -5;
29115                    }
29116                    color: 0 0 0 128;
29117                    text {
29118                        font: "Sans";
29119                        size: 10;
29120                        min: 1 1;
29121                             //                  min: 0 1;
29122                        align: 0.0 0.5;
29123                    }
29124                }
29125                description { state: "active" 0.0;
29126                    inherit: "default" 0.0;
29127                    color: 0 0 0 255;
29128                }
29129            }
29130        }
29131        programs {
29132            program { name: "active";
29133                signal: "elm,state,active";
29134                source: "elm";
29135                action: STATE_SET "active" 0.0;
29136                transition: DECELERATE 0.5;
29137                target: "elm.text";
29138                target: "base";
29139            }
29140            program { name: "inactive";
29141                signal: "elm,state,inactive";
29142                source: "elm";
29143                action: STATE_SET "default" 0.0;
29144                transition: DECELERATE 0.5;
29145                target: "elm.text";
29146                target: "base";
29147            }
29148        }
29149    }
29150
29151    group { name: "elm/index/item_odd/vertical/default";
29152        data.item: "stacking" "below";
29153        images {
29154            image: "ilist_2.png" COMP;
29155        }
29156        parts {
29157            part {
29158                name: "base";
29159                mouse_events: 0;
29160                description {
29161                    state: "default" 0.0;
29162                    image {
29163                        normal: "ilist_2.png";
29164                        border: 2 2 2 2;
29165                    }
29166                    fill.smooth: 0;
29167                }
29168                description { state: "active" 0.0;
29169                    inherit: "default" 0.0;
29170                    rel1 {
29171                        offset: -16 0;
29172                    }
29173                }
29174            }
29175            part { name: "elm.text";
29176                type:           TEXT;
29177                mouse_events:   0;
29178                scale: 1;
29179                description {
29180                    state: "default" 0.0;
29181                           //               min: 16 16;
29182                    rel1 {
29183                        to: "base";
29184                        relative: 0.0  0.0;
29185                        offset:   4 4;
29186                    }
29187                    rel2 {
29188                        to: "base";
29189                        relative: 1.0  1.0;
29190                        offset:   -5 -5;
29191                    }
29192                    color: 0 0 0 128;
29193                    text {
29194                        font: "Sans";
29195                        size: 10;
29196                        min: 1 1;
29197                             //                  min: 0 1;
29198                        align: 0.0 0.5;
29199                    }
29200                }
29201                description { state: "active" 0.0;
29202                    inherit: "default" 0.0;
29203                    color: 0 0 0 255;
29204                }
29205            }
29206        }
29207        programs {
29208            program { name: "active";
29209                signal: "elm,state,active";
29210                source: "elm";
29211                action: STATE_SET "active" 0.0;
29212                transition: DECELERATE 0.5;
29213                target: "elm.text";
29214                target: "base";
29215            }
29216            program { name: "inactive";
29217                signal: "elm,state,inactive";
29218                source: "elm";
29219                action: STATE_SET "default" 0.0;
29220                transition: DECELERATE 0.5;
29221                target: "elm.text";
29222                target: "base";
29223            }
29224        }
29225    }
29226
29227 ///////////////////////////////////////////////////////////////////////////////
29228    group { name: "elm/gengrid/item/default/default";
29229       data.item: "labels" "elm.text";
29230       data.item: "icons" "elm.swallow.icon elm.swallow.end";
29231       images {
29232          image: "bt_sm_base1.png" COMP;
29233          image: "bt_sm_shine.png" COMP;
29234          image: "bt_sm_hilight.png" COMP;
29235          image: "ilist_1.png" COMP;
29236          image: "ilist_item_shadow.png" COMP;
29237       }
29238       parts {
29239          part { name: "event";
29240             type: RECT;
29241             repeat_events: 1;
29242             description {
29243                state: "default" 0.0;
29244                color: 0 0 0 0;
29245             }
29246          }
29247          part { name: "base_sh";
29248             mouse_events: 0;
29249             description { state: "default" 0.0;
29250                align: 0.0 0.0;
29251                min: 0 10;
29252                fixed: 1 1;
29253                rel1 {
29254                   to: "base";
29255                   relative: 0.0 1.0;
29256                   offset: 0 0;
29257                }
29258                rel2 {
29259                   to: "base";
29260                   relative: 1.0 1.0;
29261                   offset: -1 0;
29262                }
29263                image {
29264                   normal: "ilist_item_shadow.png";
29265                }
29266                fill.smooth: 0;
29267             }
29268          }
29269          part { name: "base";
29270             mouse_events: 0;
29271             description { state: "default" 0.0;
29272                image {
29273                   normal: "ilist_1.png";
29274                   border: 2 2 2 2;
29275                }
29276                fill.smooth: 0;
29277             }
29278          }
29279          part { name: "bg";
29280             clip_to: "disclip";
29281             mouse_events: 0;
29282             description { state: "default" 0.0;
29283                visible: 0;
29284                color: 255 255 255 0;
29285                rel1 {
29286                   relative: 0.0 0.0;
29287                   offset: -5 -5;
29288                }
29289                rel2 {
29290                   relative: 1.0 1.0;
29291                   offset: 4 4;
29292                }
29293                image {
29294                   normal: "bt_sm_base1.png";
29295                   border: 6 6 6 6;
29296                }
29297                image.middle: SOLID;
29298             }
29299             description { state: "selected" 0.0;
29300                inherit: "default" 0.0;
29301                visible: 1;
29302                color: 255 255 255 255;
29303                rel1 {
29304                   relative: 0.0 0.0;
29305                   offset: -2 -2;
29306                }
29307                rel2 {
29308                   relative: 1.0 1.0;
29309                   offset: 1 1;
29310                }
29311             }
29312          }
29313          part { name: "elm.swallow.pad";
29314             type: SWALLOW;
29315             description { state: "default" 0.0;
29316                fixed: 1 0;
29317                align: 0.0 0.5;
29318                rel1 {
29319                   relative: 0.0  1.0;
29320                   offset:   0    -10;
29321                }
29322                rel2 {
29323                   to_y: "elm.text";
29324                   relative: 0.0  0.0;
29325                   offset:   -1   -1;
29326                }
29327             }
29328          }
29329          part { name: "elm.swallow.icon";
29330             clip_to: "disclip";
29331             type: SWALLOW;
29332             description { state: "default" 0.0;
29333                fixed: 1 0;
29334                align: 0.5 0.5;
29335                rel1 {
29336                   relative: 0.0  0.0;
29337                   offset:   -1    4;
29338                }
29339                rel2 {
29340                   to_y: "elm.swallow.pad";
29341                   relative: 1.0  0.0;
29342                   offset:   -1   -5;
29343                }
29344             }
29345          }
29346          part { name: "elm.swallow.end";
29347             clip_to: "disclip";
29348             type: SWALLOW;
29349             description { state: "default" 0.0;
29350                fixed: 1 0;
29351                align: 1.0 0.0;
29352                aspect: 1.0 1.0;
29353                aspect_preference: HORIZONTAL;
29354                rel1 {
29355                   relative: 1.0 0.0;
29356                   offset: -5 -5;
29357                }
29358                rel2 {
29359                   relative: 1.0 1.0;
29360                   offset: 5 5;
29361                }
29362             }
29363          }
29364          part { name: "elm.text";
29365             clip_to: "disclip";
29366             type: TEXT;
29367             effect: SOFT_SHADOW;
29368             mouse_events: 0;
29369             scale: 1;
29370             description { state: "default" 0.0;
29371                rel1 {
29372                   relative: 0.0  1.0;
29373                   offset: 0 0;
29374                }
29375                rel2 {
29376                   relative: 1.0  1.0;
29377                   offset: -5 -5;
29378                }
29379                color: 0 0 0 255;
29380                color3: 0 0 0 0;
29381                text {
29382                   font: "Sans";
29383                   size: 10;
29384                   min: 0 1;
29385                   align: 0.5 0.0;
29386                   text_class: "grid_item";
29387                }
29388             }
29389             description { state: "selected" 0.0;
29390                inherit: "default" 0.0;
29391                color: 224 224 224 255;
29392                color3: 0 0 0 64;
29393             }
29394          }
29395          part { name: "fg1";
29396             clip_to: "disclip";
29397             mouse_events: 0;
29398             description { state: "default" 0.0;
29399                visible: 0;
29400                color: 255 255 255 0;
29401                rel1.to: "bg";
29402                rel2.relative: 1.0 0.5;
29403                rel2.to: "bg";
29404                image {
29405                   normal: "bt_sm_hilight.png";
29406                   border: 6 6 6 0;
29407                }
29408             }
29409             description { state: "selected" 0.0;
29410                inherit: "default" 0.0;
29411                visible: 1;
29412                color: 255 255 255 255;
29413             }
29414          }
29415          part { name: "fg2";
29416             clip_to: "disclip";
29417             mouse_events: 0;
29418             description { state: "default" 0.0;
29419                visible: 0;
29420                color: 255 255 255 0;
29421                rel1.to: "bg";
29422                rel2.to: "bg";
29423                image {
29424                   normal: "bt_sm_shine.png";
29425                   border: 6 6 6 0;
29426                }
29427             }
29428             description { state: "selected" 0.0;
29429                inherit: "default" 0.0;
29430                visible: 1;
29431                color: 255 255 255 255;
29432             }
29433          }
29434          part { name: "disclip";
29435             type: RECT;
29436             description { state: "default" 0.0;
29437                rel1.to: "bg";
29438                rel2.to: "bg";
29439             }
29440             description { state: "disabled" 0.0;
29441                inherit: "default" 0.0;
29442                color: 255 255 255 64;
29443             }
29444          }
29445       }
29446       programs {
29447          // signal: elm,state,%s,active
29448          //   a "check" item named %s went active
29449          // signal: elm,state,%s,passive
29450          //   a "check" item named %s went passive
29451          // default is passive
29452          program { name:    "go_active";
29453             signal:  "elm,state,selected";
29454             source:  "elm";
29455             action:  STATE_SET "selected" 0.0;
29456             target:  "bg";
29457             target:  "fg1";
29458             target:  "fg2";
29459             target:  "elm.text";
29460          }
29461          program { name:    "go_passive";
29462             signal:  "elm,state,unselected";
29463             source:  "elm";
29464             action:  STATE_SET "default" 0.0;
29465             target:  "bg";
29466             target:  "fg1";
29467             target:  "fg2";
29468             target:  "elm.text";
29469             transition: LINEAR 0.1;
29470          }
29471          program { name:    "go_disabled";
29472             signal:  "elm,state,disabled";
29473             source:  "elm";
29474             action:  STATE_SET "disabled" 0.0;
29475             target:  "disclip";
29476          }
29477          program { name:    "go_enabled";
29478             signal:  "elm,state,enabled";
29479             source:  "elm";
29480             action:  STATE_SET "default" 0.0;
29481             target:  "disclip";
29482          }
29483       }
29484    }
29485    group { name: "elm/gengrid/item/default_style/default";
29486        styles
29487        {
29488            style { name: "gengrid_style";
29489                base: "font=Sans font_size=10 align=left valign=0.5 color=#000 text_class=grid_item";
29490                tag:  "br" "\n";
29491                tag:  "ps" "ps";
29492                tag:  "hilight" "+ font=Sans:style=Bold";
29493                tag:  "b" "+ font=Sans:style=Bold";
29494                tag:  "tab" "\t";
29495            }
29496            style { name: "gengrid_selected_style";
29497                base: "font=Sans font_size=10 align=left valign=0.5 color=#fff text_class=grid_item";
29498                tag:  "br" "\n";
29499                tag:  "ps" "ps";
29500                tag:  "hilight" "+ font=Sans:style=Bold";
29501                tag:  "b" "+ font=Sans:style=Bold";
29502                tag:  "tab" "\t";
29503            }
29504        }
29505        data.item: "labels" "elm.text";
29506        data.item: "icons" "elm.swallow.icon elm.swallow.end";
29507        images {
29508            image: "bt_sm_base1.png" COMP;
29509            image: "bt_sm_shine.png" COMP;
29510            image: "bt_sm_hilight.png" COMP;
29511            image: "ilist_1.png" COMP;
29512            image: "ilist_item_shadow.png" COMP;
29513        }
29514        parts {
29515            part { name: "event";
29516                type: RECT;
29517                repeat_events: 1;
29518                description { state: "default" 0.0;
29519                    color: 0 0 0 0;
29520                }
29521            }
29522            part { name: "base_sh";
29523                mouse_events: 0;
29524                description { state: "default" 0.0;
29525                    align: 0.0 0.0;
29526                    min: 0 10;
29527                    fixed: 1 1;
29528                    rel1 {
29529                        to: "base";
29530                        relative: 0.0 1.0;
29531                        offset: 0 0;
29532                    }
29533                    rel2 {
29534                        to: "base";
29535                        relative: 1.0 1.0;
29536                        offset: -1 0;
29537                    }
29538                    image {
29539                        normal: "ilist_item_shadow.png";
29540                    }
29541                    fill.smooth: 0;
29542                }
29543            }
29544            part { name: "base";
29545                mouse_events: 0;
29546                description { state: "default" 0.0;
29547                    min: 16 28;
29548                    image {
29549                        normal: "ilist_1.png";
29550                        border: 2 2 2 2;
29551                    }
29552                    fill.smooth: 0;
29553                }
29554            }
29555            part { name: "bg";
29556                clip_to: "disclip";
29557                mouse_events: 0;
29558                description { state: "default" 0.0;
29559                    visible: 0;
29560                    color: 255 255 255 0;
29561                    rel1 {
29562                        relative: 0.0 0.0;
29563                        offset: -5 -5;
29564                    }
29565                    rel2 {
29566                        relative: 1.0 1.0;
29567                        offset: 4 4;
29568                    }
29569                    image {
29570                        normal: "bt_sm_base1.png";
29571                        border: 6 6 6 6;
29572                    }
29573                    image.middle: SOLID;
29574                }
29575                description { state: "selected" 0.0;
29576                    inherit: "default" 0.0;
29577                    visible: 1;
29578                    color: 255 255 255 255;
29579                    rel1 {
29580                        relative: 0.0 0.0;
29581                        offset: -2 -2;
29582                    }
29583                    rel2 {
29584                        relative: 1.0 1.0;
29585                        offset: 1 1;
29586                    }
29587                }
29588            }
29589            part { name: "elm.swallow.pad";
29590                type: SWALLOW;
29591                description { state: "default" 0.0;
29592                    fixed: 1 0;
29593                    align: 0.0 0.5;
29594                    rel1 {
29595                        relative: 0.0  0.0;
29596                        offset:   4    4;
29597                    }
29598                    rel2 {
29599                        relative: 0.0  1.0;
29600                        offset:   4   -5;
29601                    }
29602                }
29603            }
29604            part { name: "elm.swallow.icon";
29605                clip_to: "disclip";
29606                type: SWALLOW;
29607                description { state: "default" 0.0;
29608                    fixed: 1 0;
29609                    align: 0.0 0.5;
29610                    rel1 {
29611                        to_x: "elm.swallow.pad";
29612                        relative: 1.0  0.0;
29613                        offset:   -1    4;
29614                    }
29615                    rel2 {
29616                        to_x: "elm.swallow.pad";
29617                        relative: 1.0  1.0;
29618                        offset:   -1   -5;
29619                    }
29620                }
29621            }
29622            part { name: "elm.swallow.end";
29623                clip_to: "disclip";
29624                type: SWALLOW;
29625                description { state: "default" 0.0;
29626                    fixed: 1 0;
29627                    align: 1.0 0.5;
29628                    aspect: 1.0 1.0;
29629                    aspect_preference: VERTICAL;
29630                    rel1 {
29631                        relative: 1.0  0.0;
29632                        offset:   -5    4;
29633                    }
29634                    rel2 {
29635                        relative: 1.0  1.0;
29636                        offset:   -5   -5;
29637                    }
29638                }
29639            }
29640            part { name: "elm.text";
29641                clip_to: "disclip";
29642                type: TEXTBLOCK;
29643                mouse_events: 0;
29644                scale: 1;
29645                description {
29646                    state: "default" 0.0;
29647                    align: 0.0 0.5;
29648                    fixed: 0 1;
29649                    rel1 {
29650                        to_x: "elm.swallow.icon";
29651                        to_y: "base";
29652                        relative: 1.0  0.5;
29653                        offset:   0 4;
29654                    }
29655                    rel2 {
29656                        to_x: "elm.swallow.end";
29657                        to_y: "base";
29658                        relative: 0.0  0.5;
29659                        offset:   -1 -5;
29660                    }
29661                    text {
29662                        style: "gengrid_style";
29663                        min: 1 1;
29664                    }
29665                }
29666                description { state: "selected" 0.0;
29667                    inherit: "default" 0.0;
29668                    text {
29669                        style: "gengrid_selected_style";
29670                    }
29671                }
29672            }
29673            part { name: "fg1";
29674                clip_to: "disclip";
29675                mouse_events: 0;
29676                description { state: "default" 0.0;
29677                    visible: 0;
29678                    color: 255 255 255 0;
29679                    rel1.to: "bg";
29680                    rel2.relative: 1.0 0.5;
29681                    rel2.to: "bg";
29682                    image {
29683                        normal: "bt_sm_hilight.png";
29684                        border: 6 6 6 0;
29685                    }
29686                }
29687                description { state: "selected" 0.0;
29688                    inherit: "default" 0.0;
29689                    visible: 1;
29690                    color: 255 255 255 255;
29691                }
29692            }
29693            part { name: "fg2";
29694                clip_to: "disclip";
29695                mouse_events: 0;
29696                description { state: "default" 0.0;
29697                    visible: 0;
29698                    color: 255 255 255 0;
29699                    rel1.to: "bg";
29700                    rel2.to: "bg";
29701                    image {
29702                        normal: "bt_sm_shine.png";
29703                        border: 6 6 6 0;
29704                    }
29705                }
29706                description { state: "selected" 0.0;
29707                    inherit: "default" 0.0;
29708                    visible: 1;
29709                    color: 255 255 255 255;
29710                }
29711            }
29712            part { name: "disclip";
29713                type: RECT;
29714                description { state: "default" 0.0;
29715                    rel1.to: "bg";
29716                    rel2.to: "bg";
29717                }
29718                description { state: "disabled" 0.0;
29719                    inherit: "default" 0.0;
29720                    color: 255 255 255 64;
29721                }
29722            }
29723        }
29724        programs {
29725            // signal: elm,state,%s,active
29726            //   a "check" item named %s went active
29727            // signal: elm,state,%s,passive
29728            //   a "check" item named %s went passive
29729            // default is passive
29730            program { name:    "go_active";
29731                signal:  "elm,state,selected";
29732                source:  "elm";
29733                action:  STATE_SET "selected" 0.0;
29734                target:  "bg";
29735                target:  "fg1";
29736                target:  "fg2";
29737                target:  "elm.text";
29738            }
29739            program { name:    "go_passive";
29740                signal:  "elm,state,unselected";
29741                source:  "elm";
29742                action:  STATE_SET "default" 0.0;
29743                target:  "bg";
29744                target:  "fg1";
29745                target:  "fg2";
29746                target:  "elm.text";
29747                transition: LINEAR 0.1;
29748            }
29749            program { name:    "go_disabled";
29750                signal:  "elm,state,disabled";
29751                source:  "elm";
29752                action:  STATE_SET "disabled" 0.0;
29753                target:  "disclip";
29754            }
29755            program { name:    "go_enabled";
29756                signal:  "elm,state,enabled";
29757                source:  "elm";
29758                action:  STATE_SET "default" 0.0;
29759                target:  "disclip";
29760            }
29761        }
29762    }
29763
29764    group { name: "elm/gengrid/item/up/default";
29765       data.item: "labels" "elm.text";
29766       images {
29767           image: "bt_sm_base1.png" COMP;
29768           image: "bt_sm_shine.png" COMP;
29769           image: "bt_sm_hilight.png" COMP;
29770           image: "arrow_up.png" COMP;
29771       }
29772       parts {
29773          part { name: "event";
29774             type: RECT;
29775             repeat_events: 1;
29776             description { state: "default" 0.0;
29777                color: 0 0 0 0;
29778             }
29779          }
29780          part { name: "bg";
29781             clip_to: "disclip";
29782             mouse_events: 0;
29783             description { state: "default" 0.0;
29784                visible: 0;
29785                color: 255 255 255 0;
29786                rel1.offset: -3 -3;
29787                rel2.offset: 2 2;
29788                image { normal: "bt_sm_base1.png";
29789                   border: 6 6 6 6;
29790                   middle: SOLID;
29791                }
29792             }
29793             description { state: "selected" 0.0;
29794                inherit: "default" 0.0;
29795                visible: 1;
29796                color: 255 255 255 255;
29797             }
29798          }
29799          part { name: "image";
29800              type: IMAGE;
29801              mouse_events: 0;
29802              description { state: "default" 0.0;
29803                  aspect_preference: BOTH;
29804                  aspect: 1.0 1.0;
29805                  image.normal: "arrow_up.png";
29806                  rel2 {
29807                      to_y: "elm.text";
29808                      relative: 1.0 0.0;
29809                      offset: -1 -2;
29810                  }
29811              }
29812          }
29813          part { name: "elm.text";
29814             clip_to: "disclip";
29815             type: TEXT;
29816             effect: SOFT_SHADOW;
29817             mouse_events: 0;
29818             scale: 1;
29819             description { state: "default" 0.0;
29820                rel1 {
29821                   relative: 0.0  1.0;
29822                   offset: 20 -25;
29823                }
29824                rel2 {
29825                   relative: 1.0  1.0;
29826                   offset: -21 -3;
29827                }
29828                color: 0 0 0 255;
29829                color3: 0 0 0 0;
29830                text {
29831                   font: "Sans";
29832                   size: 10;
29833                   min: 0 1;
29834                   align: 0.5 0.0;
29835                   text_class: "grid_item";
29836                }
29837             }
29838             description { state: "selected" 0.0;
29839                inherit: "default" 0.0;
29840                color: 224 224 224 255;
29841                color3: 0 0 0 64;
29842             }
29843          }
29844          part { name: "fg1";
29845             clip_to: "disclip";
29846             mouse_events: 0;
29847             description { state: "default" 0.0;
29848                visible: 0;
29849                color: 255 255 255 0;
29850                rel1.offset: -3 -3;
29851                rel2 {
29852                    relative: 1.0 0.5;
29853                    offset: 2 -1;
29854                }
29855                image {
29856                   normal: "bt_sm_hilight.png";
29857                   border: 6 6 6 0;
29858                }
29859             }
29860             description { state: "selected" 0.0;
29861                inherit: "default" 0.0;
29862                visible: 1;
29863                color: 255 255 255 255;
29864             }
29865          }
29866          part { name: "fg2";
29867             clip_to: "disclip";
29868             mouse_events: 0;
29869             description { state: "default" 0.0;
29870                visible: 0;
29871                color: 255 255 255 0;
29872                rel1.offset: -3 -3;
29873                rel2.offset: 2 2;
29874                image {
29875                   normal: "bt_sm_shine.png";
29876                   border: 6 6 6 0;
29877                }
29878             }
29879             description { state: "selected" 0.0;
29880                inherit: "default" 0.0;
29881                visible: 1;
29882                color: 255 255 255 255;
29883             }
29884          }
29885          part { name: "disclip";
29886             type: RECT;
29887             description { state: "default" 0.0;
29888                rel1.to: "bg";
29889                rel2.to: "bg";
29890             }
29891             description { state: "disabled" 0.0;
29892                inherit: "default" 0.0;
29893                color: 255 255 255 64;
29894             }
29895          }
29896       }
29897       programs {
29898          program { name:    "go_active";
29899             signal:  "elm,state,selected";
29900             source:  "elm";
29901             action:  STATE_SET "selected" 0.0;
29902             target:  "bg";
29903             target:  "fg1";
29904             target:  "fg2";
29905             target:  "elm.text";
29906          }
29907          program { name:    "go_passive";
29908             signal:  "elm,state,unselected";
29909             source:  "elm";
29910             action:  STATE_SET "default" 0.0;
29911             target:  "bg";
29912             target:  "fg1";
29913             target:  "fg2";
29914             target:  "elm.text";
29915             transition: LINEAR 0.1;
29916          }
29917          program { name:    "go_disabled";
29918             signal:  "elm,state,disabled";
29919             source:  "elm";
29920             action:  STATE_SET "disabled" 0.0;
29921             target:  "disclip";
29922          }
29923          program { name:    "go_enabled";
29924             signal:  "elm,state,enabled";
29925             source:  "elm";
29926             action:  STATE_SET "default" 0.0;
29927             target:  "disclip";
29928          }
29929       }
29930    }
29931
29932    group { name: "elm/gengrid/item/album-preview/default";
29933       data.item: "labels" "elm.text";
29934       data.item: "icons" "elm.swallow.icon.1 elm.swallow.icon.2 elm.swallow.icon.3 elm.swallow.icon.4";
29935       data.item: "states" "have_files";
29936       images {
29937          image: "bt_sm_base1.png" COMP;
29938          image: "bt_sm_shine.png" COMP;
29939          image: "bt_sm_hilight.png" COMP;
29940          image: "icon_folder.png" COMP;
29941       }
29942       parts {
29943          part { name: "event";
29944             type: RECT;
29945             repeat_events: 1;
29946             description { state: "default" 0.0;
29947                color: 0 0 0 0;
29948             }
29949          }
29950          part { name: "bg";
29951             clip_to: "disclip";
29952             mouse_events: 0;
29953             description { state: "default" 0.0;
29954                visible: 0;
29955                color: 255 255 255 0;
29956                rel1.offset: -3 -3;
29957                rel2.offset: 2 2;
29958                image {
29959                   normal: "bt_sm_base1.png";
29960                   border: 6 6 6 6;
29961                   middle: SOLID;
29962                }
29963             }
29964             description { state: "selected" 0.0;
29965                inherit: "default" 0.0;
29966                visible: 1;
29967                color: 255 255 255 255;
29968             }
29969          }
29970          part { name: "image";
29971              type: IMAGE;
29972              mouse_events: 0;
29973              description { state: "default" 0.0;
29974                  aspect_preference: BOTH;
29975                  aspect: 1.0 1.0;
29976                  image.normal: "icon_folder.png";
29977                  rel2 {
29978                      to_y: "elm.text";
29979                      relative: 1.0 0.0;
29980                      offset: -1 -2;
29981                  }
29982              }
29983          }
29984          part { name: "have-files-clipper";
29985              type: RECT;
29986              description { state: "default" 0.0;
29987                  color: 255 255 255 0;
29988                  visible: 0;
29989              }
29990              description { state: "visible" 0.0;
29991                  inherit: "default" 0.0;
29992                  color: 255 255 255 255;
29993                  visible: 1;
29994              }
29995          }
29996          part { name: "icon_box_margin";
29997              type: RECT;
29998              mouse_events: 0;
29999              clip_to: "have-files-clipper";
30000              description { state: "default" 0.0;
30001                  color: 0 0 0 255;
30002                  rel1 {
30003                      to: "icon_box";
30004                      offset: -1 -1;
30005                  }
30006                  rel2 {
30007                      to: "icon_box";
30008                      offset: 0 0;
30009                  }
30010              }
30011          }
30012          part { name: "icon_box";
30013              type: RECT;
30014              mouse_events: 0;
30015              clip_to: "have-files-clipper";
30016              description { state: "default" 0.0;
30017                  color: 255 255 255 255;
30018                  align: 1.0 1.0;
30019                  min: 32 32;
30020                  rel1 {
30021                      relative: 0.25 0.25;
30022                      offset: 0 0;
30023                  }
30024                  rel2 {
30025                      relative: 1.0 0.0;
30026                      offset: -11 -4;
30027                      to_y: "elm.text";
30028                  }
30029              }
30030          }
30031          part { name: "elm.swallow.icon.1";
30032              type: SWALLOW;
30033              mouse_events: 0;
30034              clip_to: "have-files-clipper";
30035              description { state: "default" 0.0;
30036                rel1 {
30037                   relative: 0.0  0.0;
30038                   to: "icon_box";
30039                }
30040                rel2 {
30041                   relative: 0.5  0.5;
30042                   offset: -1 -1;
30043                   to: "icon_box";
30044                }
30045             }
30046          }
30047          part { name: "elm.swallow.icon.2";
30048              type: SWALLOW;
30049              mouse_events: 0;
30050              clip_to: "have-files-clipper";
30051              description { state: "default" 0.0;
30052                rel1 {
30053                   relative: 0.5  0.0;
30054                   to: "icon_box";
30055                }
30056                rel2 {
30057                   relative: 1.0  0.5;
30058                   offset: -1 -1;
30059                   to: "icon_box";
30060                }
30061             }
30062          }
30063          part { name: "elm.swallow.icon.3";
30064              type: SWALLOW;
30065              mouse_events: 0;
30066              clip_to: "have-files-clipper";
30067              description { state: "default" 0.0;
30068                rel1 {
30069                   relative: 0.0  0.5;
30070                   to: "icon_box";
30071                }
30072                rel2 {
30073                   relative: 0.5  1.0;
30074                   offset: -1 -1;
30075                   to: "icon_box";
30076                }
30077             }
30078          }
30079          part { name: "elm.swallow.icon.4";
30080              type: SWALLOW;
30081              mouse_events: 0;
30082              clip_to: "have-files-clipper";
30083              description { state: "default" 0.0;
30084                rel1 {
30085                   relative: 0.5  0.5;
30086                   to: "icon_box";
30087                }
30088                rel2 {
30089                   relative: 1.0  1.0;
30090                   offset: -1 -1;
30091                   to: "icon_box";
30092                }
30093             }
30094          }
30095          part { name: "elm.text";
30096             clip_to: "disclip";
30097             type: TEXT;
30098             effect: SOFT_SHADOW;
30099             mouse_events: 0;
30100             scale: 1;
30101             description { state: "default" 0.0;
30102                rel1 {
30103                   relative: 0.0  1.0;
30104                   offset: 20 -30;
30105                }
30106                rel2 {
30107                   relative: 1.0  1.0;
30108                   offset: -21 -15;
30109                }
30110                color: 0 0 0 255;
30111                color3: 0 0 0 0;
30112                text {
30113                   font: "Sans";
30114                   size: 10;
30115                   min: 0 1;
30116                   align: 0.5 0.0;
30117                   text_class: "grid_item";
30118                }
30119             }
30120             description { state: "selected" 0.0;
30121                 inherit: "default" 0.0;
30122                 color: 255 255 255 255;
30123             }
30124          }
30125          part { name: "fg1";
30126             clip_to: "disclip";
30127             mouse_events: 0;
30128             description { state: "default" 0.0;
30129                visible: 0;
30130                color: 255 255 255 0;
30131                rel1.offset: -3 -3;
30132                rel2 {
30133                    relative: 1.0 0.5;
30134                    offset: 2 -1;
30135                }
30136                image {
30137                   normal: "bt_sm_hilight.png";
30138                   border: 6 6 6 0;
30139                }
30140             }
30141             description { state: "selected" 0.0;
30142                inherit: "default" 0.0;
30143                visible: 1;
30144                color: 255 255 255 255;
30145             }
30146          }
30147          part { name: "fg2";
30148             clip_to: "disclip";
30149             mouse_events: 0;
30150             description { state: "default" 0.0;
30151                visible: 0;
30152                color: 255 255 255 0;
30153                rel1.offset: -3 -3;
30154                rel2.offset: 2 2;
30155                image {
30156                   normal: "bt_sm_shine.png";
30157                   border: 6 6 6 0;
30158                }
30159             }
30160             description { state: "selected" 0.0;
30161                inherit: "default" 0.0;
30162                visible: 1;
30163                color: 255 255 255 255;
30164             }
30165          }
30166          part { name: "disclip";
30167             type: RECT;
30168             description { state: "default" 0.0;
30169                rel1.to: "bg";
30170                rel2.to: "bg";
30171             }
30172             description { state: "disabled" 0.0;
30173                inherit: "default" 0.0;
30174                color: 255 255 255 64;
30175             }
30176          }
30177       }
30178       programs {
30179          program { name:    "go_active";
30180             signal:  "elm,state,selected";
30181             source:  "elm";
30182             action:  STATE_SET "selected" 0.0;
30183             target:  "bg";
30184             target:  "fg1";
30185             target:  "fg2";
30186             target:  "elm.text";
30187          }
30188          program { name:    "go_passive";
30189             signal:  "elm,state,unselected";
30190             source:  "elm";
30191             action:  STATE_SET "default" 0.0;
30192             target:  "bg";
30193             target:  "fg1";
30194             target:  "fg2";
30195             target:  "elm.text";
30196             transition: LINEAR 0.1;
30197          }
30198          program { name:    "go_disabled";
30199             signal:  "elm,state,disabled";
30200             source:  "elm";
30201             action:  STATE_SET "disabled" 0.0;
30202             target:  "disclip";
30203          }
30204          program { name:    "go_enabled";
30205             signal:  "elm,state,enabled";
30206             source:  "elm";
30207             action:  STATE_SET "default" 0.0;
30208             target:  "disclip";
30209          }
30210          program {
30211              signal: "elm,state,have_files,active";
30212              source: "elm";
30213              action: STATE_SET "visible" 0.0;
30214              target: "have-files-clipper";
30215          }
30216       }
30217    }
30218
30219    group { name: "elm/gengrid/item/thumb/default";
30220        data {
30221            item: "icons" "elm.swallow.icon";
30222            item: "labels" "elm.text";
30223        }
30224        images {
30225            image: "bt_sm_base1.png" COMP;
30226            image: "bt_sm_shine.png" COMP;
30227            image: "bt_sm_hilight.png" COMP;
30228            image: "thumb_shadow.png" COMP;
30229        }
30230        parts {
30231            part { name: "event";
30232                type: RECT;
30233                repeat_events: 1;
30234                description { state: "default" 0.0;
30235                    color: 0 0 0 0;
30236                }
30237            }
30238            part { name: "bg";
30239                mouse_events: 0;
30240                description { state: "default" 0.0;
30241                    visible: 0;
30242                    color: 255 255 255 0;
30243                    rel1.offset: -3 -3;
30244                    rel2.offset: 2 2;
30245                    image {
30246                        normal: "bt_sm_base1.png";
30247                        border: 6 6 6 6;
30248                        middle: SOLID;
30249                    }
30250                }
30251                description { state: "selected" 0.0;
30252                    inherit: "default" 0.0;
30253                    visible: 1;
30254                    color: 255 255 255 255;
30255                }
30256            }
30257            part { name: "border-shadow";
30258                type: IMAGE;
30259                mouse_events: 0;
30260                description { state: "default" 0.0;
30261                    rel1 {
30262                        to: "elm.swallow.icon";
30263                        offset: -18 -18;
30264                    }
30265                    rel2 {
30266                        to_x: "elm.swallow.icon";
30267                        to_y: "elm.text";
30268                        offset: 17 17;
30269                    }
30270                    image {
30271                        normal: "thumb_shadow.png";
30272                        border: 17 17 17 17;
30273                        middle: NONE;
30274                    }
30275                }
30276            }
30277            part { name: "border";
30278                type: RECT;
30279                mouse_events: 0;
30280                description { state: "default" 0.0;
30281                    rel1 {
30282                        to: "border-shadow";
30283                        offset: 16 16;
30284                    }
30285                    rel2 {
30286                        to: "border-shadow";
30287                        offset: -15 -15;
30288                    }
30289                }
30290            }
30291            part { name: "elm.swallow.icon";
30292                type: SWALLOW;
30293                mouse_events: 0;
30294                description { state: "default" 0.0;
30295                    aspect_preference: BOTH;
30296                    aspect: 1.0 1.0;
30297                    rel1.offset: 0 8;
30298                    rel2 {
30299                        to_y: "elm.text";
30300                        relative: 1.0 0.0;
30301                        offset: -1 -2;
30302                    }
30303                }
30304            }
30305            part { name: "elm.text";
30306                type: TEXT;
30307                effect: SOFT_SHADOW;
30308                mouse_events: 0;
30309                scale: 1;
30310                description { state: "default" 0.0;
30311                    color: 0 0 0 255;
30312                    color3: 0 0 0 0;
30313                    align: 0.5 1.0;
30314                    rel1 {
30315                        relative: 0.0 1.0;
30316                        offset: 20 -30;
30317                    }
30318                    rel2 {
30319                        relative: 1.0 1.0;
30320                        offset: -21 -15;
30321                    }
30322                    text {
30323                        font: "Sans";
30324                        size: 10;
30325                        min: 0 1;
30326                        align: 0.5 0.0;
30327                        text_class: "grid_item";
30328                    }
30329                }
30330            }
30331            part { name: "fg1";
30332                mouse_events: 0;
30333                description { state: "default" 0.0;
30334                    visible: 0;
30335                    color: 255 255 255 0;
30336                    rel1.offset: -3 -3;
30337                    rel2 {
30338                        relative: 1.0 0.5;
30339                        offset: 2 -1;
30340                    }
30341                    image {
30342                        normal: "bt_sm_hilight.png";
30343                        border: 6 6 6 0;
30344                    }
30345                }
30346                description { state: "selected" 0.0;
30347                    inherit: "default" 0.0;
30348                    visible: 1;
30349                    color: 255 255 255 255;
30350                }
30351            }
30352            part { name: "fg2";
30353                mouse_events: 0;
30354                description { state: "default" 0.0;
30355                    visible: 0;
30356                    color: 255 255 255 0;
30357                    rel1.offset: -3 -3;
30358                    rel2.offset: 2 2;
30359                    image {
30360                        image: "bt_sm_shine.png";
30361                        border: 6 6 6 0;
30362                    }
30363                }
30364                description { state: "selected" 0.0;
30365                    inherit: "default" 0.0;
30366                    visible: 1;
30367                    color: 255 255 255 255;
30368                }
30369            }
30370        }
30371        programs {
30372            program {
30373                signal: "elm,state,selected";
30374                source: "elm";
30375                action: STATE_SET "selected" 0.0;
30376                target: "bg";
30377                target: "fg1";
30378                target: "fg2";
30379            }
30380            program {
30381                signal: "elm,state,unselected";
30382                source: "elm";
30383                action:  STATE_SET "default" 0.0;
30384                target: "bg";
30385                target: "fg1";
30386                target: "fg2";
30387                transition: LINEAR 0.1;
30388            }
30389        }
30390    }
30391
30392 ///////////////////////////////////////////////////////////////////////////////
30393    group { name: "elm/photocam/base/default";
30394        script {
30395            public sbvis_v, sbvis_h, sbalways_v, sbalways_h, sbvis_timer;
30396            public timer0(val) {
30397                new v;
30398                v = get_int(sbvis_v);
30399                if (v) {
30400                    v = get_int(sbalways_v);
30401                    if (!v) {
30402                        emit("do-hide-vbar", "");
30403                        set_int(sbvis_v, 0);
30404                    }
30405                }
30406                v = get_int(sbvis_h);
30407                if (v) {
30408                    v = get_int(sbalways_h);
30409                    if (!v) {
30410                        emit("do-hide-hbar", "");
30411                        set_int(sbvis_h, 0);
30412                    }
30413                }
30414                set_int(sbvis_timer, 0);
30415                return 0;
30416            }
30417        }
30418        images {
30419            image: "shelf_inset.png" COMP;
30420            image: "bt_sm_base2.png" COMP;
30421            image: "bt_sm_shine.png" COMP;
30422            image: "bt_sm_hilight.png" COMP;
30423            image: "busy-1.png" COMP;
30424            image: "busy-2.png" COMP;
30425            image: "busy-3.png" COMP;
30426            image: "busy-4.png" COMP;
30427            image: "busy-5.png" COMP;
30428            image: "busy-6.png" COMP;
30429            image: "busy-7.png" COMP;
30430            image: "busy-8.png" COMP;
30431            image: "busy-9.png" COMP;
30432        }
30433        parts {
30434            part { name: "bg";
30435                type: RECT;
30436                description { state: "default" 0.0;
30437                    rel1.offset: 1 1;
30438                    rel2.offset: -2 -2;
30439                    color: 255 255 255 0;
30440                }
30441            }
30442            part { name: "clipper";
30443                type: RECT;
30444                mouse_events: 0;
30445                description { state: "default" 0.0;
30446                    rel1.to: "bg";
30447                    rel2.to: "bg";
30448                }
30449            }
30450            part { name: "elm.swallow.content";
30451                clip_to: "clipper";
30452                type: SWALLOW;
30453                description { state: "default" 0.0;
30454                    rel1.offset: 1 1;
30455                    rel2.offset: -2 -2;
30456                }
30457            }
30458            part { name: "busy_clip";
30459                type: RECT;
30460                mouse_events: 0;
30461                description { state: "default" 0.0;
30462                    visible: 0;
30463                    color: 255 255 255 0;
30464                }
30465                description { state: "active" 0.0;
30466                    visible: 1;
30467                    color: 255 255 255 255;
30468                }
30469            }
30470            part { name: "busy";
30471                clip_to: "busy_clip";
30472                mouse_events: 0;
30473                description { state: "default" 0.0;
30474                    fixed: 1 1;
30475                    min: 32 32;
30476                    aspect: 1.0 1.0;
30477                    align: 1.0 1.0;
30478                    aspect_preference: BOTH;
30479                    rel1 {
30480                        relative: 0.9 0.9;
30481                        offset:   -9 -9;
30482                    }
30483                    rel2 {
30484                        relative: 0.9 0.9;
30485                        offset:   -9 -9;
30486                    }
30487                    image {
30488                        normal: "busy-9.png";
30489                        tween:  "busy-1.png";
30490                        tween:  "busy-2.png";
30491                        tween:  "busy-3.png";
30492                        tween:  "busy-4.png";
30493                        tween:  "busy-5.png";
30494                        tween:  "busy-6.png";
30495                        tween:  "busy-7.png";
30496                        tween:  "busy-8.png";
30497                    }
30498                }
30499            }
30500            part { name: "conf_over";
30501                mouse_events:  0;
30502                description { state: "default" 0.0;
30503                    rel1.offset: 0 0;
30504                    rel2.offset: -1 -1;
30505                    image {
30506                        normal: "shelf_inset.png";
30507                        border: 7 7 7 7;
30508                        middle: 0;
30509                    }
30510                    fill.smooth : 0;
30511                }
30512            }
30513            part { name: "sb_vbar_clip_master";
30514                type: RECT;
30515                mouse_events: 0;
30516                description { state: "default" 0.0;
30517                }
30518                description { state: "hidden" 0.0;
30519                    visible: 0;
30520                    color: 255 255 255 0;
30521                }
30522            }
30523            part { name: "sb_vbar_clip";
30524                clip_to: "sb_vbar_clip_master";
30525                type: RECT;
30526                mouse_events: 0;
30527                description { state: "default" 0.0;
30528                }
30529                description { state: "hidden" 0.0;
30530                    visible: 0;
30531                    color: 255 255 255 0;
30532                }
30533            }
30534            part { name: "sb_vbar";
30535                type: RECT;
30536                mouse_events: 0;
30537                description { state: "default" 0.0;
30538                    fixed: 1 1;
30539                    visible: 0;
30540                    min: 10 17;
30541                    align: 1.0 0.0;
30542                    rel1 {
30543                        relative: 1.0 0.0;
30544                        offset:   -2 0;
30545                    }
30546                    rel2 {
30547                        relative: 1.0 0.0;
30548                        offset:   -2 -1;
30549                        to_y:     "sb_hbar";
30550                    }
30551                }
30552            }
30553            part { name: "elm.dragable.vbar";
30554                clip_to: "sb_vbar_clip";
30555                mouse_events: 0;
30556                dragable {
30557                    x: 0 0 0;
30558                    y: 1 1 0;
30559                    confine: "sb_vbar";
30560                }
30561                description { state: "default" 0.0;
30562                    fixed: 1 1;
30563                    min: 10 17;
30564                    max: 10 99999;
30565                    rel1 {
30566                        relative: 0.5  0.5;
30567                        offset:   0    0;
30568                        to: "sb_vbar";
30569                    }
30570                    rel2 {
30571                        relative: 0.5  0.5;
30572                        offset:   0    0;
30573                        to: "sb_vbar";
30574                    }
30575                    image {
30576                        normal: "bt_sm_base2.png";
30577                        border: 6 6 6 6;
30578                        middle: SOLID;
30579                    }
30580                }
30581            }
30582            part { name: "sb_vbar_over1";
30583                clip_to: "sb_vbar_clip";
30584                mouse_events: 0;
30585                description { state: "default" 0.0;
30586                    rel1.to: "elm.dragable.vbar";
30587                    rel2.relative: 1.0 0.5;
30588                    rel2.to: "elm.dragable.vbar";
30589                    image {
30590                        normal: "bt_sm_hilight.png";
30591                        border: 6 6 6 0;
30592                    }
30593                }
30594            }
30595            part { name: "sb_vbar_over2";
30596                clip_to: "sb_vbar_clip";
30597                mouse_events: 0;
30598                description { state: "default" 0.0;
30599                    rel1.to: "elm.dragable.vbar";
30600                    rel2.to: "elm.dragable.vbar";
30601                    image {
30602                        normal: "bt_sm_shine.png";
30603                        border: 6 6 6 0;
30604                    }
30605                }
30606            }
30607
30608            part { name: "sb_hbar_clip_master";
30609                type: RECT;
30610                mouse_events: 0;
30611                description { state: "default" 0.0;
30612                }
30613                description { state: "hidden" 0.0;
30614                    visible: 0;
30615                    color: 255 255 255 0;
30616                }
30617            }
30618            part { name: "sb_hbar_clip";
30619                clip_to: "sb_hbar_clip_master";
30620                type: RECT;
30621                mouse_events: 0;
30622                description { state: "default" 0.0;
30623                }
30624                description { state: "hidden" 0.0;
30625                    visible: 0;
30626                    color: 255 255 255 0;
30627                }
30628            }
30629            part { name: "sb_hbar";
30630                type: RECT;
30631                mouse_events: 0;
30632                description { state: "default" 0.0;
30633                    fixed: 1 1;
30634                    visible: 0;
30635                    min: 17 10;
30636                    align: 0.0 1.0;
30637                    rel1 {
30638                        relative: 0.0 1.0;
30639                        offset:   0 -2;
30640                    }
30641                    rel2 {
30642                        relative: 0.0 1.0;
30643                        offset:   -1 -2;
30644                        to_x:     "sb_vbar";
30645                    }
30646                }
30647            }
30648            part { name: "elm.dragable.hbar";
30649                clip_to: "sb_hbar_clip";
30650                mouse_events: 0;
30651                dragable {
30652                    x: 1 1 0;
30653                    y: 0 0 0;
30654                    confine: "sb_hbar";
30655                }
30656                description { state: "default" 0.0;
30657                    fixed: 1 1;
30658                    min: 17 10;
30659                    max: 99999 10;
30660                    rel1 {
30661                        relative: 0.5  0.5;
30662                        offset:   0    0;
30663                        to: "sb_hbar";
30664                    }
30665                    rel2 {
30666                        relative: 0.5  0.5;
30667                        offset:   0    0;
30668                        to: "sb_hbar";
30669                    }
30670                    image {
30671                        normal: "bt_sm_base2.png";
30672                        border: 4 4 4 4;
30673                        middle: SOLID;
30674                    }
30675                }
30676            }
30677            part { name: "sb_hbar_over1";
30678                clip_to: "sb_hbar_clip";
30679                mouse_events: 0;
30680                description { state: "default" 0.0;
30681                    rel1.to: "elm.dragable.hbar";
30682                    rel2.relative: 1.0 0.5;
30683                    rel2.to: "elm.dragable.hbar";
30684                    image {
30685                        normal: "bt_sm_hilight.png";
30686                        border: 4 4 4 0;
30687                    }
30688                }
30689            }
30690            part { name: "sb_hbar_over2";
30691                clip_to: "sb_hbar_clip";
30692                mouse_events: 0;
30693                description { state: "default" 0.0;
30694                    rel1.to: "elm.dragable.hbar";
30695                    rel2.to: "elm.dragable.hbar";
30696                    image {
30697                        normal: "bt_sm_shine.png";
30698                        border: 4 4 4 0;
30699                    }
30700                }
30701            }
30702        }
30703        programs {
30704            program { name: "load";
30705                signal: "load";
30706                source: "";
30707                script {
30708                    set_state(PART:"sb_hbar_clip", "hidden", 0.0);
30709                    set_state(PART:"sb_vbar_clip", "hidden", 0.0);
30710                    set_int(sbvis_h, 0);
30711                    set_int(sbvis_v, 0);
30712                    set_int(sbalways_v, 0);
30713                    set_int(sbalways_h, 0);
30714                    set_int(sbvis_timer, 0);
30715                }
30716            }
30717
30718            program { name: "vbar_show";
30719                signal: "elm,action,show,vbar";
30720                source: "elm";
30721                action:  STATE_SET "default" 0.0;
30722                target: "sb_vbar_clip_master";
30723            }
30724            program { name: "vbar_hide";
30725                signal: "elm,action,hide,vbar";
30726                source: "elm";
30727                action:  STATE_SET "hidden" 0.0;
30728                target: "sb_vbar_clip_master";
30729            }
30730            program { name: "vbar_show_always";
30731                signal: "elm,action,show_always,vbar";
30732                source: "elm";
30733                script {
30734                    new v;
30735                    v = get_int(sbvis_v);
30736                    v |= get_int(sbalways_v);
30737                    if (!v) {
30738                        set_int(sbalways_v, 1);
30739                        emit("do-show-vbar", "");
30740                        set_int(sbvis_v, 1);
30741                    }
30742                }
30743            }
30744            program { name: "vbar_show_notalways";
30745                signal: "elm,action,show_notalways,vbar";
30746                source: "elm";
30747                script {
30748                    new v;
30749                    v = get_int(sbalways_v);
30750                    if (v) {
30751                        set_int(sbalways_v, 0);
30752                        v = get_int(sbvis_v);
30753                        if (!v) {
30754                            emit("do-hide-vbar", "");
30755                            set_int(sbvis_v, 0);
30756                        }
30757                    }
30758                }
30759            }
30760            program { name: "sb_vbar_show";
30761                signal: "do-show-vbar";
30762                source: "";
30763                action:  STATE_SET "default" 0.0;
30764                transition: LINEAR 0.5;
30765                target: "sb_vbar_clip";
30766            }
30767            program { name: "sb_vbar_hide";
30768                signal: "do-hide-vbar";
30769                source: "";
30770                action:  STATE_SET "hidden" 0.0;
30771                transition: LINEAR 0.5;
30772                target: "sb_vbar_clip";
30773            }
30774
30775            program { name: "hbar_show";
30776                signal: "elm,action,show,hbar";
30777                source: "elm";
30778                action:  STATE_SET "default" 0.0;
30779                target: "sb_hbar_clip_master";
30780            }
30781            program { name: "hbar_hide";
30782                signal: "elm,action,hide,hbar";
30783                source: "elm";
30784                action:  STATE_SET "hidden" 0.0;
30785                target: "sb_hbar_clip_master";
30786            }
30787            program { name: "hbar_show_always";
30788                signal: "elm,action,show_always,hbar";
30789                source: "elm";
30790                script {
30791                    new v;
30792                    v = get_int(sbvis_h);
30793                    v |= get_int(sbalways_h);
30794                    if (!v) {
30795                        set_int(sbalways_h, 1);
30796                        emit("do-show-hbar", "");
30797                        set_int(sbvis_h, 1);
30798                    }
30799                }
30800            }
30801            program { name: "hbar_show_notalways";
30802                signal: "elm,action,show_notalways,hbar";
30803                source: "elm";
30804                script {
30805                    new v;
30806                    v = get_int(sbalways_h);
30807                    if (v) {
30808                        set_int(sbalways_h, 0);
30809                        v = get_int(sbvis_h);
30810                        if (!v) {
30811                            emit("do-hide-hbar", "");
30812                            set_int(sbvis_h, 0);
30813                        }
30814                    }
30815                }
30816            }
30817            program { name: "sb_hbar_show";
30818                signal: "do-show-hbar";
30819                source: "";
30820                action:  STATE_SET "default" 0.0;
30821                transition: LINEAR 0.5;
30822                target: "sb_hbar_clip";
30823            }
30824            program { name: "sb_hbar_hide";
30825                signal: "do-hide-hbar";
30826                source: "";
30827                action:  STATE_SET "hidden" 0.0;
30828                transition: LINEAR 0.5;
30829                target: "sb_hbar_clip";
30830            }
30831
30832            program { name: "scroll";
30833                signal: "elm,action,scroll";
30834                source: "elm";
30835                script {
30836                    new v;
30837                    v = get_int(sbvis_v);
30838                    v |= get_int(sbalways_v);
30839                    if (!v) {
30840                        emit("do-show-vbar", "");
30841                        set_int(sbvis_v, 1);
30842                    }
30843                    v = get_int(sbvis_h);
30844                    v |= get_int(sbalways_h);
30845                    if (!v) {
30846                        emit("do-show-hbar", "");
30847                        set_int(sbvis_h, 1);
30848                    }
30849                    v = get_int(sbvis_timer);
30850                    if (v > 0) cancel_timer(v);
30851                    v = timer(1.0, "timer0", 0);
30852                    set_int(sbvis_timer, v);
30853                }
30854            }
30855            program { name: "go1";
30856                signal: "elm,state,busy,start";
30857                source: "elm";
30858                action: STATE_SET "active" 0.0;
30859                transition: SINUSOIDAL 1.0;
30860                target:  "busy_clip";
30861            }
30862            program { name: "go2";
30863                signal: "elm,state,busy,start";
30864                source: "elm";
30865                action: STATE_SET "default" 0.0;
30866                transition: LINEAR 0.5;
30867                target: "busy";
30868                after:  "go2";
30869            }
30870            program { name: "stop1";
30871                signal: "elm,state,busy,stop";
30872                source: "elm";
30873                action: STATE_SET "default" 0.0;
30874                transition: SINUSOIDAL 1.0;
30875                target: "busy_clip";
30876                after: "stop2";
30877            }
30878          program { name: "stop2";
30879             action: ACTION_STOP;
30880             target: "go2";
30881          }
30882       }
30883    }
30884
30885    ///////////////////////////////////////////////////////////////////////////////
30886    group { name: "elm/map/base/default";
30887        script {
30888            public sbvis_v, sbvis_h, sbalways_v, sbalways_h, sbvis_timer;
30889            public timer0(val) {
30890                new v;
30891                v = get_int(sbvis_v);
30892                if (v) {
30893                    v = get_int(sbalways_v);
30894                    if (!v) {
30895                        emit("do-hide-vbar", "");
30896                        set_int(sbvis_v, 0);
30897                    }
30898                }
30899                v = get_int(sbvis_h);
30900                if (v) {
30901                    v = get_int(sbalways_h);
30902                    if (!v) {
30903                        emit("do-hide-hbar", "");
30904                        set_int(sbvis_h, 0);
30905                    }
30906                }
30907                set_int(sbvis_timer, 0);
30908                return 0;
30909            }
30910        }
30911        images {
30912            image: "shelf_inset.png" COMP;
30913            image: "bt_sm_base2.png" COMP;
30914            image: "bt_sm_shine.png" COMP;
30915            image: "bt_sm_hilight.png" COMP;
30916            image: "busy-1.png" COMP;
30917            image: "busy-2.png" COMP;
30918            image: "busy-3.png" COMP;
30919            image: "busy-4.png" COMP;
30920            image: "busy-5.png" COMP;
30921            image: "busy-6.png" COMP;
30922            image: "busy-7.png" COMP;
30923            image: "busy-8.png" COMP;
30924            image: "busy-9.png" COMP;
30925        }
30926        parts {
30927            part { name: "bg";
30928                type: RECT;
30929                description { state: "default" 0.0;
30930                    rel1.offset: 1 1;
30931                    rel2.offset: -2 -2;
30932                    color: 255 255 255 0;
30933                }
30934            }
30935            part { name: "clipper";
30936                type: RECT;
30937                mouse_events: 0;
30938                description { state: "default" 0.0;
30939                    rel1.to: "bg";
30940                    rel2.to: "bg";
30941                }
30942            }
30943            part { name: "elm.swallow.content";
30944                clip_to: "clipper";
30945                type: SWALLOW;
30946                description { state: "default" 0.0;
30947                    rel1.offset: 1 1;
30948                    rel2.offset: -2 -2;
30949                }
30950            }
30951            part { name: "busy_clip";
30952                type: RECT;
30953                mouse_events: 0;
30954                description { state: "default" 0.0;
30955                    visible: 0;
30956                    color: 255 255 255 0;
30957                }
30958                description { state: "active" 0.0;
30959                    visible: 1;
30960                    color: 255 255 255 255;
30961                }
30962            }
30963            part { name: "busy";
30964                clip_to: "busy_clip";
30965                mouse_events: 0;
30966                description { state: "default" 0.0;
30967                    fixed: 1 1;
30968                    min: 32 32;
30969                    aspect: 1.0 1.0;
30970                    align: 1.0 1.0;
30971                    aspect_preference: BOTH;
30972                    rel1 {
30973                        relative: 0.9 0.9;
30974                        offset:   -9 -9;
30975                    }
30976                    rel2 {
30977                        relative: 0.9 0.9;
30978                        offset:   -9 -9;
30979                    }
30980                    image {
30981                        normal: "busy-9.png";
30982                        tween:  "busy-1.png";
30983                        tween:  "busy-2.png";
30984                        tween:  "busy-3.png";
30985                        tween:  "busy-4.png";
30986                        tween:  "busy-5.png";
30987                        tween:  "busy-6.png";
30988                        tween:  "busy-7.png";
30989                        tween:  "busy-8.png";
30990                    }
30991                }
30992            }
30993            part { name: "conf_over";
30994                mouse_events:  0;
30995                description { state: "default" 0.0;
30996                    rel1.offset: 0 0;
30997                    rel2.offset: -1 -1;
30998                    image {
30999                        normal: "shelf_inset.png";
31000                        border: 7 7 7 7;
31001                        middle: 0;
31002                    }
31003                    fill.smooth : 0;
31004                }
31005            }
31006            part { name: "sb_vbar_clip_master";
31007                type: RECT;
31008                mouse_events: 0;
31009                description { state: "default" 0.0;
31010                }
31011                description { state: "hidden" 0.0;
31012                    visible: 0;
31013                    color: 255 255 255 0;
31014                }
31015            }
31016            part { name: "sb_vbar_clip";
31017                clip_to: "sb_vbar_clip_master";
31018                type: RECT;
31019                mouse_events: 0;
31020                description { state: "default" 0.0;
31021                }
31022                description { state: "hidden" 0.0;
31023                    visible: 0;
31024                    color: 255 255 255 0;
31025                }
31026            }
31027            part { name: "sb_vbar";
31028                type: RECT;
31029                mouse_events: 0;
31030                description { state: "default" 0.0;
31031                    fixed: 1 1;
31032                    visible: 0;
31033                    min: 10 17;
31034                    align: 1.0 0.0;
31035                    rel1 {
31036                        relative: 1.0 0.0;
31037                        offset:   -2 0;
31038                    }
31039                    rel2 {
31040                        relative: 1.0 0.0;
31041                        offset:   -2 -1;
31042                        to_y:     "sb_hbar";
31043                    }
31044                }
31045            }
31046            part { name: "elm.dragable.vbar";
31047                clip_to: "sb_vbar_clip";
31048                mouse_events: 0;
31049                dragable {
31050                    x: 0 0 0;
31051                    y: 1 1 0;
31052                    confine: "sb_vbar";
31053                }
31054                description { state: "default" 0.0;
31055                    fixed: 1 1;
31056                    min: 10 17;
31057                    max: 10 99999;
31058                    rel1 {
31059                        relative: 0.5  0.5;
31060                        offset:   0    0;
31061                        to: "sb_vbar";
31062                    }
31063                    rel2 {
31064                        relative: 0.5  0.5;
31065                        offset:   0    0;
31066                        to: "sb_vbar";
31067                    }
31068                    image {
31069                        normal: "bt_sm_base2.png";
31070                        border: 6 6 6 6;
31071                        middle: SOLID;
31072                    }
31073                }
31074            }
31075            part { name: "sb_vbar_over1";
31076                clip_to: "sb_vbar_clip";
31077                mouse_events: 0;
31078                description { state: "default" 0.0;
31079                    rel1.to: "elm.dragable.vbar";
31080                    rel2.relative: 1.0 0.5;
31081                    rel2.to: "elm.dragable.vbar";
31082                    image {
31083                        normal: "bt_sm_hilight.png";
31084                        border: 6 6 6 0;
31085                    }
31086                }
31087            }
31088            part { name: "sb_vbar_over2";
31089                clip_to: "sb_vbar_clip";
31090                mouse_events: 0;
31091                description { state: "default" 0.0;
31092                    rel1.to: "elm.dragable.vbar";
31093                    rel2.to: "elm.dragable.vbar";
31094                    image {
31095                        normal: "bt_sm_shine.png";
31096                        border: 6 6 6 0;
31097                    }
31098                }
31099            }
31100
31101            part { name: "sb_hbar_clip_master";
31102                type: RECT;
31103                mouse_events: 0;
31104                description { state: "default" 0.0;
31105                }
31106                description { state: "hidden" 0.0;
31107                    visible: 0;
31108                    color: 255 255 255 0;
31109                }
31110            }
31111            part { name: "sb_hbar_clip";
31112                clip_to: "sb_hbar_clip_master";
31113                type: RECT;
31114                mouse_events: 0;
31115                description { state: "default" 0.0;
31116                }
31117                description { state: "hidden" 0.0;
31118                    visible: 0;
31119                    color: 255 255 255 0;
31120                }
31121            }
31122            part { name: "sb_hbar";
31123                type: RECT;
31124                mouse_events: 0;
31125                description { state: "default" 0.0;
31126                    fixed: 1 1;
31127                    visible: 0;
31128                    min: 17 10;
31129                    align: 0.0 1.0;
31130                    rel1 {
31131                        relative: 0.0 1.0;
31132                        offset:   0 -2;
31133                    }
31134                    rel2 {
31135                        relative: 0.0 1.0;
31136                        offset:   -1 -2;
31137                        to_x:     "sb_vbar";
31138                    }
31139                }
31140            }
31141            part { name: "elm.dragable.hbar";
31142                clip_to: "sb_hbar_clip";
31143                mouse_events: 0;
31144                dragable {
31145                    x: 1 1 0;
31146                    y: 0 0 0;
31147                    confine: "sb_hbar";
31148                }
31149                description { state: "default" 0.0;
31150                    fixed: 1 1;
31151                    min: 17 10;
31152                    max: 99999 10;
31153                    rel1 {
31154                        relative: 0.5  0.5;
31155                        offset:   0    0;
31156                        to: "sb_hbar";
31157                    }
31158                    rel2 {
31159                        relative: 0.5  0.5;
31160                        offset:   0    0;
31161                        to: "sb_hbar";
31162                    }
31163                    image {
31164                        normal: "bt_sm_base2.png";
31165                        border: 4 4 4 4;
31166                        middle: SOLID;
31167                    }
31168                }
31169            }
31170            part { name: "sb_hbar_over1";
31171                clip_to: "sb_hbar_clip";
31172                mouse_events: 0;
31173                description { state: "default" 0.0;
31174                    rel1.to: "elm.dragable.hbar";
31175                    rel2.relative: 1.0 0.5;
31176                    rel2.to: "elm.dragable.hbar";
31177                    image {
31178                        normal: "bt_sm_hilight.png";
31179                        border: 4 4 4 0;
31180                    }
31181                }
31182            }
31183            part { name: "sb_hbar_over2";
31184                clip_to: "sb_hbar_clip";
31185                mouse_events: 0;
31186                description { state: "default" 0.0;
31187                    rel1.to: "elm.dragable.hbar";
31188                    rel2.to: "elm.dragable.hbar";
31189                    image {
31190                        normal: "bt_sm_shine.png";
31191                        border: 4 4 4 0;
31192                    }
31193                }
31194            }
31195        }
31196        programs {
31197            program { name: "load";
31198                signal: "load";
31199                source: "";
31200                script {
31201                    set_state(PART:"sb_hbar_clip", "hidden", 0.0);
31202                    set_state(PART:"sb_vbar_clip", "hidden", 0.0);
31203                    set_int(sbvis_h, 0);
31204                    set_int(sbvis_v, 0);
31205                    set_int(sbalways_v, 0);
31206                    set_int(sbalways_h, 0);
31207                    set_int(sbvis_timer, 0);
31208                }
31209            }
31210
31211            program { name: "vbar_show";
31212                signal: "elm,action,show,vbar";
31213                source: "elm";
31214                action:  STATE_SET "default" 0.0;
31215                target: "sb_vbar_clip_master";
31216            }
31217            program { name: "vbar_hide";
31218                signal: "elm,action,hide,vbar";
31219                source: "elm";
31220                action:  STATE_SET "hidden" 0.0;
31221                target: "sb_vbar_clip_master";
31222            }
31223            program { name: "vbar_show_always";
31224                signal: "elm,action,show_always,vbar";
31225                source: "elm";
31226                script {
31227                    new v;
31228                    v = get_int(sbvis_v);
31229                    v |= get_int(sbalways_v);
31230                    if (!v) {
31231                        set_int(sbalways_v, 1);
31232                        emit("do-show-vbar", "");
31233                        set_int(sbvis_v, 1);
31234                    }
31235                }
31236            }
31237            program { name: "vbar_show_notalways";
31238                signal: "elm,action,show_notalways,vbar";
31239                source: "elm";
31240                script {
31241                    new v;
31242                    v = get_int(sbalways_v);
31243                    if (v) {
31244                        set_int(sbalways_v, 0);
31245                        v = get_int(sbvis_v);
31246                        if (!v) {
31247                            emit("do-hide-vbar", "");
31248                            set_int(sbvis_v, 0);
31249                        }
31250                    }
31251                }
31252            }
31253            program { name: "sb_vbar_show";
31254                signal: "do-show-vbar";
31255                source: "";
31256                action:  STATE_SET "default" 0.0;
31257                transition: LINEAR 0.5;
31258                target: "sb_vbar_clip";
31259            }
31260            program { name: "sb_vbar_hide";
31261                signal: "do-hide-vbar";
31262                source: "";
31263                action:  STATE_SET "hidden" 0.0;
31264                transition: LINEAR 0.5;
31265                target: "sb_vbar_clip";
31266            }
31267
31268            program { name: "hbar_show";
31269                signal: "elm,action,show,hbar";
31270                source: "elm";
31271                action:  STATE_SET "default" 0.0;
31272                target: "sb_hbar_clip_master";
31273            }
31274            program { name: "hbar_hide";
31275                signal: "elm,action,hide,hbar";
31276                source: "elm";
31277                action:  STATE_SET "hidden" 0.0;
31278                target: "sb_hbar_clip_master";
31279            }
31280            program { name: "hbar_show_always";
31281                signal: "elm,action,show_always,hbar";
31282                source: "elm";
31283                script {
31284                    new v;
31285                    v = get_int(sbvis_h);
31286                    v |= get_int(sbalways_h);
31287                    if (!v) {
31288                        set_int(sbalways_h, 1);
31289                        emit("do-show-hbar", "");
31290                        set_int(sbvis_h, 1);
31291                    }
31292                }
31293            }
31294            program { name: "hbar_show_notalways";
31295                signal: "elm,action,show_notalways,hbar";
31296                source: "elm";
31297                script {
31298                    new v;
31299                    v = get_int(sbalways_h);
31300                    if (v) {
31301                        set_int(sbalways_h, 0);
31302                        v = get_int(sbvis_h);
31303                        if (!v) {
31304                            emit("do-hide-hbar", "");
31305                            set_int(sbvis_h, 0);
31306                        }
31307                    }
31308                }
31309            }
31310            program { name: "sb_hbar_show";
31311                signal: "do-show-hbar";
31312                source: "";
31313                action:  STATE_SET "default" 0.0;
31314                transition: LINEAR 0.5;
31315                target: "sb_hbar_clip";
31316            }
31317            program { name: "sb_hbar_hide";
31318                signal: "do-hide-hbar";
31319                source: "";
31320                action:  STATE_SET "hidden" 0.0;
31321                transition: LINEAR 0.5;
31322                target: "sb_hbar_clip";
31323            }
31324
31325            program { name: "scroll";
31326                signal: "elm,action,scroll";
31327                source: "elm";
31328                script {
31329                    new v;
31330                    v = get_int(sbvis_v);
31331                    v |= get_int(sbalways_v);
31332                    if (!v) {
31333                        emit("do-show-vbar", "");
31334                        set_int(sbvis_v, 1);
31335                    }
31336                    v = get_int(sbvis_h);
31337                    v |= get_int(sbalways_h);
31338                    if (!v) {
31339                        emit("do-show-hbar", "");
31340                        set_int(sbvis_h, 1);
31341                    }
31342                    v = get_int(sbvis_timer);
31343                    if (v > 0) cancel_timer(v);
31344                    v = timer(1.0, "timer0", 0);
31345                    set_int(sbvis_timer, v);
31346                }
31347            }
31348            program { name: "go1";
31349                signal: "elm,state,busy,start";
31350                source: "elm";
31351                action: STATE_SET "active" 0.0;
31352                transition: SINUSOIDAL 1.0;
31353                target:  "busy_clip";
31354            }
31355            program { name: "go2";
31356                signal: "elm,state,busy,start";
31357                source: "elm";
31358                action: STATE_SET "default" 0.0;
31359                transition: LINEAR 0.5;
31360                target: "busy";
31361                after:  "go2";
31362            }
31363            program { name: "stop1";
31364                signal: "elm,state,busy,stop";
31365                source: "elm";
31366                action: STATE_SET "default" 0.0;
31367                transition: SINUSOIDAL 1.0;
31368                target: "busy_clip";
31369                after: "stop2";
31370            }
31371          program { name: "stop2";
31372             action: ACTION_STOP;
31373             target: "go2";
31374          }
31375       }
31376    }
31377    group { name: "elm/map/marker/radio/default";
31378         data {
31379             item: size_w 24;
31380             item: size_h 24;
31381             item: size_max_w 58;
31382             item: size_max_h 58;
31383         }
31384         images {
31385                 image: "map_item.png" COMP;
31386         }
31387         parts {
31388             part { name: "whole";
31389                 description { state: "default" 0.0;
31390                 }
31391             }
31392             part { name: "base";
31393                 ignore_flags: ON_HOLD;
31394                 description { state: "default" 0.0;
31395                     image.normal: "map_item.png";
31396                 }
31397             }
31398             part { name: "elm.icon";
31399                 type: SWALLOW;
31400                 clip_to: "whole";
31401                 mouse_events:  0;
31402                 description { state: "default" 0.0;
31403                     rel1.relative: 0.27 0.27;
31404                     rel2.relative: 0.73 0.73;
31405                 }
31406             }
31407             part { name: "elm.text";
31408                 type:          TEXT;
31409                 effect:        SOFT_SHADOW;
31410                 mouse_events:  0;
31411                 scale: 1;
31412                 description { state: "default" 0.0;
31413                     align:    0.5 0.5;
31414                     color: 224 224 224 255;
31415                     color3: 0 0 0 64;
31416                     rel1.relative: 0.28 0.25;
31417                     rel2.relative: 0.75 0.75;
31418                     text {
31419                         font:     "Sans,Edje-Vera";
31420                         size:     10;
31421                         min:      0 0;
31422                         align:    0.5 0.5;
31423                     }
31424                 }
31425             }
31426        }
31427        programs {
31428             program { name: "open";
31429                 signal: "mouse,clicked,1";
31430                 source: "base";
31431                 action: SIGNAL_EMIT "open" "elm";
31432             }
31433             program { name: "bringin";
31434                 signal: "mouse,down,1,double";
31435                 source: "base";
31436                 action: SIGNAL_EMIT "bringin" "elm";
31437             }
31438        }
31439    }
31440    group { name: "elm/map/marker/radio2/default";
31441         data {
31442             item: size_w 24;
31443             item: size_h 24;
31444             item: size_max_w 58;
31445             item: size_max_h 58;
31446         }
31447         images {
31448                 image: "map_item_2.png" COMP;
31449         }
31450         parts {
31451             part { name: "base";
31452                 ignore_flags: ON_HOLD;
31453                 description { state: "default" 0.0;
31454                     image.normal: "map_item_2.png";
31455                 }
31456             }
31457             part { name: "elm.text";
31458                 type:          TEXT;
31459                 effect:        SOFT_SHADOW;
31460                 mouse_events:  0;
31461                 scale: 1;
31462                 description { state: "default" 0.0;
31463                     align:    0.5 0.5;
31464                     color: 224 224 224 255;
31465                     color3: 0 0 0 64;
31466                     rel1.relative: 0.28 0.25;
31467                     rel2.relative: 0.75 0.75;
31468                     text {
31469                         font:     "Sans,Edje-Vera";
31470                         size:     10;
31471                         min:      0 0;
31472                         align:    0.5 0.5;
31473                     }
31474                 }
31475             }
31476        }
31477        programs {
31478             program { name: "open";
31479                 signal: "mouse,clicked,1";
31480                 source: "base";
31481                 action: SIGNAL_EMIT "open" "elm";
31482             }
31483             program { name: "bringin";
31484                 signal: "mouse,down,1,double";
31485                 source: "base";
31486                 action: SIGNAL_EMIT "bringin" "elm";
31487             }
31488        }
31489    }
31490    group { name: "elm/map/marker/empty/default";
31491         data {
31492             item: size_w 22;
31493             item: size_h 22;
31494             item: size_max_w 64;
31495             item: size_max_h 64;
31496         }
31497         parts {
31498             part { name: "whole";
31499                 description { state: "default" 0.0;
31500                 }
31501             }
31502             part { name: "base";
31503                 ignore_flags: ON_HOLD;
31504                 description { state: "default" 0.0;
31505                 }
31506             }
31507             part { name: "elm.icon";
31508                 type: SWALLOW;
31509                 clip_to: "whole";
31510                 mouse_events:  0;
31511                 description { state: "default" 0.0;
31512                 }
31513             }
31514             part { name: "elm.text";
31515                 type:          TEXT;
31516                 effect:        SOFT_SHADOW;
31517                 mouse_events:  0;
31518                 scale: 1;
31519                 description { state: "default" 0.0;
31520                     align:    0.5 0.5;
31521                     color: 224 224 224 255;
31522                     color3: 0 0 0 64;
31523                     rel1.relative: 0.28 0.25;
31524                     rel2.relative: 0.75 0.75;
31525                     text {
31526                         font:     "Sans,Edje-Vera";
31527                         size:     10;
31528                         min:      0 0;
31529                         align:    0.5 0.5;
31530                     }
31531                 }
31532             }
31533        }
31534        programs {
31535             program { name: "open";
31536                 signal: "mouse,clicked,1";
31537                 source: "base";
31538                 action: SIGNAL_EMIT "open" "elm";
31539             }
31540             program { name: "bringin";
31541                 signal: "mouse,down,1,double";
31542                 source: "base";
31543                 action: SIGNAL_EMIT "bringin" "elm";
31544             }
31545        }
31546    }
31547    group { name: "elm/map/marker_bubble/default";
31548     images {
31549       image: "bubble.png" COMP;
31550       image: "bubble_shine.png" COMP;
31551     }
31552     data {
31553             item: size_w 400;
31554             item: size_h 100;
31555         }
31556     parts {
31557     part { name: "clipper";
31558         mouse_events:  1;
31559         description { state: "default" 0.0;
31560           color: 255 255 255 0;
31561         }
31562         description { state: "show" 0.0;
31563             inherit: "default" 0.0;
31564             color: 255 255 255 255;
31565         }
31566       }
31567      part { name: "base0";
31568         mouse_events:  0;
31569         clip_to: "clipper";
31570         description { state: "default" 0.0;
31571           image {
31572             normal: "bubble.png";
31573             border: 11 36 10 19;
31574           }
31575           image.middle: SOLID;
31576           fill.smooth: 0;
31577         }
31578       }
31579       part { name: "elm.swallow.content";
31580         type: SWALLOW;
31581         clip_to: "clipper";
31582         description { state: "default" 0.0;
31583             align: 0.5 0.5;
31584           rel1 {
31585             offset: 9 8;
31586           }
31587           rel2 {
31588             offset: -10 -17;
31589           }
31590         }
31591       }
31592       part { name: "shine";
31593         mouse_events:  0;
31594         clip_to: "clipper";
31595         description { state:    "default" 0.0;
31596           rel1 {
31597             to: "base0";
31598           }
31599           rel2 {
31600             to: "base0";
31601             relative: 1.0 0.5;
31602           }
31603           image {
31604             normal: "bubble_shine.png";
31605             border: 5 5 5 0;
31606           }
31607           fill.smooth: 0;
31608         }
31609         }
31610     }
31611     programs {
31612         program { name: "show";
31613             signal: "show";
31614             action: STATE_SET "show" 0.0;
31615             target: "clipper";
31616             transition: ACCELERATE 0.5;
31617         }
31618     }
31619   }
31620
31621 /////////////////////////////////////////////////////////////////////////////
31622 // PANES
31623 /////////////////////////////////////////////////////////////////////////////
31624   group {
31625      name: "elm/panes/vertical/default";
31626       images {
31627          image: "bt_base1.png" COMP;
31628          image: "bt_base2.png" COMP;
31629          image: "bt_hilight.png" COMP;
31630          image: "bt_shine.png" COMP;
31631          image: "bt_glow.png" COMP;
31632          image: "bt_dis_base.png" COMP;
31633          image: "bt_dis_hilight.png" COMP;
31634          image: "arrow_right.png" COMP;
31635          image: "arrow_left.png" COMP;
31636       }
31637      parts
31638        {
31639           part
31640             {
31641                name: "whole";
31642                type: RECT;
31643                mouse_events: 0;
31644                description
31645                  {
31646                     state: "default" 0.0;
31647                     visible: 0;
31648                  }
31649             }
31650
31651          //2 contents
31652           part
31653             {
31654                name: "whole_left";
31655                type: RECT;
31656                mouse_events: 0;
31657                description
31658                  {
31659                     state: "default" 0.0;
31660                     rel2.to_x: "elm.bar";
31661                     rel2.relative: 0.0 1.0;
31662                     visible: 1;
31663                  }
31664             }
31665           part
31666             {
31667                name: "elm.swallow.left";
31668                type: SWALLOW;
31669                clip_to: "whole_left";
31670                description
31671                  {
31672                     state: "default" 0.0;
31673                     rel1.to: "whole_left";
31674                     rel2.to: "whole_left";
31675                  }
31676             }
31677
31678             part
31679             {
31680                name: "whole_right";
31681                type: RECT;
31682                mouse_events: 0;
31683                description
31684                  {
31685                     state: "default" 0.0;
31686                     rel1.to_x: "elm.bar";
31687                     rel1.relative: 1.0 0.0;
31688                     visible: 1;
31689                  }
31690             }
31691           part
31692             {
31693                name: "elm.swallow.right";
31694                type: SWALLOW;
31695                clip_to: "whole_right";
31696                description
31697                  {
31698                     state: "default" 0.0;
31699                     rel1.to: "whole_right";
31700                     rel2.to: "whole_right";
31701                  }
31702             }
31703          //BAR
31704          part { name: "elm.bar";
31705             mouse_events: 1;
31706             dragable {
31707                confine: "whole";
31708                x: 1 1 1;
31709                y: 0 0 0;
31710             }
31711             description { state: "default" 0.0;
31712                max: 15 9999;
31713                min: 15 100;
31714                rel1.relative: 0.0 0.5;
31715                rel2.relative: 1.0 0.5;
31716                image {
31717                   normal: "bt_base2.png";
31718                   border: 7 7 7 7;
31719                }
31720                image.middle: SOLID;
31721             }
31722             description { state: "clicked" 0.0;
31723                inherit: "default" 0.0;
31724                image.normal: "bt_base1.png";
31725                image.middle: SOLID;
31726             }
31727             description { state: "disabled" 0.0;
31728                inherit:  "default" 0.0;
31729                image {
31730                   normal: "bt_dis_base.png";
31731                   border: 4 4 4 4;
31732                }
31733             }
31734          }
31735          part {   name: "over1";
31736             mouse_events: 0;
31737             description { state: "default" 0.0;
31738             rel1.to: "elm.bar";
31739             rel2.to: "elm.bar";
31740                rel2.relative: 1.0 0.5;
31741                image {
31742                   normal: "bt_hilight.png";
31743                   border: 7 7 7 0;
31744                }
31745             }
31746             description { state: "disabled" 0.0;
31747                inherit:  "default" 0.0;
31748                image {
31749                   normal: "bt_dis_hilight.png";
31750                   border: 4 4 4 0;
31751                }
31752             }
31753          }
31754          part { name: "over2";
31755             mouse_events: 1;
31756             repeat_events: 1;
31757             ignore_flags: ON_HOLD;
31758             description { state: "default" 0.0;
31759             rel1.to: "elm.bar";
31760             rel2.to: "elm.bar";
31761                image {
31762                   normal: "bt_shine.png";
31763                   border: 7 7 7 7;
31764                }
31765             }
31766             description { state: "disabled" 0.0;
31767                inherit:  "default" 0.0;
31768                visible: 0;
31769             }
31770          }
31771          part { name: "over3";
31772             mouse_events: 1;
31773             repeat_events: 1;
31774             description { state: "default" 0.0;
31775                color: 255 255 255 0;
31776             rel1.to: "elm.bar";
31777             rel2.to: "elm.bar";
31778                image {
31779                   normal: "bt_glow.png";
31780                   border: 12 12 12 12;
31781                }
31782                fill.smooth : 0;
31783             }
31784             description { state: "clicked" 0.0;
31785                inherit:  "default" 0.0;
31786                visible: 1;
31787                color: 255 255 255 255;
31788             }
31789          }
31790
31791          //Arrow
31792          part {
31793             name: "arrow_right";
31794             repeat_events: 1;
31795             description { state: "default" 0.0;
31796                 min: 45 45;
31797                 max: 45 45;
31798                 color: 255 255 255 0;
31799
31800                 rel1.relative: 1.0 0.5;
31801                 rel1.to_x: "elm.bar";
31802                 rel1.offset: 45/2 -45/2;
31803
31804                 rel2.relative: 1.0 0.5;
31805                 rel2.to_x: "elm.bar";
31806                 rel2.offset: 45/2 45/2;
31807
31808                 image.normal: "arrow_right.png";
31809
31810                 fixed: 1 1;
31811             }
31812             description { state: "anim_1" 0.0;
31813                 inherit: "default" 0.0;
31814                 color: 255 255 255 200;
31815                 rel1.offset: (45/2 + 10) -45/2;
31816                 rel2.offset: (45/2 +10) 45/2;
31817             }
31818             description { state: "anim_2" 0.0;
31819                 inherit: "default" 0.0;
31820                 color: 255 255 255 0;
31821                 rel1.offset: (45/2 + 20) -45/2;
31822                 rel2.offset: (45/2 + 20) 45/2;
31823             }
31824          }
31825         part {
31826             name: "arrow_left";
31827             repeat_events: 1;
31828             description { state: "default" 0.0;
31829                 min: 45 45;
31830                 max: 45 45;
31831                 color: 255 255 255 0;
31832
31833                 rel1.relative: 0.0 0.5;
31834                 rel1.to_x: "elm.bar";
31835                 rel1.offset: -45/2 -45/2;
31836
31837                 rel2.relative: 0.0 0.5;
31838                 rel2.to_x: "elm.bar";
31839                 rel2.offset: -45/2 45/2;
31840
31841                 image.normal: "arrow_left.png";
31842
31843                 fixed: 1 1;
31844             }
31845             description { state: "anim_1" 0.0;
31846                 inherit: "default" 0.0;
31847                 color: 255 255 255 200;
31848                 rel1.offset: (-45/2 - 10) -45/2;
31849                 rel2.offset: (-45/2 - 10) 45/2;
31850             }
31851             description { state: "anim_2" 0.0;
31852                 inherit: "default" 0.0;
31853                 color: 255 255 255 0;
31854                 rel1.offset: (-45/2 - 20) -45/2;
31855                 rel2.offset: (-45/2 - 20) 45/2;
31856             }
31857          }
31858
31859        }
31860         programs {
31861          program {
31862             name:   "button_click";
31863             signal: "mouse,down,1";
31864             source: "over2";
31865             action: SIGNAL_EMIT "elm,action,press" "";
31866             after: "button_click_anim";
31867             after: "arrow_anim_start";
31868          }
31869          program {
31870             name:   "button_click_anim";
31871             action: STATE_SET "clicked" 0.0;
31872             target: "elm.bar";
31873          }
31874          program {
31875             name:   "button_unclick";
31876             signal: "mouse,up,1";
31877             source: "over2";
31878             action: SIGNAL_EMIT "elm,action,unpress" "";
31879             after: "button_unclick_anim";
31880             after: "arrow_anim_stop";
31881          }
31882          program {
31883             name:   "button_unclick_anim";
31884             action: STATE_SET "default" 0.0;
31885             target: "elm.bar";
31886          }
31887          program {
31888             name:   "button_click2";
31889             signal: "mouse,down,1";
31890             source: "over3";
31891             action: STATE_SET "clicked" 0.0;
31892             target: "over3";
31893          }
31894          program {
31895             name:   "button_unclick2";
31896             signal: "mouse,up,1";
31897             source: "over3";
31898             action: STATE_SET "default" 0.0;
31899             transition: DECELERATE 0.5;
31900             target: "over3";
31901          }
31902          program {
31903             name:   "button_unclick3";
31904             signal: "mouse,up,1";
31905             source: "over2";
31906             action: SIGNAL_EMIT "elm,action,click" "";
31907          }
31908          program {
31909             name:   "button_down_double";
31910             signal: "mouse,down,1,double";
31911             source: "over3";
31912             action: SIGNAL_EMIT "elm,action,click,double" "";
31913          }
31914
31915          //arrows animation
31916          program {
31917             name: "arrow_anim_start";
31918             action: STATE_SET "anim_1" 0.0;
31919             target: "arrow_right";
31920             target: "arrow_left";
31921             transition: LINEAR 0.6;
31922             after: "arrow_anim_1";
31923          }
31924          program {
31925             name: "arrow_anim_1";
31926             action: STATE_SET "anim_2" 0.0;
31927             target: "arrow_right";
31928             target: "arrow_left";
31929             transition: LINEAR 0.6;
31930             after: "arrow_anim_2";
31931          }
31932          program {
31933             name: "arrow_anim_2";
31934             action: STATE_SET "default" 0.0;
31935             target: "arrow_right";
31936             target: "arrow_left";
31937             after: "arrow_anim_start";
31938          }
31939          program {
31940             name: "arrow_anim_stop";
31941             action: ACTION_STOP;
31942             target: "arrow_anim_start";
31943             target: "arrow_anim_1";
31944             target: "arrow_anim_2";
31945             after: "arrow_anim_stop_1";
31946          }
31947          program {
31948             name: "arrow_anim_stop_1";
31949             action: STATE_SET "default" 0.0;
31950             target: "arrow_right";
31951             target: "arrow_left";
31952             transition: DECELERATE 0.4;
31953         }
31954       }
31955   }
31956
31957   group {
31958      name: "elm/panes/horizontal/default";
31959       images {
31960          image: "bt_base1.png" COMP;
31961          image: "bt_base2.png" COMP;
31962          image: "bt_hilight.png" COMP;
31963          image: "bt_shine.png" COMP;
31964          image: "bt_glow.png" COMP;
31965          image: "bt_dis_base.png" COMP;
31966          image: "bt_dis_hilight.png" COMP;
31967          image: "arrow_up.png" COMP;
31968          image: "arrow_down.png" COMP;
31969       }
31970      parts
31971        {
31972           part
31973             {
31974                name: "whole";
31975                type: RECT;
31976                mouse_events: 0;
31977                description
31978                  {
31979                     state: "default" 0.0;
31980                     visible: 0;
31981                  }
31982             }
31983
31984          //2 contents
31985           part
31986             {
31987                name: "whole_left";
31988                type: RECT;
31989                mouse_events: 0;
31990                description
31991                  {
31992                     state: "default" 0.0;
31993                     rel2.to_y: "elm.bar";
31994                     rel2.relative: 1.0 0.0;
31995                     visible: 1;
31996                  }
31997             }
31998           part
31999             {
32000                name: "elm.swallow.left";
32001                type: SWALLOW;
32002                clip_to: "whole_left";
32003                description
32004                  {
32005                     state: "default" 0.0;
32006                     rel1.to: "whole_left";
32007                     rel2.to: "whole_left";
32008                  }
32009             }
32010
32011             part
32012             {
32013                name: "whole_right";
32014                type: RECT;
32015                mouse_events: 0;
32016                description
32017                  {
32018                     state: "default" 0.0;
32019                     rel1.to_y: "elm.bar";
32020                     rel1.relative: 0.0 1.0;
32021                     visible: 1;
32022                  }
32023             }
32024           part
32025             {
32026                name: "elm.swallow.right";
32027                type: SWALLOW;
32028                clip_to: "whole_right";
32029                description
32030                  {
32031                     state: "default" 0.0;
32032                     rel1.to: "whole_right";
32033                     rel2.to: "whole_right";
32034                  }
32035             }
32036          //BAR
32037          part { name: "elm.bar";
32038             mouse_events: 1;
32039             dragable {
32040                confine: "whole";
32041                x: 0 0 0;
32042                y: 1 1 1;
32043             }
32044             description { state: "default" 0.0;
32045                max: 999 15;
32046                min: 100 15;
32047                rel1.relative: 0.5 0.0;
32048                rel2.relative: 0.5 1.0;
32049                image {
32050                   normal: "bt_base2.png";
32051                   border: 7 7 7 7;
32052                }
32053                image.middle: SOLID;
32054             }
32055             description { state: "clicked" 0.0;
32056                inherit: "default" 0.0;
32057                image.normal: "bt_base1.png";
32058                image.middle: SOLID;
32059             }
32060             description { state: "disabled" 0.0;
32061                inherit:  "default" 0.0;
32062                image {
32063                   normal: "bt_dis_base.png";
32064                   border: 4 4 4 4;
32065                }
32066             }
32067          }
32068          part {   name: "over1";
32069             mouse_events: 0;
32070             description { state: "default" 0.0;
32071             rel1.to: "elm.bar";
32072             rel2.to: "elm.bar";
32073                rel2.relative: 1.0 0.5;
32074                image {
32075                   normal: "bt_hilight.png";
32076                   border: 7 7 7 0;
32077                }
32078             }
32079             description { state: "disabled" 0.0;
32080                inherit:  "default" 0.0;
32081                image {
32082                   normal: "bt_dis_hilight.png";
32083                   border: 4 4 4 0;
32084                }
32085             }
32086          }
32087          part { name: "over2";
32088             mouse_events: 1;
32089             repeat_events: 1;
32090             ignore_flags: ON_HOLD;
32091             description { state: "default" 0.0;
32092             rel1.to: "elm.bar";
32093             rel2.to: "elm.bar";
32094                image {
32095                   normal: "bt_shine.png";
32096                   border: 7 7 7 7;
32097                }
32098             }
32099             description { state: "disabled" 0.0;
32100                inherit:  "default" 0.0;
32101                visible: 0;
32102             }
32103          }
32104          part { name: "over3";
32105             mouse_events: 1;
32106             repeat_events: 1;
32107             description { state: "default" 0.0;
32108                color: 255 255 255 0;
32109             rel1.to: "elm.bar";
32110             rel2.to: "elm.bar";
32111                image {
32112                   normal: "bt_glow.png";
32113                   border: 12 12 12 12;
32114                }
32115                fill.smooth : 0;
32116             }
32117             description { state: "clicked" 0.0;
32118                inherit:  "default" 0.0;
32119                visible: 1;
32120                color: 255 255 255 255;
32121             }
32122          }
32123
32124          //Arrow
32125          part {
32126             name: "arrow_right";
32127             repeat_events: 1;
32128             description { state: "default" 0.0;
32129                 min: 45 45;
32130                 max: 45 45;
32131                 color: 255 255 255 0;
32132
32133                 rel1.relative: 0.5 1.0;
32134                 rel1.to_y: "elm.bar";
32135                 rel1.offset: -45/2 45/2;
32136
32137                 rel2.relative: 0.5 1.0;
32138                 rel2.to_y: "elm.bar";
32139                 rel2.offset: 45/2 45/2;
32140
32141                 image.normal: "arrow_down.png";
32142
32143                 fixed: 1 1;
32144             }
32145             description { state: "anim_1" 0.0;
32146                 inherit: "default" 0.0;
32147                 color: 255 255 255 200;
32148                 rel1.offset: -45/2 (45/2 +10);
32149                 rel2.offset: 45/2 (45/2 +10);
32150             }
32151             description { state: "anim_2" 0.0;
32152                 inherit: "default" 0.0;
32153                 color: 255 255 255 0;
32154                 rel1.offset: -45/2 (45/2 + 20);
32155                 rel2.offset: 45/2 (45/2 + 20);
32156             }
32157          }
32158         part {
32159             name: "arrow_left";
32160             repeat_events: 1;
32161             description { state: "default" 0.0;
32162                 min: 45 45;
32163                 max: 45 45;
32164                 color: 255 255 255 0;
32165
32166                 rel1.relative: 0.5 0.0;
32167                 rel1.to_y: "elm.bar";
32168                 rel1.offset: -45/2 -45/2;
32169
32170                 rel2.relative: 0.5 0.0;
32171                 rel2.to_y: "elm.bar";
32172                 rel2.offset: 45/2 -45/2;
32173
32174                 image.normal: "arrow_up.png";
32175
32176                 fixed: 1 1;
32177             }
32178             description { state: "anim_1" 0.0;
32179                 inherit: "default" 0.0;
32180                 color: 255 255 255 200;
32181                 rel1.offset: -45/2 (-45/2 - 10);
32182                 rel2.offset: 45/2 (-45/2 - 10);
32183             }
32184             description { state: "anim_2" 0.0;
32185                 inherit: "default" 0.0;
32186                 color: 255 255 255 0;
32187                 rel1.offset: -45/2 (-45/2 - 20);
32188                 rel2.offset: 45/2 (-45/2 - 20);
32189             }
32190          }
32191
32192        }
32193         programs {
32194          program {
32195             name:   "button_click";
32196             signal: "mouse,down,1";
32197             source: "over2";
32198             action: SIGNAL_EMIT "elm,action,press" "";
32199             after: "button_click_anim";
32200             after: "arrow_anim_start";
32201          }
32202          program {
32203             name:   "button_click_anim";
32204             action: STATE_SET "clicked" 0.0;
32205             target: "elm.bar";
32206          }
32207          program {
32208             name:   "button_unclick";
32209             signal: "mouse,up,1";
32210             source: "over2";
32211             action: SIGNAL_EMIT "elm,action,unpress" "";
32212             after: "button_unclick_anim";
32213             after: "arrow_anim_stop";
32214          }
32215          program {
32216             name:   "button_unclick_anim";
32217             action: STATE_SET "default" 0.0;
32218             target: "elm.bar";
32219          }
32220          program {
32221             name:   "button_click2";
32222             signal: "mouse,down,1";
32223             source: "over3";
32224             action: STATE_SET "clicked" 0.0;
32225             target: "over3";
32226          }
32227          program {
32228             name:   "button_unclick2";
32229             signal: "mouse,up,1";
32230             source: "over3";
32231             action: STATE_SET "default" 0.0;
32232             transition: DECELERATE 0.5;
32233             target: "over3";
32234          }
32235          program {
32236             name:   "button_unclick3";
32237             signal: "mouse,up,1";
32238             source: "over2";
32239             action: SIGNAL_EMIT "elm,action,click" "";
32240          }
32241          program {
32242             name:   "button_down_double";
32243             signal: "mouse,down,1,double";
32244             source: "over3";
32245             action: SIGNAL_EMIT "elm,action,click,double" "";
32246          }
32247
32248          //arrows animation
32249          program {
32250             name: "arrow_anim_start";
32251             action: STATE_SET "anim_1" 0.0;
32252             target: "arrow_right";
32253             target: "arrow_left";
32254             transition: LINEAR 0.6;
32255             after: "arrow_anim_1";
32256          }
32257          program {
32258             name: "arrow_anim_1";
32259             action: STATE_SET "anim_2" 0.0;
32260             target: "arrow_right";
32261             target: "arrow_left";
32262             transition: LINEAR 0.6;
32263             after: "arrow_anim_2";
32264          }
32265          program {
32266             name: "arrow_anim_2";
32267             action: STATE_SET "default" 0.0;
32268             target: "arrow_right";
32269             target: "arrow_left";
32270             after: "arrow_anim_start";
32271          }
32272          program {
32273             name: "arrow_anim_stop";
32274             action: ACTION_STOP;
32275             target: "arrow_anim_start";
32276             target: "arrow_anim_1";
32277             target: "arrow_anim_2";
32278             after: "arrow_anim_stop_1";
32279          }
32280          program {
32281             name: "arrow_anim_stop_1";
32282             action: STATE_SET "default" 0.0;
32283             target: "arrow_right";
32284             target: "arrow_left";
32285             transition: DECELERATE 0.4;
32286         }
32287       }
32288   }
32289
32290
32291
32292 /////////////////////////////////////////////////////////////////////////////
32293 // PANEL
32294 /////////////////////////////////////////////////////////////////////////////
32295   group {
32296      name: "elm/panel/base/left";
32297      alias: "elm/panel/base/top";
32298      images
32299        {
32300           image: "bt_base1.png" COMP;
32301           image: "bt_hilight.png" COMP;
32302           image: "bt_shine.png" COMP;
32303           image: "bt_glow.png" COMP;
32304           image: "bt_dis_base.png" COMP;
32305           image: "icon_arrow_left.png" COMP;
32306           image: "icon_arrow_right.png" COMP;
32307        }
32308        data {
32309           item: "focus_highlight" "on";
32310        }
32311      parts
32312        {
32313             part { name: "focus_highlight";
32314                description { state: "default" 0.0;
32315                   visible: 0;
32316                   color: 255 255 255 0;
32317                   rel1 {
32318                      to: "btn";
32319                      offset: -8 -8;
32320                   }
32321                   rel2 {
32322                      to: "btn";
32323                      offset: 7 7;
32324                   }
32325                   image {
32326                      normal: "frame_2.png";
32327                      border: 5 5 32 26;
32328                      middle: 0;
32329                   }
32330                }
32331                description { state: "enabled" 0.0;
32332                   inherit: "default" 0.0;
32333                   visible: 1;
32334                   color: 255 255 255 255;
32335                }
32336             }
32337           part
32338             {
32339                name: "bg";
32340                type: RECT;
32341                mouse_events: 0;
32342                description
32343                  {
32344                     state: "default" 0.0;
32345                     color: 255 255 255 0;
32346                     rel1.relative: 0.0 0.0;
32347                     rel1.offset: 0 0;
32348                     rel2.relative: 1.0 1.0;
32349                     rel2.offset: -1 -1;
32350                  }
32351                description
32352                  {
32353                     state: "hidden" 0.0;
32354                     inherit: "default" 0.0;
32355                     rel1.relative: -1.0 0.0;
32356                     rel1.offset: 21 0;
32357                     rel2.relative: 0.0 1.0;
32358                     rel2.offset: 20 -1;
32359                  }
32360             }
32361           part
32362             {
32363                name: "base";
32364                type: IMAGE;
32365                mouse_events: 0;
32366                description
32367                  {
32368                     state: "default" 0.0;
32369                     rel1.to: "bg";
32370                     rel2.to: "bg";
32371                     rel2.offset: -20 -1;
32372                     image
32373                       {
32374                          normal: "bt_dis_base.png";
32375                          border: 4 4 4 4;
32376                       }
32377                  }
32378             }
32379           part
32380             {
32381                name: "clipper";
32382                type: RECT;
32383                mouse_events: 0;
32384                description
32385                  {
32386                     state: "default" 0.0;
32387                     rel1
32388                       {
32389                          offset: 4 4;
32390                          to: "base";
32391                       }
32392                     rel2
32393                       {
32394                          offset: -5 -5;
32395                          to: "base";
32396                       }
32397                  }
32398             }
32399           part
32400             {
32401                name: "elm.swallow.content";
32402                type: SWALLOW;
32403                clip_to: "clipper";
32404                description
32405                  {
32406                     state: "default" 0.0;
32407                     rel1.to: "clipper";
32408                     rel2.to: "clipper";
32409                  }
32410             }
32411           part
32412             {
32413                name: "btn";
32414                type: IMAGE;
32415                mouse_events: 1;
32416                description
32417                  {
32418                     state: "default" 0.0;
32419                     max: 32 48;
32420                     fixed: 1 1;
32421                     align: 0.0 0.5;
32422                     rel1
32423                       {
32424                          relative: 1.0 0.0;
32425                          offset: -3 0;
32426                          to_x: "base";
32427                       }
32428                     rel2.to_x: "bg";
32429                     image
32430                       {
32431                          normal: "bt_base1.png";
32432                          border: 0 5 4 12;
32433                       }
32434                     fill.smooth: 0;
32435                  }
32436                description
32437                  {
32438                     state: "clicked" 0.0;
32439                     inherit: "default" 0.0;
32440                  }
32441             }
32442           part
32443             {
32444                name: "btn_over";
32445                type: IMAGE;
32446                mouse_events: 0;
32447                description
32448                  {
32449                     state: "default" 0.0;
32450                     rel1.to: "btn";
32451                     rel2
32452                       {
32453                          relative: 1.0 0.5;
32454                          to: "btn";
32455                       }
32456                     image
32457                       {
32458                          normal: "bt_hilight.png";
32459                          border: 0 7 7 0;
32460                       }
32461                  }
32462             }
32463           part
32464             {
32465                name: "btn_over2";
32466                type: IMAGE;
32467                mouse_events: 1;
32468                repeat_events: 1;
32469                ignore_flags: ON_HOLD;
32470                description
32471                  {
32472                     state: "default" 0.0;
32473                     rel1.to: "btn";
32474                     rel2.to: "btn";
32475                     image
32476                       {
32477                          normal: "bt_shine.png";
32478                          border: 0 7 7 7;
32479                     }
32480                  }
32481             }
32482           part
32483             {
32484                name: "btn_over3";
32485                type: IMAGE;
32486                mouse_events: 1;
32487                repeat_events: 1;
32488                description
32489                  {
32490                     state: "default" 0.0;
32491                     color: 255 255 255 0;
32492                     rel1.to: "btn";
32493                     rel2.to: "btn";
32494                     image
32495                       {
32496                        normal: "bt_glow.png";
32497                        border: 12 12 12 12;
32498                     }
32499                   fill.smooth: 0;
32500                }
32501              description
32502                {
32503                   state: "clicked" 0.0;
32504                   inherit: "default" 0.0;
32505                   visible: 1;
32506                   color: 255 255 255 255;
32507                }
32508             }
32509           part
32510             {
32511                name: "btn_icon";
32512                type: IMAGE;
32513                repeat_events: 1;
32514                description
32515                  {
32516                     state: "default" 0.0;
32517                     rel1.to: "btn";
32518                     rel2.to: "btn";
32519                     align: 0.5 0.5;
32520                     min: 16 16;
32521                     max: 16 16;
32522                     image.normal: "icon_arrow_left.png";
32523                  }
32524                description
32525                  {
32526                     state: "hidden" 0.0;
32527                     inherit: "default" 0.0;
32528                     image.normal: "icon_arrow_right.png";
32529                  }
32530             }
32531        }
32532      programs
32533        {
32534           program
32535             {
32536                name: "show";
32537                signal: "elm,action,show";
32538                source: "elm";
32539                action: STATE_SET "default" 0.0;
32540                target: "bg";
32541                target: "btn_icon";
32542                transition: LINEAR 0.5;
32543             }
32544           program
32545             {
32546                name: "hide";
32547                signal: "elm,action,hide";
32548                source: "elm";
32549                action: STATE_SET "hidden" 0.0;
32550                target: "bg";
32551                target: "btn_icon";
32552                transition: LINEAR 0.5;
32553             }
32554           program
32555             {
32556                name: "btn_click";
32557                signal: "mouse,down,1";
32558                source: "btn_over2";
32559                action: STATE_SET "clicked" 0.0;
32560                target: "btn";
32561             }
32562           program
32563             {
32564                name: "btn_unclick";
32565                signal: "mouse,up,1";
32566                source: "btn_over2";
32567                action: STATE_SET "default" 0.0;
32568                target: "btn";
32569             }
32570           program
32571             {
32572                name: "btn_click2";
32573                signal: "mouse,down,1";
32574                source: "btn_over3";
32575                action: STATE_SET "clicked" 0.0;
32576                target: "btn_over3";
32577             }
32578           program
32579             {
32580                name: "btn_unclick2";
32581                signal: "mouse,up,1";
32582                source: "btn_over3";
32583                action: STATE_SET "default" 0.0;
32584                transition: DECELERATE 0.5;
32585                target: "btn_over3";
32586             }
32587           program
32588             {
32589                name: "btn_unclick3";
32590                signal: "mouse,clicked,1";
32591                source: "btn_over2";
32592                action: SIGNAL_EMIT "elm,action,panel,toggle" "";
32593             }
32594          program { name: "highlight_show";
32595             signal: "elm,action,focus_highlight,show";
32596             source: "elm";
32597             action: STATE_SET "enabled" 0.0;
32598             transition: ACCELERATE 0.3;
32599             target: "focus_highlight";
32600          }
32601          program { name: "highlight_hide";
32602             signal: "elm,action,focus_highlight,hide";
32603             source: "elm";
32604             action: STATE_SET "default" 0.0;
32605             transition: DECELERATE 0.3;
32606             target: "focus_highlight";
32607          }
32608        }
32609   }
32610
32611   group {
32612      name: "elm/panel/base/right";
32613      alias: "elm/panel/base/bottom";
32614      images
32615        {
32616           image: "bt_base1.png" COMP;
32617           image: "bt_hilight.png" COMP;
32618           image: "bt_shine.png" COMP;
32619           image: "bt_glow.png" COMP;
32620           image: "bt_dis_base.png" COMP;
32621           image: "icon_arrow_left.png" COMP;
32622           image: "icon_arrow_right.png" COMP;
32623        }
32624      parts
32625        {
32626             part { name: "focus_highlight";
32627                description { state: "default" 0.0;
32628                   visible: 0;
32629                   color: 255 255 255 0;
32630                   rel1 {
32631                      to: "btn";
32632                      offset: -8 -8;
32633                   }
32634                   rel2 {
32635                      to: "btn";
32636                      offset: 7 7;
32637                   }
32638                   image {
32639                      normal: "frame_2.png";
32640                      border: 5 5 32 26;
32641                      middle: 0;
32642                   }
32643                }
32644                description { state: "enabled" 0.0;
32645                   inherit: "default" 0.0;
32646                   visible: 1;
32647                   color: 255 255 255 255;
32648                }
32649             }
32650           part
32651             {
32652                name: "bg";
32653                type: RECT;
32654                mouse_events: 0;
32655                description
32656                  {
32657                     state: "default" 0.0;
32658                     color: 255 255 255 0;
32659                     rel1.relative: 0.0 0.0;
32660                     rel1.offset: 0 0;
32661                     rel2.relative: 1.0 1.0;
32662                     rel2.offset: -1 -1;
32663                  }
32664                description
32665                  {
32666                     state: "hidden" 0.0;
32667                     inherit: "default" 0.0;
32668                     rel1.relative: 1.0 0.0;
32669                     rel1.offset: -22 0;
32670                     rel2.relative: 2.0 1.0;
32671                     rel2.offset: -23 -1;
32672                  }
32673             }
32674           part
32675             {
32676                name: "base";
32677                type: IMAGE;
32678                mouse_events: 0;
32679                description
32680                  {
32681                     state: "default" 0.0;
32682                     rel1.to: "bg";
32683                     rel1.offset: 20 0;
32684                     rel2.to: "bg";
32685                     image
32686                       {
32687                          normal: "bt_dis_base.png";
32688                          border: 4 4 4 4;
32689                       }
32690                  }
32691             }
32692           part
32693             {
32694                name: "clipper";
32695                type: RECT;
32696                mouse_events: 0;
32697                description
32698                  {
32699                     state: "default" 0.0;
32700                     rel1
32701                       {
32702                          offset: 4 4;
32703                          to: "base";
32704                       }
32705                     rel2
32706                       {
32707                          offset: -5 -5;
32708                          to: "base";
32709                       }
32710                  }
32711             }
32712           part
32713             {
32714                name: "elm.swallow.content";
32715                type: SWALLOW;
32716                clip_to: "clipper";
32717                description
32718                  {
32719                     state: "default" 0.0;
32720                     rel1.to: "clipper";
32721                     rel2.to: "clipper";
32722                  }
32723             }
32724           part
32725             {
32726                name: "btn";
32727                type: IMAGE;
32728                mouse_events: 1;
32729                description
32730                  {
32731                     state: "default" 0.0;
32732                     max: 32 48;
32733                     fixed: 1 1;
32734                     align: 1 0.5;
32735                     rel1
32736                       {
32737                          to_x: "bg";
32738                       }
32739                     rel2
32740                       {
32741                          offset: 2 0;
32742                          relative: 0.0 1;
32743                          to_x: "base";
32744                       }
32745                     image
32746                       {
32747                          normal: "bt_base1.png";
32748                          border: 5 0 4 12;
32749                       }
32750                     fill.smooth: 0;
32751                  }
32752                description
32753                  {
32754                     state: "clicked" 0.0;
32755                     inherit: "default" 0.0;
32756                  }
32757             }
32758           part
32759             {
32760                name: "btn_over";
32761                type: IMAGE;
32762                mouse_events: 0;
32763                description
32764                  {
32765                     state: "default" 0.0;
32766                     rel1.to: "btn";
32767                     rel2
32768                       {
32769                          relative: 1.0 0.5;
32770                          to: "btn";
32771                       }
32772                     image
32773                       {
32774                          normal: "bt_hilight.png";
32775                          border: 7 0 7 0;
32776                       }
32777                  }
32778             }
32779           part
32780             {
32781                name: "btn_over2";
32782                type: IMAGE;
32783                mouse_events: 1;
32784                repeat_events: 1;
32785                ignore_flags: ON_HOLD;
32786                description
32787                  {
32788                     state: "default" 0.0;
32789                     rel1.to: "btn";
32790                     rel2.to: "btn";
32791                     image
32792                       {
32793                          normal: "bt_shine.png";
32794                          border: 7 0 7 7;
32795                     }
32796                  }
32797             }
32798           part
32799             {
32800                name: "btn_over3";
32801                type: IMAGE;
32802                mouse_events: 1;
32803                repeat_events: 1;
32804                description
32805                  {
32806                     state: "default" 0.0;
32807                     color: 255 255 255 0;
32808                     rel1.to: "btn";
32809                     rel2.to: "btn";
32810                     image
32811                       {
32812                        normal: "bt_glow.png";
32813                        border: 12 12 12 12;
32814                     }
32815                   fill.smooth: 0;
32816                }
32817              description
32818                {
32819                   state: "clicked" 0.0;
32820                   inherit: "default" 0.0;
32821                   visible: 1;
32822                   color: 255 255 255 255;
32823                }
32824             }
32825           part
32826             {
32827                name: "btn_icon";
32828                type: IMAGE;
32829                repeat_events: 1;
32830                description
32831                  {
32832                     state: "default" 0.0;
32833                     rel1.to: "btn";
32834                     rel2.to: "btn";
32835                     align: 0.5 0.5;
32836                     min: 16 16;
32837                     max: 16 16;
32838                     image.normal: "icon_arrow_right.png";
32839                  }
32840                description
32841                  {
32842                     state: "hidden" 0.0;
32843                     inherit: "default" 0.0;
32844                     image.normal: "icon_arrow_left.png";
32845                  }
32846             }
32847        }
32848      programs
32849        {
32850           program
32851             {
32852                name: "show";
32853                signal: "elm,action,show";
32854                source: "elm";
32855                action: STATE_SET "default" 0.0;
32856                target: "bg";
32857                target: "btn_icon";
32858                transition: LINEAR 0.5;
32859             }
32860           program
32861             {
32862                name: "hide";
32863                signal: "elm,action,hide";
32864                source: "elm";
32865                action: STATE_SET "hidden" 0.0;
32866                target: "bg";
32867                target: "btn_icon";
32868                transition: LINEAR 0.5;
32869             }
32870           program
32871             {
32872                name: "btn_click";
32873                signal: "mouse,down,1";
32874                source: "btn_over2";
32875                action: STATE_SET "clicked" 0.0;
32876                target: "btn";
32877             }
32878           program
32879             {
32880                name: "btn_unclick";
32881                signal: "mouse,up,1";
32882                source: "btn_over2";
32883                action: STATE_SET "default" 0.0;
32884                target: "btn";
32885             }
32886           program
32887             {
32888                name: "btn_click2";
32889                signal: "mouse,down,1";
32890                source: "btn_over3";
32891                action: STATE_SET "clicked" 0.0;
32892                target: "btn_over3";
32893             }
32894           program
32895             {
32896                name: "btn_unclick2";
32897                signal: "mouse,up,1";
32898                source: "btn_over3";
32899                action: STATE_SET "default" 0.0;
32900                transition: DECELERATE 0.5;
32901                target: "btn_over3";
32902             }
32903           program
32904             {
32905                name: "btn_unclick3";
32906                signal: "mouse,up,1";
32907                source: "btn_over2";
32908                action: SIGNAL_EMIT "elm,action,panel,toggle" "";
32909             }
32910          program { name: "highlight_show";
32911             signal: "elm,action,focus";
32912             source: "elm";
32913             action: STATE_SET "enabled" 0.0;
32914             transition: ACCELERATE 0.3;
32915             target: "focus_highlight";
32916          }
32917          program { name: "highlight_hide";
32918             signal: "elm,action,unfocus";
32919             source: "elm";
32920             action: STATE_SET "default" 0.0;
32921             transition: DECELERATE 0.3;
32922             target: "focus_highlight";
32923          }
32924        }
32925   }
32926
32927 ///////////////////////////////////////////////////////////////////////////////
32928   group { name: "elm/conformant/base/default";
32929      parts {
32930         part { name: "elm.swallow.shelf";
32931            type: SWALLOW;
32932            description { state: "default" 0.0;
32933               fixed: 1 1;
32934               align: 0.0 0.0;
32935               rel2.relative: 1.0 0.0;
32936            }
32937         }
32938         part { name: "elm.swallow.content";
32939            type: SWALLOW;
32940            description { state: "default" 0.0;
32941               align: 0.5 0.5;
32942               rel1.relative: 0.0 1.0;
32943               rel1.to_y: "elm.swallow.shelf";
32944               rel2.relative: 1.0 0.0;
32945               rel2.to_y: "elm.swallow.panel";
32946            }
32947         }
32948         part { name: "elm.swallow.panel";
32949            type: SWALLOW;
32950            description { state: "default" 0.0;
32951               fixed: 1 1;
32952               align: 0.0 1.0;
32953               rel1.relative: 0.0 1.0;
32954            }
32955         }
32956      }
32957   }
32958
32959 /////////////////////////////////////////////////////////////////////////////
32960 // CALENDAR
32961 /////////////////////////////////////////////////////////////////////////////
32962 #define CH(_pos) \
32963          part { name: "ch_"#_pos".base"; \
32964             type: RECT; \
32965             description { state: "default" 0.0; \
32966                rel1 { \
32967                   relative: (_pos % 7 * 7 / 8 / 6) 0; \
32968                   to: "header"; \
32969                } \
32970                rel2 { \
32971                   relative: (_pos % 7 * 7 / 8 / 6 + 1 / 8) 1; \
32972                   to: "header"; \
32973                } \
32974                color: 0 0 0 0; \
32975                visible: 0; \
32976             } \
32977          } \
32978          part { name: "ch_"#_pos".text"; \
32979             type: TEXT; \
32980             effect: SOFT_SHADOW; \
32981             mouse_events: 0; \
32982             scale: 1; \
32983             clip_to: "ch_"#_pos".clipper"; \
32984             description { \
32985                state: "default" 0.0; \
32986                rel1.to: "ch_"#_pos".base"; \
32987                rel2.to: "ch_"#_pos".base"; \
32988                color: 0 0 0 255; \
32989                color3: 0 0 0 0; \
32990                text { \
32991                   font: "Sans"; \
32992                   size: 10; \
32993                   min: 1 1; \
32994                   align: 0.5 0.5; \
32995                } \
32996             } \
32997          } \
32998          part { name: "ch_"#_pos".clipper"; \
32999             type: RECT; \
33000             description { state: "default" 0.0; \
33001                rel1.to: "ch_"#_pos".base"; \
33002                rel2.to: "ch_"#_pos".base"; \
33003             } \
33004          }
33005
33006 #define CIT(_pos) \
33007          part { name: "cit_"#_pos".rect"; \
33008             type: RECT; \
33009             description { state: "default" 0.0; \
33010                rel1 { \
33011                   relative: (_pos % 7 * 7 / 8 / 6) \
33012                             (_pos / 8 / 5 - _pos % 7 / 8 / 5); \
33013                   to: "base"; \
33014                } \
33015                rel2 { \
33016                   relative: (_pos % 7 * 7 / 8 / 6 + 1 / 8) \
33017                             (_pos / 8 / 5 - _pos % 7 / 8 / 5 + 1 / 8); \
33018                   to: "base"; \
33019                } \
33020                color: 0 0 0 0; \
33021                visible: 0; \
33022             } \
33023          } \
33024          part { \
33025             name: "cit_"#_pos".event"; \
33026             type: RECT; \
33027             repeat_events: 1; \
33028             description { \
33029                rel1.to: "cit_"#_pos".rect"; \
33030                rel2.to: "cit_"#_pos".rect"; \
33031                state: "default" 0.0; \
33032                color: 0 0 0 0; \
33033             } \
33034          } \
33035          part { name: "cit_"#_pos".shelf"; \
33036             type: RECT; \
33037             mouse_events: 0; \
33038             description { state: "default" 0.0; \
33039                rel1 { \
33040                   to: "cit_"#_pos".bg"; \
33041                   offset: -1 -1; \
33042                } \
33043                rel2 { \
33044                   to: "cit_"#_pos".bg"; \
33045                } \
33046                color: 200 200 200 255; \
33047             } \
33048          } \
33049          part { name: "cit_"#_pos".hd"; \
33050             type: RECT; \
33051             mouse_events: 0; \
33052             description { state: "default" 0.0; \
33053                rel1 { \
33054                   to: "cit_"#_pos".bg"; \
33055                   offset: -1 -1; \
33056                } \
33057                rel2 { \
33058                   to: "cit_"#_pos".bg"; \
33059                } \
33060                visible: 0; \
33061                color: 160 0 0 255; \
33062             } \
33063             description { state: "visible" 0.0; \
33064                inherit: "default" 0.0; \
33065                visible: 1; \
33066             } \
33067          } \
33068          part { \
33069             name: "cit_"#_pos".base_sh"; \
33070             mouse_events: 0; \
33071             description { \
33072                state: "default" 0.0; \
33073                align: 0.0 0.0; \
33074                min: 0 1; \
33075                rel1 { \
33076                   to: "cit_"#_pos".base"; \
33077                   relative: 0.0 1.0; \
33078                   offset: 0 0; \
33079                } \
33080                rel2 { \
33081                   to: "cit_"#_pos".base"; \
33082                   relative: 1.0 1.05; \
33083                   offset: -1 0; \
33084                } \
33085                image { \
33086                   normal: "ilist_item_shadow.png"; \
33087                } \
33088                fill.smooth: 0; \
33089             } \
33090          } \
33091          part { \
33092             name: "cit_"#_pos".base"; \
33093             mouse_events: 0; \
33094             description { \
33095                state: "default" 0.0; \
33096                rel1.to: "cit_"#_pos".rect"; \
33097                rel2.to: "cit_"#_pos".rect"; \
33098                rel2.offset: -1 -1; \
33099                image { \
33100                   normal: "ilist_1.png"; \
33101                   border: 2 2 2 2; \
33102                } \
33103                fill.smooth: 0; \
33104             } \
33105             description { \
33106                state: "today" 0.0; \
33107                inherit: "default" 0.0; \
33108                image.normal: "ilist_2.png"; \
33109                color: 240 240 240 255; \
33110             } \
33111          } \
33112          part { name: "cit_"#_pos".bg"; \
33113             mouse_events: 0; \
33114             description { state: "default" 0.0; \
33115                visible: 0; \
33116                color: 255 255 255 0; \
33117                rel1 { \
33118                   to: "cit_"#_pos".rect"; \
33119                   relative: 0.0 0.0; \
33120                } \
33121                rel2 { \
33122                   to: "cit_"#_pos".rect"; \
33123                   relative: 1.0 1.0; \
33124                   offset: -1 -1; \
33125                } \
33126                image { \
33127                   normal: "bt_sm_base1.png"; \
33128                   border: 6 6 6 6; \
33129                } \
33130                image.middle: SOLID; \
33131             } \
33132             description { state: "selected" 0.0; \
33133                inherit: "default" 0.0; \
33134                visible: 1; \
33135                color: 255 255 255 255; \
33136             } \
33137          } \
33138          part { name: "cit_"#_pos".text"; \
33139             type: TEXT; \
33140             effect: SOFT_SHADOW; \
33141             mouse_events: 0; \
33142             scale: 1; \
33143             description { \
33144                state: "default" 0.0; \
33145                rel1.to: "cit_"#_pos".bg"; \
33146                rel2.to: "cit_"#_pos".bg"; \
33147                color: 0 0 0 255; \
33148                color3: 0 0 0 0; \
33149                text { \
33150                   font: "Sans"; \
33151                   size: 10; \
33152                   min: 1 1; \
33153                   align: 0.5 0.5; \
33154                } \
33155             } \
33156             description { state: "selected" 0.0; \
33157                inherit: "default" 0.0; \
33158                color: 224 224 224 255; \
33159                color3: 0 0 0 64; \
33160             } \
33161          } \
33162          part { name: "cit_"#_pos".fg1"; \
33163             mouse_events: 0; \
33164             description { state: "default" 0.0; \
33165                visible: 0; \
33166                color: 255 255 255 0; \
33167                rel1.to: "cit_"#_pos".bg"; \
33168                rel2.relative: 1.0 0.5; \
33169                rel2.to: "cit_"#_pos".bg"; \
33170                image { \
33171                   normal: "bt_sm_hilight.png"; \
33172                   border: 6 6 6 0; \
33173                } \
33174             } \
33175             description { state: "selected" 0.0; \
33176                inherit: "default" 0.0; \
33177                visible: 1; \
33178                color: 255 255 255 255; \
33179             } \
33180          } \
33181          part { name: "cit_"#_pos".fg2"; \
33182             mouse_events: 0; \
33183             description { state: "default" 0.0; \
33184                visible: 0; \
33185                color: 255 255 255 0; \
33186                rel1.to: "cit_"#_pos".bg"; \
33187                rel2.to: "cit_"#_pos".bg"; \
33188                image { \
33189                   normal: "bt_sm_shine.png"; \
33190                   border: 6 6 6 0; \
33191                } \
33192             } \
33193             description { state: "selected" 0.0; \
33194                inherit: "default" 0.0; \
33195                visible: 1; \
33196                color: 255 255 255 255; \
33197             } \
33198          } \
33199          part { name: "cit_"#_pos".check"; \
33200             mouse_events: 0; \
33201             description { state: "default" 0.0; \
33202                rel1 { \
33203                   to: "cit_"#_pos".bg"; \
33204                   relative: 0.7 0.6; \
33205                   offset: 1 1; \
33206                } \
33207                rel2 { \
33208                   to: "cit_"#_pos".bg"; \
33209                   relative: 1.1 1.2; \
33210                   offset: -2 -2; \
33211                } \
33212                aspect: 1 1; \
33213                visible: 0; \
33214                color: 255 0 0 255; \
33215                image.normal: "check.png"; \
33216             } \
33217             description { state: "visible" 0.0; \
33218                inherit: "default" 0.0; \
33219                visible: 1; \
33220             } \
33221          } \
33222       programs { \
33223          program { \
33224             name:    "cit_"#_pos".go_active"; \
33225             signal:  "cit_"#_pos",selected"; \
33226             source:  "elm"; \
33227             action:  STATE_SET "selected" 0.0; \
33228             target:  "cit_"#_pos".bg"; \
33229             target:  "cit_"#_pos".fg1"; \
33230             target:  "cit_"#_pos".fg2"; \
33231             target:  "cit_"#_pos".text"; \
33232          } \
33233          program { \
33234             name:    "cit_"#_pos".go_passive"; \
33235             signal:  "cit_"#_pos",unselected"; \
33236             source:  "elm"; \
33237             action:  STATE_SET "default" 0.0; \
33238             target:  "cit_"#_pos".bg"; \
33239             target:  "cit_"#_pos".fg1"; \
33240             target:  "cit_"#_pos".fg2"; \
33241             target:  "cit_"#_pos".text"; \
33242          } \
33243          program { \
33244             name:    "cit_"#_pos".is_today"; \
33245             signal:  "cit_"#_pos",today"; \
33246             source:  "elm"; \
33247             action:  STATE_SET "today" 0.0; \
33248             target: "cit_"#_pos".base"; \
33249          } \
33250          program { \
33251             name:    "cit_"#_pos".not_today"; \
33252             signal:  "cit_"#_pos",not_today"; \
33253             source:  "elm"; \
33254             action:  STATE_SET "default" 0.0; \
33255             target: "cit_"#_pos".base"; \
33256          } \
33257          program { \
33258             source: "cit_"#_pos".clicked"; \
33259             signal: "mouse,clicked,1"; \
33260             source: "cit_"#_pos".event"; \
33261             action: SIGNAL_EMIT "elm,action,selected" #_pos; \
33262          } \
33263          program { \
33264             name:    "cit_"#_pos".clear"; \
33265             signal:  "cit_"#_pos",clear"; \
33266             source:  "elm"; \
33267             action:  STATE_SET "default" 0.0; \
33268             target: "cit_"#_pos".check"; \
33269             target: "cit_"#_pos".hd"; \
33270          } \
33271          program { \
33272             name:    "cit_"#_pos".checked"; \
33273             signal:  "cit_"#_pos",checked"; \
33274             source:  "elm"; \
33275             action:  STATE_SET "visible" 0.0; \
33276             target: "cit_"#_pos".check"; \
33277          } \
33278          program { \
33279             name:    "cit_"#_pos".holiday"; \
33280             signal:  "cit_"#_pos",holiday"; \
33281             source:  "elm"; \
33282             action:  STATE_SET "visible" 0.0; \
33283             target: "cit_"#_pos".hd"; \
33284          } \
33285       }
33286
33287    group { name: "elm/calendar/base/default";
33288        images {
33289            image: "shelf_inset.png" COMP;
33290            image: "bt_base1.png" COMP;
33291            image: "bt_hilight.png" COMP;
33292            image: "bt_shine.png" COMP;
33293            image: "bt_glow.png" COMP;
33294            image: "bt_dis_base.png" COMP;
33295            image: "bt_dis_hilight.png" COMP;
33296            image: "sp_bt_l.png" COMP;
33297            image: "sp_bt_r.png" COMP;
33298            image: "bt_sm_base1.png" COMP;
33299            image: "bt_sm_shine.png" COMP;
33300            image: "bt_sm_hilight.png" COMP;
33301            image: "ilist_1.png" COMP;
33302            image: "ilist_2.png" COMP;
33303            image: "ilist_item_shadow.png" COMP;
33304            image: "check.png" COMP;
33305        }
33306        parts {
33307            part { name: "bg";
33308                type: RECT;
33309                description { state: "default" 0.0;
33310                    min: 0 30;
33311                    rel1.offset: 1 1;
33312                    rel2.offset: -2 -2;
33313                    color: 255 255 255 0;
33314                    align: 0.0 0.5;
33315                }
33316            }
33317            part { name: "spinner-base";
33318                type: RECT;
33319                mouse_events: 0;
33320                description { state: "default" 0.0;
33321                    min: 24 24;
33322                    max: 999999 24;
33323                    rel1.to: "bg";
33324                    rel1.offset: 6 6;
33325                    rel2.to: "bg";
33326                    rel2.offset: -7 -7;
33327                    color: 255 255 255 0;
33328                    align: 0.0 0.0;
33329                }
33330            }
33331            part { name: "conf_over_spinner";
33332                mouse_events:  0;
33333                description { state: "default" 0.0;
33334                    rel1.to: "spinner-base";
33335                    rel1.offset: -3 -3;
33336                    rel2.to: "spinner-base";
33337                    rel2.offset: 2 2;
33338                    image {
33339                        normal: "shelf_inset.png";
33340                        border: 7 7 7 7;
33341                        middle: 0;
33342                    }
33343                    fill.smooth : 0;
33344                }
33345            }
33346            part { name: "table-base";
33347                type: RECT;
33348                mouse_events: 0;
33349                description { state: "default" 0.0;
33350                    min: 256 220;
33351                    rel1.to_x: "bg";
33352                    rel1.to_y: "spinner-base";
33353                    rel1.offset: 6 6;
33354                    rel1.relative: 0 1;
33355                    rel2.to: "bg";
33356                    rel2.offset: -7 -7;
33357                    color: 255 255 255 0;
33358                }
33359            }
33360            part { name: "conf_over_table";
33361                mouse_events:  0;
33362                description { state: "default" 0.0;
33363                    rel1.to: "table-base";
33364                    rel1.offset: -3 -3;
33365                    rel2.to: "table-base";
33366                    rel2.offset: 2 2;
33367                    image {
33368                        normal: "shelf_inset.png";
33369                        border: 7 7 7 7;
33370                        middle: 0;
33371                    }
33372                    fill.smooth : 0;
33373                }
33374            }
33375            part { name: "header";
33376                type: RECT;
33377                mouse_events: 0;
33378                description { state: "default" 0.0;
33379                    rel1.to: "table-base";
33380                    rel1.relative: 0 0;
33381                    rel2.to: "table-base";
33382                    rel2.relative: 1 0.1;
33383                    color: 255 255 255 0;
33384                }
33385            }
33386            part { name: "base";
33387                type: RECT;
33388                mouse_events: 0;
33389                description { state: "default" 0.0;
33390                    rel1.to_x: "table-base";
33391                    rel1.to_y: "header";
33392                    rel1.relative: 0 1;
33393                    rel1.offset: 3 0;
33394                    rel2.to: "table-base";
33395                    rel2.offset: -3 0;
33396                    color: 255 255 255 0;
33397                }
33398            }
33399            part { name: "left_bt";
33400                mouse_events:  1;
33401                description { state: "default" 0.0;
33402                    rel1 { to: "spinner-base";
33403                        offset: 2 2;
33404                    }
33405                    rel2 { to: "spinner-base";
33406                        offset: -3 -3;
33407                    }
33408                    align: 0.0 0.5;
33409                    min: 24 24;
33410                    max: 24 24;
33411                    fixed: 1 1;
33412                    image {
33413                        normal: "bt_base1.png";
33414                        border: 6 6 6 6;
33415                    }
33416                    fill.smooth : 0;
33417                }
33418                description { state: "clicked" 0.0;
33419                    inherit: "default" 0.0;
33420                    image.normal: "bt_base1.png";
33421                    image.middle: SOLID;
33422                }
33423            }
33424            part { name: "left_over1";
33425                mouse_events: 0;
33426                description { state: "default" 0.0;
33427                    rel1.to: "left_bt";
33428                    rel2 { to: "left_bt";
33429                        relative: 1.0 0.5;
33430                    }
33431                    image {
33432                        normal: "bt_hilight.png";
33433                        border: 7 7 7 0;
33434                    }
33435                }
33436            }
33437            part { name: "left_over2";
33438                mouse_events: 1;
33439                repeat_events: 1;
33440                description { state: "default" 0.0;
33441                    rel1.to: "left_bt";
33442                    rel2.to: "left_bt";
33443                    image {
33444                        normal: "bt_shine.png";
33445                        border: 7 7 7 7;
33446                    }
33447                }
33448            }
33449            part { name: "left_over3";
33450                mouse_events: 1;
33451                repeat_events: 1;
33452                description { state: "default" 0.0;
33453                    color: 255 255 255 0;
33454                    rel1.to: "left_bt";
33455                    rel2.to: "left_bt";
33456                    image {
33457                        normal: "bt_glow.png";
33458                        border: 12 12 12 12;
33459                    }
33460                    fill.smooth : 0;
33461                }
33462                description { state: "clicked" 0.0;
33463                    inherit:  "default" 0.0;
33464                    visible: 1;
33465                    color: 255 255 255 255;
33466                }
33467            }
33468            part { name: "right_bt";
33469                mouse_events:  1;
33470                description { state: "default" 0.0;
33471                    rel1 { to: "spinner-base";
33472                        offset: -27 3;
33473                    }
33474                    rel2 { to: "spinner-base";
33475                        offset: -3 -3;
33476                    }
33477                    align: 1.0 0.5;
33478                    min: 24 24;
33479                    max: 24 24;
33480                    fixed: 1 1;
33481                    image {
33482                        normal: "bt_base1.png";
33483                        border: 5 5 4 12;
33484                    }
33485                    fill.smooth : 0;
33486                }
33487                description { state: "clicked" 0.0;
33488                    inherit: "default" 0.0;
33489                    image.normal: "bt_base1.png";
33490                    image.middle: SOLID;
33491                }
33492            }
33493            part { name: "right_over1";
33494                mouse_events: 0;
33495                description { state: "default" 0.0;
33496                    rel1.to: "right_bt";
33497                    rel2 { to: "right_bt";
33498                        relative: 1.0 0.5;
33499                    }
33500                    image {
33501                        normal: "bt_hilight.png";
33502                        border: 7 7 7 0;
33503                    }
33504                }
33505            }
33506            part { name: "right_over2";
33507                mouse_events: 1;
33508                repeat_events: 1;
33509                description { state: "default" 0.0;
33510                    rel1.to: "right_bt";
33511                    rel2.to: "right_bt";
33512                    image {
33513                        normal: "bt_shine.png";
33514                        border: 7 7 7 7;
33515                    }
33516                }
33517            }
33518            part { name: "right_over3";
33519                mouse_events: 1;
33520                repeat_events: 1;
33521                description { state: "default" 0.0;
33522                    color: 255 255 255 0;
33523                    rel1.to: "right_bt";
33524                    rel2.to: "right_bt";
33525                    image {
33526                        normal: "bt_glow.png";
33527                        border: 12 12 12 12;
33528                    }
33529                    fill.smooth : 0;
33530                }
33531                description { state: "clicked" 0.0;
33532                    inherit:  "default" 0.0;
33533                    visible: 1;
33534                    color: 255 255 255 255;
33535                }
33536            }
33537            part { name: "left_bt_icon";
33538                repeat_events: 1;
33539                description { state: "default" 0.0;
33540                    rel1.to: "left_bt";
33541                    rel2.to: "left_bt";
33542                    align: 0.5 0.5;
33543                    min: 16 16;
33544                    max: 16 16;
33545                    image.normal: "sp_bt_l.png";
33546                }
33547            }
33548            part { name: "right_bt_icon";
33549                repeat_events: 1;
33550                description { state: "default" 0.0;
33551                    rel1.to: "right_bt";
33552                    rel2.to: "right_bt";
33553                    align: 0.5 0.5;
33554                    min: 16 16;
33555                    max: 16 16;
33556                    image.normal: "sp_bt_r.png";
33557                }
33558            }
33559            part { name: "month_text";
33560                type: TEXT;
33561                mouse_events: 0;
33562                scale: 1;
33563                description { state: "default" 0.0;
33564                    align: 0 0.5;
33565                    fixed: 1 1;
33566                    rel1 { relative: 1.0 0.0;
33567                        offset: 3 2;
33568                        to: "left_bt";
33569                        to_y: "spinner-base";
33570                    }
33571                    rel2 { relative: 0.0 1.0;
33572                        offset: -3 -2;
33573                        to_x: "right_bt";
33574                        to_y: "spinner-base";
33575                    }
33576                    color: 0 0 0 255;
33577                    text {
33578                        font: "Sans,Edje-Vera";
33579                        size: 12;
33580                        min: 1 1;
33581                        align: 0.5 0.5;
33582                    }
33583                }
33584            }
33585            CH(0)   CH(1)   CH(2)   CH(3)   CH(4)   CH(5)   CH(6)
33586            CIT(0)  CIT(1)  CIT(2)  CIT(3)  CIT(4)  CIT(5)  CIT(6)
33587            CIT(7)  CIT(8)  CIT(9)  CIT(10) CIT(11) CIT(12) CIT(13)
33588            CIT(14) CIT(15) CIT(16) CIT(17) CIT(18) CIT(19) CIT(20)
33589            CIT(21) CIT(22) CIT(23) CIT(24) CIT(25) CIT(26) CIT(27)
33590            CIT(28) CIT(29) CIT(30) CIT(31) CIT(32) CIT(33) CIT(34)
33591            CIT(35) CIT(36) CIT(37) CIT(38) CIT(39) CIT(40) CIT(41)
33592        }
33593        programs {
33594            program { name: "dec_start";
33595                signal: "mouse,down,1";
33596                source: "left_bt";
33597                action: SIGNAL_EMIT "elm,action,decrement,start" "";
33598            }
33599            program { name: "dec_stop";
33600                signal: "mouse,up,1";
33601                source: "left_bt";
33602                action: SIGNAL_EMIT "elm,action,stop" "";
33603            }
33604            program { name: "inc_start";
33605                signal: "mouse,down,1";
33606                source: "right_bt";
33607                action: SIGNAL_EMIT "elm,action,increment,start" "";
33608            }
33609            program { name: "inc_stop";
33610                signal: "mouse,up,1";
33611                source: "right_bt";
33612                action: SIGNAL_EMIT "elm,action,stop" "";
33613            }
33614            program {
33615                name:   "left_bt_click";
33616                signal: "mouse,down,1";
33617                source: "left_over2";
33618                action: STATE_SET "clicked" 0.0;
33619                target: "left_bt";
33620            }
33621            program {
33622                name:   "left_bt_unclick";
33623                signal: "mouse,up,1";
33624                source: "left_over2";
33625                action: STATE_SET "default" 0.0;
33626                target: "left_bt";
33627            }
33628            program {
33629                name:   "left_bt_click2";
33630                signal: "mouse,down,1";
33631                source: "left_over3";
33632                action: STATE_SET "clicked" 0.0;
33633                target: "left_over3";
33634            }
33635            program {
33636                name:   "left_bt_unclick2";
33637                signal: "mouse,up,1";
33638                source: "left_over3";
33639                action: STATE_SET "default" 0.0;
33640                transition: DECELERATE 0.5;
33641                target: "left_over3";
33642            }
33643            program {
33644                name:   "right_bt_click";
33645                signal: "mouse,down,1";
33646                source: "right_over2";
33647                action: STATE_SET "clicked" 0.0;
33648                target: "right_bt";
33649            }
33650            program {
33651                name:   "right_bt_unclick";
33652                signal: "mouse,up,1";
33653                source: "right_over2";
33654                action: STATE_SET "default" 0.0;
33655                target: "right_bt";
33656            }
33657            program {
33658                name:   "right_bt_click2";
33659                signal: "mouse,down,1";
33660                source: "right_over3";
33661                action: STATE_SET "clicked" 0.0;
33662                target: "right_over3";
33663            }
33664            program {
33665                name:   "right_bt_unclick2";
33666                signal: "mouse,up,1";
33667                source: "right_over3";
33668                action: STATE_SET "default" 0.0;
33669                transition: DECELERATE 0.5;
33670                target: "right_over3";
33671            }
33672        }
33673    }
33674
33675 #undef CIT
33676 #undef CH
33677
33678 ////////////////////////////////////////////////////////////////////////////////
33679 // colorselector
33680 ////////////////////////////////////////////////////////////////////////////////
33681    group { name: "elm/colorselector/bg/default";
33682       parts {
33683          part { name: "elm.colorbar_0";
33684             type: SWALLOW;
33685             mouse_events: 1;
33686             description { state: "default" 0.0;
33687                min: 120 30;
33688                rel1.relative: 0.0 0.00653594771;
33689                rel2.relative: 1.0 0.254901961;
33690             }
33691          }
33692          part { name: "elm.colorbar_1";
33693             type: SWALLOW;
33694             mouse_events: 1;
33695             description { state: "default" 0.0;
33696                min: 120 30;
33697                rel1.relative: 0.0 0.254901961;
33698                rel2.relative: 1.0 0.503267974;
33699             }
33700          }
33701          part { name: "elm.colorbar_2";
33702             type: SWALLOW;
33703             mouse_events: 1;
33704             description { state: "default" 0.0;
33705                min: 120 30;
33706                rel1.relative: 0.0 0.503267974;
33707                rel2.relative: 1.0 0.751633987;
33708             }
33709          }
33710          part { name: "elm.colorbar_3";
33711             type: SWALLOW;
33712             mouse_events: 1;
33713             description { state: "default" 0.0;
33714                min: 120 30;
33715                rel1.relative: 0.0 0.751633987;
33716                rel2.relative: 1.0 1.0;
33717             }
33718          }
33719       }
33720    }
33721
33722    group { name: "elm/colorselector/base/default";
33723       parts {
33724          part { name: "elm.bar_bg";
33725             type: SWALLOW;
33726             mouse_events: 0;
33727             description { state: "default" 0.0;
33728                min: 60 22;
33729                rel1 {
33730                   relative: 0.0 0.8;
33731                   to_x: "elm.arrow_bg";
33732                   to_y: "elm.arrow_icon";
33733                   offset: 0 0;
33734                }
33735                rel2 {
33736                   relative: 1.0 0.83;
33737                   to_x: "elm.arrow_bg";
33738                   offset: 0 0;
33739                }
33740             }
33741          }
33742          part { name: "elm.bar";
33743             type: SWALLOW;
33744             mouse_events: 0;
33745             description { state: "default" 0.0;
33746                rel1.to: "elm.bar_bg";
33747                rel2.to: "elm.bar_bg";
33748             }
33749          }
33750          part { name: "elm.arrow_bg";
33751             type: SWALLOW;
33752             mouse_events: 1;
33753             description { state: "default" 0.0;
33754                rel1 {
33755                   relative: 1.0 0.17;
33756                   offset: 3 0;
33757                   to_x: "elm.l_button";
33758                }
33759                rel2 {
33760                   relative: 0.0 0.83;
33761                      offset: -4 0;
33762                   to_x: "elm.r_button";
33763                }
33764             }
33765          }
33766          part { name: "elm.arrow";
33767             type: RECT;
33768             mouse_events: 1;
33769             scale: 1;
33770             description { state: "default" 0.0;
33771                min: 1 1;
33772                fixed: 1 1;
33773                align: 0 0;
33774                rel1 {
33775                   to_x: "elm.arrow_bg";
33776                }
33777                rel2 {
33778                   relative: 0.0 0.17;
33779                   to_x: "elm.arrow_bg";
33780                }
33781                color: 0 0 0 0;
33782                visible: 0;
33783             }
33784             dragable {
33785                confine: "elm.arrow_bg";
33786                x: 1 1 0;
33787                y: 0 0 0;
33788             }
33789          }
33790          part { name: "elm.arrow_icon";
33791             type: SWALLOW;
33792             mouse_events: 0;
33793             description { state: "default" 0.0;
33794                min: 25 15;
33795                max: 25 15;
33796                fixed: 1 1;
33797                align: 0.5 0;
33798                rel1 {
33799                   to_x: "elm.arrow";
33800                }
33801                rel2 {
33802                   relative: 1.0 0.0;
33803                   offset: 0 10;
33804                   to_x: "elm.arrow";
33805                }
33806             }
33807          }
33808          part { name: "event";
33809             type: RECT;
33810             mouse_events: 1;
33811             description { state: "default" 0.0;
33812                rel1 {
33813                   to: "elm.arrow_icon";
33814                }
33815                rel2 {
33816                   to_x: "elm.arrow_icon";
33817                   to_y: "elm.arrow_bg";
33818                   offset: 0 0;
33819                }
33820                color: 0 0 0 0;
33821             }
33822             dragable {
33823                events: "elm.arrow";
33824             }
33825          }
33826          part { name: "elm.l_button";
33827             type: SWALLOW;
33828             mouse_events: 1;
33829             scale: 1;
33830             description { state: "default" 0.0;
33831                min: 24 24;
33832                fixed: 1 1;
33833                rel1 {
33834                   relative: 0.0 0.0;
33835                   to_y: "elm.bar_bg";
33836                }
33837                rel2 {
33838                   relative: 0.0 1.0;
33839                   to_y: "elm.bar_bg";
33840                }
33841                align: 0.0 0.5;
33842             }
33843          }
33844          part { name: "elm.r_button";
33845             type: SWALLOW;
33846             mouse_events: 1;
33847             scale: 1;
33848             description {
33849                state: "default" 0.0;
33850                min: 24 24;
33851                fixed: 1 1;
33852                rel1 {
33853                   relative: 1.0 0.0;
33854                   to_y: "elm.bar_bg";
33855                }
33856                rel2 {
33857                   relative: 1.0 1.0;
33858                   to_y: "elm.bar_bg";
33859                }
33860                align: 1.0 0.5;
33861             }
33862          }
33863       }
33864    }
33865
33866    group{ name: "elm/colorselector/image/colorbar_0";
33867       images {
33868          image: "color_picker_color.png" COMP;
33869       }
33870       parts {
33871          part { name: "colorbar_0_image";
33872             type: IMAGE;
33873             mouse_events: 1;
33874             description { state: "default" 0.0;
33875                rel2.offset: -1 -1;
33876                image.normal: "color_picker_color.png";
33877             }
33878          }
33879       }
33880    }
33881
33882    group { name: "elm/colorselector/image/colorbar_1";
33883       images {
33884          image: "color_picker_opacity.png" COMP;
33885       }
33886       parts {
33887          part { name: "colorbar_1_image";
33888             type: IMAGE;
33889             mouse_events: 1;
33890             description { state: "default" 0.0;
33891                rel2.offset: -1 -1;
33892                image.normal: "color_picker_opacity.png";
33893             }
33894          }
33895       }
33896    }
33897
33898    group { name: "elm/colorselector/image/colorbar_2";
33899       images {
33900          image: "color_picker_brightness.png" COMP;
33901       }
33902       parts {
33903          part { name: "colorbar_2_image";
33904             type: IMAGE;
33905             mouse_events: 1;
33906             description { state: "default" 0.0;
33907                rel2.offset: -1 -1;
33908                image.normal: "color_picker_brightness.png";
33909             }
33910          }
33911       }
33912    }
33913
33914    group { name: "elm/colorselector/image/colorbar_3";
33915       images {
33916          image: "color_picker_alpha.png" COMP;
33917       }
33918       parts {
33919          part { name: "colorbar_3_image";
33920             type: IMAGE;
33921             mouse_events: 1;
33922             description { state: "default" 0.0;
33923                rel2.offset: -1 -1;
33924                image.normal: "color_picker_alpha.png";
33925             }
33926          }
33927       }
33928    }
33929
33930    group { name: "elm/colorselector/bg_image/colorbar_3";
33931       images {
33932          image: "color_picker_alpha_bg.png" COMP;
33933       }
33934       parts {
33935          part { name: "colorbar_3_image";
33936             type: IMAGE;
33937             mouse_events: 1;
33938             description { state: "default" 0.0;
33939                rel2.offset: -1 -1;
33940                image.normal: "color_picker_alpha_bg.png";
33941             }
33942          }
33943       }
33944    }
33945
33946    group { name: "elm/colorselector/image/updown";
33947       images {
33948          image: "icon_arrow_down.png" COMP;
33949       }
33950       parts {
33951          part { name: "bg";
33952             type: RECT;
33953             mouse_events: 1;
33954             description { state: "default" 0.0;
33955                color: 0 0 0 0;
33956             }
33957          }
33958          part { name: "arrow_image";
33959             type: IMAGE;
33960             mouse_events: 1;
33961             description { state: "default" 0.0;
33962                image.normal: "icon_arrow_down.png";
33963             }
33964          }
33965       }
33966    }
33967
33968    group { name: "elm/colorselector/button/left";
33969       images {
33970          image: "bt_base1.png" COMP;
33971          image: "bt_shine.png" COMP;
33972          image: "sp_bt_l.png" COMP;
33973       }
33974       parts {
33975          part { name: "button_image";
33976             mouse_events: 1;
33977             description { state: "default" 0.0;
33978                image.normal: "bt_base1.png";
33979                image.border: 6 6 6 6;
33980                image.middle: SOLID;
33981             }
33982
33983             description { state: "clicked" 0.0;
33984                inherit: "default" 0.0;
33985                image.normal: "bt_shine.png";
33986                image.border: 6 6 6 6;
33987                image.middle: SOLID;
33988             }
33989          }
33990          part { name: "btn_over";
33991             type: IMAGE;
33992             mouse_events: 0;
33993             description { state: "default" 0.0;
33994                rel1.to: "button_image";
33995                rel2 {
33996                   relative: 1.0 0.5;
33997                   to: "button_image";
33998                }
33999                image {
34000                   normal: "bt_hilight.png";
34001                   border: 7 7 7 0;
34002                }
34003             }
34004          }
34005          part { name: "btn_over2";
34006             type: IMAGE;
34007             mouse_events: 1;
34008             repeat_events: 1;
34009             ignore_flags: ON_HOLD;
34010             description { state: "default" 0.0;
34011                rel1.to: "button_image";
34012                rel2.to: "button_image";
34013                image {
34014                   normal: "bt_shine.png";
34015                   border: 7 7 7 7;
34016                }
34017             }
34018          }
34019          part { name: "focus_image";
34020             type: IMAGE;
34021             description { state: "default" 0.0;
34022                color: 255 255 255 0;
34023                rel1.to: "button_image";
34024                rel2.to: "button_image";
34025                image {
34026                   normal: "bt_glow.png";
34027                   border: 12 12 12 12;
34028                }
34029                fill.smooth: 0;
34030
34031             }
34032             description { state: "clicked" 0.0;
34033                inherit: "default" 0.0;
34034                visible: 1;
34035                color: 255 255 255 255;
34036             }
34037          }
34038          part { name: "left_arrow";
34039             mouse_events: 1;
34040             description { state: "default" 0.0;
34041                min: 16 16;
34042                max: 16 16;
34043                image.normal: "sp_bt_l.png";
34044             }
34045          }
34046       }
34047
34048       programs {
34049          program {
34050             name:   "button_down";
34051             signal: "elm,state,left,button,down";
34052             source: "left_button";
34053             action: STATE_SET "clicked" 0.0;
34054             target: "button_image";
34055             target: "focus_image";
34056          }
34057          program {
34058             name:   "button_up";
34059             signal: "elm,state,left,button,up";
34060             source: "left_button";
34061             action: STATE_SET "default" 0.0;
34062             target: "button_image";
34063             target: "focus_image";
34064          }
34065       }
34066    }
34067
34068    group { name: "elm/colorselector/button/right";
34069       images {
34070          image: "bt_base1.png" COMP;
34071          image: "bt_shine.png" COMP;
34072          image: "sp_bt_r.png" COMP;
34073       }
34074       parts {
34075          part { name: "button_image";
34076             mouse_events: 1;
34077             description { state: "default" 0.0;
34078                image.normal: "bt_base1.png";
34079                image.border: 6 6 6 6;
34080                image.middle: SOLID;
34081             }
34082
34083             description { state: "clicked" 0.0;
34084                inherit: "default" 0.0;
34085                image.normal: "bt_shine.png";
34086                image.border: 6 6 6 6;
34087                image.middle: SOLID;
34088             }
34089          }
34090          part { name: "btn_over";
34091             type: IMAGE;
34092             mouse_events: 0;
34093             description { state: "default" 0.0;
34094                rel1.to: "button_image";
34095                rel2 {
34096                   relative: 1.0 0.5;
34097                   to: "button_image";
34098                }
34099                image {
34100                   normal: "bt_hilight.png";
34101                   border: 7 7 7 0;
34102                }
34103             }
34104          }
34105          part { name: "btn_over2";
34106             type: IMAGE;
34107             mouse_events: 1;
34108             repeat_events: 1;
34109             ignore_flags: ON_HOLD;
34110             description { state: "default" 0.0;
34111                rel1.to: "button_image";
34112                rel2.to: "button_image";
34113                image {
34114                   normal: "bt_shine.png";
34115                   border: 7 7 7 7;
34116                }
34117             }
34118          }
34119          part { name: "focus_image";
34120             type: IMAGE;
34121             description { state: "default" 0.0;
34122                color: 255 255 255 0;
34123                rel1.to: "button_image";
34124                rel2.to: "button_image";
34125                image {
34126                   normal: "bt_glow.png";
34127                   border: 12 12 12 12;
34128                }
34129                fill.smooth: 0;
34130
34131             }
34132             description { state: "clicked" 0.0;
34133                inherit: "default" 0.0;
34134                visible: 1;
34135                color: 255 255 255 255;
34136             }
34137          }
34138          part { name: "right_arrow";
34139             mouse_events: 1;
34140             description { state: "default" 0.0;
34141                min: 16 16;
34142                max: 16 16;
34143                image.normal: "sp_bt_r.png";
34144             }
34145          }
34146       }
34147
34148       programs {
34149          program {
34150             name:   "button_down";
34151             signal: "elm,state,right,button,down";
34152             source: "right_button";
34153             action: STATE_SET "clicked" 0.0;
34154             target: "button_image";
34155             target: "focus_image";
34156          }
34157          program {
34158             name:   "button_up";
34159             signal: "elm,state,right,button,up";
34160             source: "right_button";
34161             action: STATE_SET "default" 0.0;
34162             target: "button_image";
34163             target: "focus_image";
34164          }
34165       }
34166    }
34167
34168 ///////////////////////////////////////////////////////////////////////////////
34169 #define FLIP_PICKER_MAX_LEN (50)
34170 #define FLIP_PICKER_MAX_LEN_STR "50"
34171
34172    group { name: "elm/flipselector/base/default";
34173       images {
34174          image: "flip_base.png" COMP;
34175          image: "flip_base_shad.png" COMP;
34176          image: "flip_shad.png" COMP;
34177          image: "arrow_up.png" COMP;
34178          image: "arrow_down.png" COMP;
34179          image: "flip_t.png" COMP;
34180          image: "flip_b.png" COMP;
34181       }
34182
34183       data {
34184          item: "max_len" FLIP_PICKER_MAX_LEN_STR;
34185       }
34186
34187       //FIXME: quick successive clicks on, say, up, lead to nastiness
34188       script {
34189          public cur, prev, next, lock;
34190
34191          public animator_bottom_down(val, Float:pos) {
34192             new tmp[FLIP_PICKER_MAX_LEN];
34193
34194             set_tween_state(PART:"bottom", pos, "shrink", 0.0, "default", 0.0);
34195             set_tween_state(PART:"bottom_sheet", pos, "shrink", 0.0, "default",
34196                             0.0);
34197             set_tween_state(PART:"shadow", pos, "half", 0.0, "full",
34198                             0.0);
34199
34200             if (pos >= 1.0) {
34201                set_state(PART:"shadow", "default", 0.0);
34202                set_int(lock, 0);
34203
34204                fetch_str(next, 0, tmp, FLIP_PICKER_MAX_LEN);
34205                if (strncmp(tmp, "", FLIP_PICKER_MAX_LEN) != 0) {
34206                   replace_str(next, 0, "");
34207                   message(MSG_STRING, 1, tmp);
34208                }
34209             }
34210          }
34211
34212          public animator_top_down(val, Float:pos) {
34213             set_tween_state(PART:"top", pos, "default", 0.0, "shrink", 0.0);
34214             set_tween_state(PART:"top_sheet", pos, "default", 0.0, "shrink",
34215                             0.0);
34216             set_tween_state(PART:"shadow", pos, "default", 0.0, "half",
34217                             0.0);
34218
34219             if (pos >= 1.0)
34220                anim(0.2, "animator_bottom_down", val);
34221          }
34222
34223          public animator_bottom_up(val, Float:pos) {
34224             set_tween_state(PART:"bottom", pos, "default", 0.0, "shrink", 0.0);
34225             set_tween_state(PART:"bottom_sheet", pos, "default", 0.0, "shrink",
34226                             0.0);
34227             set_tween_state(PART:"shadow", pos, "full", 0.0, "half",
34228                             0.0);
34229
34230             if (pos >= 1.0)
34231                anim(0.2, "animator_top_up", val);
34232          }
34233
34234          public animator_top_up(val, Float:pos) {
34235             new tmp[FLIP_PICKER_MAX_LEN];
34236
34237             set_tween_state(PART:"top", pos, "shrink", 0.0, "default", 0.0);
34238             set_tween_state(PART:"top_sheet", pos, "shrink", 0.0, "default",
34239                             0.0);
34240             set_tween_state(PART:"shadow", pos, "half", 0.0, "default",
34241                             0.0);
34242
34243             if (pos >= 1.0) {
34244                set_state(PART:"shadow", "default", 0.0);
34245                set_int(lock, 0);
34246
34247                fetch_str(next, 0, tmp, FLIP_PICKER_MAX_LEN);
34248                if (strncmp(tmp, "", FLIP_PICKER_MAX_LEN) != 0) {
34249                   replace_str(next, 0, "");
34250                   message(MSG_STRING, 2, tmp);
34251                }
34252             }
34253          }
34254
34255          public message(Msg_Type:type, id, ...) {
34256             /* flip down */
34257             if ((type == MSG_STRING) && (id == 1)) {
34258                new value[FLIP_PICKER_MAX_LEN], tmp[FLIP_PICKER_MAX_LEN];
34259
34260                snprintf(value, FLIP_PICKER_MAX_LEN, "%s", getarg(2));
34261
34262                if (get_int(lock) == 1) {
34263                   replace_str(next, 0, value);
34264                   return;
34265                }
34266
34267                fetch_str(cur, 0, tmp, FLIP_PICKER_MAX_LEN);
34268
34269                set_text(PART:"bottom_b", tmp);
34270
34271                set_state(PART:"top", "shrink", 0.0);
34272                set_text(PART:"top", tmp);
34273                set_state(PART:"top", "default", 0.0);
34274                set_text(PART:"top", tmp);
34275
34276                replace_str(prev, 0, tmp);
34277
34278                set_state(PART:"bottom", "default", 0.0);
34279                set_text(PART:"bottom", value);
34280                set_state(PART:"bottom", "shrink", 0.0);
34281                set_text(PART:"bottom", value);
34282
34283                set_text(PART:"top_b", value);
34284
34285                replace_str(cur, 0, value);
34286
34287                set_state(PART:"bottom_sheet", "shrink", 0.0);
34288                set_state(PART:"top_sheet", "default", 0.0);
34289
34290                set_int(lock, 1);
34291                set_state(PART:"shadow", "default", 0.0);
34292                anim(0.2, "animator_top_down", 1);
34293             }
34294
34295             /* flip up */
34296             if ((type == MSG_STRING) && (id == 2)) {
34297                new value[FLIP_PICKER_MAX_LEN], tmp[FLIP_PICKER_MAX_LEN];
34298
34299                snprintf(value, FLIP_PICKER_MAX_LEN, "%s", getarg(2));
34300
34301                if (get_int(lock) == 1) {
34302                   replace_str(next, 0, value);
34303                   return;
34304                }
34305
34306                fetch_str(cur, 0, tmp, FLIP_PICKER_MAX_LEN);
34307
34308                set_text(PART:"top_b", tmp);
34309
34310                set_state(PART:"bottom", "shrink", 0.0);
34311                set_text(PART:"bottom", tmp);
34312                set_state(PART:"bottom", "default", 0.0);
34313                set_text(PART:"bottom", tmp);
34314
34315                replace_str(prev, 0, tmp);
34316
34317                set_state(PART:"top", "default", 0.0);
34318                set_text(PART:"top", value);
34319                set_state(PART:"top", "shrink", 0.0);
34320                set_text(PART:"top", value);
34321
34322                set_text(PART:"bottom_b", value);
34323
34324                replace_str(cur, 0, value);
34325
34326                set_state(PART:"bottom_sheet", "default", 0.0);
34327                set_state(PART:"top_sheet", "shrink", 0.0);
34328
34329                set_int(lock, 1);
34330                set_state(PART:"shadow", "full", 0.0);
34331                anim(0.2, "animator_bottom_up", 1);
34332             }
34333          }
34334       }
34335
34336       parts {
34337          part { name: "shad";
34338             mouse_events: 0;
34339             description { state: "default" 0.0;
34340                rel1.offset: -4 -4;
34341                rel1.to: "base";
34342                rel2.offset: 3 3;
34343                rel2.to: "base";
34344                image {
34345                   normal: "flip_base_shad.png";
34346                   border: 8 8 8 8;
34347                }
34348             }
34349          }
34350
34351          part { name: "base";
34352             scale: 1;
34353             description { state: "default" 0.0;
34354                rel1.offset: 4 4;
34355                rel2.offset: -5 -5;
34356                min: 24 48;
34357                image.normal: "flip_base.png";
34358             }
34359          }
34360
34361          part { name: "b";
34362             type: RECT;
34363             mouse_events: 1;
34364             description { state: "default" 0.0;
34365                rel1.to: "base";
34366                rel1.relative: 0.0 0.5;
34367                rel2.to: "base";
34368                color: 0 0 0 0;
34369             }
34370             description { state: "hidden" 0.0;
34371                inherit: "default" 0.0;
34372                visible: 0;
34373             }
34374          }
34375
34376          part { name: "t";
34377             type: RECT;
34378             mouse_events: 1;
34379             description { state: "default" 0.0;
34380                rel1.to: "base";
34381                rel2.to: "base";
34382                rel2.relative: 1.0 0.5;
34383                color: 0 0 0 0;
34384             }
34385             description { state: "hidden" 0.0;
34386                inherit: "default" 0.0;
34387                visible: 0;
34388             }
34389          }
34390
34391          part { name: "bottom_sheet_static";
34392             mouse_events: 0;
34393             description { state: "default" 0.0;
34394                visible: 1;
34395                rel1.to: "b";
34396                rel2.to: "b";
34397                image.normal: "flip_b.png";
34398             }
34399          }
34400
34401          part { name: "bottom_b";
34402             mouse_events: 0;
34403             clip_to: "bottom_clipper";
34404             type: TEXT;
34405             scale: 1;
34406             description { state: "default" 0.0;
34407                rel1.to: "base";
34408                rel2.to: "base";
34409                color: 0 0 0 255;
34410                color2: 0 0 0 255;
34411                text {
34412                   font: "Sans:style=Bold,Edje-Vera-Bold";
34413                   size: 30;
34414                   min: 1 1;
34415                   align: 0.5 0.5;
34416                }
34417             }
34418          }
34419
34420          part { name: "shadow";
34421             mouse_events: 0;
34422             description { state: "default" 0.0;
34423                rel1.to: "b";
34424                rel2.to: "b";
34425                rel2.relative: 1.0 0.0;
34426                image.normal: "flip_shad.png";
34427             }
34428             description { state: "half" 0.0;
34429                inherit: "default" 0.0;
34430                rel2.relative: 1.0 0.5;
34431             }
34432             description { state: "full" 0.0;
34433                inherit: "default" 0.0;
34434                rel2.relative: 1.0 1.0;
34435             }
34436          }
34437
34438          part { name: "bottom_sheet";
34439             mouse_events: 0;
34440             description { state: "default" 0.0;
34441                visible: 1;
34442                rel1.to: "b";
34443                rel2.to: "b";
34444                image.normal: "flip_b.png";
34445             }
34446             description { state: "shrink" 0.0;
34447                inherit: "default" 0.0;
34448                visible: 0;
34449                rel2.relative: 1.0 0.0;
34450             }
34451          }
34452
34453          part { name: "bottom";
34454             mouse_events: 0;
34455             clip_to: "bottom_clipper";
34456             type: TEXT;
34457             scale: 1;
34458             description { state: "default" 0.0;
34459                rel1.to: "base";
34460                rel2.to: "base";
34461                color: 0 0 0 255;
34462                color2: 0 0 0 255;
34463                text {
34464                   font: "Sans:style=Bold,Edje-Vera-Bold";
34465                   size: 30;
34466                   min: 1 1;
34467                   align: 0.5 0.5;
34468                }
34469             }
34470             description { state: "shrink" 0.0;
34471                inherit: "default" 0.0;
34472                color: 128 128 128 255;
34473                visible: 0;
34474                rel2.relative: 1.0 0.5; /* FIXME: same visual effect? --> MAP! */
34475             }
34476          }
34477
34478          part { name: "top_sheet_static";
34479             mouse_events: 0;
34480             description { state: "default" 0.0;
34481                visible: 1;
34482                rel1.to: "t";
34483                rel2.to: "t";
34484                image.normal: "flip_t.png";
34485             }
34486          }
34487
34488          part { name: "top_b";
34489             mouse_events: 0;
34490             clip_to: "top_clipper";
34491             type: TEXT;
34492             scale: 1;
34493             description { state: "default" 0.0;
34494                rel1.to: "base";
34495                rel2.to: "base";
34496                color: 0 0 0 255;
34497                color2: 0 0 0 255;
34498                text {
34499                   font: "Sans:style=Bold,Edje-Vera-Bold";
34500                   size: 30;
34501                   min: 1 1;
34502                   align: 0.5 0.5;
34503                   source: "top";
34504                }
34505             }
34506          }
34507
34508          part { name: "top_sheet";
34509             mouse_events: 0;
34510             description { state: "default" 0.0;
34511                visible: 1;
34512                rel1.to: "t";
34513                rel2.to: "t";
34514                image.normal: "flip_t.png";
34515             }
34516             description { state: "shrink" 0.0;
34517                inherit: "default" 0.0;
34518                color: 128 128 128 255;
34519                visible: 0;
34520                rel1.relative: 0.0 1.0;
34521             }
34522          }
34523
34524          part { name: "top";
34525             mouse_events: 0;
34526             clip_to: "top_clipper";
34527             type: TEXT;
34528             scale: 1;
34529             description { state: "default" 0.0;
34530                rel1.to: "base";
34531                rel2.to: "base";
34532                color: 0 0 0 255;
34533                color2: 0 0 0 255;
34534                text {
34535                   font: "Sans:style=Bold,Edje-Vera-Bold";
34536                   size: 30;
34537                   min: 1 1;
34538                   align: 0.5 0.5;
34539                }
34540             }
34541             description { state: "shrink" 0.0;
34542                inherit: "default" 0.0;
34543                visible: 0;
34544                rel1.relative: 0.0 0.5;
34545             }
34546          }
34547
34548          part { name: "arrow_top";
34549             mouse_events: 0;
34550             scale: 1;
34551             description { state: "default" 0.0;
34552                min: 15 15;
34553                max: 15 15;
34554                align: 0.5 0.0;
34555                rel1.to: "t";
34556                rel2.to: "t";
34557                image.normal: "arrow_up.png";
34558             }
34559             description { state: "hidden" 0.0;
34560                inherit: "default" 0.0;
34561                visible: 0;
34562             }
34563          }
34564          part { name: "arrow_bottom";
34565             mouse_events: 0;
34566             scale: 1;
34567             description { state: "default" 0.0;
34568                min: 15 15;
34569                max: 15 15;
34570                align: 0.5 1.0;
34571                rel1.to: "b";
34572                rel2.to: "b";
34573                image.normal: "arrow_down.png";
34574             }
34575             description { state: "hidden" 0.0;
34576                inherit: "default" 0.0;
34577                visible: 0;
34578             }
34579          }
34580
34581          part {
34582             type: RECT;
34583             mouse_events: 0;
34584             name: "top_clipper";
34585             description {
34586                state: "default" 0.0;
34587                rel1.to: "t";
34588                rel2.to: "t";
34589                visible: 1;
34590             }
34591          }
34592
34593          part {
34594             type: RECT;
34595             mouse_events: 0;
34596             name: "bottom_clipper";
34597             description {
34598                state: "default" 0.0;
34599                rel1.to: "b";
34600                rel2.to: "b";
34601                visible: 1;
34602             }
34603          }
34604       }
34605
34606       programs {
34607          program { name: "load";
34608             signal: "load";
34609             source: "";
34610             script {
34611                append_str(cur, "");
34612                append_str(prev, "");
34613                append_str(next, "");
34614                set_int(lock, 0);
34615             }
34616          }
34617
34618          program { name: "hide_arrows";
34619             signal: "elm,state,button,hidden";
34620             source: "elm";
34621             action: STATE_SET "hidden" 0.0;
34622             target: "arrow_top";
34623             target: "arrow_bottom";
34624             target: "t";
34625             target: "b";
34626          }
34627
34628          program { name: "show_arrows";
34629             signal: "elm,state,button,visible";
34630             source: "elm";
34631             action: STATE_SET "default" 0.0;
34632             target: "arrow_top";
34633             target: "arrow_bottom";
34634             target: "t";
34635             target: "b";
34636          }
34637
34638          program { name: "up";
34639             signal: "mouse,down,1";
34640             source: "t";
34641             action: SIGNAL_EMIT "elm,action,up,start" "";
34642          }
34643          program { name: "up,stop";
34644             signal: "mouse,up,1";
34645             source: "t";
34646             action: SIGNAL_EMIT "elm,action,up,stop" "";
34647          }
34648          program { name: "down";
34649             signal: "mouse,down,1";
34650             source: "b";
34651             action: SIGNAL_EMIT "elm,action,down,start" "";
34652          }
34653          program { name: "down,stop";
34654             signal: "mouse,up,1";
34655             source: "b";
34656             action: SIGNAL_EMIT "elm,action,down,stop" "";
34657          }
34658       }
34659    }
34660
34661 ////////////////////////////////////////////////////////////////////////////////
34662 // diskselector
34663 ////////////////////////////////////////////////////////////////////////////////
34664    group { name: "elm/diskselector/base/default";
34665       images {
34666          image: "bar_shine.png" COMP;
34667       }
34668
34669       parts {
34670          part { name: "bg";
34671             type: RECT;
34672             mouse_events: 0;
34673             description { state: "default" 0.0;
34674                color: 0 0 0 255;
34675             }
34676          }
34677          part { name: "shine_left";
34678             mouse_events:  0;
34679             description { state: "default" 0.0;
34680                rel1.to: "bg";
34681                rel1.relative: -0.1 0;
34682                rel2.to: "bg";
34683                rel2.relative: 0.1 1;
34684                image.normal: "bar_shine.png";
34685                color: 255 255 255 120;
34686             }
34687          }
34688          part { name: "shine_center";
34689             mouse_events:  0;
34690             description { state: "default" 0.0;
34691                rel1.to: "bg";
34692                rel1.relative: 0.2 0;
34693                rel2.to: "bg";
34694                rel2.relative: 0.8 1;
34695                image.normal: "bar_shine.png";
34696                color: 255 255 255 180;
34697             }
34698          }
34699          part { name: "shine_right";
34700             mouse_events:  0;
34701             description { state: "default" 0.0;
34702                rel1.to: "bg";
34703                rel1.relative: 0.9 0;
34704                rel2.to: "bg";
34705                rel2.relative: 1.1 1;
34706                image.normal: "bar_shine.png";
34707                color: 255 255 255 120;
34708             }
34709          }
34710          part { name: "clipper";
34711             type: RECT;
34712             mouse_events: 0;
34713             description { state: "default" 0.0;
34714                rel1.to: "bg";
34715                rel2.to: "bg";
34716                rel1.offset: 2 2;
34717                rel2.offset: -3 -3;
34718             }
34719          }
34720          part { name: "elm.swallow.content";
34721             clip_to: "clipper";
34722             type: SWALLOW;
34723             description { state: "default" 0.0;
34724                rel1.to: "bg";
34725                rel2.to: "bg";
34726             }
34727          }
34728       }
34729    }
34730
34731    group { name: "elm/diskselector/item/default";
34732
34733       data {
34734          item: "len_threshold" "14";
34735       }
34736
34737       parts {
34738          part { name: "elm.swallow.icon";
34739             type: SWALLOW;
34740             description { state: "default" 0.0;
34741                fixed: 1 0;
34742                align: 0.0 0.5;
34743                rel1 {
34744                   relative: 0 0;
34745                   offset: 4 4;
34746                }
34747                rel2 {
34748                   relative: 0 1;
34749                   offset: 4 -5;
34750                }
34751             }
34752             description { state: "show" 0.0;
34753                inherit: "default" 0.0;
34754             }
34755             description { state: "default_small" 0.0;
34756                inherit: "default" 0.0;
34757                rel1.relative: 0 0.2;
34758                rel2.relative: 0 0.8;
34759             }
34760             description { state: "left_side" 0.0;
34761                inherit: "default" 0.0;
34762                rel1.relative: 0 0.2;
34763                rel2.relative: 0 0.8;
34764                color: 255 255 255 160;
34765             }
34766             description { state: "right_side" 0.0;
34767                inherit: "left_side" 0.0;
34768                rel1.relative: 0.4 0.2;
34769                rel2.relative: 0.4 0.8;
34770                color: 255 255 255 160;
34771             }
34772          }
34773          part { name: "elm.text";
34774             type: TEXT;
34775             mouse_events: 0;
34776             scale: 1;
34777             description { state: "default" 0.0;
34778                rel1.relative: 1 0.0;
34779                rel1.to_x: "elm.swallow.icon";
34780                rel2.relative: 1.0 1.0;
34781                color: 255 255 255 255;
34782                visible: 0;
34783                text {
34784                   font: "Sans,Edje-Vera";
34785                   size: 13;
34786                   align: 0.5 0.5;
34787                   min: 0 1;
34788                }
34789             }
34790             description { state: "show" 0.0;
34791                inherit: "default" 0.0;
34792                visible: 1;
34793             }
34794             description { state: "default_small" 0.0;
34795                inherit: "default" 0.0;
34796                visible: 1;
34797                text.size: 10;
34798             }
34799             description { state: "left_side" 0.0;
34800                inherit: "default" 0.0;
34801                color: 172 172 172 255;
34802                text.size: 10;
34803                visible: 1;
34804                text.align: 0.2 0.5;
34805             }
34806             description { state: "right_side" 0.0;
34807                inherit: "default" 0.0;
34808                color: 172 172 172 255;
34809                visible: 1;
34810                text.size: 10;
34811                text.align: 0.8 0.5;
34812             }
34813          }
34814       }
34815
34816       programs {
34817          program { name: "center_text";
34818             signal: "elm,state,center";
34819             source: "elm";
34820             action: STATE_SET "show" 0.0;
34821             target: "elm.text";
34822             target: "elm.swallow.icon";
34823          }
34824          program { name: "center_small_text";
34825             signal: "elm,state,center_small";
34826             source: "elm";
34827             action: STATE_SET "default_small" 0.0;
34828             target: "elm.text";
34829             target: "elm.swallow.icon";
34830          }
34831          program { name: "l_side_text";
34832             signal: "elm,state,left_side";
34833             source: "elm";
34834             action: STATE_SET "left_side" 0.0;
34835             target: "elm.text";
34836             target: "elm.swallow.icon";
34837          }
34838          program { name: "r_side_text";
34839             signal: "elm,state,right_side";
34840             source: "elm";
34841             action: STATE_SET "right_side" 0.0;
34842             target: "elm.text";
34843             target: "elm.swallow.icon";
34844          }
34845       }
34846    }
34847
34848    group { name: "elm/entry/path/separator/default";
34849       images.image: "arrow_right.png" COMP;
34850       parts {
34851          part { name: "icon";
34852             mouse_events: 0;
34853             description { state: "default" 0.0;
34854                image.normal: "arrow_right.png";
34855                max: 64 64;
34856                aspect: 1.0 1.0;
34857             }
34858          }
34859       }
34860    }
34861
34862    group { name: "elm/fileselector/base/default";
34863       data {
34864          item: "path_separator" "<item relsize=16x16 vsize=full href=path/separator></item>";
34865       }
34866       parts {
34867          part { name: "elm.swallow.up";
34868             type: SWALLOW;
34869             description { state: "default" 0.0;
34870                align: 0.0 0.0;
34871                min: 10 10;
34872                fixed: 1 1;
34873                rel2 {
34874                   relative: 0.0 0.0;
34875                   offset: 0 0;
34876                }
34877             }
34878          }
34879          part { name: "elm.swallow.home";
34880             type: SWALLOW;
34881             description { state: "default" 0.0;
34882                align: 0.0 0.0;
34883                min: 10 10;
34884                fixed: 1 1;
34885                rel1 {
34886                   to: "elm.swallow.up";
34887                   relative: 1.0 0.0;
34888                   offset: 5 0;
34889                }
34890                rel2 {
34891                   to: "elm.swallow.up";
34892                   relative: 1.0 1.0;
34893                   offset: 20 -1;
34894                }
34895             }
34896          }
34897          part { name: "elm.swallow.files";
34898             type: SWALLOW;
34899             description { state: "default" 0.0;
34900                align: 1.0 0.0;
34901                min: 10 10;
34902                fixed: 1 1;
34903                rel1 {
34904                   to_y: "elm.swallow.home";
34905                   relative: 0.0 1.0;
34906                   offset: 0 0;
34907                }
34908                rel2 {
34909                   to_y: "elm.swallow.path";
34910                   relative: 1.0 0.0;
34911                   offset: -1 -1;
34912                }
34913             }
34914          }
34915          part { name: "elm.swallow.path";
34916             type: SWALLOW;
34917             description { state: "default" 0.0;
34918                align: 0.5 1.0;
34919                fixed: 1 1;
34920                rel1 {
34921                   to_y: "elm.swallow.filename";
34922                   relative: 0.0 0.0;
34923                   offset: 0 -1;
34924                }
34925                rel2 {
34926                   to_y: "elm.swallow.filename";
34927                   relative: 1.0 0.0;
34928                   offset: -1 -1;
34929                }
34930             }
34931          }
34932          part { name: "elm.swallow.filename";
34933             type: SWALLOW;
34934             description { state: "default" 0.0;
34935                align: 0.5 1.0;
34936                fixed: 1 1;
34937                rel1 {
34938                   to_y: "elm.swallow.ok";
34939                   relative: 0.0 0.0;
34940                   offset: 0 -1;
34941                }
34942                rel2 {
34943                   to_y: "elm.swallow.ok";
34944                   relative: 1.0 0.0;
34945                   offset: -1 -1;
34946                }
34947             }
34948          }
34949          part { name: "elm.swallow.cancel";
34950             type: SWALLOW;
34951             description { state: "default" 0.0;
34952                align: 1.0 1.0;
34953                fixed: 1 1;
34954                rel1 {
34955                   to: "elm.swallow.ok";
34956                   relative: 0.0 0.0;
34957                   offset: -3 0;
34958                }
34959                rel2 {
34960                   to: "elm.swallow.ok";
34961                   relative: 0.0 1.0;
34962                   offset: -3 -1;
34963                }
34964             }
34965          }
34966          part { name: "elm.swallow.ok";
34967             type: SWALLOW;
34968             description { state: "default" 0.0;
34969                align: 1.0 1.0;
34970                fixed: 1 1;
34971                rel1 {
34972                   relative: 1.0 1.0;
34973                   offset: -1 -1;
34974                }
34975             }
34976          }
34977       }
34978    }
34979
34980    group { name: "elm/fileselector_entry/base/default";
34981       parts {
34982          part { name: "elm.swallow.entry";
34983             type: SWALLOW;
34984             description { state: "default" 0.0;
34985                align: 0.0 0.0;
34986                min: 50 10;
34987                rel2 { to_x: "elm.swallow.button";
34988                   relative: 0.0 1.0;
34989                   offset: -1 -1;
34990                }
34991             }
34992          }
34993          part { name: "elm.swallow.button";
34994             type: SWALLOW;
34995             description { state: "default" 0.0;
34996                align: 1.0 0.0;
34997                min: 10 10;
34998                fixed: 1 1;
34999                rel1 {
35000                   relative: 1.0 0.0;
35001                   offset: -21 0;
35002                }
35003             }
35004          }
35005       }
35006    }
35007
35008 ////////////////////////////////////////////////////////////////////////
35009 // Standard layouts to be used                                        //
35010 ////////////////////////////////////////////////////////////////////////
35011    /* application with toolbar and main content area */
35012    group { name: "elm/layout/application/toolbar-content";
35013       parts {
35014          part { name: "elm.swallow.content";
35015             type: SWALLOW;
35016             description { state: "default" 0.0;
35017                rel1 { to_y: "elm.external.toolbar";
35018                   relative: 0.0 1.0;
35019                   offset: -1 1;
35020                }
35021             }
35022          }
35023
35024          part { name: "elm.external.toolbar";
35025             type: EXTERNAL;
35026             source: "elm/toolbar";
35027             description { state: "default" 0.0;
35028                align: 0.5 0.0;
35029                fixed: 0 1;
35030                rel2 {
35031                   relative: 1.0 0.0;
35032                   offset: -1 47;
35033                }
35034             }
35035          }
35036       }
35037    }
35038
35039    /* application with toolbar and main content area with a back button and title area */
35040    group { name: "elm/layout/application/toolbar-content-back";
35041       parts {
35042          part { name: "elm.swallow.content";
35043             type: SWALLOW;
35044             description { state: "default" 0.0;
35045                rel1 { to_y: "title_clipper";
35046                   relative: 0.0 1.0;
35047                   offset: -1 1;
35048                }
35049             }
35050          }
35051
35052          part { name: "elm.external.toolbar";
35053             type: EXTERNAL;
35054             source: "elm/toolbar";
35055             description { state: "default" 0.0;
35056                fixed: 0 1;
35057                align: 0.5 0.0;
35058                rel2 {
35059                   relative: 1.0 0.0;
35060                   offset: -1 47;
35061                }
35062             }
35063          }
35064          part { name: "title_clipper";
35065             type: RECT;
35066             description { state: "default" 0.0;
35067                visible: 1;
35068                rel1 {
35069                   to_y: "back";
35070                }
35071                rel2 {
35072                   to_y: "back";
35073                }
35074             }
35075             description { state: "hidden" 0.0;
35076                inherit: "default" 0.0;
35077                visible: 0;
35078                rel2 {
35079                   relative: 1.0 0.0;
35080                }
35081             }
35082          }
35083          part { name: "back_clipper";
35084             type: RECT;
35085             clip_to: "title_clipper";
35086             description { state: "default" 0.0;
35087                visible: 1;
35088             }
35089             description { state: "hidden" 0.0;
35090                visible: 0;
35091             }
35092          }
35093          part { name: "back";
35094             type: EXTERNAL;
35095             source: "elm/button";
35096             clip_to: "back_clipper";
35097             description { state: "default" 0.0;
35098                align: 0.0 0.0;
35099                fixed: 1 1;
35100                rel1 { to_y: "elm.external.toolbar";
35101                   relative: 0.0 1.0;
35102                   offset: 0 1;
35103                }
35104                rel2 { to_y: "elm.external.toolbar";
35105                   relative: 0.0 1.0;
35106                   offset: 50 32;
35107                }
35108                params.string: "label" "Back";
35109             }
35110          }
35111          programs {
35112             program {
35113                signal: "clicked";
35114                source: "back";
35115                action: SIGNAL_EMIT "elm,action,back" "";
35116             }
35117             program {
35118                signal: "elm,back,hide";
35119                source: "elm";
35120                action: STATE_SET "hidden" 0.0;
35121                target: "back_clipper";
35122             }
35123             program {
35124                signal: "elm,back,show";
35125                source: "elm";
35126                action: STATE_SET "default" 0.0;
35127                target: "back_clipper";
35128             }
35129             program {
35130                signal: "elm,title,hide";
35131                source: "elm";
35132                action: STATE_SET "hidden" 0.0;
35133                transition: LINEAR 0.1;
35134                target: "title_clipper";
35135             }
35136             program {
35137                signal: "elm,title,show";
35138                source: "elm";
35139                action: STATE_SET "default" 0.0;
35140                target: "title_clipper";
35141             }
35142          }
35143
35144          part { name: "elm.swallow.end";
35145             type: SWALLOW;
35146             description { state: "default" 0.0;
35147                align: 1.0 0.0;
35148                fixed: 1 1;
35149                rel1 { to_y: "elm.external.toolbar";
35150                   relative: 1.0 1.0;
35151                   offset: -2 1;
35152                }
35153                rel2 { to_y: "elm.external.toolbar";
35154                   relative: 1.0 1.0;
35155                   offset: -1 32;
35156                }
35157             }
35158          }
35159
35160          part { name: "elm.text.title";
35161             type: TEXT;
35162             effect: SOFT_SHADOW;
35163             scale: 1;
35164             description { state: "default" 0.0;
35165                rel1 { to_y: "elm.external.toolbar";
35166                   to_x: "back";
35167                   relative: 1.0 1.0;
35168                   offset: 2 1;
35169                }
35170                rel2 { to_y: "back";
35171                   to_x: "elm.swallow.end";
35172                   relative: 0.0 1.0;
35173                   offset: -3 -1;
35174                }
35175                text {
35176                   font: "Sans:style=Bold";
35177                   size: 12;
35178                }
35179             }
35180          }
35181       }
35182    }
35183
35184    /* application with toolbar and main content area with a back and next buttons and title area */
35185    group { name: "elm/layout/application/toolbar-content-back-next";
35186       parts {
35187          part { name: "elm.swallow.content";
35188             type: SWALLOW;
35189             description { state: "default" 0.0;
35190                rel1 { to_y: "title_clipper";
35191                   relative: 0.0 1.0;
35192                   offset: -1 1;
35193                }
35194             }
35195          }
35196
35197          part { name: "elm.external.toolbar";
35198             type: EXTERNAL;
35199             source: "elm/toolbar";
35200             description { state: "default" 0.0;
35201                fixed: 0 1;
35202                align: 0.5 0.0;
35203                rel2 {
35204                   relative: 1.0 0.0;
35205                   offset: -1 47;
35206                }
35207             }
35208          }
35209          part { name: "title_clipper";
35210             type: RECT;
35211             description { state: "default" 0.0;
35212                visible: 1;
35213                rel1 {
35214                   to_y: "back";
35215                }
35216                rel2 {
35217                   to_y: "back";
35218                }
35219             }
35220             description { state: "hidden" 0.0;
35221                inherit: "default" 0.0;
35222                visible: 0;
35223                rel2 {
35224                   relative: 1.0 0.0;
35225                }
35226             }
35227          }
35228          part { name: "back";
35229             type: EXTERNAL;
35230             source: "elm/button";
35231             clip_to: "back_clipper";
35232             description { state: "default" 0.0;
35233                align: 0.0 0.0;
35234                fixed: 1 1;
35235                rel1 { to_y: "elm.external.toolbar";
35236                   relative: 0.0 1.0;
35237                   offset: 0 1;
35238                }
35239                rel2 { to_y: "elm.external.toolbar";
35240                   relative: 0.0 1.0;
35241                   offset: 50 32;
35242                }
35243                params.string: "label" "Back";
35244             }
35245          }
35246          part { name: "back_clipper";
35247             type: RECT;
35248             clip_to: "title_clipper";
35249             description { state: "default" 0.0;
35250                visible: 1;
35251             }
35252             description { state: "hidden" 0.0;
35253                visible: 0;
35254             }
35255          }
35256          part { name: "next";
35257             type: EXTERNAL;
35258             source: "elm/button";
35259             clip_to: "next_clipper";
35260             description { state: "default" 0.0;
35261                align: 1.0 0.0;
35262                fixed: 1 1;
35263                rel1 { to_y: "elm.external.toolbar";
35264                   relative: 1.0 1.0;
35265                   offset: -2 1;
35266                }
35267                rel2 { to_y: "elm.external.toolbar";
35268                   relative: 1.0 1.0;
35269                   offset: -1 32;
35270                }
35271                params.string: "label" "Next";
35272            }
35273          }
35274          part { name: "next_clipper";
35275             type: RECT;
35276             clip_to: "title_clipper";
35277             description { state: "default" 0.0;
35278                visible: 1;
35279             }
35280             description { state: "hidden" 0.0;
35281                visible: 0;
35282             }
35283          }
35284          programs {
35285             program {
35286                signal: "clicked";
35287                source: "back";
35288                action: SIGNAL_EMIT "elm,action,back" "";
35289             }
35290             program {
35291                signal: "elm,title,hide";
35292                source: "elm";
35293                action: STATE_SET "hidden" 0.0;
35294                transition: LINEAR 0.1;
35295                target: "title_clipper";
35296             }
35297             program {
35298                signal: "elm,title,show";
35299                source: "elm";
35300                action: STATE_SET "default" 0.0;
35301                target: "title_clipper";
35302             }
35303             program {
35304                signal: "elm,back,hide";
35305                source: "elm";
35306                action: STATE_SET "hidden" 0.0;
35307                target: "back_clipper";
35308             }
35309             program {
35310                signal: "elm,back,show";
35311                source: "elm";
35312                action: STATE_SET "default" 0.0;
35313                target: "back_clipper";
35314             }
35315             program {
35316                signal: "clicked";
35317                source: "next";
35318                action: SIGNAL_EMIT "elm,action,next" "";
35319             }
35320             program {
35321                signal: "elm,next,hide";
35322                source: "elm";
35323                action: STATE_SET "hidden" 0.0;
35324                target: "next_clipper";
35325             }
35326             program {
35327                signal: "elm,next,show";
35328                source: "elm";
35329                action: STATE_SET "default" 0.0;
35330                target: "next_clipper";
35331             }
35332          }
35333          part { name: "elm.text.title";
35334             type: TEXT;
35335             effect: SOFT_SHADOW;
35336             scale: 1;
35337             clip_to: "title_clipper";
35338             description { state: "default" 0.0;
35339                rel1 { to_y: "elm.external.toolbar";
35340                   to_x: "back";
35341                   relative: 1.0 1.0;
35342                   offset: 2 1;
35343                }
35344                rel2 { to_y: "back";
35345                   to_x: "next";
35346                   relative: 0.0 1.0;
35347                   offset: -3 -1;
35348                }
35349                text {
35350                   font: "Sans:style=Bold";
35351                   size: 12;
35352                }
35353             }
35354          }
35355       }
35356    }
35357    /* application with a main content area with a back button and title area */
35358    group { name: "elm/layout/application/content-back";
35359       parts {
35360          part { name: "elm.swallow.content";
35361             type: SWALLOW;
35362             description { state: "default" 0.0;
35363                rel1 { to_y: "title_clipper";
35364                   relative: 0.0 1.0;
35365                   offset: -1 1;
35366                }
35367             }
35368          }
35369          part { name: "title_clipper";
35370             type: RECT;
35371             description { state: "default" 0.0;
35372                visible: 1;
35373                rel1 {
35374                   to_y: "back";
35375                }
35376                rel2 {
35377                   to_y: "back";
35378                }
35379             }
35380             description { state: "hidden" 0.0;
35381                inherit: "default" 0.0;
35382                visible: 0;
35383                rel2 {
35384                   relative: 1.0 0.0;
35385                }
35386             }
35387          }
35388          part { name: "back_clipper";
35389             type: RECT;
35390             clip_to: "title_clipper";
35391             description { state: "default" 0.0;
35392                visible: 1;
35393             }
35394             description { state: "hidden" 0.0;
35395                visible: 0;
35396             }
35397          }
35398          part { name: "back";
35399             type: EXTERNAL;
35400             source: "elm/button";
35401             clip_to: "back_clipper";
35402             description { state: "default" 0.0;
35403                align: 0.0 0.0;
35404                fixed: 1 1;
35405                rel1 {
35406                   relative: 0.0 0.0;
35407                   offset: 0 1;
35408                }
35409                rel2 {
35410                   relative: 0.0 0.0;
35411                   offset: 50 32;
35412                }
35413                params.string: "label" "Back";
35414             }
35415          }
35416          programs {
35417             program {
35418                signal: "clicked";
35419                source: "back";
35420                action: SIGNAL_EMIT "elm,action,back" "";
35421             }
35422             program {
35423                signal: "elm,back,hide";
35424                source: "elm";
35425                action: STATE_SET "hidden" 0.0;
35426                target: "back_clipper";
35427             }
35428             program {
35429                signal: "elm,back,show";
35430                source: "elm";
35431                action: STATE_SET "default" 0.0;
35432                target: "back_clipper";
35433             }
35434             program {
35435                signal: "elm,title,hide";
35436                source: "elm";
35437                action: STATE_SET "hidden" 0.0;
35438                transition: LINEAR 0.1;
35439                target: "title_clipper";
35440             }
35441             program {
35442                signal: "elm,title,show";
35443                source: "elm";
35444                action: STATE_SET "default" 0.0;
35445                target: "title_clipper";
35446             }
35447          }
35448
35449          part { name: "elm.swallow.end";
35450             type: SWALLOW;
35451             description { state: "default" 0.0;
35452                align: 1.0 0.0;
35453                fixed: 1 1;
35454                rel1 {
35455                   relative: 1.0 0.0;
35456                   offset: -2 1;
35457                }
35458                rel2 {
35459                   relative: 1.0 1.0;
35460                   offset: -1 32;
35461                }
35462             }
35463          }
35464
35465          part { name: "elm.text.title";
35466             type: TEXT;
35467             effect: SOFT_SHADOW;
35468             scale: 1;
35469             description { state: "default" 0.0;
35470                rel1 {
35471                   to_x: "back";
35472                   relative: 1.0 0.0;
35473                   offset: 2 1;
35474                }
35475                rel2 { to_y: "back";
35476                   to_x: "elm.swallow.end";
35477                   relative: 0.0 1.0;
35478                   offset: -3 -1;
35479                }
35480                text {
35481                   font: "Sans:style=Bold";
35482                   size: 12;
35483                }
35484             }
35485          }
35486       }
35487    }
35488
35489    /* application with a main content area with a back and next buttons and title area */
35490    group { name: "elm/layout/application/content-back-next";
35491       parts {
35492          part { name: "elm.swallow.content";
35493             type: SWALLOW;
35494             description { state: "default" 0.0;
35495                rel1 { to_y: "title_clipper";
35496                   relative: 0.0 1.0;
35497                   offset: -1 1;
35498                }
35499             }
35500          }
35501
35502          part { name: "title_clipper";
35503             type: RECT;
35504             description { state: "default" 0.0;
35505                visible: 1;
35506                rel1 {
35507                   to_y: "back";
35508                }
35509                rel2 {
35510                   to_y: "back";
35511                }
35512             }
35513             description { state: "hidden" 0.0;
35514                inherit: "default" 0.0;
35515                visible: 0;
35516                rel2 {
35517                   relative: 1.0 0.0;
35518                }
35519             }
35520          }
35521          part { name: "back";
35522             type: EXTERNAL;
35523             source: "elm/button";
35524             clip_to: "back_clipper";
35525             description { state: "default" 0.0;
35526                align: 0.0 0.0;
35527                fixed: 1 1;
35528                rel1 {
35529                   relative: 0.0 0.0;
35530                   offset: 0 1;
35531                }
35532                rel2 {
35533                   relative: 0.0 0.0;
35534                   offset: 50 32;
35535                }
35536                params.string: "label" "Back";
35537             }
35538          }
35539          part { name: "back_clipper";
35540             type: RECT;
35541             clip_to: "title_clipper";
35542             description { state: "default" 0.0;
35543                visible: 1;
35544             }
35545             description { state: "hidden" 0.0;
35546                visible: 0;
35547             }
35548          }
35549          part { name: "next";
35550             type: EXTERNAL;
35551             source: "elm/button";
35552             clip_to: "next_clipper";
35553             description { state: "default" 0.0;
35554                align: 1.0 0.0;
35555                fixed: 1 1;
35556                rel1 {
35557                   relative: 1.0 0.0;
35558                   offset: -2 1;
35559                }
35560                rel2 {
35561                   relative: 1.0 0.0;
35562                   offset: -1 32;
35563                }
35564                params.string: "label" "Next";
35565            }
35566          }
35567          part { name: "next_clipper";
35568             type: RECT;
35569             clip_to: "title_clipper";
35570             description { state: "default" 0.0;
35571                visible: 1;
35572             }
35573             description { state: "hidden" 0.0;
35574                visible: 0;
35575             }
35576          }
35577          programs {
35578             program {
35579                signal: "clicked";
35580                source: "back";
35581                action: SIGNAL_EMIT "elm,action,back" "";
35582             }
35583             program {
35584                signal: "elm,title,hide";
35585                source: "elm";
35586                action: STATE_SET "hidden" 0.0;
35587                transition: LINEAR 0.1;
35588                target: "title_clipper";
35589             }
35590             program {
35591                signal: "elm,title,show";
35592                source: "elm";
35593                action: STATE_SET "default" 0.0;
35594                target: "title_clipper";
35595             }
35596             program {
35597                signal: "elm,back,hide";
35598                source: "elm";
35599                action: STATE_SET "hidden" 0.0;
35600                target: "back_clipper";
35601             }
35602             program {
35603                signal: "elm,back,show";
35604                source: "elm";
35605                action: STATE_SET "default" 0.0;
35606                target: "back_clipper";
35607             }
35608             program {
35609                signal: "clicked";
35610                source: "next";
35611                action: SIGNAL_EMIT "elm,action,next" "";
35612             }
35613             program {
35614                signal: "elm,next,hide";
35615                source: "elm";
35616                action: STATE_SET "hidden" 0.0;
35617                target: "next_clipper";
35618             }
35619             program {
35620                signal: "elm,next,show";
35621                source: "elm";
35622                action: STATE_SET "default" 0.0;
35623                target: "next_clipper";
35624             }
35625          }
35626          part { name: "elm.text.title";
35627             type: TEXT;
35628             effect: SOFT_SHADOW;
35629             scale: 1;
35630             clip_to: "title_clipper";
35631             description { state: "default" 0.0;
35632                rel1 {
35633                   to_x: "back";
35634                   relative: 1.0 0.0;
35635                   offset: 2 1;
35636                }
35637                rel2 { to_y: "back";
35638                   to_x: "next";
35639                   relative: 0.0 1.0;
35640                   offset: -3 -1;
35641                }
35642                text {
35643                   font: "Sans:style=Bold";
35644                   size: 12;
35645                }
35646             }
35647          }
35648       }
35649    }
35650
35651    /* application with toolbar and main content area as a vertical box */
35652    group { name: "elm/layout/application/toolbar-vbox";
35653       parts {
35654          part { name: "elm.box.content";
35655             type: BOX;
35656             description { state: "default" 0.0;
35657                rel1 { to_y: "elm.external.toolbar";
35658                   relative: 0.0 1.0;
35659                   offset: -1 1;
35660                }
35661                box.layout: "vertical";
35662             }
35663          }
35664
35665          part { name: "elm.external.toolbar";
35666             type: EXTERNAL;
35667             source: "elm/toolbar";
35668             description { state: "default" 0.0;
35669                align: 0.5 0.0;
35670                fixed: 0 1;
35671                rel2 {
35672                   relative: 1.0 0.0;
35673                   offset: -1 47;
35674                }
35675             }
35676          }
35677       }
35678    }
35679
35680    /* application with toolbar and main content area as a table */
35681    group { name: "elm/layout/application/toolbar-table";
35682       parts {
35683          part { name: "elm.table.content";
35684             type: TABLE;
35685             description { state: "default" 0.0;
35686                rel1 { to_y: "elm.external.toolbar";
35687                   relative: 0.0 1.0;
35688                   offset: -1 1;
35689                }
35690             }
35691          }
35692
35693          part { name: "elm.external.toolbar";
35694             type: EXTERNAL;
35695             source: "elm/toolbar";
35696             description { state: "default" 0.0;
35697                align: 0.5 0.0;
35698                fixed: 0 1;
35699                rel2 {
35700                   relative: 1.0 0.0;
35701                   offset: -1 47;
35702                }
35703             }
35704          }
35705       }
35706    }
35707
35708    /* a simple title layout, with a label and two icons */
35709    group { name: "elm/layout/application/titlebar";
35710       images {
35711          image: "toolbar_sel.png" COMP;
35712       }
35713       parts {
35714          part { name: "base";
35715             mouse_events: 0;
35716             scale: 1;
35717             description { state: "default" 0.0;
35718                min: 0 33;
35719                max: 99999 33;
35720                align: 0.5 0.0;
35721                rel1.offset: -1 0;
35722                rel2.offset: 1 0;
35723                image {
35724                   normal: "toolbar_sel.png";
35725                   border: 3 3 0 0;
35726                }
35727             }
35728          }
35729          part { name: "elm.swallow.content";
35730             type: SWALLOW;
35731             description { state: "default" 0.0;
35732                visible: 1;
35733                rel1 {
35734                   to: "base";
35735                   relative: 0.0 1.0;
35736                }
35737             }
35738          }
35739          part { name: "elm.swallow.icon";
35740             type: SWALLOW;
35741             scale: 1;
35742             description { state: "default" 0.0;
35743                visible: 0;
35744                fixed: 1 1;
35745                align: 0.0 0.0;
35746                rel1 {
35747                   to: "base";
35748                   relative: 0.0 0.0;
35749                   offset: 4 0;
35750                }
35751                rel2 {
35752                   to: "base";
35753                   relative: 0.0 1.0;
35754                }
35755             }
35756             description { state: "visible" 0.0;
35757                inherit: "default" 0.0;
35758                visible: 1;
35759             }
35760          }
35761          part { name: "elm.swallow.end";
35762             type: SWALLOW;
35763             scale: 1;
35764             description { state: "default" 0.0;
35765                visible: 0;
35766                fixed: 1 1;
35767                align: 1.0 0.0;
35768                rel1 {
35769                   to: "base";
35770                   relative: 1.0 0.0;
35771                   offset: 0 0;
35772                }
35773                rel2 {
35774                   to: "base";
35775                   relative: 1.0 1.0;
35776                   offset: -5 -1;
35777                }
35778             }
35779             description { state: "visible" 0.0;
35780                inherit: "default" 0.0;
35781                visible: 1;
35782             }
35783          }
35784          part { name: "elm.text";
35785             type: TEXT;
35786             effect: SOFT_SHADOW;
35787             mouse_events: 0;
35788             scale: 1;
35789             description { state: "default" 0.0;
35790                fixed: 1 1;
35791                rel1 {
35792                   to_x: "elm.swallow.icon";
35793                   to_y: "base";
35794                   relative: 1.0 0.0;
35795                }
35796                rel2 {
35797                   to_x: "elm.swallow.end";
35798                   to_y: "base";
35799                   relative: 0.0 1.0;
35800                }
35801                text {
35802                   font: "Sans";
35803                   size: 12;
35804                   min: 0 0;
35805                   align: 0.5 0.5;
35806                   text_class: "title_bar";
35807                }
35808             }
35809          }
35810       }
35811       programs {
35812          program { name: "show_icon";
35813             signal: "elm,state,icon,visible";
35814             source: "elm";
35815             action: STATE_SET "visible" 0.0;
35816             target: "elm.swallow.icon";
35817          }
35818          program { name: "hide_icon";
35819             signal: "elm,state,icon,hidden";
35820             source: "elm";
35821             action: STATE_SET "default" 0.0;
35822             target: "elm.swallow.icon";
35823          }
35824          program { name: "show_end";
35825             signal: "elm,state,end,visible";
35826             source: "elm";
35827             action: STATE_SET "visible" 0.0;
35828             target: "elm.swallow.end";
35829          }
35830          program { name: "hide_end";
35831             signal: "elm,state,end,hidden";
35832             source: "elm";
35833             action: STATE_SET "default" 0.0;
35834             target: "elm.swallow.end";
35835          }
35836       }
35837    }
35838 }
35839
35840
35841
35842