================================================================
[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 0;
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 0;
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 0;
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 0;
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 ///////////////////////////////////////////////////////////////////////////////
7411    group { name: "elm/hover/base/ctxpopup/default";
7412       images {
7413          image: "bt_base2.png" COMP;
7414          image: "bt_hilight.png" COMP;
7415          image: "bt_shine.png" COMP;
7416          image: "icon_arrow_left.png" COMP;
7417          image: "icon_arrow_up_left.png" COMP;
7418          image: "icon_arrow_up.png" COMP;
7419          image: "icon_arrow_up_right.png" COMP;
7420          image: "icon_arrow_right.png" COMP;
7421          image: "icon_arrow_down_right.png" COMP;
7422          image: "icon_arrow_down.png" COMP;
7423          image: "icon_arrow_down_left.png" COMP;
7424       }
7425       parts {
7426          part { name: "elm.swallow.offset";
7427             type: SWALLOW;
7428             description { state: "default" 0.0;
7429                align: 0.0 0.0;
7430                rel1.relative: 0.0 0.0;
7431                rel2.relative: 0.0 0.0;
7432             }
7433          }
7434          part { name: "elm.swallow.size";
7435             type: SWALLOW;
7436             description { state: "default" 0.0;
7437                align: 0.0 0.0;
7438                rel1.to: "elm.swallow.offset";
7439                rel1.relative: 1.0 1.0;
7440                rel2.to: "elm.swallow.offset";
7441                rel2.relative: 1.0 1.0;
7442             }
7443          }
7444          part { name: "button_image";
7445             mouse_events: 1;
7446             description { state: "default" 0.0;
7447                image {
7448                   normal: "bt_base2.png";
7449                   border: 7 7 7 7;
7450                }
7451                image.middle: SOLID;
7452             }
7453             description { state: "top-left" 0.0;
7454                inherit: "default" 0.0;
7455                visible: 1;
7456                rel1.to: "elm.swallow.slot.top-left";
7457                rel1.offset: -2 -6;
7458                rel2.to: "elm.swallow.slot.top-left";
7459                rel2.offset: 1 7;
7460             }
7461             description { state: "top" 0.0;
7462                inherit: "default" 0.0;
7463                visible: 1;
7464                rel1.to: "elm.swallow.slot.top";
7465                rel1.offset: -2 -6;
7466                rel2.to: "elm.swallow.slot.top";
7467                rel2.offset: 1 7;
7468             }
7469             description { state: "top-right" 0.0;
7470                inherit: "default" 0.0;
7471                visible: 1;
7472                rel1.to: "elm.swallow.slot.top-right";
7473                rel1.offset: -2 -6;
7474                rel2.to: "elm.swallow.slot.top-right";
7475                rel2.offset: 1 7;
7476             }
7477             description { state: "right" 0.0;
7478                inherit: "default" 0.0;
7479                visible: 1;
7480                rel1.to: "elm.swallow.slot.right";
7481                rel1.offset: -2 -6;
7482                rel2.to: "elm.swallow.slot.right";
7483                rel2.offset: 1 7;
7484             }
7485             description { state: "bottom-right" 0.0;
7486                inherit: "default" 0.0;
7487                visible: 1;
7488                rel1.to: "elm.swallow.slot.bottom-right";
7489                rel1.offset: -2 -6;
7490                rel2.to: "elm.swallow.slot.bottom-right";
7491                rel2.offset: 1 7;
7492             }
7493             description { state: "bottom" 0.0;
7494                inherit: "default" 0.0;
7495                visible: 1;
7496                rel1.to: "elm.swallow.slot.bottom";
7497                rel1.offset: -2 -6;
7498                rel2.to: "elm.swallow.slot.bottom";
7499                rel2.offset: 1 7;
7500             }
7501             description { state: "bottom-left" 0.0;
7502                inherit: "default" 0.0;
7503                visible: 1;
7504                rel1.to: "elm.swallow.slot.bottom-left";
7505                rel1.offset: -2 -6;
7506                rel2.to: "elm.swallow.slot.bottom-left";
7507                rel2.offset: 1 7;
7508             }
7509             description { state: "left" 0.0;
7510                inherit: "default" 0.0;
7511                visible: 1;
7512                rel1.to: "elm.swallow.slot.left";
7513                rel1.offset: -2 -6;
7514                rel2.to: "elm.swallow.slot.left";
7515                rel2.offset: 1 7;
7516             }
7517          }
7518          part { name: "base";
7519             type: RECT;
7520             mouse_events: 1;
7521             description { state: "default" 0.0;
7522                color: 0 0 0 0;
7523             }
7524             description { state: "visible" 0.0;
7525                inherit: "default" 1.0;
7526                color: 0 0 0 64;
7527             }
7528          }
7529          part { name: "elm.swallow.slot.left";
7530             type: SWALLOW;
7531             description { state: "default" 0.0;
7532                align: 1.0 0.5;
7533                rel1.to: "elm.swallow.slot.middle";
7534                rel1.relative: 0.0 0.0;
7535                rel1.offset: -1 0;
7536                rel2.to: "elm.swallow.slot.middle";
7537                rel2.relative: 0.0 1.0;
7538                rel2.offset: -1 -1;
7539             }
7540          }
7541          part { name: "elm.swallow.slot.top-left";
7542             type: SWALLOW;
7543             description { state: "default" 0.0;
7544                align: 1.0 1.0;
7545                rel1.to: "elm.swallow.slot.middle";
7546                rel1.relative: 0.0 0.0;
7547                rel1.offset: 0 0;
7548                rel2.to: "elm.swallow.slot.middle";
7549                rel2.relative: 0.0 0.0;
7550                rel2.offset: -1 -1;
7551             }
7552          }
7553          part { name: "elm.swallow.slot.top";
7554             type: SWALLOW;
7555             description { state: "default" 0.0;
7556                align: 0.5 1.0;
7557                rel1.to: "elm.swallow.slot.middle";
7558                rel1.relative: 0.0 0.0;
7559                rel1.offset: 0 -1;
7560                rel2.to: "elm.swallow.slot.middle";
7561                rel2.relative: 1.0 0.0;
7562                rel2.offset: -1 -1;
7563             }
7564          }
7565          part { name: "elm.swallow.slot.top-right";
7566             type: SWALLOW;
7567             description { state: "default" 0.0;
7568                align: 0.0 1.0;
7569                rel1.to: "elm.swallow.slot.middle";
7570                rel1.relative: 1.0 0.0;
7571                rel1.offset: 0 0;
7572                rel2.to: "elm.swallow.slot.middle";
7573                rel2.relative: 1.0 0.0;
7574                rel2.offset: -1 -1;
7575             }
7576          }
7577          part { name: "elm.swallow.slot.right";
7578             type: SWALLOW;
7579             description { state: "default" 0.0;
7580                align: 0.0 0.5;
7581                rel1.to: "elm.swallow.slot.middle";
7582                rel1.relative: 1.0 0.0;
7583                rel1.offset: 0 0;
7584                rel2.to: "elm.swallow.slot.middle";
7585                rel2.relative: 1.0 1.0;
7586                rel2.offset: 0 -1;
7587             }
7588          }
7589          part { name: "elm.swallow.slot.bottom-right";
7590             type: SWALLOW;
7591             description { state: "default" 0.0;
7592                align: 0.0 0.0;
7593                rel1.to: "elm.swallow.slot.middle";
7594                rel1.relative: 1.0 1.0;
7595                rel1.offset: 0 0;
7596                rel2.to: "elm.swallow.slot.middle";
7597                rel2.relative: 1.0 1.0;
7598                rel2.offset: -1 -1;
7599             }
7600          }
7601          part { name: "elm.swallow.slot.bottom";
7602             type: SWALLOW;
7603             description { state: "default" 0.0;
7604                align: 0.5 0.0;
7605                rel1.to: "elm.swallow.slot.middle";
7606                rel1.relative: 0.0 1.0;
7607                rel1.offset: 0 0;
7608                rel2.to: "elm.swallow.slot.middle";
7609                rel2.relative: 1.0 1.0;
7610                rel2.offset: -1 0;
7611             }
7612          }
7613          part { name: "elm.swallow.slot.bottom-left";
7614             type: SWALLOW;
7615             description { state: "default" 0.0;
7616                align: 1.0 0.0;
7617                rel1.to: "elm.swallow.slot.middle";
7618                rel1.relative: 0.0 1.0;
7619                rel1.offset: 0 0;
7620                rel2.to: "elm.swallow.slot.middle";
7621                rel2.relative: 0.0 1.0;
7622                rel2.offset: -1 0;
7623             }
7624          }
7625          part {  name: "over1";
7626             mouse_events: 0;
7627             description { state: "default" 0.0;
7628                rel1.to: "button_image";
7629                rel2.to: "button_image";
7630                rel2.relative: 1.0 0.5;
7631                image {
7632                   normal: "bt_hilight.png";
7633                   border: 7 7 7 0;
7634                }
7635             }
7636          }
7637          part { name: "over2";
7638             mouse_events: 1;
7639             repeat_events: 1;
7640             ignore_flags: ON_HOLD;
7641             description { state: "default" 0.0;
7642                rel1.to: "button_image";
7643                rel2.to: "button_image";
7644                image {
7645                   normal: "bt_shine.png";
7646                   border: 7 7 7 7;
7647                }
7648             }
7649          }
7650          part { name: "elm.swallow.slot.middle";
7651             type: SWALLOW;
7652             description { state: "default" 0.0;
7653                rel1.to: "elm.swallow.size";
7654                rel2.to: "elm.swallow.size";
7655             }
7656          }
7657          part { name: "arrow";
7658             mouse_events: 0;
7659             description { state: "default" 0.0;
7660                visible: 0;
7661                min: 40 40;
7662                max: 40 40;
7663             }
7664             description { state: "left" 0.0;
7665                inherit: "default" 0.0;
7666                visible: 1;
7667                align: 0.0 0.5;
7668                rel1.to: "elm.swallow.slot.left";
7669                rel1.relative: 1.0 0.0;
7670                rel1.offset: 0 0;
7671                rel2.to: "elm.swallow.slot.left";
7672                rel2.relative: 1.0 1.0;
7673                rel2.offset: 0 -1;
7674                image.normal: "icon_arrow_right.png";
7675             }
7676             description { state: "top-left" 0.0;
7677                inherit: "default" 0.0;
7678                visible: 1;
7679                align: 0.0 0.0;
7680                rel1.to: "elm.swallow.slot.top-left";
7681                rel1.relative: 1.0 1.0;
7682                rel1.offset: -5 5;
7683                rel2.to: "elm.swallow.slot.top-left";
7684                rel2.relative: 1.0 1.0;
7685                rel2.offset: -4 4;
7686                image.normal: "icon_arrow_down_right.png";
7687             }
7688             description { state: "top" 0.0;
7689                inherit: "default" 0.0;
7690                visible: 1;
7691                align: 0.5 0.0;
7692                rel1.to: "elm.swallow.slot.top";
7693                rel1.relative: 0.0 1.0;
7694                rel1.offset: 0 0;
7695                rel2.to: "elm.swallow.slot.top";
7696                rel2.relative: 1.0 1.0;
7697                rel2.offset: -1 0;
7698                image.normal: "icon_arrow_down.png";
7699             }
7700             description { state: "top-right" 0.0;
7701                inherit: "default" 0.0;
7702                visible: 1;
7703                align: 1.0 0.0;
7704                rel1.to: "elm.swallow.slot.top-right";
7705                rel1.relative: 0.0 1.0;
7706                rel1.offset: 5 5;
7707                rel2.to: "elm.swallow.slot.top-right";
7708                rel2.relative: 0.0 1.0;
7709                rel2.offset: 4 4;
7710                image.normal: "icon_arrow_down_left.png";
7711             }
7712             description { state: "right" 0.0;
7713                inherit: "default" 0.0;
7714                visible: 1;
7715                align: 1.0 0.5;
7716                rel1.to: "elm.swallow.slot.right";
7717                rel1.relative: 0.0 0.0;
7718                rel1.offset: 0 0;
7719                rel2.to: "elm.swallow.slot.right";
7720                rel2.relative: 0.0 1.0;
7721                rel2.offset: 0 -1;
7722                image.normal: "icon_arrow_left.png";
7723             }
7724             description { state: "bottom-right" 0.0;
7725                inherit: "default" 0.0;
7726                visible: 1;
7727                align: 1.0 1.0;
7728                rel1.to: "elm.swallow.slot.bottom-right";
7729                rel1.relative: 0.0 0.0;
7730                rel1.offset: 5 5;
7731                rel2.to: "elm.swallow.slot.bottom-right";
7732                rel2.relative: 0.0 0.0;
7733                rel2.offset: 4 4;
7734                image.normal: "icon_arrow_up_left.png";
7735             }
7736             description { state: "bottom" 0.0;
7737                inherit: "default" 0.0;
7738                visible: 1;
7739                align: 0.5 1.0;
7740                rel1.to: "elm.swallow.slot.bottom";
7741                rel1.relative: 0.0 0.0;
7742                rel1.offset: 0 -1;
7743                rel2.to: "elm.swallow.slot.bottom";
7744                rel2.relative: 1.0 0.0;
7745                rel2.offset: -1 -1;
7746                image.normal: "icon_arrow_up.png";
7747             }
7748             description { state: "bottom-left" 0.0;
7749                inherit: "default" 0.0;
7750                visible: 1;
7751                align: 0.0 1.0;
7752                rel1.to: "elm.swallow.slot.bottom-left";
7753                rel1.relative: 1.0 0.0;
7754                rel1.offset: -5 5;
7755                rel2.to: "elm.swallow.slot.bottom-left";
7756                rel2.relative: 1.0 0.0;
7757                rel2.offset: -4 4;
7758                image.normal: "icon_arrow_up_right.png";
7759             }
7760          }
7761       }
7762       programs {
7763          program { name: "end";
7764             signal: "mouse,up,1";
7765             source: "base";
7766             action: SIGNAL_EMIT "elm,action,dismiss" "";
7767          }
7768          program { name: "show";
7769             signal: "elm,action,show";
7770             source: "elm";
7771             action: STATE_SET "visible" 0.0;
7772             target: "base";
7773          }
7774          program { name: "hide";
7775             signal: "elm,action,hide";
7776             source: "elm";
7777             action: STATE_SET "default" 0.0;
7778             target: "base";
7779          }
7780          program { name: "all-hide";
7781             action: STATE_SET "default" 0.0;
7782             target: "button_image";
7783          }
7784          program { name: "top-left-show";
7785             signal: "elm,action,slot,top-left,show";
7786             source: "elm";
7787             action: STATE_SET "top-left" 0.0;
7788             target: "arrow";
7789             target: "button_image";
7790          }
7791          program { name: "top-show";
7792             signal: "elm,action,slot,top,show";
7793             source: "elm";
7794             action: STATE_SET "top" 0.0;
7795             target: "arrow";
7796             target: "button_image";
7797          }
7798          program { name: "top-right-show";
7799             signal: "elm,action,slot,top-right,show";
7800             source: "elm";
7801             action: STATE_SET "top-right" 0.0;
7802             target: "arrow";
7803             target: "button_image";
7804          }
7805          program { name: "right-show";
7806             signal: "elm,action,slot,right,show";
7807             source: "elm";
7808             action: STATE_SET "right" 0.0;
7809             target: "arrow";
7810             target: "button_image";
7811          }
7812          program { name: "bottom-right-show";
7813             signal: "elm,action,slot,bottom-right,show";
7814             source: "elm";
7815             action: STATE_SET "bottom-right" 0.0;
7816             target: "arrow";
7817             target: "button_image";
7818          }
7819          program { name: "bottom-show";
7820             signal: "elm,action,slot,bottom,show";
7821             source: "elm";
7822             action: STATE_SET "bottom" 0.0;
7823             target: "arrow";
7824             target: "button_image";
7825          }
7826          program { name: "bottom-left-show";
7827             signal: "elm,action,slot,bottom-left,show";
7828             source: "elm";
7829             action: STATE_SET "bottom-left" 0.0;
7830             target: "arrow";
7831             target: "button_image";
7832          }
7833          program { name: "left-show";
7834             signal: "elm,action,slot,left,show";
7835             source: "elm";
7836             action: STATE_SET "left" 0.0;
7837             target: "arrow";
7838             target: "button_image";
7839          }
7840       }
7841    }
7842
7843 ///////////////////////////////////////////////////////////////////////////////
7844    group { name: "elm/list/item/ctxpopup";
7845       alias: "elm/list/item_odd/ctxpopup";
7846       alias: "elm/list/h_item/ctxpopup";
7847       alias: "elm/list/h_item_odd/ctxpopup";
7848       parts {
7849          part { name: "button_image";
7850             mouse_events: 1;
7851             clip_to: "disclip";
7852             description { state: "default" 0.0;
7853                color: 255 255 255 0;
7854                image.normal: "hoversel_entry_bg.png";
7855                image.border: 0 0 2 2;
7856                fill.smooth: 0;
7857             }
7858             description { state: "selected" 0.0;
7859                inherit: "default" 0.0;
7860                color: 255 255 255 255;
7861             }
7862          }
7863          part { name: "elm.swallow.icon";
7864             type: SWALLOW;
7865             clip_to: "disclip";
7866             description { state: "default" 0.0;
7867                fixed: 1 0;
7868                align: 0.0 0.5;
7869                rel1 {
7870                   relative: 0.0 0.0;
7871                   offset: 4 4;
7872                }
7873                rel2 {
7874                   relative: 0.0 1.0;
7875                   offset: 4 -5;
7876                }
7877             }
7878          }
7879          part { name: "elm.text";
7880             type: TEXT;
7881             effect: SOFT_SHADOW;
7882             mouse_events: 0;
7883             scale: 1;
7884             clip_to: "disclip";
7885             description {
7886                state: "default" 0.0;
7887                rel1 {
7888                   to_x: "elm.swallow.icon";
7889                   relative: 1.0  0.0;
7890                   offset: 4 4;
7891                }
7892                rel2 {
7893                   offset: -5 -5;
7894                }
7895                color: 224 224 224 255;
7896                color3: 0 0 0 64;
7897                text {
7898                   font: "Sans,Edje-Vera";
7899                   size: 10;
7900                   min: 1 1;
7901                   align: 0.0 0.5;
7902                   text_class: "list_item";
7903                }
7904             }
7905             description { state: "selected" 0.0;
7906                inherit: "default" 0.0;
7907                text.min: 1 1;
7908                color: 0 0 0 255;
7909                color3: 0 0 0 0;
7910             }
7911          }
7912          part { name: "event";
7913             type: RECT;
7914             repeat_events: 1;
7915             description {
7916                state: "default" 0.0;
7917                color: 0 0 0 0;
7918             }
7919          }
7920          part { name: "disclip";
7921             type: RECT;
7922             repeat_events: 1;
7923             description { state: "default" 0.0;
7924                rel1.to: "event";
7925                rel2.to: "event";
7926             }
7927             description { state: "disabled" 0.0;
7928                inherit: "default" 0.0;
7929                color: 255 255 255 64;
7930             }
7931          }
7932       }
7933       programs {
7934          program {
7935             name: "go_active";
7936             signal: "elm,state,selected";
7937             source: "elm";
7938             action: STATE_SET "selected" 0.0;
7939             target: "elm.text";
7940             target: "button_image";
7941          }
7942          program {
7943             name: "item_unclick";
7944             signal: "mouse,up,1";
7945             source: "event";
7946             action: STATE_SET "default" 0.0;
7947             target: "button_image";
7948             target: "elm.text";
7949          }
7950          program {
7951             name: "go_passive";
7952             signal: "elm,state,unselected";
7953             source: "elm";
7954             action: STATE_SET "default" 0.0;
7955             target: "elm.text";
7956             target: "button_image";
7957             transition: LINEAR 0.1;
7958          }
7959          program {
7960             name: "go_disabled";
7961             signal: "elm,state,disabled";
7962             source: "elm";
7963             action: STATE_SET "disabled" 0.0;
7964             target: "disclip";
7965          }
7966          program {
7967             name: "go_enabled";
7968             signal: "elm,state,enabled";
7969             source: "elm";
7970             action: STATE_SET "default" 0.0;
7971             target: "disclip";
7972          }
7973       }
7974    }
7975
7976 ///////////////////////////////////////////////////////////////////////////////
7977    group { name: "elm/list/base/ctxpopup";
7978       data {
7979          item: "focus_highlight" "on";
7980       }
7981       script {
7982          public sbvis_v, sbvis_h, sbalways_v, sbalways_h, sbvis_timer;
7983          public timer0(val) {
7984             new v;
7985             v = get_int(sbvis_v);
7986             if (v) {
7987                v = get_int(sbalways_v);
7988                if (!v) {
7989                   emit("do-hide-vbar", "");
7990                   set_int(sbvis_v, 0);
7991                }
7992             }
7993             v = get_int(sbvis_h);
7994             if (v) {
7995                v = get_int(sbalways_h);
7996                if (!v) {
7997                   emit("do-hide-hbar", "");
7998                   set_int(sbvis_h, 0);
7999                }
8000             }
8001             set_int(sbvis_timer, 0);
8002             return 0;
8003          }
8004       }
8005       images {
8006          image: "bt_sm_base2.png" COMP;
8007          image: "bt_sm_shine.png" COMP;
8008          image: "bt_sm_hilight.png" COMP;
8009          image: "sl_bt2_2.png" COMP;
8010       }
8011       parts {
8012          part { name: "bg";
8013             type: RECT;
8014             description { state: "default" 0.0;
8015                rel1.offset: 2 2;
8016                rel2.offset: -3 -3;
8017                color: 255 255 255 0;
8018             }
8019          }
8020          part { name: "clipper";
8021             type: RECT;
8022             mouse_events: 0;
8023             description { state: "default" 0.0;
8024                rel1.to: "bg";
8025                rel2.to: "bg";
8026                rel1.offset: 2 2;
8027                rel2.offset: -3 -3;
8028             }
8029          }
8030          part { name: "elm.swallow.content";
8031             clip_to: "clipper";
8032             type: SWALLOW;
8033             description { state: "default" 0.0;
8034                rel1.to: "bg";
8035                rel2.to: "bg";
8036                rel1.offset: 2 2;
8037                rel2.offset: -3 -3;
8038             }
8039          }
8040          part { name: "focus_highlight";
8041             mouse_events: 0;
8042             description { state: "default" 0.0;
8043                rel1.offset: -1 -1;
8044                rel2.offset: 0 0;
8045                image {
8046                   normal: "sl_bt2_2.png";
8047                   border: 7 7 7 7;
8048                   middle: 0;
8049                }
8050                fill.smooth : 0;
8051                color: 200 155 0 0;
8052             }
8053             description { state: "enabled" 0.0;
8054                inherit: "default" 0.0;
8055                color: 200 155 0 255;
8056             }
8057          }
8058          part { name: "sb_vbar_clip_master";
8059             type: RECT;
8060             mouse_events: 0;
8061             description { state: "default" 0.0;
8062             }
8063             description { state: "hidden" 0.0;
8064                visible: 0;
8065                color: 255 255 255 0;
8066             }
8067          }
8068          part { name: "sb_vbar_clip";
8069             clip_to: "sb_vbar_clip_master";
8070             type: RECT;
8071             mouse_events: 0;
8072             description { state: "default" 0.0;
8073             }
8074             description { state: "hidden" 0.0;
8075                visible: 0;
8076                color: 255 255 255 0;
8077             }
8078          }
8079          part { name: "sb_vbar";
8080             type: RECT;
8081             mouse_events: 0;
8082             description { state: "default" 0.0;
8083                fixed: 1 1;
8084                visible: 0;
8085                min: 10 17;
8086                align: 1.0 0.0;
8087                rel1 {
8088                   relative: 1.0 0.0;
8089                   offset:   0 2;
8090                   to_y:     "elm.swallow.content";
8091                   to_x:     "elm.swallow.content";
8092                }
8093                rel2 {
8094                   relative: 1.0 0.0;
8095                   offset:   -1 -1;
8096                   to_y:     "sb_hbar";
8097                   to_x:     "elm.swallow.content";
8098                }
8099             }
8100          }
8101          part { name: "elm.dragable.vbar";
8102             clip_to: "sb_vbar_clip";
8103             mouse_events: 0;
8104             dragable {
8105                x: 0 0 0;
8106                y: 1 1 0;
8107                confine: "sb_vbar";
8108             }
8109             description { state: "default" 0.0;
8110                fixed: 1 1;
8111                min: 10 17;
8112                max: 10 99999;
8113                rel1 {
8114                   relative: 0.5  0.5;
8115                   offset:   0    0;
8116                   to: "sb_vbar";
8117                }
8118                rel2 {
8119                   relative: 0.5  0.5;
8120                   offset:   0    0;
8121                   to: "sb_vbar";
8122                }
8123                image {
8124                   normal: "bt_sm_base2.png";
8125                   border: 6 6 6 6;
8126                   middle: SOLID;
8127                }
8128             }
8129          }
8130          part { name: "sb_vbar_over1";
8131             clip_to: "sb_vbar_clip";
8132             mouse_events: 0;
8133             description { state: "default" 0.0;
8134                rel1.to: "elm.dragable.vbar";
8135                rel2.relative: 1.0 0.5;
8136                rel2.to: "elm.dragable.vbar";
8137                image {
8138                   normal: "bt_sm_hilight.png";
8139                   border: 6 6 6 0;
8140                }
8141             }
8142          }
8143          part { name: "sb_vbar_over2";
8144             clip_to: "sb_vbar_clip";
8145             mouse_events: 0;
8146             description { state: "default" 0.0;
8147                rel1.to: "elm.dragable.vbar";
8148                rel2.to: "elm.dragable.vbar";
8149                image {
8150                   normal: "bt_sm_shine.png";
8151                   border: 6 6 6 0;
8152                }
8153             }
8154          }
8155          part { name: "sb_hbar_clip_master";
8156             type: RECT;
8157             mouse_events: 0;
8158             description { state: "default" 0.0;
8159             }
8160             description { state: "hidden" 0.0;
8161                visible: 0;
8162                color: 255 255 255 0;
8163             }
8164          }
8165          part { name: "sb_hbar_clip";
8166             clip_to: "sb_hbar_clip_master";
8167             type: RECT;
8168             mouse_events: 0;
8169             description { state: "default" 0.0;
8170             }
8171             description { state: "hidden" 0.0;
8172                visible: 0;
8173                color: 255 255 255 0;
8174             }
8175          }
8176          part { name: "sb_hbar";
8177             type: RECT;
8178             mouse_events: 0;
8179             description { state: "default" 0.0;
8180                fixed: 1 1;
8181                visible: 0;
8182                min: 17 10;
8183                align: 0.0 1.0;
8184                rel1 {
8185                   relative: 0.0 1.0;
8186                   offset:   2 0;
8187                   to_x:     "elm.swallow.content";
8188                   to_y:     "elm.swallow.content";
8189                }
8190                rel2 {
8191                   relative: 0.0 1.0;
8192                   offset:   -1 -1;
8193                   to_x:     "sb_vbar";
8194                   to_y:     "elm.swallow.content";
8195                }
8196             }
8197          }
8198          part { name: "elm.dragable.hbar";
8199             clip_to: "sb_hbar_clip";
8200             mouse_events: 0;
8201             dragable {
8202                x: 1 1 0;
8203                y: 0 0 0;
8204                confine: "sb_hbar";
8205             }
8206             description { state: "default" 0.0;
8207                fixed: 1 1;
8208                min: 17 10;
8209                max: 99999 10;
8210                rel1 {
8211                   relative: 0.5  0.5;
8212                   offset:   0    0;
8213                   to: "sb_hbar";
8214                }
8215                rel2 {
8216                   relative: 0.5  0.5;
8217                   offset:   0    0;
8218                   to: "sb_hbar";
8219                }
8220                image {
8221                   normal: "bt_sm_base2.png";
8222                   border: 4 4 4 4;
8223                   middle: SOLID;
8224                }
8225             }
8226          }
8227          part { name: "sb_hbar_over1";
8228             clip_to: "sb_hbar_clip";
8229             mouse_events: 0;
8230             description { state: "default" 0.0;
8231                rel1.to: "elm.dragable.hbar";
8232                rel2.relative: 1.0 0.5;
8233                rel2.to: "elm.dragable.hbar";
8234                image {
8235                   normal: "bt_sm_hilight.png";
8236                   border: 6 6 6 0;
8237                }
8238             }
8239          }
8240          part { name: "sb_hbar_over2";
8241             clip_to: "sb_hbar_clip";
8242             mouse_events: 0;
8243             description { state: "default" 0.0;
8244                rel1.to: "elm.dragable.hbar";
8245                rel2.to: "elm.dragable.hbar";
8246                image {
8247                   normal: "bt_sm_shine.png";
8248                   border: 6 6 6 0;
8249                }
8250             }
8251          }
8252       }
8253       programs {
8254          program { name: "load";
8255             signal: "load";
8256             source: "";
8257             script {
8258                set_state(PART:"sb_hbar_clip", "hidden", 0.0);
8259                set_state(PART:"sb_vbar_clip", "hidden", 0.0);
8260                set_int(sbvis_h, 0);
8261                set_int(sbvis_v, 0);
8262                set_int(sbalways_v, 0);
8263                set_int(sbalways_h, 0);
8264                set_int(sbvis_timer, 0);
8265             }
8266          }
8267          program { name: "vbar_show";
8268             signal: "elm,action,show,vbar";
8269             source: "elm";
8270             action:  STATE_SET "default" 0.0;
8271             target: "sb_vbar_clip_master";
8272          }
8273          program { name: "vbar_hide";
8274             signal: "elm,action,hide,vbar";
8275             source: "elm";
8276             action:  STATE_SET "hidden" 0.0;
8277             target: "sb_vbar_clip_master";
8278          }
8279          program { name: "vbar_show_always";
8280             signal: "elm,action,show_always,vbar";
8281             source: "elm";
8282             script {
8283                new v;
8284                v = get_int(sbvis_v);
8285                v |= get_int(sbalways_v);
8286                if (!v) {
8287                   set_int(sbalways_v, 1);
8288                   emit("do-show-vbar", "");
8289                   set_int(sbvis_v, 1);
8290                }
8291             }
8292          }
8293          program { name: "vbar_show_notalways";
8294             signal: "elm,action,show_notalways,vbar";
8295             source: "elm";
8296             script {
8297                new v;
8298                v = get_int(sbalways_v);
8299                if (v) {
8300                   set_int(sbalways_v, 0);
8301                   v = get_int(sbvis_v);
8302                   if (!v) {
8303                      emit("do-hide-vbar", "");
8304                      set_int(sbvis_v, 0);
8305                   }
8306                }
8307             }
8308          }
8309          program { name: "sb_vbar_show";
8310             signal: "do-show-vbar";
8311             source: "";
8312             action:  STATE_SET "default" 0.0;
8313             transition: LINEAR 0.5;
8314             target: "sb_vbar_clip";
8315          }
8316          program { name: "sb_vbar_hide";
8317             signal: "do-hide-vbar";
8318             source: "";
8319             action:  STATE_SET "hidden" 0.0;
8320             transition: LINEAR 0.5;
8321             target: "sb_vbar_clip";
8322          }
8323          program { name: "hbar_show";
8324             signal: "elm,action,show,hbar";
8325             source: "elm";
8326             action:  STATE_SET "default" 0.0;
8327             target: "sb_hbar_clip_master";
8328          }
8329          program { name: "hbar_hide";
8330             signal: "elm,action,hide,hbar";
8331             source: "elm";
8332             action:  STATE_SET "hidden" 0.0;
8333             target: "sb_hbar_clip_master";
8334          }
8335          program { name: "hbar_show_always";
8336             signal: "elm,action,show_always,hbar";
8337             source: "elm";
8338             script {
8339                new v;
8340                v = get_int(sbvis_h);
8341                v |= get_int(sbalways_h);
8342                if (!v) {
8343                   set_int(sbalways_h, 1);
8344                   emit("do-show-hbar", "");
8345                   set_int(sbvis_h, 1);
8346                }
8347             }
8348          }
8349          program { name: "hbar_show_notalways";
8350             signal: "elm,action,show_notalways,hbar";
8351             source: "elm";
8352             script {
8353                new v;
8354                v = get_int(sbalways_h);
8355                if (v) {
8356                   set_int(sbalways_h, 0);
8357                   v = get_int(sbvis_h);
8358                   if (!v) {
8359                      emit("do-hide-hbar", "");
8360                      set_int(sbvis_h, 0);
8361                   }
8362                }
8363             }
8364          }
8365          program { name: "sb_hbar_show";
8366             signal: "do-show-hbar";
8367             source: "";
8368             action:  STATE_SET "default" 0.0;
8369             transition: LINEAR 0.5;
8370             target: "sb_hbar_clip";
8371          }
8372          program { name: "sb_hbar_hide";
8373             signal: "do-hide-hbar";
8374             source: "";
8375             action:  STATE_SET "hidden" 0.0;
8376             transition: LINEAR 0.5;
8377             target: "sb_hbar_clip";
8378          }
8379          program { name: "scroll";
8380             signal: "elm,action,scroll";
8381             source: "elm";
8382             script {
8383                new v;
8384                v = get_int(sbvis_v);
8385                v |= get_int(sbalways_v);
8386                if (!v) {
8387                   emit("do-show-vbar", "");
8388                   set_int(sbvis_v, 1);
8389                }
8390                v = get_int(sbvis_h);
8391                v |= get_int(sbalways_h);
8392                if (!v) {
8393                   emit("do-show-hbar", "");
8394                   set_int(sbvis_h, 1);
8395                }
8396                v = get_int(sbvis_timer);
8397                if (v > 0) cancel_timer(v);
8398                v = timer(1.0, "timer0", 0);
8399                set_int(sbvis_timer, v);
8400             }
8401          }
8402          program { name: "highlight_show";
8403             signal: "elm,action,focus_highlight,show";
8404             source: "elm";
8405             action: STATE_SET "enabled" 0.0;
8406             transition: ACCELERATE 0.3;
8407             target: "focus_highlight";
8408          }
8409          program { name: "highlight_hide";
8410             signal: "elm,action,focus_highlight,hide";
8411             source: "elm";
8412             action: STATE_SET "default" 0.0;
8413             transition: DECELERATE 0.3;
8414             target: "focus_highlight";
8415          }
8416       }
8417    }
8418
8419 ///////////////////////////////////////////////////////////////////////////////
8420 // emoticon images from:
8421 // Tanya - Latvia
8422 // http://lazycrazy.deviantart.com/
8423 // http://lazycrazy.deviantart.com/art/Very-Emotional-Emoticons-144461621
8424   group { name: "elm/entry/emoticon/angry/default"; images.image:
8425      "emo-angry.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8426         "emo-angry.png"; } } } }
8427   group { name: "elm/entry/emoticon/angry-shout/default"; images.image:
8428      "emo-angry-shout.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8429         "emo-angry-shout.png"; } } } }
8430   group { name: "elm/entry/emoticon/crazy-laugh/default"; images.image:
8431      "emo-crazy-laugh.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8432         "emo-crazy-laugh.png"; } } } }
8433   group { name: "elm/entry/emoticon/evil-laugh/default"; images.image:
8434      "emo-evil-laugh.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8435         "emo-evil-laugh.png"; } } } }
8436   group { name: "elm/entry/emoticon/evil/default"; images.image:
8437      "emo-evil.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8438         "emo-evil.png"; } } } }
8439   group { name: "elm/entry/emoticon/goggle-smile/default"; images.image:
8440      "emo-goggle-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8441         "emo-goggle-smile.png"; } } } }
8442   group { name: "elm/entry/emoticon/grumpy/default"; images.image:
8443      "emo-grumpy.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8444         "emo-grumpy.png"; } } } }
8445   group { name: "elm/entry/emoticon/grumpy-smile/default"; images.image:
8446      "emo-grumpy-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8447         "emo-grumpy-smile.png"; } } } }
8448   group { name: "elm/entry/emoticon/guilty/default"; images.image:
8449      "emo-guilty.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8450         "emo-guilty.png"; } } } }
8451   group { name: "elm/entry/emoticon/guilty-smile/default"; images.image:
8452      "emo-guilty-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8453         "emo-guilty-smile.png"; } } } }
8454   group { name: "elm/entry/emoticon/haha/default"; images.image:
8455      "emo-haha.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8456         "emo-haha.png"; } } } }
8457   group { name: "elm/entry/emoticon/half-smile/default"; images.image:
8458      "emo-half-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8459         "emo-half-smile.png"; } } } }
8460   group { name: "elm/entry/emoticon/happy-panting/default"; images.image:
8461      "emo-happy-panting.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8462         "emo-happy-panting.png"; } } } }
8463   group { name: "elm/entry/emoticon/happy/default"; images.image:
8464      "emo-happy.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8465         "emo-happy.png"; } } } }
8466   group { name: "elm/entry/emoticon/indifferent/default"; images.image:
8467      "emo-indifferent.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8468         "emo-indifferent.png"; } } } }
8469   group { name: "elm/entry/emoticon/kiss/default"; images.image:
8470      "emo-kiss.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8471         "emo-kiss.png"; } } } }
8472   group { name: "elm/entry/emoticon/knowing-grin/default"; images.image:
8473      "emo-knowing-grin.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8474         "emo-knowing-grin.png"; } } } }
8475   group { name: "elm/entry/emoticon/laugh/default"; images.image:
8476      "emo-laugh.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8477         "emo-laugh.png"; } } } }
8478   group { name: "elm/entry/emoticon/little-bit-sorry/default"; images.image:
8479      "emo-little-bit-sorry.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8480         "emo-little-bit-sorry.png"; } } } }
8481   group { name: "elm/entry/emoticon/love-lots/default"; images.image:
8482      "emo-love-lots.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8483         "emo-love-lots.png"; } } } }
8484   group { name: "elm/entry/emoticon/love/default"; images.image:
8485      "emo-love.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8486         "emo-love.png"; } } } }
8487   group { name: "elm/entry/emoticon/minimal-smile/default"; images.image:
8488      "emo-minimal-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8489         "emo-minimal-smile.png"; } } } }
8490   group { name: "elm/entry/emoticon/not-happy/default"; images.image:
8491      "emo-not-happy.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8492         "emo-not-happy.png"; } } } }
8493   group { name: "elm/entry/emoticon/not-impressed/default"; images.image:
8494      "emo-not-impressed.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8495         "emo-not-impressed.png"; } } } }
8496   group { name: "elm/entry/emoticon/omg/default"; images.image:
8497      "emo-omg.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8498         "emo-omg.png"; } } } }
8499   group { name: "elm/entry/emoticon/opensmile/default"; images.image:
8500      "emo-opensmile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8501         "emo-opensmile.png"; } } } }
8502   group { name: "elm/entry/emoticon/smile/default"; images.image:
8503      "emo-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8504         "emo-smile.png"; } } } }
8505   group { name: "elm/entry/emoticon/sorry/default"; images.image:
8506      "emo-sorry.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8507         "emo-sorry.png"; } } } }
8508   group { name: "elm/entry/emoticon/squint-laugh/default"; images.image:
8509      "emo-squint-laugh.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8510         "emo-squint-laugh.png"; } } } }
8511   group { name: "elm/entry/emoticon/surprised/default"; images.image:
8512      "emo-surprised.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8513         "emo-surprised.png"; } } } }
8514   group { name: "elm/entry/emoticon/suspicious/default"; images.image:
8515      "emo-suspicious.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8516         "emo-suspicious.png"; } } } }
8517   group { name: "elm/entry/emoticon/tongue-dangling/default"; images.image:
8518      "emo-tongue-dangling.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8519         "emo-tongue-dangling.png"; } } } }
8520   group { name: "elm/entry/emoticon/tongue-poke/default"; images.image:
8521      "emo-tongue-poke.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8522         "emo-tongue-poke.png"; } } } }
8523   group { name: "elm/entry/emoticon/uh/default"; images.image:
8524      "emo-uh.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8525         "emo-uh.png"; } } } }
8526   group { name: "elm/entry/emoticon/unhappy/default"; images.image:
8527      "emo-unhappy.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8528         "emo-unhappy.png"; } } } }
8529   group { name: "elm/entry/emoticon/very-sorry/default"; images.image:
8530      "emo-very-sorry.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8531         "emo-very-sorry.png"; } } } }
8532   group { name: "elm/entry/emoticon/what/default"; images.image:
8533      "emo-what.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8534         "emo-what.png"; } } } }
8535   group { name: "elm/entry/emoticon/wink/default"; images.image:
8536      "emo-wink.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8537         "emo-wink.png"; } } } }
8538   group { name: "elm/entry/emoticon/worried/default"; images.image:
8539      "emo-worried.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8540         "emo-worried.png"; } } } }
8541   group { name: "elm/entry/emoticon/wtf/default"; images.image:
8542      "emo-wtf.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8543         "emo-wtf.png"; } } } }
8544 //------------------------------------------------------------
8545    group { name: "elm/entry/base/default";
8546       styles
8547       {
8548          style { name: "entry_textblock_style";
8549             base: "font=Sans font_size=10 color=#000 wrap=word text_class=entry";
8550             tag:  "br" "\n";
8551             tag:  "ps" "ps";
8552             tag:  "tab" "\t";
8553             tag:  "em" "+ font=Sans:style=Oblique";
8554             tag:  "b" "+ font=Sans:style=Bold";
8555             tag:  "link" "+ color=#800 underline=on underline_color=#8008";
8556             tag:  "hilight" "+ font=Sans:style=Bold";
8557          }
8558          style { name: "entry_textblock_disabled_style";
8559             base: "font=Sans font_size=10 color=#00000080 wrap=word text_class=entry";
8560             tag:  "br" "\n";
8561             tag:  "ps" "ps";
8562             tag:  "tab" "\t";
8563             tag:  "em" "+ font=Sans:style=Oblique";
8564             tag:  "b" "+ font=Sans:style=Bold";
8565             tag:  "link" "+ color=#00000080 underline=on underline_color=#00000080";
8566             tag:  "hilight" "+ font=Sans:style=Bold";
8567          }
8568       }
8569       data {
8570 //         item: context_menu_orientation "horizontal";
8571       }
8572       parts {
8573          part { name: "elm.text";
8574             type: TEXTBLOCK;
8575             mouse_events: 1;
8576             scale: 1;
8577             entry_mode: EDITABLE;
8578             select_mode: EXPLICIT;
8579             multiline: 1;
8580             source: "elm/entry/selection/default"; // selection under
8581    //       source2: "X"; // selection over
8582    //       source3: "X"; // cursor under
8583             source4: "elm/entry/cursor/default"; // cursorover
8584             source5: "elm/entry/anchor/default"; // anchor under
8585    //       source6: "X"; // anchor over
8586             description { state: "default" 0.0;
8587                /* we gotta use 0 0 here, because of scrolled entries */
8588                fixed: 0 0;
8589                text {
8590                   style: "entry_textblock_style";
8591                   min: 0 1;
8592                }
8593             }
8594             description { state: "disabled" 0.0;
8595                inherit: "default" 0.0;
8596                text {
8597                   style: "entry_textblock_disabled_style";
8598                   min: 0 1;
8599                }
8600             }
8601          }
8602       }
8603       programs {
8604          program { name: "focus";
8605             signal: "load";
8606             source: "";
8607             action: FOCUS_SET;
8608             target: "elm.text";
8609          }
8610          program { name: "disable";
8611             signal: "elm,state,disabled";
8612             source: "elm";
8613             action: STATE_SET "disabled" 0.0;
8614             target: "elm.text";
8615          }
8616          program { name: "enable";
8617             signal: "elm,state,enabled";
8618             source: "elm";
8619             action: STATE_SET "default" 0.0;
8620             target: "elm.text";
8621          }
8622       }
8623    }
8624
8625    group { name: "elm/entry/base-charwrap/default";
8626       styles
8627       {
8628          style { name: "entry_textblock_style_charwrap";
8629             base: "font=Sans font_size=10 color=#000 wrap=char text_class=entry";
8630             tag:  "br" "\n";
8631             tag:  "ps" "ps";
8632             tag:  "tab" "\t";
8633             tag:  "em" "+ font=Sans:style=Oblique";
8634             tag:  "b" "+ font=Sans:style=Bold";
8635             tag:  "link" "+ color=#800 underline=on underline_color=#8008";
8636             tag:  "hilight" "+ font=Sans:style=Bold";
8637          }
8638          style { name: "entry_textblock_disabled_style_charwrap";
8639             base: "font=Sans font_size=10 color=#00000080 wrap=char text_class=entry";
8640             tag:  "br" "\n";
8641             tag:  "ps" "ps";
8642             tag:  "tab" "\t";
8643             tag:  "em" "+ font=Sans:style=Oblique";
8644             tag:  "b" "+ font=Sans:style=Bold";
8645             tag:  "link" "+ color=#00000080 underline=on underline_color=#00000080";
8646             tag:  "hilight" "+ font=Sans:style=Bold";
8647          }
8648       }
8649       parts {
8650          part { name: "elm.text";
8651             type: TEXTBLOCK;
8652             mouse_events: 1;
8653             scale: 1;
8654             entry_mode: EDITABLE;
8655             select_mode: EXPLICIT;
8656             multiline: 1;
8657             source: "elm/entry/selection/default"; // selection under
8658 //          source2: "X"; // selection over
8659 //          source3: "X"; // cursor under
8660             source4: "elm/entry/cursor/default"; // cursorover
8661             source5: "elm/entry/anchor/default"; // anchor under
8662 //          source6: "X"; // anchor over
8663             description { state: "default" 0.0;
8664                fixed: 1 0;
8665                text {
8666                   style: "entry_textblock_style_charwrap";
8667                   min: 0 1;
8668                }
8669             }
8670             description { state: "disabled" 0.0;
8671                inherit: "default" 0.0;
8672                text {
8673                   style: "entry_textblock_disabled_style_charwrap";
8674                   min: 0 1;
8675                }
8676             }
8677          }
8678       }
8679       programs {
8680          program { name: "focus";
8681             signal: "load";
8682             source: "";
8683             action: FOCUS_SET;
8684             target: "elm.text";
8685          }
8686          program { name: "disable";
8687             signal: "elm,state,disabled";
8688             source: "elm";
8689             action: STATE_SET "disabled" 0.0;
8690             target: "elm.text";
8691          }
8692          program { name: "enable";
8693             signal: "elm,state,enabled";
8694             source: "elm";
8695             action: STATE_SET "default" 0.0;
8696             target: "elm.text";
8697          }
8698       }
8699    }
8700
8701    group { name: "elm/entry/base-nowrap/default";
8702       parts {
8703          part { name: "elm.text";
8704             type: TEXTBLOCK;
8705             mouse_events: 1;
8706             scale: 1;
8707             entry_mode: EDITABLE;
8708             select_mode: EXPLICIT;
8709             multiline: 1;
8710             source: "elm/entry/selection/default"; // selection under
8711             source4: "elm/entry/cursor/default"; // cursorover
8712             source5: "elm/entry/anchor/default"; // anchor under
8713             description { state: "default" 0.0;
8714                text {
8715                   style: "entry_textblock_style";
8716                   min: 1 1;
8717                }
8718             }
8719             description { state: "disabled" 0.0;
8720                inherit: "default" 0.0;
8721                text {
8722                   style: "entry_textblock_disabled_style";
8723                   min: 0 1;
8724                }
8725             }
8726          }
8727 /*
8728          part { name: "sel";
8729             type: RECT;
8730             mouse_events: 0;
8731             description { state: "default" 0.0;
8732                align: 1.0 1.0;
8733                max: 16 16;
8734                aspect: 1.0 1.0;
8735                color: 255 0 0 0;
8736             }
8737             description { state: "visible" 0.0;
8738                inherit: "default" 0.0;
8739                color: 255 0 0 50;
8740             }
8741          }
8742  */
8743       }
8744       programs {
8745          program { name: "focus";
8746             signal: "load";
8747             source: "";
8748             action: FOCUS_SET;
8749             target: "elm.text";
8750          }
8751          program { name: "disable";
8752             signal: "elm,state,disabled";
8753             source: "elm";
8754             action: STATE_SET "disabled" 0.0;
8755             target: "elm.text";
8756          }
8757          program { name: "enable";
8758             signal: "elm,state,enabled";
8759             source: "elm";
8760             action: STATE_SET "default" 0.0;
8761             target: "elm.text";
8762          }
8763 /*
8764          program { name: "selmode0";
8765             signal: "elm,state,select,on";
8766             source: "elm";
8767             action: STATE_SET "visible" 0.0;
8768             target: "sel";
8769          }
8770          program { name: "selmode1";
8771             signal: "elm,state,select,off";
8772             source: "elm";
8773             action: STATE_SET "default" 0.0;
8774             target: "sel";
8775          }
8776  */
8777       }
8778    }
8779
8780    group { name: "elm/entry/base-single/default";
8781       styles
8782       {
8783          style { name: "entry_single_textblock_style";
8784             base: "font=Sans font_size=10 color=#000 wrap=none text_class=entry";
8785             tag:  "br" "\n";
8786             tag:  "ps" "ps";
8787             tag:  "tab" "\t";
8788             tag:  "em" "+ font=Sans:style=Oblique";
8789             tag:  "b" "+ font=Sans:style=Bold";
8790             tag:  "link" "+ color=#800 underline=on underline_color=#8008";
8791             tag:  "hilight" "+ font=Sans:style=Bold";
8792          }
8793          style { name: "entry_single_textblock_disabled_style";
8794             base: "font=Sans font_size=10 color=#00000080 wrap=none text_class=entry";
8795             tag:  "br" "\n";
8796             tag:  "ps" "ps";
8797             tag:  "tab" "\t";
8798             tag:  "em" "+ font=Sans:style=Oblique";
8799             tag:  "b" "+ font=Sans:style=Bold";
8800             tag:  "link" "+ color=#00000080 underline=on underline_color=#00000080";
8801             tag:  "hilight" "+ font=Sans:style=Bold";
8802          }
8803       }
8804       parts {
8805          part { name: "elm.text";
8806             type: TEXTBLOCK;
8807             mouse_events: 1;
8808             scale: 1;
8809             entry_mode: EDITABLE;
8810             select_mode: EXPLICIT;
8811             multiline: 0;
8812             source: "elm/entry/selection/default"; // selection under
8813             source4: "elm/entry/cursor/default"; // cursorover
8814             source5: "elm/entry/anchor/default"; // anchor under
8815             description { state: "default" 0.0;
8816                text {
8817                   style: "entry_single_textblock_style";
8818                   min: 1 1;
8819                   max: 0 1;
8820                }
8821             }
8822             description { state: "disabled" 0.0;
8823                inherit: "default" 0.0;
8824                text {
8825                   style: "entry_single_textblock_disabled_style";
8826                }
8827             }
8828          }
8829       }
8830       programs {
8831          program { name: "focus";
8832             signal: "load";
8833             source: "";
8834             action: FOCUS_SET;
8835             target: "elm.text";
8836          }
8837          program { name: "disable";
8838             signal: "elm,state,disabled";
8839             source: "elm";
8840             action: STATE_SET "disabled" 0.0;
8841             target: "elm.text";
8842          }
8843          program { name: "enable";
8844             signal: "elm,state,enabled";
8845             source: "elm";
8846             action: STATE_SET "default" 0.0;
8847             target: "elm.text";
8848          }
8849       }
8850    }
8851
8852    group { name: "elm/entry/base-single-noedit/default";
8853       parts {
8854          part { name: "elm.text";
8855             type: TEXTBLOCK;
8856             mouse_events: 1;
8857             scale: 1;
8858             entry_mode: PLAIN;
8859             select_mode: EXPLICIT;
8860             multiline: 0;
8861             source: "elm/entry/selection/default"; // selection under
8862             source5: "elm/entry/anchor/default"; // anchor under
8863             description { state: "default" 0.0;
8864                text {
8865                   style: "entry_single_textblock_style";
8866                   min: 1 1;
8867                   max: 0 1;
8868                }
8869             }
8870             description { state: "disabled" 0.0;
8871                inherit: "default" 0.0;
8872                text {
8873                style: "entry_single_textblock_disabled_style";
8874                }
8875             }
8876          }
8877       }
8878       programs {
8879          program { name: "focus";
8880             signal: "load";
8881             source: "";
8882             action: FOCUS_SET;
8883             target: "elm.text";
8884          }
8885          program { name: "disable";
8886             signal: "elm,state,disabled";
8887             source: "elm";
8888             action: STATE_SET "disabled" 0.0;
8889             target: "elm.text";
8890          }
8891          program { name: "enable";
8892             signal: "elm,state,enabled";
8893             source: "elm";
8894             action: STATE_SET "default" 0.0;
8895             target: "elm.text";
8896          }
8897       }
8898    }
8899
8900    group { name: "elm/entry/base-noedit/default";
8901       parts {
8902          part { name: "elm.text";
8903             type: TEXTBLOCK;
8904             mouse_events: 1;
8905             scale: 1;
8906             entry_mode: PLAIN;
8907             select_mode: EXPLICIT;
8908             multiline: 1;
8909             source: "elm/entry/selection/default"; // selection under
8910             source5: "elm/entry/anchor/default"; // anchor under
8911             description { state: "default" 0.0;
8912                fixed: 1 0;
8913                text {
8914                   style: "entry_textblock_style";
8915                   min: 0 1;
8916                }
8917             }
8918             description { state: "disabled" 0.0;
8919                inherit: "default" 0.0;
8920                text {
8921                   style: "entry_textblock_disabled_style";
8922                }
8923             }
8924          }
8925       }
8926       programs {
8927          program { name: "focus";
8928             signal: "load";
8929             source: "";
8930             action: FOCUS_SET;
8931             target: "elm.text";
8932          }
8933          program { name: "disable";
8934             signal: "elm,state,disabled";
8935             source: "elm";
8936             action: STATE_SET "disabled" 0.0;
8937             target: "elm.text";
8938          }
8939          program { name: "enable";
8940             signal: "elm,state,enabled";
8941             source: "elm";
8942             action: STATE_SET "default" 0.0;
8943             target: "elm.text";
8944          }
8945       }
8946    }
8947
8948    group { name: "elm/entry/base-noedit-charwrap/default";
8949       parts {
8950          part { name: "elm.text";
8951             type: TEXTBLOCK;
8952             mouse_events: 1;
8953             scale: 1;
8954             entry_mode: PLAIN;
8955             select_mode: EXPLICIT;
8956             multiline: 1;
8957             source: "elm/entry/selection/default"; // selection under
8958             source5: "elm/entry/anchor/default"; // anchor under
8959             description { state: "default" 0.0;
8960                fixed: 1 0;
8961                text {
8962                   style: "entry_textblock_style_charwrap";
8963                   min: 0 1;
8964                }
8965             }
8966             description { state: "disabled" 0.0;
8967                inherit: "default" 0.0;
8968                text {
8969                   style: "entry_textblock_disabled_style_charwrap";
8970                }
8971             }
8972          }
8973       }
8974       programs {
8975          program { name: "focus";
8976             signal: "load";
8977             source: "";
8978             action: FOCUS_SET;
8979             target: "elm.text";
8980          }
8981          program { name: "disable";
8982             signal: "elm,state,disabled";
8983             source: "elm";
8984             action: STATE_SET "disabled" 0.0;
8985             target: "elm.text";
8986          }
8987          program { name: "enable";
8988             signal: "elm,state,enabled";
8989             source: "elm";
8990             action: STATE_SET "default" 0.0;
8991             target: "elm.text";
8992          }
8993       }
8994    }
8995
8996    group { name: "elm/entry/base-nowrap-noedit/default";
8997       parts {
8998          part { name: "elm.text";
8999             type: TEXTBLOCK;
9000             mouse_events: 1;
9001             scale: 1;
9002             entry_mode: PLAIN;
9003             select_mode: EXPLICIT;
9004             multiline: 1;
9005             source: "elm/entry/selection/default"; // selection under
9006             source5: "elm/entry/anchor/default"; // anchor under
9007             description { state: "default" 0.0;
9008                text {
9009                   style: "entry_textblock_style";
9010                   min: 1 1;
9011                }
9012             }
9013             description { state: "disabled" 0.0;
9014                inherit: "default" 0.0;
9015                text {
9016                   style: "entry_textblock_disabled_style";
9017                }
9018             }
9019          }
9020       }
9021       programs {
9022          program { name: "focus";
9023             signal: "load";
9024             source: "";
9025             action: FOCUS_SET;
9026             target: "elm.text";
9027          }
9028          program { name: "disable";
9029             signal: "elm,state,disabled";
9030             source: "elm";
9031             action: STATE_SET "disabled" 0.0;
9032             target: "elm.text";
9033          }
9034          program { name: "enable";
9035             signal: "elm,state,enabled";
9036             source: "elm";
9037             action: STATE_SET "default" 0.0;
9038             target: "elm.text";
9039          }
9040       }
9041    }
9042
9043    group { name: "elm/entry/base-password/default";
9044       parts {
9045          part { name: "elm.text";
9046             type: TEXTBLOCK;
9047             mouse_events: 1;
9048             scale: 1;
9049             entry_mode: PASSWORD;
9050             select_mode: EXPLICIT;
9051             multiline: 0;
9052             source: "elm/entry/selection/default"; // selection under
9053             source4: "elm/entry/cursor/default"; // cursorover
9054             source5: "elm/entry/anchor/default"; // anchor under
9055             description { state: "default" 0.0;
9056                text {
9057                   style: "entry_single_textblock_style";
9058                   repch: "*";
9059                   min: 1 1;
9060                   max: 0 1;
9061                }
9062             }
9063             description { state: "disabled" 0.0;
9064                inherit: "default" 0.0;
9065                text {
9066                   style: "entry_single_textblock_disabled_style";
9067                }
9068             }
9069          }
9070       }
9071       programs {
9072          program { name: "focus";
9073             signal: "load";
9074             source: "";
9075             action: FOCUS_SET;
9076             target: "elm.text";
9077          }
9078          program { name: "disable";
9079             signal: "elm,state,disabled";
9080             source: "elm";
9081             action: STATE_SET "disabled" 0.0;
9082             target: "elm.text";
9083          }
9084          program { name: "enable";
9085             signal: "elm,state,enabled";
9086             source: "elm";
9087             action: STATE_SET "default" 0.0;
9088             target: "elm.text";
9089          }
9090       }
9091    }
9092
9093    group { name: "elm/entry/custom-password/default";
9094       parts {
9095          part { name: "elm.text";
9096             type: TEXTBLOCK;
9097             mouse_events: 1;
9098             scale: 1;
9099             entry_mode: PASSWORD_SHOW_LAST_CHARACTER;
9100             select_mode: EXPLICIT;
9101             multiline: 0;
9102             source: "elm/entry/selection/default"; // selection under
9103             source4: "elm/entry/cursor/default"; // cursorover
9104             source5: "elm/entry/anchor/default"; // anchor under
9105             description { state: "default" 0.0;
9106                text {
9107                   style: "entry_single_textblock_style";
9108                   repch: "*";
9109                   min: 1 1;
9110                   max: 0 1;
9111                }
9112             }
9113             description { state: "disabled" 0.0;
9114                inherit: "default" 0.0;
9115                text {
9116                   style: "entry_single_textblock_disabled_style";
9117                }
9118             }
9119          }
9120       }
9121       programs {
9122          program { name: "focus";
9123             signal: "load";
9124             source: "";
9125             action: FOCUS_SET;
9126             target: "elm.text";
9127          }
9128          program { name: "password_stop"; 
9129             signal: "cursor,changed";
9130             source: "elm.text";
9131             action: ACTION_STOP;
9132             target: "password_start";
9133             after: "password_start";
9134          }
9135          program { name: "password_start";
9136             in: 2.0 0.0;
9137             action: HIDE_VISIBLE_PASSWORD;
9138             target: "elm.text";
9139          }
9140          program { name: "disable";
9141             signal: "elm,state,disabled";
9142             source: "elm";
9143             action: STATE_SET "disabled" 0.0;
9144             target: "elm.text";
9145          }
9146          program { name: "enable";
9147             signal: "elm,state,enabled";
9148             source: "elm";
9149             action: STATE_SET "default" 0.0;
9150             target: "elm.text";
9151          }
9152       }
9153    }
9154
9155    group { name: "elm/entry/cursor/default";
9156       images {
9157          image: "cur_box.png" COMP;
9158          image: "cur_hi.png" COMP;
9159          image: "cur_shad.png" COMP;
9160          image: "cur_shine.png" COMP;
9161          image: "cur_glow.png" COMP;
9162       }
9163       parts {
9164          part { name: "clip2";
9165             type: RECT;
9166             mouse_events: 0;
9167             description { state: "default" 0.0;
9168                rel1.to: "clip";
9169                rel2.to: "clip";
9170                visible: 0;
9171             }
9172             description { state: "focused" 0.0;
9173                inherit: "default" 0.0;
9174                visible: 1;
9175             }
9176          }
9177          part { name: "clip";
9178             type: RECT;
9179             mouse_events: 0;
9180             clip_to: "clip2";
9181             description { state: "default" 0.0;
9182                rel1.offset: -10 0;
9183                rel2.offset: 9 9;
9184             }
9185             description { state: "hidden" 0.0;
9186                inherit: "default" 0.0;
9187                visible: 0;
9188             }
9189          }
9190          part { name: "bg";
9191             mouse_events: 0;
9192             clip_to: "clip";
9193             description { state: "default" 0.0;
9194                rel1.to: "base";
9195                rel1.offset: -2 0;
9196                rel2.to: "base";
9197                rel2.offset: 1 1;
9198                image.border: 2 2 2 2;
9199                image.normal: "cur_shad.png";
9200             }
9201          }
9202          part { name: "base";
9203             mouse_events: 0;
9204             scale: 1;
9205             clip_to: "clip";
9206             description { state: "default" 0.0;
9207                min: 2 2;
9208                align: 0.5 1.0;
9209                rel1.relative: 0.0 1.0;
9210                rel1.offset: 0 -1;
9211                rel2.relative: 1.0 1.0;
9212                rel2.offset: -1 -1;
9213                image.normal: "cur_box.png";
9214             }
9215          }
9216          part { name: "hi";
9217             mouse_events: 0;
9218             clip_to: "clip";
9219             description { state: "default" 0.0;
9220                rel1.to: "base";
9221                rel2.to: "base";
9222                rel2.relative: 1.0 0.5;
9223                image.normal: "cur_hi.png";
9224             }
9225          }
9226          part { name: "shine";
9227             mouse_events: 0;
9228             clip_to: "clip";
9229             clip_to: "clip2";
9230             description { state: "default" 0.0;
9231                rel1.to: "base";
9232                rel2.to: "base";
9233                rel2.relative: 1.0 0.75;
9234                image.border: 2 2 1 0;
9235                image.normal: "cur_shine.png";
9236                fill.smooth: 0;
9237             }
9238          }
9239          part { name: "glow";
9240             mouse_events: 0;
9241             clip_to: "clip2";
9242             description { state: "default" 0.0;
9243                rel1.to: "base";
9244                rel1.relative: 0.0 -2.0;
9245                rel1.offset: -2 0;
9246                rel2.to: "base";
9247                rel2.relative: 1.0 0.0;
9248                rel2.offset: 1 1;
9249                image.border: 2 2 0 4;
9250                image.normal: "cur_glow.png";
9251                fill.smooth: 0;
9252             }
9253             description { state: "hidden" 0.0;
9254                inherit: "default" 0.0;
9255                color: 255 255 255 0;
9256             }
9257          }
9258       }
9259       programs {
9260          program { name: "show";
9261             signal: "show";
9262             source: "";
9263             action: STATE_SET "hidden" 0.0;
9264             in: 1.0 0.0;
9265             transition: DECELERATE 2.0;
9266             target: "glow";
9267             after: "show2";
9268          }
9269          program { name: "show2";
9270             action: STATE_SET "hidden" 0.0;
9271             in: 0.2 0.0;
9272             target: "clip";
9273             after: "show3";
9274          }
9275          program { name: "show3";
9276             action: STATE_SET "default" 0.0;
9277             in: 0.5 0.0;
9278             target: "clip";
9279             after: "show4";
9280          }
9281          program { name: "show4";
9282             action: STATE_SET "default" 0.0;
9283             in: 0.5 0.0;
9284             transition: DECELERATE 0.5;
9285             target: "glow";
9286             after: "show";
9287          }
9288          program { name: "focused";
9289             signal: "elm,action,focus";
9290             source: "elm";
9291             action: STATE_SET "focused" 0.0;
9292             target: "clip2";
9293          }
9294          program { name: "unfocused";
9295             signal: "elm,action,unfocus";
9296             source: "elm";
9297             action: STATE_SET "default" 0.0;
9298             target: "clip2";
9299          }
9300       }
9301    }
9302
9303    group { name: "elm/entry/selection/default";
9304       parts {
9305          part { name: "bg";
9306             type: RECT;
9307             mouse_events: 0;
9308             description { state: "default" 0.0;
9309                color: 128 128 128 128;
9310             }
9311          }
9312       }
9313    }
9314
9315    group { name: "elm/entry/anchor/default";
9316       parts {
9317          part { name: "bg";
9318             type: RECT;
9319             mouse_events: 0;
9320             description { state: "default" 0.0;
9321                color: 128 0 0 64;
9322             }
9323          }
9324       }
9325    }
9326
9327 ///////////////////////////////////////////////////////////////////////////////
9328   group { name: "elm/bubble/top_left/default";
9329     alias: "elm/bubble/base/default";
9330     images {
9331       image: "bubble_3.png" COMP;
9332       image: "bubble_shine3.png" COMP;
9333     }
9334     parts {
9335       part { name: "event";
9336          type: RECT;
9337          description {
9338             state: "default" 0.0;
9339             color: 0 0 0 0;
9340          }
9341       }
9342       part { name: "elm.swallow.icon";
9343         type: SWALLOW;
9344         description { state: "default" 0.0;
9345           fixed: 1 1;
9346           visible: 0;
9347           align: 0.0 0.0;
9348           aspect: 1.0 1.0;
9349           aspect_preference: VERTICAL;
9350           rel1 {
9351             relative: 0.0 0.0;
9352             offset: 4 4;
9353           }
9354           rel2 {
9355             to_y: "elm.text";
9356             relative: 0.0 1.0;
9357             offset: 4 -1;
9358           }
9359         }
9360         description { state: "visible" 0.0;
9361           inherit: "default" 0.0;
9362           visible: 1;
9363         }
9364       }
9365       part { name: "elm.text";
9366         type: TEXT;
9367         mouse_events:   0;
9368         scale: 1;
9369         description { state: "default" 0.0;
9370           align: 0.0 0.0;
9371           fixed: 0 1;
9372           rel1 {
9373             to_x: "elm.swallow.icon";
9374             relative: 1.0 0.0;
9375             offset: 4 4;
9376           }
9377           rel2 {
9378             to_x: "elm.info";
9379             relative: 0.0 0.0;
9380             offset: -5 4;
9381           }
9382           color: 0 0 0 255;
9383           text {
9384             font: "Sans:style=Bold,Edje-Vera-Bold";
9385             size: 10;
9386             min: 0 1;
9387             max: 0 1;
9388             align: 0.0 0.0;
9389           }
9390         }
9391       }
9392       part { name: "elm.info";
9393         type: TEXT;
9394         mouse_events:   0;
9395         scale: 1;
9396         description { state: "default" 0.0;
9397           align: 1.0 0.0;
9398           fixed: 1 1;
9399           rel1 {
9400             relative: 1.0 0.0;
9401             offset: -5 4;
9402           }
9403           rel2 {
9404             relative: 1.0 0.0;
9405             offset: -5 4;
9406           }
9407           color: 0 0 0 64;
9408           text {
9409             font: "Sans:style=Bold,Edje-Vera-Bold";
9410             size: 10;
9411             min: 1 1;
9412             max: 1 1;
9413             align: 1.0 0.0;
9414           }
9415         }
9416       }
9417       part { name: "base0";
9418         mouse_events:  0;
9419         description { state: "default" 0.0;
9420           rel1 {
9421             to_y: "elm.swallow.icon";
9422             relative: 0.0 1.0;
9423             offset: 0 0;
9424           }
9425           image {
9426             normal: "bubble_3.png";
9427             border: 36 11 18 9;
9428           }
9429           image.middle: SOLID;
9430           fill.smooth: 0;
9431         }
9432       }
9433       part { name: "elm.swallow.content";
9434         type: SWALLOW;
9435         description { state: "default" 0.0;
9436           rel1 {
9437             to: "base0";
9438             offset: 9 16;
9439           }
9440           rel2 {
9441             to: "base0";
9442             offset: -10 -9;
9443           }
9444         }
9445       }
9446       part { name: "shine";
9447         mouse_events:  0;
9448         description { state:    "default" 0.0;
9449           rel1 {
9450             to: "base0";
9451             offset: 5 4;
9452           }
9453           rel2 {
9454             to: "base0";
9455             relative: 1.0 0.5;
9456             offset: -6 7;
9457           }
9458           image {
9459             normal: "bubble_shine3.png";
9460             border: 36 5 14 0;
9461           }
9462           fill.smooth: 0;
9463         }
9464       }
9465     }
9466     programs {
9467       program {
9468         name: "icon_show";
9469         signal: "elm,state,icon,visible";
9470         source: "elm";
9471         action: STATE_SET "visible" 0.0;
9472         target: "elm.swallow.icon";
9473       }
9474       program {
9475         name: "icon_hide";
9476         signal: "elm,state,icon,hidden";
9477         source: "elm";
9478         action: STATE_SET "default" 0.0;
9479         target: "elm.swallow.icon";
9480       }
9481     }
9482   }
9483
9484   group { name: "elm/bubble/top_right/default";
9485     images {
9486       image: "bubble_4.png" COMP;
9487       image: "bubble_shine4.png" COMP;
9488     }
9489     parts {
9490       part { name: "event";
9491          type: RECT;
9492          description {
9493             state: "default" 0.0;
9494             color: 0 0 0 0;
9495          }
9496       }
9497       part { name: "elm.swallow.icon";
9498         type: SWALLOW;
9499         description { state: "default" 0.0;
9500           fixed: 1 1;
9501           visible: 0;
9502           align: 1.0 0.0;
9503           aspect: 1.0 1.0;
9504           aspect_preference: VERTICAL;
9505           rel1 {
9506             relative: 1.0 0.0;
9507             offset: -5 4;
9508           }
9509           rel2 {
9510             to_y: "elm.text";
9511             relative: 1.0 1.0;
9512             offset: -5 -1;
9513           }
9514         }
9515         description { state: "visible" 0.0;
9516           inherit: "default" 0.0;
9517           visible: 1;
9518         }
9519       }
9520       part { name: "elm.text";
9521         type: TEXT;
9522         mouse_events:   0;
9523         scale: 1;
9524         description { state: "default" 0.0;
9525           align: 0.0 0.0;
9526           fixed: 0 1;
9527           rel1 {
9528             relative: 0.0 0.0;
9529             offset: 4 4;
9530           }
9531           rel2 {
9532             to_x: "elm.info";
9533             relative: 0.0 0.0;
9534             offset: -5 4;
9535           }
9536           color: 0 0 0 255;
9537           text {
9538             font: "Sans:style=Bold,Edje-Vera-Bold";
9539             size: 10;
9540             min: 0 1;
9541             max: 0 1;
9542             align: 0.0 0.0;
9543           }
9544         }
9545       }
9546       part { name: "elm.info";
9547         type: TEXT;
9548         mouse_events:   0;
9549         scale: 1;
9550         description { state: "default" 0.0;
9551           align: 1.0 0.0;
9552           fixed: 1 1;
9553           rel1 {
9554             relative: 1.0 0.0;
9555             offset: -5 4;
9556           }
9557           rel2 {
9558             to_x: "elm.swallow.icon";
9559             relative: 0.0 0.0;
9560             offset: -5 4;
9561           }
9562           color: 0 0 0 64;
9563           text {
9564             font: "Sans:style=Bold,Edje-Vera-Bold";
9565             size: 10;
9566             min: 1 1;
9567             max: 1 1;
9568             align: 1.0 0.0;
9569           }
9570         }
9571       }
9572       part { name: "base0";
9573         mouse_events:  0;
9574         description { state: "default" 0.0;
9575           rel1 {
9576             to_y: "elm.swallow.icon";
9577             relative: 0.0 1.0;
9578             offset: 0 0;
9579           }
9580           image {
9581             normal: "bubble_4.png";
9582             border: 11 36 18 9;
9583           }
9584           image.middle: SOLID;
9585           fill.smooth: 0;
9586         }
9587       }
9588       part { name: "elm.swallow.content";
9589         type: SWALLOW;
9590         description { state: "default" 0.0;
9591           rel1 {
9592             to: "base0";
9593             offset: 9 16;
9594           }
9595           rel2 {
9596             to: "base0";
9597             offset: -10 -9;
9598           }
9599         }
9600       }
9601       part { name: "shine";
9602         mouse_events:  0;
9603         description { state:    "default" 0.0;
9604           rel1 {
9605             to: "base0";
9606             offset: 5 4;
9607           }
9608           rel2 {
9609             to: "base0";
9610             relative: 1.0 0.5;
9611             offset: -6 7;
9612           }
9613           image {
9614             normal: "bubble_shine4.png";
9615             border: 5 36 14 0;
9616           }
9617           fill.smooth: 0;
9618         }
9619       }
9620     }
9621     programs {
9622       program {
9623         name: "icon_show";
9624         signal: "elm,state,icon,visible";
9625         source: "elm";
9626         action: STATE_SET "visible" 0.0;
9627         target: "elm.swallow.icon";
9628       }
9629       program {
9630         name: "icon_hide";
9631         signal: "elm,state,icon,hidden";
9632         source: "elm";
9633         action: STATE_SET "default" 0.0;
9634         target: "elm.swallow.icon";
9635       }
9636     }
9637   }
9638
9639   group { name: "elm/bubble/bottom_left/default";
9640     images {
9641       image: "bubble_1.png" COMP;
9642       image: "bubble_shine.png" COMP;
9643     }
9644     parts {
9645       part { name: "event";
9646          type: RECT;
9647          description {
9648             state: "default" 0.0;
9649             color: 0 0 0 0;
9650          }
9651       }
9652       part { name: "elm.swallow.icon";
9653         type: SWALLOW;
9654         description { state: "default" 0.0;
9655           fixed: 1 1;
9656           visible: 0;
9657           align: 0.0 1.0;
9658           aspect: 1.0 1.0;
9659           aspect_preference: VERTICAL;
9660           rel1 {
9661             to_y: "elm.text";
9662             relative: 0.0 0.0;
9663             offset: 4 0;
9664           }
9665           rel2 {
9666             relative: 0.0 1.0;
9667             offset: 4 -5;
9668           }
9669         }
9670         description { state: "visible" 0.0;
9671           inherit: "default" 0.0;
9672           visible: 1;
9673         }
9674       }
9675       part { name: "elm.text";
9676         type: TEXT;
9677         mouse_events:   0;
9678         scale: 1;
9679         description { state: "default" 0.0;
9680           align: 0.0 1.0;
9681           fixed: 0 1;
9682           rel1 {
9683             to_x: "elm.swallow.icon";
9684             relative: 1.0 1.0;
9685             offset: 4 -5;
9686           }
9687           rel2 {
9688             to_x: "elm.info";
9689             relative: 0.0 1.0;
9690             offset: -5 -5;
9691           }
9692           color: 0 0 0 255;
9693           text {
9694             font: "Sans:style=Bold,Edje-Vera-Bold";
9695             size: 10;
9696             min: 0 1;
9697             max: 0 1;
9698             align: 0.0 1.0;
9699           }
9700         }
9701       }
9702       part { name: "elm.info";
9703         type: TEXT;
9704         mouse_events:   0;
9705         scale: 1;
9706         description { state: "default" 0.0;
9707           align: 1.0 1.0;
9708           fixed: 1 1;
9709           rel1 {
9710             relative: 1.0 1.0;
9711             offset: -5 -5;
9712           }
9713           rel2 {
9714             relative: 1.0 1.0;
9715             offset: -5 -5;
9716           }
9717           color: 0 0 0 64;
9718           text {
9719             font: "Sans:style=Bold,Edje-Vera-Bold";
9720             size: 10;
9721             min: 1 1;
9722             max: 1 1;
9723             align: 1.0 1.0;
9724           }
9725         }
9726       }
9727       part { name: "base0";
9728         mouse_events:  0;
9729         description { state: "default" 0.0;
9730           rel2 {
9731             to_y: "elm.swallow.icon";
9732             relative: 1.0 0.0;
9733             offset: -1 -1;
9734           }
9735           image {
9736             normal: "bubble_1.png";
9737             border: 36 11 10 19;
9738           }
9739           image.middle: SOLID;
9740           fill.smooth: 0;
9741         }
9742       }
9743       part { name: "elm.swallow.content";
9744         type: SWALLOW;
9745         description { state: "default" 0.0;
9746           rel1 {
9747             to: "base0";
9748             offset: 9 8;
9749           }
9750           rel2 {
9751             to: "base0";
9752             offset: -10 -17;
9753           }
9754         }
9755       }
9756       part { name: "shine";
9757         mouse_events:  0;
9758         description { state:    "default" 0.0;
9759           rel1 {
9760             to: "base0";
9761             offset: 5 4;
9762           }
9763           rel2 {
9764             to: "base0";
9765             relative: 1.0 0.5;
9766             offset: -6 -16;
9767           }
9768           image {
9769             normal: "bubble_shine.png";
9770             border: 5 5 5 0;
9771           }
9772           fill.smooth: 0;
9773         }
9774       }
9775     }
9776     programs {
9777       program {
9778         name: "icon_show";
9779         signal: "elm,state,icon,visible";
9780         source: "elm";
9781         action: STATE_SET "visible" 0.0;
9782         target: "elm.swallow.icon";
9783       }
9784       program {
9785         name: "icon_hide";
9786         signal: "elm,state,icon,hidden";
9787         source: "elm";
9788         action: STATE_SET "default" 0.0;
9789         target: "elm.swallow.icon";
9790       }
9791     }
9792   }
9793
9794   group { name: "elm/bubble/bottom_right/default";
9795     images {
9796       image: "bubble_2.png" COMP;
9797       image: "bubble_shine.png" COMP;
9798     }
9799     parts {
9800       part { name: "event";
9801          type: RECT;
9802          description {
9803             state: "default" 0.0;
9804             color: 0 0 0 0;
9805          }
9806       }
9807       part { name: "elm.swallow.icon";
9808         type: SWALLOW;
9809         description { state: "default" 0.0;
9810           fixed: 1 1;
9811           visible: 0.0;
9812           align: 1.0 1.0;
9813           aspect: 1.0 1.0;
9814           aspect_preference: VERTICAL;
9815           rel1 {
9816             to_y: "elm.text";
9817             relative: 1.0 0.0;
9818             offset: -5 0;
9819           }
9820           rel2 {
9821             relative: 1.0 1.0;
9822             offset: -5 -5;
9823           }
9824         }
9825         description { state: "visible" 0.0;
9826           inherit: "default" 0.0;
9827           visible: 1;
9828         }
9829       }
9830       part { name: "elm.text";
9831         type: TEXT;
9832         mouse_events:   0;
9833         scale: 1;
9834         description { state: "default" 0.0;
9835           align: 0.0 1.0;
9836           fixed: 0 1;
9837           rel1 {
9838             relative: 0.0 1.0;
9839             offset: 4 -5;
9840           }
9841           rel2 {
9842             to_x: "elm.info";
9843             relative: 0.0 1.0;
9844             offset: -5 -5;
9845           }
9846           color: 0 0 0 255;
9847           text {
9848             font: "Sans:style=Bold,Edje-Vera-Bold";
9849             size: 10;
9850             min: 0 1;
9851             max: 0 1;
9852             align: 0.0 1.0;
9853           }
9854         }
9855       }
9856       part { name: "elm.info";
9857         type: TEXT;
9858         mouse_events:   0;
9859         scale: 1;
9860         description { state: "default" 0.0;
9861           align: 1.0 1.0;
9862           fixed: 1 1;
9863           rel1 {
9864             relative: 1.0 1.0;
9865             offset: -5 -5;
9866           }
9867           rel2 {
9868             to_x: "elm.swallow.icon";
9869             relative: 0.0 1.0;
9870             offset: -5 -5;
9871           }
9872           color: 0 0 0 64;
9873           text {
9874             font: "Sans:style=Bold,Edje-Vera-Bold";
9875             size: 10;
9876             min: 1 1;
9877             max: 1 1;
9878             align: 1.0 1.0;
9879           }
9880         }
9881       }
9882       part { name: "base0";
9883         mouse_events:  0;
9884         description { state: "default" 0.0;
9885           rel2 {
9886             to_y: "elm.swallow.icon";
9887             relative: 1.0 0.0;
9888             offset: -1 -1;
9889           }
9890           image {
9891             normal: "bubble_2.png";
9892             border: 11 36 10 19;
9893           }
9894           image.middle: SOLID;
9895           fill.smooth: 0;
9896         }
9897       }
9898       part { name: "elm.swallow.content";
9899         type: SWALLOW;
9900         description { state: "default" 0.0;
9901           rel1 {
9902             to: "base0";
9903             offset: 9 8;
9904           }
9905           rel2 {
9906             to: "base0";
9907             offset: -10 -17;
9908           }
9909         }
9910       }
9911       part { name: "shine";
9912         mouse_events:  0;
9913         description { state:    "default" 0.0;
9914           rel1 {
9915             to: "base0";
9916             offset: 5 4;
9917           }
9918           rel2 {
9919             to: "base0";
9920             relative: 1.0 0.5;
9921             offset: -6 -16;
9922           }
9923           image {
9924             normal: "bubble_shine.png";
9925             border: 5 5 5 0;
9926           }
9927           fill.smooth: 0;
9928         }
9929       }
9930     }
9931     programs {
9932       program {
9933         name: "icon_show";
9934         signal: "elm,state,icon,visible";
9935         source: "elm";
9936         action: STATE_SET "visible" 0.0;
9937         target: "elm.swallow.icon";
9938       }
9939       program {
9940         name: "icon_hide";
9941         signal: "elm,state,icon,hidden";
9942         source: "elm";
9943         action: STATE_SET "default" 0.0;
9944         target: "elm.swallow.icon";
9945       }
9946     }
9947   }
9948
9949 ///////////////////////////////////////////////////////////////////////////////
9950    group { name: "elm/photo/base/default";
9951       images {
9952          image: "frame_1.png" COMP;
9953          image: "frame_2.png" COMP;
9954          image: "dia_grad.png" COMP;
9955          image: "head.png" COMP;
9956       }
9957       parts {
9958          part { name: "base0";
9959             mouse_events:  0;
9960             description { state: "default" 0.0;
9961                image.normal: "dia_grad.png";
9962                rel1.to: "over";
9963                rel2.to: "over";
9964                fill {
9965                   smooth: 0;
9966                   size {
9967                      relative: 0.0 1.0;
9968                      offset: 64 0;
9969                   }
9970                }
9971             }
9972          }
9973          part { name: "base";
9974             mouse_events:  0;
9975             description { state:    "default" 0.0;
9976                image {
9977                   normal: "frame_2.png";
9978                   border: 5 5 32 26;
9979                   middle: 0;
9980                }
9981                fill.smooth : 0;
9982             }
9983          }
9984          part { name: "head";
9985             mouse_events:  0;
9986             description { state:    "default" 0.0;
9987                rel1.offset: 4 4;
9988                rel2.offset: -5 -5;
9989                aspect: 1.0 1.0;
9990                aspect_preference: BOTH;
9991                image.normal: "head.png";
9992             }
9993          }
9994          part { name: "clip";
9995             mouse_events:  0;
9996             type: RECT;
9997             description { state:    "default" 0.0;
9998                rel1.offset: 4 4;
9999                rel2.offset: -5 -5;
10000                color: 255 255 255 255;
10001             }
10002          }
10003          part { name: "elm.swallow.content";
10004             type: SWALLOW;
10005             clip_to: "clip";
10006             description { state: "default" 0.0;
10007                rel1.offset: 4 4;
10008                rel2.offset: -5 -5;
10009             }
10010          }
10011          part { name: "over";
10012             mouse_events:  0;
10013             description { state:    "default" 0.0;
10014                rel1.offset: 4 4;
10015                rel2.offset: -5 -5;
10016                image {
10017                   normal: "frame_1.png";
10018                   border: 2 2 28 22;
10019                   middle: 0;
10020                }
10021                fill.smooth: 0;
10022             }
10023          }
10024      }
10025    }
10026    
10027    group { name: "elm/photo/base/shadow";
10028         images {
10029                         image: "shadow.png" COMP;
10030                         image: "black.png" COMP;
10031         }
10032         script {
10033         public message(Msg_Type:type, id, ...) {
10034                 if( (type==MSG_INT_SET) && (id==0) )
10035                 {
10036                 new w;
10037                 new h;
10038            
10039                 custom_state(PART:"size", "default", 0.0);
10040
10041                 w = getarg(2);
10042                 h = getarg(3);
10043                 set_state_val(PART:"size", STATE_REL1_OFFSET, - w/2, - h/2);
10044                 set_state_val(PART:"size", STATE_REL2_OFFSET, w/2 + 1, h/2 + 1);
10045                 set_state(PART:"size", "custom", 0.0);
10046                 }
10047         }
10048         }
10049         parts {
10050         part { name: "size";
10051                 type: SWALLOW;
10052                 description { state: "default" 0.0;
10053                         rel1.relative: 0.5 0.5;
10054                         rel2.relative: 0.5 0.5;
10055                 }
10056                 }
10057         part {
10058                 name: "shadow";
10059                 type: IMAGE;
10060                 repeat_events: 1;
10061                 description {
10062                 state: "default" 0.0;
10063                 rel1.to: "size";
10064                 rel2.to: "size";
10065                 rel1.relative: -0.06 -0.06;
10066                 rel2.relative: 1.07 1.07;
10067                 image.normal: "shadow.png";
10068                 }
10069         }
10070         
10071         
10072                 part { name: "elm.swallow.content";
10073                 type: SWALLOW;
10074                 description { state: "default" 0.0;
10075                 rel1.offset: 3 3;
10076                 rel2.offset: -3 -3;
10077                         fixed: 1 1;
10078                 }
10079                 }
10080                 
10081                 part {
10082                 name: "border";
10083                 type: IMAGE;
10084                 repeat_events: 1;
10085                 description {
10086                 state: "default" 0.0;
10087                 visible: 1;
10088                 color: 0 0 0 255;
10089                 rel1.to: "size";
10090                 rel2.to: "size";
10091                 image.normal: "black.png";
10092                 image.border: 1 1 1 1;
10093                 image.middle: 0;
10094                 }
10095         }
10096                 }
10097    }
10098
10099 ///////////////////////////////////////////////////////////////////////////////
10100    group { name: "elm/thumb/base/default";
10101       images {
10102          image: "frame_1.png" COMP;
10103          image: "frame_2.png" COMP;
10104          image: "dia_grad.png" COMP;
10105          image: "busy-1.png" COMP;
10106          image: "busy-2.png" COMP;
10107          image: "busy-3.png" COMP;
10108          image: "busy-4.png" COMP;
10109          image: "busy-5.png" COMP;
10110          image: "busy-6.png" COMP;
10111          image: "busy-7.png" COMP;
10112          image: "busy-8.png" COMP;
10113          image: "busy-9.png" COMP;
10114       }
10115       parts {
10116          part { name: "base0";
10117             mouse_events:  0;
10118             description { state:        "default" 0.0;
10119                image.normal: "dia_grad.png";
10120                rel1.to: "over";
10121                rel2.to: "over";
10122                fill {
10123                   smooth: 0;
10124                   size {
10125                      relative: 0.0 1.0;
10126                      offset: 64 0;
10127                   }
10128                }
10129             }
10130          }
10131          part { name: "base";
10132             mouse_events:  0;
10133             description { state:        "default" 0.0;
10134                image {
10135                   normal: "frame_2.png";
10136                   border: 5 5 32 26;
10137                   middle: 0;
10138                }
10139                fill.smooth : 0;
10140             }
10141          }
10142          part { name: "clip";
10143             mouse_events:  0;
10144             type: RECT;
10145             description { state:        "default" 0.0;
10146                rel1.offset: 4 4;
10147                rel2.offset: -5 -5;
10148                color: 255 255 255 255;
10149             }
10150          }
10151          part { name: "elm.swallow.content";
10152             type: SWALLOW;
10153             clip_to: "clip";
10154             description { state:        "default" 0.0;
10155                rel1.offset: 4 4;
10156                rel2.offset: -5 -5;
10157             }
10158          }
10159          part { name: "progress";
10160             mouse_events: 0;
10161
10162             clip_to: "clip";
10163             description { state:        "default" 0.0;
10164                min: 32 32;
10165                max: 32 32;
10166                visible: 0;
10167                aspect: 1.0 1.0;
10168                aspect_preference: BOTH;
10169             }
10170             description { state:        "pulse" 0.0;
10171                inherit: "default" 0.0;
10172                visible: 1;
10173                image {
10174                   normal: "busy-9.png";
10175                   tween:  "busy-1.png";
10176                   tween:  "busy-2.png";
10177                   tween:  "busy-3.png";
10178                   tween:  "busy-4.png";
10179                   tween:  "busy-5.png";
10180                   tween:  "busy-6.png";
10181                   tween:  "busy-7.png";
10182                   tween:  "busy-8.png";
10183                   border: 7 7 7 7;
10184                }
10185             }
10186          }
10187          part { name: "over";
10188             mouse_events:  0;
10189             description { state:        "default" 0.0;
10190                rel1.offset: 4 4;
10191                rel2.offset: -5 -5;
10192                image {
10193                   normal: "frame_1.png";
10194                   border: 2 2 28 22;
10195                   middle: 0;
10196                }
10197                fill.smooth: 0;
10198             }
10199          }
10200          programs {
10201             program { name: "start_pulse";
10202                signal: "elm,state,pulse,start";
10203                source: "elm";
10204                action: STATE_SET "pulse" 0.0;
10205                target: "progress";
10206                transition: LINEAR 0.5;
10207                after: "start_pulse";
10208             }
10209             program { name: "stop_pulse";
10210                signal: "elm,state,pulse,stop";
10211                source: "elm";
10212                action: STATE_SET "default" 0.0;
10213                target: "progress";
10214             }
10215          }
10216       }
10217    }
10218
10219    group { name: "elm/thumb/base/noframe";
10220       images {
10221          image: "busy-1.png" COMP;
10222          image: "busy-2.png" COMP;
10223          image: "busy-3.png" COMP;
10224          image: "busy-4.png" COMP;
10225          image: "busy-5.png" COMP;
10226          image: "busy-6.png" COMP;
10227          image: "busy-7.png" COMP;
10228          image: "busy-8.png" COMP;
10229          image: "busy-9.png" COMP;
10230       }
10231       parts {
10232          part { name: "elm.swallow.content";
10233             type: SWALLOW;
10234             description { state: "default" 0.0;
10235                rel1.offset: 4 4;
10236                rel2.offset: -5 -5;
10237             }
10238          }
10239          part { name: "progress";
10240             mouse_events: 0;
10241             description { state:        "default" 0.0;
10242                min: 32 32;
10243                max: 32 32;
10244                visible: 0;
10245                aspect: 1.0 1.0;
10246                aspect_preference: BOTH;
10247             }
10248             description { state:        "pulse" 0.0;
10249                inherit: "default" 0.0;
10250                visible: 1;
10251                image {
10252                   normal: "busy-9.png";
10253                   tween:  "busy-1.png";
10254                   tween:  "busy-2.png";
10255                   tween:  "busy-3.png";
10256                   tween:  "busy-4.png";
10257                   tween:  "busy-5.png";
10258                   tween:  "busy-6.png";
10259                   tween:  "busy-7.png";
10260                   tween:  "busy-8.png";
10261                   border: 7 7 7 7;
10262                }
10263             }
10264          }
10265          programs {
10266             program { name: "start_pulse";
10267                signal: "elm,state,pulse,start";
10268                source: "elm";
10269                action: STATE_SET "pulse" 0.0;
10270                target: "progress";
10271                transition: LINEAR 0.5;
10272                after: "start_pulse";
10273             }
10274             program { name: "stop_pulse";
10275                signal: "elm,state,pulse,stop";
10276                source: "elm";
10277                action: STATE_SET "default" 0.0;
10278                target: "progress";
10279             }
10280          }
10281       }
10282    }
10283
10284
10285 ///////////////////////////////////////////////////////////////////////////////
10286    group { name: "elm/icon/home/default"; alias: "elm/icon/toolbar/home/default"; min: 32 32;
10287       images.image: "icon_home.png" COMP; parts { part { name: "base";
10288          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10289             image.normal: "icon_home.png"; } } } }
10290    group { name: "elm/icon/close/default"; alias: "elm/icon/toolbar/close/default"; min: 32 32;
10291       images.image: "icon_close.png" COMP; parts { part { name: "base";
10292          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10293             image.normal: "icon_close.png"; } } } }
10294    group { name: "elm/icon/apps/default"; alias: "elm/icon/toolbar/apps/default"; min: 32 32;
10295       images.image: "icon_apps.png" COMP; parts { part { name: "base";
10296          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10297             image.normal: "icon_apps.png"; } } } }
10298    group { name: "elm/icon/arrow_up/default"; alias: "elm/icon/toolbar/arrow_up/default"; min: 32 32;
10299       images.image: "icon_arrow_up.png" COMP; parts { part { name: "base";
10300          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10301             image.normal: "icon_arrow_up.png"; } } } }
10302    group { name: "elm/icon/arrow_down/default";
10303            alias: "elm/icon/toolbar/arrow_down/default";
10304            alias: "elm/icon/toolbar/more_menu/default"; min: 32 32;
10305       images.image: "icon_arrow_down.png" COMP; parts { part { name: "base";
10306          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10307             image.normal: "icon_arrow_down.png"; } } } }
10308    group { name: "elm/icon/arrow_left/default"; alias: "elm/icon/toolbar/arrow_left/default"; min: 32 32;
10309       images.image: "icon_arrow_left.png" COMP; parts { part { name: "base";
10310          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10311             image.normal: "icon_arrow_left.png"; } } } }
10312    group { name: "elm/icon/arrow_right/default"; alias: "elm/icon/toolbar/arrow_right/default"; min: 32 32;
10313       images.image: "icon_arrow_right.png" COMP; parts { part { name: "base";
10314          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10315             image.normal: "icon_arrow_right.png"; } } } }
10316    group { name: "elm/icon/chat/default"; alias: "elm/icon/toolbar/chat/default"; min: 32 32;
10317       images.image: "icon_chat.png" COMP; parts { part { name: "base";
10318          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10319             image.normal: "icon_chat.png"; } } } }
10320    group { name: "elm/icon/clock/default"; alias: "elm/icon/toolbar/clock/default"; min: 32 32;
10321       images.image: "icon_clock.png" COMP; parts { part { name: "base";
10322          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10323             image.normal: "icon_clock.png"; } } } }
10324    group { name: "elm/icon/delete/default"; alias: "elm/icon/toolbar/delete/default"; min: 32 32;
10325       images.image: "icon_delete.png" COMP; parts { part { name: "base";
10326          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10327             image.normal: "icon_delete.png"; } } } }
10328    group { name: "elm/icon/edit/default"; alias: "elm/icon/toolbar/edit/default"; min: 32 32;
10329       images.image: "icon_edit.png" COMP; parts { part { name: "base";
10330          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10331             image.normal: "icon_edit.png"; } } } }
10332    group { name: "elm/icon/refresh/default"; alias: "elm/icon/toolbar/refresh/default"; min: 32 32;
10333       images.image: "icon_refresh.png" COMP; parts { part { name: "base";
10334          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10335             image.normal: "icon_refresh.png"; } } } }
10336    group { name: "elm/icon/folder/default"; alias: "elm/icon/toolbar/folder/default"; min: 32 32;
10337       images.image: "icon_folder.png" COMP; parts { part { name: "base";
10338          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10339             image.normal: "icon_folder.png"; } } } }
10340    group { name: "elm/icon/file/default"; alias: "elm/icon/toolbar/file/default"; min: 32 32;
10341       images.image: "icon_file.png" COMP; parts { part { name: "base";
10342          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10343             image.normal: "icon_file.png"; } } } }
10344 ///////////////////////////////////////////////////////////////////////////////
10345    group { name: "elm/icon/menu/home/default"; min: 24 24; max: 24 24;
10346       images.image: "icon_home.png" COMP; parts { part { name: "base";
10347          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10348             image.normal: "icon_home.png"; } } } }
10349    group { name: "elm/icon/menu/close/default"; min: 24 24; max: 24 24;
10350       images.image: "icon_close.png" COMP; parts { part { name: "base";
10351          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10352             image.normal: "icon_close.png"; } } } }
10353    group { name: "elm/icon/menu/apps/default"; min: 24 24; max: 24 24;
10354       images.image: "icon_apps.png" COMP; parts { part { name: "base";
10355          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10356             image.normal: "icon_apps.png"; } } } }
10357    group { name: "elm/icon/menu/arrow_up/default"; min: 24 24; max: 24 24;
10358       images.image: "icon_arrow_up.png" COMP; parts { part { name: "base";
10359          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10360             image.normal: "icon_arrow_up.png"; } } } }
10361    group { name: "elm/icon/menu/arrow_down/default"; min: 24 24; max: 24 24;
10362       images.image: "icon_arrow_down.png" COMP; parts { part { name: "base";
10363          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10364             image.normal: "icon_arrow_down.png"; } } } }
10365    group { name: "elm/icon/menu/arrow_left/default"; min: 24 24; max: 24 24;
10366       images.image: "icon_arrow_left.png" COMP; parts { part { name: "base";
10367          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10368             image.normal: "icon_arrow_left.png"; } } } }
10369    group { name: "elm/icon/menu/arrow_right/default"; min: 24 24; max: 24 24;
10370       images.image: "icon_arrow_right.png" COMP; parts { part { name: "base";
10371          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10372             image.normal: "icon_arrow_right.png"; } } } }
10373    group { name: "elm/icon/menu/chat/default"; min: 24 24; max: 24 24;
10374       images.image: "icon_chat.png" COMP; parts { part { name: "base";
10375          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10376             image.normal: "icon_chat.png"; } } } }
10377    group { name: "elm/icon/menu/clock/default"; min: 24 24; max: 24 24;
10378       images.image: "icon_clock.png" COMP; parts { part { name: "base";
10379          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10380             image.normal: "icon_clock.png"; } } } }
10381    group { name: "elm/icon/menu/delete/default"; min: 24 24; max: 24 24;
10382       images.image: "icon_delete.png" COMP; parts { part { name: "base";
10383          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10384             image.normal: "icon_delete.png"; } } } }
10385    group { name: "elm/icon/menu/edit/default"; min: 24 24; max: 24 24;
10386       images.image: "icon_edit.png" COMP; parts { part { name: "base";
10387          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10388             image.normal: "icon_edit.png"; } } } }
10389    group { name: "elm/icon/menu/refresh/default"; min: 24 24; max: 24 24;
10390       images.image: "icon_refresh.png" COMP; parts { part { name: "base";
10391          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10392             image.normal: "icon_refresh.png"; } } } }
10393    group { name: "elm/icon/menu/folder/default"; min: 24 24; max: 24 24;
10394       images.image: "icon_folder.png" COMP; parts { part { name: "base";
10395          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10396             image.normal: "icon_folder.png"; } } } }
10397    group { name: "elm/icon/menu/file/default"; min: 24 24; max: 24 24;
10398       images.image: "icon_file.png" COMP; parts { part { name: "base";
10399          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10400             image.normal: "icon_file.png"; } } } }
10401
10402 ///////////////////////////////////////////////////////////////////////////////
10403    group { name: "elm/toolbar/base/default";
10404       images {
10405          image: "bt_dis_base.png" COMP;
10406          image: "bt_dis_hilight.png" COMP;
10407          image: "bt_dis_shine.png" COMP;
10408          image: "icon_left_arrow.png" COMP;
10409          image: "icon_right_arrow.png" COMP;
10410       }
10411       parts {
10412          part { name: "base";
10413             mouse_events: 1;
10414             description { state: "default" 0.0;
10415                rel1 {
10416                   relative: 0.0 0.0;
10417                   offset: 2 2;
10418                }
10419                rel2.offset: -3 -3;
10420                image {
10421                   normal: "bt_dis_base.png";
10422                   border: 4 4 4 4;
10423                }
10424                image.middle: SOLID;
10425             }
10426          }
10427          part { name: "clipper";
10428             type: RECT;
10429             mouse_events: 0;
10430             description {
10431                state: "default" 0.0;
10432                rel1 {
10433                   to: "base";
10434                   offset: 2 2;
10435                }
10436                rel2 {
10437                   to: "base";
10438                   offset: -3 -3;
10439                }
10440             }
10441          }
10442          part { name: "elm.swallow.content";
10443             clip_to: "clipper";
10444             type: SWALLOW;
10445             description {
10446                state: "default" 0.0;
10447                rel1.to: "clipper";
10448                rel2.to: "clipper";
10449             }
10450          }
10451          part { name: "over2";
10452             mouse_events: 0;
10453             description { state: "default" 0.0;
10454                rel1.to: "base";
10455                rel2.to: "base";
10456                image {
10457                   normal: "bt_dis_shine.png";
10458                   border: 4 4 4 4;
10459                }
10460             }
10461          }
10462          part { name: "over1";
10463             mouse_events: 0;
10464             description { state: "default" 0.0;
10465                rel1.to: "base";
10466                rel2.to: "base";
10467                rel2.relative: 1.0 0.5;
10468                image {
10469                   normal: "bt_dis_hilight.png";
10470                   border: 4 4 4 0;
10471                }
10472                color: 255 255 255 128;
10473             }
10474          }
10475          part { name: "left_arrow";
10476             mouse_events: 0;
10477             description { state: "default" 0.0;
10478                image.normal: "icon_left_arrow.png";
10479                aspect: 1.0 1.0;
10480                aspect_preference: VERTICAL;
10481                align: 0.0 0.5;
10482                min: 32 32;
10483                max: 32 32;
10484             }
10485             description { state: "hidden" 0.0;
10486                inherit: "default" 0.0;
10487                visible: 0;
10488                color: 255 255 255 0;
10489             }
10490          }
10491          part { name: "right_arrow";
10492             mouse_events: 0;
10493             description { state: "default" 0.0;
10494                image.normal: "icon_right_arrow.png";
10495                aspect: 1.0 1.0;
10496                aspect_preference: VERTICAL;
10497                align: 1.0 0.5;
10498                min: 32 32;
10499                max: 32 32;
10500             }
10501             description { state: "hidden" 0.0;
10502                inherit: "default" 0.0;
10503                visible: 0;
10504                color: 255 255 255 0;
10505             }
10506          }
10507          part { name: "event";
10508             type: RECT;
10509             mouse_events: 1;
10510             repeat_events: 1;
10511             description { state: "default" 0.0;
10512                color: 0 0 0 0;
10513             }
10514          }
10515       }
10516       programs {
10517          program { name: "sb_hbar_show";
10518             signal: "elm,action,show,hbar";
10519             source: "elm";
10520             action:  STATE_SET "default" 0.0;
10521             transition: LINEAR 0.5;
10522             target: "left_arrow";
10523             target: "right_arrow";
10524          }
10525          program { name: "sb_hbar_hide";
10526             signal: "elm,action,hide,hbar";
10527             source: "elm";
10528             action:  STATE_SET "hidden" 0.0;
10529             target: "left_arrow";
10530             target: "right_arrow";
10531             transition: LINEAR 0.5;
10532          }
10533       }
10534    }
10535
10536    group { name: "elm/toolbar/item/default";
10537        images {
10538            image: "toolbar_sel.png" COMP;
10539        }
10540        data.item: "transition_animation_on" "1";
10541        parts {
10542            part { name: "label2";
10543                type: TEXT;
10544                mouse_events:  0;
10545                scale: 1;
10546                clip_to: "elm.text.clipper";
10547                description { state: "default" 0.0;
10548                    align: 0.5 1.0;
10549                    fixed: 0 1;
10550                    rel1.to: "elm.text";
10551                    rel2.to: "elm.text";
10552                    color: 0 0 0 255;
10553                    text {
10554                        font: "Sans";
10555                        text_source: "elm.text";
10556                        size: 10;
10557                        min: 1 1;
10558                        align: 0.5 0.5;
10559                        text_class: "toolbar_item";
10560                    }
10561                }
10562                description { state: "selected" 0.0;
10563                    inherit: "default" 0.0;
10564                    visible: 0;
10565                }
10566                description { state: "disabled" 0.0;
10567                    inherit: "default" 0.0;
10568                    color: 0 0 0 128;
10569                    color3: 0 0 0 0;
10570                }
10571                description { state: "disabled_visible" 0.0;
10572                    inherit: "default" 0.0;
10573                    color: 0 0 0 128;
10574                    color3: 0 0 0 0;
10575                    visible: 1;
10576                    text.min: 1 1;
10577                }
10578            }
10579            part { name: "label2_new";
10580                type: TEXT;
10581                mouse_events:  0;
10582                scale: 1;
10583                clip_to: "elm.text_new.clipper";
10584                description { state: "default" 0.0;
10585                    align: 0.5 1.0;
10586                    fixed: 0 1;
10587                    rel1.to: "elm.text_new";
10588                    rel2.to: "elm.text_new";
10589                    color: 0 0 0 255;
10590                    text {
10591                        font: "Sans";
10592                        text_source: "elm.text_new";
10593                        size: 10;
10594                        min: 1 1;
10595                        align: 0.5 0.5;
10596                        text_class: "toolbar_item";
10597                    }
10598                }
10599                description { state: "selected" 0.0;
10600                    inherit: "default" 0.0;
10601                    visible: 0;
10602                }
10603                description { state: "disabled" 0.0;
10604                    inherit: "default" 0.0;
10605                    color: 0 0 0 128;
10606                    color3: 0 0 0 0;
10607                }
10608                description { state: "disabled_visible" 0.0;
10609                    inherit: "default" 0.0;
10610                    color: 0 0 0 128;
10611                    color3: 0 0 0 0;
10612                    visible: 1;
10613                    text.min: 1 1;
10614                }
10615            }
10616            part { name: "bg";
10617                mouse_events: 0;
10618                description { state: "default" 0.0;
10619                    visible: 0;
10620                    color: 255 255 255 0;
10621                    image {
10622                        normal: "toolbar_sel.png";
10623                        border: 3 3 0 0;
10624                    }
10625                    image.middle: SOLID;
10626                    fill.smooth: 0;
10627                }
10628                description { state: "selected" 0.0;
10629                    inherit: "default" 0.0;
10630                    visible: 1;
10631                    color: 255 255 255 255;
10632                }
10633                description { state: "disabled" 0.0;
10634                    inherit: "default" 0.0;
10635                    visible: 0;
10636                    color: 255 255 255 0;
10637                }
10638            }
10639            part { name: "elm.swallow.icon";
10640                type: SWALLOW;
10641                clip_to: "elm.icon.clipper";
10642                description { state: "default" 0.0;
10643                    align: 0.5 0.5;
10644                    fixed: 0 0;
10645                    rel1 {
10646                        relative: 0.0 0.0;
10647                        offset: 2 2;
10648                    }
10649                    rel2 {
10650                        to_y: "elm.text";
10651                        relative: 1.0 0.0;
10652                        offset: -3 -1;
10653                    }
10654                    color: 0 0 0 0;
10655                }
10656            }
10657            part { name: "elm.swallow.icon_new";
10658                type: SWALLOW;
10659                clip_to: "elm.icon_new.clipper";
10660                description { state: "default" 0.0;
10661                    align: 0.5 0.5;
10662                    fixed: 0 0;
10663                    rel1 {
10664                        relative: 0.0 0.0;
10665                        offset: 2 2;
10666                    }
10667                    rel2 {
10668                        to_y: "elm.text_new";
10669                        relative: 1.0 0.0;
10670                        offset: -3 -1;
10671                    }
10672                    color: 0 0 0 0;
10673                }
10674            }
10675            part { name: "elm.text";
10676                type: TEXT;
10677                effect: SOFT_SHADOW;
10678                mouse_events:  0;
10679                scale: 1;
10680                clip_to: "elm.text.clipper";
10681                description { state: "default" 0.0;
10682                    align: 0.5 1.0;
10683                    fixed: 0 1;
10684                    rel1 {
10685                        relative: 0.0 1.0;
10686                        offset:   0 -1;
10687                    }
10688                    rel2 {
10689                        relative: 1.0 1.0;
10690                        offset:   -1 -1;
10691                    }
10692                    visible: 0;
10693                    color: 224 224 224 255;
10694                    color3: 0 0 0 32;
10695                    text {
10696                        font: "Sans:style=Bold";
10697                        size: 10;
10698                        min: 1 1;
10699                        align: 0.5 0.5;
10700                        text_class: "toolbar_item";
10701                    }
10702                }
10703                description { state: "selected" 0.0;
10704                    inherit: "default" 0.0;
10705                    visible: 1;
10706                }
10707                description { state: "visible" 0.0;
10708                    inherit: "default" 0.0;
10709                    visible: 1;
10710                    text.min: 1 1;
10711                }
10712                description { state: "disabled" 0.0;
10713                    inherit: "default" 0.0;
10714                    color: 0 0 0 128;
10715                    color3: 0 0 0 0;
10716                }
10717                description { state: "disabled_visible" 0.0;
10718                    inherit: "default" 0.0;
10719                    color: 0 0 0 128;
10720                    color3: 0 0 0 0;
10721                    visible: 1;
10722                    text.min: 1 1;
10723                }
10724            }
10725            part { name: "elm.text_new";
10726                type: TEXT;
10727                effect: SOFT_SHADOW;
10728                mouse_events:  0;
10729                clip_to: "elm.text_new.clipper";
10730                scale: 1;
10731                description { state: "default" 0.0;
10732                    align: 0.5 1.0;
10733                    fixed: 0 1;
10734                    rel1 {
10735                        relative: 0.0 1.0;
10736                        offset:   0 -1;
10737                    }
10738                    rel2 {
10739                        relative: 1.0 1.0;
10740                        offset:   -1 -1;
10741                    }
10742                    visible: 0;
10743                    color: 224 224 224 255;
10744                    color3: 0 0 0 32;
10745                    text {
10746                        font: "Sans:style=Bold";
10747                        size: 10;
10748                        min: 1 1;
10749                        align: 0.5 0.5;
10750                        text_class: "toolbar_item";
10751                    }
10752                }
10753                description { state: "selected" 0.0;
10754                    inherit: "default" 0.0;
10755                    visible: 1;
10756                }
10757                description { state: "visible" 0.0;
10758                    inherit: "default" 0.0;
10759                    visible: 1;
10760                    text.min: 1 1;
10761                }
10762                description { state: "disabled" 0.0;
10763                    inherit: "default" 0.0;
10764                    color: 0 0 0 128;
10765                    color3: 0 0 0 0;
10766                }
10767                description { state: "disabled_visible" 0.0;
10768                    inherit: "default" 0.0;
10769                    color: 0 0 0 128;
10770                    color3: 0 0 0 0;
10771                    visible: 1;
10772                    text.min: 1 1;
10773                }
10774            }
10775            part { name: "elm.text.clipper";
10776                type: RECT;
10777                description { state: "default" 0.0;
10778                    color: 255 255 255 255;
10779                }
10780                description { state: "animation" 0.0;
10781                    color: 255 255 255 0;
10782                }
10783            }
10784            part { name: "elm.text_new.clipper";
10785                type: RECT;
10786                description { state: "default" 0.0;
10787                    color: 255 255 255 0;
10788                }
10789                description { state: "animation" 0.0;
10790                    color: 255 255 255 255;
10791                }
10792            }
10793            part { name: "elm.icon.clipper";
10794                type: RECT;
10795                description { state: "default" 0.0;
10796                    color: 255 255 255 255;
10797                }
10798                description { state: "animation" 0.0;
10799                    color: 255 255 255 0;
10800                }
10801            }
10802            part { name: "elm.icon_new.clipper";
10803                type: RECT;
10804                description { state: "default" 0.0;
10805                    color: 255 255 255 0;
10806                }
10807                description { state: "animation" 0.0;
10808                    color: 255 255 255 255;
10809                }
10810            }
10811            part { name: "event";
10812                type: RECT;
10813                mouse_events: 1;
10814                ignore_flags: ON_HOLD;
10815                description { state: "default" 0.0;
10816                    color: 0 0 0 0;
10817                }
10818            }
10819        }
10820        programs {
10821            program { name: "go_active";
10822                signal:  "elm,state,selected";
10823                source:  "elm";
10824                action:  STATE_SET "selected" 0.0;
10825                target:  "bg";
10826                target:  "elm.text";
10827                target:  "label2";
10828                target:  "elm.text_new";
10829                target:  "label2_new";
10830                transition: LINEAR 0.2;
10831            }
10832            program { name: "go_passive";
10833                signal:  "elm,state,unselected";
10834                source:  "elm";
10835                action:  STATE_SET "default" 0.0;
10836                target:  "bg";
10837                target:  "elm.text";
10838                target:  "label2";
10839                target:  "elm.text_new";
10840                target:  "label2_new";
10841                transition: LINEAR 0.1;
10842            }
10843            program { name: "go";
10844                signal:  "mouse,up,1";
10845                source:  "event";
10846                action:  SIGNAL_EMIT "elm,action,click" "elm";
10847            }
10848            program { name: "mouse,in";
10849               signal:  "mouse,in";
10850               source:  "event";
10851               action:  SIGNAL_EMIT "elm,mouse,in" "elm";
10852            }
10853            program { name: "mouse,out";
10854               signal:  "mouse,out";
10855               source:  "event";
10856               action:  SIGNAL_EMIT "elm,mouse,out" "elm";
10857            }
10858            program { name: "disable";
10859                signal: "elm,state,disabled";
10860                source: "elm";
10861                action: STATE_SET "disabled" 0.0;
10862                target: "label2";
10863                target: "label2_new";
10864                target: "bg";
10865                after: "disable_text";
10866            }
10867            program { name: "disable_text";
10868                script {
10869                    new st[31];
10870                    new Float:vl;
10871                    get_state(PART:"elm.text", st, 30, vl);
10872                    if (!strcmp(st, "visible"))
10873                    {
10874                       set_state(PART:"elm.text", "disabled_visible", 0.0);
10875                       set_state(PART:"elm.text_new", "disabled_visible", 0.0);
10876                    }
10877                    else
10878                    {
10879                       set_state(PART:"elm.text", "disabled", 0.0);
10880                       set_state(PART:"elm.text_new", "disabled", 0.0);
10881                    }
10882                }
10883            }
10884            program { name: "enable";
10885                signal: "elm,state,enabled";
10886                source: "elm";
10887                action: STATE_SET "default" 0.0;
10888                target: "label2";
10889                target: "label2_new";
10890                target: "bg";
10891                after: "enable_text";
10892            }
10893            program { name: "enable_text";
10894                script {
10895                    new st[31];
10896                    new Float:vl;
10897                    get_state(PART:"elm.text", st, 30, vl);
10898                    if (!strcmp(st, "disabled_visible"))
10899                    {
10900                       set_state(PART:"elm.text", "visible", 0.0);
10901                       set_state(PART:"elm.text_new", "visible", 0.0);
10902                    }
10903                    else
10904                    {
10905                       set_state(PART:"elm.text", "default", 0.0);
10906                       set_state(PART:"elm.text_new", "default", 0.0);
10907                    }
10908                }
10909            }
10910            program { name: "label_set,animation,forward";
10911               signal: "elm,state,label_set,forward";
10912               source: "elm";
10913               after: "label_set,animation";
10914            }
10915            program { name: "label_set,animation,backward";
10916               signal: "elm,state,label_set,backward";
10917               source: "elm";
10918               after: "label_set,animation";
10919            }
10920            program { name: "label_set,animation";
10921               signal: "elm,state,label_set";
10922               source: "elm";
10923               action: STATE_SET "animation" 0.0;
10924               target: "elm.text.clipper";
10925               target: "elm.text_new.clipper";
10926               transition: LINEAR 0.2;
10927               after: "label_set,animation,done";
10928            }
10929            program { name: "label_set,animation,done";
10930               action: SIGNAL_EMIT "elm,state,label_set,done" "elm";
10931            }
10932            program { name: "label,reset";
10933               signal: "elm,state,label,reset";
10934               source: "elm";
10935               action: STATE_SET "default" 0.0;
10936               target: "elm.text.clipper";
10937               target: "elm.text_new.clipper";
10938            }
10939            program { name: "icon_set,animation,forward";
10940               signal: "elm,state,icon_set,forward";
10941               source: "elm";
10942               after: "icon_set,animation";
10943            }
10944            program { name: "icon_set,animation,backward";
10945               signal: "elm,state,icon_set,backward";
10946               source: "elm";
10947               after: "icon_set,animation";
10948            }
10949            program { name: "icon_set,animation";
10950               signal: "elm,state,icon_set";
10951               source: "elm";
10952               action: STATE_SET "animation" 0.0;
10953               target: "elm.icon.clipper";
10954               target: "elm.icon_new.clipper";
10955               transition: LINEAR 0.2;
10956               after: "icon_set,animation,done";
10957            }
10958            program { name: "icon_set,animation,done";
10959               action: SIGNAL_EMIT "elm,state,icon_set,done" "elm";
10960            }
10961            program { name: "icon,reset";
10962               signal: "elm,state,icon,reset";
10963               source: "elm";
10964               action: STATE_SET "default" 0.0;
10965               target: "elm.icon.clipper";
10966               target: "elm.icon_new.clipper";
10967            }
10968        }
10969    }
10970
10971    group { name: "elm/toolbar/separator/default";
10972       images {
10973          image: "toolbar_separator_v.png" COMP;
10974       }
10975       parts {
10976          part { name: "separator"; // separator group
10977             description { state: "default" 0.0;
10978                min: 2 2;
10979                max: 2 9999;
10980                rel1.offset: 4 4;
10981                rel2.offset: -5 -5;
10982                image {
10983                   normal: "toolbar_separator_v.png";
10984                }
10985                fill {
10986                   smooth: 0;
10987                }
10988             }
10989          }
10990       }
10991    }
10992
10993    ///////////////////////////////////////////////////////////////////////////////
10994    group { name: "elm/notify/block_events/default";
10995        parts {
10996            part { name: "block_events";
10997                type: RECT;
10998                description { state: "default" 0.0;
10999                    color: 0 0 0 64;
11000                    visible: 1;
11001                }
11002            }
11003        }
11004            programs {
11005                    program {
11006                                 name: "block_clicked";
11007                                 signal: "mouse,clicked,1";
11008                                 source: "block_events";
11009                                 action: SIGNAL_EMIT "elm,action,clicked" "elm";
11010                    }
11011            }
11012    }
11013    group { name: "elm/notify/top/default";
11014        //this group is a design similar to the inwin group
11015        images {
11016            image: "shad_circ.png" COMP;
11017            image: "bt_dis_base.png" COMP;
11018            image: "bt_dis_hilight.png" COMP;
11019        }
11020        parts {
11021            part { name: "base";
11022                type: RECT;
11023                mouse_events: 0;
11024                repeat_events: 1;
11025                description { state: "default" 0.0;
11026                    color: 0 0 0 0;
11027                    rel1.offset: 10 10;
11028                    rel2.offset: -10 -10;
11029                    rel1.relative: 0.0 -1.0;
11030                    rel2.relative: 1.0 0.0;
11031                }
11032                description { state: "visible" 0.0;
11033                    inherit: "default" 0.0;
11034                    color: 0 0 0 64;
11035                    rel1.relative: 0.0 0.0;
11036                    rel2.relative: 1.0 1.0;
11037                }
11038            }
11039            part { name: "shad";
11040                mouse_events:  0;
11041                description { state: "default" 0.0;
11042                    image.normal: "shad_circ.png";
11043                    rel1.to: "elm.swallow.content";
11044                    rel1.offset: -64 -64;
11045                    rel2.to: "elm.swallow.content";
11046                    rel2.offset: 63 63;
11047                    fill.smooth: 0;
11048                }
11049            }
11050            part { name: "pop";
11051                mouse_events: 1;
11052                description { state: "default" 0.0;
11053                    rel1.to: "elm.swallow.content";
11054                    rel1.offset: -5 -5;
11055                    rel2.to: "elm.swallow.content";
11056                    rel2.offset: 4 4;
11057                    image {
11058                        normal: "bt_dis_base.png";
11059                        border: 4 4 4 4;
11060                    }
11061                    image.middle: SOLID;
11062                }
11063            }
11064            part { name: "popover";
11065                mouse_events: 0;
11066                description { state: "default" 0.0;
11067                    rel1.to: "pop";
11068                    rel2.to: "pop";
11069                    rel2.relative: 1.0 0.5;
11070                    image {
11071                        normal: "bt_dis_hilight.png";
11072                        border: 4 4 4 0;
11073                    }
11074                }
11075            }
11076            part { name: "elm.swallow.content";
11077                type: SWALLOW;
11078                description { state: "default" 0.0;
11079                    rel1.to: "base";
11080                    rel2.to: "base";
11081                }
11082            }
11083        }
11084        programs {
11085            program { name: "show";
11086                signal: "elm,action,show";
11087                source: "elm";
11088                action: STATE_SET "visible" 0.0;
11089                target: "base";
11090            }
11091            program { name: "show_2";
11092                 signal: "show";
11093                 action: STATE_SET "default" 0.0;
11094                 target: "base";
11095                 after: "show_3";
11096            }
11097            program { name: "show_3";
11098                 signal: "show";
11099                 action: STATE_SET "visible" 0.0;
11100                 target: "base";
11101                 transition: LINEAR 0.5;
11102            }
11103            program { name: "hide";
11104                signal: "elm,action,hide";
11105                source: "elm";
11106                action: STATE_SET "default" 0.0;
11107                target: "base";
11108            }
11109        }
11110    }
11111    group { name: "elm/notify/center/default";
11112        //this group is a design similar to the inwin group
11113        images {
11114            image: "bt_dis_base.png" COMP;
11115        }
11116        parts {
11117            part { name: "base";
11118                type: RECT;
11119                mouse_events: 0;
11120                repeat_events: 1;
11121                description { state: "default" 0.0;
11122                    color: 0 0 0 0;
11123                    rel1.relative: 0.0 0.0;
11124                    rel2.relative: 1.0 1.0;
11125                }
11126            }
11127            part { name: "pop";
11128                mouse_events: 1;
11129                description { state: "default" 0.0;
11130                    rel1.to: "elm.swallow.content";
11131                    rel1.offset: -5 -5;
11132                    rel2.to: "elm.swallow.content";
11133                    rel2.offset: 4 4;
11134                    image {
11135                        normal: "bt_dis_base.png";
11136                        border: 4 4 4 4;
11137                    }
11138                }
11139            }
11140            part { name: "elm.swallow.content";
11141                type: SWALLOW;
11142                description { state: "default" 0.0;
11143                    rel1.to: "base";
11144                    rel2.to: "base";
11145                }
11146            }
11147        }
11148        programs {
11149            program { name: "show";
11150                signal: "elm,action,show";
11151                source: "elm";
11152                action: STATE_SET "default" 0.0;
11153                target: "base";
11154            }
11155            program { name: "show_2";
11156                 signal: "show";
11157                 action: STATE_SET "default" 0.0;
11158                 target: "base";
11159            }
11160            program { name: "hide";
11161                signal: "elm,action,hide";
11162                source: "elm";
11163                action: STATE_SET "default" 0.0;
11164                target: "base";
11165            }
11166        }
11167    }
11168    group { name: "elm/notify/bottom/default";
11169        //this group is a design similar to the inwin group
11170        images {
11171            image: "shad_circ.png" COMP;
11172            image: "bt_dis_base.png" COMP;
11173            image: "bt_dis_hilight.png" COMP;
11174        }
11175        parts {
11176            part { name: "base";
11177                type: RECT;
11178                mouse_events: 0;
11179                repeat_events: 1;
11180                description { state: "default" 0.0;
11181                    color: 0 0 0 0;
11182                    rel1.offset: 10 10;
11183                    rel2.offset: -10 -10;
11184                    rel1.relative: 0.0 1.0;
11185                    rel2.relative: 1.0 2.0;
11186                }
11187                description { state: "visible" 0.0;
11188                    inherit: "default" 0.0;
11189                    color: 0 0 0 64;
11190                    rel1.relative: 0.0 0.0;
11191                    rel2.relative: 1.0 1.0;
11192                }
11193            }
11194            part { name: "shad";
11195                mouse_events:  0;
11196                description { state: "default" 0.0;
11197                    image.normal: "shad_circ.png";
11198                    rel1.to: "elm.swallow.content";
11199                    rel1.offset: -64 -64;
11200                    rel2.to: "elm.swallow.content";
11201                    rel2.offset: 63 63;
11202                    fill.smooth: 0;
11203                }
11204            }
11205            part { name: "pop";
11206                mouse_events: 1;
11207                description { state: "default" 0.0;
11208                    rel1.to: "elm.swallow.content";
11209                    rel1.offset: -5 -5;
11210                    rel2.to: "elm.swallow.content";
11211                    rel2.offset: 4 4;
11212                    image {
11213                        normal: "bt_dis_base.png";
11214                        border: 4 4 4 4;
11215                    }
11216                    image.middle: SOLID;
11217                }
11218            }
11219            part { name: "popover";
11220                mouse_events: 0;
11221                description { state: "default" 0.0;
11222                    rel1.to: "pop";
11223                    rel2.to: "pop";
11224                    rel2.relative: 1.0 0.5;
11225                    image {
11226                        normal: "bt_dis_hilight.png";
11227                        border: 4 4 4 0;
11228                    }
11229                }
11230            }
11231            part { name: "elm.swallow.content";
11232                type: SWALLOW;
11233                description { state: "default" 0.0;
11234                    rel1.to: "base";
11235                    rel2.to: "base";
11236                }
11237            }
11238        }
11239        programs {
11240            program { name: "show";
11241                signal: "elm,action,show";
11242                source: "elm";
11243                action: STATE_SET "visible" 0.0;
11244                target: "base";
11245            }
11246            program { name: "show_2";
11247                 signal: "show";
11248                 action: STATE_SET "default" 0.0;
11249                 target: "base";
11250                 after: "show_3";
11251            }
11252            program { name: "show_3";
11253                 signal: "show";
11254                 action: STATE_SET "visible" 0.0;
11255                 target: "base";
11256                 transition: LINEAR 0.5;
11257            }
11258            program { name: "hide";
11259                signal: "elm,action,hide";
11260                source: "elm";
11261                action: STATE_SET "default" 0.0;
11262                target: "base";
11263            }
11264        }
11265    }
11266    group { name: "elm/notify/left/default";
11267        //this group is a design similar to the inwin group
11268        images {
11269            image: "shad_circ.png" COMP;
11270            image: "bt_dis_base.png" COMP;
11271            image: "bt_dis_hilight.png" COMP;
11272        }
11273        parts {
11274            part { name: "base";
11275                type: RECT;
11276                mouse_events: 0;
11277                repeat_events: 1;
11278                description { state: "default" 0.0;
11279                    color: 0 0 0 0;
11280                    rel1.offset: 10 10;
11281                    rel2.offset: -10 -10;
11282                    rel1.relative: -1.0 0.0;
11283                    rel2.relative: 0.0 1.0;
11284                }
11285                description { state: "visible" 0.0;
11286                    inherit: "default" 0.0;
11287                    color: 0 0 0 64;
11288                    rel1.relative: 0.0 0.0;
11289                    rel2.relative: 1.0 1.0;
11290                }
11291            }
11292            part { name: "shad";
11293                mouse_events:  0;
11294                description { state: "default" 0.0;
11295                    image.normal: "shad_circ.png";
11296                    rel1.to: "elm.swallow.content";
11297                    rel1.offset: -64 -64;
11298                    rel2.to: "elm.swallow.content";
11299                    rel2.offset: 63 63;
11300                    fill.smooth: 0;
11301                }
11302            }
11303            part { name: "pop";
11304                mouse_events: 1;
11305                description { state: "default" 0.0;
11306                    rel1.to: "elm.swallow.content";
11307                    rel1.offset: -5 -5;
11308                    rel2.to: "elm.swallow.content";
11309                    rel2.offset: 4 4;
11310                    image {
11311                        normal: "bt_dis_base.png";
11312                        border: 4 4 4 4;
11313                    }
11314                    image.middle: SOLID;
11315                }
11316            }
11317            part { name: "popover";
11318                mouse_events: 0;
11319                description { state: "default" 0.0;
11320                    rel1.to: "pop";
11321                    rel2.to: "pop";
11322                    rel2.relative: 1.0 0.5;
11323                    image {
11324                        normal: "bt_dis_hilight.png";
11325                        border: 4 4 4 0;
11326                    }
11327                }
11328            }
11329            part { name: "elm.swallow.content";
11330                type: SWALLOW;
11331                description { state: "default" 0.0;
11332                    rel1.to: "base";
11333                    rel2.to: "base";
11334                }
11335            }
11336        }
11337        programs {
11338            program { name: "show";
11339                signal: "elm,action,show";
11340                source: "elm";
11341                action: STATE_SET "visible" 0.0;
11342                target: "base";
11343            }
11344            program { name: "show_2";
11345                signal: "show";
11346                action: STATE_SET "default" 0.0;
11347                target: "base";
11348                after: "show_3";
11349            }
11350            program { name: "show_3";
11351                signal: "show";
11352                action: STATE_SET "visible" 0.0;
11353                target: "base";
11354                transition: LINEAR 0.5;
11355            }
11356            program { name: "hide";
11357                signal: "elm,action,hide";
11358                source: "elm";
11359                action: STATE_SET "default" 0.0;
11360                target: "base";
11361            }
11362        }
11363    }
11364    group { name: "elm/notify/right/default";
11365        //this group is a design similar to the inwin group
11366        images {
11367            image: "shad_circ.png" COMP;
11368            image: "bt_dis_base.png" COMP;
11369            image: "bt_dis_hilight.png" COMP;
11370        }
11371        parts {
11372            part { name: "base";
11373                type: RECT;
11374                mouse_events: 0;
11375                repeat_events: 1;
11376                 description { state: "default" 0.0;
11377                    color: 0 0 0 0;
11378                    rel1.offset: 10 10;
11379                    rel2.offset: -10 -10;
11380                    rel1.relative: 1.0 0.0;
11381                    rel2.relative: 2.0 1.0;
11382                }
11383                description { state: "visible" 0.0;
11384                    inherit: "default" 0.0;
11385                    color: 0 0 0 64;
11386                    rel1.relative: 0.0 0.0;
11387                    rel2.relative: 1.0 1.0;
11388                }
11389            }
11390            part { name: "shad";
11391                mouse_events:  0;
11392                description { state: "default" 0.0;
11393                    image.normal: "shad_circ.png";
11394                    rel1.to: "elm.swallow.content";
11395                    rel1.offset: -64 -64;
11396                    rel2.to: "elm.swallow.content";
11397                    rel2.offset: 63 63;
11398                    fill.smooth: 0;
11399                }
11400            }
11401            part { name: "pop";
11402                mouse_events: 1;
11403                description { state: "default" 0.0;
11404                    rel1.to: "elm.swallow.content";
11405                    rel1.offset: -5 -5;
11406                    rel2.to: "elm.swallow.content";
11407                    rel2.offset: 4 4;
11408                    image {
11409                        normal: "bt_dis_base.png";
11410                        border: 4 4 4 4;
11411                    }
11412                    image.middle: SOLID;
11413                }
11414            }
11415            part { name: "popover";
11416                mouse_events: 0;
11417                description { state: "default" 0.0;
11418                    rel1.to: "pop";
11419                    rel2.to: "pop";
11420                    rel2.relative: 1.0 0.5;
11421                    image {
11422                        normal: "bt_dis_hilight.png";
11423                        border: 4 4 4 0;
11424                    }
11425                }
11426            }
11427            part { name: "elm.swallow.content";
11428                type: SWALLOW;
11429                description { state: "default" 0.0;
11430                    rel1.to: "base";
11431                    rel2.to: "base";
11432                }
11433            }
11434        }
11435        programs {
11436            program { name: "show";
11437                signal: "elm,action,show";
11438                source: "elm";
11439                action: STATE_SET "visible" 0.0;
11440                target: "base";
11441            }
11442            program { name: "show_2";
11443                signal: "show";
11444                action: STATE_SET "default" 0.0;
11445                target: "base";
11446                after: "show_3";
11447            }
11448            program { name: "show_3";
11449                signal: "show";
11450                action: STATE_SET "visible" 0.0;
11451                target: "base";
11452                transition: LINEAR 0.5;
11453            }
11454            program { name: "hide";
11455                signal: "elm,action,hide";
11456                source: "elm";
11457                action: STATE_SET "default" 0.0;
11458                target: "base";
11459            }
11460        }
11461    }
11462    group { name: "elm/notify/top_left/default";
11463        //this group is a design similar to the inwin group
11464        images {
11465            image: "shad_circ.png" COMP;
11466            image: "bt_dis_base.png" COMP;
11467            image: "bt_dis_hilight.png" COMP;
11468        }
11469        parts {
11470            part { name: "base";
11471                type: RECT;
11472                mouse_events: 0;
11473                repeat_events: 1;
11474                 description { state: "default" 0.0;
11475                    color: 0 0 0 0;
11476                    rel1.offset: 10 10;
11477                    rel2.offset: -10 -10;
11478                    rel1.relative: 0.0 -1.0;
11479                    rel2.relative: 1.0 0.0;
11480                }
11481                description { state: "visible" 0.0;
11482                    inherit: "default" 0.0;
11483                    color: 0 0 0 64;
11484                    rel1.relative: 0.0 0.0;
11485                    rel2.relative: 1.0 1.0;
11486                }
11487            }
11488            part { name: "shad";
11489                mouse_events:  0;
11490                description { state: "default" 0.0;
11491                    image.normal: "shad_circ.png";
11492                    rel1.to: "elm.swallow.content";
11493                    rel1.offset: -64 -64;
11494                    rel2.to: "elm.swallow.content";
11495                    rel2.offset: 63 63;
11496                    fill.smooth: 0;
11497                }
11498            }
11499            part { name: "pop";
11500                mouse_events: 1;
11501                description { state: "default" 0.0;
11502                    rel1.to: "elm.swallow.content";
11503                    rel1.offset: -5 -5;
11504                    rel2.to: "elm.swallow.content";
11505                    rel2.offset: 4 4;
11506                    image {
11507                        normal: "bt_dis_base.png";
11508                        border: 4 4 4 4;
11509                    }
11510                    image.middle: SOLID;
11511                }
11512            }
11513            part { name: "popover";
11514                mouse_events: 0;
11515                description { state: "default" 0.0;
11516                    rel1.to: "pop";
11517                    rel2.to: "pop";
11518                    rel2.relative: 1.0 0.5;
11519                    image {
11520                        normal: "bt_dis_hilight.png";
11521                        border: 4 4 4 0;
11522                    }
11523                }
11524            }
11525            part { name: "elm.swallow.content";
11526                type: SWALLOW;
11527                description { state: "default" 0.0;
11528                    rel1.to: "base";
11529                    rel2.to: "base";
11530                }
11531            }
11532        }
11533        programs {
11534            program { name: "show";
11535                signal: "elm,action,show";
11536                source: "elm";
11537                action: STATE_SET "visible" 0.0;
11538                target: "base";
11539            }
11540            program { name: "show_2";
11541                signal: "show";
11542                action: STATE_SET "default" 0.0;
11543                target: "base";
11544                after: "show_3";
11545            }
11546            program { name: "show_3";
11547                signal: "show";
11548                action: STATE_SET "visible" 0.0;
11549                target: "base";
11550                transition: LINEAR 0.5;
11551            }
11552            program { name: "hide";
11553                signal: "elm,action,hide";
11554                source: "elm";
11555                action: STATE_SET "default" 0.0;
11556                target: "base";
11557            }
11558        }
11559    }
11560    group { name: "elm/notify/top_right/default";
11561        //this group is a design similar to the inwin group
11562        images {
11563            image: "shad_circ.png" COMP;
11564            image: "bt_dis_base.png" COMP;
11565            image: "bt_dis_hilight.png" COMP;
11566        }
11567        parts {
11568            part { name: "base";
11569                type: RECT;
11570                mouse_events: 0;
11571                repeat_events: 1;
11572                description { state: "default" 0.0;
11573                    color: 0 0 0 0;
11574                    rel1.offset: 10 10;
11575                    rel2.offset: -10 -10;
11576                    rel1.relative: 0.0 -1.0;
11577                    rel2.relative: 1.0 0.0;
11578                }
11579                description { state: "visible" 0.0;
11580                    inherit: "default" 0.0;
11581                    color: 0 0 0 64;
11582                    rel1.relative: 0.0 0.0;
11583                    rel2.relative: 1.0 1.0;
11584                }
11585            }
11586            part { name: "shad";
11587                mouse_events:  0;
11588                description { state: "default" 0.0;
11589                    image.normal: "shad_circ.png";
11590                    rel1.to: "elm.swallow.content";
11591                    rel1.offset: -64 -64;
11592                    rel2.to: "elm.swallow.content";
11593                    rel2.offset: 63 63;
11594                    fill.smooth: 0;
11595                }
11596            }
11597            part { name: "pop";
11598                mouse_events: 1;
11599                description { state: "default" 0.0;
11600                    rel1.to: "elm.swallow.content";
11601                    rel1.offset: -5 -5;
11602                    rel2.to: "elm.swallow.content";
11603                    rel2.offset: 4 4;
11604                    image {
11605                        normal: "bt_dis_base.png";
11606                        border: 4 4 4 4;
11607                    }
11608                    image.middle: SOLID;
11609                }
11610            }
11611            part { name: "popover";
11612                mouse_events: 0;
11613                description { state: "default" 0.0;
11614                    rel1.to: "pop";
11615                    rel2.to: "pop";
11616                    rel2.relative: 1.0 0.5;
11617                    image {
11618                        normal: "bt_dis_hilight.png";
11619                        border: 4 4 4 0;
11620                    }
11621                }
11622            }
11623            part { name: "elm.swallow.content";
11624                type: SWALLOW;
11625                description { state: "default" 0.0;
11626                    rel1.to: "base";
11627                    rel2.to: "base";
11628                }
11629            }
11630        }
11631        programs {
11632            program { name: "show";
11633                signal: "elm,action,show";
11634                source: "elm";
11635                action: STATE_SET "visible" 0.0;
11636                target: "base";
11637            }
11638            program { name: "show_2";
11639                signal: "show";
11640                action: STATE_SET "default" 0.0;
11641                target: "base";
11642                after: "show_3";
11643            }
11644            program { name: "show_3";
11645                signal: "show";
11646                action: STATE_SET "visible" 0.0;
11647                target: "base";
11648                transition: LINEAR 0.5;
11649            }
11650            program { name: "hide";
11651                signal: "elm,action,hide";
11652                source: "elm";
11653                action: STATE_SET "default" 0.0;
11654                target: "base";
11655            }
11656        }
11657    }
11658    group { name: "elm/notify/bottom_left/default";
11659        //this group is a design similar to the inwin group
11660        images {
11661            image: "shad_circ.png" COMP;
11662            image: "bt_dis_base.png" COMP;
11663            image: "bt_dis_hilight.png" COMP;
11664        }
11665        parts {
11666            part { name: "base";
11667                type: RECT;
11668                mouse_events: 0;
11669                repeat_events: 1;
11670                description { state: "default" 0.0;
11671                    color: 0 0 0 0;
11672                    rel1.offset: 10 10;
11673                    rel2.offset: -10 -10;
11674                    rel1.relative: 0.0 1.0;
11675                    rel2.relative: 1.0 2.0;
11676                }
11677                description { state: "visible" 0.0;
11678                    inherit: "default" 0.0;
11679                    color: 0 0 0 64;
11680                    rel1.relative: 0.0 0.0;
11681                    rel2.relative: 1.0 1.0;
11682                }
11683            }
11684            part { name: "shad";
11685                mouse_events:  0;
11686                description { state: "default" 0.0;
11687                    image.normal: "shad_circ.png";
11688                    rel1.to: "elm.swallow.content";
11689                    rel1.offset: -64 -64;
11690                    rel2.to: "elm.swallow.content";
11691                    rel2.offset: 63 63;
11692                    fill.smooth: 0;
11693                }
11694            }
11695            part { name: "pop";
11696                mouse_events: 1;
11697                description { state: "default" 0.0;
11698                    rel1.to: "elm.swallow.content";
11699                    rel1.offset: -5 -5;
11700                    rel2.to: "elm.swallow.content";
11701                    rel2.offset: 4 4;
11702                    image {
11703                        normal: "bt_dis_base.png";
11704                        border: 4 4 4 4;
11705                    }
11706                    image.middle: SOLID;
11707                }
11708            }
11709            part { name: "popover";
11710                mouse_events: 0;
11711                description { state: "default" 0.0;
11712                    rel1.to: "pop";
11713                    rel2.to: "pop";
11714                    rel2.relative: 1.0 0.5;
11715                    image {
11716                        normal: "bt_dis_hilight.png";
11717                        border: 4 4 4 0;
11718                    }
11719                }
11720            }
11721            part { name: "elm.swallow.content";
11722                type: SWALLOW;
11723                description { state: "default" 0.0;
11724                    rel1.to: "base";
11725                    rel2.to: "base";
11726                }
11727            }
11728        }
11729        programs {
11730            program { name: "show";
11731                signal: "elm,action,show";
11732                source: "elm";
11733                action: STATE_SET "visible" 0.0;
11734                target: "base";
11735            }
11736            program { name: "show_2";
11737                signal: "show";
11738                action: STATE_SET "default" 0.0;
11739                target: "base";
11740                after: "show_3";
11741            }
11742            program { name: "show_3";
11743                signal: "show";
11744                action: STATE_SET "visible" 0.0;
11745                target: "base";
11746                transition: LINEAR 0.5;
11747            }
11748            program { name: "hide";
11749                signal: "elm,action,hide";
11750                source: "elm";
11751                action: STATE_SET "default" 0.0;
11752                target: "base";
11753            }
11754        }
11755    }
11756    group { name: "elm/notify/bottom_right/default";
11757        //this group is a design similar to the inwin group
11758        images {
11759            image: "shad_circ.png" COMP;
11760            image: "bt_dis_base.png" COMP;
11761            image: "bt_dis_hilight.png" COMP;
11762        }
11763        parts {
11764            part { name: "base";
11765                type: RECT;
11766                mouse_events: 0;
11767                repeat_events: 1;
11768               description { state: "default" 0.0;
11769                    color: 0 0 0 0;
11770                    rel1.offset: 10 10;
11771                    rel2.offset: -10 -10;
11772                    rel1.relative: 0.0 1.0;
11773                    rel2.relative: 1.0 2.0;
11774                }
11775                description { state: "visible" 0.0;
11776                    inherit: "default" 0.0;
11777                    color: 0 0 0 64;
11778                    rel1.relative: 0.0 0.0;
11779                    rel2.relative: 1.0 1.0;
11780                }
11781            }
11782            part { name: "shad";
11783                mouse_events:  0;
11784                description { state: "default" 0.0;
11785                    image.normal: "shad_circ.png";
11786                    rel1.to: "elm.swallow.content";
11787                    rel1.offset: -64 -64;
11788                    rel2.to: "elm.swallow.content";
11789                    rel2.offset: 63 63;
11790                    fill.smooth: 0;
11791                }
11792            }
11793            part { name: "pop";
11794                mouse_events: 1;
11795                description { state: "default" 0.0;
11796                    rel1.to: "elm.swallow.content";
11797                    rel1.offset: -5 -5;
11798                    rel2.to: "elm.swallow.content";
11799                    rel2.offset: 4 4;
11800                    image {
11801                        normal: "bt_dis_base.png";
11802                        border: 4 4 4 4;
11803                    }
11804                    image.middle: SOLID;
11805                }
11806            }
11807            part { name: "popover";
11808                mouse_events: 0;
11809                description { state: "default" 0.0;
11810                    rel1.to: "pop";
11811                    rel2.to: "pop";
11812                    rel2.relative: 1.0 0.5;
11813                    image {
11814                        normal: "bt_dis_hilight.png";
11815                        border: 4 4 4 0;
11816                    }
11817                }
11818            }
11819            part { name: "elm.swallow.content";
11820                type: SWALLOW;
11821                description { state: "default" 0.0;
11822                    rel1.to: "base";
11823                    rel2.to: "base";
11824                }
11825            }
11826        }
11827        programs {
11828            program { name: "show";
11829                signal: "elm,action,show";
11830                source: "elm";
11831                action: STATE_SET "visible" 0.0;
11832                target: "base";
11833            }
11834            program { name: "show_2";
11835                signal: "show";
11836                action: STATE_SET "default" 0.0;
11837                target: "base";
11838                after: "show_3";
11839            }
11840            program { name: "show_3";
11841                signal: "show";
11842                action: STATE_SET "visible" 0.0;
11843                target: "base";
11844                transition: LINEAR 0.5;
11845            }
11846            program { name: "hide";
11847                signal: "elm,action,hide";
11848                source: "elm";
11849                action: STATE_SET "default" 0.0;
11850                target: "base";
11851            }
11852        }
11853    }
11854
11855 ///////////////////////////////////////////////////////////////////////////////
11856    group { name: "elm/slideshow/base/default";
11857       data {
11858          item: transitions "fade black_fade horizontal vertical square";
11859          item: layouts "fullscreen not_fullscreen";
11860       }
11861       parts {
11862          part { name: "whole";
11863                 type: RECT;
11864             description {
11865                state: "default" 0.0;
11866                visible: 1;
11867                color: 20 20 20 255;
11868             }
11869          }
11870          part { name: "image_1_whole";
11871             description {
11872                state: "default" 0.0;
11873                color: 255 255 255 255;
11874             }
11875             description {
11876                state: "fade_prev_next" 0.0;
11877                inherit: "default" 0.0;
11878                color: 255 255 255 0;
11879             }
11880             description {
11881                state: "black_fade_prev_next_init" 0.0;
11882                inherit: "default" 0.0;
11883                color: 255 255 255 255;
11884             }
11885             description {
11886                state: "black_fade_prev_next" 0.0;
11887                inherit: "default" 0.0;
11888                color: 0 0 0 255;
11889             }
11890             description {
11891                state: "horizontal_next_init" 0.0;
11892                inherit: "default" 0.0;
11893             }
11894             description {
11895                state: "horizontal_next" 0.0;
11896                inherit: "default" 0.0;
11897                rel1.relative: -1.0 0.0;
11898                rel2.relative: 0.0 1.0;
11899             }
11900             description {
11901                state: "horizontal_prev_init" 0.0;
11902                inherit: "default" 0.0;
11903             }
11904             description {
11905                state: "horizontal_prev" 0.0;
11906                inherit: "default" 0.0;
11907                rel1.relative: 1.0 0.0;
11908                rel2.relative: 2.0 1.0;
11909             }
11910             description {
11911                state: "vertical_next_init" 0.0;
11912                inherit: "default" 0.0;
11913             }
11914             description {
11915                state: "vertical_next" 0.0;
11916                inherit: "default" 0.0;
11917                rel1.relative: 0.0 -1.0;
11918                rel2.relative: 1.0 0.0;
11919             }
11920             description {
11921                state: "vertical_prev_init" 0.0;
11922                inherit: "default" 0.0;
11923             }
11924             description {
11925                state: "vertical_prev" 0.0;
11926                inherit: "default" 0.0;
11927                rel1.relative: 0.0 1.0;
11928                rel2.relative: 1.0 2.0;
11929             }
11930             description {
11931                state: "square_prev_next" 0.0;
11932                inherit: "default" 0.0;
11933                color: 255 255 255 0;
11934             }
11935          }
11936          part { name: "image_2_whole";
11937             description {
11938                state: "default" 0.0;
11939                visible: 1;
11940                color: 255 255 255 0;
11941             }
11942             description {
11943                state: "fade_prev_next" 0.0;
11944                inherit: "default" 0.0;
11945                color: 255 255 255 255;
11946             }
11947             description {
11948                state: "black_fade_prev_next_init" 0.0;
11949                inherit: "default" 0.0;
11950                color: 0 0 0 0;
11951             }
11952             description {
11953                state: "black_fade_prev_next" 0.0;
11954                inherit: "default" 0.0;
11955                color: 255 255 255 255;
11956             }
11957             description {
11958                state: "horizontal_next_init" 0.0;
11959                inherit: "default" 0.0;
11960                rel1.relative: 1.0 0.0;
11961                rel2.relative: 2.0 1.0;
11962                color: 255 255 255 255;
11963             }
11964             description {
11965                state: "horizontal_next" 0.0;
11966                inherit: "default" 0.0;
11967                color: 255 255 255 255;
11968             }
11969             description {
11970                state: "horizontal_prev_init" 0.0;
11971                inherit: "default" 0.0;
11972                rel1.relative: -1.0 0.0;
11973                rel2.relative: 0.0 1.0;
11974                color: 255 255 255 255;
11975             }
11976             description {
11977                state: "horizontal_prev" 0.0;
11978                inherit: "default" 0.0;
11979                color: 255 255 255 255;
11980             }
11981             description {
11982                state: "vertical_next_init" 0.0;
11983                inherit: "default" 0.0;
11984                rel1.relative: 0.0 1.0;
11985                rel2.relative: 1.0 2.0;
11986                color: 255 255 255 255;
11987             }
11988             description {
11989                state: "vertical_next" 0.0;
11990                inherit: "default" 0.0;
11991                color: 255 255 255 255;
11992             }
11993             description {
11994                state: "vertical_prev_init" 0.0;
11995                inherit: "default" 0.0;
11996                rel1.relative: 0.0 -1.0;
11997                rel2.relative: 1.0 0.0;
11998                color: 255 255 255 255;
11999             }
12000             description {
12001                state: "vertical_prev" 0.0;
12002                inherit: "default" 0.0;
12003                color: 255 255 255 255;
12004             }
12005             description {
12006                state: "square_prev_next_init" 0.0;
12007                inherit: "default" 0.0;
12008                rel1.relative: 0.5 0.5;
12009                rel2.relative: 0.5 0.5;
12010                color: 255 255 255 255;
12011             }
12012             description {
12013                state: "square_prev_next" 0.0;
12014                inherit: "default" 0.0;
12015                rel1.relative: 0.0 0.0;
12016                rel2.relative: 1.0 1.0;
12017                color: 255 255 255 255;
12018             }
12019          }
12020          part { name: "elm.swallow.1";
12021             type: SWALLOW;
12022             clip_to: "image_1_whole";
12023             description {
12024                state: "default" 0.0;
12025                rel1.to: "image_1_whole";
12026                rel2.to: "image_1_whole";
12027                color: 255 255 255 255;
12028             }
12029             description {
12030                state: "not_fullscreen" 0.0;
12031                rel1.relative: 0.1 0.1;
12032                rel1.to: "image_1_whole";
12033                rel2.relative: 0.9 0.9;
12034                rel2.to: "image_1_whole";
12035                color: 255 255 255 255;
12036             }
12037          }
12038          part { name: "elm.swallow.2";
12039             type: SWALLOW;
12040             clip_to: "image_2_whole";
12041             description {
12042                state: "default" 0.0;
12043                color: 255 255 255 255;
12044                rel1.to: "image_2_whole";
12045                rel2.to: "image_2_whole";
12046             }
12047             description {
12048                state: "not_fullscreen" 0.0;
12049                color: 255 255 255 255;
12050                rel1.relative: 0.1 0.1;
12051                rel1.to: "image_2_whole";
12052                rel2.relative: 0.9 0.9;
12053                rel2.to: "image_2_whole";
12054             }
12055          }
12056          part { name: "events_catcher";
12057             type: RECT;
12058             repeat_events: 1;
12059             description {
12060                state: "default" 0.0;
12061                visible: 1;
12062                color: 0 0 0 0;
12063             }
12064          }
12065       }
12066       programs {
12067         //Substyle
12068         program { name: "layout_fullscreen";
12069             signal: "layout,fullscreen";
12070             source: "slideshow";
12071             action: STATE_SET "default" 0.0;
12072             target: "elm.swallow.1";
12073             target: "elm.swallow.2";
12074             transition: SINUSOIDAL 1.0;
12075         }
12076         program { name: "layout_not_fullscreen";
12077             signal: "layout,not_fullscreen";
12078             source: "slideshow";
12079             action: STATE_SET "not_fullscreen" 0.0;
12080             target: "elm.swallow.1";
12081             target: "elm.swallow.2";
12082             transition: SINUSOIDAL 1.0;
12083          } 
12084          //
12085          program { name: "fade_next";
12086             signal: "fade,next";
12087             source: "slideshow";
12088             action: STATE_SET "default" 0.0;
12089             target: "image_1_whole";
12090             target: "image_2_whole";
12091             after: "fade_next_2";
12092          }
12093          program { name: "fade_next_2";
12094             action: STATE_SET "fade_prev_next" 0.0;
12095             target: "image_1_whole";
12096             target: "image_2_whole";
12097             transition: SINUSOIDAL 1.5;
12098             after: "end";
12099          }
12100          program { name: "fade_previous";
12101             signal: "fade,previous";
12102             source: "slideshow";
12103             action: STATE_SET "default" 0.0;
12104             target: "image_1_whole";
12105             target: "image_2_whole";
12106             after: "fade_previous_2";
12107          }
12108          program { name: "fade_previous_2";
12109             action: STATE_SET "fade_prev_next" 0.0;
12110             target: "image_1_whole";
12111             target: "image_2_whole";
12112             transition: SINUSOIDAL 1.5;
12113             after: "end";
12114          }
12115          program { name: "black_fade_next";
12116             signal: "black_fade,next";
12117             source: "slideshow";
12118             action: STATE_SET "black_fade_prev_next_init" 0.0;
12119             target: "image_1_whole";
12120             target: "image_2_whole";
12121             after: "black_fade_next_2";
12122          }
12123          program { name: "black_fade_next_2";
12124             action: STATE_SET "black_fade_prev_next" 0.0;
12125             target: "image_1_whole";
12126             transition: SINUSOIDAL 0.75;
12127             after: "black_fade_next_3";
12128          }
12129          program { name: "black_fade_next_3";
12130             action: STATE_SET "black_fade_prev_next" 0.0;
12131             target: "image_2_whole";
12132             transition: SINUSOIDAL 0.75;
12133             after: "end";
12134          }
12135          program { name: "black_fade_previous";
12136             signal: "black_fade,previous";
12137             source: "slideshow";
12138             action: STATE_SET "black_fade_prev_next_init" 0.0;
12139             target: "image_1_whole";
12140             target: "image_2_whole";
12141             after: "black_fade_previous_2";
12142          }
12143          program { name: "black_fade_previous_2";
12144             action: STATE_SET "black_fade_prev_next" 0.0;
12145             target: "image_1_whole";
12146             transition: SINUSOIDAL 0.75;
12147             after: "black_fade_previous_3";
12148          }
12149          program { name: "black_fade_previous_3";
12150             action: STATE_SET "black_fade_prev_next" 0.0;
12151             target: "image_2_whole";
12152             transition: SINUSOIDAL 0.75;
12153             after: "end";
12154          }
12155          program { name: "horizontal_next";
12156             signal: "horizontal,next";
12157             source: "slideshow";
12158             action: STATE_SET "horizontal_next_init" 0.0;
12159             target: "image_1_whole";
12160             target: "image_2_whole";
12161             after: "horizontal_next_2";
12162          }
12163          program { name: "horizontal_next_2";
12164             action: STATE_SET "horizontal_next" 0.0;
12165             target: "image_1_whole";
12166             target: "image_2_whole";
12167             transition: SINUSOIDAL 1.5;
12168             after: "end";
12169          }
12170          program { name: "horizontal_previous";
12171             signal: "horizontal,previous";
12172             source: "slideshow";
12173             action: STATE_SET "horizontal_prev_init" 0.0;
12174             target: "image_1_whole";
12175             target: "image_2_whole";
12176             after: "horizontal_previous_2";
12177          }
12178          program { name: "horizontal_previous_2";
12179             action: STATE_SET "horizontal_prev" 0.0;
12180             target: "image_1_whole";
12181             target: "image_2_whole";
12182             transition: SINUSOIDAL 1.5;
12183             after: "end";
12184          }
12185          program { name: "vertical_next";
12186             signal: "vertical,next";
12187             source: "slideshow";
12188             action: STATE_SET "vertical_next_init" 0.0;
12189             target: "image_1_whole";
12190             target: "image_2_whole";
12191             after: "vertical_next_2";
12192          }
12193          program { name: "vertical_next_2";
12194             action: STATE_SET "vertical_next" 0.0;
12195             target: "image_1_whole";
12196             target: "image_2_whole";
12197             transition: SINUSOIDAL 1.5;
12198             after: "end";
12199          }
12200          program { name: "vertical_previous";
12201             signal: "vertical,previous";
12202             source: "slideshow";
12203             action: STATE_SET "vertical_prev_init" 0.0;
12204             target: "image_1_whole";
12205             target: "image_2_whole";
12206             after: "vertical_previous_2";
12207          }
12208          program { name: "vertical_previous_2";
12209             action: STATE_SET "vertical_prev" 0.0;
12210             target: "image_1_whole";
12211             target: "image_2_whole";
12212             transition: SINUSOIDAL 1.5;
12213             after: "end";
12214          }
12215          program { name: "square_next";
12216             signal: "square,next";
12217             source: "slideshow";
12218             action: STATE_SET "square_prev_next_init" 0.0;
12219             target: "image_2_whole";
12220             after: "square_next_2";
12221          }
12222          program { name: "square_next_2";
12223             action: STATE_SET "square_prev_next" 0.0;
12224             target: "image_2_whole";
12225             target: "image_1_whole";
12226             transition: SINUSOIDAL 1.5;
12227             after: "end";
12228          }
12229          program { name: "square_previous";
12230             signal: "square,previous";
12231             source: "slideshow";
12232             action: STATE_SET "square_prev_next_init" 0.0;
12233             target: "image_2_whole";
12234             after: "square_next_2";
12235          }
12236          program { name: "end";
12237             action: SIGNAL_EMIT "end" "slideshow";
12238          }
12239          program { name: "end_signal";
12240             signal: "anim,end";
12241             source: "slideshow";
12242             action: STATE_SET "default" 0.0;
12243             target: "image_1_whole";
12244             target: "image_2_whole";
12245          }
12246       }
12247    }
12248
12249 ///////////////////////////////////////////////////////////////////////////////
12250    group { name: "elm/win/inwin/default";
12251       images {
12252          image: "shad_circ.png" COMP;
12253          image: "bt_dis_base.png" COMP;
12254          image: "bt_dis_hilight.png" COMP;
12255       }
12256       parts {
12257          part { name: "base";
12258             type: RECT;
12259             mouse_events: 1;
12260             description { state: "default" 0.0;
12261                color: 0 0 0 0;
12262             }
12263             description { state: "visible" 0.0;
12264                inherit: "default" 1.0;
12265                color: 0 0 0 64;
12266             }
12267          }
12268          part { name: "shad";
12269             mouse_events:  0;
12270             description { state: "default" 0.0;
12271                image.normal: "shad_circ.png";
12272                rel1.to: "elm.swallow.content";
12273                rel1.offset: -64 -64;
12274                rel2.to: "elm.swallow.content";
12275                rel2.offset: 63 63;
12276                fill.smooth: 0;
12277             }
12278          }
12279          part { name: "pop";
12280             mouse_events: 1;
12281             description { state: "default" 0.0;
12282                rel1.to: "elm.swallow.content";
12283                rel1.offset: -5 -5;
12284                rel2.to: "elm.swallow.content";
12285                rel2.offset: 4 4;
12286                image {
12287                   normal: "bt_dis_base.png";
12288                   border: 4 4 4 4;
12289                }
12290                image.middle: SOLID;
12291             }
12292          }
12293          part { name: "popover";
12294             mouse_events: 0;
12295             description { state: "default" 0.0;
12296                rel1.to: "pop";
12297                rel2.to: "pop";
12298                rel2.relative: 1.0 0.5;
12299                image {
12300                   normal: "bt_dis_hilight.png";
12301                   border: 4 4 4 0;
12302                }
12303             }
12304          }
12305          part { name: "elm.swallow.content";
12306             type: SWALLOW;
12307             description { state: "default" 0.0;
12308                rel1.relative: 0.1 0.1;
12309                rel2.relative: 0.9 0.9;
12310             }
12311          }
12312       }
12313       programs {
12314          program { name: "show";
12315             signal: "elm,action,show";
12316             source: "elm";
12317             action: STATE_SET "visible" 0.0;
12318 //          transition: DECELERATE 0.5;
12319             target: "base";
12320          }
12321          program { name: "hide";
12322             signal: "elm,action,hide";
12323             source: "elm";
12324             action: STATE_SET "default" 0.0;
12325 //          transition: DECELERATE 0.5;
12326             target: "base";
12327          }
12328       }
12329    }
12330
12331    group { name: "elm/win/inwin/minimal";
12332       images {
12333          image: "shad_circ.png" COMP;
12334          image: "bt_dis_base.png" COMP;
12335          image: "bt_dis_hilight.png" COMP;
12336       }
12337       parts {
12338          part { name: "base";
12339             type: RECT;
12340             mouse_events: 1;
12341             description { state: "default" 0.0;
12342                color: 0 0 0 0;
12343             }
12344             description { state: "visible" 0.0;
12345                inherit: "default" 1.0;
12346                color: 0 0 0 64;
12347             }
12348          }
12349          part { name: "shad";
12350             mouse_events:  0;
12351             description { state: "default" 0.0;
12352                image.normal: "shad_circ.png";
12353                rel1.to: "elm.swallow.content";
12354                rel1.offset: -64 -64;
12355                rel2.to: "elm.swallow.content";
12356                rel2.offset: 63 63;
12357                fill.smooth: 0;
12358             }
12359          }
12360          part { name: "pop";
12361             mouse_events: 1;
12362             description { state: "default" 0.0;
12363                rel1.to: "elm.swallow.content";
12364                rel1.offset: -5 -5;
12365                rel2.to: "elm.swallow.content";
12366                rel2.offset: 4 4;
12367                image {
12368                   normal: "bt_dis_base.png";
12369                   border: 4 4 4 4;
12370                }
12371                image.middle: SOLID;
12372             }
12373          }
12374          part { name: "popover";
12375             mouse_events: 0;
12376             description { state: "default" 0.0;
12377                rel1.to: "pop";
12378                rel2.to: "pop";
12379                rel2.relative: 1.0 0.5;
12380                image {
12381                   normal: "bt_dis_hilight.png";
12382                   border: 4 4 4 0;
12383                }
12384             }
12385          }
12386          part { name: "elm.swallow.content";
12387             type: SWALLOW;
12388             description { state: "default" 0.0;
12389                fixed: 1 1;
12390                rel1.relative: 0.5 0.5;
12391                rel2.relative: 0.5 0.5;
12392             }
12393          }
12394       }
12395       programs {
12396          program { name: "show";
12397             signal: "elm,action,show";
12398             source: "elm";
12399             action: STATE_SET "visible" 0.0;
12400 //          transition: DECELERATE 0.5;
12401             target: "base";
12402          }
12403          program { name: "hide";
12404             signal: "elm,action,hide";
12405             source: "elm";
12406             action: STATE_SET "default" 0.0;
12407 //          transition: DECELERATE 0.5;
12408             target: "base";
12409          }
12410       }
12411    }
12412
12413    group { name: "elm/win/inwin/minimal_vertical";
12414       images {
12415          image: "shad_circ.png" COMP;
12416          image: "bt_dis_base.png" COMP;
12417          image: "bt_dis_hilight.png" COMP;
12418       }
12419       parts {
12420          part { name: "base";
12421             type: RECT;
12422             mouse_events: 1;
12423             description { state: "default" 0.0;
12424                color: 0 0 0 0;
12425             }
12426             description { state: "visible" 0.0;
12427                inherit: "default" 1.0;
12428                color: 0 0 0 64;
12429             }
12430          }
12431          part { name: "shad";
12432             mouse_events:  0;
12433             description { state: "default" 0.0;
12434                image.normal: "shad_circ.png";
12435                rel1.to: "elm.swallow.content";
12436                rel1.offset: -64 -64;
12437                rel2.to: "elm.swallow.content";
12438                rel2.offset: 63 63;
12439                fill.smooth: 0;
12440             }
12441          }
12442          part { name: "pop";
12443             mouse_events: 1;
12444             description { state: "default" 0.0;
12445                rel1.to: "elm.swallow.content";
12446                rel1.offset: -5 -5;
12447                rel2.to: "elm.swallow.content";
12448                rel2.offset: 4 4;
12449                image {
12450                   normal: "bt_dis_base.png";
12451                   border: 4 4 4 4;
12452                }
12453                image.middle: SOLID;
12454             }
12455          }
12456          part { name: "popover";
12457             mouse_events: 0;
12458             description { state: "default" 0.0;
12459                rel1.to: "pop";
12460                rel2.to: "pop";
12461                rel2.relative: 1.0 0.5;
12462                image {
12463                   normal: "bt_dis_hilight.png";
12464                   border: 4 4 4 0;
12465                }
12466             }
12467          }
12468          part { name: "elm.swallow.content";
12469             type: SWALLOW;
12470             description { state: "default" 0.0;
12471                fixed: 1 1;
12472                rel1.relative: 0.1 0.5;
12473                rel2.relative: 0.9 0.5;
12474             }
12475          }
12476       }
12477       programs {
12478          program { name: "show";
12479             signal: "elm,action,show";
12480             source: "elm";
12481             action: STATE_SET "visible" 0.0;
12482 //          transition: DECELERATE 0.5;
12483             target: "base";
12484          }
12485          program { name: "hide";
12486             signal: "elm,action,hide";
12487             source: "elm";
12488             action: STATE_SET "default" 0.0;
12489 //          transition: DECELERATE 0.5;
12490             target: "base";
12491          }
12492       }
12493    }
12494
12495 ///////////////////////////////////////////////////////////////////////////////
12496
12497 ///////////////////////////////////////////////////////////////////////////////
12498    group { name: "elm/list/item/default";
12499       data.item: "stacking" "above";
12500       images {
12501          image: "bt_sm_base1.png" COMP;
12502          image: "bt_sm_shine.png" COMP;
12503          image: "bt_sm_hilight.png" COMP;
12504          image: "ilist_1.png" COMP;
12505          image: "ilist_item_shadow.png" COMP;
12506       }
12507       parts {
12508          part {
12509             name:           "event";
12510             type:           RECT;
12511             repeat_events: 1;
12512             description {
12513                state: "default" 0.0;
12514                color: 0 0 0 0;
12515             }
12516          }
12517          part {
12518             name: "base_sh";
12519             mouse_events: 0;
12520             description {
12521                state: "default" 0.0;
12522                align: 0.0 0.0;
12523                min: 0 10;
12524                fixed: 1 1;
12525                rel1 {
12526                   to: "base";
12527                   relative: 0.0 1.0;
12528                   offset: 0 0;
12529                }
12530                rel2 {
12531                   to: "base";
12532                   relative: 1.0 1.0;
12533                   offset: -1 0;
12534                }
12535                image {
12536                   normal: "ilist_item_shadow.png";
12537                }
12538                fill.smooth: 0;
12539             }
12540          }
12541          part {
12542             name: "base";
12543             mouse_events: 0;
12544             description {
12545                state: "default" 0.0;
12546                image {
12547                   normal: "ilist_1.png";
12548                   border: 2 2 2 2;
12549                }
12550                fill.smooth: 0;
12551             }
12552          }
12553          part { name: "bg";
12554             mouse_events: 0;
12555             description { state: "default" 0.0;
12556                visible: 0;
12557                color: 255 255 255 0;
12558                rel1 {
12559                   relative: 0.0 0.0;
12560                   offset: -5 -5;
12561                }
12562                rel2 {
12563                   relative: 1.0 1.0;
12564                   offset: 4 4;
12565                }
12566                image {
12567                   normal: "bt_sm_base1.png";
12568                   border: 6 6 6 6;
12569                }
12570                image.middle: SOLID;
12571             }
12572             description { state: "selected" 0.0;
12573                inherit: "default" 0.0;
12574                visible: 1;
12575                color: 255 255 255 255;
12576                rel1 {
12577                   relative: 0.0 0.0;
12578                   offset: -2 -2;
12579                }
12580                rel2 {
12581                   relative: 1.0 1.0;
12582                   offset: 1 1;
12583                }
12584             }
12585          }
12586          part { name: "elm.swallow.icon";
12587             type: SWALLOW;
12588             description { state: "default" 0.0;
12589                fixed: 1 0;
12590                align: 0.0 0.5;
12591                rel1 {
12592                   relative: 0.0  0.0;
12593                   offset:   4    4;
12594                }
12595                rel2 {
12596                   relative: 0.0  1.0;
12597                   offset:   4   -5;
12598                }
12599             }
12600          }
12601          part { name: "elm.swallow.end";
12602             type: SWALLOW;
12603             description { state: "default" 0.0;
12604                fixed: 1 0;
12605                align: 1.0 0.5;
12606                rel1 {
12607                   relative: 1.0  0.0;
12608                   offset:   -5    4;
12609                }
12610                rel2 {
12611                   relative: 1.0  1.0;
12612                   offset:   -5   -5;
12613                }
12614             }
12615          }
12616          part { name: "elm.text";
12617             type:           TEXT;
12618             effect:         SOFT_SHADOW;
12619             mouse_events:   0;
12620             scale: 1;
12621             description {
12622                state: "default" 0.0;
12623 //               min: 16 16;
12624                rel1 {
12625                   to_x:     "elm.swallow.icon";
12626                   relative: 1.0  0.0;
12627                   offset:   4 4;
12628                }
12629                rel2 {
12630                   to_x:     "elm.swallow.end";
12631                   relative: 0.0  1.0;
12632                   offset:   -1 -5;
12633                }
12634                color: 0 0 0 255;
12635                color3: 0 0 0 0;
12636                text {
12637                   font: "Sans";
12638                   size: 10;
12639                   min: 1 1;
12640 //                  min: 0 1;
12641                   align: 0.0 0.5;
12642                   text_class: "list_item";
12643                }
12644             }
12645             description { state: "selected" 0.0;
12646                inherit: "default" 0.0;
12647                color: 224 224 224 255;
12648                color3: 0 0 0 64;
12649             }
12650          }
12651          part { name: "fg1";
12652             mouse_events: 0;
12653             description { state: "default" 0.0;
12654                visible: 0;
12655                color: 255 255 255 0;
12656                rel1.to: "bg";
12657                rel2.relative: 1.0 0.5;
12658                rel2.to: "bg";
12659                image {
12660                   normal: "bt_sm_hilight.png";
12661                   border: 6 6 6 0;
12662                }
12663             }
12664             description { state: "selected" 0.0;
12665                inherit: "default" 0.0;
12666                visible: 1;
12667                color: 255 255 255 255;
12668             }
12669          }
12670          part { name: "fg2";
12671             mouse_events: 0;
12672             description { state: "default" 0.0;
12673                visible: 0;
12674                color: 255 255 255 0;
12675                rel1.to: "bg";
12676                rel2.to: "bg";
12677                image {
12678                   normal: "bt_sm_shine.png";
12679                   border: 6 6 6 0;
12680                }
12681             }
12682             description { state: "selected" 0.0;
12683                inherit: "default" 0.0;
12684                visible: 1;
12685                color: 255 255 255 255;
12686             }
12687          }
12688       }
12689       programs {
12690          program {
12691             name:    "go_active";
12692             signal:  "elm,state,selected";
12693             source:  "elm";
12694             action:  STATE_SET "selected" 0.0;
12695             target:  "bg";
12696             target:  "fg1";
12697             target:  "fg2";
12698             target:  "elm.text";
12699          }
12700          program {
12701             name:    "go_passive";
12702             signal:  "elm,state,unselected";
12703             source:  "elm";
12704             action:  STATE_SET "default" 0.0;
12705             target:  "bg";
12706             target:  "fg1";
12707             target:  "fg2";
12708             target:  "elm.text";
12709             transition: LINEAR 0.1;
12710          }
12711       }
12712    }
12713    group { name: "elm/list/item_odd/default";
12714       data.item: "stacking" "below";
12715       data.item: "selectraise" "on";
12716       images {
12717          image: "bt_sm_base1.png" COMP;
12718          image: "bt_sm_shine.png" COMP;
12719          image: "bt_sm_hilight.png" COMP;
12720          image: "ilist_2.png" COMP;
12721       }
12722       parts {
12723          part {
12724             name:           "event";
12725             type:           RECT;
12726             repeat_events: 1;
12727             description {
12728                state: "default" 0.0;
12729                color: 0 0 0 0;
12730             }
12731          }
12732          part {
12733             name: "base";
12734             mouse_events: 0;
12735             description {
12736                state: "default" 0.0;
12737                image {
12738                   normal: "ilist_2.png";
12739                   border: 2 2 2 2;
12740                }
12741                fill.smooth: 0;
12742             }
12743          }
12744          part { name: "bg";
12745             mouse_events: 0;
12746             description { state: "default" 0.0;
12747                visible: 0;
12748                color: 255 255 255 0;
12749                rel1 {
12750                   relative: 0.0 0.0;
12751                   offset: -5 -5;
12752                }
12753                rel2 {
12754                   relative: 1.0 1.0;
12755                   offset: 4 4;
12756                }
12757                image {
12758                   normal: "bt_sm_base1.png";
12759                   border: 6 6 6 6;
12760                }
12761                image.middle: SOLID;
12762             }
12763             description { state: "selected" 0.0;
12764                inherit: "default" 0.0;
12765                visible: 1;
12766                color: 255 255 255 255;
12767                rel1 {
12768                   relative: 0.0 0.0;
12769                   offset: -2 -2;
12770                }
12771                rel2 {
12772                   relative: 1.0 1.0;
12773                   offset: 1 1;
12774                }
12775             }
12776          }
12777          part {
12778             name:          "elm.swallow.icon";
12779             type:          SWALLOW;
12780             description { state:    "default" 0.0;
12781                fixed: 1 0;
12782                align:    0.0 0.5;
12783                rel1 {
12784                   relative: 0.0  0.0;
12785                   offset:   4    4;
12786                }
12787                rel2 {
12788                   relative: 0.0  1.0;
12789                   offset:   4   -5;
12790                }
12791             }
12792          }
12793          part {
12794             name:          "elm.swallow.end";
12795             type:          SWALLOW;
12796             description { state:    "default" 0.0;
12797                fixed: 1 0;
12798                align: 1.0 0.5;
12799                rel1 {
12800                   relative: 1.0  0.0;
12801                   offset:   -5    4;
12802                }
12803                rel2 {
12804                   relative: 1.0  1.0;
12805                   offset:   -5   -5;
12806                }
12807             }
12808          }
12809          part {
12810             name:           "elm.text";
12811             type:           TEXT;
12812             effect:         SOFT_SHADOW;
12813             mouse_events:   0;
12814             scale: 1;
12815             description {
12816                state: "default" 0.0;
12817 //               min:      16 16;
12818                rel1 {
12819                   to_x:     "elm.swallow.icon";
12820                   relative: 1.0  0.0;
12821                   offset:   4 4;
12822                }
12823                rel2 {
12824                   to_x:     "elm.swallow.end";
12825                   relative: 0.0  1.0;
12826                   offset:   -1 -5;
12827                }
12828                color: 0 0 0 255;
12829                color3: 0 0 0 0;
12830                text {
12831                   font: "Sans";
12832                   size: 10;
12833                   min: 1 1;
12834 //                  min: 0 1;
12835                   align: 0.0 0.5;
12836                   text_class: "list_item";
12837                }
12838             }
12839             description { state: "selected" 0.0;
12840                inherit: "default" 0.0;
12841                color: 224 224 224 255;
12842                color3: 0 0 0 64;
12843             }
12844          }
12845          part { name: "fg1";
12846             mouse_events: 0;
12847             description { state: "default" 0.0;
12848                visible: 0;
12849                color: 255 255 255 0;
12850                rel1.to: "bg";
12851                rel2.relative: 1.0 0.5;
12852                rel2.to: "bg";
12853                image {
12854                   normal: "bt_sm_hilight.png";
12855                   border: 6 6 6 0;
12856                }
12857             }
12858             description { state: "selected" 0.0;
12859                inherit: "default" 0.0;
12860                visible: 1;
12861                color: 255 255 255 255;
12862             }
12863          }
12864          part { name: "fg2";
12865             mouse_events: 0;
12866             description { state: "default" 0.0;
12867                visible: 0;
12868                color: 255 255 255 0;
12869                rel1.to: "bg";
12870                rel2.to: "bg";
12871                image {
12872                   normal: "bt_sm_shine.png";
12873                   border: 6 6 6 0;
12874                }
12875             }
12876             description { state: "selected" 0.0;
12877                inherit: "default" 0.0;
12878                visible: 1;
12879                color: 255 255 255 255;
12880             }
12881          }
12882       }
12883       programs {
12884          program {
12885             name:    "go_active";
12886             signal:  "elm,state,selected";
12887             source:  "elm";
12888             action:  STATE_SET "selected" 0.0;
12889             target:  "bg";
12890             target:  "fg1";
12891             target:  "fg2";
12892             target:  "elm.text";
12893          }
12894          program {
12895             name:    "go_passive";
12896             signal:  "elm,state,unselected";
12897             source:  "elm";
12898             action:  STATE_SET "default" 0.0;
12899             target:  "bg";
12900             target:  "fg1";
12901             target:  "fg2";
12902             target:  "elm.text";
12903             transition: LINEAR 0.1;
12904          }
12905       }
12906    }
12907    group { name: "elm/list/item_compress/default";
12908       data.item: "stacking" "above";
12909       data.item: "selectraise" "on";
12910       images {
12911          image: "bt_sm_base1.png" COMP;
12912          image: "bt_sm_shine.png" COMP;
12913          image: "bt_sm_hilight.png" COMP;
12914          image: "ilist_1.png" COMP;
12915          image: "ilist_item_shadow.png" COMP;
12916       }
12917       parts {
12918          part {
12919             name:           "event";
12920             type:           RECT;
12921             repeat_events: 1;
12922             description {
12923                state: "default" 0.0;
12924                color: 0 0 0 0;
12925             }
12926          }
12927          part {
12928             name: "base_sh";
12929             mouse_events: 0;
12930             description { state: "default" 0.0;
12931                fixed: 1 1;
12932                align: 0.0 0.0;
12933                min: 0 10;
12934                rel1 {
12935                   to: "base";
12936                   relative: 0.0 1.0;
12937                   offset: 0 0;
12938                }
12939                rel2 {
12940                   to: "base";
12941                   relative: 1.0 1.0;
12942                   offset: -1 0;
12943                }
12944                image {
12945                   normal: "ilist_item_shadow.png";
12946                }
12947                fill.smooth: 0;
12948             }
12949          }
12950          part {
12951             name: "base";
12952             mouse_events: 0;
12953             description {
12954                state: "default" 0.0;
12955                image {
12956                   normal: "ilist_1.png";
12957                   border: 2 2 2 2;
12958                }
12959                fill.smooth: 0;
12960             }
12961          }
12962          part { name: "bg";
12963             mouse_events: 0;
12964             description { state: "default" 0.0;
12965                visible: 0;
12966                color: 255 255 255 0;
12967                rel1 {
12968                   relative: 0.0 0.0;
12969                   offset: -5 -5;
12970                }
12971                rel2 {
12972                   relative: 1.0 1.0;
12973                   offset: 4 4;
12974                }
12975                image {
12976                   normal: "bt_sm_base1.png";
12977                   border: 6 6 6 6;
12978                }
12979                image.middle: SOLID;
12980             }
12981             description { state: "selected" 0.0;
12982                inherit: "default" 0.0;
12983                visible: 1;
12984                color: 255 255 255 255;
12985                rel1 {
12986                   relative: 0.0 0.0;
12987                   offset: -2 -2;
12988                }
12989                rel2 {
12990                   relative: 1.0 1.0;
12991                   offset: 1 1;
12992                }
12993             }
12994          }
12995          part { name:          "elm.swallow.icon";
12996             type:          SWALLOW;
12997             description { state:    "default" 0.0;
12998                fixed: 1 0;
12999                align:    0.0 0.5;
13000                rel1 {
13001                   relative: 0.0  0.0;
13002                   offset:   4    4;
13003                }
13004                rel2 {
13005                   relative: 0.0  1.0;
13006                   offset:   4   -5;
13007                }
13008             }
13009          }
13010          part { name:          "elm.swallow.end";
13011             type:          SWALLOW;
13012             description { state:    "default" 0.0;
13013                fixed: 1 0;
13014                align:    1.0 0.5;
13015                rel1 {
13016                   relative: 1.0  0.0;
13017                   offset:   -5    4;
13018                }
13019                rel2 {
13020                   relative: 1.0  1.0;
13021                   offset:   -5   -5;
13022                }
13023             }
13024          }
13025          part {
13026             name:           "elm.text";
13027             type:           TEXT;
13028             effect:         SOFT_SHADOW;
13029             mouse_events:   0;
13030             scale: 1;
13031             description { state: "default" 0.0;
13032 //               min:      16 16;
13033                rel1 {
13034                   to_x:     "elm.swallow.icon";
13035                   relative: 1.0  0.0;
13036                   offset:   4 4;
13037                }
13038                rel2 {
13039                   to_x:     "elm.swallow.end";
13040                   relative: 0.0  1.0;
13041                   offset:   -1 -5;
13042                }
13043                color: 0 0 0 255;
13044                color3: 0 0 0 0;
13045                text {
13046                   font: "Sans";
13047                   size: 10;
13048 //                  min: 1 1;
13049                   min: 0 1;
13050                   align: 0.0 0.5;
13051                   text_class: "list_item";
13052                }
13053             }
13054             description { state: "selected" 0.0;
13055                inherit: "default" 0.0;
13056                color: 224 224 224 255;
13057                color3: 0 0 0 64;
13058             }
13059          }
13060          part { name: "fg1";
13061             mouse_events: 0;
13062             description { state: "default" 0.0;
13063                visible: 0;
13064                color: 255 255 255 0;
13065                rel1.to: "bg";
13066                rel2.relative: 1.0 0.5;
13067                rel2.to: "bg";
13068                image {
13069                   normal: "bt_sm_hilight.png";
13070                   border: 6 6 6 0;
13071                }
13072             }
13073             description { state: "selected" 0.0;
13074                inherit: "default" 0.0;
13075                visible: 1;
13076                color: 255 255 255 255;
13077             }
13078          }
13079          part { name: "fg2";
13080             mouse_events: 0;
13081             description { state: "default" 0.0;
13082                visible: 0;
13083                color: 255 255 255 0;
13084                rel1.to: "bg";
13085                rel2.to: "bg";
13086                image {
13087                   normal: "bt_sm_shine.png";
13088                   border: 6 6 6 0;
13089                }
13090             }
13091             description { state: "selected" 0.0;
13092                inherit: "default" 0.0;
13093                visible: 1;
13094                color: 255 255 255 255;
13095             }
13096          }
13097       }
13098       programs {
13099          program {
13100             name:    "go_active";
13101             signal:  "elm,state,selected";
13102             source:  "elm";
13103             action:  STATE_SET "selected" 0.0;
13104             target:  "bg";
13105             target:  "fg1";
13106             target:  "fg2";
13107             target:  "elm.text";
13108          }
13109          program {
13110             name:    "go_passive";
13111             signal:  "elm,state,unselected";
13112             source:  "elm";
13113             action:  STATE_SET "default" 0.0;
13114             target:  "bg";
13115             target:  "fg1";
13116             target:  "fg2";
13117             target:  "elm.text";
13118             transition: LINEAR 0.1;
13119          }
13120       }
13121    }
13122    group { name: "elm/list/item_compress_odd/default";
13123       data.item: "stacking" "below";
13124       data.item: "selectraise" "on";
13125       images {
13126          image: "bt_sm_base1.png" COMP;
13127          image: "bt_sm_shine.png" COMP;
13128          image: "bt_sm_hilight.png" COMP;
13129          image: "ilist_2.png" COMP;
13130       }
13131       parts {
13132          part {
13133             name:           "event";
13134             type:           RECT;
13135             repeat_events: 1;
13136             description {
13137                state: "default" 0.0;
13138                color: 0 0 0 0;
13139             }
13140          }
13141          part {
13142             name: "base";
13143             mouse_events: 0;
13144             description {
13145                state: "default" 0.0;
13146                image {
13147                   normal: "ilist_2.png";
13148                   border: 2 2 2 2;
13149                }
13150                fill.smooth: 0;
13151             }
13152          }
13153          part { name: "bg";
13154             mouse_events: 0;
13155             description { state: "default" 0.0;
13156                visible: 0;
13157                color: 255 255 255 0;
13158                rel1 {
13159                   relative: 0.0 0.0;
13160                   offset: -5 -5;
13161                }
13162                rel2 {
13163                   relative: 1.0 1.0;
13164                   offset: 4 4;
13165                }
13166                image {
13167                   normal: "bt_sm_base1.png";
13168                   border: 6 6 6 6;
13169                }
13170                image.middle: SOLID;
13171             }
13172             description { state: "selected" 0.0;
13173                inherit: "default" 0.0;
13174                visible: 1;
13175                color: 255 255 255 255;
13176                rel1 {
13177                   relative: 0.0 0.0;
13178                   offset: -2 -2;
13179                }
13180                rel2 {
13181                   relative: 1.0 1.0;
13182                   offset: 1 1;
13183                }
13184             }
13185          }
13186          part { name:          "elm.swallow.icon";
13187             type:          SWALLOW;
13188             description { state:    "default" 0.0;
13189                fixed: 1 0;
13190                align:    0.0 0.5;
13191                rel1 {
13192                   relative: 0.0  0.0;
13193                   offset:   4    4;
13194                }
13195                rel2 {
13196                   relative: 0.0  1.0;
13197                   offset:   4   -5;
13198                }
13199             }
13200          }
13201          part { name:          "elm.swallow.end";
13202             type:          SWALLOW;
13203             description { state:    "default" 0.0;
13204                fixed: 1 0;
13205                align:    1.0 0.5;
13206                rel1 {
13207                   relative: 1.0  0.0;
13208                   offset:   -5    4;
13209                }
13210                rel2 {
13211                   relative: 1.0  1.0;
13212                   offset:   -5   -5;
13213                }
13214             }
13215          }
13216          part {
13217             name:           "elm.text";
13218             type:           TEXT;
13219             effect:         SOFT_SHADOW;
13220             mouse_events:   0;
13221             scale: 1;
13222             description {
13223                state: "default" 0.0;
13224 //               min:      16 16;
13225                rel1 {
13226                   to_x:     "elm.swallow.icon";
13227                   relative: 1.0  0.0;
13228                   offset:   4 4;
13229                }
13230                rel2 {
13231                   to_x:     "elm.swallow.end";
13232                   relative: 0.0  1.0;
13233                   offset:   -1 -5;
13234                }
13235                color: 0 0 0 255;
13236                color3: 0 0 0 0;
13237                text {
13238                   font: "Sans";
13239                   size: 10;
13240 //                  min: 1 1;
13241                   min: 0 1;
13242                   align: 0.0 0.5;
13243                   text_class: "list_item";
13244                }
13245             }
13246             description { state: "selected" 0.0;
13247                inherit: "default" 0.0;
13248                color: 224 224 224 255;
13249                color3: 0 0 0 64;
13250             }
13251          }
13252          part { name: "fg1";
13253             mouse_events: 0;
13254             description { state: "default" 0.0;
13255                visible: 0;
13256                color: 255 255 255 0;
13257                rel1.to: "bg";
13258                rel2.relative: 1.0 0.5;
13259                rel2.to: "bg";
13260                image {
13261                   normal: "bt_sm_hilight.png";
13262                   border: 6 6 6 0;
13263                }
13264             }
13265             description { state: "selected" 0.0;
13266                inherit: "default" 0.0;
13267                visible: 1;
13268                color: 255 255 255 255;
13269             }
13270          }
13271          part { name: "fg2";
13272             mouse_events: 0;
13273             description { state: "default" 0.0;
13274                visible: 0;
13275                color: 255 255 255 0;
13276                rel1.to: "bg";
13277                rel2.to: "bg";
13278                image {
13279                   normal: "bt_sm_shine.png";
13280                   border: 6 6 6 0;
13281                }
13282             }
13283             description { state: "selected" 0.0;
13284                inherit: "default" 0.0;
13285                visible: 1;
13286                color: 255 255 255 255;
13287             }
13288          }
13289       }
13290       programs {
13291          program {
13292             name:    "go_active";
13293             signal:  "elm,state,selected";
13294             source:  "elm";
13295             action:  STATE_SET "selected" 0.0;
13296             target:  "bg";
13297             target:  "fg1";
13298             target:  "fg2";
13299             target:  "elm.text";
13300          }
13301          program {
13302             name:    "go_passive";
13303             signal:  "elm,state,unselected";
13304             source:  "elm";
13305             action:  STATE_SET "default" 0.0;
13306             target:  "bg";
13307             target:  "fg1";
13308             target:  "fg2";
13309             target:  "elm.text";
13310             transition: LINEAR 0.1;
13311          }
13312       }
13313    }
13314
13315 ///////////////////////////////////////////////////////////////////////////////
13316    group { name: "elm/list/h_item/default";
13317       data.item: "stacking" "above";
13318       images {
13319          image: "bt_sm_base1.png" COMP;
13320          image: "bt_sm_shine.png" COMP;
13321          image: "bt_sm_hilight.png" COMP;
13322          image: "ilist_1_h.png" COMP;
13323          image: "ilist_item_shadow_h.png" COMP;
13324       }
13325       parts {
13326          part {
13327             name: "event";
13328             type: RECT;
13329             repeat_events: 1;
13330             description {
13331                state: "default" 0.0;
13332                color: 0 0 0 0;
13333             }
13334          }
13335          part {
13336             name: "base_sh";
13337             mouse_events: 0;
13338             description {
13339                state: "default" 0.0;
13340                align: 0.0 0.0;
13341                min: 10 0;
13342                fixed: 1 1;
13343                rel1 {
13344                   to: "base";
13345                   relative: 1.0 0.0;
13346                   offset: 0 0;
13347                }
13348                rel2 {
13349                   to: "base";
13350                   relative: 1.0 1.0;
13351                   offset: 0 -1;
13352                }
13353                image {
13354                   normal: "ilist_item_shadow_h.png";
13355                }
13356                fill.smooth: 0;
13357             }
13358          }
13359          part {
13360             name: "base";
13361             mouse_events: 0;
13362             description {
13363                state: "default" 0.0;
13364                image {
13365                   normal: "ilist_1_h.png";
13366                   border: 2 2 2 2;
13367                }
13368                fill.smooth: 0;
13369             }
13370          }
13371          part { name: "bg";
13372             mouse_events: 0;
13373             description { state: "default" 0.0;
13374                visible: 0;
13375                color: 255 255 255 0;
13376                rel1 {
13377                   relative: 0.0 0.0;
13378                   offset: -5 -5;
13379                }
13380                rel2 {
13381                   relative: 1.0 1.0;
13382                   offset: 4 4;
13383                }
13384                image {
13385                   normal: "bt_sm_base1.png";
13386                   border: 6 6 6 6;
13387                }
13388                image.middle: SOLID;
13389             }
13390             description { state: "selected" 0.0;
13391                inherit: "default" 0.0;
13392                visible: 1;
13393                color: 255 255 255 255;
13394                rel1 {
13395                   relative: 0.0 0.0;
13396                   offset: -2 -2;
13397                }
13398                rel2 {
13399                   relative: 1.0 1.0;
13400                   offset: 1 1;
13401                }
13402             }
13403          }
13404          part { name: "elm.swallow.icon";
13405             type: SWALLOW;
13406             description { state: "default" 0.0;
13407                fixed: 0 1;
13408                align: 0.5 0.0;
13409                rel1 {
13410                   relative: 0.0 0.0;
13411                   offset: 4 4;
13412                }
13413                rel2 {
13414                   relative: 1.0 0.0;
13415                   offset: -5 4;
13416                }
13417             }
13418          }
13419          part { name: "elm.swallow.end";
13420             type: SWALLOW;
13421             description { state: "default" 0.0;
13422                fixed: 0 1;
13423                align: 0.5 1.0;
13424                rel1 {
13425                   relative: 0.0 1.0;
13426                   offset: 4 -5;
13427                }
13428                rel2 {
13429                   relative: 1.0 1.0;
13430                   offset: -5 -5;
13431                }
13432             }
13433          }
13434          part { name: "elm.text";
13435             type: TEXT;
13436             effect: SOFT_SHADOW;
13437             mouse_events: 0;
13438             scale: 1;
13439             description {
13440                state: "default" 0.0;
13441                fixed: 0 1;
13442                rel1 {
13443                   to_x: "elm.swallow.icon";
13444                   relative: 0.0 1.0;
13445                   offset: 4 4;
13446                }
13447                rel2 {
13448                   to_x: "elm.swallow.end";
13449                   relative: 1.0 0.0;
13450                   offset: -5 -1;
13451                }
13452                color: 0 0 0 255;
13453                color3: 0 0 0 0;
13454                text {
13455                   font: "Sans";
13456                   size: 10;
13457                   min: 1 1;
13458                   align: 0.5 0.5;
13459                   text_class: "list_item";
13460                }
13461             }
13462             description { state: "selected" 0.0;
13463                inherit: "default" 0.0;
13464                color: 224 224 224 255;
13465                color3: 0 0 0 64;
13466             }
13467          }
13468          part { name: "fg1";
13469             mouse_events: 0;
13470             description { state: "default" 0.0;
13471                visible: 0;
13472                color: 255 255 255 0;
13473                rel1.to: "bg";
13474                rel2.relative: 1.0 0.5;
13475                rel2.to: "bg";
13476                image {
13477                   normal: "bt_sm_hilight.png";
13478                   border: 6 6 6 0;
13479                }
13480             }
13481             description { state: "selected" 0.0;
13482                inherit: "default" 0.0;
13483                visible: 1;
13484                color: 255 255 255 255;
13485             }
13486          }
13487          part { name: "fg2";
13488             mouse_events: 0;
13489             description { state: "default" 0.0;
13490                visible: 0;
13491                color: 255 255 255 0;
13492                rel1.to: "bg";
13493                rel2.to: "bg";
13494                image {
13495                   normal: "bt_sm_shine.png";
13496                   border: 6 6 6 0;
13497                }
13498             }
13499             description { state: "selected" 0.0;
13500                inherit: "default" 0.0;
13501                visible: 1;
13502                color: 255 255 255 255;
13503             }
13504          }
13505       }
13506       programs {
13507          program {
13508             name: "go_active";
13509             signal: "elm,state,selected";
13510             source: "elm";
13511             action: STATE_SET "selected" 0.0;
13512             target: "bg";
13513             target: "fg1";
13514             target: "fg2";
13515             target: "elm.text";
13516          }
13517          program {
13518             name: "go_passive";
13519             signal: "elm,state,unselected";
13520             source: "elm";
13521             action: STATE_SET "default" 0.0;
13522             target: "bg";
13523             target: "fg1";
13524             target: "fg2";
13525             target: "elm.text";
13526             transition: LINEAR 0.1;
13527          }
13528       }
13529    }
13530    group { name: "elm/list/h_item_odd/default";
13531       data.item: "stacking" "below";
13532       data.item: "selectraise" "on";
13533       images {
13534          image: "bt_sm_base1.png" COMP;
13535          image: "bt_sm_shine.png" COMP;
13536          image: "bt_sm_hilight.png" COMP;
13537          image: "ilist_2_h.png" COMP;
13538       }
13539       parts {
13540          part {
13541             name: "event";
13542             type: RECT;
13543             repeat_events: 1;
13544             description {
13545                state: "default" 0.0;
13546                color: 0 0 0 0;
13547             }
13548          }
13549          part {
13550             name: "base";
13551             mouse_events: 0;
13552             description {
13553                state: "default" 0.0;
13554                image {
13555                   normal: "ilist_2_h.png";
13556                   border: 2 2 2 2;
13557                }
13558                fill.smooth: 0;
13559             }
13560          }
13561          part { name: "bg";
13562             mouse_events: 0;
13563             description { state: "default" 0.0;
13564                visible: 0;
13565                color: 255 255 255 0;
13566                rel1 {
13567                   relative: 0.0 0.0;
13568                   offset: -5 -5;
13569                }
13570                rel2 {
13571                   relative: 1.0 1.0;
13572                   offset: 4 4;
13573                }
13574                image {
13575                   normal: "bt_sm_base1.png";
13576                   border: 6 6 6 6;
13577                }
13578                image.middle: SOLID;
13579             }
13580             description { state: "selected" 0.0;
13581                inherit: "default" 0.0;
13582                visible: 1;
13583                color: 255 255 255 255;
13584                rel1 {
13585                   relative: 0.0 0.0;
13586                   offset: -2 -2;
13587                }
13588                rel2 {
13589                   relative: 1.0 1.0;
13590                   offset: 1 1;
13591                }
13592             }
13593          }
13594          part {
13595             name: "elm.swallow.icon";
13596             type: SWALLOW;
13597             description { state: "default" 0.0;
13598                fixed: 0 1;
13599                align: 0.5 0.0;
13600                rel1 {
13601                   relative: 0.0 0.0;
13602                   offset: 4 4;
13603                }
13604                rel2 {
13605                   relative: 1.0 0.0;
13606                   offset: -5 4;
13607                }
13608             }
13609          }
13610          part {
13611             name: "elm.swallow.end";
13612             type: SWALLOW;
13613             description { state: "default" 0.0;
13614                fixed: 0 1;
13615                align: 0.5 1.0;
13616                rel1 {
13617                   relative: 0.0 1.0;
13618                   offset: 4 -5;
13619                }
13620                rel2 {
13621                   relative: 1.0 1.0;
13622                   offset: -5 -5;
13623                }
13624             }
13625          }
13626          part { name: "elm.text";
13627             type: TEXT;
13628             effect: SOFT_SHADOW;
13629             mouse_events: 0;
13630             scale: 1;
13631             description {
13632                state: "default" 0.0;
13633                fixed: 1 1;
13634                rel1 {
13635                   to_x: "elm.swallow.icon";
13636                   relative: 0.0 1.0;
13637                   offset: 4 4;
13638                }
13639                rel2 {
13640                   to_x: "elm.swallow.end";
13641                   relative: 1.0 0.0;
13642                   offset: -5 -1;
13643                }
13644                color: 0 0 0 255;
13645                color3: 0 0 0 0;
13646                text {
13647                   font: "Sans";
13648                   size: 10;
13649                   min: 1 1;
13650                   align: 0.5 0.5;
13651                   text_class: "list_item";
13652                }
13653             }
13654             description { state: "selected" 0.0;
13655                inherit: "default" 0.0;
13656                color: 224 224 224 255;
13657                color3: 0 0 0 64;
13658             }
13659          }
13660          part { name: "fg1";
13661             mouse_events: 0;
13662             description { state: "default" 0.0;
13663                visible: 0;
13664                color: 255 255 255 0;
13665                rel1.to: "bg";
13666                rel2.relative: 1.0 0.5;
13667                rel2.to: "bg";
13668                image {
13669                   normal: "bt_sm_hilight.png";
13670                   border: 6 6 6 0;
13671                }
13672             }
13673             description { state: "selected" 0.0;
13674                inherit: "default" 0.0;
13675                visible: 1;
13676                color: 255 255 255 255;
13677             }
13678          }
13679          part { name: "fg2";
13680             mouse_events: 0;
13681             description { state: "default" 0.0;
13682                visible: 0;
13683                color: 255 255 255 0;
13684                rel1.to: "bg";
13685                rel2.to: "bg";
13686                image {
13687                   normal: "bt_sm_shine.png";
13688                   border: 6 6 6 0;
13689                }
13690             }
13691             description { state: "selected" 0.0;
13692                inherit: "default" 0.0;
13693                visible: 1;
13694                color: 255 255 255 255;
13695             }
13696          }
13697       }
13698       programs {
13699          program {
13700             name: "go_active";
13701             signal: "elm,state,selected";
13702             source: "elm";
13703             action: STATE_SET "selected" 0.0;
13704             target: "bg";
13705             target: "fg1";
13706             target: "fg2";
13707             target: "elm.text";
13708          }
13709          program {
13710             name: "go_passive";
13711             signal: "elm,state,unselected";
13712             source: "elm";
13713             action: STATE_SET "default" 0.0;
13714             target: "bg";
13715             target: "fg1";
13716             target: "fg2";
13717             target: "elm.text";
13718             transition: LINEAR 0.1;
13719          }
13720       }
13721    }
13722    group { name: "elm/list/h_item_compress/default";
13723       data.item: "stacking" "above";
13724       data.item: "selectraise" "on";
13725       images {
13726          image: "bt_sm_base1.png" COMP;
13727          image: "bt_sm_shine.png" COMP;
13728          image: "bt_sm_hilight.png" COMP;
13729          image: "ilist_1_h.png" COMP;
13730          image: "ilist_item_shadow_h.png" COMP;
13731       }
13732       parts {
13733          part {
13734             name: "event";
13735             type: RECT;
13736             repeat_events: 1;
13737             description {
13738                state: "default" 0.0;
13739                color: 0 0 0 0;
13740             }
13741          }
13742          part {
13743             name: "base_sh";
13744             mouse_events: 0;
13745             description { state: "default" 0.0;
13746                fixed: 1 1;
13747                align: 0.0 0.0;
13748                min: 10 0;
13749                rel1 {
13750                   to: "base";
13751                   relative: 1.0 0.0;
13752                   offset: 0 0;
13753                }
13754                rel2 {
13755                   to: "base";
13756                   relative: 1.0 1.0;
13757                   offset: 0 -1;
13758                }
13759                image {
13760                   normal: "ilist_item_shadow_h.png";
13761                }
13762                fill.smooth: 0;
13763             }
13764          }
13765          part {
13766             name: "base";
13767             mouse_events: 0;
13768             description {
13769                state: "default" 0.0;
13770                image {
13771                   normal: "ilist_1_h.png";
13772                   border: 2 2 2 2;
13773                }
13774                fill.smooth: 0;
13775             }
13776          }
13777          part { name: "bg";
13778             mouse_events: 0;
13779             description { state: "default" 0.0;
13780                visible: 0;
13781                color: 255 255 255 0;
13782                rel1 {
13783                   relative: 0.0 0.0;
13784                   offset: -5 -5;
13785                }
13786                rel2 {
13787                   relative: 1.0 1.0;
13788                   offset: 4 4;
13789                }
13790                image {
13791                   normal: "bt_sm_base1.png";
13792                   border: 6 6 6 6;
13793                }
13794                image.middle: SOLID;
13795             }
13796             description { state: "selected" 0.0;
13797                inherit: "default" 0.0;
13798                visible: 1;
13799                color: 255 255 255 255;
13800                rel1 {
13801                   relative: 0.0 0.0;
13802                   offset: -2 -2;
13803                }
13804                rel2 {
13805                   relative: 1.0 1.0;
13806                   offset: 1 1;
13807                }
13808             }
13809          }
13810          part { name: "elm.swallow.icon";
13811             type: SWALLOW;
13812             description { state: "default" 0.0;
13813                fixed: 0 1;
13814                align: 0.5 0.0;
13815                rel1 {
13816                   relative: 0.0 0.0;
13817                   offset: 4 4;
13818                }
13819                rel2 {
13820                   relative: 1.0 0.0;
13821                   offset: -5 4;
13822                }
13823             }
13824          }
13825          part { name: "elm.swallow.end";
13826             type: SWALLOW;
13827             description { state: "default" 0.0;
13828                fixed: 0 1;
13829                align: 0.5 1.0;
13830                rel1 {
13831                   relative: 0.0 1.0;
13832                   offset: 4 -5;
13833                }
13834                rel2 {
13835                   relative: 1.0 1.0;
13836                   offset: -5 -5;
13837                }
13838             }
13839          }
13840          part {
13841             name: "elm.text";
13842             type: TEXT;
13843             effect: SOFT_SHADOW;
13844             mouse_events: 0;
13845             scale: 1;
13846             description { state: "default" 0.0;
13847                fixed: 1 1;
13848                rel1 {
13849                   to_x: "elm.swallow.icon";
13850                   relative: 0.0 1.0;
13851                   offset: 4 4;
13852                }
13853                rel2 {
13854                   to_x: "elm.swallow.end";
13855                   relative: 1.0 0.0;
13856                   offset: -5 -1;
13857                }
13858                color: 0 0 0 255;
13859                color3: 0 0 0 0;
13860                text {
13861                   font: "Sans";
13862                   size: 10;
13863                   min: 1 1;
13864                   align: 0.5 0.5;
13865                   text_class: "list_item";
13866                }
13867             }
13868             description { state: "selected" 0.0;
13869                inherit: "default" 0.0;
13870                color: 224 224 224 255;
13871                color3: 0 0 0 64;
13872             }
13873          }
13874          part { name: "fg1";
13875             mouse_events: 0;
13876             description { state: "default" 0.0;
13877                visible: 0;
13878                color: 255 255 255 0;
13879                rel1.to: "bg";
13880                rel2.relative: 1.0 0.5;
13881                rel2.to: "bg";
13882                image {
13883                   normal: "bt_sm_hilight.png";
13884                   border: 6 6 6 0;
13885                }
13886             }
13887             description { state: "selected" 0.0;
13888                inherit: "default" 0.0;
13889                visible: 1;
13890                color: 255 255 255 255;
13891             }
13892          }
13893          part { name: "fg2";
13894             mouse_events: 0;
13895             description { state: "default" 0.0;
13896                visible: 0;
13897                color: 255 255 255 0;
13898                rel1.to: "bg";
13899                rel2.to: "bg";
13900                image {
13901                   normal: "bt_sm_shine.png";
13902                   border: 6 6 6 0;
13903                }
13904             }
13905             description { state: "selected" 0.0;
13906                inherit: "default" 0.0;
13907                visible: 1;
13908                color: 255 255 255 255;
13909             }
13910          }
13911       }
13912       programs {
13913          program {
13914             name: "go_active";
13915             signal: "elm,state,selected";
13916             source: "elm";
13917             action: STATE_SET "selected" 0.0;
13918             target: "bg";
13919             target: "fg1";
13920             target: "fg2";
13921             target: "elm.text";
13922          }
13923          program {
13924             name: "go_passive";
13925             signal: "elm,state,unselected";
13926             source: "elm";
13927             action: STATE_SET "default" 0.0;
13928             target: "bg";
13929             target: "fg1";
13930             target: "fg2";
13931             target: "elm.text";
13932             transition: LINEAR 0.1;
13933          }
13934       }
13935    }
13936    group { name: "elm/list/h_item_compress_odd/default";
13937       data.item: "stacking" "below";
13938       data.item: "selectraise" "on";
13939       images {
13940          image: "bt_sm_base1.png" COMP;
13941          image: "bt_sm_shine.png" COMP;
13942          image: "bt_sm_hilight.png" COMP;
13943          image: "ilist_2_h.png" COMP;
13944       }
13945       parts {
13946          part {
13947             name: "event";
13948             type: RECT;
13949             repeat_events: 1;
13950             description {
13951                state: "default" 0.0;
13952                color: 0 0 0 0;
13953             }
13954          }
13955          part {
13956             name: "base";
13957             mouse_events: 0;
13958             description {
13959                state: "default" 0.0;
13960                image {
13961                   normal: "ilist_2_h.png";
13962                   border: 2 2 2 2;
13963                }
13964                fill.smooth: 0;
13965             }
13966          }
13967          part { name: "bg";
13968             mouse_events: 0;
13969             description { state: "default" 0.0;
13970                visible: 0;
13971                color: 255 255 255 0;
13972                rel1 {
13973                   relative: 0.0 0.0;
13974                   offset: -5 -5;
13975                }
13976                rel2 {
13977                   relative: 1.0 1.0;
13978                   offset: 4 4;
13979                }
13980                image {
13981                   normal: "bt_sm_base1.png";
13982                   border: 6 6 6 6;
13983                }
13984                image.middle: SOLID;
13985             }
13986             description { state: "selected" 0.0;
13987                inherit: "default" 0.0;
13988                visible: 1;
13989                color: 255 255 255 255;
13990                rel1 {
13991                   relative: 0.0 0.0;
13992                   offset: -2 -2;
13993                }
13994                rel2 {
13995                   relative: 1.0 1.0;
13996                   offset: 1 1;
13997                }
13998             }
13999          }
14000          part { name: "elm.swallow.icon";
14001             type: SWALLOW;
14002             description { state: "default" 0.0;
14003                fixed: 0 1;
14004                align: 0.5 0.0;
14005                rel1 {
14006                   relative: 0.0 0.0;
14007                   offset: 4 4;
14008                }
14009                rel2 {
14010                   relative: 1.0 0.0;
14011                   offset: -5 4;
14012                }
14013             }
14014          }
14015          part { name: "elm.swallow.end";
14016             type: SWALLOW;
14017             description { state: "default" 0.0;
14018                fixed: 0 1;
14019                align: 0.5 1.0;
14020                rel1 {
14021                   relative: 0.0 1.0;
14022                   offset: 4 -5;
14023                }
14024                rel2 {
14025                   relative: 1.0 1.0;
14026                   offset: -5 -5;
14027                }
14028             }
14029          }
14030          part { name: "elm.text";
14031             type: TEXT;
14032             effect: SOFT_SHADOW;
14033             mouse_events: 0;
14034             scale: 1;
14035             description {
14036                state: "default" 0.0;
14037                fixed: 1 1;
14038                rel1 {
14039                   to_x: "elm.swallow.icon";
14040                   relative: 0.0 1.0;
14041                   offset: 4 4;
14042                }
14043                rel2 {
14044                   to_x: "elm.swallow.end";
14045                   relative: 1.0 0.0;
14046                   offset: -5 -1;
14047                }
14048                color: 0 0 0 255;
14049                color3: 0 0 0 0;
14050                text {
14051                   font: "Sans";
14052                   size: 10;
14053                   min: 1 1;
14054                   align: 0.5 0.5;
14055                   text_class: "list_item";
14056                }
14057             }
14058             description { state: "selected" 0.0;
14059                inherit: "default" 0.0;
14060                color: 224 224 224 255;
14061                color3: 0 0 0 64;
14062             }
14063          }
14064          part { name: "fg1";
14065             mouse_events: 0;
14066             description { state: "default" 0.0;
14067                visible: 0;
14068                color: 255 255 255 0;
14069                rel1.to: "bg";
14070                rel2.relative: 1.0 0.5;
14071                rel2.to: "bg";
14072                image {
14073                   normal: "bt_sm_hilight.png";
14074                   border: 6 6 6 0;
14075                }
14076             }
14077             description { state: "selected" 0.0;
14078                inherit: "default" 0.0;
14079                visible: 1;
14080                color: 255 255 255 255;
14081             }
14082          }
14083          part { name: "fg2";
14084             mouse_events: 0;
14085             description { state: "default" 0.0;
14086                visible: 0;
14087                color: 255 255 255 0;
14088                rel1.to: "bg";
14089                rel2.to: "bg";
14090                image {
14091                   normal: "bt_sm_shine.png";
14092                   border: 6 6 6 0;
14093                }
14094             }
14095             description { state: "selected" 0.0;
14096                inherit: "default" 0.0;
14097                visible: 1;
14098                color: 255 255 255 255;
14099             }
14100          }
14101       }
14102       programs {
14103          program {
14104             name: "go_active";
14105             signal: "elm,state,selected";
14106             source: "elm";
14107             action: STATE_SET "selected" 0.0;
14108             target: "bg";
14109             target: "fg1";
14110             target: "fg2";
14111             target: "elm.text";
14112          }
14113          program {
14114             name: "go_passive";
14115             signal: "elm,state,unselected";
14116             source: "elm";
14117             action: STATE_SET "default" 0.0;
14118             target: "bg";
14119             target: "fg1";
14120             target: "fg2";
14121             target: "elm.text";
14122             transition: LINEAR 0.1;
14123          }
14124       }
14125    }
14126
14127 ///////////////////////////////////////////////////////////////////////////////
14128    group { name: "elm/slider/horizontal/default";
14129            alias: "elm/slider/horizontal/disabled";
14130       images {
14131          image: "sl_bg.png" COMP;
14132          image: "sl_bg_over.png" COMP;
14133          image: "sl_bt_0.png" COMP;
14134          image: "sl_bt_1.png" COMP;
14135          image: "sl_bt_2.png" COMP;
14136          image: "sl_bt_3.png" COMP;
14137          image: "sl_bt2_0_0.png" COMP;
14138          image: "sl_bt2_0_1.png" COMP;
14139          image: "sl_bt2_0_2.png" COMP;
14140          image: "sl_bt2_1.png" COMP;
14141          image: "sl_bt2_2.png" COMP;
14142          image: "sl_units.png" COMP;
14143       }
14144       script {
14145          public value_hide = 0;
14146          public set_value_show() {
14147             set_int(value_hide, 0);
14148          }
14149          public set_value_hide() {
14150             set_int(value_hide, 1);
14151          }
14152          public thumb_down() {
14153             if (get_int(value_hide) == 1) {
14154                set_state(PART:"elm.indicator", "default", 0.0);
14155                set_state(PART:"button3", "default", 0.0);
14156                set_state(PART:"button4", "default", 0.0);
14157                set_state(PART:"button5", "default", 0.0);
14158                set_state(PART:"button6", "default", 0.0);
14159                set_state(PART:"button7", "default", 0.0);
14160             } else {
14161                set_state(PART:"elm.indicator", "visible", 0.0);
14162                set_state(PART:"button3", "visible", 0.0);
14163                set_state(PART:"button4", "visible", 0.0);
14164                set_state(PART:"button5", "visible", 0.0);
14165                set_state(PART:"button6", "visible", 0.0);
14166                set_state(PART:"button7", "visible", 0.0);
14167             }
14168          }
14169          public thumb_up() {
14170             set_state(PART:"elm.indicator", "default", 0.0);
14171             set_state(PART:"button3", "default", 0.0);
14172             set_state(PART:"button4", "default", 0.0);
14173             set_state(PART:"button5", "default", 0.0);
14174             set_state(PART:"button6", "default", 0.0);
14175             set_state(PART:"button7", "default", 0.0);
14176          }
14177       }
14178       parts {
14179          part { name: "base";
14180             mouse_events: 0;
14181             description { state: "default" 0.0;
14182                max: 99999 6;
14183                min: 0 6;
14184                rel1 { to: "bg";
14185                   offset: 1 0;
14186                }
14187                rel2 { to: "bg";
14188                   offset: -2 -1;
14189                }
14190                image.normal: "sl_bg.png";
14191                fill.smooth: 0;
14192             }
14193          }
14194          part { name: "level";
14195             type: RECT;
14196             mouse_events: 0;
14197             description { state: "default" 0.0;
14198                fixed: 1 1;
14199                rel1.to: "base";
14200                rel2 {
14201                   to_y: "base";
14202                   to_x: "elm.dragable.slider";
14203                   relative: 0.5 1.0;
14204                }
14205                color: 255 0 0 200;
14206             }
14207             description { state: "inverted" 0.0;
14208                inherit: "default" 0.0;
14209                visible: 0;
14210             }
14211             description { state: "disabled" 0.0;
14212                inherit: "default" 0.0;
14213                color: 255 0 0 100;
14214             }
14215             description { state: "disabled_inverted" 0.0;
14216                inherit: "default" 0.0;
14217                visible: 0;
14218             }
14219          }
14220          part { name: "level2";
14221             type: RECT;
14222             mouse_events: 0;
14223             description { state: "default" 0.0;
14224                fixed: 1 1;
14225                visible: 0;
14226                rel1 {
14227                   to_y: "base";
14228                   to_x: "elm.dragable.slider";
14229                   relative: 0.5 0.0;
14230                }
14231                rel2.to: "base";
14232                color: 255 0 0 200;
14233             }
14234             description { state: "inverted" 0.0;
14235                inherit: "default" 0.0;
14236                visible: 1;
14237             }
14238             description { state: "disabled" 0.0;
14239                inherit: "default" 0.0;
14240             }
14241             description { state: "disabled_inverted" 0.0;
14242                inherit: "default" 0.0;
14243                color: 255 0 0 100;
14244                visible: 1;
14245             }
14246          }
14247          part {
14248             name: "base_over";
14249             mouse_events: 0;
14250             description { state: "default" 0.0;
14251                rel1.to: "base";
14252                rel1.offset: -1 -1;
14253                rel2.to: "base";
14254                rel2.offset: 0 0;
14255                image {
14256                   normal: "sl_bg_over.png";
14257                   border: 3 3 3 3;
14258                }
14259                fill.smooth: 0;
14260             }
14261          }
14262          part { name: "bg";
14263             type: RECT;
14264             mouse_events: 0;
14265             scale: 1;
14266             description { state: "default" 0.0;
14267                visible: 0;
14268                rel1.to: "elm.swallow.bar";
14269                rel2.to: "elm.swallow.bar";
14270                color: 0 0 0 0;
14271             }
14272          }
14273          part { name: "elm.swallow.bar";
14274             type: SWALLOW;
14275             scale: 1;
14276             description { state: "default" 0.0;
14277                min: 48 24;
14278                max: 99999 24;
14279                align: 1.0 0.5;
14280                rel1 {
14281                   to_x: "elm.text";
14282                   relative: 1.0 0.0;
14283                   offset: 8 0;
14284                }
14285                rel2 {
14286                   to_x: "elm.units";
14287                   relative: 0.0 1.0;
14288                   offset: -10 -1;
14289                }
14290             }
14291          }
14292          part { name: "elm.swallow.icon";
14293             type: SWALLOW;
14294             description { state: "default" 0.0;
14295                visible: 0;
14296                align: 0.0 0.5;
14297                rel1 {
14298                   offset: 4 0;
14299                   to_y: "elm.swallow.bar";
14300                }
14301                rel2 {
14302                   offset: 3 -1;
14303                   relative: 0.0 1.0;
14304                   to_y: "elm.swallow.bar";
14305                }
14306             }
14307             description { state: "visible" 0.0;
14308                inherit: "default" 0.0;
14309                visible: 1;
14310                aspect: 1.0 1.0;
14311                aspect_preference: VERTICAL;
14312                rel2.offset: 4 -1;
14313             }
14314          }
14315          part { name: "elm.text";
14316             type: TEXT;
14317             mouse_events: 0;
14318             scale: 1;
14319             description { state: "default" 0.0;
14320                visible: 0;
14321                fixed: 1 1;
14322                align: 0.0 0.5;
14323                rel1.to_x: "elm.swallow.icon";
14324                rel1.relative: 1.0 0.0;
14325                rel1.offset: -1 4;
14326                rel2.to_x: "elm.swallow.icon";
14327                rel2.relative: 1.0 1.0;
14328                rel2.offset: -1 -5;
14329                color: 0 0 0 255;
14330                text {
14331                   font: "Sans,Edje-Vera";
14332                   size: 10;
14333                   min: 0 0;
14334                   align: 0.0 0.5;
14335                }
14336             }
14337             description { state: "visible" 0.0;
14338                inherit: "default" 0.0;
14339                visible: 1;
14340                text.min: 1 1;
14341                rel1.offset: 0 4;
14342                rel2.offset: 0 -5;
14343             }
14344             description { state: "disabled" 0.0;
14345                inherit: "default" 0.0;
14346                color: 255 128 128 128;
14347                visible: 0;
14348             }
14349             description { state: "disabled_visible" 0.0;
14350                inherit: "default" 0.0;
14351                color: 0 0 0 128;
14352                color3: 0 0 0 0;
14353                visible: 1;
14354                text.min: 1 1;
14355             }
14356          }
14357          part {
14358             name: "elm.swallow.end";
14359             type: SWALLOW;
14360             description {
14361                state: "default" 0.0;
14362                visible: 0;
14363                align: 1.0 0.5;
14364                rel1 {
14365                   offset: -4 0;
14366                   relative: 1.0 0.0;
14367                   to_y: "elm.swallow.bar";
14368                }
14369                rel2 {
14370                   offset: -3 -1;
14371                   to_y: "elm.swallow.bar";
14372                }
14373             }
14374             description { state: "visible" 0.0;
14375                inherit: "default" 0.0;
14376                visible: 1;
14377                aspect: 1.0 1.0;
14378                aspect_preference: VERTICAL;
14379                rel2.offset: -4 -1;
14380             }
14381          }
14382          part { name: "units";
14383             mouse_events: 0;
14384             description { state: "default" 0.0;
14385                visible: 0;
14386                rel1 {
14387                   to_x: "elm.units";
14388                   offset: 0 5;
14389                }
14390                rel2 {
14391                   to_x: "elm.units";
14392                   offset: 5 -3;
14393                }
14394                image {
14395                   normal: "sl_units.png";
14396                   border: 0 5 3 8;
14397                }
14398                fill.smooth: 0;
14399             }
14400             description { state: "visible" 0.0;
14401                inherit: "default" 0.0;
14402                visible: 1;
14403             }
14404          }
14405          part { name: "elm.units";
14406             type: TEXT;
14407             mouse_events: 0;
14408             scale: 1;
14409             description { state: "default" 0.0;
14410                visible: 0;
14411                fixed: 1 1;
14412                align: 1.0 0.5;
14413                rel1.to_x: "elm.swallow.end";
14414                rel1.relative: 0.0 0.0;
14415                rel1.offset: 0 8;
14416                rel2.to_x: "elm.swallow.end";
14417                rel2.relative: 0.0 1.0;
14418                rel2.offset: 0 -9;
14419                color: 0 0 0 255;
14420                text {
14421                   font: "Sans,Edje-Vera";
14422                   size: 10;
14423                   min: 0 0;
14424                   align: 0.0 0.5;
14425                }
14426             }
14427             description { state: "visible" 0.0;
14428                inherit: "default" 0.0;
14429                fixed: 1 1;
14430                visible: 1;
14431                text.min: 1 1;
14432                rel1.offset: -5 0;
14433                rel2.offset: -5 -1;
14434             }
14435             description { state: "disabled" 0.0;
14436                inherit: "default" 0.0;
14437                color: 255 128 128 128;
14438                visible: 0;
14439             }
14440             description { state: "disabled_visible" 0.0;
14441                inherit: "default" 0.0;
14442                color: 0 0 0 128;
14443                color3: 0 0 0 0;
14444                visible: 1;
14445                text.min: 1 1;
14446             }
14447          }
14448          part { name: "elm.dragable.slider";
14449             type: RECT;
14450             mouse_events: 0;
14451             scale: 1;
14452             dragable {
14453                x: 1 1 0;
14454                y: 0 0 0;
14455                confine: "bg";
14456             }
14457             description { state: "default" 0.0;
14458                min: 0 24;
14459                max: 0 24;
14460                fixed: 1 1;
14461                rel1 {
14462                   relative: 0.5 0.0;
14463                   to_x: "bg";
14464                }
14465                rel2 {
14466                   relative: 0.5 1.0;
14467                   to_x: "bg";
14468                }
14469                color: 255 0 0 100;
14470             }
14471          }
14472          part { name: "button_events";
14473             type: RECT;
14474             dragable {
14475                events: "elm.dragable.slider";
14476             }
14477             mouse_events: 1;
14478             description { state: "default" 0.0;
14479                fixed: 1 1;
14480                min: 16 16;
14481                aspect: 1.0 1.0;
14482                aspect_preference: VERTICAL;
14483                rel1.to_x: "elm.dragable.slider";
14484                rel2.to_x: "elm.dragable.slider";
14485                color: 0 0 0 0;
14486             }
14487          }
14488          part { name: "button0";
14489             mouse_events: 0;
14490             description { state: "default" 0.0;
14491                fixed: 1 1;
14492                max: 17 999;
14493                min: 17 24;
14494                rel1.to: "elm.dragable.slider";
14495                rel2.to: "elm.dragable.slider";
14496                image {
14497                   normal: "sl_bt_0.png";
14498                   border: 5 5 5 10;
14499                }
14500                fill.smooth: 0;
14501             }
14502             description { state: "disabled" 0.0;
14503                inherit: "default" 0.0;
14504                image {
14505                   normal: "sl_bt_3.png";
14506                   border: 5 5 5 10;
14507                }
14508             }
14509          }
14510          part { name: "button1";
14511             mouse_events: 0;
14512             description { state: "default" 0.0;
14513                rel1.to: "button0";
14514                rel2 {
14515                   to: "button0";
14516                   relative: 1.0 0.5;
14517                   offset: -1 -5;
14518                }
14519                image {
14520                   normal: "sl_bt_1.png";
14521                   border: 5 5 5 0;
14522                }
14523             }
14524          }
14525          part { name: "button2";
14526             mouse_events: 0;
14527             description { state: "default" 0.0;
14528                rel1.to: "button0";
14529                rel2.to: "button0";
14530                image {
14531                   normal: "sl_bt_2.png";
14532                   border: 5 5 5 10;
14533                }
14534                fill.smooth: 0;
14535             }
14536          }
14537          part { name: "button3";
14538             mouse_events: 0;
14539             description { state: "default" 0.0;
14540                fixed: 1 1;
14541                visible: 0;
14542                min: 8 32;
14543                align: 1.0 0.5;
14544                rel1 {
14545                   to_x: "elm.indicator";
14546                   to_y: "button4";
14547                   relative: 0.0 0.0;
14548                   offset: -7 0;
14549                }
14550                rel2 {
14551                   to: "button4";
14552                   relative: 0.0 1.0;
14553                   offset: -1 -1;
14554                }
14555                image {
14556                   normal: "sl_bt2_0_0.png";
14557                   border: 6 0 6 12;
14558                }
14559                fill.smooth: 0;
14560             }
14561             description { state: "visible" 0.0;
14562                inherit: "default" 0.0;
14563                visible: 1;
14564             }
14565          }
14566          part { name: "button4";
14567             mouse_events: 0;
14568             description { state: "default" 0.0;
14569                visible: 0;
14570                max: 15 999;
14571                min: 15 32;
14572                rel1 {
14573                   to_x: "button0";
14574                   to_y: "elm.indicator";
14575                   offset: 0 0;
14576                }
14577                rel2.to: "button0";
14578                image {
14579                   normal: "sl_bt2_0_1.png";
14580                   border: 0 0 6 12;
14581                }
14582                fill.smooth: 0;
14583             }
14584             description { state: "visible" 0.0;
14585                inherit: "default" 0.0;
14586                visible: 1;
14587             }
14588          }
14589          part { name: "button5";
14590             mouse_events: 0;
14591             description { state: "default" 0.0;
14592                fixed: 1 1;
14593                visible: 0;
14594                min: 8 32;
14595                align: 0.0 0.5;
14596                rel1 {
14597                   to: "button4";
14598                   relative: 1.0 0.0;
14599                   offset: 0 0;
14600                }
14601                rel2 {
14602                   to_x: "elm.indicator";
14603                   to_y: "button4";
14604                   relative: 1.0 1.0;
14605                   offset: 6 -1;
14606                }
14607                image {
14608                   normal: "sl_bt2_0_2.png";
14609                   border: 0 6 6 12;
14610                }
14611                fill.smooth: 0;
14612             }
14613             description { state: "visible" 0.0;
14614                inherit: "default" 0.0;
14615                visible: 1;
14616             }
14617          }
14618          part { name: "elm.indicator";
14619             type: TEXT;
14620             mouse_events: 0;
14621             effect: SOFT_SHADOW;
14622             scale: 1;
14623             description { state: "default" 0.0;
14624                visible: 0;
14625                fixed: 1 1;
14626                align: 0.5 1.0;
14627                rel1 {
14628                   to: "button0";
14629                   relative: 0.0 -0.25;
14630                   offset: 0 0;
14631                }
14632                rel2 {
14633                   to_x: "button0";
14634                   relative: 1.0 -0.25;
14635                   offset: -1 0;
14636                }
14637                color: 224 224 224 255;
14638                color3: 0 0 0 64;
14639                text {
14640                   font:     "Sans,Edje-Vera";
14641                   size:     10;
14642                   min:      0 0;
14643                   align:    0.5 0.5;
14644                }
14645             }
14646             description { state: "visible" 0.0;
14647                inherit: "default" 0.0;
14648                visible: 1;
14649                text.min: 1 1;
14650                rel1.offset: 0 -1;
14651                rel2.offset: -1 -1;
14652             }
14653          }
14654          part { name: "button6";
14655             mouse_events: 0;
14656             description { state: "default" 0.0;
14657                visible: 0;
14658                rel1.to: "button3";
14659                rel2 {
14660                   to: "button5";
14661                   relative: 1.0 0.3;
14662                   offset: -1 -1;
14663                }
14664                image {
14665                   normal: "sl_bt2_1.png";
14666                   border: 5 5 5 0;
14667                }
14668                fill.smooth: 0;
14669             }
14670             description { state: "visible" 0.0;
14671                inherit: "default" 0.0;
14672                visible: 1;
14673             }
14674          }
14675          part { name: "button7";
14676             mouse_events: 0;
14677             description { state: "default" 0.0;
14678                visible: 0;
14679                rel1.to: "button3";
14680                rel2.to: "button5";
14681                image {
14682                   normal: "sl_bt2_2.png";
14683                   border: 5 5 5 0;
14684                   middle: 0;
14685                }
14686                fill.smooth: 0;
14687             }
14688             description { state: "visible" 0.0;
14689                inherit: "default" 0.0;
14690                visible: 1;
14691             }
14692          }
14693          part { name: "disabler";
14694             type: RECT;
14695             description { state: "default" 0.0;
14696                color: 0 0 0 0;
14697                visible: 0;
14698             }
14699             description { state: "disabled" 0.0;
14700                inherit: "default" 0.0;
14701                visible: 1;
14702             }
14703          }
14704       }
14705       programs {
14706          program { name: "text_show";
14707             signal: "elm,state,text,visible";
14708             source: "elm";
14709             action:  STATE_SET "visible" 0.0;
14710             target: "elm.text";
14711          }
14712          program { name: "text_hide";
14713             signal: "elm,state,text,hidden";
14714             source: "elm";
14715             action:  STATE_SET "default" 0.0;
14716             target: "elm.text";
14717          }
14718          program { name: "icon_show";
14719             signal: "elm,state,icon,visible";
14720             source: "elm";
14721             action:  STATE_SET "visible" 0.0;
14722             target: "elm.swallow.icon";
14723          }
14724          program { name: "icon_hide";
14725             signal: "elm,state,icon,hidden";
14726             source: "elm";
14727             action:  STATE_SET "default" 0.0;
14728             target: "elm.swallow.icon";
14729          }
14730          program { name: "end_show";
14731             signal: "elm,state,end,visible";
14732             source: "elm";
14733             action:  STATE_SET "visible" 0.0;
14734             target: "elm.swallow.end";
14735          }
14736          program { name: "end_hide";
14737             signal: "elm,state,end,hidden";
14738             source: "elm";
14739             action:  STATE_SET "default" 0.0;
14740             target: "elm.swallow.end";
14741          }
14742          program { name: "units_show";
14743             signal: "elm,state,units,visible";
14744             source: "elm";
14745             action:  STATE_SET "visible" 0.0;
14746             target: "elm.units";
14747             target: "units";
14748          }
14749          program { name: "units_hide";
14750             signal: "elm,state,units,hidden";
14751             source: "elm";
14752             action:  STATE_SET "default" 0.0;
14753             target: "elm.units";
14754             target: "units";
14755          }
14756          program { name: "invert_on";
14757             signal: "elm,state,inverted,on";
14758             source: "elm";
14759             action:  STATE_SET "inverted" 0.0;
14760             target: "level";
14761             target: "level2";
14762          }
14763          program { name: "invert_off";
14764             signal: "elm,state,inverted,off";
14765             source: "elm";
14766             action:  STATE_SET "default" 0.0;
14767             target: "level";
14768             target: "level2";
14769          }
14770          program { name: "set_val_show";
14771             signal: "elm,state,val,show";
14772             source: "elm";
14773             script {
14774                set_value_show();
14775             }
14776          }
14777          program { name: "set_val_hide";
14778             signal: "elm,state,val,hide";
14779             source: "elm";
14780             script {
14781                set_value_hide();
14782             }
14783          }
14784          program { name: "val_show";
14785             signal: "mouse,down,*";
14786             source: "elm.dragable.slider";
14787             script {
14788                thumb_down();
14789             }
14790
14791          }
14792          program { name: "val_hide";
14793             signal: "mouse,up,*";
14794             source: "elm.dragable.slider";
14795             script {
14796                thumb_up();
14797             }
14798          }
14799          program {
14800             name:    "go_disabled";
14801             signal:  "elm,state,disabled";
14802             source:  "elm";
14803             action:  STATE_SET "disabled" 0.0;
14804             target:  "button0";
14805             target:  "disabler";
14806             after: "disable_text";
14807          }
14808          program { name: "disable_text";
14809             script {
14810                new st[31];
14811                new Float:vl;
14812                get_state(PART:"elm.text", st, 30, vl);
14813                if (!strcmp(st, "visible"))
14814                   set_state(PART:"elm.text", "disabled_visible", 0.0);
14815                else
14816                   set_state(PART:"elm.text", "disabled", 0.0);
14817
14818                get_state(PART:"elm.units", st, 30, vl);
14819                if (!strcmp(st, "visible")) 
14820                   set_state(PART:"elm.units", "disabled_visible", 0.0);
14821                else 
14822                   set_state(PART:"elm.units", "disabled", 0.0);
14823
14824                get_state(PART:"level2", st, 30, vl);
14825                if (!strcmp(st, "inverted")) 
14826                {
14827                   set_state(PART:"level", "disabled_inverted", 0.0);
14828                   set_state(PART:"level2", "disabled_inverted", 0.0);
14829                }
14830                else 
14831                {
14832                   set_state(PART:"level", "disabled", 0.0);
14833                   set_state(PART:"level2", "disabled", 0.0);
14834                }
14835             }
14836          }
14837          program { name: "enable";
14838             signal: "elm,state,enabled";
14839             source: "elm";
14840             action: STATE_SET "default" 0.0;
14841             target: "button0";
14842             target: "disabler";
14843             after: "enable_text";
14844          }
14845          program { name: "enable_text";
14846             script {
14847                new st[31];
14848                new Float:vl;
14849                get_state(PART:"elm.text", st, 30, vl);
14850                if (!strcmp(st, "disabled_visible"))
14851                   set_state(PART:"elm.text", "visible", 0.0);
14852                else
14853                   set_state(PART:"elm.text", "default", 0.0);
14854
14855                get_state(PART:"elm.units", st, 30, vl);
14856                if (!strcmp(st, "disabled_visible"))
14857                   set_state(PART:"elm.units", "visible", 0.0);
14858                else
14859                   set_state(PART:"elm.units", "default", 0.0);
14860      
14861                get_state(PART:"level2", st, 30, vl);
14862                if (!strcmp(st, "disabled_inverted"))
14863                {
14864                   set_state(PART:"level", "inverted", 0.0);
14865                   set_state(PART:"level2", "inverted", 0.0);
14866                }
14867                else
14868                {
14869                   set_state(PART:"level", "default", 0.0);
14870                   set_state(PART:"level2", "default", 0.0);
14871                }
14872             }
14873          }
14874       }
14875    }
14876
14877    group { name: "elm/slider/vertical/default";
14878       images {
14879          image: "slv_bg.png" COMP;
14880          image: "slv_bg_over.png" COMP;
14881
14882          image: "sl_bt_0.png" COMP;
14883          image: "sl_bt_1.png" COMP;
14884          image: "sl_bt_2.png" COMP;
14885          image: "sl_bt_3.png" COMP;
14886          image: "sl_bt2_0_0.png" COMP;
14887          image: "sl_bt2_0_1.png" COMP;
14888          image: "sl_bt2_0_2.png" COMP;
14889          image: "sl_bt2_1.png" COMP;
14890          image: "sl_bt2_2.png" COMP;
14891
14892          image: "slv_units.png" COMP;
14893       }
14894       script {
14895          public value_hide = 0;
14896          public set_value_show() {
14897             set_int(value_hide, 0);
14898          }
14899          public set_value_hide() {
14900             set_int(value_hide, 1);
14901          }
14902          public thumb_down() {
14903             if (get_int(value_hide) == 1) {
14904                set_state(PART:"elm.indicator", "default", 0.0);
14905                set_state(PART:"button3", "default", 0.0);
14906                set_state(PART:"button4", "default", 0.0);
14907                set_state(PART:"button5", "default", 0.0);
14908                set_state(PART:"button6", "default", 0.0);
14909                set_state(PART:"button7", "default", 0.0);
14910             } else {
14911                set_state(PART:"elm.indicator", "visible", 0.0);
14912                set_state(PART:"button3", "visible", 0.0);
14913                set_state(PART:"button4", "visible", 0.0);
14914                set_state(PART:"button5", "visible", 0.0);
14915                set_state(PART:"button6", "visible", 0.0);
14916                set_state(PART:"button7", "visible", 0.0);
14917             }
14918          }
14919          public thumb_up() {
14920             set_state(PART:"elm.indicator", "default", 0.0);
14921             set_state(PART:"button3", "default", 0.0);
14922             set_state(PART:"button4", "default", 0.0);
14923             set_state(PART:"button5", "default", 0.0);
14924             set_state(PART:"button6", "default", 0.0);
14925             set_state(PART:"button7", "default", 0.0);
14926          }
14927       }
14928       parts {
14929          part { name: "base";
14930             mouse_events: 0;
14931             description { state: "default" 0.0;
14932                max: 6 99999;
14933                min: 6 0;
14934                rel1 { to: "bg";
14935                   offset: 1 0;
14936                }
14937                rel2 { to: "bg";
14938                   offset: -2 -1;
14939                }
14940                image.normal: "slv_bg.png";
14941                fill.smooth: 0;
14942             }
14943          }
14944          part { name: "level";
14945             type: RECT;
14946             mouse_events: 0;
14947             description { state: "default" 0.0;
14948                fixed: 1 1;
14949                rel1.to: "base";
14950                rel2 {
14951                   to_x: "base";
14952                   to_y: "elm.dragable.slider";
14953                   relative: 1.0 0.5;
14954                }
14955                color: 255 0 0 200;
14956             }
14957             description { state: "inverted" 0.0;
14958                inherit: "default" 0.0;
14959                visible: 0;
14960             }
14961             description { state: "disabled" 0.0;
14962                inherit: "default" 0.0;
14963                color: 255 0 0 100;
14964             }
14965             description { state: "disabled_inverted" 0.0;
14966                inherit: "default" 0.0;
14967                visible: 0;
14968             }
14969          }
14970          part { name: "level2";
14971             type: RECT;
14972             mouse_events: 0;
14973             description { state: "default" 0.0;
14974                fixed: 1 1;
14975                visible: 0;
14976                rel1 {
14977                   to_x: "base";
14978                   to_y: "elm.dragable.slider";
14979                   relative: 0.0 0.5;
14980                }
14981                rel2.to: "base";
14982                color: 255 0 0 200;
14983             }
14984             description { state: "inverted" 0.0;
14985                inherit: "default" 0.0;
14986                visible: 1;
14987             }
14988             description { state: "disabled" 0.0;
14989                inherit: "default" 0.0;
14990                color: 255 0 0 100;
14991             }
14992             description { state: "disabled_inverted" 0.0;
14993                inherit: "default" 0.0;
14994                color: 255 0 0 100;
14995                visible: 1;
14996             }
14997          }
14998          part {
14999             name: "base_over";
15000             mouse_events: 0;
15001             description { state: "default" 0.0;
15002                rel1.to: "base";
15003                rel1.offset: -1 -1;
15004                rel2.to: "base";
15005                rel2.offset: 0 0;
15006                image {
15007                   normal: "slv_bg_over.png";
15008                   border: 3 3 3 3;
15009                }
15010                fill.smooth: 0;
15011             }
15012          }
15013          part { name: "bg";
15014             type: RECT;
15015             mouse_events: 0;
15016             scale: 1;
15017             description { state: "default" 0.0;
15018                visible: 0;
15019                rel1.to: "elm.swallow.bar";
15020                rel2.to: "elm.swallow.bar";
15021                color: 0 0 0 0;
15022             }
15023          }
15024          part { name: "elm.swallow.bar";
15025             type: SWALLOW;
15026             scale: 1;
15027             description { state: "default" 0.0;
15028                min: 24 48;
15029                max: 24 9999;
15030                align: 0.5 1.0;
15031                rel1 {
15032                   to_y: "elm.text";
15033                   relative: 0.0 1.0;
15034                   offset: 0 10;
15035                }
15036                rel2 {
15037                   to_y: "elm.units";
15038                   relative: 1.0 0.0;
15039                   offset: -1 -8;
15040                }
15041             }
15042          }
15043          part { name: "elm.swallow.icon";
15044             type: SWALLOW;
15045             description { state: "default" 0.0;
15046                visible: 0;
15047                align: 0.5 0.0;
15048                rel1 {
15049                   offset: 0 4;
15050                   to_x: "elm.swallow.bar";
15051                }
15052                rel2 {
15053                   offset: -1 3;
15054                   relative: 1.0 0.0;
15055                   to_x: "elm.swallow.bar";
15056                }
15057             }
15058             description { state: "visible" 0.0;
15059                inherit: "default" 0.0;
15060                visible: 1;
15061                aspect: 1.0 1.0;
15062                aspect_preference: HORIZONTAL;
15063                rel2.offset: -1 4;
15064             }
15065          }
15066          part { name: "elm.text";
15067             type: TEXT;
15068             mouse_events: 0;
15069             scale: 1;
15070             description { state: "default" 0.0;
15071                visible: 0;
15072                fixed: 0 1;
15073                align: 0.5 0.0;
15074                rel1.to_y: "elm.swallow.icon";
15075                rel1.relative: 0.0 1.0;
15076                rel1.offset: 0 -1;
15077                rel2.to_y: "elm.swallow.icon";
15078                rel2.relative: 1.0 1.0;
15079                rel2.offset: -1 -1;
15080                color: 0 0 0 255;
15081                text {
15082                   font: "Sans,Edje-Vera";
15083                   size: 10;
15084                   min: 0 0;
15085                   align: 0.5 0.0;
15086                }
15087             }
15088             description { state: "visible" 0.0;
15089                inherit: "default" 0.0;
15090                visible: 1;
15091                text.min: 1 1;
15092                rel1.offset: 4 0;
15093                rel2.offset: -5 0;
15094             }
15095             description { state: "disabled" 0.0;
15096                inherit: "default" 0.0;
15097                color: 255 128 128 128;
15098                visible: 0;
15099             }
15100             description { state: "disabled_visible" 0.0;
15101                inherit: "default" 0.0;
15102                color: 0 0 0 128;
15103                color3: 0 0 0 0;
15104                visible: 1;
15105                text.min: 1 1;
15106             }
15107          }
15108          part {
15109             name: "elm.swallow.end";
15110             type: SWALLOW;
15111             description {
15112                state: "default" 0.0;
15113                visible: 0;
15114                align: 0.5 1.0;
15115                rel1 {
15116                   offset: 0 -4;
15117                   relative: 0.0 1.0;
15118                   to_x: "elm.swallow.bar";
15119                }
15120                rel2 {
15121                   offset: -1 -3;
15122                   to_x: "elm.swallow.bar";
15123                }
15124             }
15125             description { state: "visible" 0.0;
15126                inherit: "default" 0.0;
15127                visible: 1;
15128                aspect: 1.0 1.0;
15129                aspect_preference: HORIZONTAL;
15130                rel2.offset: -1 -4;
15131             }
15132          }
15133          part { name: "units";
15134             mouse_events: 0;
15135             description { state: "default" 0.0;
15136                visible: 0;
15137                rel1 {
15138                   to: "elm.units";
15139                   offset: -8 0;
15140                }
15141                rel2 {
15142                   to: "elm.units";
15143                   offset: 7 8;
15144                }
15145                image {
15146                   normal: "slv_units.png";
15147                   border: 8 8 0 9;
15148                }
15149                fill.smooth: 0;
15150             }
15151             description { state: "visible" 0.0;
15152                inherit: "default" 0.0;
15153                visible: 1;
15154             }
15155          }
15156          part { name: "elm.units";
15157             type: TEXT;
15158             mouse_events: 0;
15159             scale: 1;
15160             description { state: "default" 0.0;
15161                visible: 0;
15162                fixed: 1 1;
15163                align: 0.5 1.0;
15164                rel1.relative: 0.0 0.0;
15165                rel1.to_y: "elm.swallow.end";
15166                rel1.offset: 8 0;
15167                rel2.relative: 1.0 0.0;
15168                rel2.to_y: "elm.swallow.end";
15169                rel2.offset: -9 0;
15170                color: 0 0 0 255;
15171                text {
15172                   font: "Sans,Edje-Vera";
15173                   size: 10;
15174                   min: 0 0;
15175                   align: 0.5 0.0;
15176                }
15177             }
15178             description { state: "visible" 0.0;
15179                inherit: "default" 0.0;
15180                fixed: 1 1;
15181                visible: 1;
15182                text.min: 1 1;
15183                rel1.offset: 8 -9;
15184                rel2.offset: -9 -9;
15185             }
15186             description { state: "disabled" 0.0;
15187                inherit: "default" 0.0;
15188                color:  0 0 0 128;
15189                color3: 0 0 0 0;
15190                visible: 0;
15191             }
15192             description { state: "disabled_visible" 0.0;
15193                inherit: "default" 0.0;
15194                fixed: 1 1;
15195                visible: 1;
15196                text.min: 1 1;
15197                rel1.offset: 8 -9;
15198                rel2.offset: -9 -9;
15199                color: 0 0 0 128;
15200                color3: 0 0 0 0;
15201             }
15202          }
15203          part { name: "elm.dragable.slider";
15204             type: RECT;
15205             mouse_events: 0;
15206             scale: 1;
15207             dragable {
15208                x: 0 0 0;
15209                y: 1 1 0;
15210                confine: "bg";
15211             }
15212             description { state: "default" 0.0;
15213                min: 24 0;
15214                max: 24 0;
15215                fixed: 1 1;
15216                rel1 {
15217                   relative: 0.5  0.0;
15218                   to_y: "bg";
15219                }
15220                rel2 {
15221                   relative: 0.5  1.0;
15222                   to_y: "bg";
15223                }
15224                color: 0 0 0 0;
15225             }
15226          }
15227          part { name: "button_events";
15228             type: RECT;
15229             dragable {
15230                events: "elm.dragable.slider";
15231             }
15232             mouse_events: 1;
15233             description { state: "default" 0.0;
15234                fixed: 1 1;
15235                min: 16 16;
15236                aspect: 1.0 1.0;
15237                aspect_preference: HORIZONTAL;
15238                rel1.to_y: "elm.dragable.slider";
15239                rel2.to_y: "elm.dragable.slider";
15240                color: 0 0 0 0;
15241             }
15242          }
15243          part { name: "button0";
15244             mouse_events: 0;
15245             description { state: "default" 0.0;
15246                fixed: 1 1;
15247                max: 17 999;
15248                min: 17 24;
15249                rel1.to: "elm.dragable.slider";
15250                rel2.to: "elm.dragable.slider";
15251                image {
15252                   normal: "sl_bt_0.png";
15253                   border: 5 5 5 10;
15254                }
15255                fill.smooth: 0;
15256             }
15257             description { state: "disabled" 0.0;
15258                inherit: "default" 0.0;
15259                image {
15260                   normal: "sl_bt_3.png";
15261                   border: 5 5 5 10;
15262                }
15263             }
15264          }
15265          part { name: "button1";
15266             mouse_events: 0;
15267             description { state: "default" 0.0;
15268                rel1.to: "button0";
15269                rel2 {
15270                   to: "button0";
15271                   relative: 1.0 0.5;
15272                   offset: -1 -5;
15273                }
15274                image {
15275                   normal: "sl_bt_1.png";
15276                   border: 5 5 5 0;
15277                }
15278             }
15279          }
15280          part { name: "button2";
15281             mouse_events: 0;
15282             description { state: "default" 0.0;
15283                rel1.to: "button0";
15284                rel2.to: "button0";
15285                image {
15286                   normal: "sl_bt_2.png";
15287                   border: 5 5 5 10;
15288                }
15289                fill.smooth: 0;
15290             }
15291          }
15292          part { name: "button3";
15293             mouse_events: 0;
15294             description { state: "default" 0.0;
15295                visible: 0;
15296                min: 8 32;
15297                align: 1.0 0.5;
15298                rel1 {
15299                   to_x: "elm.indicator";
15300                   to_y: "button4";
15301                   relative: 0.0 0.0;
15302                   offset: -7 0;
15303                }
15304                rel2 {
15305                   to: "button4";
15306                   relative: 0.0 1.0;
15307                   offset: -1 -1;
15308                }
15309                image {
15310                   normal: "sl_bt2_0_0.png";
15311                   border: 6 0 6 12;
15312                }
15313                fill.smooth: 0;
15314             }
15315             description { state: "visible" 0.0;
15316                inherit: "default" 0.0;
15317                visible: 1;
15318             }
15319          }
15320          part { name: "button4";
15321             mouse_events: 0;
15322             description { state: "default" 0.0;
15323                visible: 0;
15324                max: 15 999;
15325                min: 15 32;
15326                fixed: 1 1;
15327                rel1 {
15328                   to_x: "button0";
15329                   to_y: "elm.indicator";
15330                   offset: 0 -7;
15331                }
15332                rel2.to: "button0";
15333                image {
15334                   normal: "sl_bt2_0_1.png";
15335                   border: 0 0 6 12;
15336                }
15337                fill.smooth: 0;
15338             }
15339             description { state: "visible" 0.0;
15340                inherit: "default" 0.0;
15341                visible: 1;
15342             }
15343          }
15344          part { name: "button5";
15345             mouse_events: 0;
15346             description { state: "default" 0.0;
15347                visible: 0;
15348                min: 8 32;
15349                align: 0.0 0.5;
15350                rel1 {
15351                   to: "button4";
15352                   relative: 1.0 0.0;
15353                   offset: 0 0;
15354                }
15355                rel2 {
15356                   to_x: "elm.indicator";
15357                   to_y: "button4";
15358                   relative: 1.0 1.0;
15359                   offset: 6 -1;
15360                }
15361                image {
15362                   normal: "sl_bt2_0_2.png";
15363                   border: 0 6 6 12;
15364                }
15365                fill.smooth: 0;
15366             }
15367             description { state: "visible" 0.0;
15368                inherit: "default" 0.0;
15369                visible: 1;
15370             }
15371          }
15372          part { name: "elm.indicator";
15373             type: TEXT;
15374             mouse_events: 0;
15375             effect: SOFT_SHADOW;
15376             scale: 1;
15377             description { state: "default" 0.0;
15378                visible: 0;
15379                fixed: 1 1;
15380                align: 0.5 1.0;
15381                rel1 {
15382                   to: "button0";
15383                   relative: 0.0 -1.0;
15384                   offset: 0 0;
15385                }
15386                rel2 {
15387                   to: "button0";
15388                   relative: 1.0 -1.0;
15389                   offset: -1 0;
15390                }
15391                color: 224 224 224 255;
15392                color3: 0 0 0 64;
15393                text {
15394                   font:     "Sans,Edje-Vera";
15395                   size:     10;
15396                   min:      0 0;
15397                   align:    0.5 0.5;
15398                }
15399             }
15400             description { state: "visible" 0.0;
15401                inherit: "default" 0.0;
15402                visible: 1;
15403                text.min: 1 1;
15404                rel1.offset: 0 -1;
15405                rel2.offset: -1 -1;
15406             }
15407          }
15408          part { name: "button6";
15409             mouse_events: 0;
15410             description { state: "default" 0.0;
15411                visible: 0;
15412                rel1.to: "button3";
15413                rel2 {
15414                   to: "button5";
15415                   relative: 1.0 0.3;
15416                   offset: -1 -1;
15417                }
15418                image {
15419                   normal: "sl_bt2_1.png";
15420                   border: 5 5 5 0;
15421                }
15422                fill.smooth: 0;
15423             }
15424             description { state: "visible" 0.0;
15425                inherit: "default" 0.0;
15426                visible: 1;
15427             }
15428          }
15429          part { name: "button7";
15430             mouse_events: 0;
15431             description { state: "default" 0.0;
15432                visible: 0;
15433                rel1.to: "button3";
15434                rel2.to: "button5";
15435                image {
15436                   normal: "sl_bt2_2.png";
15437                   border: 5 5 5 0;
15438                   middle: 0;
15439                }
15440                fill.smooth: 0;
15441             }
15442             description { state: "visible" 0.0;
15443                inherit: "default" 0.0;
15444                visible: 1;
15445             }
15446          }
15447              part { name: "disabler";
15448                 type: RECT;
15449                 description { state: "default" 0.0;
15450                    color: 0 0 0 0;
15451                    visible: 0;
15452                 }
15453                 description { state: "disabled" 0.0;
15454                    inherit: "default" 0.0;
15455                    visible: 1;
15456                 }
15457              }
15458           }
15459
15460       programs {
15461          program { name: "text_show";
15462             signal: "elm,state,text,visible";
15463             source: "elm";
15464             action:  STATE_SET "visible" 0.0;
15465             target: "elm.text";
15466          }
15467          program { name: "text_hide";
15468             signal: "elm,state,text,hidden";
15469             source: "elm";
15470             action:  STATE_SET "default" 0.0;
15471             target: "elm.text";
15472          }
15473          program { name: "icon_show";
15474             signal: "elm,state,icon,visible";
15475             source: "elm";
15476             action:  STATE_SET "visible" 0.0;
15477             target: "elm.swallow.icon";
15478          }
15479          program { name: "icon_hide";
15480             signal: "elm,state,icon,hidden";
15481             source: "elm";
15482             action:  STATE_SET "default" 0.0;
15483             target: "elm.swallow.icon";
15484          }
15485          program { name: "end_show";
15486             signal: "elm,state,end,visible";
15487             source: "elm";
15488             action:  STATE_SET "visible" 0.0;
15489             target: "elm.swallow.end";
15490          }
15491          program { name: "end_hide";
15492             signal: "elm,state,end,hidden";
15493             source: "elm";
15494             action:  STATE_SET "default" 0.0;
15495             target: "elm.swallow.end";
15496          }
15497          program { name: "units_show";
15498             signal: "elm,state,units,visible";
15499             source: "elm";
15500             action:  STATE_SET "visible" 0.0;
15501             target: "elm.units";
15502             target: "units";
15503          }
15504          program { name: "units_hide";
15505             signal: "elm,state,units,hidden";
15506             source: "elm";
15507             action:  STATE_SET "default" 0.0;
15508             target: "elm.units";
15509             target: "units";
15510          }
15511          program { name: "invert_on";
15512             signal: "elm,state,inverted,on";
15513             source: "elm";
15514             action:  STATE_SET "inverted" 0.0;
15515             target: "level";
15516             target: "level2";
15517          }
15518          program { name: "invert_off";
15519             signal: "elm,state,inverted,off";
15520             source: "elm";
15521             action:  STATE_SET "default" 0.0;
15522             target: "level";
15523             target: "level2";
15524          }
15525          program { name: "set_val_show";
15526             signal: "elm,state,val,show";
15527             source: "elm";
15528             script {
15529                set_value_show();
15530             }
15531          }
15532          program { name: "set_val_hide";
15533             signal: "elm,state,val,hide";
15534             source: "elm";
15535             script {
15536                set_value_hide();
15537             }
15538          }
15539          program { name: "val_show";
15540             signal: "mouse,down,*";
15541             source: "elm.dragable.slider";
15542             script {
15543                thumb_down();
15544             }
15545          }
15546          program { name: "val_hide";
15547             signal: "mouse,up,*";
15548             source: "elm.dragable.slider";
15549             script {
15550                thumb_up();
15551             }
15552          }
15553          program {
15554             name:   "go_disabled";
15555             signal: "elm,state,disabled";
15556             source: "elm";
15557             action: STATE_SET "disabled" 0.0;
15558             target: "button0";
15559             target: "disabler";
15560             after: "disable_text";
15561          }
15562          program { name: "disable_text";
15563             script {
15564             new st[31];
15565             new Float:vl;
15566                get_state(PART:"elm.text", st, 30, vl);
15567                if (!strcmp(st, "visible"))
15568                   set_state(PART:"elm.text", "disabled_visible", 0.0);
15569                else
15570                   set_state(PART:"elm.text", "disabled", 0.0);
15571
15572                get_state(PART:"elm.units", st, 30, vl);
15573                if (!strcmp(st, "visible")) 
15574                   set_state(PART:"elm.units", "disabled_visible", 0.0);
15575                else 
15576                   set_state(PART:"elm.units", "disabled", 0.0);
15577
15578                get_state(PART:"level2", st, 30, vl);
15579                if (!strcmp(st, "inverted")) 
15580                {
15581                   set_state(PART:"level", "disabled_inverted", 0.0);
15582                   set_state(PART:"level2", "disabled_inverted", 0.0);
15583                }
15584                else 
15585                {
15586                   set_state(PART:"level", "disabled", 0.0);
15587                   set_state(PART:"level2", "disabled", 0.0);
15588                }
15589             }
15590          }
15591
15592          program { name: "enable";
15593             signal: "elm,state,enabled";
15594             source: "elm";
15595             action: STATE_SET "default" 0.0;
15596             target: "button0";
15597             target: "disabler";
15598             after: "enable_text";
15599          }
15600          program { name: "enable_text";
15601             script {
15602                new st[31];
15603                new Float:vl;
15604                get_state(PART:"elm.text", st, 30, vl);
15605                if (!strcmp(st, "disabled_visible"))
15606                   set_state(PART:"elm.text", "visible", 0.0);
15607                else
15608                   set_state(PART:"elm.text", "default", 0.0);
15609
15610                get_state(PART:"elm.units", st, 30, vl);
15611                if (!strcmp(st, "disabled_visible"))
15612                   set_state(PART:"elm.units", "visible", 0.0);
15613                else
15614                   set_state(PART:"elm.units", "default", 0.0);
15615      
15616                get_state(PART:"level2", st, 30, vl);
15617                if (!strcmp(st, "disabled_inverted"))
15618                {
15619                   set_state(PART:"level", "inverted", 0.0);
15620                   set_state(PART:"level2", "inverted", 0.0);
15621                }
15622                else
15623                {
15624                   set_state(PART:"level", "default", 0.0);
15625                   set_state(PART:"level2", "default", 0.0);
15626                }
15627             }
15628          }
15629       }
15630    }
15631
15632 ////////////////////////////////////////////////////////////////////////////////
15633 // actionslider
15634 ////////////////////////////////////////////////////////////////////////////////
15635    group { name: "elm/actionslider/base/default";
15636
15637       images {
15638          image: "shelf_inset.png" COMP;
15639          image: "ilist_1.png" COMP;
15640          image: "bt_bases.png" COMP;
15641          image: "bt_basew.png" COMP;
15642          image: "bt_hilightw.png" COMP;
15643       }
15644
15645       parts {
15646          part {
15647             name: "base";
15648             mouse_events: 0;
15649             description {
15650                state: "default" 0.0;
15651                min: 75 25;
15652                rel1.offset: 1 1;
15653                rel2.offset: -2 -2;
15654                image {
15655                   normal: "ilist_1.png";
15656                   border: 2 2 2 2;
15657                }
15658                fill.smooth: 0;
15659             }
15660          }
15661          part { name: "conf_over";
15662             mouse_events:  0;
15663             description { state: "default" 0.0;
15664                rel1.to: "base";
15665                rel2.to: "base";
15666                image {
15667                   normal: "shelf_inset.png";
15668                   border: 7 7 7 7;
15669                   middle: 0;
15670                }
15671                fill.smooth : 0;
15672             }
15673          }
15674          part { name: "icon.dragable.area";
15675            type: RECT;
15676             mouse_events: 0;
15677             description { state: "default" 0.0;
15678                visible: 0;
15679                rel1.to: "base";
15680                rel2.to: "base";
15681             }
15682          }
15683          part { name: "elm.text.left";
15684             type: TEXT;
15685             mouse_events: 0;
15686             scale: 1;
15687             description { state: "default" 0.0;
15688                color: 0 0 0 255;
15689                text {
15690                   font: "Sans,Edje-Vera";
15691                   size: 10;
15692                   align: 0.05 0.5;
15693                   min: 1 1;
15694                }
15695             }
15696          }
15697          part { name: "elm.text.center";
15698             type: TEXT;
15699             mouse_events: 0;
15700             scale: 1;
15701             description { state: "default" 0.0;
15702                color: 0 0 0 255;
15703                text {
15704                   font: "Sans,Edje-Vera";
15705                   size: 10;
15706                   align: 0.5 0.5;
15707                   min: 1 1;
15708                }
15709             }
15710          }
15711          part { name: "elm.text.right";
15712             type: TEXT;
15713             mouse_events: 0;
15714             scale: 1;
15715             description { state: "default" 0.0;
15716                color: 0 0 0 255;
15717                text {
15718                   font: "Sans,Edje-Vera";
15719                   size: 10;
15720                   align: 0.95 0.5;
15721                   min: 1 1;
15722                }
15723             }
15724          }
15725          part { name: "elm.drag_button_base";
15726             type: SWALLOW;
15727             mouse_events: 0;
15728             scale: 1;
15729             description { state: "default" 0.0;
15730                fixed: 1 1;
15731                min: 50 25;
15732                align: 0.5 0.5;
15733                rel1.to: "icon.dragable.area";
15734                rel2 {
15735                   relative: 0.0 1.0;
15736                   to: "icon.dragable.area";
15737                }
15738             }
15739             dragable {
15740                confine: "icon.dragable.area";
15741                x: 1 1 0;
15742                y: 0 0 0;
15743             }
15744          }
15745          part { name: "elm.drag_button";
15746             type: RECT;
15747             mouse_events: 1;
15748             description { state: "default" 0.0;
15749                min: 50 25;
15750                color: 255 255 255 0;
15751                rel1.to_x: "elm.drag_button_base";
15752                rel1.to_y: "icon.dragable.area";
15753                rel2.to_x: "elm.drag_button_base";
15754                rel2.to_y: "icon.dragable.area";
15755             }
15756             dragable {
15757                events: "elm.drag_button_base";
15758             }
15759          }
15760          part { name: "button0";
15761             mouse_events: 0;
15762             description { state: "default" 0.0;
15763                rel1.to: "button2";
15764                rel1.offset: -4 -4;
15765                rel2.to: "button2";
15766                rel2.offset: 3 3;
15767                image {
15768                   normal: "bt_bases.png";
15769                   border: 11 11 11 11;
15770                   middle: SOLID;
15771                }
15772                color: 255 255 255 128;
15773             }
15774          }
15775          part { name: "button2";
15776             mouse_events: 0;
15777             description { state: "default" 0.0;
15778                rel1.to: "elm.drag_button";
15779                rel2.to: "elm.drag_button";
15780                image {
15781                   normal: "bt_basew.png";
15782                   border: 7 7 7 7;
15783                   middle: SOLID;
15784                }
15785                color: 255 255 255 210;
15786             }
15787          }
15788          part { name: "button3";
15789             mouse_events: 0;
15790             description { state: "default" 0.0;
15791                rel1.to: "button2";
15792                rel2.to: "button2";
15793                rel2.relative: 1.0 0.5;
15794                image {
15795                   normal: "bt_hilightw.png";
15796                   border: 4 4 4 0;
15797                }
15798                color: 255 255 255 190;
15799             }
15800          }
15801       }
15802       programs {
15803          program { name: "elm.drag_button,mouse,up";
15804             signal: "mouse,up,1";
15805             source: "elm.drag_button";
15806             action: SIGNAL_EMIT "elm.drag_button,mouse,up" "";
15807          }
15808          program { name: "elm.drag_button,mouse,down";
15809             signal: "mouse,down,1";
15810             source: "elm.drag_button";
15811             action: SIGNAL_EMIT "elm.drag_button,mouse,down" "";
15812          }
15813          program { name: "elm.drag_button,mouse,move";
15814             signal: "mouse,move";
15815             source: "elm.drag_button_base";
15816             action: SIGNAL_EMIT "elm.drag_button,mouse,move" "";
15817          }
15818       }
15819    }
15820
15821    group { name: "elm/actionslider/base/bar";
15822
15823       images {
15824          image: "shelf_inset.png" COMP;
15825          image: "ilist_1.png" COMP;
15826          image: "bt_bases.png" COMP;
15827          image: "bt_basew.png" COMP;
15828          image: "bt_hilightw.png" COMP;
15829       }
15830
15831       parts {
15832          part {
15833             name: "base";
15834             mouse_events: 0;
15835             description {
15836                state: "default" 0.0;
15837                min: 150 30;
15838                rel1.offset: 1 1;
15839                rel2.offset: -2 -2;
15840                image {
15841                   normal: "ilist_1.png";
15842                   border: 2 2 2 2;
15843                }
15844                fill.smooth: 0;
15845             }
15846          }
15847          part { name: "conf_over";
15848             mouse_events:  0;
15849             description { state: "default" 0.0;
15850                rel1.to: "base";
15851                rel2.to: "base";
15852                image {
15853                   normal: "shelf_inset.png";
15854                   border: 7 7 7 7;
15855                   middle: 0;
15856                }
15857                fill.smooth : 0;
15858             }
15859          }
15860          part { name: "icon.dragable.area";
15861            type: RECT;
15862             mouse_events: 0;
15863             description { state: "default" 0.0;
15864                visible: 0;
15865                rel1.to: "base";
15866                rel2.to: "base";
15867             }
15868          }
15869          part { name: "elm.text.left";
15870             type: TEXT;
15871             mouse_events: 0;
15872             scale: 1;
15873             description { state: "default" 0.0;
15874                color: 0 0 0 255;
15875                text {
15876                   font: "Sans,Edje-Vera";
15877                   size: 10;
15878                   align: 0.05 0.5;
15879                   min: 1 1;
15880                }
15881             }
15882          }
15883          part { name: "elm.text.center";
15884             type: TEXT;
15885             mouse_events: 0;
15886             scale: 1;
15887             description { state: "default" 0.0;
15888                color: 0 0 0 255;
15889                text {
15890                   font: "Sans,Edje-Vera";
15891                   size: 10;
15892                   align: 0.5 0.5;
15893                   min: 1 1;
15894                }
15895             }
15896          }
15897          part { name: "elm.text.right";
15898             type: TEXT;
15899             mouse_events: 0;
15900             scale: 1;
15901             description { state: "default" 0.0;
15902                color: 0 0 0 255;
15903                text {
15904                   font: "Sans,Edje-Vera";
15905                   size: 10;
15906                   align: 0.95 0.5;
15907                   min: 1 1;
15908                }
15909             }
15910          }
15911          part { name: "bar";
15912             type: RECT;
15913             mouse_events: 0;
15914             description { state: "default" 0.0;
15915                rel1.to: "base";
15916                rel1.offset: 0 2;
15917                rel2 {
15918                   relative: 0 1;
15919                   offset: 3 -3;
15920                   to_x: "elm.drag_button_base";
15921                   to_y: "base";
15922                }
15923                color: 0 0 0 180;
15924             }
15925          }
15926          part { name: "elm.drag_button_base";
15927             type: SWALLOW;
15928             mouse_events: 1;
15929             scale: 1;
15930             description { state: "default" 0.0;
15931                fixed: 1 1;
15932                min: 50 25;
15933                align: 0.5 0.5;
15934                rel1.to: "icon.dragable.area";
15935                rel2 {
15936                   relative: 0.0 1.0;
15937                   to: "icon.dragable.area";
15938                }
15939             }
15940             dragable {
15941                confine: "icon.dragable.area";
15942                x: 1 1 0;
15943                y: 0 0 0;
15944             }
15945          }
15946          part { name: "elm.drag_button";
15947             type: RECT;
15948             mouse_events: 1;
15949             description { state: "default" 0.0;
15950                min: 50 25;
15951                color: 255 255 255 0;
15952                rel1.to_x: "elm.drag_button_base";
15953                rel1.to_y: "icon.dragable.area";
15954                rel2.to_x: "elm.drag_button_base";
15955                rel2.to_y: "icon.dragable.area";
15956             }
15957             dragable {
15958                events: "elm.drag_button_base";
15959             }
15960          }
15961          part { name: "button0";
15962             mouse_events: 0;
15963             description { state: "default" 0.0;
15964                rel1.to: "button2";
15965                rel1.offset: -4 -4;
15966                rel2.to: "button2";
15967                rel2.offset: 3 3;
15968                image {
15969                   normal: "bt_bases.png";
15970                   border: 11 11 11 11;
15971                   middle: SOLID;
15972                }
15973                color: 255 255 255 128;
15974             }
15975          }
15976          part { name: "button2";
15977             mouse_events: 0;
15978             description { state: "default" 0.0;
15979                rel1.to: "elm.drag_button";
15980                rel2.to: "elm.drag_button";
15981                image {
15982                   normal: "bt_basew.png";
15983                   border: 7 7 7 7;
15984                   middle: SOLID;
15985                }
15986                color: 255 255 255 210;
15987             }
15988          }
15989          part { name: "button3";
15990             mouse_events: 0;
15991             description { state: "default" 0.0;
15992                rel1.to: "button2";
15993                rel2.to: "button2";
15994                rel2.relative: 1.0 0.5;
15995                image {
15996                   normal: "bt_hilightw.png";
15997                   border: 4 4 4 0;
15998                }
15999                color: 255 255 255 190;
16000             }
16001          }
16002       }
16003       programs {
16004          program { name: "elm.drag_button,mouse,up";
16005             signal: "mouse,up,1";
16006             source: "elm.drag_button";
16007             action: SIGNAL_EMIT "elm.drag_button,mouse,up" "";
16008          }
16009          program { name: "elm.drag_button,mouse,down";
16010             signal: "mouse,down,1";
16011             source: "elm.drag_button";
16012             action: SIGNAL_EMIT "elm.drag_button,mouse,down" "";
16013          }
16014          program { name: "elm.drag_button,mouse,move";
16015             signal: "mouse,move";
16016             source: "elm.drag_button_base";
16017             action: SIGNAL_EMIT "elm.drag_button,mouse,move" "";
16018          }
16019       }
16020    }
16021
16022 ///////////////////////////////////////////////////////////////////////////////
16023    group { name: "elm/genlist/item/default/default";
16024       data.item: "stacking" "above";
16025       data.item: "selectraise" "on";
16026       data.item: "labels" "elm.text";
16027       data.item: "icons" "elm.swallow.icon elm.swallow.end";
16028       data.item: "treesize" "20";
16029 //      data.item: "states" "";
16030       images {
16031          image: "bt_sm_base1.png" COMP;
16032          image: "bt_sm_shine.png" COMP;
16033          image: "bt_sm_hilight.png" COMP;
16034          image: "ilist_1.png" COMP;
16035          image: "ilist_item_shadow.png" COMP;
16036       }
16037       parts {
16038          part {
16039             name:           "event";
16040             type:           RECT;
16041             repeat_events: 1;
16042             description {
16043                state: "default" 0.0;
16044                color: 0 0 0 0;
16045             }
16046          }
16047          part {
16048             name: "base_sh";
16049             mouse_events: 0;
16050             description {
16051                state: "default" 0.0;
16052                align: 0.0 0.0;
16053                min: 0 10;
16054                fixed: 1 1;
16055                rel1 {
16056                   to: "base";
16057                   relative: 0.0 1.0;
16058                   offset: 0 0;
16059                }
16060                rel2 {
16061                   to: "base";
16062                   relative: 1.0 1.0;
16063                   offset: -1 0;
16064                }
16065                image {
16066                   normal: "ilist_item_shadow.png";
16067                }
16068                fill.smooth: 0;
16069             }
16070          }
16071          part {
16072             name: "base";
16073             mouse_events: 0;
16074             description {
16075                state: "default" 0.0;
16076                image {
16077                   normal: "ilist_1.png";
16078                   border: 2 2 2 2;
16079                }
16080                fill.smooth: 0;
16081             }
16082          }
16083          part { name: "bg";
16084             clip_to: "disclip";
16085             mouse_events: 0;
16086             description { state: "default" 0.0;
16087                visible: 0;
16088                color: 255 255 255 0;
16089                rel1 {
16090                   relative: 0.0 0.0;
16091                   offset: -5 -5;
16092                }
16093                rel2 {
16094                   relative: 1.0 1.0;
16095                   offset: 4 4;
16096                }
16097                image {
16098                   normal: "bt_sm_base1.png";
16099                   border: 6 6 6 6;
16100                }
16101                image.middle: SOLID;
16102             }
16103             description { state: "selected" 0.0;
16104                inherit: "default" 0.0;
16105                visible: 1;
16106                color: 255 255 255 255;
16107                rel1 {
16108                   relative: 0.0 0.0;
16109                   offset: -2 -2;
16110                }
16111                rel2 {
16112                   relative: 1.0 1.0;
16113                   offset: 1 1;
16114                }
16115             }
16116          }
16117          part { name: "elm.swallow.pad";
16118             type: SWALLOW;
16119             description { state: "default" 0.0;
16120                fixed: 1 0;
16121                align: 0.0 0.5;
16122                rel1 {
16123                   relative: 0.0  0.0;
16124                   offset:   4    4;
16125                }
16126                rel2 {
16127                   relative: 0.0  1.0;
16128                   offset:   4   -5;
16129                }
16130             }
16131          }
16132          part { name: "elm.swallow.icon";
16133             clip_to: "disclip";
16134             type: SWALLOW;
16135             description { state: "default" 0.0;
16136                fixed: 1 0;
16137                align: 0.0 0.5;
16138                rel1 {
16139                   to_x: "elm.swallow.pad";
16140                   relative: 1.0  0.0;
16141                   offset:   -1    4;
16142                }
16143                rel2 {
16144                   to_x: "elm.swallow.pad";
16145                   relative: 1.0  1.0;
16146                   offset:   -1   -5;
16147                }
16148             }
16149          }
16150          part { name: "elm.swallow.end";
16151             clip_to: "disclip";
16152             type: SWALLOW;
16153             description { state: "default" 0.0;
16154                fixed: 1 0;
16155                align: 1.0 0.5;
16156                aspect: 1.0 1.0;
16157                aspect_preference: VERTICAL;
16158                rel1 {
16159                   relative: 1.0  0.0;
16160                   offset:   -5    4;
16161                }
16162                rel2 {
16163                   relative: 1.0  1.0;
16164                   offset:   -5   -5;
16165                }
16166             }
16167          }
16168          part { name: "elm.text";
16169             clip_to: "disclip";
16170             type:           TEXT;
16171             effect:         SOFT_SHADOW;
16172             mouse_events:   0;
16173             scale: 1;
16174             description {
16175                state: "default" 0.0;
16176 //               min: 16 16;
16177                rel1 {
16178                   to_x:     "elm.swallow.icon";
16179                   relative: 1.0  0.0;
16180                   offset:   0 4;
16181                }
16182                rel2 {
16183                   to_x:     "elm.swallow.end";
16184                   relative: 0.0  1.0;
16185                   offset:   -1 -5;
16186                }
16187                color: 0 0 0 255;
16188                color3: 0 0 0 0;
16189                text {
16190                   font: "Sans";
16191                   size: 10;
16192                   min: 1 1;
16193 //                  min: 0 1;
16194                   align: 0.0 0.5;
16195                   text_class: "list_item";
16196                }
16197             }
16198             description { state: "selected" 0.0;
16199                inherit: "default" 0.0;
16200                color: 224 224 224 255;
16201                color3: 0 0 0 64;
16202             }
16203          }
16204          part { name: "fg1";
16205             clip_to: "disclip";
16206             mouse_events: 0;
16207             description { state: "default" 0.0;
16208                visible: 0;
16209                color: 255 255 255 0;
16210                rel1.to: "bg";
16211                rel2.relative: 1.0 0.5;
16212                rel2.to: "bg";
16213                image {
16214                   normal: "bt_sm_hilight.png";
16215                   border: 6 6 6 0;
16216                }
16217             }
16218             description { state: "selected" 0.0;
16219                inherit: "default" 0.0;
16220                visible: 1;
16221                color: 255 255 255 255;
16222             }
16223          }
16224          part { name: "fg2";
16225             clip_to: "disclip";
16226             mouse_events: 0;
16227             description { state: "default" 0.0;
16228                visible: 0;
16229                color: 255 255 255 0;
16230                rel1.to: "bg";
16231                rel2.to: "bg";
16232                image {
16233                   normal: "bt_sm_shine.png";
16234                   border: 6 6 6 0;
16235                }
16236             }
16237             description { state: "selected" 0.0;
16238                inherit: "default" 0.0;
16239                visible: 1;
16240                color: 255 255 255 255;
16241             }
16242          }
16243          part { name: "disclip";
16244             type: RECT;
16245             description { state: "default" 0.0;
16246                rel1.to: "bg";
16247                rel2.to: "bg";
16248             }
16249             description { state: "disabled" 0.0;
16250                inherit: "default" 0.0;
16251                color: 255 255 255 64;
16252             }
16253          }
16254       }
16255       programs {
16256          // signal: elm,state,%s,active
16257          //   a "check" item named %s went active
16258          // signal: elm,state,%s,passive
16259          //   a "check" item named %s went passive
16260          // default is passive
16261          program {
16262             name:    "go_active";
16263             signal:  "elm,state,selected";
16264             source:  "elm";
16265             action:  STATE_SET "selected" 0.0;
16266             target:  "bg";
16267             target:  "fg1";
16268             target:  "fg2";
16269             target:  "elm.text";
16270          }
16271          program {
16272             name:    "go_passive";
16273             signal:  "elm,state,unselected";
16274             source:  "elm";
16275             action:  STATE_SET "default" 0.0;
16276             target:  "bg";
16277             target:  "fg1";
16278             target:  "fg2";
16279             target:  "elm.text";
16280             transition: LINEAR 0.1;
16281          }
16282          program {
16283             name:    "go_disabled";
16284             signal:  "elm,state,disabled";
16285             source:  "elm";
16286             action:  STATE_SET "disabled" 0.0;
16287             target:  "disclip";
16288          }
16289          program {
16290             name:    "go_enabled";
16291             signal:  "elm,state,enabled";
16292             source:  "elm";
16293             action:  STATE_SET "default" 0.0;
16294             target:  "disclip";
16295          }
16296       }
16297    }
16298    group { name: "elm/genlist/item/group_index/default";
16299       alias: "elm/genlist/item_odd/group_index/default";
16300       data.item: "stacking" "above";
16301       data.item: "selectraise" "on";
16302       data.item: "labels" "elm.text";
16303       data.item: "icons" "elm.swallow.icon elm.swallow.end";
16304       data.item: "treesize" "20";
16305 //      data.item: "states" "";
16306       images {
16307          image: "bt_sm_base1.png" COMP;
16308          image: "bt_sm_shine.png" COMP;
16309          image: "bt_sm_hilight.png" COMP;
16310          image: "ilist_item_shadow.png" COMP;
16311          image: "group_index.png" COMP;
16312       }
16313       parts {
16314          part {
16315             name: "event";
16316             type: RECT;
16317             repeat_events: 0;
16318             description {
16319                state: "default" 0.0;
16320                color: 0 0 0 0;
16321             }
16322          }
16323          part {
16324             name: "base_sh";
16325             mouse_events: 0;
16326             description {
16327                state: "default" 0.0;
16328                align: 0.0 0.0;
16329                min: 0 10;
16330                fixed: 1 1;
16331                rel1 {
16332                   to: "base";
16333                   relative: 0.0 1.0;
16334                   offset: 0 0;
16335                }
16336                rel2 {
16337                   to: "base";
16338                   relative: 1.0 1.0;
16339                   offset: -1 0;
16340                }
16341                image {
16342                   normal: "ilist_item_shadow.png";
16343                }
16344                fill.smooth: 0;
16345             }
16346          }
16347          part {
16348             name: "base";
16349             mouse_events: 0;
16350             description {
16351                state: "default" 0.0;
16352                image {
16353                   normal: "group_index.png";
16354                   border: 2 2 2 2;
16355                }
16356                fill.smooth: 0;
16357             }
16358          }
16359          part { name: "bg";
16360             clip_to: "disclip";
16361             mouse_events: 0;
16362             description { state: "default" 0.0;
16363                visible: 0;
16364                color: 255 255 255 0;
16365                rel1 {
16366                   relative: 0.0 0.0;
16367                   offset: -5 -5;
16368                }
16369                rel2 {
16370                   relative: 1.0 1.0;
16371                   offset: 4 4;
16372                }
16373                image {
16374                   normal: "bt_sm_base1.png";
16375                   border: 6 6 6 6;
16376                }
16377                image.middle: SOLID;
16378             }
16379             description { state: "selected" 0.0;
16380                inherit: "default" 0.0;
16381                visible: 1;
16382                color: 255 255 255 255;
16383                rel1 {
16384                   relative: 0.0 0.0;
16385                   offset: -2 -2;
16386                }
16387                rel2 {
16388                   relative: 1.0 1.0;
16389                   offset: 1 1;
16390                }
16391             }
16392          }
16393          part { name: "elm.swallow.pad";
16394             type: SWALLOW;
16395             description { state: "default" 0.0;
16396                fixed: 1 0;
16397                align: 0.0 0.5;
16398                rel1 {
16399                   relative: 0.0  0.0;
16400                   offset: 4 4;
16401                }
16402                rel2 {
16403                   relative: 0.0  1.0;
16404                   offset: 4 -5;
16405                }
16406             }
16407          }
16408          part { name: "elm.swallow.icon";
16409             clip_to: "disclip";
16410             type: SWALLOW;
16411             description { state: "default" 0.0;
16412                fixed: 1 0;
16413                align: 0.0 0.5;
16414                rel1 {
16415                   to_x: "elm.swallow.pad";
16416                   relative: 1.0 0.0;
16417                   offset: -1 4;
16418                }
16419                rel2 {
16420                   to_x: "elm.swallow.pad";
16421                   relative: 1.0 1.0;
16422                   offset: -1 -5;
16423                }
16424             }
16425          }
16426          part { name: "elm.swallow.end";
16427             clip_to: "disclip";
16428             type: SWALLOW;
16429             description { state: "default" 0.0;
16430                fixed: 1 0;
16431                align: 1.0 0.5;
16432                aspect: 1.0 1.0;
16433                aspect_preference: VERTICAL;
16434                rel1 {
16435                   relative: 1.0 0.0;
16436                   offset: -5 4;
16437                }
16438                rel2 {
16439                   relative: 1.0 1.0;
16440                   offset: -5 -5;
16441                }
16442             }
16443          }
16444          part { name: "elm.text";
16445             clip_to: "disclip";
16446             type: TEXT;
16447             effect: SOFT_SHADOW;
16448             mouse_events: 0;
16449             scale: 1;
16450             description {
16451                state: "default" 0.0;
16452 //               min: 16 16;
16453                rel1 {
16454                   to_x: "elm.swallow.icon";
16455                   relative: 1.0  0.0;
16456                   offset: 0 4;
16457                }
16458                rel2 {
16459                   to_x: "elm.swallow.end";
16460                   relative: 0.0  1.0;
16461                   offset: -1 -5;
16462                }
16463                color: 0 0 0 255;
16464                color3: 0 0 0 0;
16465                text {
16466                   font: "Sans";
16467                   size: 10;
16468                   min: 1 1;
16469 //                  min: 0 1;
16470                   align: 0.0 0.5;
16471                   text_class: "list_item";
16472                }
16473             }
16474             description { state: "selected" 0.0;
16475                inherit: "default" 0.0;
16476                color: 224 224 224 255;
16477                color3: 0 0 0 64;
16478             }
16479          }
16480          part { name: "fg1";
16481             clip_to: "disclip";
16482             mouse_events: 0;
16483             description { state: "default" 0.0;
16484                visible: 0;
16485                color: 255 255 255 0;
16486                rel1.to: "bg";
16487                rel2.relative: 1.0 0.5;
16488                rel2.to: "bg";
16489                image {
16490                   normal: "bt_sm_hilight.png";
16491                   border: 6 6 6 0;
16492                }
16493             }
16494             description { state: "selected" 0.0;
16495                inherit: "default" 0.0;
16496                visible: 1;
16497                color: 255 255 255 255;
16498             }
16499          }
16500          part { name: "fg2";
16501             clip_to: "disclip";
16502             mouse_events: 0;
16503             description { state: "default" 0.0;
16504                visible: 0;
16505                color: 255 255 255 0;
16506                rel1.to: "bg";
16507                rel2.to: "bg";
16508                image {
16509                   normal: "bt_sm_shine.png";
16510                   border: 6 6 6 0;
16511                }
16512             }
16513             description { state: "selected" 0.0;
16514                inherit: "default" 0.0;
16515                visible: 1;
16516                color: 255 255 255 255;
16517             }
16518          }
16519          part { name: "disclip";
16520             type: RECT;
16521             description { state: "default" 0.0;
16522                rel1.to: "bg";
16523                rel2.to: "bg";
16524             }
16525             description { state: "disabled" 0.0;
16526                inherit: "default" 0.0;
16527                color: 255 255 255 64;
16528             }
16529          }
16530       }
16531       programs {
16532          // signal: elm,state,%s,active
16533          //   a "check" item named %s went active
16534          // signal: elm,state,%s,passive
16535          //   a "check" item named %s went passive
16536          // default is passive
16537          program {
16538             name:    "go_active";
16539             signal:  "elm,state,selected";
16540             source:  "elm";
16541             action:  STATE_SET "selected" 0.0;
16542             target:  "bg";
16543             target:  "fg1";
16544             target:  "fg2";
16545             target:  "elm.text";
16546          }
16547          program {
16548             name:    "go_passive";
16549             signal:  "elm,state,unselected";
16550             source:  "elm";
16551             action:  STATE_SET "default" 0.0;
16552             target:  "bg";
16553             target:  "fg1";
16554             target:  "fg2";
16555             target:  "elm.text";
16556             transition: LINEAR 0.1;
16557          }
16558          program {
16559             name:    "go_disabled";
16560             signal:  "elm,state,disabled";
16561             source:  "elm";
16562             action:  STATE_SET "disabled" 0.0;
16563             target:  "disclip";
16564          }
16565          program {
16566             name:    "go_enabled";
16567             signal:  "elm,state,enabled";
16568             source:  "elm";
16569             action:  STATE_SET "default" 0.0;
16570             target:  "disclip";
16571          }
16572       }
16573    }
16574    group { name: "elm/genlist/item_compress/message/default";
16575       data.item: "stacking" "above";
16576       data.item: "selectraise" "on";
16577       data.item: "labels" "elm.title.1 elm.title.2 elm.text";
16578 //      data.item: "icons" "elm.swallow.icon elm.swallow.end";
16579       data.item: "treesize" "20";
16580 //      data.item: "states" "";
16581       images {
16582          image: "bt_sm_base1.png" COMP;
16583          image: "bt_sm_shine.png" COMP;
16584          image: "bt_sm_hilight.png" COMP;
16585          image: "ilist_1.png" COMP;
16586          image: "ilist_item_shadow.png" COMP;
16587       }
16588       styles {
16589         style { name: "genlist_textblock_style";
16590           base: "font=Sans font_size=10 color=#000 wrap=char text_class=list_item";
16591           tag:  "br" "\n";
16592           tag:  "ps" "ps";
16593           tag:  "tab" "\t";
16594         }
16595         style { name: "genlist_textblock_style2";
16596           base: "font=Sans font_size=10 color=#fff wrap=char text_class=list_item";
16597           tag:  "br" "\n";
16598           tag:  "ps" "ps";
16599           tag:  "tab" "\t";
16600         }
16601       }
16602      parts {
16603          part {
16604             name:           "event";
16605             type:           RECT;
16606             repeat_events: 1;
16607             description {
16608                state: "default" 0.0;
16609                color: 0 0 0 0;
16610             }
16611          }
16612          part {
16613             name: "base_sh";
16614             mouse_events: 0;
16615             description {
16616                state: "default" 0.0;
16617                align: 0.0 0.0;
16618                min: 0 10;
16619                fixed: 1 1;
16620                rel1 {
16621                   to: "base";
16622                   relative: 0.0 1.0;
16623                   offset: 0 0;
16624                }
16625                rel2 {
16626                   to: "base";
16627                   relative: 1.0 1.0;
16628                   offset: -1 0;
16629                }
16630                image {
16631                   normal: "ilist_item_shadow.png";
16632                }
16633                fill.smooth: 0;
16634             }
16635          }
16636          part {
16637             name: "base";
16638             mouse_events: 0;
16639             description {
16640                state: "default" 0.0;
16641                image {
16642                   normal: "ilist_1.png";
16643                   border: 2 2 2 2;
16644                }
16645                fill.smooth: 0;
16646             }
16647          }
16648          part { name: "bg";
16649             clip_to: "disclip";
16650             mouse_events: 0;
16651             description { state: "default" 0.0;
16652                visible: 0;
16653                color: 255 255 255 0;
16654                rel1 {
16655                   relative: 0.0 0.0;
16656                   offset: -5 -5;
16657                }
16658                rel2 {
16659                   relative: 1.0 1.0;
16660                   offset: 4 4;
16661                }
16662                image {
16663                   normal: "bt_sm_base1.png";
16664                   border: 6 6 6 6;
16665                }
16666                image.middle: SOLID;
16667             }
16668             description { state: "selected" 0.0;
16669                inherit: "default" 0.0;
16670                visible: 1;
16671                color: 255 255 255 255;
16672                rel1 {
16673                   relative: 0.0 0.0;
16674                   offset: -2 -2;
16675                }
16676                rel2 {
16677                   relative: 1.0 1.0;
16678                   offset: 1 1;
16679                }
16680             }
16681          }
16682          part { name: "elm.title.1";
16683             clip_to: "disclip";
16684             type:           TEXT;
16685             effect:         SOFT_SHADOW;
16686             mouse_events:   0;
16687             scale: 1;
16688             description {
16689                state: "default" 0.0;
16690                fixed: 0 1;
16691 //               min: 16 16;
16692                rel1 {
16693                   relative: 0.0  0.0;
16694                   offset:   4 4;
16695                }
16696                rel2 {
16697                   relative: 1.0  0.0;
16698                   offset:   -5 4;
16699                }
16700                color: 0 0 0 255;
16701                color3: 0 0 0 0;
16702                align: 0.0 0.0;
16703                text {
16704                   font: "Sans";
16705                   size: 10;
16706                   min: 0 1;
16707 //                  min: 1 1;
16708                   align: 0.0 0.0;
16709                   text_class: "list_item";
16710                }
16711             }
16712             description { state: "selected" 0.0;
16713                inherit: "default" 0.0;
16714                color: 224 224 224 255;
16715                color3: 0 0 0 64;
16716             }
16717          }
16718          part { name: "elm.title.2";
16719             clip_to: "disclip";
16720             type:           TEXT;
16721             effect:         SOFT_SHADOW;
16722             mouse_events:   0;
16723             scale: 1;
16724             description {
16725                state: "default" 0.0;
16726                fixed: 0 1;
16727 //               min: 16 16;
16728                rel1 {
16729                   to_y:     "elm.title.1";
16730                   relative: 0.0  1.0;
16731                   offset:   4 0;
16732                }
16733                rel2 {
16734                   to_y:     "elm.title.1";
16735                   relative: 1.0  1.0;
16736                   offset:   -5 0;
16737                }
16738                color: 0 0 0 255;
16739                color3: 0 0 0 0;
16740                align: 0.0 0.0;
16741                text {
16742                   font: "Sans";
16743                   size: 10;
16744                   min: 0 1;
16745 //                  min: 1 1;
16746                   align: 0.0 0.0;
16747                   text_class: "list_item";
16748                }
16749             }
16750             description { state: "selected" 0.0;
16751                inherit: "default" 0.0;
16752                color: 224 224 224 255;
16753                color3: 0 0 0 64;
16754             }
16755          }
16756          part { name: "elm.text";
16757             clip_to: "disclip";
16758             type:           TEXTBLOCK;
16759             mouse_events:   0;
16760             scale: 1;
16761             description {
16762                state: "default" 0.0;
16763 //               fixed: 0 1;
16764 //               min: 16 16;
16765                rel1 {
16766                   to_y:     "elm.title.2";
16767                   relative: 0.0  1.0;
16768                   offset:   4 0;
16769                }
16770                rel2 {
16771                   relative: 1.0  1.0;
16772                   offset:   -5 -5;
16773                }
16774                align: 0.0 0.0;
16775                text {
16776                   style: "genlist_textblock_style";
16777                   min: 0 1;
16778 //                  min: 1 1;
16779                   align: 0.0 0.0;
16780                }
16781             }
16782             description { state: "selected" 0.0;
16783                inherit: "default" 0.0;
16784                text {
16785                   style: "genlist_textblock_style2";
16786                }
16787             }
16788          }
16789          part { name: "fg1";
16790             clip_to: "disclip";
16791             mouse_events: 0;
16792             description { state: "default" 0.0;
16793                visible: 0;
16794                color: 255 255 255 0;
16795                rel1.to: "bg";
16796                rel2.relative: 1.0 0.5;
16797                rel2.to: "bg";
16798                image {
16799                   normal: "bt_sm_hilight.png";
16800                   border: 6 6 6 0;
16801                }
16802             }
16803             description { state: "selected" 0.0;
16804                inherit: "default" 0.0;
16805                visible: 1;
16806                color: 255 255 255 255;
16807             }
16808          }
16809          part { name: "fg2";
16810             clip_to: "disclip";
16811             mouse_events: 0;
16812             description { state: "default" 0.0;
16813                visible: 0;
16814                color: 255 255 255 0;
16815                rel1.to: "bg";
16816                rel2.to: "bg";
16817                image {
16818                   normal: "bt_sm_shine.png";
16819                   border: 6 6 6 0;
16820                }
16821             }
16822             description { state: "selected" 0.0;
16823                inherit: "default" 0.0;
16824                visible: 1;
16825                color: 255 255 255 255;
16826             }
16827          }
16828          part { name: "disclip";
16829             type: RECT;
16830             description { state: "default" 0.0;
16831                rel1.to: "bg";
16832                rel2.to: "bg";
16833             }
16834             description { state: "disabled" 0.0;
16835                inherit: "default" 0.0;
16836                color: 255 255 255 64;
16837             }
16838          }
16839       }
16840       programs {
16841          // signal: elm,state,%s,active
16842          //   a "check" item named %s went active
16843          // signal: elm,state,%s,passive
16844          //   a "check" item named %s went passive
16845          // default is passive
16846          program {
16847             name:    "go_active";
16848             signal:  "elm,state,selected";
16849             source:  "elm";
16850             action:  STATE_SET "selected" 0.0;
16851             target:  "bg";
16852             target:  "fg1";
16853             target:  "fg2";
16854             target:  "elm.title.1";
16855             target:  "elm.title.2";
16856             target:  "elm.text";
16857          }
16858          program {
16859             name:    "go_passive";
16860             signal:  "elm,state,unselected";
16861             source:  "elm";
16862             action:  STATE_SET "default" 0.0;
16863             target:  "bg";
16864             target:  "fg1";
16865             target:  "fg2";
16866             target:  "elm.title.1";
16867             target:  "elm.title.2";
16868             target:  "elm.text";
16869             transition: LINEAR 0.1;
16870          }
16871          program {
16872             name:    "go_disabled";
16873             signal:  "elm,state,disabled";
16874             source:  "elm";
16875             action:  STATE_SET "disabled" 0.0;
16876             target:  "disclip";
16877          }
16878          program {
16879             name:    "go_enabled";
16880             signal:  "elm,state,enabled";
16881             source:  "elm";
16882             action:  STATE_SET "default" 0.0;
16883             target:  "disclip";
16884          }
16885       }
16886    }
16887    group { name: "elm/genlist/item_compress_odd/message/default";
16888       data.item: "stacking" "below";
16889       data.item: "selectraise" "on";
16890       data.item: "labels" "elm.title.1 elm.title.2 elm.text";
16891 //      data.item: "icons" "elm.swallow.icon elm.swallow.end";
16892       data.item: "treesize" "20";
16893 //      data.item: "states" "";
16894       images {
16895          image: "bt_sm_base1.png" COMP;
16896          image: "bt_sm_shine.png" COMP;
16897          image: "bt_sm_hilight.png" COMP;
16898          image: "ilist_2.png" COMP;
16899       }
16900       parts {
16901          part { name: "event";
16902             type: RECT;
16903             repeat_events: 1;
16904             description {
16905                state: "default" 0.0;
16906                color: 0 0 0 0;
16907             }
16908          }
16909          part {
16910             name: "base";
16911             mouse_events: 0;
16912             description {
16913                state: "default" 0.0;
16914                image {
16915                   normal: "ilist_2.png";
16916                   border: 2 2 2 2;
16917                }
16918                fill.smooth: 0;
16919             }
16920          }
16921          part { name: "bg";
16922             clip_to: "disclip";
16923             mouse_events: 0;
16924             description { state: "default" 0.0;
16925                visible: 0;
16926                color: 255 255 255 0;
16927                rel1 {
16928                   relative: 0.0 0.0;
16929                   offset: -5 -5;
16930                }
16931                rel2 {
16932                   relative: 1.0 1.0;
16933                   offset: 4 4;
16934                }
16935                image {
16936                   normal: "bt_sm_base1.png";
16937                   border: 6 6 6 6;
16938                }
16939                image.middle: SOLID;
16940             }
16941             description { state: "selected" 0.0;
16942                inherit: "default" 0.0;
16943                visible: 1;
16944                color: 255 255 255 255;
16945                rel1 {
16946                   relative: 0.0 0.0;
16947                   offset: -2 -2;
16948                }
16949                rel2 {
16950                   relative: 1.0 1.0;
16951                   offset: 1 1;
16952                }
16953             }
16954          }
16955          part { name: "elm.title.1";
16956             clip_to: "disclip";
16957             type:           TEXT;
16958             effect:         SOFT_SHADOW;
16959             mouse_events:   0;
16960             scale: 1;
16961             description {
16962                state: "default" 0.0;
16963                fixed: 0 1;
16964 //               min: 16 16;
16965                rel1 {
16966                   relative: 0.0  0.0;
16967                   offset:   4 4;
16968                }
16969                rel2 {
16970                   relative: 1.0  0.0;
16971                   offset:   -5 4;
16972                }
16973                color: 0 0 0 255;
16974                color3: 0 0 0 0;
16975                align: 0.0 0.0;
16976                text {
16977                   font: "Sans";
16978                   size: 10;
16979                   min: 0 1;
16980 //                  min: 1 1;
16981                   align: 0.0 0.0;
16982                   text_class: "list_item";
16983                }
16984             }
16985             description { state: "selected" 0.0;
16986                inherit: "default" 0.0;
16987                color: 224 224 224 255;
16988                color3: 0 0 0 64;
16989             }
16990          }
16991          part { name: "elm.title.2";
16992             clip_to: "disclip";
16993             type:           TEXT;
16994             effect:         SOFT_SHADOW;
16995             mouse_events:   0;
16996             scale: 1;
16997             description {
16998                state: "default" 0.0;
16999                fixed: 0 1;
17000 //               min: 16 16;
17001                rel1 {
17002                   to_y:     "elm.title.1";
17003                   relative: 0.0  1.0;
17004                   offset:   4 0;
17005                }
17006                rel2 {
17007                   to_y:     "elm.title.1";
17008                   relative: 1.0  1.0;
17009                   offset:   -5 0;
17010                }
17011                color: 0 0 0 255;
17012                color3: 0 0 0 0;
17013                align: 0.0 0.0;
17014                text {
17015                   font: "Sans";
17016                   size: 10;
17017                   min: 0 1;
17018 //                  min: 1 1;
17019                   align: 0.0 0.0;
17020                   text_class: "list_item";
17021                }
17022             }
17023             description { state: "selected" 0.0;
17024                inherit: "default" 0.0;
17025                color: 224 224 224 255;
17026                color3: 0 0 0 64;
17027             }
17028          }
17029          part { name: "elm.text";
17030             clip_to: "disclip";
17031             type:           TEXTBLOCK;
17032             mouse_events:   0;
17033             scale: 1;
17034             description {
17035                state: "default" 0.0;
17036 //               fixed: 0 1;
17037 //               min: 16 16;
17038                rel1 {
17039                   to_y:     "elm.title.2";
17040                   relative: 0.0  1.0;
17041                   offset:   4 0;
17042                }
17043                rel2 {
17044                   relative: 1.0  1.0;
17045                   offset:   -5 -5;
17046                }
17047                align: 0.0 0.0;
17048                text {
17049                   style: "genlist_textblock_style";
17050                   min: 0 1;
17051 //                  min: 1 1;
17052                   align: 0.0 0.0;
17053                }
17054             }
17055             description { state: "selected" 0.0;
17056                inherit: "default" 0.0;
17057                text {
17058                   style: "genlist_textblock_style2";
17059                }
17060             }
17061          }
17062          part { name: "fg1";
17063             clip_to: "disclip";
17064             mouse_events: 0;
17065             description { state: "default" 0.0;
17066                visible: 0;
17067                color: 255 255 255 0;
17068                rel1.to: "bg";
17069                rel2.relative: 1.0 0.5;
17070                rel2.to: "bg";
17071                image {
17072                   normal: "bt_sm_hilight.png";
17073                   border: 6 6 6 0;
17074                }
17075             }
17076             description { state: "selected" 0.0;
17077                inherit: "default" 0.0;
17078                visible: 1;
17079                color: 255 255 255 255;
17080             }
17081          }
17082          part { name: "fg2";
17083             clip_to: "disclip";
17084             mouse_events: 0;
17085             description { state: "default" 0.0;
17086                visible: 0;
17087                color: 255 255 255 0;
17088                rel1.to: "bg";
17089                rel2.to: "bg";
17090                image {
17091                   normal: "bt_sm_shine.png";
17092                   border: 6 6 6 0;
17093                }
17094             }
17095             description { state: "selected" 0.0;
17096                inherit: "default" 0.0;
17097                visible: 1;
17098                color: 255 255 255 255;
17099             }
17100          }
17101          part { name: "disclip";
17102             type: RECT;
17103             description { state: "default" 0.0;
17104                rel1.to: "bg";
17105                rel2.to: "bg";
17106             }
17107             description { state: "disabled" 0.0;
17108                inherit: "default" 0.0;
17109                color: 255 255 255 64;
17110             }
17111          }
17112       }
17113       programs {
17114          // signal: elm,state,%s,active
17115          //   a "check" item named %s went active
17116          // signal: elm,state,%s,passive
17117          //   a "check" item named %s went passive
17118          // default is passive
17119          program {
17120             name:    "go_active";
17121             signal:  "elm,state,selected";
17122             source:  "elm";
17123             action:  STATE_SET "selected" 0.0;
17124             target:  "bg";
17125             target:  "fg1";
17126             target:  "fg2";
17127             target:  "elm.title.1";
17128             target:  "elm.title.2";
17129             target:  "elm.text";
17130          }
17131          program {
17132             name:    "go_passive";
17133             signal:  "elm,state,unselected";
17134             source:  "elm";
17135             action:  STATE_SET "default" 0.0;
17136             target:  "bg";
17137             target:  "fg1";
17138             target:  "fg2";
17139             target:  "elm.title.1";
17140             target:  "elm.title.2";
17141             target:  "elm.text";
17142             transition: LINEAR 0.1;
17143          }
17144          program {
17145             name:    "go_disabled";
17146             signal:  "elm,state,disabled";
17147             source:  "elm";
17148             action:  STATE_SET "disabled" 0.0;
17149             target:  "disclip";
17150          }
17151          program {
17152             name:    "go_enabled";
17153             signal:  "elm,state,enabled";
17154             source:  "elm";
17155             action:  STATE_SET "default" 0.0;
17156             target:  "disclip";
17157          }
17158       }
17159    }
17160    group { name: "elm/genlist/item_compress/default/default";
17161       data.item: "stacking" "above";
17162       data.item: "selectraise" "on";
17163       data.item: "labels" "elm.text";
17164       data.item: "icons" "elm.swallow.icon elm.swallow.end";
17165       data.item: "treesize" "20";
17166 //      data.item: "states" "";
17167       images {
17168          image: "bt_sm_base1.png" COMP;
17169          image: "bt_sm_shine.png" COMP;
17170          image: "bt_sm_hilight.png" COMP;
17171          image: "ilist_1.png" COMP;
17172          image: "ilist_item_shadow.png" COMP;
17173       }
17174       parts {
17175          part {
17176             name:           "event";
17177             type:           RECT;
17178             repeat_events: 1;
17179             description {
17180                state: "default" 0.0;
17181                color: 0 0 0 0;
17182             }
17183          }
17184          part {
17185             name: "base_sh";
17186             mouse_events: 0;
17187             description {
17188                state: "default" 0.0;
17189                align: 0.0 0.0;
17190                min: 0 10;
17191                fixed: 1 1;
17192                rel1 {
17193                   to: "base";
17194                   relative: 0.0 1.0;
17195                   offset: 0 0;
17196                }
17197                rel2 {
17198                   to: "base";
17199                   relative: 1.0 1.0;
17200                   offset: -1 0;
17201                }
17202                image {
17203                   normal: "ilist_item_shadow.png";
17204                }
17205                fill.smooth: 0;
17206             }
17207          }
17208          part {
17209             name: "base";
17210             mouse_events: 0;
17211             description {
17212                state: "default" 0.0;
17213                image {
17214                   normal: "ilist_1.png";
17215                   border: 2 2 2 2;
17216                }
17217                fill.smooth: 0;
17218             }
17219          }
17220          part { name: "bg";
17221             clip_to: "disclip";
17222             mouse_events: 0;
17223             description { state: "default" 0.0;
17224                visible: 0;
17225                color: 255 255 255 0;
17226                rel1 {
17227                   relative: 0.0 0.0;
17228                   offset: -5 -5;
17229                }
17230                rel2 {
17231                   relative: 1.0 1.0;
17232                   offset: 4 4;
17233                }
17234                image {
17235                   normal: "bt_sm_base1.png";
17236                   border: 6 6 6 6;
17237                }
17238                image.middle: SOLID;
17239             }
17240             description { state: "selected" 0.0;
17241                inherit: "default" 0.0;
17242                visible: 1;
17243                color: 255 255 255 255;
17244                rel1 {
17245                   relative: 0.0 0.0;
17246                   offset: -2 -2;
17247                }
17248                rel2 {
17249                   relative: 1.0 1.0;
17250                   offset: 1 1;
17251                }
17252             }
17253          }
17254          part { name: "elm.swallow.pad";
17255             type: SWALLOW;
17256             description { state: "default" 0.0;
17257                fixed: 1 0;
17258                align: 0.0 0.5;
17259                rel1 {
17260                   relative: 0.0  0.0;
17261                   offset:   4    4;
17262                }
17263                rel2 {
17264                   relative: 0.0  1.0;
17265                   offset:   4   -5;
17266                }
17267             }
17268          }
17269          part { name: "elm.swallow.icon";
17270             clip_to: "disclip";
17271             type: SWALLOW;
17272             description { state: "default" 0.0;
17273                fixed: 1 0;
17274                align: 0.0 0.5;
17275                rel1 {
17276                   to_x: "elm.swallow.pad";
17277                   relative: 1.0  0.0;
17278                   offset:   -1    4;
17279                }
17280                rel2 {
17281                   to_x: "elm.swallow.pad";
17282                   relative: 1.0  1.0;
17283                   offset:   -1   -5;
17284                }
17285             }
17286          }
17287          part { name: "elm.swallow.end";
17288             clip_to: "disclip";
17289             type: SWALLOW;
17290             description { state: "default" 0.0;
17291                fixed: 1 0;
17292                align: 1.0 0.5;
17293                aspect: 1.0 1.0;
17294                aspect_preference: VERTICAL;
17295                rel1 {
17296                   relative: 1.0  0.0;
17297                   offset:   -5    4;
17298                }
17299                rel2 {
17300                   relative: 1.0  1.0;
17301                   offset:   -5   -5;
17302                }
17303             }
17304          }
17305          part { name: "elm.text";
17306             clip_to: "disclip";
17307             type:           TEXT;
17308             effect:         SOFT_SHADOW;
17309             mouse_events:   0;
17310             scale: 1;
17311             description {
17312                state: "default" 0.0;
17313 //               min: 16 16;
17314                rel1 {
17315                   to_x:     "elm.swallow.icon";
17316                   relative: 1.0  0.0;
17317                   offset:   0 4;
17318                }
17319                rel2 {
17320                   to_x:     "elm.swallow.end";
17321                   relative: 0.0  1.0;
17322                   offset:   -1 -5;
17323                }
17324                color: 0 0 0 255;
17325                color3: 0 0 0 0;
17326                text {
17327                   font: "Sans";
17328                   size: 10;
17329                   min: 0 1;
17330 //                  min: 1 1;
17331                   align: 0.0 0.5;
17332                   text_class: "list_item";
17333                }
17334             }
17335             description { state: "selected" 0.0;
17336                inherit: "default" 0.0;
17337                color: 224 224 224 255;
17338                color3: 0 0 0 64;
17339             }
17340          }
17341          part { name: "fg1";
17342             clip_to: "disclip";
17343             mouse_events: 0;
17344             description { state: "default" 0.0;
17345                visible: 0;
17346                color: 255 255 255 0;
17347                rel1.to: "bg";
17348                rel2.relative: 1.0 0.5;
17349                rel2.to: "bg";
17350                image {
17351                   normal: "bt_sm_hilight.png";
17352                   border: 6 6 6 0;
17353                }
17354             }
17355             description { state: "selected" 0.0;
17356                inherit: "default" 0.0;
17357                visible: 1;
17358                color: 255 255 255 255;
17359             }
17360          }
17361          part { name: "fg2";
17362             clip_to: "disclip";
17363             mouse_events: 0;
17364             description { state: "default" 0.0;
17365                visible: 0;
17366                color: 255 255 255 0;
17367                rel1.to: "bg";
17368                rel2.to: "bg";
17369                image {
17370                   normal: "bt_sm_shine.png";
17371                   border: 6 6 6 0;
17372                }
17373             }
17374             description { state: "selected" 0.0;
17375                inherit: "default" 0.0;
17376                visible: 1;
17377                color: 255 255 255 255;
17378             }
17379          }
17380          part { name: "disclip";
17381             type: RECT;
17382             description { state: "default" 0.0;
17383                rel1.to: "bg";
17384                rel2.to: "bg";
17385             }
17386             description { state: "disabled" 0.0;
17387                inherit: "default" 0.0;
17388                color: 255 255 255 64;
17389             }
17390          }
17391       }
17392       programs {
17393          // signal: elm,state,%s,active
17394          //   a "check" item named %s went active
17395          // signal: elm,state,%s,passive
17396          //   a "check" item named %s went passive
17397          // default is passive
17398          program {
17399             name:    "go_active";
17400             signal:  "elm,state,selected";
17401             source:  "elm";
17402             action:  STATE_SET "selected" 0.0;
17403             target:  "bg";
17404             target:  "fg1";
17405             target:  "fg2";
17406             target:  "elm.text";
17407          }
17408          program {
17409             name:    "go_passive";
17410             signal:  "elm,state,unselected";
17411             source:  "elm";
17412             action:  STATE_SET "default" 0.0;
17413             target:  "bg";
17414             target:  "fg1";
17415             target:  "fg2";
17416             target:  "elm.text";
17417             transition: LINEAR 0.1;
17418          }
17419          program {
17420             name:    "go_disabled";
17421             signal:  "elm,state,disabled";
17422             source:  "elm";
17423             action:  STATE_SET "disabled" 0.0;
17424             target:  "disclip";
17425          }
17426          program {
17427             name:    "go_enabled";
17428             signal:  "elm,state,enabled";
17429             source:  "elm";
17430             action:  STATE_SET "default" 0.0;
17431             target:  "disclip";
17432          }
17433       }
17434    }
17435    group { name: "elm/genlist/item_odd/default/default";
17436       data.item: "stacking" "below";
17437       data.item: "selectraise" "on";
17438       data.item: "labels" "elm.text";
17439       data.item: "icons" "elm.swallow.icon elm.swallow.end";
17440       data.item: "treesize" "20";
17441 //      data.item: "states" "";
17442       images {
17443          image: "bt_sm_base1.png" COMP;
17444          image: "bt_sm_shine.png" COMP;
17445          image: "bt_sm_hilight.png" COMP;
17446          image: "ilist_2.png" COMP;
17447       }
17448       parts {
17449          part { name: "event";
17450             type: RECT;
17451             repeat_events: 1;
17452             description {
17453                state: "default" 0.0;
17454                color: 0 0 0 0;
17455             }
17456          }
17457          part {
17458             name: "base";
17459             mouse_events: 0;
17460             description {
17461                state: "default" 0.0;
17462                image {
17463                   normal: "ilist_2.png";
17464                   border: 2 2 2 2;
17465                }
17466                fill.smooth: 0;
17467             }
17468          }
17469          part { name: "bg";
17470             clip_to: "disclip";
17471             mouse_events: 0;
17472             description { state: "default" 0.0;
17473                visible: 0;
17474                color: 255 255 255 0;
17475                rel1 {
17476                   relative: 0.0 0.0;
17477                   offset: -5 -5;
17478                }
17479                rel2 {
17480                   relative: 1.0 1.0;
17481                   offset: 4 4;
17482                }
17483                image {
17484                   normal: "bt_sm_base1.png";
17485                   border: 6 6 6 6;
17486                }
17487                image.middle: SOLID;
17488             }
17489             description { state: "selected" 0.0;
17490                inherit: "default" 0.0;
17491                visible: 1;
17492                color: 255 255 255 255;
17493                rel1 {
17494                   relative: 0.0 0.0;
17495                   offset: -2 -2;
17496                }
17497                rel2 {
17498                   relative: 1.0 1.0;
17499                   offset: 1 1;
17500                }
17501             }
17502          }
17503          part { name: "elm.swallow.pad";
17504             type: SWALLOW;
17505             description { state: "default" 0.0;
17506                fixed: 1 0;
17507                align: 0.0 0.5;
17508                rel1 {
17509                   relative: 0.0  0.0;
17510                   offset:   4    4;
17511                }
17512                rel2 {
17513                   relative: 0.0  1.0;
17514                   offset:   4   -5;
17515                }
17516             }
17517          }
17518          part { name: "elm.swallow.icon";
17519             clip_to: "disclip";
17520             type: SWALLOW;
17521             description { state: "default" 0.0;
17522                fixed: 1 0;
17523                align: 0.0 0.5;
17524                rel1 {
17525                   to_x: "elm.swallow.pad";
17526                   relative: 1.0  0.0;
17527                   offset:   -1    4;
17528                }
17529                rel2 {
17530                   to_x: "elm.swallow.pad";
17531                   relative: 1.0  1.0;
17532                   offset:   -1   -5;
17533                }
17534             }
17535          }
17536          part { name: "elm.swallow.end";
17537             clip_to: "disclip";
17538             type:          SWALLOW;
17539             description { state:    "default" 0.0;
17540                fixed: 1 0;
17541                align:    1.0 0.5;
17542                aspect: 1.0 1.0;
17543                aspect_preference: VERTICAL;
17544                rel1 {
17545                   relative: 1.0  0.0;
17546                   offset:   -5    4;
17547                }
17548                rel2 {
17549                   relative: 1.0  1.0;
17550                   offset:   -5   -5;
17551                }
17552             }
17553          }
17554          part { name: "elm.text";
17555             clip_to: "disclip";
17556             type:           TEXT;
17557             effect:         SOFT_SHADOW;
17558             mouse_events:   0;
17559             scale: 1;
17560             description {
17561                state: "default" 0.0;
17562 //               min:      16 16;
17563                rel1 {
17564                   to_x:     "elm.swallow.icon";
17565                   relative: 1.0  0.0;
17566                   offset:   0 4;
17567                }
17568                rel2 {
17569                   to_x:     "elm.swallow.end";
17570                   relative: 0.0  1.0;
17571                   offset:   -1 -5;
17572                }
17573                color: 0 0 0 255;
17574                color3: 0 0 0 0;
17575                text {
17576                   font: "Sans";
17577                   size: 10;
17578                   min: 1 1;
17579 //                  min: 0 1;
17580                   align: 0.0 0.5;
17581                   text_class: "list_item";
17582                }
17583             }
17584             description { state: "selected" 0.0;
17585                inherit: "default" 0.0;
17586                color: 224 224 224 255;
17587                color3: 0 0 0 64;
17588             }
17589          }
17590          part { name: "fg1";
17591             clip_to: "disclip";
17592             mouse_events: 0;
17593             description { state: "default" 0.0;
17594                visible: 0;
17595                color: 255 255 255 0;
17596                rel1.to: "bg";
17597                rel2.relative: 1.0 0.5;
17598                rel2.to: "bg";
17599                image {
17600                   normal: "bt_sm_hilight.png";
17601                   border: 6 6 6 0;
17602                }
17603             }
17604             description { state: "selected" 0.0;
17605                inherit: "default" 0.0;
17606                visible: 1;
17607                color: 255 255 255 255;
17608             }
17609          }
17610          part { name: "fg2";
17611             clip_to: "disclip";
17612             mouse_events: 0;
17613             description { state: "default" 0.0;
17614                visible: 0;
17615                color: 255 255 255 0;
17616                rel1.to: "bg";
17617                rel2.to: "bg";
17618                image {
17619                   normal: "bt_sm_shine.png";
17620                   border: 6 6 6 0;
17621                }
17622             }
17623             description { state: "selected" 0.0;
17624                inherit: "default" 0.0;
17625                visible: 1;
17626                color: 255 255 255 255;
17627             }
17628          }
17629          part { name: "disclip";
17630             type: RECT;
17631             description { state: "default" 0.0;
17632                rel1.to: "bg";
17633                rel2.to: "bg";
17634             }
17635             description { state: "disabled" 0.0;
17636                inherit: "default" 0.0;
17637                color: 255 255 255 64;
17638             }
17639          }
17640       }
17641       programs {
17642          // signal: elm,state,%s,active
17643          //   a "check" item named %s went active
17644          // signal: elm,state,%s,passive
17645          //   a "check" item named %s went passive
17646          // default is passive
17647          program {
17648             name:    "go_active";
17649             signal:  "elm,state,selected";
17650             source:  "elm";
17651             action:  STATE_SET "selected" 0.0;
17652             target:  "bg";
17653             target:  "fg1";
17654             target:  "fg2";
17655             target:  "elm.text";
17656          }
17657          program {
17658             name:    "go_passive";
17659             signal:  "elm,state,unselected";
17660             source:  "elm";
17661             action:  STATE_SET "default" 0.0;
17662             target:  "bg";
17663             target:  "fg1";
17664             target:  "fg2";
17665             target:  "elm.text";
17666             transition: LINEAR 0.1;
17667          }
17668          program {
17669             name:    "go_disabled";
17670             signal:  "elm,state,disabled";
17671             source:  "elm";
17672             action:  STATE_SET "disabled" 0.0;
17673             target:  "disclip";
17674          }
17675          program {
17676             name:    "go_enabled";
17677             signal:  "elm,state,enabled";
17678             source:  "elm";
17679             action:  STATE_SET "default" 0.0;
17680             target:  "disclip";
17681          }
17682       }
17683    }
17684    group { name: "elm/genlist/item_compress_odd/default/default";
17685       data.item: "stacking" "below";
17686       data.item: "selectraise" "on";
17687       data.item: "labels" "elm.text";
17688       data.item: "icons" "elm.swallow.icon elm.swallow.end";
17689       data.item: "treesize" "20";
17690 //      data.item: "states" "";
17691       images {
17692          image: "bt_sm_base1.png" COMP;
17693          image: "bt_sm_shine.png" COMP;
17694          image: "bt_sm_hilight.png" COMP;
17695          image: "ilist_2.png" COMP;
17696       }
17697       parts {
17698          part { name: "event";
17699             type: RECT;
17700             repeat_events: 1;
17701             description {
17702                state: "default" 0.0;
17703                color: 0 0 0 0;
17704             }
17705          }
17706          part {
17707             name: "base";
17708             mouse_events: 0;
17709             description {
17710                state: "default" 0.0;
17711                image {
17712                   normal: "ilist_2.png";
17713                   border: 2 2 2 2;
17714                }
17715                fill.smooth: 0;
17716             }
17717          }
17718          part { name: "bg";
17719             clip_to: "disclip";
17720             mouse_events: 0;
17721             description { state: "default" 0.0;
17722                visible: 0;
17723                color: 255 255 255 0;
17724                rel1 {
17725                   relative: 0.0 0.0;
17726                   offset: -5 -5;
17727                }
17728                rel2 {
17729                   relative: 1.0 1.0;
17730                   offset: 4 4;
17731                }
17732                image {
17733                   normal: "bt_sm_base1.png";
17734                   border: 6 6 6 6;
17735                }
17736                image.middle: SOLID;
17737             }
17738             description { state: "selected" 0.0;
17739                inherit: "default" 0.0;
17740                visible: 1;
17741                color: 255 255 255 255;
17742                rel1 {
17743                   relative: 0.0 0.0;
17744                   offset: -2 -2;
17745                }
17746                rel2 {
17747                   relative: 1.0 1.0;
17748                   offset: 1 1;
17749                }
17750             }
17751          }
17752          part { name: "elm.swallow.pad";
17753             type: SWALLOW;
17754             description { state: "default" 0.0;
17755                fixed: 1 0;
17756                align: 0.0 0.5;
17757                rel1 {
17758                   relative: 0.0  0.0;
17759                   offset:   4    4;
17760                }
17761                rel2 {
17762                   relative: 0.0  1.0;
17763                   offset:   4   -5;
17764                }
17765             }
17766          }
17767          part { name: "elm.swallow.icon";
17768             clip_to: "disclip";
17769             type: SWALLOW;
17770             description { state: "default" 0.0;
17771                fixed: 1 0;
17772                align: 0.0 0.5;
17773                rel1 {
17774                   to_x: "elm.swallow.pad";
17775                   relative: 1.0  0.0;
17776                   offset:   -1    4;
17777                }
17778                rel2 {
17779                   to_x: "elm.swallow.pad";
17780                   relative: 1.0  1.0;
17781                   offset:   -1   -5;
17782                }
17783             }
17784          }
17785          part { name: "elm.swallow.end";
17786             clip_to: "disclip";
17787             type:          SWALLOW;
17788             description { state:    "default" 0.0;
17789                fixed: 1 0;
17790                align:    1.0 0.5;
17791                aspect: 1.0 1.0;
17792                aspect_preference: VERTICAL;
17793                rel1 {
17794                   relative: 1.0  0.0;
17795                   offset:   -5    4;
17796                }
17797                rel2 {
17798                   relative: 1.0  1.0;
17799                   offset:   -5   -5;
17800                }
17801             }
17802          }
17803          part { name: "elm.text";
17804             clip_to: "disclip";
17805             type:           TEXT;
17806             effect:         SOFT_SHADOW;
17807             mouse_events:   0;
17808             scale: 1;
17809             description {
17810                state: "default" 0.0;
17811 //               min:      16 16;
17812                rel1 {
17813                   to_x:     "elm.swallow.icon";
17814                   relative: 1.0  0.0;
17815                   offset:   0 4;
17816                }
17817                rel2 {
17818                   to_x:     "elm.swallow.end";
17819                   relative: 0.0  1.0;
17820                   offset:   -1 -5;
17821                }
17822                color: 0 0 0 255;
17823                color3: 0 0 0 0;
17824                text {
17825                   font: "Sans";
17826                   size: 10;
17827                   min: 0 1;
17828 //                  min: 1 1;
17829                   align: 0.0 0.5;
17830                   text_class: "list_item";
17831                }
17832             }
17833             description { state: "selected" 0.0;
17834                inherit: "default" 0.0;
17835                color: 224 224 224 255;
17836                color3: 0 0 0 64;
17837             }
17838          }
17839          part { name: "fg1";
17840             clip_to: "disclip";
17841             mouse_events: 0;
17842             description { state: "default" 0.0;
17843                visible: 0;
17844                color: 255 255 255 0;
17845                rel1.to: "bg";
17846                rel2.relative: 1.0 0.5;
17847                rel2.to: "bg";
17848                image {
17849                   normal: "bt_sm_hilight.png";
17850                   border: 6 6 6 0;
17851                }
17852             }
17853             description { state: "selected" 0.0;
17854                inherit: "default" 0.0;
17855                visible: 1;
17856                color: 255 255 255 255;
17857             }
17858          }
17859          part { name: "fg2";
17860             clip_to: "disclip";
17861             mouse_events: 0;
17862             description { state: "default" 0.0;
17863                visible: 0;
17864                color: 255 255 255 0;
17865                rel1.to: "bg";
17866                rel2.to: "bg";
17867                image {
17868                   normal: "bt_sm_shine.png";
17869                   border: 6 6 6 0;
17870                }
17871             }
17872             description { state: "selected" 0.0;
17873                inherit: "default" 0.0;
17874                visible: 1;
17875                color: 255 255 255 255;
17876             }
17877          }
17878          part { name: "disclip";
17879             type: RECT;
17880             description { state: "default" 0.0;
17881                rel1.to: "bg";
17882                rel2.to: "bg";
17883             }
17884             description { state: "disabled" 0.0;
17885                inherit: "default" 0.0;
17886                color: 255 255 255 64;
17887             }
17888          }
17889       }
17890       programs {
17891          // signal: elm,state,%s,active
17892          //   a "check" item named %s went active
17893          // signal: elm,state,%s,passive
17894          //   a "check" item named %s went passive
17895          // default is passive
17896          program {
17897             name:    "go_active";
17898             signal:  "elm,state,selected";
17899             source:  "elm";
17900             action:  STATE_SET "selected" 0.0;
17901             target:  "bg";
17902             target:  "fg1";
17903             target:  "fg2";
17904             target:  "elm.text";
17905          }
17906          program {
17907             name:    "go_passive";
17908             signal:  "elm,state,unselected";
17909             source:  "elm";
17910             action:  STATE_SET "default" 0.0;
17911             target:  "bg";
17912             target:  "fg1";
17913             target:  "fg2";
17914             target:  "elm.text";
17915             transition: LINEAR 0.1;
17916          }
17917          program {
17918             name:    "go_disabled";
17919             signal:  "elm,state,disabled";
17920             source:  "elm";
17921             action:  STATE_SET "disabled" 0.0;
17922             target:  "disclip";
17923          }
17924          program {
17925             name:    "go_enabled";
17926             signal:  "elm,state,enabled";
17927             source:  "elm";
17928             action:  STATE_SET "default" 0.0;
17929             target:  "disclip";
17930          }
17931       }
17932    }
17933
17934    group { name: "elm/genlist/tree/default/default";
17935       data.item: "stacking" "above";
17936       data.item: "selectraise" "on";
17937       data.item: "labels" "elm.text";
17938       data.item: "icons" "elm.swallow.icon elm.swallow.end";
17939       data.item: "treesize" "20";
17940 //      data.item: "states" "";
17941       images {
17942          image: "bt_sm_base1.png" COMP;
17943          image: "bt_sm_shine.png" COMP;
17944          image: "bt_sm_hilight.png" COMP;
17945          image: "ilist_1.png" COMP;
17946          image: "ilist_item_shadow.png" COMP;
17947          image: "icon_arrow_right.png" COMP;
17948          image: "icon_arrow_down.png" COMP;
17949       }
17950       parts {
17951          part {
17952             name:           "event";
17953             type:           RECT;
17954             repeat_events: 1;
17955             description {
17956                state: "default" 0.0;
17957                color: 0 0 0 0;
17958             }
17959          }
17960          part {
17961             name: "base_sh";
17962             mouse_events: 0;
17963             description {
17964                state: "default" 0.0;
17965                align: 0.0 0.0;
17966                min: 0 10;
17967                fixed: 1 1;
17968                rel1 {
17969                   to: "base";
17970                   relative: 0.0 1.0;
17971                   offset: 0 0;
17972                }
17973                rel2 {
17974                   to: "base";
17975                   relative: 1.0 1.0;
17976                   offset: -1 0;
17977                }
17978                image {
17979                   normal: "ilist_item_shadow.png";
17980                }
17981                fill.smooth: 0;
17982             }
17983          }
17984          part {
17985             name: "base";
17986             mouse_events: 0;
17987             description {
17988                state: "default" 0.0;
17989                image {
17990                   normal: "ilist_1.png";
17991                   border: 2 2 2 2;
17992                }
17993                fill.smooth: 0;
17994             }
17995          }
17996          part { name: "bg";
17997             clip_to: "disclip";
17998             mouse_events: 0;
17999             description { state: "default" 0.0;
18000                visible: 0;
18001                color: 255 255 255 0;
18002                rel1 {
18003                   relative: 0.0 0.0;
18004                   offset: -5 -5;
18005                }
18006                rel2 {
18007                   relative: 1.0 1.0;
18008                   offset: 4 4;
18009                }
18010                image {
18011                   normal: "bt_sm_base1.png";
18012                   border: 6 6 6 6;
18013                }
18014                image.middle: SOLID;
18015             }
18016             description { state: "selected" 0.0;
18017                inherit: "default" 0.0;
18018                visible: 1;
18019                color: 255 255 255 255;
18020                rel1 {
18021                   relative: 0.0 0.0;
18022                   offset: -2 -2;
18023                }
18024                rel2 {
18025                   relative: 1.0 1.0;
18026                   offset: 1 1;
18027                }
18028             }
18029          }
18030          part { name: "elm.swallow.pad";
18031             type: SWALLOW;
18032             description { state: "default" 0.0;
18033                fixed: 1 0;
18034                align: 0.0 0.5;
18035                rel1 {
18036                   relative: 0.0  0.0;
18037                   offset:   4    4;
18038                }
18039                rel2 {
18040                   relative: 0.0  1.0;
18041                   offset:   4   -5;
18042                }
18043             }
18044          }
18045          part { name: "arrow";
18046             clip_to: "disclip";
18047             ignore_flags: ON_HOLD;
18048             description { state: "default" 0.0;
18049                fixed: 1 0;
18050                align: 0.0 0.5;
18051                aspect: 1.0 1.0;
18052                rel1 {
18053                   to_x: "elm.swallow.pad";
18054                   relative: 1.0  0.0;
18055                   offset:   -1    4;
18056                }
18057                rel2 {
18058                   to_x: "elm.swallow.pad";
18059                   relative: 1.0  1.0;
18060                   offset:   -1   -5;
18061                }
18062                image.normal: "icon_arrow_right.png";
18063             }
18064             description { state: "active" 0.0;
18065                inherit: "default" 0.0;
18066                image.normal: "icon_arrow_down.png";
18067             }
18068          }
18069          part { name: "elm.swallow.icon";
18070             clip_to: "disclip";
18071             type: SWALLOW;
18072             description { state: "default" 0.0;
18073                fixed: 1 0;
18074                align: 0.0 0.5;
18075                rel1 {
18076                   to_x: "arrow";
18077                   relative: 1.0  0.0;
18078                   offset:   4    4;
18079                }
18080                rel2 {
18081                   to_x: "arrow";
18082                   relative: 1.0  1.0;
18083                   offset:   4   -5;
18084                }
18085             }
18086          }
18087          part { name: "elm.swallow.end";
18088             clip_to: "disclip";
18089             type: SWALLOW;
18090             description { state: "default" 0.0;
18091                fixed: 1 0;
18092                align: 1.0 0.5;
18093                aspect: 1.0 1.0;
18094                aspect_preference: VERTICAL;
18095                rel1 {
18096                   relative: 1.0  0.0;
18097                   offset:   -5    4;
18098                }
18099                rel2 {
18100                   relative: 1.0  1.0;
18101                   offset:   -5   -5;
18102                }
18103             }
18104          }
18105          part { name: "elm.text";
18106             clip_to: "disclip";
18107             type:           TEXT;
18108             effect:         SOFT_SHADOW;
18109             mouse_events:   0;
18110             scale: 1;
18111             description {
18112                state: "default" 0.0;
18113 //               min: 16 16;
18114                rel1 {
18115                   to_x:     "elm.swallow.icon";
18116                   relative: 1.0  0.0;
18117                   offset:   0 4;
18118                }
18119                rel2 {
18120                   to_x:     "elm.swallow.end";
18121                   relative: 0.0  1.0;
18122                   offset:   -1 -5;
18123                }
18124                color: 0 0 0 255;
18125                color3: 0 0 0 0;
18126                text {
18127                   font: "Sans";
18128                   size: 10;
18129                   min: 1 1;
18130 //                  min: 0 1;
18131                   align: 0.0 0.5;
18132                   text_class: "list_item";
18133                }
18134             }
18135             description { state: "selected" 0.0;
18136                inherit: "default" 0.0;
18137                color: 224 224 224 255;
18138                color3: 0 0 0 64;
18139             }
18140          }
18141          part { name: "fg1";
18142             clip_to: "disclip";
18143             mouse_events: 0;
18144             description { state: "default" 0.0;
18145                visible: 0;
18146                color: 255 255 255 0;
18147                rel1.to: "bg";
18148                rel2.relative: 1.0 0.5;
18149                rel2.to: "bg";
18150                image {
18151                   normal: "bt_sm_hilight.png";
18152                   border: 6 6 6 0;
18153                }
18154             }
18155             description { state: "selected" 0.0;
18156                inherit: "default" 0.0;
18157                visible: 1;
18158                color: 255 255 255 255;
18159             }
18160          }
18161          part { name: "fg2";
18162             clip_to: "disclip";
18163             mouse_events: 0;
18164             description { state: "default" 0.0;
18165                visible: 0;
18166                color: 255 255 255 0;
18167                rel1.to: "bg";
18168                rel2.to: "bg";
18169                image {
18170                   normal: "bt_sm_shine.png";
18171                   border: 6 6 6 0;
18172                }
18173             }
18174             description { state: "selected" 0.0;
18175                inherit: "default" 0.0;
18176                visible: 1;
18177                color: 255 255 255 255;
18178             }
18179          }
18180          part { name: "disclip";
18181             type: RECT;
18182             description { state: "default" 0.0;
18183                rel1.to: "bg";
18184                rel2.to: "bg";
18185             }
18186             description { state: "disabled" 0.0;
18187                inherit: "default" 0.0;
18188                color: 255 255 255 64;
18189             }
18190          }
18191       }
18192       programs {
18193          // signal: elm,state,%s,active
18194          //   a "check" item named %s went active
18195          // signal: elm,state,%s,passive
18196          //   a "check" item named %s went passive
18197          // default is passive
18198          program {
18199             name:    "go_active";
18200             signal:  "elm,state,selected";
18201             source:  "elm";
18202             action:  STATE_SET "selected" 0.0;
18203             target:  "bg";
18204             target:  "fg1";
18205             target:  "fg2";
18206             target:  "elm.text";
18207          }
18208          program {
18209             name:    "go_passive";
18210             signal:  "elm,state,unselected";
18211             source:  "elm";
18212             action:  STATE_SET "default" 0.0;
18213             target:  "bg";
18214             target:  "fg1";
18215             target:  "fg2";
18216             target:  "elm.text";
18217             transition: LINEAR 0.1;
18218          }
18219          program {
18220             name:    "go_disabled";
18221             signal:  "elm,state,disabled";
18222             source:  "elm";
18223             action:  STATE_SET "disabled" 0.0;
18224             target:  "disclip";
18225          }
18226          program {
18227             name:    "go_enabled";
18228             signal:  "elm,state,enabled";
18229             source:  "elm";
18230             action:  STATE_SET "default" 0.0;
18231             target:  "disclip";
18232          }
18233          program {
18234             name:    "expand";
18235             signal:  "mouse,up,1";
18236             source:  "arrow";
18237             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
18238          }
18239          program {
18240             name:    "go_expanded";
18241             signal:  "elm,state,expanded";
18242             source:  "elm";
18243             action:  STATE_SET "active" 0.0;
18244             target:  "arrow";
18245          }
18246          program {
18247             name:    "go_contracted";
18248             signal:  "elm,state,contracted";
18249             source:  "elm";
18250             action:  STATE_SET "default" 0.0;
18251             target:  "arrow";
18252          }
18253       }
18254    }
18255    group { name: "elm/genlist/tree_compress/default/default";
18256       data.item: "stacking" "above";
18257       data.item: "selectraise" "on";
18258       data.item: "labels" "elm.text";
18259       data.item: "icons" "elm.swallow.icon elm.swallow.end";
18260       data.item: "treesize" "20";
18261 //      data.item: "states" "";
18262       images {
18263          image: "bt_sm_base1.png" COMP;
18264          image: "bt_sm_shine.png" COMP;
18265          image: "bt_sm_hilight.png" COMP;
18266          image: "ilist_1.png" COMP;
18267          image: "ilist_item_shadow.png" COMP;
18268          image: "icon_arrow_right.png" COMP;
18269          image: "icon_arrow_down.png" COMP;
18270       }
18271       parts {
18272          part {
18273             name:           "event";
18274             type:           RECT;
18275             repeat_events: 1;
18276             description {
18277                state: "default" 0.0;
18278                color: 0 0 0 0;
18279             }
18280          }
18281          part {
18282             name: "base_sh";
18283             mouse_events: 0;
18284             description {
18285                state: "default" 0.0;
18286                align: 0.0 0.0;
18287                min: 0 10;
18288                fixed: 1 1;
18289                rel1 {
18290                   to: "base";
18291                   relative: 0.0 1.0;
18292                   offset: 0 0;
18293                }
18294                rel2 {
18295                   to: "base";
18296                   relative: 1.0 1.0;
18297                   offset: -1 0;
18298                }
18299                image {
18300                   normal: "ilist_item_shadow.png";
18301                }
18302                fill.smooth: 0;
18303             }
18304          }
18305          part {
18306             name: "base";
18307             mouse_events: 0;
18308             description {
18309                state: "default" 0.0;
18310                image {
18311                   normal: "ilist_1.png";
18312                   border: 2 2 2 2;
18313                }
18314                fill.smooth: 0;
18315             }
18316          }
18317          part { name: "bg";
18318             clip_to: "disclip";
18319             mouse_events: 0;
18320             description { state: "default" 0.0;
18321                visible: 0;
18322                color: 255 255 255 0;
18323                rel1 {
18324                   relative: 0.0 0.0;
18325                   offset: -5 -5;
18326                }
18327                rel2 {
18328                   relative: 1.0 1.0;
18329                   offset: 4 4;
18330                }
18331                image {
18332                   normal: "bt_sm_base1.png";
18333                   border: 6 6 6 6;
18334                }
18335                image.middle: SOLID;
18336             }
18337             description { state: "selected" 0.0;
18338                inherit: "default" 0.0;
18339                visible: 1;
18340                color: 255 255 255 255;
18341                rel1 {
18342                   relative: 0.0 0.0;
18343                   offset: -2 -2;
18344                }
18345                rel2 {
18346                   relative: 1.0 1.0;
18347                   offset: 1 1;
18348                }
18349             }
18350          }
18351          part { name: "elm.swallow.pad";
18352             type: SWALLOW;
18353             description { state: "default" 0.0;
18354                fixed: 1 0;
18355                align: 0.0 0.5;
18356                rel1 {
18357                   relative: 0.0  0.0;
18358                   offset:   4    4;
18359                }
18360                rel2 {
18361                   relative: 0.0  1.0;
18362                   offset:   4   -5;
18363                }
18364             }
18365          }
18366          part { name: "arrow";
18367             clip_to: "disclip";
18368             ignore_flags: ON_HOLD;
18369             description { state: "default" 0.0;
18370                fixed: 1 0;
18371                align: 0.0 0.5;
18372                aspect: 1.0 1.0;
18373                rel1 {
18374                   to_x: "elm.swallow.pad";
18375                   relative: 1.0  0.0;
18376                   offset:   -1    4;
18377                }
18378                rel2 {
18379                   to_x: "elm.swallow.pad";
18380                   relative: 1.0  1.0;
18381                   offset:   -1   -5;
18382                }
18383                image.normal: "icon_arrow_right.png";
18384             }
18385             description { state: "active" 0.0;
18386                inherit: "default" 0.0;
18387                image.normal: "icon_arrow_down.png";
18388             }
18389          }
18390          part { name: "elm.swallow.icon";
18391             clip_to: "disclip";
18392             type: SWALLOW;
18393             description { state: "default" 0.0;
18394                fixed: 1 0;
18395                align: 0.0 0.5;
18396                rel1 {
18397                   to_x: "arrow";
18398                   relative: 1.0  0.0;
18399                   offset:   4    4;
18400                }
18401                rel2 {
18402                   to_x: "arrow";
18403                   relative: 1.0  1.0;
18404                   offset:   4   -5;
18405                }
18406             }
18407          }
18408          part { name: "elm.swallow.end";
18409             clip_to: "disclip";
18410             type: SWALLOW;
18411             description { state: "default" 0.0;
18412                fixed: 1 0;
18413                align: 1.0 0.5;
18414                aspect: 1.0 1.0;
18415                aspect_preference: VERTICAL;
18416                rel1 {
18417                   relative: 1.0  0.0;
18418                   offset:   -5    4;
18419                }
18420                rel2 {
18421                   relative: 1.0  1.0;
18422                   offset:   -5   -5;
18423                }
18424             }
18425          }
18426          part { name: "elm.text";
18427             clip_to: "disclip";
18428             type:           TEXT;
18429             effect:         SOFT_SHADOW;
18430             mouse_events:   0;
18431             scale: 1;
18432             description {
18433                state: "default" 0.0;
18434 //               min: 16 16;
18435                rel1 {
18436                   to_x:     "elm.swallow.icon";
18437                   relative: 1.0  0.0;
18438                   offset:   0 4;
18439                }
18440                rel2 {
18441                   to_x:     "elm.swallow.end";
18442                   relative: 0.0  1.0;
18443                   offset:   -1 -5;
18444                }
18445                color: 0 0 0 255;
18446                color3: 0 0 0 0;
18447                text {
18448                   font: "Sans";
18449                   size: 10;
18450 //                  min: 1 1;
18451                   min: 0 1;
18452                   align: 0.0 0.5;
18453                   text_class: "list_item";
18454                }
18455             }
18456             description { state: "selected" 0.0;
18457                inherit: "default" 0.0;
18458                color: 224 224 224 255;
18459                color3: 0 0 0 64;
18460             }
18461          }
18462          part { name: "fg1";
18463             clip_to: "disclip";
18464             mouse_events: 0;
18465             description { state: "default" 0.0;
18466                visible: 0;
18467                color: 255 255 255 0;
18468                rel1.to: "bg";
18469                rel2.relative: 1.0 0.5;
18470                rel2.to: "bg";
18471                image {
18472                   normal: "bt_sm_hilight.png";
18473                   border: 6 6 6 0;
18474                }
18475             }
18476             description { state: "selected" 0.0;
18477                inherit: "default" 0.0;
18478                visible: 1;
18479                color: 255 255 255 255;
18480             }
18481          }
18482          part { name: "fg2";
18483             clip_to: "disclip";
18484             mouse_events: 0;
18485             description { state: "default" 0.0;
18486                visible: 0;
18487                color: 255 255 255 0;
18488                rel1.to: "bg";
18489                rel2.to: "bg";
18490                image {
18491                   normal: "bt_sm_shine.png";
18492                   border: 6 6 6 0;
18493                }
18494             }
18495             description { state: "selected" 0.0;
18496                inherit: "default" 0.0;
18497                visible: 1;
18498                color: 255 255 255 255;
18499             }
18500          }
18501          part { name: "disclip";
18502             type: RECT;
18503             description { state: "default" 0.0;
18504                rel1.to: "bg";
18505                rel2.to: "bg";
18506             }
18507             description { state: "disabled" 0.0;
18508                inherit: "default" 0.0;
18509                color: 255 255 255 64;
18510             }
18511          }
18512       }
18513       programs {
18514          // signal: elm,state,%s,active
18515          //   a "check" item named %s went active
18516          // signal: elm,state,%s,passive
18517          //   a "check" item named %s went passive
18518          // default is passive
18519          program {
18520             name:    "go_active";
18521             signal:  "elm,state,selected";
18522             source:  "elm";
18523             action:  STATE_SET "selected" 0.0;
18524             target:  "bg";
18525             target:  "fg1";
18526             target:  "fg2";
18527             target:  "elm.text";
18528          }
18529          program {
18530             name:    "go_passive";
18531             signal:  "elm,state,unselected";
18532             source:  "elm";
18533             action:  STATE_SET "default" 0.0;
18534             target:  "bg";
18535             target:  "fg1";
18536             target:  "fg2";
18537             target:  "elm.text";
18538             transition: LINEAR 0.1;
18539          }
18540          program {
18541             name:    "go_disabled";
18542             signal:  "elm,state,disabled";
18543             source:  "elm";
18544             action:  STATE_SET "disabled" 0.0;
18545             target:  "disclip";
18546          }
18547          program {
18548             name:    "go_enabled";
18549             signal:  "elm,state,enabled";
18550             source:  "elm";
18551             action:  STATE_SET "default" 0.0;
18552             target:  "disclip";
18553          }
18554          program {
18555             name:    "expand";
18556             signal:  "mouse,up,1";
18557             source:  "arrow";
18558             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
18559          }
18560          program {
18561             name:    "go_expanded";
18562             signal:  "elm,state,expanded";
18563             source:  "elm";
18564             action:  STATE_SET "active" 0.0;
18565             target:  "arrow";
18566          }
18567          program {
18568             name:    "go_contracted";
18569             signal:  "elm,state,contracted";
18570             source:  "elm";
18571             action:  STATE_SET "default" 0.0;
18572             target:  "arrow";
18573          }
18574       }
18575    }
18576    group { name: "elm/genlist/tree_odd/default/default";
18577       data.item: "stacking" "below";
18578       data.item: "selectraise" "on";
18579       data.item: "labels" "elm.text";
18580       data.item: "icons" "elm.swallow.icon elm.swallow.end";
18581       data.item: "treesize" "20";
18582 //      data.item: "states" "";
18583       images {
18584          image: "bt_sm_base1.png" COMP;
18585          image: "bt_sm_shine.png" COMP;
18586          image: "bt_sm_hilight.png" COMP;
18587          image: "ilist_2.png" COMP;
18588          image: "icon_arrow_right.png" COMP;
18589          image: "icon_arrow_down.png" COMP;
18590       }
18591       parts {
18592          part {
18593             name:           "event";
18594             type:           RECT;
18595             repeat_events: 1;
18596             description {
18597                state: "default" 0.0;
18598                color: 0 0 0 0;
18599             }
18600          }
18601          part {
18602             name: "base";
18603             mouse_events: 0;
18604             description {
18605                state: "default" 0.0;
18606                image {
18607                   normal: "ilist_2.png";
18608                   border: 2 2 2 2;
18609                }
18610                fill.smooth: 0;
18611             }
18612          }
18613          part { name: "bg";
18614             clip_to: "disclip";
18615             mouse_events: 0;
18616             description { state: "default" 0.0;
18617                visible: 0;
18618                color: 255 255 255 0;
18619                rel1 {
18620                   relative: 0.0 0.0;
18621                   offset: -5 -5;
18622                }
18623                rel2 {
18624                   relative: 1.0 1.0;
18625                   offset: 4 4;
18626                }
18627                image {
18628                   normal: "bt_sm_base1.png";
18629                   border: 6 6 6 6;
18630                }
18631                image.middle: SOLID;
18632             }
18633             description { state: "selected" 0.0;
18634                inherit: "default" 0.0;
18635                visible: 1;
18636                color: 255 255 255 255;
18637                rel1 {
18638                   relative: 0.0 0.0;
18639                   offset: -2 -2;
18640                }
18641                rel2 {
18642                   relative: 1.0 1.0;
18643                   offset: 1 1;
18644                }
18645             }
18646          }
18647          part { name: "elm.swallow.pad";
18648             type: SWALLOW;
18649             description { state: "default" 0.0;
18650                fixed: 1 0;
18651                align: 0.0 0.5;
18652                rel1 {
18653                   relative: 0.0  0.0;
18654                   offset:   4    4;
18655                }
18656                rel2 {
18657                   relative: 0.0  1.0;
18658                   offset:   4   -5;
18659                }
18660             }
18661          }
18662          part { name: "arrow";
18663             clip_to: "disclip";
18664             ignore_flags: ON_HOLD;
18665             description { state: "default" 0.0;
18666                fixed: 1 0;
18667                align: 0.0 0.5;
18668                aspect: 1.0 1.0;
18669                rel1 {
18670                   to_x: "elm.swallow.pad";
18671                   relative: 1.0  0.0;
18672                   offset:   -1    4;
18673                }
18674                rel2 {
18675                   to_x: "elm.swallow.pad";
18676                   relative: 1.0  1.0;
18677                   offset:   -1   -5;
18678                }
18679                image.normal: "icon_arrow_right.png";
18680             }
18681             description { state: "active" 0.0;
18682                inherit: "default" 0.0;
18683                image.normal: "icon_arrow_down.png";
18684             }
18685          }
18686          part { name: "elm.swallow.icon";
18687             clip_to: "disclip";
18688             type: SWALLOW;
18689             description { state: "default" 0.0;
18690                fixed: 1 0;
18691                align: 0.0 0.5;
18692                rel1 {
18693                   to_x: "arrow";
18694                   relative: 1.0  0.0;
18695                   offset:   4    4;
18696                }
18697                rel2 {
18698                   to_x: "arrow";
18699                   relative: 1.0  1.0;
18700                   offset:   4   -5;
18701                }
18702             }
18703          }
18704          part { name: "elm.swallow.end";
18705             clip_to: "disclip";
18706             type: SWALLOW;
18707             description { state: "default" 0.0;
18708                fixed: 1 0;
18709                align: 1.0 0.5;
18710                aspect: 1.0 1.0;
18711                aspect_preference: VERTICAL;
18712                rel1 {
18713                   relative: 1.0  0.0;
18714                   offset:   -5    4;
18715                }
18716                rel2 {
18717                   relative: 1.0  1.0;
18718                   offset:   -5   -5;
18719                }
18720             }
18721          }
18722          part { name: "elm.text";
18723             clip_to: "disclip";
18724             type:           TEXT;
18725             effect:         SOFT_SHADOW;
18726             mouse_events:   0;
18727             scale: 1;
18728             description {
18729                state: "default" 0.0;
18730 //               min: 16 16;
18731                rel1 {
18732                   to_x:     "elm.swallow.icon";
18733                   relative: 1.0  0.0;
18734                   offset:   0 4;
18735                }
18736                rel2 {
18737                   to_x:     "elm.swallow.end";
18738                   relative: 0.0  1.0;
18739                   offset:   -1 -5;
18740                }
18741                color: 0 0 0 255;
18742                color3: 0 0 0 0;
18743                text {
18744                   font: "Sans";
18745                   size: 10;
18746                   min: 1 1;
18747 //                  min: 0 1;
18748                   align: 0.0 0.5;
18749                   text_class: "list_item";
18750                }
18751             }
18752             description { state: "selected" 0.0;
18753                inherit: "default" 0.0;
18754                color: 224 224 224 255;
18755                color3: 0 0 0 64;
18756             }
18757          }
18758          part { name: "fg1";
18759             clip_to: "disclip";
18760             mouse_events: 0;
18761             description { state: "default" 0.0;
18762                visible: 0;
18763                color: 255 255 255 0;
18764                rel1.to: "bg";
18765                rel2.relative: 1.0 0.5;
18766                rel2.to: "bg";
18767                image {
18768                   normal: "bt_sm_hilight.png";
18769                   border: 6 6 6 0;
18770                }
18771             }
18772             description { state: "selected" 0.0;
18773                inherit: "default" 0.0;
18774                visible: 1;
18775                color: 255 255 255 255;
18776             }
18777          }
18778          part { name: "fg2";
18779             clip_to: "disclip";
18780             mouse_events: 0;
18781             description { state: "default" 0.0;
18782                visible: 0;
18783                color: 255 255 255 0;
18784                rel1.to: "bg";
18785                rel2.to: "bg";
18786                image {
18787                   normal: "bt_sm_shine.png";
18788                   border: 6 6 6 0;
18789                }
18790             }
18791             description { state: "selected" 0.0;
18792                inherit: "default" 0.0;
18793                visible: 1;
18794                color: 255 255 255 255;
18795             }
18796          }
18797          part { name: "disclip";
18798             type: RECT;
18799             description { state: "default" 0.0;
18800                rel1.to: "bg";
18801                rel2.to: "bg";
18802             }
18803             description { state: "disabled" 0.0;
18804                inherit: "default" 0.0;
18805                color: 255 255 255 64;
18806             }
18807          }
18808       }
18809       programs {
18810          // signal: elm,state,%s,active
18811          //   a "check" item named %s went active
18812          // signal: elm,state,%s,passive
18813          //   a "check" item named %s went passive
18814          // default is passive
18815          program {
18816             name:    "go_active";
18817             signal:  "elm,state,selected";
18818             source:  "elm";
18819             action:  STATE_SET "selected" 0.0;
18820             target:  "bg";
18821             target:  "fg1";
18822             target:  "fg2";
18823             target:  "elm.text";
18824          }
18825          program {
18826             name:    "go_passive";
18827             signal:  "elm,state,unselected";
18828             source:  "elm";
18829             action:  STATE_SET "default" 0.0;
18830             target:  "bg";
18831             target:  "fg1";
18832             target:  "fg2";
18833             target:  "elm.text";
18834             transition: LINEAR 0.1;
18835          }
18836          program {
18837             name:    "go_disabled";
18838             signal:  "elm,state,disabled";
18839             source:  "elm";
18840             action:  STATE_SET "disabled" 0.0;
18841             target:  "disclip";
18842          }
18843          program {
18844             name:    "go_enabled";
18845             signal:  "elm,state,enabled";
18846             source:  "elm";
18847             action:  STATE_SET "default" 0.0;
18848             target:  "disclip";
18849          }
18850          program {
18851             name:    "expand";
18852             signal:  "mouse,up,1";
18853             source:  "arrow";
18854             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
18855          }
18856          program {
18857             name:    "go_expanded";
18858             signal:  "elm,state,expanded";
18859             source:  "elm";
18860             action:  STATE_SET "active" 0.0;
18861             target:  "arrow";
18862          }
18863          program {
18864             name:    "go_contracted";
18865             signal:  "elm,state,contracted";
18866             source:  "elm";
18867             action:  STATE_SET "default" 0.0;
18868             target:  "arrow";
18869          }
18870       }
18871    }
18872    group { name: "elm/genlist/tree_compress_odd/default/default";
18873       data.item: "stacking" "below";
18874       data.item: "selectraise" "on";
18875       data.item: "labels" "elm.text";
18876       data.item: "icons" "elm.swallow.icon elm.swallow.end";
18877       data.item: "treesize" "20";
18878 //      data.item: "states" "";
18879       images {
18880          image: "bt_sm_base1.png" COMP;
18881          image: "bt_sm_shine.png" COMP;
18882          image: "bt_sm_hilight.png" COMP;
18883          image: "ilist_2.png" COMP;
18884          image: "icon_arrow_right.png" COMP;
18885          image: "icon_arrow_down.png" COMP;
18886       }
18887       parts {
18888          part {
18889             name:           "event";
18890             type:           RECT;
18891             repeat_events: 1;
18892             description {
18893                state: "default" 0.0;
18894                color: 0 0 0 0;
18895             }
18896          }
18897          part {
18898             name: "base";
18899             mouse_events: 0;
18900             description {
18901                state: "default" 0.0;
18902                image {
18903                   normal: "ilist_2.png";
18904                   border: 2 2 2 2;
18905                }
18906                fill.smooth: 0;
18907             }
18908          }
18909          part { name: "bg";
18910             clip_to: "disclip";
18911             mouse_events: 0;
18912             description { state: "default" 0.0;
18913                visible: 0;
18914                color: 255 255 255 0;
18915                rel1 {
18916                   relative: 0.0 0.0;
18917                   offset: -5 -5;
18918                }
18919                rel2 {
18920                   relative: 1.0 1.0;
18921                   offset: 4 4;
18922                }
18923                image {
18924                   normal: "bt_sm_base1.png";
18925                   border: 6 6 6 6;
18926                }
18927                image.middle: SOLID;
18928             }
18929             description { state: "selected" 0.0;
18930                inherit: "default" 0.0;
18931                visible: 1;
18932                color: 255 255 255 255;
18933                rel1 {
18934                   relative: 0.0 0.0;
18935                   offset: -2 -2;
18936                }
18937                rel2 {
18938                   relative: 1.0 1.0;
18939                   offset: 1 1;
18940                }
18941             }
18942          }
18943          part { name: "elm.swallow.pad";
18944             type: SWALLOW;
18945             description { state: "default" 0.0;
18946                fixed: 1 0;
18947                align: 0.0 0.5;
18948                rel1 {
18949                   relative: 0.0  0.0;
18950                   offset:   4    4;
18951                }
18952                rel2 {
18953                   relative: 0.0  1.0;
18954                   offset:   4   -5;
18955                }
18956             }
18957          }
18958          part { name: "arrow";
18959             clip_to: "disclip";
18960             ignore_flags: ON_HOLD;
18961             description { state: "default" 0.0;
18962                fixed: 1 0;
18963                align: 0.0 0.5;
18964                aspect: 1.0 1.0;
18965                rel1 {
18966                   to_x: "elm.swallow.pad";
18967                   relative: 1.0  0.0;
18968                   offset:   -1    4;
18969                }
18970                rel2 {
18971                   to_x: "elm.swallow.pad";
18972                   relative: 1.0  1.0;
18973                   offset:   -1   -5;
18974                }
18975                image.normal: "icon_arrow_right.png";
18976             }
18977             description { state: "active" 0.0;
18978                inherit: "default" 0.0;
18979                image.normal: "icon_arrow_down.png";
18980             }
18981          }
18982          part { name: "elm.swallow.icon";
18983             clip_to: "disclip";
18984             type: SWALLOW;
18985             description { state: "default" 0.0;
18986                fixed: 1 0;
18987                align: 0.0 0.5;
18988                rel1 {
18989                   to_x: "arrow";
18990                   relative: 1.0  0.0;
18991                   offset:   4    4;
18992                }
18993                rel2 {
18994                   to_x: "arrow";
18995                   relative: 1.0  1.0;
18996                   offset:   4   -5;
18997                }
18998             }
18999          }
19000          part { name: "elm.swallow.end";
19001             clip_to: "disclip";
19002             type: SWALLOW;
19003             description { state: "default" 0.0;
19004                fixed: 1 0;
19005                align: 1.0 0.5;
19006                aspect: 1.0 1.0;
19007                aspect_preference: VERTICAL;
19008                rel1 {
19009                   relative: 1.0  0.0;
19010                   offset:   -5    4;
19011                }
19012                rel2 {
19013                   relative: 1.0  1.0;
19014                   offset:   -5   -5;
19015                }
19016             }
19017          }
19018          part { name: "elm.text";
19019             clip_to: "disclip";
19020             type:           TEXT;
19021             effect:         SOFT_SHADOW;
19022             mouse_events:   0;
19023             scale: 1;
19024             description {
19025                state: "default" 0.0;
19026 //               min: 16 16;
19027                rel1 {
19028                   to_x:     "elm.swallow.icon";
19029                   relative: 1.0  0.0;
19030                   offset:   0 4;
19031                }
19032                rel2 {
19033                   to_x:     "elm.swallow.end";
19034                   relative: 0.0  1.0;
19035                   offset:   -1 -5;
19036                }
19037                color: 0 0 0 255;
19038                color3: 0 0 0 0;
19039                text {
19040                   font: "Sans";
19041                   size: 10;
19042 //                  min: 1 1;
19043                   min: 0 1;
19044                   align: 0.0 0.5;
19045                   text_class: "list_item";
19046                }
19047             }
19048             description { state: "selected" 0.0;
19049                inherit: "default" 0.0;
19050                color: 224 224 224 255;
19051                color3: 0 0 0 64;
19052             }
19053          }
19054          part { name: "fg1";
19055             clip_to: "disclip";
19056             mouse_events: 0;
19057             description { state: "default" 0.0;
19058                visible: 0;
19059                color: 255 255 255 0;
19060                rel1.to: "bg";
19061                rel2.relative: 1.0 0.5;
19062                rel2.to: "bg";
19063                image {
19064                   normal: "bt_sm_hilight.png";
19065                   border: 6 6 6 0;
19066                }
19067             }
19068             description { state: "selected" 0.0;
19069                inherit: "default" 0.0;
19070                visible: 1;
19071                color: 255 255 255 255;
19072             }
19073          }
19074          part { name: "fg2";
19075             clip_to: "disclip";
19076             mouse_events: 0;
19077             description { state: "default" 0.0;
19078                visible: 0;
19079                color: 255 255 255 0;
19080                rel1.to: "bg";
19081                rel2.to: "bg";
19082                image {
19083                   normal: "bt_sm_shine.png";
19084                   border: 6 6 6 0;
19085                }
19086             }
19087             description { state: "selected" 0.0;
19088                inherit: "default" 0.0;
19089                visible: 1;
19090                color: 255 255 255 255;
19091             }
19092          }
19093          part { name: "disclip";
19094             type: RECT;
19095             description { state: "default" 0.0;
19096                rel1.to: "bg";
19097                rel2.to: "bg";
19098             }
19099             description { state: "disabled" 0.0;
19100                inherit: "default" 0.0;
19101                color: 255 255 255 64;
19102             }
19103          }
19104       }
19105       programs {
19106          // signal: elm,state,%s,active
19107          //   a "check" item named %s went active
19108          // signal: elm,state,%s,passive
19109          //   a "check" item named %s went passive
19110          // default is passive
19111          program {
19112             name:    "go_active";
19113             signal:  "elm,state,selected";
19114             source:  "elm";
19115             action:  STATE_SET "selected" 0.0;
19116             target:  "bg";
19117             target:  "fg1";
19118             target:  "fg2";
19119             target:  "elm.text";
19120          }
19121          program {
19122             name:    "go_passive";
19123             signal:  "elm,state,unselected";
19124             source:  "elm";
19125             action:  STATE_SET "default" 0.0;
19126             target:  "bg";
19127             target:  "fg1";
19128             target:  "fg2";
19129             target:  "elm.text";
19130             transition: LINEAR 0.1;
19131          }
19132          program {
19133             name:    "go_disabled";
19134             signal:  "elm,state,disabled";
19135             source:  "elm";
19136             action:  STATE_SET "disabled" 0.0;
19137             target:  "disclip";
19138          }
19139          program {
19140             name:    "go_enabled";
19141             signal:  "elm,state,enabled";
19142             source:  "elm";
19143             action:  STATE_SET "default" 0.0;
19144             target:  "disclip";
19145          }
19146          program {
19147             name:    "expand";
19148             signal:  "mouse,up,1";
19149             source:  "arrow";
19150             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
19151          }
19152          program {
19153             name:    "go_expanded";
19154             signal:  "elm,state,expanded";
19155             source:  "elm";
19156             action:  STATE_SET "active" 0.0;
19157             target:  "arrow";
19158          }
19159          program {
19160             name:    "go_contracted";
19161             signal:  "elm,state,contracted";
19162             source:  "elm";
19163             action:  STATE_SET "default" 0.0;
19164             target:  "arrow";
19165          }
19166       }
19167    }
19168
19169    group { name: "elm/genlist/item/default_style/default";
19170        styles
19171        {
19172            style { name: "genlist_style";
19173                base: "font=Sans font_size=10 align=left valign=0.5 color=#000 text_class=list_item";
19174                tag:  "br" "\n";
19175                tag:  "ps" "ps";
19176                tag:  "hilight" "+ font=Sans:style=Bold";
19177                tag:  "b" "+ font=Sans:style=Bold";
19178                tag:  "tab" "\t";
19179            }
19180            style { name: "genlist_selected_style";
19181                base: "font=Sans font_size=10 align=left valign=0.5 color=#fff text_class=list_item";
19182                tag:  "br" "\n";
19183                tag:  "ps" "ps";
19184                tag:  "hilight" "+ font=Sans:style=Bold";
19185                tag:  "b" "+ font=Sans:style=Bold";
19186                tag:  "tab" "\t";
19187            }
19188        }
19189        data.item: "stacking" "above";
19190        data.item: "selectraise" "on";
19191        data.item: "labels" "elm.text";
19192        data.item: "icons" "elm.swallow.icon elm.swallow.end";
19193        data.item: "treesize" "20";
19194        images {
19195            image: "bt_sm_base1.png" COMP;
19196            image: "bt_sm_shine.png" COMP;
19197            image: "bt_sm_hilight.png" COMP;
19198            image: "ilist_1.png" COMP;
19199            image: "ilist_item_shadow.png" COMP;
19200        }
19201        parts {
19202            part {
19203                name:           "event";
19204                type:           RECT;
19205                repeat_events: 1;
19206                description {
19207                    state: "default" 0.0;
19208                    color: 0 0 0 0;
19209                }
19210            }
19211            part {
19212                name: "base_sh";
19213                mouse_events: 0;
19214                description {
19215                    state: "default" 0.0;
19216                    align: 0.0 0.0;
19217                    min: 0 10;
19218                    fixed: 1 1;
19219                    rel1 {
19220                        to: "base";
19221                        relative: 0.0 1.0;
19222                        offset: 0 0;
19223                    }
19224                    rel2 {
19225                        to: "base";
19226                        relative: 1.0 1.0;
19227                        offset: -1 0;
19228                    }
19229                    image {
19230                        normal: "ilist_item_shadow.png";
19231                    }
19232                    fill.smooth: 0;
19233                }
19234            }
19235            part {
19236                name: "base";
19237                mouse_events: 0;
19238                description {
19239                    state: "default" 0.0;
19240                    min: 16 28;
19241                    image {
19242                        normal: "ilist_1.png";
19243                        border: 2 2 2 2;
19244                    }
19245                    fill.smooth: 0;
19246                }
19247            }
19248            part { name: "bg";
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 {
19255                        relative: 0.0 0.0;
19256                        offset: -5 -5;
19257                    }
19258                    rel2 {
19259                        relative: 1.0 1.0;
19260                        offset: 4 4;
19261                    }
19262                    image {
19263                        normal: "bt_sm_base1.png";
19264                        border: 6 6 6 6;
19265                    }
19266                    image.middle: SOLID;
19267                }
19268                description { state: "selected" 0.0;
19269                    inherit: "default" 0.0;
19270                    visible: 1;
19271                    color: 255 255 255 255;
19272                    rel1 {
19273                        relative: 0.0 0.0;
19274                        offset: -2 -2;
19275                    }
19276                    rel2 {
19277                        relative: 1.0 1.0;
19278                        offset: 1 1;
19279                    }
19280                }
19281            }
19282            part { name: "elm.swallow.pad";
19283                type: SWALLOW;
19284                description { state: "default" 0.0;
19285                    fixed: 1 0;
19286                    align: 0.0 0.5;
19287                    rel1 {
19288                        relative: 0.0  0.0;
19289                        offset:   4    4;
19290                    }
19291                    rel2 {
19292                        relative: 0.0  1.0;
19293                        offset:   4   -5;
19294                    }
19295                }
19296            }
19297            part { name: "elm.swallow.icon";
19298                clip_to: "disclip";
19299                type: SWALLOW;
19300                description { state: "default" 0.0;
19301                    fixed: 1 0;
19302                    align: 0.0 0.5;
19303                    rel1 {
19304                        to_x: "elm.swallow.pad";
19305                        relative: 1.0  0.0;
19306                        offset:   -1    4;
19307                    }
19308                    rel2 {
19309                        to_x: "elm.swallow.pad";
19310                        relative: 1.0  1.0;
19311                        offset:   -1   -5;
19312                    }
19313                }
19314            }
19315            part { name: "elm.swallow.end";
19316                clip_to: "disclip";
19317                type: SWALLOW;
19318                description { state: "default" 0.0;
19319                    fixed: 1 0;
19320                    align: 1.0 0.5;
19321                    aspect: 1.0 1.0;
19322                    aspect_preference: VERTICAL;
19323                    rel1 {
19324                        relative: 1.0  0.0;
19325                        offset:   -5    4;
19326                    }
19327                    rel2 {
19328                        relative: 1.0  1.0;
19329                        offset:   -5   -5;
19330                    }
19331                }
19332            }
19333            part { name: "elm.text";
19334                clip_to: "disclip";
19335                type: TEXTBLOCK;
19336                mouse_events: 0;
19337                scale: 1;
19338                description {
19339                    state: "default" 0.0;
19340                    align: 0.0 0.5;
19341                    fixed: 0 1;
19342                    rel1 {
19343                        to_x: "elm.swallow.icon";
19344                        to_y: "base";
19345                        relative: 1.0  0.5;
19346                        offset:   0 4;
19347                    }
19348                    rel2 {
19349                        to_x: "elm.swallow.end";
19350                        to_y: "base";
19351                        relative: 0.0  0.5;
19352                        offset:   -1 -5;
19353                    }
19354                    text {
19355                        style: "genlist_style";
19356                        min: 1 1;
19357                    }
19358                }
19359                description { state: "selected" 0.0;
19360                    inherit: "default" 0.0;
19361                    text {
19362                        style: "genlist_selected_style";
19363                    }
19364                }
19365            }
19366            part { name: "fg1";
19367                clip_to: "disclip";
19368                mouse_events: 0;
19369                description { state: "default" 0.0;
19370                    visible: 0;
19371                    color: 255 255 255 0;
19372                    rel1.to: "bg";
19373                    rel2.relative: 1.0 0.5;
19374                    rel2.to: "bg";
19375                    image {
19376                        normal: "bt_sm_hilight.png";
19377                        border: 6 6 6 0;
19378                    }
19379                }
19380                description { state: "selected" 0.0;
19381                    inherit: "default" 0.0;
19382                    visible: 1;
19383                    color: 255 255 255 255;
19384                }
19385            }
19386            part { name: "fg2";
19387                clip_to: "disclip";
19388                mouse_events: 0;
19389                description { state: "default" 0.0;
19390                    visible: 0;
19391                    color: 255 255 255 0;
19392                    rel1.to: "bg";
19393                    rel2.to: "bg";
19394                    image {
19395                        normal: "bt_sm_shine.png";
19396                        border: 6 6 6 0;
19397                    }
19398                }
19399                description { state: "selected" 0.0;
19400                    inherit: "default" 0.0;
19401                    visible: 1;
19402                    color: 255 255 255 255;
19403                }
19404            }
19405            part { name: "disclip";
19406                type: RECT;
19407                description { state: "default" 0.0;
19408                    rel1.to: "bg";
19409                    rel2.to: "bg";
19410                }
19411                description { state: "disabled" 0.0;
19412                    inherit: "default" 0.0;
19413                    color: 255 255 255 64;
19414                }
19415            }
19416        }
19417        programs {
19418            // signal: elm,state,%s,active
19419            //   a "check" item named %s went active
19420            // signal: elm,state,%s,passive
19421            //   a "check" item named %s went passive
19422            // default is passive
19423            program {
19424                name:    "go_active";
19425                signal:  "elm,state,selected";
19426                source:  "elm";
19427                action:  STATE_SET "selected" 0.0;
19428                target:  "bg";
19429                target:  "fg1";
19430                target:  "fg2";
19431                target:  "elm.text";
19432            }
19433            program {
19434                name:    "go_passive";
19435                signal:  "elm,state,unselected";
19436                source:  "elm";
19437                action:  STATE_SET "default" 0.0;
19438                target:  "bg";
19439                target:  "fg1";
19440                target:  "fg2";
19441                target:  "elm.text";
19442                transition: LINEAR 0.1;
19443            }
19444            program {
19445                name:    "go_disabled";
19446                signal:  "elm,state,disabled";
19447                source:  "elm";
19448                action:  STATE_SET "disabled" 0.0;
19449                target:  "disclip";
19450            }
19451            program {
19452                name:    "go_enabled";
19453                signal:  "elm,state,enabled";
19454                source:  "elm";
19455                action:  STATE_SET "default" 0.0;
19456                target:  "disclip";
19457            }
19458        }
19459    }
19460    group { name: "elm/genlist/item_odd/default_style/default";
19461        data.item: "stacking" "below";
19462        data.item: "selectraise" "on";
19463        data.item: "labels" "elm.text";
19464        data.item: "icons" "elm.swallow.icon elm.swallow.end";
19465        data.item: "treesize" "20";
19466        images {
19467            image: "bt_sm_base1.png" COMP;
19468            image: "bt_sm_shine.png" COMP;
19469            image: "bt_sm_hilight.png" COMP;
19470            image: "ilist_2.png" COMP;
19471        }
19472        parts {
19473            part { name: "event";
19474                type: RECT;
19475                repeat_events: 1;
19476                description {
19477                    state: "default" 0.0;
19478                    color: 0 0 0 0;
19479                }
19480            }
19481            part {
19482                name: "base";
19483                mouse_events: 0;
19484                description {
19485                    state: "default" 0.0;
19486                    min: 16 28;
19487                    image {
19488                        normal: "ilist_2.png";
19489                        border: 2 2 2 2;
19490                    }
19491                    fill.smooth: 0;
19492                }
19493            }
19494            part { name: "bg";
19495                clip_to: "disclip";
19496                mouse_events: 0;
19497                description { state: "default" 0.0;
19498                    visible: 0;
19499                    color: 255 255 255 0;
19500                    rel1 {
19501                        relative: 0.0 0.0;
19502                        offset: -5 -5;
19503                    }
19504                    rel2 {
19505                        relative: 1.0 1.0;
19506                        offset: 4 4;
19507                    }
19508                    image {
19509                        normal: "bt_sm_base1.png";
19510                        border: 6 6 6 6;
19511                    }
19512                    image.middle: SOLID;
19513                }
19514                description { state: "selected" 0.0;
19515                    inherit: "default" 0.0;
19516                    visible: 1;
19517                    color: 255 255 255 255;
19518                    rel1 {
19519                        relative: 0.0 0.0;
19520                        offset: -2 -2;
19521                    }
19522                    rel2 {
19523                        relative: 1.0 1.0;
19524                        offset: 1 1;
19525                    }
19526                }
19527            }
19528            part { name: "elm.swallow.pad";
19529                type: SWALLOW;
19530                description { state: "default" 0.0;
19531                    fixed: 1 0;
19532                    align: 0.0 0.5;
19533                    rel1 {
19534                        relative: 0.0  0.0;
19535                        offset:   4    4;
19536                    }
19537                    rel2 {
19538                        relative: 0.0  1.0;
19539                        offset:   4   -5;
19540                    }
19541                }
19542            }
19543            part { name: "elm.swallow.icon";
19544                clip_to: "disclip";
19545                type: SWALLOW;
19546                description { state: "default" 0.0;
19547                    fixed: 1 0;
19548                    align: 0.0 0.5;
19549                    rel1 {
19550                        to_x: "elm.swallow.pad";
19551                        relative: 1.0  0.0;
19552                        offset:   -1    4;
19553                    }
19554                    rel2 {
19555                        to_x: "elm.swallow.pad";
19556                        relative: 1.0  1.0;
19557                        offset:   -1   -5;
19558                    }
19559                }
19560            }
19561            part { name: "elm.swallow.end";
19562                clip_to: "disclip";
19563                type:          SWALLOW;
19564                description { state:    "default" 0.0;
19565                    fixed: 1 0;
19566                    align:    1.0 0.5;
19567                    aspect: 1.0 1.0;
19568                    aspect_preference: VERTICAL;
19569                    rel1 {
19570                        relative: 1.0  0.0;
19571                        offset:   -5    4;
19572                    }
19573                    rel2 {
19574                        relative: 1.0  1.0;
19575                        offset:   -5   -5;
19576                    }
19577                }
19578            }
19579            part { name: "elm.text";
19580                clip_to: "disclip";
19581                type:           TEXTBLOCK;
19582                mouse_events:   0;
19583                scale: 1;
19584                description {
19585                    state: "default" 0.0;
19586                    align: 0.0 0.5;
19587                    fixed: 0 1;
19588                    rel1 {
19589                        to_x: "elm.swallow.icon";
19590                        to_y: "base";
19591                        relative: 1.0  0.5;
19592                        offset:   0 4;
19593                    }
19594                    rel2 {
19595                        to_x: "elm.swallow.end";
19596                        to_y: "base";
19597                        relative: 0.0  0.5;
19598                        offset:   -1 -5;
19599                    }
19600                    text {
19601                        style: "genlist_style";
19602                        min: 1 1;
19603                    }
19604                }
19605                description { state: "selected" 0.0;
19606                    inherit: "default" 0.0;
19607                    text {
19608                        style: "genlist_selected_style";
19609                    }
19610                }
19611            }
19612            part { name: "fg1";
19613                clip_to: "disclip";
19614                mouse_events: 0;
19615                description { state: "default" 0.0;
19616                    visible: 0;
19617                    color: 255 255 255 0;
19618                    rel1.to: "bg";
19619                    rel2.relative: 1.0 0.5;
19620                    rel2.to: "bg";
19621                    image {
19622                        normal: "bt_sm_hilight.png";
19623                        border: 6 6 6 0;
19624                    }
19625                }
19626                description { state: "selected" 0.0;
19627                    inherit: "default" 0.0;
19628                    visible: 1;
19629                    color: 255 255 255 255;
19630                }
19631            }
19632            part { name: "fg2";
19633                clip_to: "disclip";
19634                mouse_events: 0;
19635                description { state: "default" 0.0;
19636                    visible: 0;
19637                    color: 255 255 255 0;
19638                    rel1.to: "bg";
19639                    rel2.to: "bg";
19640                    image {
19641                        normal: "bt_sm_shine.png";
19642                        border: 6 6 6 0;
19643                    }
19644                }
19645                description { state: "selected" 0.0;
19646                    inherit: "default" 0.0;
19647                    visible: 1;
19648                    color: 255 255 255 255;
19649                }
19650            }
19651            part { name: "disclip";
19652                type: RECT;
19653                description { state: "default" 0.0;
19654                    rel1.to: "bg";
19655                    rel2.to: "bg";
19656                }
19657                description { state: "disabled" 0.0;
19658                    inherit: "default" 0.0;
19659                    color: 255 255 255 64;
19660                }
19661            }
19662        }
19663        programs {
19664            // signal: elm,state,%s,active
19665            //   a "check" item named %s went active
19666            // signal: elm,state,%s,passive
19667            //   a "check" item named %s went passive
19668            // default is passive
19669            program {
19670                name:    "go_active";
19671                signal:  "elm,state,selected";
19672                source:  "elm";
19673                action:  STATE_SET "selected" 0.0;
19674                target:  "bg";
19675                target:  "fg1";
19676                target:  "fg2";
19677                target:  "elm.text";
19678            }
19679            program {
19680                name:    "go_passive";
19681                signal:  "elm,state,unselected";
19682                source:  "elm";
19683                action:  STATE_SET "default" 0.0;
19684                target:  "bg";
19685                target:  "fg1";
19686                target:  "fg2";
19687                target:  "elm.text";
19688                transition: LINEAR 0.1;
19689            }
19690            program {
19691                name:    "go_disabled";
19692                signal:  "elm,state,disabled";
19693                source:  "elm";
19694                action:  STATE_SET "disabled" 0.0;
19695                target:  "disclip";
19696            }
19697            program {
19698                name:    "go_enabled";
19699                signal:  "elm,state,enabled";
19700                source:  "elm";
19701                action:  STATE_SET "default" 0.0;
19702                target:  "disclip";
19703            }
19704        }
19705    }
19706
19707    group { name: "elm/genlist/tree/default_style/default";
19708        data.item: "stacking" "above";
19709        data.item: "selectraise" "on";
19710        data.item: "labels" "elm.text";
19711        data.item: "icons" "elm.swallow.icon elm.swallow.end";
19712        data.item: "treesize" "20";
19713        images {
19714            image: "bt_sm_base1.png" COMP;
19715            image: "bt_sm_shine.png" COMP;
19716            image: "bt_sm_hilight.png" COMP;
19717            image: "ilist_1.png" COMP;
19718            image: "ilist_item_shadow.png" COMP;
19719            image: "icon_arrow_right.png" COMP;
19720            image: "icon_arrow_down.png" COMP;
19721        }
19722        parts {
19723            part {
19724                name:           "event";
19725                type:           RECT;
19726                repeat_events: 1;
19727                description {
19728                    state: "default" 0.0;
19729                    color: 0 0 0 0;
19730                }
19731            }
19732            part {
19733                name: "base_sh";
19734                mouse_events: 0;
19735                description {
19736                    state: "default" 0.0;
19737                    align: 0.0 0.0;
19738                    min: 0 10;
19739                    fixed: 1 1;
19740                    rel1 {
19741                        to: "base";
19742                        relative: 0.0 1.0;
19743                        offset: 0 0;
19744                    }
19745                    rel2 {
19746                        to: "base";
19747                        relative: 1.0 1.0;
19748                        offset: -1 0;
19749                    }
19750                    image {
19751                        normal: "ilist_item_shadow.png";
19752                    }
19753                    fill.smooth: 0;
19754                }
19755            }
19756            part {
19757                name: "base";
19758                mouse_events: 0;
19759                description {
19760                    state: "default" 0.0;
19761                    min: 16 28;
19762                    image {
19763                        normal: "ilist_1.png";
19764                        border: 2 2 2 2;
19765                    }
19766                    fill.smooth: 0;
19767                }
19768            }
19769            part { name: "bg";
19770                clip_to: "disclip";
19771                mouse_events: 0;
19772                description { state: "default" 0.0;
19773                    visible: 0;
19774                    color: 255 255 255 0;
19775                    rel1 {
19776                        relative: 0.0 0.0;
19777                        offset: -5 -5;
19778                    }
19779                    rel2 {
19780                        relative: 1.0 1.0;
19781                        offset: 4 4;
19782                    }
19783                    image {
19784                        normal: "bt_sm_base1.png";
19785                        border: 6 6 6 6;
19786                    }
19787                    image.middle: SOLID;
19788                }
19789                description { state: "selected" 0.0;
19790                    inherit: "default" 0.0;
19791                    visible: 1;
19792                    color: 255 255 255 255;
19793                    rel1 {
19794                        relative: 0.0 0.0;
19795                        offset: -2 -2;
19796                    }
19797                    rel2 {
19798                        relative: 1.0 1.0;
19799                        offset: 1 1;
19800                    }
19801                }
19802            }
19803            part { name: "elm.swallow.pad";
19804                type: SWALLOW;
19805                description { state: "default" 0.0;
19806                    fixed: 1 0;
19807                    align: 0.0 0.5;
19808                    rel1 {
19809                        relative: 0.0  0.0;
19810                        offset:   4    4;
19811                    }
19812                    rel2 {
19813                        relative: 0.0  1.0;
19814                        offset:   4   -5;
19815                    }
19816                }
19817            }
19818            part { name: "arrow";
19819                clip_to: "disclip";
19820                ignore_flags: ON_HOLD;
19821                description { state: "default" 0.0;
19822                    fixed: 1 0;
19823                    align: 0.0 0.5;
19824                    aspect: 1.0 1.0;
19825                    rel1 {
19826                        to_x: "elm.swallow.pad";
19827                        relative: 1.0  0.0;
19828                        offset:   -1    4;
19829                    }
19830                    rel2 {
19831                        to_x: "elm.swallow.pad";
19832                        relative: 1.0  1.0;
19833                        offset:   -1   -5;
19834                    }
19835                    image.normal: "icon_arrow_right.png";
19836                }
19837                description { state: "active" 0.0;
19838                    inherit: "default" 0.0;
19839                    image.normal: "icon_arrow_down.png";
19840                }
19841            }
19842            part { name: "elm.swallow.icon";
19843                clip_to: "disclip";
19844                type: SWALLOW;
19845                description { state: "default" 0.0;
19846                    fixed: 1 0;
19847                    align: 0.0 0.5;
19848                    rel1 {
19849                        to_x: "arrow";
19850                        relative: 1.0  0.0;
19851                        offset:   4    4;
19852                    }
19853                    rel2 {
19854                        to_x: "arrow";
19855                        relative: 1.0  1.0;
19856                        offset:   4   -5;
19857                    }
19858                }
19859            }
19860            part { name: "elm.swallow.end";
19861                clip_to: "disclip";
19862                type: SWALLOW;
19863                description { state: "default" 0.0;
19864                    fixed: 1 0;
19865                    align: 1.0 0.5;
19866                    aspect: 1.0 1.0;
19867                    aspect_preference: VERTICAL;
19868                    rel1 {
19869                        relative: 1.0  0.0;
19870                        offset:   -5    4;
19871                    }
19872                    rel2 {
19873                        relative: 1.0  1.0;
19874                        offset:   -5   -5;
19875                    }
19876                }
19877            }
19878            part { name: "elm.text";
19879                clip_to: "disclip";
19880                type:           TEXTBLOCK;
19881                effect:         SOFT_SHADOW;
19882                mouse_events:   0;
19883                scale: 1;
19884                description {
19885                    state: "default" 0.0;
19886                    align: 0.0 0.5;
19887                    fixed: 0 1;
19888                    rel1 {
19889                        to_x:     "elm.swallow.icon";
19890                        to_y: "base";
19891                        relative: 1.0  0.5;
19892                        offset:   0 4;
19893                    }
19894                    rel2 {
19895                        to_x:     "elm.swallow.end";
19896                        to_y: "base";
19897                        relative: 0.0  0.5;
19898                        offset:   -1 -5;
19899                    }
19900                    text {
19901                        style: "genlist_style";
19902                        min: 1 1;
19903                    }
19904                }
19905                description { state: "selected" 0.0;
19906                    inherit: "default" 0.0;
19907                    text {
19908                        style: "genlist_selected_style";
19909                    }
19910                }
19911            }
19912            part { name: "fg1";
19913                clip_to: "disclip";
19914                mouse_events: 0;
19915                description { state: "default" 0.0;
19916                    visible: 0;
19917                    color: 255 255 255 0;
19918                    rel1.to: "bg";
19919                    rel2.relative: 1.0 0.5;
19920                    rel2.to: "bg";
19921                    image {
19922                        normal: "bt_sm_hilight.png";
19923                        border: 6 6 6 0;
19924                    }
19925                }
19926                description { state: "selected" 0.0;
19927                    inherit: "default" 0.0;
19928                    visible: 1;
19929                    color: 255 255 255 255;
19930                }
19931            }
19932            part { name: "fg2";
19933                clip_to: "disclip";
19934                mouse_events: 0;
19935                description { state: "default" 0.0;
19936                    visible: 0;
19937                    color: 255 255 255 0;
19938                    rel1.to: "bg";
19939                    rel2.to: "bg";
19940                    image {
19941                        normal: "bt_sm_shine.png";
19942                        border: 6 6 6 0;
19943                    }
19944                }
19945                description { state: "selected" 0.0;
19946                    inherit: "default" 0.0;
19947                    visible: 1;
19948                    color: 255 255 255 255;
19949                }
19950            }
19951            part { name: "disclip";
19952                type: RECT;
19953                description { state: "default" 0.0;
19954                    rel1.to: "bg";
19955                    rel2.to: "bg";
19956                }
19957                description { state: "disabled" 0.0;
19958                    inherit: "default" 0.0;
19959                    color: 255 255 255 64;
19960                }
19961            }
19962        }
19963        programs {
19964            // signal: elm,state,%s,active
19965            //   a "check" item named %s went active
19966            // signal: elm,state,%s,passive
19967            //   a "check" item named %s went passive
19968            // default is passive
19969            program {
19970                name:    "go_active";
19971                signal:  "elm,state,selected";
19972                source:  "elm";
19973                action:  STATE_SET "selected" 0.0;
19974                target:  "bg";
19975                target:  "fg1";
19976                target:  "fg2";
19977                target:  "elm.text";
19978            }
19979            program {
19980                name:    "go_passive";
19981                signal:  "elm,state,unselected";
19982                source:  "elm";
19983                action:  STATE_SET "default" 0.0;
19984                target:  "bg";
19985                target:  "fg1";
19986                target:  "fg2";
19987                target:  "elm.text";
19988                transition: LINEAR 0.1;
19989            }
19990            program {
19991                name:    "go_disabled";
19992                signal:  "elm,state,disabled";
19993                source:  "elm";
19994                action:  STATE_SET "disabled" 0.0;
19995                target:  "disclip";
19996            }
19997            program {
19998                name:    "go_enabled";
19999                signal:  "elm,state,enabled";
20000                source:  "elm";
20001                action:  STATE_SET "default" 0.0;
20002                target:  "disclip";
20003            }
20004            program {
20005                name:    "expand";
20006                signal:  "mouse,up,1";
20007                source:  "arrow";
20008                action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
20009            }
20010            program {
20011                name:    "go_expanded";
20012                signal:  "elm,state,expanded";
20013                source:  "elm";
20014                action:  STATE_SET "active" 0.0;
20015                target:  "arrow";
20016            }
20017            program {
20018                name:    "go_contracted";
20019                signal:  "elm,state,contracted";
20020                source:  "elm";
20021                action:  STATE_SET "default" 0.0;
20022                target:  "arrow";
20023            }
20024        }
20025    }
20026    group { name: "elm/genlist/tree_odd/default_style/default";
20027        data.item: "stacking" "below";
20028        data.item: "selectraise" "on";
20029        data.item: "labels" "elm.text";
20030        data.item: "icons" "elm.swallow.icon elm.swallow.end";
20031        data.item: "treesize" "20";
20032        images {
20033            image: "bt_sm_base1.png" COMP;
20034            image: "bt_sm_shine.png" COMP;
20035            image: "bt_sm_hilight.png" COMP;
20036            image: "ilist_2.png" COMP;
20037            image: "icon_arrow_right.png" COMP;
20038            image: "icon_arrow_down.png" COMP;
20039        }
20040        parts {
20041            part {
20042                name:           "event";
20043                type:           RECT;
20044                repeat_events: 1;
20045                description {
20046                    state: "default" 0.0;
20047                    color: 0 0 0 0;
20048                }
20049            }
20050            part {
20051                name: "base";
20052                mouse_events: 0;
20053                description {
20054                    state: "default" 0.0;
20055                    min: 16 28;
20056                    image {
20057                        normal: "ilist_2.png";
20058                        border: 2 2 2 2;
20059                    }
20060                    fill.smooth: 0;
20061                }
20062            }
20063            part { name: "bg";
20064                clip_to: "disclip";
20065                mouse_events: 0;
20066                description { state: "default" 0.0;
20067                    visible: 0;
20068                    color: 255 255 255 0;
20069                    rel1 {
20070                        relative: 0.0 0.0;
20071                        offset: -5 -5;
20072                    }
20073                    rel2 {
20074                        relative: 1.0 1.0;
20075                        offset: 4 4;
20076                    }
20077                    image {
20078                        normal: "bt_sm_base1.png";
20079                        border: 6 6 6 6;
20080                    }
20081                    image.middle: SOLID;
20082                }
20083                description { state: "selected" 0.0;
20084                    inherit: "default" 0.0;
20085                    visible: 1;
20086                    color: 255 255 255 255;
20087                    rel1 {
20088                        relative: 0.0 0.0;
20089                        offset: -2 -2;
20090                    }
20091                    rel2 {
20092                        relative: 1.0 1.0;
20093                        offset: 1 1;
20094                    }
20095                }
20096            }
20097            part { name: "elm.swallow.pad";
20098                type: SWALLOW;
20099                description { state: "default" 0.0;
20100                    fixed: 1 0;
20101                    align: 0.0 0.5;
20102                    rel1 {
20103                        relative: 0.0  0.0;
20104                        offset:   4    4;
20105                    }
20106                    rel2 {
20107                        relative: 0.0  1.0;
20108                        offset:   4   -5;
20109                    }
20110                }
20111            }
20112            part { name: "arrow";
20113                clip_to: "disclip";
20114                ignore_flags: ON_HOLD;
20115                description { state: "default" 0.0;
20116                    fixed: 1 0;
20117                    align: 0.0 0.5;
20118                    aspect: 1.0 1.0;
20119                    rel1 {
20120                        to_x: "elm.swallow.pad";
20121                        relative: 1.0  0.0;
20122                        offset:   -1    4;
20123                    }
20124                    rel2 {
20125                        to_x: "elm.swallow.pad";
20126                        relative: 1.0  1.0;
20127                        offset:   -1   -5;
20128                    }
20129                    image.normal: "icon_arrow_right.png";
20130                }
20131                description { state: "active" 0.0;
20132                    inherit: "default" 0.0;
20133                    image.normal: "icon_arrow_down.png";
20134                }
20135            }
20136            part { name: "elm.swallow.icon";
20137                clip_to: "disclip";
20138                type: SWALLOW;
20139                description { state: "default" 0.0;
20140                    fixed: 1 0;
20141                    align: 0.0 0.5;
20142                    rel1 {
20143                        to_x: "arrow";
20144                        relative: 1.0  0.0;
20145                        offset:   4    4;
20146                    }
20147                    rel2 {
20148                        to_x: "arrow";
20149                        relative: 1.0  1.0;
20150                        offset:   4   -5;
20151                    }
20152                }
20153            }
20154            part { name: "elm.swallow.end";
20155                clip_to: "disclip";
20156                type: SWALLOW;
20157                description { state: "default" 0.0;
20158                    fixed: 1 0;
20159                    align: 1.0 0.5;
20160                    aspect: 1.0 1.0;
20161                    aspect_preference: VERTICAL;
20162                    rel1 {
20163                        relative: 1.0  0.0;
20164                        offset:   -5    4;
20165                    }
20166                    rel2 {
20167                        relative: 1.0  1.0;
20168                        offset:   -5   -5;
20169                    }
20170                }
20171            }
20172            part { name: "elm.text";
20173                clip_to: "disclip";
20174                type:           TEXTBLOCK;
20175                effect:         SOFT_SHADOW;
20176                mouse_events:   0;
20177                scale: 1;
20178                description {
20179                    state: "default" 0.0;
20180                    align: 0.0 0.5;
20181                    fixed: 0 1;
20182                    rel1 {
20183                        to_x:     "elm.swallow.icon";
20184                        to_y: "base";
20185                        relative: 1.0  0.5;
20186                        offset:   0 4;
20187                    }
20188                    rel2 {
20189                        to_x:     "elm.swallow.end";
20190                        to_y: "base";
20191                        relative: 0.0  0.5;
20192                        offset:   -1 -5;
20193                    }
20194                    text {
20195                        style: "genlist_style";
20196                        min: 1 1;
20197                    }
20198                }
20199                description { state: "selected" 0.0;
20200                    inherit: "default" 0.0;
20201                    text {
20202                        style: "genlist_selected_style";
20203                    }
20204                }
20205            }
20206            part { name: "fg1";
20207                clip_to: "disclip";
20208                mouse_events: 0;
20209                description { state: "default" 0.0;
20210                    visible: 0;
20211                    color: 255 255 255 0;
20212                    rel1.to: "bg";
20213                    rel2.relative: 1.0 0.5;
20214                    rel2.to: "bg";
20215                    image {
20216                        normal: "bt_sm_hilight.png";
20217                        border: 6 6 6 0;
20218                    }
20219                }
20220                description { state: "selected" 0.0;
20221                    inherit: "default" 0.0;
20222                    visible: 1;
20223                    color: 255 255 255 255;
20224                }
20225            }
20226            part { name: "fg2";
20227                clip_to: "disclip";
20228                mouse_events: 0;
20229                description { state: "default" 0.0;
20230                    visible: 0;
20231                    color: 255 255 255 0;
20232                    rel1.to: "bg";
20233                    rel2.to: "bg";
20234                    image {
20235                        normal: "bt_sm_shine.png";
20236                        border: 6 6 6 0;
20237                    }
20238                }
20239                description { state: "selected" 0.0;
20240                    inherit: "default" 0.0;
20241                    visible: 1;
20242                    color: 255 255 255 255;
20243                }
20244            }
20245            part { name: "disclip";
20246                type: RECT;
20247                description { state: "default" 0.0;
20248                    rel1.to: "bg";
20249                    rel2.to: "bg";
20250                }
20251                description { state: "disabled" 0.0;
20252                    inherit: "default" 0.0;
20253                    color: 255 255 255 64;
20254                }
20255            }
20256        }
20257        programs {
20258            // signal: elm,state,%s,active
20259            //   a "check" item named %s went active
20260            // signal: elm,state,%s,passive
20261            //   a "check" item named %s went passive
20262            // default is passive
20263            program {
20264                name:    "go_active";
20265                signal:  "elm,state,selected";
20266                source:  "elm";
20267                action:  STATE_SET "selected" 0.0;
20268                target:  "bg";
20269                target:  "fg1";
20270                target:  "fg2";
20271                target:  "elm.text";
20272            }
20273            program {
20274                name:    "go_passive";
20275                signal:  "elm,state,unselected";
20276                source:  "elm";
20277                action:  STATE_SET "default" 0.0;
20278                target:  "bg";
20279                target:  "fg1";
20280                target:  "fg2";
20281                target:  "elm.text";
20282                transition: LINEAR 0.1;
20283            }
20284            program {
20285                name:    "go_disabled";
20286                signal:  "elm,state,disabled";
20287                source:  "elm";
20288                action:  STATE_SET "disabled" 0.0;
20289                target:  "disclip";
20290            }
20291            program {
20292                name:    "go_enabled";
20293                signal:  "elm,state,enabled";
20294                source:  "elm";
20295                action:  STATE_SET "default" 0.0;
20296                target:  "disclip";
20297            }
20298            program {
20299                name:    "expand";
20300                signal:  "mouse,up,1";
20301                source:  "arrow";
20302                action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
20303            }
20304            program {
20305                name:    "go_expanded";
20306                signal:  "elm,state,expanded";
20307                source:  "elm";
20308                action:  STATE_SET "active" 0.0;
20309                target:  "arrow";
20310            }
20311            program {
20312                name:    "go_contracted";
20313                signal:  "elm,state,contracted";
20314                source:  "elm";
20315                action:  STATE_SET "default" 0.0;
20316                target:  "arrow";
20317            }
20318        }
20319    }
20320
20321
20322    group { name: "elm/genlist/item/double_label/default";
20323       data.item: "stacking" "above";
20324       data.item: "selectraise" "on";
20325       data.item: "labels" "elm.text elm.text.sub";
20326       data.item: "icons" "elm.swallow.icon elm.swallow.end";
20327       data.item: "treesize" "20";
20328 //      data.item: "states" "";
20329       images {
20330          image: "bt_sm_base1.png" COMP;
20331          image: "bt_sm_shine.png" COMP;
20332          image: "bt_sm_hilight.png" COMP;
20333          image: "ilist_1.png" COMP;
20334          image: "ilist_item_shadow.png" COMP;
20335       }
20336       parts {
20337          part {
20338             name:           "event";
20339             type:           RECT;
20340             repeat_events: 1;
20341             description {
20342                state: "default" 0.0;
20343                color: 0 0 0 0;
20344             }
20345          }
20346          part {
20347             name: "base_sh";
20348             mouse_events: 0;
20349             description {
20350                state: "default" 0.0;
20351                align: 0.0 0.0;
20352                min: 0 10;
20353                fixed: 1 1;
20354                rel1 {
20355                   to: "base";
20356                   relative: 0.0 1.0;
20357                   offset: 0 0;
20358                }
20359                rel2 {
20360                   to: "base";
20361                   relative: 1.0 1.0;
20362                   offset: -1 0;
20363                }
20364                image {
20365                   normal: "ilist_item_shadow.png";
20366                }
20367                fill.smooth: 0;
20368             }
20369          }
20370          part {
20371             name: "base";
20372             mouse_events: 0;
20373             description {
20374                state: "default" 0.0;
20375                image {
20376                   normal: "ilist_1.png";
20377                   border: 2 2 2 2;
20378                }
20379                fill.smooth: 0;
20380             }
20381          }
20382          part { name: "bg";
20383             clip_to: "disclip";
20384             mouse_events: 0;
20385             description { state: "default" 0.0;
20386                visible: 0;
20387                color: 255 255 255 0;
20388                rel1 {
20389                   relative: 0.0 0.0;
20390                   offset: -5 -5;
20391                }
20392                rel2 {
20393                   relative: 1.0 1.0;
20394                   offset: 4 4;
20395                }
20396                image {
20397                   normal: "bt_sm_base1.png";
20398                   border: 6 6 6 6;
20399                }
20400                image.middle: SOLID;
20401             }
20402             description { state: "selected" 0.0;
20403                inherit: "default" 0.0;
20404                visible: 1;
20405                color: 255 255 255 255;
20406                rel1 {
20407                   relative: 0.0 0.0;
20408                   offset: -2 -2;
20409                }
20410                rel2 {
20411                   relative: 1.0 1.0;
20412                   offset: 1 1;
20413                }
20414             }
20415          }
20416          part { name: "elm.swallow.pad";
20417             type: SWALLOW;
20418             description { state: "default" 0.0;
20419                fixed: 1 0;
20420                align: 0.0 0.5;
20421                rel1 {
20422                   relative: 0.0  0.0;
20423                   offset:   4    4;
20424                }
20425                rel2 {
20426                   relative: 0.0  1.0;
20427                   offset:   4   -5;
20428                }
20429             }
20430          }
20431          part { name: "elm.swallow.icon";
20432             clip_to: "disclip";
20433             type: SWALLOW;
20434             description { state: "default" 0.0;
20435                fixed: 1 0;
20436                align: 0.0 0.5;
20437                rel1 {
20438                   to_x: "elm.swallow.pad";
20439                   relative: 1.0  0.0;
20440                   offset:   -1    4;
20441                }
20442                rel2 {
20443                   to_x: "elm.swallow.pad";
20444                   relative: 1.0  1.0;
20445                   offset:   -1   -5;
20446                }
20447             }
20448          }
20449          part { name: "elm.swallow.end";
20450             clip_to: "disclip";
20451             type: SWALLOW;
20452             description { state: "default" 0.0;
20453                fixed: 1 0;
20454                align: 1.0 0.5;
20455                aspect: 1.0 1.0;
20456                aspect_preference: VERTICAL;
20457                rel1 {
20458                   relative: 1.0  0.0;
20459                   offset:   -5    4;
20460                }
20461                rel2 {
20462                   relative: 1.0  1.0;
20463                   offset:   -5   -5;
20464                }
20465             }
20466          }
20467          part { name: "elm.text";
20468             clip_to: "disclip";
20469             type:           TEXT;
20470             effect:         SOFT_SHADOW;
20471             mouse_events:   0;
20472             scale: 1;
20473             description {
20474                state: "default" 0.0;
20475 //               min: 16 16;
20476                rel1 {
20477                   to_x:     "elm.swallow.icon";
20478                   relative: 1.0  0.0;
20479                   offset:   0 4;
20480                }
20481                rel2 {
20482                   to_x:     "elm.swallow.end";
20483                   relative: 0.0  0.5;
20484                   offset:   -1 -5;
20485                }
20486                color: 0 0 0 255;
20487                color3: 0 0 0 0;
20488                text {
20489                   font: "Sans";
20490                   size: 10;
20491                   min: 1 1;
20492 //                  min: 0 1;
20493                   align: 0.0 0.5;
20494                   text_class: "list_item";
20495                }
20496             }
20497             description { state: "selected" 0.0;
20498                inherit: "default" 0.0;
20499                color: 224 224 224 255;
20500                color3: 0 0 0 64;
20501             }
20502          }
20503          part { name: "elm.text.sub";
20504             clip_to: "disclip";
20505             type:           TEXT;
20506             mouse_events:   0;
20507             scale: 1;
20508             description {
20509                state: "default" 0.0;
20510 //               min: 16 16;
20511                rel1 {
20512                   to_x:     "elm.swallow.icon";
20513                   relative: 1.0  0.5;
20514                   offset:   0 4;
20515                }
20516                rel2 {
20517                   to_x:     "elm.swallow.end";
20518                   relative: 0.0  1.0;
20519                   offset:   -1 -5;
20520                }
20521                color: 0 0 0 128;
20522                color3: 0 0 0 0;
20523                text {
20524                   font: "Sans";
20525                   size: 8;
20526                   min: 1 1;
20527 //                  min: 0 1;
20528                   align: 0.0 0.5;
20529                   text_class: "list_item";
20530                }
20531             }
20532             description { state: "selected" 0.0;
20533                inherit: "default" 0.0;
20534                color: 128 128 128 255;
20535                color3: 0 0 0 32;
20536             }
20537          }
20538          part { name: "fg1";
20539             clip_to: "disclip";
20540             mouse_events: 0;
20541             description { state: "default" 0.0;
20542                visible: 0;
20543                color: 255 255 255 0;
20544                rel1.to: "bg";
20545                rel2.relative: 1.0 0.5;
20546                rel2.to: "bg";
20547                image {
20548                   normal: "bt_sm_hilight.png";
20549                   border: 6 6 6 0;
20550                }
20551             }
20552             description { state: "selected" 0.0;
20553                inherit: "default" 0.0;
20554                visible: 1;
20555                color: 255 255 255 255;
20556             }
20557          }
20558          part { name: "fg2";
20559             clip_to: "disclip";
20560             mouse_events: 0;
20561             description { state: "default" 0.0;
20562                visible: 0;
20563                color: 255 255 255 0;
20564                rel1.to: "bg";
20565                rel2.to: "bg";
20566                image {
20567                   normal: "bt_sm_shine.png";
20568                   border: 6 6 6 0;
20569                }
20570             }
20571             description { state: "selected" 0.0;
20572                inherit: "default" 0.0;
20573                visible: 1;
20574                color: 255 255 255 255;
20575             }
20576          }
20577          part { name: "disclip";
20578             type: RECT;
20579             description { state: "default" 0.0;
20580                rel1.to: "bg";
20581                rel2.to: "bg";
20582             }
20583             description { state: "disabled" 0.0;
20584                inherit: "default" 0.0;
20585                color: 255 255 255 64;
20586             }
20587          }
20588       }
20589       programs {
20590          // signal: elm,state,%s,active
20591          //   a "check" item named %s went active
20592          // signal: elm,state,%s,passive
20593          //   a "check" item named %s went passive
20594          // default is passive
20595          program {
20596             name:    "go_active";
20597             signal:  "elm,state,selected";
20598             source:  "elm";
20599             action:  STATE_SET "selected" 0.0;
20600             target:  "bg";
20601             target:  "fg1";
20602             target:  "fg2";
20603             target:  "elm.text";
20604             target:  "elm.text.sub";
20605          }
20606          program {
20607             name:    "go_passive";
20608             signal:  "elm,state,unselected";
20609             source:  "elm";
20610             action:  STATE_SET "default" 0.0;
20611             target:  "bg";
20612             target:  "fg1";
20613             target:  "fg2";
20614             target:  "elm.text";
20615             target:  "elm.text.sub";
20616             transition: LINEAR 0.1;
20617          }
20618          program {
20619             name:    "go_disabled";
20620             signal:  "elm,state,disabled";
20621             source:  "elm";
20622             action:  STATE_SET "disabled" 0.0;
20623             target:  "disclip";
20624          }
20625          program {
20626             name:    "go_enabled";
20627             signal:  "elm,state,enabled";
20628             source:  "elm";
20629             action:  STATE_SET "default" 0.0;
20630             target:  "disclip";
20631          }
20632       }
20633    }
20634    group { name: "elm/genlist/item_compress/double_label/default";
20635       data.item: "stacking" "above";
20636       data.item: "selectraise" "on";
20637       data.item: "labels" "elm.text elm.text.sub";
20638       data.item: "icons" "elm.swallow.icon elm.swallow.end";
20639       data.item: "treesize" "20";
20640 //      data.item: "states" "";
20641       images {
20642          image: "bt_sm_base1.png" COMP;
20643          image: "bt_sm_shine.png" COMP;
20644          image: "bt_sm_hilight.png" COMP;
20645          image: "ilist_1.png" COMP;
20646          image: "ilist_item_shadow.png" COMP;
20647       }
20648       parts {
20649          part {
20650             name:           "event";
20651             type:           RECT;
20652             repeat_events: 1;
20653             description {
20654                state: "default" 0.0;
20655                color: 0 0 0 0;
20656             }
20657          }
20658          part {
20659             name: "base_sh";
20660             mouse_events: 0;
20661             description {
20662                state: "default" 0.0;
20663                align: 0.0 0.0;
20664                min: 0 10;
20665                fixed: 1 1;
20666                rel1 {
20667                   to: "base";
20668                   relative: 0.0 1.0;
20669                   offset: 0 0;
20670                }
20671                rel2 {
20672                   to: "base";
20673                   relative: 1.0 1.0;
20674                   offset: -1 0;
20675                }
20676                image {
20677                   normal: "ilist_item_shadow.png";
20678                }
20679                fill.smooth: 0;
20680             }
20681          }
20682          part {
20683             name: "base";
20684             mouse_events: 0;
20685             description {
20686                state: "default" 0.0;
20687                image {
20688                   normal: "ilist_1.png";
20689                   border: 2 2 2 2;
20690                }
20691                fill.smooth: 0;
20692             }
20693          }
20694          part { name: "bg";
20695             clip_to: "disclip";
20696             mouse_events: 0;
20697             description { state: "default" 0.0;
20698                visible: 0;
20699                color: 255 255 255 0;
20700                rel1 {
20701                   relative: 0.0 0.0;
20702                   offset: -5 -5;
20703                }
20704                rel2 {
20705                   relative: 1.0 1.0;
20706                   offset: 4 4;
20707                }
20708                image {
20709                   normal: "bt_sm_base1.png";
20710                   border: 6 6 6 6;
20711                }
20712                image.middle: SOLID;
20713             }
20714             description { state: "selected" 0.0;
20715                inherit: "default" 0.0;
20716                visible: 1;
20717                color: 255 255 255 255;
20718                rel1 {
20719                   relative: 0.0 0.0;
20720                   offset: -2 -2;
20721                }
20722                rel2 {
20723                   relative: 1.0 1.0;
20724                   offset: 1 1;
20725                }
20726             }
20727          }
20728          part { name: "elm.swallow.pad";
20729             type: SWALLOW;
20730             description { state: "default" 0.0;
20731                fixed: 1 0;
20732                align: 0.0 0.5;
20733                rel1 {
20734                   relative: 0.0  0.0;
20735                   offset:   4    4;
20736                }
20737                rel2 {
20738                   relative: 0.0  1.0;
20739                   offset:   4   -5;
20740                }
20741             }
20742          }
20743          part { name: "elm.swallow.icon";
20744             clip_to: "disclip";
20745             type: SWALLOW;
20746             description { state: "default" 0.0;
20747                fixed: 1 0;
20748                align: 0.0 0.5;
20749                rel1 {
20750                   to_x: "elm.swallow.pad";
20751                   relative: 1.0  0.0;
20752                   offset:   -1    4;
20753                }
20754                rel2 {
20755                   to_x: "elm.swallow.pad";
20756                   relative: 1.0  1.0;
20757                   offset:   -1   -5;
20758                }
20759             }
20760          }
20761          part { name: "elm.swallow.end";
20762             clip_to: "disclip";
20763             type: SWALLOW;
20764             description { state: "default" 0.0;
20765                fixed: 1 0;
20766                align: 1.0 0.5;
20767                aspect: 1.0 1.0;
20768                aspect_preference: VERTICAL;
20769                rel1 {
20770                   relative: 1.0  0.0;
20771                   offset:   -5    4;
20772                }
20773                rel2 {
20774                   relative: 1.0  1.0;
20775                   offset:   -5   -5;
20776                }
20777             }
20778          }
20779          part { name: "elm.text";
20780             clip_to: "disclip";
20781             type:           TEXT;
20782             effect:         SOFT_SHADOW;
20783             mouse_events:   0;
20784             scale: 1;
20785             description {
20786                state: "default" 0.0;
20787 //               min: 16 16;
20788                rel1 {
20789                   to_x:     "elm.swallow.icon";
20790                   relative: 1.0  0.0;
20791                   offset:   0 4;
20792                }
20793                rel2 {
20794                   to_x:     "elm.swallow.end";
20795                   relative: 0.0  0.5;
20796                   offset:   -1 -5;
20797                }
20798                color: 0 0 0 255;
20799                color3: 0 0 0 0;
20800                text {
20801                   font: "Sans";
20802                   size: 10;
20803 //                  min: 1 1;
20804                   min: 0 1;
20805                   align: 0.0 0.5;
20806                   text_class: "list_item";
20807                }
20808             }
20809             description { state: "selected" 0.0;
20810                inherit: "default" 0.0;
20811                color: 224 224 224 255;
20812                color3: 0 0 0 64;
20813             }
20814          }
20815          part { name: "elm.text.sub";
20816             clip_to: "disclip";
20817             type:           TEXT;
20818             mouse_events:   0;
20819             scale: 1;
20820             description {
20821                state: "default" 0.0;
20822 //               min: 16 16;
20823                rel1 {
20824                   to_x:     "elm.swallow.icon";
20825                   relative: 1.0  0.5;
20826                   offset:   0 4;
20827                }
20828                rel2 {
20829                   to_x:     "elm.swallow.end";
20830                   relative: 0.0  1.0;
20831                   offset:   -1 -5;
20832                }
20833                color: 0 0 0 128;
20834                color3: 0 0 0 0;
20835                text {
20836                   font: "Sans";
20837                   size: 8;
20838 //                  min: 1 1;
20839                   min: 0 1;
20840                   align: 0.0 0.5;
20841                   text_class: "list_item";
20842                }
20843             }
20844             description { state: "selected" 0.0;
20845                inherit: "default" 0.0;
20846                color: 128 128 128 255;
20847                color3: 0 0 0 32;
20848             }
20849          }
20850          part { name: "fg1";
20851             clip_to: "disclip";
20852             mouse_events: 0;
20853             description { state: "default" 0.0;
20854                visible: 0;
20855                color: 255 255 255 0;
20856                rel1.to: "bg";
20857                rel2.relative: 1.0 0.5;
20858                rel2.to: "bg";
20859                image {
20860                   normal: "bt_sm_hilight.png";
20861                   border: 6 6 6 0;
20862                }
20863             }
20864             description { state: "selected" 0.0;
20865                inherit: "default" 0.0;
20866                visible: 1;
20867                color: 255 255 255 255;
20868             }
20869          }
20870          part { name: "fg2";
20871             clip_to: "disclip";
20872             mouse_events: 0;
20873             description { state: "default" 0.0;
20874                visible: 0;
20875                color: 255 255 255 0;
20876                rel1.to: "bg";
20877                rel2.to: "bg";
20878                image {
20879                   normal: "bt_sm_shine.png";
20880                   border: 6 6 6 0;
20881                }
20882             }
20883             description { state: "selected" 0.0;
20884                inherit: "default" 0.0;
20885                visible: 1;
20886                color: 255 255 255 255;
20887             }
20888          }
20889          part { name: "disclip";
20890             type: RECT;
20891             description { state: "default" 0.0;
20892                rel1.to: "bg";
20893                rel2.to: "bg";
20894             }
20895             description { state: "disabled" 0.0;
20896                inherit: "default" 0.0;
20897                color: 255 255 255 64;
20898             }
20899          }
20900       }
20901       programs {
20902          // signal: elm,state,%s,active
20903          //   a "check" item named %s went active
20904          // signal: elm,state,%s,passive
20905          //   a "check" item named %s went passive
20906          // default is passive
20907          program {
20908             name:    "go_active";
20909             signal:  "elm,state,selected";
20910             source:  "elm";
20911             action:  STATE_SET "selected" 0.0;
20912             target:  "bg";
20913             target:  "fg1";
20914             target:  "fg2";
20915             target:  "elm.text";
20916             target:  "elm.text.sub";
20917          }
20918          program {
20919             name:    "go_passive";
20920             signal:  "elm,state,unselected";
20921             source:  "elm";
20922             action:  STATE_SET "default" 0.0;
20923             target:  "bg";
20924             target:  "fg1";
20925             target:  "fg2";
20926             target:  "elm.text";
20927             target:  "elm.text.sub";
20928             transition: LINEAR 0.1;
20929          }
20930          program {
20931             name:    "go_disabled";
20932             signal:  "elm,state,disabled";
20933             source:  "elm";
20934             action:  STATE_SET "disabled" 0.0;
20935             target:  "disclip";
20936          }
20937          program {
20938             name:    "go_enabled";
20939             signal:  "elm,state,enabled";
20940             source:  "elm";
20941             action:  STATE_SET "default" 0.0;
20942             target:  "disclip";
20943          }
20944       }
20945    }
20946    group { name: "elm/genlist/item_odd/double_label/default";
20947       data.item: "stacking" "below";
20948       data.item: "selectraise" "on";
20949       data.item: "labels" "elm.text elm.text.sub";
20950       data.item: "icons" "elm.swallow.icon elm.swallow.end";
20951       data.item: "treesize" "20";
20952 //      data.item: "states" "";
20953       images {
20954          image: "bt_sm_base1.png" COMP;
20955          image: "bt_sm_shine.png" COMP;
20956          image: "bt_sm_hilight.png" COMP;
20957          image: "ilist_2.png" COMP;
20958       }
20959       parts {
20960          part { name: "event";
20961             type: RECT;
20962             repeat_events: 1;
20963             description {
20964                state: "default" 0.0;
20965                color: 0 0 0 0;
20966             }
20967          }
20968          part {
20969             name: "base";
20970             mouse_events: 0;
20971             description {
20972                state: "default" 0.0;
20973                image {
20974                   normal: "ilist_2.png";
20975                   border: 2 2 2 2;
20976                }
20977                fill.smooth: 0;
20978             }
20979          }
20980          part { name: "bg";
20981             clip_to: "disclip";
20982             mouse_events: 0;
20983             description { state: "default" 0.0;
20984                visible: 0;
20985                color: 255 255 255 0;
20986                rel1 {
20987                   relative: 0.0 0.0;
20988                   offset: -5 -5;
20989                }
20990                rel2 {
20991                   relative: 1.0 1.0;
20992                   offset: 4 4;
20993                }
20994                image {
20995                   normal: "bt_sm_base1.png";
20996                   border: 6 6 6 6;
20997                }
20998                image.middle: SOLID;
20999             }
21000             description { state: "selected" 0.0;
21001                inherit: "default" 0.0;
21002                visible: 1;
21003                color: 255 255 255 255;
21004                rel1 {
21005                   relative: 0.0 0.0;
21006                   offset: -2 -2;
21007                }
21008                rel2 {
21009                   relative: 1.0 1.0;
21010                   offset: 1 1;
21011                }
21012             }
21013          }
21014          part { name: "elm.swallow.pad";
21015             type: SWALLOW;
21016             description { state: "default" 0.0;
21017                fixed: 1 0;
21018                align: 0.0 0.5;
21019                rel1 {
21020                   relative: 0.0  0.0;
21021                   offset:   4    4;
21022                }
21023                rel2 {
21024                   relative: 0.0  1.0;
21025                   offset:   4   -5;
21026                }
21027             }
21028          }
21029          part { name: "elm.swallow.icon";
21030             clip_to: "disclip";
21031             type: SWALLOW;
21032             description { state: "default" 0.0;
21033                fixed: 1 0;
21034                align: 0.0 0.5;
21035                rel1 {
21036                   to_x: "elm.swallow.pad";
21037                   relative: 1.0  0.0;
21038                   offset:   -1    4;
21039                }
21040                rel2 {
21041                   to_x: "elm.swallow.pad";
21042                   relative: 1.0  1.0;
21043                   offset:   -1   -5;
21044                }
21045             }
21046          }
21047          part { name: "elm.swallow.end";
21048             clip_to: "disclip";
21049             type:          SWALLOW;
21050             description { state:    "default" 0.0;
21051                fixed: 1 0;
21052                align:    1.0 0.5;
21053                aspect: 1.0 1.0;
21054                aspect_preference: VERTICAL;
21055                rel1 {
21056                   relative: 1.0  0.0;
21057                   offset:   -5    4;
21058                }
21059                rel2 {
21060                   relative: 1.0  1.0;
21061                   offset:   -5   -5;
21062                }
21063             }
21064          }
21065          part { name: "elm.text";
21066             clip_to: "disclip";
21067             type:           TEXT;
21068             effect:         SOFT_SHADOW;
21069             mouse_events:   0;
21070             scale: 1;
21071             description {
21072                state: "default" 0.0;
21073 //               min: 16 16;
21074                rel1 {
21075                   to_x:     "elm.swallow.icon";
21076                   relative: 1.0  0.0;
21077                   offset:   0 4;
21078                }
21079                rel2 {
21080                   to_x:     "elm.swallow.end";
21081                   relative: 0.0  0.5;
21082                   offset:   -1 -5;
21083                }
21084                color: 0 0 0 255;
21085                color3: 0 0 0 0;
21086                text {
21087                   font: "Sans";
21088                   size: 10;
21089                   min: 1 1;
21090 //                  min: 0 1;
21091                   align: 0.0 0.5;
21092                   text_class: "list_item";
21093                }
21094             }
21095             description { state: "selected" 0.0;
21096                inherit: "default" 0.0;
21097                color: 224 224 224 255;
21098                color3: 0 0 0 64;
21099             }
21100          }
21101          part { name: "elm.text.sub";
21102             clip_to: "disclip";
21103             type:           TEXT;
21104             mouse_events:   0;
21105             scale: 1;
21106             description {
21107                state: "default" 0.0;
21108 //               min: 16 16;
21109                rel1 {
21110                   to_x:     "elm.swallow.icon";
21111                   relative: 1.0  0.5;
21112                   offset:   0 4;
21113                }
21114                rel2 {
21115                   to_x:     "elm.swallow.end";
21116                   relative: 0.0  1.0;
21117                   offset:   -1 -5;
21118                }
21119                color: 0 0 0 128;
21120                color3: 0 0 0 0;
21121                text {
21122                   font: "Sans";
21123                   size: 8;
21124                   min: 1 1;
21125 //                  min: 0 1;
21126                   align: 0.0 0.5;
21127                   text_class: "list_item";
21128                }
21129             }
21130             description { state: "selected" 0.0;
21131                inherit: "default" 0.0;
21132                color: 128 128 128 255;
21133                color3: 0 0 0 32;
21134             }
21135          }
21136          part { name: "fg1";
21137             clip_to: "disclip";
21138             mouse_events: 0;
21139             description { state: "default" 0.0;
21140                visible: 0;
21141                color: 255 255 255 0;
21142                rel1.to: "bg";
21143                rel2.relative: 1.0 0.5;
21144                rel2.to: "bg";
21145                image {
21146                   normal: "bt_sm_hilight.png";
21147                   border: 6 6 6 0;
21148                }
21149             }
21150             description { state: "selected" 0.0;
21151                inherit: "default" 0.0;
21152                visible: 1;
21153                color: 255 255 255 255;
21154             }
21155          }
21156          part { name: "fg2";
21157             clip_to: "disclip";
21158             mouse_events: 0;
21159             description { state: "default" 0.0;
21160                visible: 0;
21161                color: 255 255 255 0;
21162                rel1.to: "bg";
21163                rel2.to: "bg";
21164                image {
21165                   normal: "bt_sm_shine.png";
21166                   border: 6 6 6 0;
21167                }
21168             }
21169             description { state: "selected" 0.0;
21170                inherit: "default" 0.0;
21171                visible: 1;
21172                color: 255 255 255 255;
21173             }
21174          }
21175          part { name: "disclip";
21176             type: RECT;
21177             description { state: "default" 0.0;
21178                rel1.to: "bg";
21179                rel2.to: "bg";
21180             }
21181             description { state: "disabled" 0.0;
21182                inherit: "default" 0.0;
21183                color: 255 255 255 64;
21184             }
21185          }
21186       }
21187       programs {
21188          // signal: elm,state,%s,active
21189          //   a "check" item named %s went active
21190          // signal: elm,state,%s,passive
21191          //   a "check" item named %s went passive
21192          // default is passive
21193          program {
21194             name:    "go_active";
21195             signal:  "elm,state,selected";
21196             source:  "elm";
21197             action:  STATE_SET "selected" 0.0;
21198             target:  "bg";
21199             target:  "fg1";
21200             target:  "fg2";
21201             target:  "elm.text";
21202             target:  "elm.text.sub";
21203          }
21204          program {
21205             name:    "go_passive";
21206             signal:  "elm,state,unselected";
21207             source:  "elm";
21208             action:  STATE_SET "default" 0.0;
21209             target:  "bg";
21210             target:  "fg1";
21211             target:  "fg2";
21212             target:  "elm.text";
21213             target:  "elm.text.sub";
21214             transition: LINEAR 0.1;
21215          }
21216          program {
21217             name:    "go_disabled";
21218             signal:  "elm,state,disabled";
21219             source:  "elm";
21220             action:  STATE_SET "disabled" 0.0;
21221             target:  "disclip";
21222          }
21223          program {
21224             name:    "go_enabled";
21225             signal:  "elm,state,enabled";
21226             source:  "elm";
21227             action:  STATE_SET "default" 0.0;
21228             target:  "disclip";
21229          }
21230       }
21231    }
21232    group { name: "elm/genlist/item_compress_odd/double_label/default";
21233       data.item: "stacking" "below";
21234       data.item: "selectraise" "on";
21235       data.item: "labels" "elm.text elm.text.sub";
21236       data.item: "icons" "elm.swallow.icon elm.swallow.end";
21237       data.item: "treesize" "20";
21238 //      data.item: "states" "";
21239       images {
21240          image: "bt_sm_base1.png" COMP;
21241          image: "bt_sm_shine.png" COMP;
21242          image: "bt_sm_hilight.png" COMP;
21243          image: "ilist_2.png" COMP;
21244       }
21245       parts {
21246          part { name: "event";
21247             type: RECT;
21248             repeat_events: 1;
21249             description {
21250                state: "default" 0.0;
21251                color: 0 0 0 0;
21252             }
21253          }
21254          part {
21255             name: "base";
21256             mouse_events: 0;
21257             description {
21258                state: "default" 0.0;
21259                image {
21260                   normal: "ilist_2.png";
21261                   border: 2 2 2 2;
21262                }
21263                fill.smooth: 0;
21264             }
21265          }
21266          part { name: "bg";
21267             clip_to: "disclip";
21268             mouse_events: 0;
21269             description { state: "default" 0.0;
21270                visible: 0;
21271                color: 255 255 255 0;
21272                rel1 {
21273                   relative: 0.0 0.0;
21274                   offset: -5 -5;
21275                }
21276                rel2 {
21277                   relative: 1.0 1.0;
21278                   offset: 4 4;
21279                }
21280                image {
21281                   normal: "bt_sm_base1.png";
21282                   border: 6 6 6 6;
21283                }
21284                image.middle: SOLID;
21285             }
21286             description { state: "selected" 0.0;
21287                inherit: "default" 0.0;
21288                visible: 1;
21289                color: 255 255 255 255;
21290                rel1 {
21291                   relative: 0.0 0.0;
21292                   offset: -2 -2;
21293                }
21294                rel2 {
21295                   relative: 1.0 1.0;
21296                   offset: 1 1;
21297                }
21298             }
21299          }
21300          part { name: "elm.swallow.pad";
21301             type: SWALLOW;
21302             description { state: "default" 0.0;
21303                fixed: 1 0;
21304                align: 0.0 0.5;
21305                rel1 {
21306                   relative: 0.0  0.0;
21307                   offset:   4    4;
21308                }
21309                rel2 {
21310                   relative: 0.0  1.0;
21311                   offset:   4   -5;
21312                }
21313             }
21314          }
21315          part { name: "elm.swallow.icon";
21316             clip_to: "disclip";
21317             type: SWALLOW;
21318             description { state: "default" 0.0;
21319                fixed: 1 0;
21320                align: 0.0 0.5;
21321                rel1 {
21322                   to_x: "elm.swallow.pad";
21323                   relative: 1.0  0.0;
21324                   offset:   -1    4;
21325                }
21326                rel2 {
21327                   to_x: "elm.swallow.pad";
21328                   relative: 1.0  1.0;
21329                   offset:   -1   -5;
21330                }
21331             }
21332          }
21333          part { name: "elm.swallow.end";
21334             clip_to: "disclip";
21335             type:          SWALLOW;
21336             description { state:    "default" 0.0;
21337                fixed: 1 0;
21338                align:    1.0 0.5;
21339                aspect: 1.0 1.0;
21340                aspect_preference: VERTICAL;
21341                rel1 {
21342                   relative: 1.0  0.0;
21343                   offset:   -5    4;
21344                }
21345                rel2 {
21346                   relative: 1.0  1.0;
21347                   offset:   -5   -5;
21348                }
21349             }
21350          }
21351          part { name: "elm.text";
21352             clip_to: "disclip";
21353             type:           TEXT;
21354             effect:         SOFT_SHADOW;
21355             mouse_events:   0;
21356             scale: 1;
21357             description {
21358                state: "default" 0.0;
21359 //               min: 16 16;
21360                rel1 {
21361                   to_x:     "elm.swallow.icon";
21362                   relative: 1.0  0.0;
21363                   offset:   0 4;
21364                }
21365                rel2 {
21366                   to_x:     "elm.swallow.end";
21367                   relative: 0.0  0.5;
21368                   offset:   -1 -5;
21369                }
21370                color: 0 0 0 255;
21371                color3: 0 0 0 0;
21372                text {
21373                   font: "Sans";
21374                   size: 10;
21375 //                  min: 1 1;
21376                   min: 0 1;
21377                   align: 0.0 0.5;
21378                   text_class: "list_item";
21379                }
21380             }
21381             description { state: "selected" 0.0;
21382                inherit: "default" 0.0;
21383                color: 224 224 224 255;
21384                color3: 0 0 0 64;
21385             }
21386          }
21387          part { name: "elm.text.sub";
21388             clip_to: "disclip";
21389             type:           TEXT;
21390             mouse_events:   0;
21391             scale: 1;
21392             description {
21393                state: "default" 0.0;
21394 //               min: 16 16;
21395                rel1 {
21396                   to_x:     "elm.swallow.icon";
21397                   relative: 1.0  0.5;
21398                   offset:   0 4;
21399                }
21400                rel2 {
21401                   to_x:     "elm.swallow.end";
21402                   relative: 0.0  1.0;
21403                   offset:   -1 -5;
21404                }
21405                color: 0 0 0 128;
21406                color3: 0 0 0 0;
21407                text {
21408                   font: "Sans";
21409                   size: 8;
21410 //                  min: 1 1;
21411                   min: 0 1;
21412                   align: 0.0 0.5;
21413                   text_class: "list_item";
21414                }
21415             }
21416             description { state: "selected" 0.0;
21417                inherit: "default" 0.0;
21418                color: 128 128 128 255;
21419                color3: 0 0 0 32;
21420             }
21421          }
21422          part { name: "fg1";
21423             clip_to: "disclip";
21424             mouse_events: 0;
21425             description { state: "default" 0.0;
21426                visible: 0;
21427                color: 255 255 255 0;
21428                rel1.to: "bg";
21429                rel2.relative: 1.0 0.5;
21430                rel2.to: "bg";
21431                image {
21432                   normal: "bt_sm_hilight.png";
21433                   border: 6 6 6 0;
21434                }
21435             }
21436             description { state: "selected" 0.0;
21437                inherit: "default" 0.0;
21438                visible: 1;
21439                color: 255 255 255 255;
21440             }
21441          }
21442          part { name: "fg2";
21443             clip_to: "disclip";
21444             mouse_events: 0;
21445             description { state: "default" 0.0;
21446                visible: 0;
21447                color: 255 255 255 0;
21448                rel1.to: "bg";
21449                rel2.to: "bg";
21450                image {
21451                   normal: "bt_sm_shine.png";
21452                   border: 6 6 6 0;
21453                }
21454             }
21455             description { state: "selected" 0.0;
21456                inherit: "default" 0.0;
21457                visible: 1;
21458                color: 255 255 255 255;
21459             }
21460          }
21461          part { name: "disclip";
21462             type: RECT;
21463             description { state: "default" 0.0;
21464                rel1.to: "bg";
21465                rel2.to: "bg";
21466             }
21467             description { state: "disabled" 0.0;
21468                inherit: "default" 0.0;
21469                color: 255 255 255 64;
21470             }
21471          }
21472       }
21473       programs {
21474          // signal: elm,state,%s,active
21475          //   a "check" item named %s went active
21476          // signal: elm,state,%s,passive
21477          //   a "check" item named %s went passive
21478          // default is passive
21479          program {
21480             name:    "go_active";
21481             signal:  "elm,state,selected";
21482             source:  "elm";
21483             action:  STATE_SET "selected" 0.0;
21484             target:  "bg";
21485             target:  "fg1";
21486             target:  "fg2";
21487             target:  "elm.text";
21488             target:  "elm.text.sub";
21489          }
21490          program {
21491             name:    "go_passive";
21492             signal:  "elm,state,unselected";
21493             source:  "elm";
21494             action:  STATE_SET "default" 0.0;
21495             target:  "bg";
21496             target:  "fg1";
21497             target:  "fg2";
21498             target:  "elm.text";
21499             target:  "elm.text.sub";
21500             transition: LINEAR 0.1;
21501          }
21502          program {
21503             name:    "go_disabled";
21504             signal:  "elm,state,disabled";
21505             source:  "elm";
21506             action:  STATE_SET "disabled" 0.0;
21507             target:  "disclip";
21508          }
21509          program {
21510             name:    "go_enabled";
21511             signal:  "elm,state,enabled";
21512             source:  "elm";
21513             action:  STATE_SET "default" 0.0;
21514             target:  "disclip";
21515          }
21516       }
21517    }
21518
21519    group { name: "elm/genlist/tree/double_label/default";
21520       data.item: "stacking" "above";
21521       data.item: "selectraise" "on";
21522       data.item: "labels" "elm.text elm.text.sub";
21523       data.item: "icons" "elm.swallow.icon elm.swallow.end";
21524       data.item: "treesize" "20";
21525 //      data.item: "states" "";
21526       images {
21527          image: "bt_sm_base1.png" COMP;
21528          image: "bt_sm_shine.png" COMP;
21529          image: "bt_sm_hilight.png" COMP;
21530          image: "ilist_1.png" COMP;
21531          image: "ilist_item_shadow.png" COMP;
21532          image: "icon_arrow_right.png" COMP;
21533          image: "icon_arrow_down.png" COMP;
21534       }
21535       parts {
21536          part {
21537             name:           "event";
21538             type:           RECT;
21539             repeat_events: 1;
21540             description {
21541                state: "default" 0.0;
21542                color: 0 0 0 0;
21543             }
21544          }
21545          part {
21546             name: "base_sh";
21547             mouse_events: 0;
21548             description {
21549                state: "default" 0.0;
21550                align: 0.0 0.0;
21551                min: 0 10;
21552                fixed: 1 1;
21553                rel1 {
21554                   to: "base";
21555                   relative: 0.0 1.0;
21556                   offset: 0 0;
21557                }
21558                rel2 {
21559                   to: "base";
21560                   relative: 1.0 1.0;
21561                   offset: -1 0;
21562                }
21563                image {
21564                   normal: "ilist_item_shadow.png";
21565                }
21566                fill.smooth: 0;
21567             }
21568          }
21569          part {
21570             name: "base";
21571             mouse_events: 0;
21572             description {
21573                state: "default" 0.0;
21574                image {
21575                   normal: "ilist_1.png";
21576                   border: 2 2 2 2;
21577                }
21578                fill.smooth: 0;
21579             }
21580          }
21581          part { name: "bg";
21582             clip_to: "disclip";
21583             mouse_events: 0;
21584             description { state: "default" 0.0;
21585                visible: 0;
21586                color: 255 255 255 0;
21587                rel1 {
21588                   relative: 0.0 0.0;
21589                   offset: -5 -5;
21590                }
21591                rel2 {
21592                   relative: 1.0 1.0;
21593                   offset: 4 4;
21594                }
21595                image {
21596                   normal: "bt_sm_base1.png";
21597                   border: 6 6 6 6;
21598                }
21599                image.middle: SOLID;
21600             }
21601             description { state: "selected" 0.0;
21602                inherit: "default" 0.0;
21603                visible: 1;
21604                color: 255 255 255 255;
21605                rel1 {
21606                   relative: 0.0 0.0;
21607                   offset: -2 -2;
21608                }
21609                rel2 {
21610                   relative: 1.0 1.0;
21611                   offset: 1 1;
21612                }
21613             }
21614          }
21615          part { name: "elm.swallow.pad";
21616             type: SWALLOW;
21617             description { state: "default" 0.0;
21618                fixed: 1 0;
21619                align: 0.0 0.5;
21620                rel1 {
21621                   relative: 0.0  0.0;
21622                   offset:   4    4;
21623                }
21624                rel2 {
21625                   relative: 0.0  1.0;
21626                   offset:   4   -5;
21627                }
21628             }
21629          }
21630          part { name: "arrow";
21631             clip_to: "disclip";
21632             ignore_flags: ON_HOLD;
21633             description { state: "default" 0.0;
21634                fixed: 1 0;
21635                align: 0.0 0.5;
21636                aspect: 1.0 1.0;
21637                rel1 {
21638                   to_x: "elm.swallow.pad";
21639                   relative: 1.0  0.0;
21640                   offset:   -1    4;
21641                }
21642                rel2 {
21643                   to_x: "elm.swallow.pad";
21644                   relative: 1.0  1.0;
21645                   offset:   -1   -5;
21646                }
21647                image.normal: "icon_arrow_right.png";
21648             }
21649             description { state: "active" 0.0;
21650                inherit: "default" 0.0;
21651                image.normal: "icon_arrow_down.png";
21652             }
21653          }
21654          part { name: "elm.swallow.icon";
21655             clip_to: "disclip";
21656             type: SWALLOW;
21657             description { state: "default" 0.0;
21658                fixed: 1 0;
21659                align: 0.0 0.5;
21660                rel1 {
21661                   to_x: "arrow";
21662                   relative: 1.0  0.0;
21663                   offset:   4    4;
21664                }
21665                rel2 {
21666                   to_x: "arrow";
21667                   relative: 1.0  1.0;
21668                   offset:   4   -5;
21669                }
21670             }
21671          }
21672          part { name: "elm.swallow.end";
21673             clip_to: "disclip";
21674             type: SWALLOW;
21675             description { state: "default" 0.0;
21676                fixed: 1 0;
21677                align: 1.0 0.5;
21678                aspect: 1.0 1.0;
21679                aspect_preference: VERTICAL;
21680                rel1 {
21681                   relative: 1.0  0.0;
21682                   offset:   -5    4;
21683                }
21684                rel2 {
21685                   relative: 1.0  1.0;
21686                   offset:   -5   -5;
21687                }
21688             }
21689          }
21690          part { name: "elm.text";
21691             clip_to: "disclip";
21692             type:           TEXT;
21693             effect:         SOFT_SHADOW;
21694             mouse_events:   0;
21695             scale: 1;
21696             description {
21697                state: "default" 0.0;
21698 //               min: 16 16;
21699                rel1 {
21700                   to_x:     "elm.swallow.icon";
21701                   relative: 1.0  0.0;
21702                   offset:   0 4;
21703                }
21704                rel2 {
21705                   to_x:     "elm.swallow.end";
21706                   relative: 0.0  0.5;
21707                   offset:   -1 -5;
21708                }
21709                color: 0 0 0 255;
21710                color3: 0 0 0 0;
21711                text {
21712                   font: "Sans";
21713                   size: 10;
21714                   min: 1 1;
21715 //                  min: 0 1;
21716                   align: 0.0 0.5;
21717                   text_class: "list_item";
21718                }
21719             }
21720             description { state: "selected" 0.0;
21721                inherit: "default" 0.0;
21722                color: 224 224 224 255;
21723                color3: 0 0 0 64;
21724             }
21725          }
21726          part { name: "elm.text.sub";
21727             clip_to: "disclip";
21728             type:           TEXT;
21729             mouse_events:   0;
21730             scale: 1;
21731             description {
21732                state: "default" 0.0;
21733 //               min: 16 16;
21734                rel1 {
21735                   to_x:     "elm.swallow.icon";
21736                   relative: 1.0  0.5;
21737                   offset:   0 4;
21738                }
21739                rel2 {
21740                   to_x:     "elm.swallow.end";
21741                   relative: 0.0  1.0;
21742                   offset:   -1 -5;
21743                }
21744                color: 0 0 0 128;
21745                color3: 0 0 0 0;
21746                text {
21747                   font: "Sans";
21748                   size: 8;
21749                   min: 1 1;
21750 //                  min: 0 1;
21751                   align: 0.0 0.5;
21752                   text_class: "list_item";
21753                }
21754             }
21755             description { state: "selected" 0.0;
21756                inherit: "default" 0.0;
21757                color: 128 128 128 255;
21758                color3: 0 0 0 32;
21759             }
21760          }
21761          part { name: "fg1";
21762             clip_to: "disclip";
21763             mouse_events: 0;
21764             description { state: "default" 0.0;
21765                visible: 0;
21766                color: 255 255 255 0;
21767                rel1.to: "bg";
21768                rel2.relative: 1.0 0.5;
21769                rel2.to: "bg";
21770                image {
21771                   normal: "bt_sm_hilight.png";
21772                   border: 6 6 6 0;
21773                }
21774             }
21775             description { state: "selected" 0.0;
21776                inherit: "default" 0.0;
21777                visible: 1;
21778                color: 255 255 255 255;
21779             }
21780          }
21781          part { name: "fg2";
21782             clip_to: "disclip";
21783             mouse_events: 0;
21784             description { state: "default" 0.0;
21785                visible: 0;
21786                color: 255 255 255 0;
21787                rel1.to: "bg";
21788                rel2.to: "bg";
21789                image {
21790                   normal: "bt_sm_shine.png";
21791                   border: 6 6 6 0;
21792                }
21793             }
21794             description { state: "selected" 0.0;
21795                inherit: "default" 0.0;
21796                visible: 1;
21797                color: 255 255 255 255;
21798             }
21799          }
21800          part { name: "disclip";
21801             type: RECT;
21802             description { state: "default" 0.0;
21803                rel1.to: "bg";
21804                rel2.to: "bg";
21805             }
21806             description { state: "disabled" 0.0;
21807                inherit: "default" 0.0;
21808                color: 255 255 255 64;
21809             }
21810          }
21811       }
21812       programs {
21813          // signal: elm,state,%s,active
21814          //   a "check" item named %s went active
21815          // signal: elm,state,%s,passive
21816          //   a "check" item named %s went passive
21817          // default is passive
21818          program {
21819             name:    "go_active";
21820             signal:  "elm,state,selected";
21821             source:  "elm";
21822             action:  STATE_SET "selected" 0.0;
21823             target:  "bg";
21824             target:  "fg1";
21825             target:  "fg2";
21826             target:  "elm.text";
21827             target:  "elm.text.sub";
21828          }
21829          program {
21830             name:    "go_passive";
21831             signal:  "elm,state,unselected";
21832             source:  "elm";
21833             action:  STATE_SET "default" 0.0;
21834             target:  "bg";
21835             target:  "fg1";
21836             target:  "fg2";
21837             target:  "elm.text";
21838             target:  "elm.text.sub";
21839             transition: LINEAR 0.1;
21840          }
21841          program {
21842             name:    "go_disabled";
21843             signal:  "elm,state,disabled";
21844             source:  "elm";
21845             action:  STATE_SET "disabled" 0.0;
21846             target:  "disclip";
21847          }
21848          program {
21849             name:    "go_enabled";
21850             signal:  "elm,state,enabled";
21851             source:  "elm";
21852             action:  STATE_SET "default" 0.0;
21853             target:  "disclip";
21854          }
21855          program {
21856             name:    "expand";
21857             signal:  "mouse,up,1";
21858             source:  "arrow";
21859             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
21860          }
21861          program {
21862             name:    "go_expanded";
21863             signal:  "elm,state,expanded";
21864             source:  "elm";
21865             action:  STATE_SET "active" 0.0;
21866             target:  "arrow";
21867          }
21868          program {
21869             name:    "go_contracted";
21870             signal:  "elm,state,contracted";
21871             source:  "elm";
21872             action:  STATE_SET "default" 0.0;
21873             target:  "arrow";
21874          }
21875       }
21876    }
21877    group { name: "elm/genlist/tree_compress/double_label/default";
21878       data.item: "stacking" "above";
21879       data.item: "selectraise" "on";
21880       data.item: "labels" "elm.text elm.text.sub";
21881       data.item: "icons" "elm.swallow.icon elm.swallow.end";
21882       data.item: "treesize" "20";
21883 //      data.item: "states" "";
21884       images {
21885          image: "bt_sm_base1.png" COMP;
21886          image: "bt_sm_shine.png" COMP;
21887          image: "bt_sm_hilight.png" COMP;
21888          image: "ilist_1.png" COMP;
21889          image: "ilist_item_shadow.png" COMP;
21890          image: "icon_arrow_right.png" COMP;
21891          image: "icon_arrow_down.png" COMP;
21892       }
21893       parts {
21894          part {
21895             name:           "event";
21896             type:           RECT;
21897             repeat_events: 1;
21898             description {
21899                state: "default" 0.0;
21900                color: 0 0 0 0;
21901             }
21902          }
21903          part {
21904             name: "base_sh";
21905             mouse_events: 0;
21906             description {
21907                state: "default" 0.0;
21908                align: 0.0 0.0;
21909                min: 0 10;
21910                fixed: 1 1;
21911                rel1 {
21912                   to: "base";
21913                   relative: 0.0 1.0;
21914                   offset: 0 0;
21915                }
21916                rel2 {
21917                   to: "base";
21918                   relative: 1.0 1.0;
21919                   offset: -1 0;
21920                }
21921                image {
21922                   normal: "ilist_item_shadow.png";
21923                }
21924                fill.smooth: 0;
21925             }
21926          }
21927          part {
21928             name: "base";
21929             mouse_events: 0;
21930             description {
21931                state: "default" 0.0;
21932                image {
21933                   normal: "ilist_1.png";
21934                   border: 2 2 2 2;
21935                }
21936                fill.smooth: 0;
21937             }
21938          }
21939          part { name: "bg";
21940             clip_to: "disclip";
21941             mouse_events: 0;
21942             description { state: "default" 0.0;
21943                visible: 0;
21944                color: 255 255 255 0;
21945                rel1 {
21946                   relative: 0.0 0.0;
21947                   offset: -5 -5;
21948                }
21949                rel2 {
21950                   relative: 1.0 1.0;
21951                   offset: 4 4;
21952                }
21953                image {
21954                   normal: "bt_sm_base1.png";
21955                   border: 6 6 6 6;
21956                }
21957                image.middle: SOLID;
21958             }
21959             description { state: "selected" 0.0;
21960                inherit: "default" 0.0;
21961                visible: 1;
21962                color: 255 255 255 255;
21963                rel1 {
21964                   relative: 0.0 0.0;
21965                   offset: -2 -2;
21966                }
21967                rel2 {
21968                   relative: 1.0 1.0;
21969                   offset: 1 1;
21970                }
21971             }
21972          }
21973          part { name: "elm.swallow.pad";
21974             type: SWALLOW;
21975             description { state: "default" 0.0;
21976                fixed: 1 0;
21977                align: 0.0 0.5;
21978                rel1 {
21979                   relative: 0.0  0.0;
21980                   offset:   4    4;
21981                }
21982                rel2 {
21983                   relative: 0.0  1.0;
21984                   offset:   4   -5;
21985                }
21986             }
21987          }
21988          part { name: "arrow";
21989             clip_to: "disclip";
21990             ignore_flags: ON_HOLD;
21991             description { state: "default" 0.0;
21992                fixed: 1 0;
21993                align: 0.0 0.5;
21994                aspect: 1.0 1.0;
21995                rel1 {
21996                   to_x: "elm.swallow.pad";
21997                   relative: 1.0  0.0;
21998                   offset:   -1    4;
21999                }
22000                rel2 {
22001                   to_x: "elm.swallow.pad";
22002                   relative: 1.0  1.0;
22003                   offset:   -1   -5;
22004                }
22005                image.normal: "icon_arrow_right.png";
22006             }
22007             description { state: "active" 0.0;
22008                inherit: "default" 0.0;
22009                image.normal: "icon_arrow_down.png";
22010             }
22011          }
22012          part { name: "elm.swallow.icon";
22013             clip_to: "disclip";
22014             type: SWALLOW;
22015             description { state: "default" 0.0;
22016                fixed: 1 0;
22017                align: 0.0 0.5;
22018                rel1 {
22019                   to_x: "arrow";
22020                   relative: 1.0  0.0;
22021                   offset:   4    4;
22022                }
22023                rel2 {
22024                   to_x: "arrow";
22025                   relative: 1.0  1.0;
22026                   offset:   4   -5;
22027                }
22028             }
22029          }
22030          part { name: "elm.swallow.end";
22031             clip_to: "disclip";
22032             type: SWALLOW;
22033             description { state: "default" 0.0;
22034                fixed: 1 0;
22035                align: 1.0 0.5;
22036                aspect: 1.0 1.0;
22037                aspect_preference: VERTICAL;
22038                rel1 {
22039                   relative: 1.0  0.0;
22040                   offset:   -5    4;
22041                }
22042                rel2 {
22043                   relative: 1.0  1.0;
22044                   offset:   -5   -5;
22045                }
22046             }
22047          }
22048          part { name: "elm.text";
22049             clip_to: "disclip";
22050             type:           TEXT;
22051             effect:         SOFT_SHADOW;
22052             mouse_events:   0;
22053             scale: 1;
22054             description {
22055                state: "default" 0.0;
22056 //               min: 16 16;
22057                rel1 {
22058                   to_x:     "elm.swallow.icon";
22059                   relative: 1.0  0.0;
22060                   offset:   0 4;
22061                }
22062                rel2 {
22063                   to_x:     "elm.swallow.end";
22064                   relative: 0.0  0.5;
22065                   offset:   -1 -5;
22066                }
22067                color: 0 0 0 255;
22068                color3: 0 0 0 0;
22069                text {
22070                   font: "Sans";
22071                   size: 10;
22072 //                  min: 1 1;
22073                   min: 0 1;
22074                   align: 0.0 0.5;
22075                   text_class: "list_item";
22076                }
22077             }
22078             description { state: "selected" 0.0;
22079                inherit: "default" 0.0;
22080                color: 224 224 224 255;
22081                color3: 0 0 0 64;
22082             }
22083          }
22084          part { name: "elm.text.sub";
22085             clip_to: "disclip";
22086             type:           TEXT;
22087             mouse_events:   0;
22088             scale: 1;
22089             description {
22090                state: "default" 0.0;
22091 //               min: 16 16;
22092                rel1 {
22093                   to_x:     "elm.swallow.icon";
22094                   relative: 1.0  0.5;
22095                   offset:   0 4;
22096                }
22097                rel2 {
22098                   to_x:     "elm.swallow.end";
22099                   relative: 0.0  1.0;
22100                   offset:   -1 -5;
22101                }
22102                color: 0 0 0 128;
22103                color3: 0 0 0 0;
22104                text {
22105                   font: "Sans";
22106                   size: 8;
22107 //                  min: 1 1;
22108                   min: 0 1;
22109                   align: 0.0 0.5;
22110                   text_class: "list_item";
22111                }
22112             }
22113             description { state: "selected" 0.0;
22114                inherit: "default" 0.0;
22115                color: 128 128 128 255;
22116                color3: 0 0 0 32;
22117             }
22118          }
22119          part { name: "fg1";
22120             clip_to: "disclip";
22121             mouse_events: 0;
22122             description { state: "default" 0.0;
22123                visible: 0;
22124                color: 255 255 255 0;
22125                rel1.to: "bg";
22126                rel2.relative: 1.0 0.5;
22127                rel2.to: "bg";
22128                image {
22129                   normal: "bt_sm_hilight.png";
22130                   border: 6 6 6 0;
22131                }
22132             }
22133             description { state: "selected" 0.0;
22134                inherit: "default" 0.0;
22135                visible: 1;
22136                color: 255 255 255 255;
22137             }
22138          }
22139          part { name: "fg2";
22140             clip_to: "disclip";
22141             mouse_events: 0;
22142             description { state: "default" 0.0;
22143                visible: 0;
22144                color: 255 255 255 0;
22145                rel1.to: "bg";
22146                rel2.to: "bg";
22147                image {
22148                   normal: "bt_sm_shine.png";
22149                   border: 6 6 6 0;
22150                }
22151             }
22152             description { state: "selected" 0.0;
22153                inherit: "default" 0.0;
22154                visible: 1;
22155                color: 255 255 255 255;
22156             }
22157          }
22158          part { name: "disclip";
22159             type: RECT;
22160             description { state: "default" 0.0;
22161                rel1.to: "bg";
22162                rel2.to: "bg";
22163             }
22164             description { state: "disabled" 0.0;
22165                inherit: "default" 0.0;
22166                color: 255 255 255 64;
22167             }
22168          }
22169       }
22170       programs {
22171          // signal: elm,state,%s,active
22172          //   a "check" item named %s went active
22173          // signal: elm,state,%s,passive
22174          //   a "check" item named %s went passive
22175          // default is passive
22176          program {
22177             name:    "go_active";
22178             signal:  "elm,state,selected";
22179             source:  "elm";
22180             action:  STATE_SET "selected" 0.0;
22181             target:  "bg";
22182             target:  "fg1";
22183             target:  "fg2";
22184             target:  "elm.text";
22185             target:  "elm.text.sub";
22186          }
22187          program {
22188             name:    "go_passive";
22189             signal:  "elm,state,unselected";
22190             source:  "elm";
22191             action:  STATE_SET "default" 0.0;
22192             target:  "bg";
22193             target:  "fg1";
22194             target:  "fg2";
22195             target:  "elm.text";
22196             target:  "elm.text.sub";
22197             transition: LINEAR 0.1;
22198          }
22199          program {
22200             name:    "go_disabled";
22201             signal:  "elm,state,disabled";
22202             source:  "elm";
22203             action:  STATE_SET "disabled" 0.0;
22204             target:  "disclip";
22205          }
22206          program {
22207             name:    "go_enabled";
22208             signal:  "elm,state,enabled";
22209             source:  "elm";
22210             action:  STATE_SET "default" 0.0;
22211             target:  "disclip";
22212          }
22213          program {
22214             name:    "expand";
22215             signal:  "mouse,up,1";
22216             source:  "arrow";
22217             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
22218          }
22219          program {
22220             name:    "go_expanded";
22221             signal:  "elm,state,expanded";
22222             source:  "elm";
22223             action:  STATE_SET "active" 0.0;
22224             target:  "arrow";
22225          }
22226          program {
22227             name:    "go_contracted";
22228             signal:  "elm,state,contracted";
22229             source:  "elm";
22230             action:  STATE_SET "default" 0.0;
22231             target:  "arrow";
22232          }
22233       }
22234    }
22235    group { name: "elm/genlist/tree_odd/double_label/default";
22236       data.item: "stacking" "below";
22237       data.item: "selectraise" "on";
22238       data.item: "labels" "elm.text elm.text.sub";
22239       data.item: "icons" "elm.swallow.icon elm.swallow.end";
22240       data.item: "treesize" "20";
22241 //      data.item: "states" "";
22242       images {
22243          image: "bt_sm_base1.png" COMP;
22244          image: "bt_sm_shine.png" COMP;
22245          image: "bt_sm_hilight.png" COMP;
22246          image: "ilist_2.png" COMP;
22247          image: "icon_arrow_right.png" COMP;
22248          image: "icon_arrow_down.png" COMP;
22249       }
22250       parts {
22251          part {
22252             name:           "event";
22253             type:           RECT;
22254             repeat_events: 1;
22255             description {
22256                state: "default" 0.0;
22257                color: 0 0 0 0;
22258             }
22259          }
22260          part {
22261             name: "base";
22262             mouse_events: 0;
22263             description {
22264                state: "default" 0.0;
22265                image {
22266                   normal: "ilist_2.png";
22267                   border: 2 2 2 2;
22268                }
22269                fill.smooth: 0;
22270             }
22271          }
22272          part { name: "bg";
22273             clip_to: "disclip";
22274             mouse_events: 0;
22275             description { state: "default" 0.0;
22276                visible: 0;
22277                color: 255 255 255 0;
22278                rel1 {
22279                   relative: 0.0 0.0;
22280                   offset: -5 -5;
22281                }
22282                rel2 {
22283                   relative: 1.0 1.0;
22284                   offset: 4 4;
22285                }
22286                image {
22287                   normal: "bt_sm_base1.png";
22288                   border: 6 6 6 6;
22289                }
22290                image.middle: SOLID;
22291             }
22292             description { state: "selected" 0.0;
22293                inherit: "default" 0.0;
22294                visible: 1;
22295                color: 255 255 255 255;
22296                rel1 {
22297                   relative: 0.0 0.0;
22298                   offset: -2 -2;
22299                }
22300                rel2 {
22301                   relative: 1.0 1.0;
22302                   offset: 1 1;
22303                }
22304             }
22305          }
22306          part { name: "elm.swallow.pad";
22307             type: SWALLOW;
22308             description { state: "default" 0.0;
22309                fixed: 1 0;
22310                align: 0.0 0.5;
22311                rel1 {
22312                   relative: 0.0  0.0;
22313                   offset:   4    4;
22314                }
22315                rel2 {
22316                   relative: 0.0  1.0;
22317                   offset:   4   -5;
22318                }
22319             }
22320          }
22321          part { name: "arrow";
22322             clip_to: "disclip";
22323             ignore_flags: ON_HOLD;
22324             description { state: "default" 0.0;
22325                fixed: 1 0;
22326                align: 0.0 0.5;
22327                aspect: 1.0 1.0;
22328                rel1 {
22329                   to_x: "elm.swallow.pad";
22330                   relative: 1.0  0.0;
22331                   offset:   -1    4;
22332                }
22333                rel2 {
22334                   to_x: "elm.swallow.pad";
22335                   relative: 1.0  1.0;
22336                   offset:   -1   -5;
22337                }
22338                image.normal: "icon_arrow_right.png";
22339             }
22340             description { state: "active" 0.0;
22341                inherit: "default" 0.0;
22342                image.normal: "icon_arrow_down.png";
22343             }
22344          }
22345          part { name: "elm.swallow.icon";
22346             clip_to: "disclip";
22347             type: SWALLOW;
22348             description { state: "default" 0.0;
22349                fixed: 1 0;
22350                align: 0.0 0.5;
22351                rel1 {
22352                   to_x: "arrow";
22353                   relative: 1.0  0.0;
22354                   offset:   4    4;
22355                }
22356                rel2 {
22357                   to_x: "arrow";
22358                   relative: 1.0  1.0;
22359                   offset:   4   -5;
22360                }
22361             }
22362          }
22363          part { name: "elm.swallow.end";
22364             clip_to: "disclip";
22365             type: SWALLOW;
22366             description { state: "default" 0.0;
22367                fixed: 1 0;
22368                align: 1.0 0.5;
22369                aspect: 1.0 1.0;
22370                aspect_preference: VERTICAL;
22371                rel1 {
22372                   relative: 1.0  0.0;
22373                   offset:   -5    4;
22374                }
22375                rel2 {
22376                   relative: 1.0  1.0;
22377                   offset:   -5   -5;
22378                }
22379             }
22380          }
22381          part { name: "elm.text";
22382             clip_to: "disclip";
22383             type:           TEXT;
22384             effect:         SOFT_SHADOW;
22385             mouse_events:   0;
22386             scale: 1;
22387             description {
22388                state: "default" 0.0;
22389 //               min: 16 16;
22390                rel1 {
22391                   to_x:     "elm.swallow.icon";
22392                   relative: 1.0  0.0;
22393                   offset:   0 4;
22394                }
22395                rel2 {
22396                   to_x:     "elm.swallow.end";
22397                   relative: 0.0  0.5;
22398                   offset:   -1 -5;
22399                }
22400                color: 0 0 0 255;
22401                color3: 0 0 0 0;
22402                text {
22403                   font: "Sans";
22404                   size: 10;
22405                   min: 1 1;
22406 //                  min: 0 1;
22407                   align: 0.0 0.5;
22408                   text_class: "list_item";
22409                }
22410             }
22411             description { state: "selected" 0.0;
22412                inherit: "default" 0.0;
22413                color: 224 224 224 255;
22414                color3: 0 0 0 64;
22415             }
22416          }
22417          part { name: "elm.text.sub";
22418             clip_to: "disclip";
22419             type:           TEXT;
22420             mouse_events:   0;
22421             scale: 1;
22422             description {
22423                state: "default" 0.0;
22424 //               min: 16 16;
22425                rel1 {
22426                   to_x:     "elm.swallow.icon";
22427                   relative: 1.0  0.5;
22428                   offset:   0 4;
22429                }
22430                rel2 {
22431                   to_x:     "elm.swallow.end";
22432                   relative: 0.0  1.0;
22433                   offset:   -1 -5;
22434                }
22435                color: 0 0 0 128;
22436                color3: 0 0 0 0;
22437                text {
22438                   font: "Sans";
22439                   size: 8;
22440                   min: 1 1;
22441 //                  min: 0 1;
22442                   align: 0.0 0.5;
22443                   text_class: "list_item";
22444                }
22445             }
22446             description { state: "selected" 0.0;
22447                inherit: "default" 0.0;
22448                color: 128 128 128 255;
22449                color3: 0 0 0 32;
22450             }
22451          }
22452          part { name: "fg1";
22453             clip_to: "disclip";
22454             mouse_events: 0;
22455             description { state: "default" 0.0;
22456                visible: 0;
22457                color: 255 255 255 0;
22458                rel1.to: "bg";
22459                rel2.relative: 1.0 0.5;
22460                rel2.to: "bg";
22461                image {
22462                   normal: "bt_sm_hilight.png";
22463                   border: 6 6 6 0;
22464                }
22465             }
22466             description { state: "selected" 0.0;
22467                inherit: "default" 0.0;
22468                visible: 1;
22469                color: 255 255 255 255;
22470             }
22471          }
22472          part { name: "fg2";
22473             clip_to: "disclip";
22474             mouse_events: 0;
22475             description { state: "default" 0.0;
22476                visible: 0;
22477                color: 255 255 255 0;
22478                rel1.to: "bg";
22479                rel2.to: "bg";
22480                image {
22481                   normal: "bt_sm_shine.png";
22482                   border: 6 6 6 0;
22483                }
22484             }
22485             description { state: "selected" 0.0;
22486                inherit: "default" 0.0;
22487                visible: 1;
22488                color: 255 255 255 255;
22489             }
22490          }
22491          part { name: "disclip";
22492             type: RECT;
22493             description { state: "default" 0.0;
22494                rel1.to: "bg";
22495                rel2.to: "bg";
22496             }
22497             description { state: "disabled" 0.0;
22498                inherit: "default" 0.0;
22499                color: 255 255 255 64;
22500             }
22501          }
22502       }
22503       programs {
22504          // signal: elm,state,%s,active
22505          //   a "check" item named %s went active
22506          // signal: elm,state,%s,passive
22507          //   a "check" item named %s went passive
22508          // default is passive
22509          program {
22510             name:    "go_active";
22511             signal:  "elm,state,selected";
22512             source:  "elm";
22513             action:  STATE_SET "selected" 0.0;
22514             target:  "bg";
22515             target:  "fg1";
22516             target:  "fg2";
22517             target:  "elm.text";
22518             target:  "elm.text.sub";
22519          }
22520          program {
22521             name:    "go_passive";
22522             signal:  "elm,state,unselected";
22523             source:  "elm";
22524             action:  STATE_SET "default" 0.0;
22525             target:  "bg";
22526             target:  "fg1";
22527             target:  "fg2";
22528             target:  "elm.text";
22529             target:  "elm.text.sub";
22530             transition: LINEAR 0.1;
22531          }
22532          program {
22533             name:    "go_disabled";
22534             signal:  "elm,state,disabled";
22535             source:  "elm";
22536             action:  STATE_SET "disabled" 0.0;
22537             target:  "disclip";
22538          }
22539          program {
22540             name:    "go_enabled";
22541             signal:  "elm,state,enabled";
22542             source:  "elm";
22543             action:  STATE_SET "default" 0.0;
22544             target:  "disclip";
22545          }
22546          program {
22547             name:    "expand";
22548             signal:  "mouse,up,1";
22549             source:  "arrow";
22550             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
22551          }
22552          program {
22553             name:    "go_expanded";
22554             signal:  "elm,state,expanded";
22555             source:  "elm";
22556             action:  STATE_SET "active" 0.0;
22557             target:  "arrow";
22558          }
22559          program {
22560             name:    "go_contracted";
22561             signal:  "elm,state,contracted";
22562             source:  "elm";
22563             action:  STATE_SET "default" 0.0;
22564             target:  "arrow";
22565          }
22566       }
22567    }
22568
22569    group { name: "elm/genlist/item/icon_top_text_bottom/default";
22570       data.item: "stacking" "above";
22571       data.item: "selectraise" "on";
22572       data.item: "labels" "elm.text";
22573       data.item: "icons" "elm.swallow.icon";
22574       data.item: "treesize" "20";
22575 //      data.item: "states" "";
22576       images {
22577          image: "bt_sm_base1.png" COMP;
22578          image: "bt_sm_shine.png" COMP;
22579          image: "bt_sm_hilight.png" COMP;
22580          image: "ilist_1.png" COMP;
22581          image: "ilist_item_shadow.png" COMP;
22582       }
22583       parts {
22584          part {
22585             name:           "event";
22586             type:           RECT;
22587             repeat_events: 1;
22588             description {
22589                state: "default" 0.0;
22590                color: 0 0 0 0;
22591             }
22592          }
22593          part {
22594             name: "base_sh";
22595             mouse_events: 0;
22596             description {
22597                state: "default" 0.0;
22598                align: 0.0 0.0;
22599                min: 0 10;
22600                fixed: 1 1;
22601                rel1 {
22602                   to: "base";
22603                   relative: 0.0 1.0;
22604                   offset: 0 0;
22605                }
22606                rel2 {
22607                   to: "base";
22608                   relative: 1.0 1.0;
22609                   offset: -1 0;
22610                }
22611                image {
22612                   normal: "ilist_item_shadow.png";
22613                }
22614                fill.smooth: 0;
22615             }
22616          }
22617          part {
22618             name: "base";
22619             mouse_events: 0;
22620             description {
22621                state: "default" 0.0;
22622                image {
22623                   normal: "ilist_1.png";
22624                   border: 2 2 2 2;
22625                }
22626                fill.smooth: 0;
22627             }
22628          }
22629          part { name: "bg";
22630             clip_to: "disclip";
22631             mouse_events: 0;
22632             description { state: "default" 0.0;
22633                visible: 0;
22634                color: 255 255 255 0;
22635                rel1 {
22636                   relative: 0.0 0.0;
22637                   offset: -5 -5;
22638                }
22639                rel2 {
22640                   relative: 1.0 1.0;
22641                   offset: 4 4;
22642                }
22643                image {
22644                   normal: "bt_sm_base1.png";
22645                   border: 6 6 6 6;
22646                }
22647                image.middle: SOLID;
22648             }
22649             description { state: "selected" 0.0;
22650                inherit: "default" 0.0;
22651                visible: 1;
22652                color: 255 255 255 255;
22653                rel1 {
22654                   relative: 0.0 0.0;
22655                   offset: -2 -2;
22656                }
22657                rel2 {
22658                   relative: 1.0 1.0;
22659                   offset: 1 1;
22660                }
22661             }
22662          }
22663          part { name: "elm.swallow.pad";
22664             type: SWALLOW;
22665             description { state: "default" 0.0;
22666                fixed: 1 0;
22667                align: 0.0 0.5;
22668                rel1 {
22669                   relative: 0.0  0.0;
22670                   offset:   4    4;
22671                }
22672                rel2 {
22673                   relative: 1.0  1.0;
22674                   offset:   -4   -5;
22675                }
22676             }
22677          }
22678          part { name: "elm.swallow.icon";
22679             clip_to: "disclip";
22680             type: SWALLOW;
22681             description { state: "default" 0.0;
22682                fixed: 1 0;
22683                align: 0.5 0.5;
22684                rel1 {
22685                   to_x: "elm.swallow.pad";
22686                   relative: 0.0  0.0;
22687                   offset:   -1    4;
22688                }
22689                rel2 {
22690                   to_x: "elm.swallow.pad";
22691                   relative: 1.0  1.0;
22692                   offset:   -1   -5;
22693                }
22694             }
22695          }
22696          part { name: "elm.text";
22697             clip_to: "disclip";
22698             type:           TEXT;
22699             effect:         SOFT_SHADOW;
22700             mouse_events:   0;
22701             scale: 1;
22702             description {
22703                state: "default" 0.0;
22704 //               min: 16 16;
22705                rel1 {
22706                   to_y:     "elm.swallow.icon";
22707                   relative: 0.0  1.0;
22708                   offset:   0 4;
22709                }
22710                rel2 {
22711                   relative: 1.0  1.0;
22712                   offset:   -5 -5;
22713                }
22714                color: 0 0 0 255;
22715                color3: 0 0 0 0;
22716                text {
22717                   font: "Sans";
22718                   size: 10;
22719                   min: 1 1;
22720 //                  min: 0 1;
22721                   align: 0.5 0.5;
22722                   text_class: "list_item";
22723                }
22724             }
22725             description { state: "selected" 0.0;
22726                inherit: "default" 0.0;
22727                color: 224 224 224 255;
22728                color3: 0 0 0 64;
22729             }
22730          }
22731          part { name: "fg1";
22732             clip_to: "disclip";
22733             mouse_events: 0;
22734             description { state: "default" 0.0;
22735                visible: 0;
22736                color: 255 255 255 0;
22737                rel1.to: "bg";
22738                rel2.relative: 1.0 0.5;
22739                rel2.to: "bg";
22740                image {
22741                   normal: "bt_sm_hilight.png";
22742                   border: 6 6 6 0;
22743                }
22744             }
22745             description { state: "selected" 0.0;
22746                inherit: "default" 0.0;
22747                visible: 1;
22748                color: 255 255 255 255;
22749             }
22750          }
22751          part { name: "fg2";
22752             clip_to: "disclip";
22753             mouse_events: 0;
22754             description { state: "default" 0.0;
22755                visible: 0;
22756                color: 255 255 255 0;
22757                rel1.to: "bg";
22758                rel2.to: "bg";
22759                image {
22760                   normal: "bt_sm_shine.png";
22761                   border: 6 6 6 0;
22762                }
22763             }
22764             description { state: "selected" 0.0;
22765                inherit: "default" 0.0;
22766                visible: 1;
22767                color: 255 255 255 255;
22768             }
22769          }
22770          part { name: "disclip";
22771             type: RECT;
22772             description { state: "default" 0.0;
22773                rel1.to: "bg";
22774                rel2.to: "bg";
22775             }
22776             description { state: "disabled" 0.0;
22777                inherit: "default" 0.0;
22778                color: 255 255 255 64;
22779             }
22780          }
22781       }
22782       programs {
22783          // signal: elm,state,%s,active
22784          //   a "check" item named %s went active
22785          // signal: elm,state,%s,passive
22786          //   a "check" item named %s went passive
22787          // default is passive
22788          program {
22789             name:    "go_active";
22790             signal:  "elm,state,selected";
22791             source:  "elm";
22792             action:  STATE_SET "selected" 0.0;
22793             target:  "bg";
22794             target:  "fg1";
22795             target:  "fg2";
22796             target:  "elm.text";
22797          }
22798          program {
22799             name:    "go_passive";
22800             signal:  "elm,state,unselected";
22801             source:  "elm";
22802             action:  STATE_SET "default" 0.0;
22803             target:  "bg";
22804             target:  "fg1";
22805             target:  "fg2";
22806             target:  "elm.text";
22807             transition: LINEAR 0.1;
22808          }
22809          program {
22810             name:    "go_disabled";
22811             signal:  "elm,state,disabled";
22812             source:  "elm";
22813             action:  STATE_SET "disabled" 0.0;
22814             target:  "disclip";
22815          }
22816          program {
22817             name:    "go_enabled";
22818             signal:  "elm,state,enabled";
22819             source:  "elm";
22820             action:  STATE_SET "default" 0.0;
22821             target:  "disclip";
22822          }
22823       }
22824    }
22825    group { name: "elm/genlist/item_odd/icon_top_text_bottom/default";
22826       data.item: "stacking" "below";
22827       data.item: "selectraise" "on";
22828       data.item: "labels" "elm.text";
22829       data.item: "icons" "elm.swallow.icon";
22830       data.item: "treesize" "20";
22831 //      data.item: "states" "";
22832       images {
22833          image: "bt_sm_base1.png" COMP;
22834          image: "bt_sm_shine.png" COMP;
22835          image: "bt_sm_hilight.png" COMP;
22836          image: "ilist_2.png" COMP;
22837       }
22838       parts {
22839          part { name: "event";
22840             type: RECT;
22841             repeat_events: 1;
22842             description {
22843                state: "default" 0.0;
22844                color: 0 0 0 0;
22845             }
22846          }
22847          part {
22848             name: "base";
22849             mouse_events: 0;
22850             description {
22851                state: "default" 0.0;
22852                image {
22853                   normal: "ilist_2.png";
22854                   border: 2 2 2 2;
22855                }
22856                fill.smooth: 0;
22857             }
22858          }
22859          part { name: "bg";
22860             clip_to: "disclip";
22861             mouse_events: 0;
22862             description { state: "default" 0.0;
22863                visible: 0;
22864                color: 255 255 255 0;
22865                rel1 {
22866                   relative: 0.0 0.0;
22867                   offset: -5 -5;
22868                }
22869                rel2 {
22870                   relative: 1.0 1.0;
22871                   offset: 4 4;
22872                }
22873                image {
22874                   normal: "bt_sm_base1.png";
22875                   border: 6 6 6 6;
22876                }
22877                image.middle: SOLID;
22878             }
22879             description { state: "selected" 0.0;
22880                inherit: "default" 0.0;
22881                visible: 1;
22882                color: 255 255 255 255;
22883                rel1 {
22884                   relative: 0.0 0.0;
22885                   offset: -2 -2;
22886                }
22887                rel2 {
22888                   relative: 1.0 1.0;
22889                   offset: 1 1;
22890                }
22891             }
22892          }
22893          part { name: "elm.swallow.pad";
22894             type: SWALLOW;
22895             description { state: "default" 0.0;
22896                fixed: 1 0;
22897                align: 0.0 0.5;
22898                rel1 {
22899                   relative: 0.0  0.0;
22900                   offset:   4    4;
22901                }
22902                rel2 {
22903                   relative: 1.0  1.0;
22904                   offset:   -4   -5;
22905                }
22906             }
22907          }
22908          part { name: "elm.swallow.icon";
22909             clip_to: "disclip";
22910             type: SWALLOW;
22911             description { state: "default" 0.0;
22912                fixed: 1 0;
22913                align: 0.5 0.5;
22914                rel1 {
22915                   to_x: "elm.swallow.pad";
22916                   relative: 0.0  0.0;
22917                   offset:   -1    4;
22918                }
22919                rel2 {
22920                   to_x: "elm.swallow.pad";
22921                   relative: 1.0  1.0;
22922                   offset:   -1   -5;
22923                }
22924             }
22925          }
22926          part { name: "elm.text";
22927             clip_to: "disclip";
22928             type:           TEXT;
22929             effect:         SOFT_SHADOW;
22930             mouse_events:   0;
22931             scale: 1;
22932             description {
22933                state: "default" 0.0;
22934 //               min:      16 16;
22935                rel1 {
22936                   to_y:     "elm.swallow.icon";
22937                   relative: 0.0  1.0;
22938                   offset:   0 4;
22939                }
22940                rel2 {
22941                   relative: 1.0  1.0;
22942                   offset:   -5 -5;
22943                }
22944                color: 0 0 0 255;
22945                color3: 0 0 0 0;
22946                text {
22947                   font: "Sans";
22948                   size: 10;
22949                   min: 1 1;
22950 //                  min: 0 1;
22951                   align: 0.5 0.5;
22952                   text_class: "list_item";
22953                }
22954             }
22955             description { state: "selected" 0.0;
22956                inherit: "default" 0.0;
22957                color: 224 224 224 255;
22958                color3: 0 0 0 64;
22959             }
22960          }
22961          part { name: "fg1";
22962             clip_to: "disclip";
22963             mouse_events: 0;
22964             description { state: "default" 0.0;
22965                visible: 0;
22966                color: 255 255 255 0;
22967                rel1.to: "bg";
22968                rel2.relative: 1.0 0.5;
22969                rel2.to: "bg";
22970                image {
22971                   normal: "bt_sm_hilight.png";
22972                   border: 6 6 6 0;
22973                }
22974             }
22975             description { state: "selected" 0.0;
22976                inherit: "default" 0.0;
22977                visible: 1;
22978                color: 255 255 255 255;
22979             }
22980          }
22981          part { name: "fg2";
22982             clip_to: "disclip";
22983             mouse_events: 0;
22984             description { state: "default" 0.0;
22985                visible: 0;
22986                color: 255 255 255 0;
22987                rel1.to: "bg";
22988                rel2.to: "bg";
22989                image {
22990                   normal: "bt_sm_shine.png";
22991                   border: 6 6 6 0;
22992                }
22993             }
22994             description { state: "selected" 0.0;
22995                inherit: "default" 0.0;
22996                visible: 1;
22997                color: 255 255 255 255;
22998             }
22999          }
23000          part { name: "disclip";
23001             type: RECT;
23002             description { state: "default" 0.0;
23003                rel1.to: "bg";
23004                rel2.to: "bg";
23005             }
23006             description { state: "disabled" 0.0;
23007                inherit: "default" 0.0;
23008                color: 255 255 255 64;
23009             }
23010          }
23011       }
23012       programs {
23013          // signal: elm,state,%s,active
23014          //   a "check" item named %s went active
23015          // signal: elm,state,%s,passive
23016          //   a "check" item named %s went passive
23017          // default is passive
23018          program {
23019             name:    "go_active";
23020             signal:  "elm,state,selected";
23021             source:  "elm";
23022             action:  STATE_SET "selected" 0.0;
23023             target:  "bg";
23024             target:  "fg1";
23025             target:  "fg2";
23026             target:  "elm.text";
23027          }
23028          program {
23029             name:    "go_passive";
23030             signal:  "elm,state,unselected";
23031             source:  "elm";
23032             action:  STATE_SET "default" 0.0;
23033             target:  "bg";
23034             target:  "fg1";
23035             target:  "fg2";
23036             target:  "elm.text";
23037             transition: LINEAR 0.1;
23038          }
23039          program {
23040             name:    "go_disabled";
23041             signal:  "elm,state,disabled";
23042             source:  "elm";
23043             action:  STATE_SET "disabled" 0.0;
23044             target:  "disclip";
23045          }
23046          program {
23047             name:    "go_enabled";
23048             signal:  "elm,state,enabled";
23049             source:  "elm";
23050             action:  STATE_SET "default" 0.0;
23051             target:  "disclip";
23052          }
23053       }
23054    }
23055
23056    group { name: "elm/genlist/tree/icon_top_text_bottom/default";
23057       data.item: "stacking" "above";
23058       data.item: "selectraise" "on";
23059       data.item: "labels" "elm.text";
23060       data.item: "icons" "elm.swallow.icon";
23061       data.item: "treesize" "20";
23062 //      data.item: "states" "";
23063       images {
23064          image: "bt_sm_base1.png" COMP;
23065          image: "bt_sm_shine.png" COMP;
23066          image: "bt_sm_hilight.png" COMP;
23067          image: "ilist_1.png" COMP;
23068          image: "ilist_item_shadow.png" COMP;
23069          image: "icon_arrow_right.png" COMP;
23070          image: "icon_arrow_down.png" COMP;
23071       }
23072       parts {
23073          part {
23074             name:           "event";
23075             type:           RECT;
23076             repeat_events: 1;
23077             description {
23078                state: "default" 0.0;
23079                color: 0 0 0 0;
23080             }
23081          }
23082          part {
23083             name: "base_sh";
23084             mouse_events: 0;
23085             description {
23086                state: "default" 0.0;
23087                align: 0.0 0.0;
23088                min: 0 10;
23089                fixed: 1 1;
23090                rel1 {
23091                   to: "base";
23092                   relative: 0.0 1.0;
23093                   offset: 0 0;
23094                }
23095                rel2 {
23096                   to: "base";
23097                   relative: 1.0 1.0;
23098                   offset: -1 0;
23099                }
23100                image {
23101                   normal: "ilist_item_shadow.png";
23102                }
23103                fill.smooth: 0;
23104             }
23105          }
23106          part {
23107             name: "base";
23108             mouse_events: 0;
23109             description {
23110                state: "default" 0.0;
23111                image {
23112                   normal: "ilist_1.png";
23113                   border: 2 2 2 2;
23114                }
23115                fill.smooth: 0;
23116             }
23117          }
23118          part { name: "bg";
23119             clip_to: "disclip";
23120             mouse_events: 0;
23121             description { state: "default" 0.0;
23122                visible: 0;
23123                color: 255 255 255 0;
23124                rel1 {
23125                   relative: 0.0 0.0;
23126                   offset: -5 -5;
23127                }
23128                rel2 {
23129                   relative: 1.0 1.0;
23130                   offset: 4 4;
23131                }
23132                image {
23133                   normal: "bt_sm_base1.png";
23134                   border: 6 6 6 6;
23135                }
23136                image.middle: SOLID;
23137             }
23138             description { state: "selected" 0.0;
23139                inherit: "default" 0.0;
23140                visible: 1;
23141                color: 255 255 255 255;
23142                rel1 {
23143                   relative: 0.0 0.0;
23144                   offset: -2 -2;
23145                }
23146                rel2 {
23147                   relative: 1.0 1.0;
23148                   offset: 1 1;
23149                }
23150             }
23151          }
23152          part { name: "elm.swallow.pad";
23153             type: SWALLOW;
23154             description { state: "default" 0.0;
23155                fixed: 1 0;
23156                align: 0.0 0.5;
23157                rel1 {
23158                   relative: 0.0  0.0;
23159                   offset:   4    4;
23160                }
23161                rel2 {
23162                   relative: 0.0  1.0;
23163                   offset:   4   -5;
23164                }
23165             }
23166          }
23167          part { name: "arrow";
23168             clip_to: "disclip";
23169             ignore_flags: ON_HOLD;
23170             description { state: "default" 0.0;
23171                fixed: 1 0;
23172                align: 0.0 0.5;
23173                aspect: 1.0 1.0;
23174                rel1 {
23175                   to_x: "elm.swallow.pad";
23176                   relative: 1.0  0.0;
23177                   offset:   -1    4;
23178                }
23179                rel2 {
23180                   to_x: "elm.swallow.pad";
23181                   relative: 1.0  1.0;
23182                   offset:   -1   -5;
23183                }
23184                image.normal: "icon_arrow_right.png";
23185             }
23186             description { state: "active" 0.0;
23187                inherit: "default" 0.0;
23188                image.normal: "icon_arrow_down.png";
23189             }
23190          }
23191          part { name: "elm.swallow.icon";
23192             clip_to: "disclip";
23193             type: SWALLOW;
23194             description { state: "default" 0.0;
23195                fixed: 1 0;
23196                align: 0.5 0.5;
23197                rel1 {
23198                   to_x: "arrow";
23199                   relative: 1.0  0.0;
23200                   offset:   4    4;
23201                }
23202                rel2 {
23203                   relative: 1.0  1.0;
23204                   offset:   -4   -5;
23205                }
23206             }
23207          }
23208          part { name: "elm.text";
23209             clip_to: "disclip";
23210             type:           TEXT;
23211             effect:         SOFT_SHADOW;
23212             mouse_events:   0;
23213             scale: 1;
23214             description {
23215                state: "default" 0.0;
23216 //               min: 16 16;
23217                rel1 {
23218                   to_y:     "elm.swallow.icon";
23219                   relative: 0.0  1.0;
23220                   offset:   0 4;
23221                }
23222                rel2 {
23223                   relative: 1.0  1.0;
23224                   offset:   -5 -5;
23225                }
23226                color: 0 0 0 255;
23227                color3: 0 0 0 0;
23228                text {
23229                   font: "Sans";
23230                   size: 10;
23231                   min: 1 1;
23232 //                  min: 0 1;
23233                   align: 0.5 0.5;
23234                   text_class: "list_item";
23235                }
23236             }
23237             description { state: "selected" 0.0;
23238                inherit: "default" 0.0;
23239                color: 224 224 224 255;
23240                color3: 0 0 0 64;
23241             }
23242          }
23243          part { name: "fg1";
23244             clip_to: "disclip";
23245             mouse_events: 0;
23246             description { state: "default" 0.0;
23247                visible: 0;
23248                color: 255 255 255 0;
23249                rel1.to: "bg";
23250                rel2.relative: 1.0 0.5;
23251                rel2.to: "bg";
23252                image {
23253                   normal: "bt_sm_hilight.png";
23254                   border: 6 6 6 0;
23255                }
23256             }
23257             description { state: "selected" 0.0;
23258                inherit: "default" 0.0;
23259                visible: 1;
23260                color: 255 255 255 255;
23261             }
23262          }
23263          part { name: "fg2";
23264             clip_to: "disclip";
23265             mouse_events: 0;
23266             description { state: "default" 0.0;
23267                visible: 0;
23268                color: 255 255 255 0;
23269                rel1.to: "bg";
23270                rel2.to: "bg";
23271                image {
23272                   normal: "bt_sm_shine.png";
23273                   border: 6 6 6 0;
23274                }
23275             }
23276             description { state: "selected" 0.0;
23277                inherit: "default" 0.0;
23278                visible: 1;
23279                color: 255 255 255 255;
23280             }
23281          }
23282          part { name: "disclip";
23283             type: RECT;
23284             description { state: "default" 0.0;
23285                rel1.to: "bg";
23286                rel2.to: "bg";
23287             }
23288             description { state: "disabled" 0.0;
23289                inherit: "default" 0.0;
23290                color: 255 255 255 64;
23291             }
23292          }
23293       }
23294       programs {
23295          // signal: elm,state,%s,active
23296          //   a "check" item named %s went active
23297          // signal: elm,state,%s,passive
23298          //   a "check" item named %s went passive
23299          // default is passive
23300          program {
23301             name:    "go_active";
23302             signal:  "elm,state,selected";
23303             source:  "elm";
23304             action:  STATE_SET "selected" 0.0;
23305             target:  "bg";
23306             target:  "fg1";
23307             target:  "fg2";
23308             target:  "elm.text";
23309          }
23310          program {
23311             name:    "go_passive";
23312             signal:  "elm,state,unselected";
23313             source:  "elm";
23314             action:  STATE_SET "default" 0.0;
23315             target:  "bg";
23316             target:  "fg1";
23317             target:  "fg2";
23318             target:  "elm.text";
23319             transition: LINEAR 0.1;
23320          }
23321          program {
23322             name:    "go_disabled";
23323             signal:  "elm,state,disabled";
23324             source:  "elm";
23325             action:  STATE_SET "disabled" 0.0;
23326             target:  "disclip";
23327          }
23328          program {
23329             name:    "go_enabled";
23330             signal:  "elm,state,enabled";
23331             source:  "elm";
23332             action:  STATE_SET "default" 0.0;
23333             target:  "disclip";
23334          }
23335          program {
23336             name:    "expand";
23337             signal:  "mouse,up,1";
23338             source:  "arrow";
23339             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
23340          }
23341          program {
23342             name:    "go_expanded";
23343             signal:  "elm,state,expanded";
23344             source:  "elm";
23345             action:  STATE_SET "active" 0.0;
23346             target:  "arrow";
23347          }
23348          program {
23349             name:    "go_contracted";
23350             signal:  "elm,state,contracted";
23351             source:  "elm";
23352             action:  STATE_SET "default" 0.0;
23353             target:  "arrow";
23354          }
23355       }
23356    }
23357    group { name: "elm/genlist/tree_odd/icon_top_text_bottom/default";
23358       data.item: "stacking" "below";
23359       data.item: "selectraise" "on";
23360       data.item: "labels" "elm.text";
23361       data.item: "icons" "elm.swallow.icon";
23362       data.item: "treesize" "20";
23363 //      data.item: "states" "";
23364       images {
23365          image: "bt_sm_base1.png" COMP;
23366          image: "bt_sm_shine.png" COMP;
23367          image: "bt_sm_hilight.png" COMP;
23368          image: "ilist_2.png" COMP;
23369          image: "icon_arrow_right.png" COMP;
23370          image: "icon_arrow_down.png" COMP;
23371       }
23372       parts {
23373          part {
23374             name:           "event";
23375             type:           RECT;
23376             repeat_events: 1;
23377             description {
23378                state: "default" 0.0;
23379                color: 0 0 0 0;
23380             }
23381          }
23382          part {
23383             name: "base";
23384             mouse_events: 0;
23385             description {
23386                state: "default" 0.0;
23387                image {
23388                   normal: "ilist_2.png";
23389                   border: 2 2 2 2;
23390                }
23391                fill.smooth: 0;
23392             }
23393          }
23394          part { name: "bg";
23395             clip_to: "disclip";
23396             mouse_events: 0;
23397             description { state: "default" 0.0;
23398                visible: 0;
23399                color: 255 255 255 0;
23400                rel1 {
23401                   relative: 0.0 0.0;
23402                   offset: -5 -5;
23403                }
23404                rel2 {
23405                   relative: 1.0 1.0;
23406                   offset: 4 4;
23407                }
23408                image {
23409                   normal: "bt_sm_base1.png";
23410                   border: 6 6 6 6;
23411                }
23412                image.middle: SOLID;
23413             }
23414             description { state: "selected" 0.0;
23415                inherit: "default" 0.0;
23416                visible: 1;
23417                color: 255 255 255 255;
23418                rel1 {
23419                   relative: 0.0 0.0;
23420                   offset: -2 -2;
23421                }
23422                rel2 {
23423                   relative: 1.0 1.0;
23424                   offset: 1 1;
23425                }
23426             }
23427          }
23428          part { name: "elm.swallow.pad";
23429             type: SWALLOW;
23430             description { state: "default" 0.0;
23431                fixed: 1 0;
23432                align: 0.0 0.5;
23433                rel1 {
23434                   relative: 0.0  0.0;
23435                   offset:   4    4;
23436                }
23437                rel2 {
23438                   relative: 0.0  1.0;
23439                   offset:   4   -5;
23440                }
23441             }
23442          }
23443          part { name: "arrow";
23444             clip_to: "disclip";
23445             ignore_flags: ON_HOLD;
23446             description { state: "default" 0.0;
23447                fixed: 1 0;
23448                align: 0.0 0.5;
23449                aspect: 1.0 1.0;
23450                rel1 {
23451                   to_x: "elm.swallow.pad";
23452                   relative: 1.0  0.0;
23453                   offset:   -1    4;
23454                }
23455                rel2 {
23456                   to_x: "elm.swallow.pad";
23457                   relative: 1.0  1.0;
23458                   offset:   -1   -5;
23459                }
23460                image.normal: "icon_arrow_right.png";
23461             }
23462             description { state: "active" 0.0;
23463                inherit: "default" 0.0;
23464                image.normal: "icon_arrow_down.png";
23465             }
23466          }
23467          part { name: "elm.swallow.icon";
23468             clip_to: "disclip";
23469             type: SWALLOW;
23470             description { state: "default" 0.0;
23471                fixed: 1 0;
23472                align: 0.5 0.5;
23473                rel1 {
23474                   to_x: "arrow";
23475                   relative: 1.0  0.0;
23476                   offset:   4    4;
23477                }
23478                rel2 {
23479                   relative: 1.0  1.0;
23480                   offset:   -4   -5;
23481                }
23482             }
23483          }
23484          part { name: "elm.text";
23485             clip_to: "disclip";
23486             type:           TEXT;
23487             effect:         SOFT_SHADOW;
23488             mouse_events:   0;
23489             scale: 1;
23490             description {
23491                state: "default" 0.0;
23492 //               min: 16 16;
23493                rel1 {
23494                   to_y:     "elm.swallow.icon";
23495                   relative: 0.0  1.0;
23496                   offset:   0 4;
23497                }
23498                rel2 {
23499                   relative: 1.0  1.0;
23500                   offset:   -5 -5;
23501                }
23502                color: 0 0 0 255;
23503                color3: 0 0 0 0;
23504                text {
23505                   font: "Sans";
23506                   size: 10;
23507                   min: 1 1;
23508 //                  min: 0 1;
23509                   align: 0.5 0.5;
23510                   text_class: "list_item";
23511                }
23512             }
23513             description { state: "selected" 0.0;
23514                inherit: "default" 0.0;
23515                color: 224 224 224 255;
23516                color3: 0 0 0 64;
23517             }
23518          }
23519          part { name: "fg1";
23520             clip_to: "disclip";
23521             mouse_events: 0;
23522             description { state: "default" 0.0;
23523                visible: 0;
23524                color: 255 255 255 0;
23525                rel1.to: "bg";
23526                rel2.relative: 1.0 0.5;
23527                rel2.to: "bg";
23528                image {
23529                   normal: "bt_sm_hilight.png";
23530                   border: 6 6 6 0;
23531                }
23532             }
23533             description { state: "selected" 0.0;
23534                inherit: "default" 0.0;
23535                visible: 1;
23536                color: 255 255 255 255;
23537             }
23538          }
23539          part { name: "fg2";
23540             clip_to: "disclip";
23541             mouse_events: 0;
23542             description { state: "default" 0.0;
23543                visible: 0;
23544                color: 255 255 255 0;
23545                rel1.to: "bg";
23546                rel2.to: "bg";
23547                image {
23548                   normal: "bt_sm_shine.png";
23549                   border: 6 6 6 0;
23550                }
23551             }
23552             description { state: "selected" 0.0;
23553                inherit: "default" 0.0;
23554                visible: 1;
23555                color: 255 255 255 255;
23556             }
23557          }
23558          part { name: "disclip";
23559             type: RECT;
23560             description { state: "default" 0.0;
23561                rel1.to: "bg";
23562                rel2.to: "bg";
23563             }
23564             description { state: "disabled" 0.0;
23565                inherit: "default" 0.0;
23566                color: 255 255 255 64;
23567             }
23568          }
23569       }
23570       programs {
23571          // signal: elm,state,%s,active
23572          //   a "check" item named %s went active
23573          // signal: elm,state,%s,passive
23574          //   a "check" item named %s went passive
23575          // default is passive
23576          program {
23577             name:    "go_active";
23578             signal:  "elm,state,selected";
23579             source:  "elm";
23580             action:  STATE_SET "selected" 0.0;
23581             target:  "bg";
23582             target:  "fg1";
23583             target:  "fg2";
23584             target:  "elm.text";
23585          }
23586          program {
23587             name:    "go_passive";
23588             signal:  "elm,state,unselected";
23589             source:  "elm";
23590             action:  STATE_SET "default" 0.0;
23591             target:  "bg";
23592             target:  "fg1";
23593             target:  "fg2";
23594             target:  "elm.text";
23595             transition: LINEAR 0.1;
23596          }
23597          program {
23598             name:    "go_disabled";
23599             signal:  "elm,state,disabled";
23600             source:  "elm";
23601             action:  STATE_SET "disabled" 0.0;
23602             target:  "disclip";
23603          }
23604          program {
23605             name:    "go_enabled";
23606             signal:  "elm,state,enabled";
23607             source:  "elm";
23608             action:  STATE_SET "default" 0.0;
23609             target:  "disclip";
23610          }
23611          program {
23612             name:    "expand";
23613             signal:  "mouse,up,1";
23614             source:  "arrow";
23615             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
23616          }
23617          program {
23618             name:    "go_expanded";
23619             signal:  "elm,state,expanded";
23620             source:  "elm";
23621             action:  STATE_SET "active" 0.0;
23622             target:  "arrow";
23623          }
23624          program {
23625             name:    "go_contracted";
23626             signal:  "elm,state,contracted";
23627             source:  "elm";
23628             action:  STATE_SET "default" 0.0;
23629             target:  "arrow";
23630          }
23631       }
23632    }
23633
23634
23635 ///////////////////////////////////////////////////////////////////////////////
23636    group { name: "elm/check/base/default";
23637       images {
23638          image: "check_base.png" COMP;
23639          image: "check.png" COMP;
23640          image: "check2.png" COMP;
23641       }
23642       parts {
23643          part { name: "bg";
23644             mouse_events: 0;
23645             scale: 1;
23646             description { state: "default" 0.0;
23647                rel1.offset: 1 1;
23648                rel2.relative: 0.0 1.0;
23649                rel2.offset: 1 -2;
23650                align: 0.0 0.5;
23651                min: 16 16;
23652                max: 16 16;
23653                aspect: 1.0 1.0;
23654                aspect_preference: VERTICAL;
23655                image {
23656                   normal: "check_base.png";
23657                   border: 5 5 5 5;
23658                   middle: 0;
23659                }
23660                fill.smooth : 0;
23661             }
23662          }
23663          part { name: "check";
23664             mouse_events: 0;
23665             scale: 1;
23666             description { state: "default" 0.0;
23667                rel1 {
23668                   to: "bg";
23669                   offset: 1 1;
23670                }
23671                rel2 {
23672                   to: "bg";
23673                   offset: -2 -2;
23674                }
23675                visible: 0;
23676                color: 255 255 255 255;
23677                image.normal: "check.png";
23678             }
23679             description { state: "visible" 0.0;
23680                inherit: "default" 0.0;
23681                visible: 1;
23682             }
23683             description { state: "disabled" 0.0;
23684                inherit: "default" 0.0;
23685                visible: 0;
23686                color: 128 128 128 128;
23687             }
23688             description { state: "disabled_visible" 0.0;
23689                inherit: "default" 0.0;
23690                color: 128 128 128 128;
23691                visible: 1;
23692             }
23693          }
23694          part { name: "elm.swallow.content";
23695             type: SWALLOW;
23696             description { state: "default" 0.0;
23697                fixed: 1 0;
23698                visible: 0;
23699                align: 0.0 0.5;
23700           rel1.to_x: "bg";
23701                rel1.relative: 1.0 0.0;
23702                rel1.offset: 1 1;
23703           rel2.to_x: "bg";
23704                rel2.offset: 1 -2;
23705                rel2.relative: 1.0 1.0;
23706             }
23707             description { state: "visible" 0.0;
23708                inherit: "default" 0.0;
23709           fixed: 1 0;
23710                visible: 1;
23711                aspect: 1.0 1.0;
23712             }
23713             description { state: "disabled" 0.0;
23714                inherit: "default" 0.0;
23715                color: 128 128 128 128;
23716             }
23717             description { state: "disabled_visible" 0.0;
23718                inherit: "default" 0.0;
23719                color: 128 128 128 128;
23720           fixed: 1 0;
23721                visible: 1;
23722                aspect: 1.0 1.0;
23723             }
23724          }
23725          part { name: "elm.text";
23726             type: TEXT;
23727             mouse_events: 0;
23728             scale: 1;
23729             description { state: "default" 0.0;
23730                visible: 0;
23731                rel1.to_x: "elm.swallow.content";
23732                rel1.relative: 1.0 0.0;
23733                rel1.offset: 1 1;
23734                rel2.relative: 1.0 1.0;
23735                rel2.offset: -2 -2;
23736                color: 0 0 0 255;
23737                text {
23738                   font: "Sans,Edje-Vera";
23739                   size: 10;
23740                   min: 0 1;
23741                   align: 0.0 0.5;
23742                }
23743             }
23744             description { state: "visible" 0.0;
23745                inherit: "default" 0.0;
23746                visible: 1;
23747                text.min: 1 1;
23748             }
23749             description { state: "disabled" 0.0;
23750                inherit: "default" 0.0;
23751                color: 0 0 0 128;
23752                color3: 0 0 0 0;
23753             }
23754             description { state: "disabled_visible" 0.0;
23755                inherit: "default" 0.0;
23756                color: 0 0 0 128;
23757                color3: 0 0 0 0;
23758                visible: 1;
23759                text.min: 1 1;
23760             }
23761          }
23762          part { name: "events";
23763             type: RECT;
23764             ignore_flags: ON_HOLD;
23765             description { state: "default" 0.0;
23766                color: 0 0 0 0;
23767             }
23768          }
23769          part { name: "disabler";
23770             type: RECT;
23771             description { state: "default" 0.0;
23772                color: 0 0 0 0;
23773                visible: 0;
23774             }
23775             description { state: "disabled" 0.0;
23776                inherit: "default" 0.0;
23777                visible: 1;
23778             }
23779          }
23780       }
23781       programs {
23782          program { name: "click";
23783             signal: "mouse,up,1";
23784             source: "events";
23785             action: SIGNAL_EMIT "elm,action,check,toggle" "";
23786          }
23787          program { name: "check_on";
23788             signal: "elm,state,check,on";
23789             source: "elm";
23790             action:  STATE_SET "visible" 0.0;
23791             target: "check";
23792          }
23793          program { name: "check_off";
23794             signal: "elm,state,check,off";
23795             source: "elm";
23796             action:  STATE_SET "default" 0.0;
23797             target: "check";
23798          }
23799          program { name: "text_show";
23800             signal: "elm,state,text,visible";
23801             source: "elm";
23802             action:  STATE_SET "visible" 0.0;
23803             target: "elm.text";
23804          }
23805          program { name: "text_hide";
23806             signal: "elm,state,text,hidden";
23807             source: "elm";
23808             action:  STATE_SET "default" 0.0;
23809             target: "elm.text";
23810          }
23811          program { name: "icon_show";
23812             signal: "elm,state,icon,visible";
23813             source: "elm";
23814             action:  STATE_SET "visible" 0.0;
23815             target: "elm.swallow.content";
23816          }
23817          program { name: "icon_hide";
23818             signal: "elm,state,icon,hidden";
23819             source: "elm";
23820             action:  STATE_SET "default" 0.0;
23821             target: "elm.swallow.content";
23822          }
23823          program { name: "disable";
23824             signal: "elm,state,disabled";
23825             source: "elm";
23826             action: STATE_SET "disabled" 0.0;
23827             target: "disabler";
23828             after: "disable_text";
23829          }
23830          program { name: "disable_text";
23831             script {
23832                new st[31];
23833                new Float:vl;
23834                get_state(PART:"elm.text", st, 30, vl);
23835                if (!strcmp(st, "visible"))
23836                  set_state(PART:"elm.text", "disabled_visible", 0.0);
23837                else
23838                  set_state(PART:"elm.text", "disabled", 0.0);
23839
23840                get_state(PART:"elm.swallow.content", st, 30, vl);
23841                if (!strcmp(st, "visible"))
23842                  set_state(PART:"elm.swallow.content", "disabled_visible", 0.0);
23843                else
23844                  set_state(PART:"elm.swallow.content", "disabled", 0.0);
23845
23846                get_state(PART:"check", st, 30, vl);
23847                if (!strcmp(st, "visible"))
23848                  set_state(PART:"check", "disabled_visible", 0.0);
23849                else
23850                  set_state(PART:"check", "disabled", 0.0);
23851             }
23852          }
23853          program { name: "enable";
23854             signal: "elm,state,enabled";
23855             source: "elm";
23856             action: STATE_SET "default" 0.0;
23857             target: "disabler";
23858             after: "enable_text";
23859          }
23860          program { name: "enable_text";
23861             script {
23862                new st[31];
23863                new Float:vl;
23864                get_state(PART:"elm.text", st, 30, vl);
23865                if (!strcmp(st, "disabled_visible"))
23866                  set_state(PART:"elm.text", "visible", 0.0);
23867                else
23868                  set_state(PART:"elm.text", "default", 0.0);
23869
23870                get_state(PART:"elm.swallow.content", st, 30, vl);
23871                if (!strcmp(st, "visible"))
23872                  set_state(PART:"elm.swallow.content", "visible", 0.0);
23873                else
23874                  set_state(PART:"elm.swallow.content", "default", 0.0);
23875
23876                get_state(PART:"check", st, 30, vl);
23877                if (!strcmp(st, "visible"))
23878                  set_state(PART:"check", "visible", 0.0);
23879                else
23880                  set_state(PART:"check", "default", 0.0);
23881             }
23882          }
23883       }
23884    }
23885 ///////////////////////////////////////////////////////////////////////////////
23886    group { name: "elm/radio/base/default";
23887       images {
23888          image: "radio_base.png" COMP;
23889          image: "radio.png" COMP;
23890          image: "radio2.png" COMP;
23891       }
23892       parts {
23893          part { name: "bg";
23894             mouse_events: 0;
23895             scale: 1;
23896             description { state: "default" 0.0;
23897                rel1.offset: 1 1;
23898                rel2.relative: 0.0 1.0;
23899                rel2.offset: 1 -2;
23900                align: 0.0 0.5;
23901                min: 16 16;
23902                max: 16 16;
23903                aspect: 1.0 1.0;
23904                aspect_preference: VERTICAL;
23905                image.normal: "radio_base.png";
23906             }
23907          }
23908          part { name: "radio";
23909             mouse_events: 0;
23910             scale: 1;
23911             description { state: "default" 0.0;
23912                rel1.to: "bg";
23913                rel2.to: "bg";
23914                visible: 0;
23915                image.normal: "radio.png";
23916             }
23917             description { state: "visible" 0.0;
23918                inherit: "default" 0.0;
23919                visible: 1;
23920             }
23921          }
23922          part { name: "elm.swallow.content";
23923             type: SWALLOW;
23924             description { state: "default" 0.0;
23925                fixed: 1 0;
23926                visible: 0;
23927                align: 0.0 0.5;
23928                color: 0 0 0 0;
23929                rel1.to_x: "bg";
23930                rel1.relative: 1.0 0.0;
23931                rel1.offset: 1 1;
23932                rel2.to_x: "bg";
23933                rel2.relative: 1.0 1.0;
23934                rel2.offset: 2 -2;
23935             }
23936             description { state: "visible" 0.0;
23937                inherit: "default" 0.0;
23938                visible: 1;
23939                color: 255 255 255 255;
23940                aspect: 1.0 1.0;
23941             }
23942             description { state: "disabled" 0.0;
23943                inherit: "default" 0.0;
23944                color: 128 128 128 128;
23945             }
23946             description { state: "disabled_visible" 0.0;
23947                inherit: "default" 0.0;
23948                color: 128 128 128 128;
23949                visible: 1;
23950                aspect: 1.0 1.0;
23951             }
23952          }
23953          part { name: "elm.text";
23954             type: TEXT;
23955             mouse_events: 0;
23956             scale: 1;
23957             description { state: "default" 0.0;
23958                visible: 0;
23959                rel1.to_x: "elm.swallow.content";
23960                rel1.relative: 1.0 0.0;
23961                rel1.offset: 1 1;
23962                rel2.relative: 1.0 1.0;
23963                rel2.offset: -2 -2;
23964                color: 0 0 0 255;
23965                text {
23966                   font: "Sans,Edje-Vera";
23967                   size: 10;
23968                   min: 0 0;
23969                   align: 0.0 0.5;
23970                }
23971             }
23972             description { state: "visible" 0.0;
23973                inherit: "default" 0.0;
23974                visible: 1;
23975                text.min: 1 1;
23976             }
23977             description { state: "disabled" 0.0;
23978                inherit: "default" 0.0;
23979                color: 0 0 0 128;
23980                color3: 0 0 0 0;
23981             }
23982             description { state: "disabled_visible" 0.0;
23983                inherit: "default" 0.0;
23984                color: 0 0 0 128;
23985                color3: 0 0 0 0;
23986                visible: 1;
23987                text.min: 1 1;
23988             }
23989          }
23990          part { name: "events";
23991             type: RECT;
23992             ignore_flags: ON_HOLD;
23993             description { state: "default" 0.0;
23994                color: 0 0 0 0;
23995             }
23996          }
23997          part { name: "disabler";
23998             type: RECT;
23999             description { state: "default" 0.0;
24000                color: 0 0 0 0;
24001                visible: 0;
24002             }
24003             description { state: "disabled" 0.0;
24004                inherit: "default" 0.0;
24005                visible: 1;
24006             }
24007          }
24008       }
24009       programs {
24010          program { name: "click";
24011             signal: "mouse,up,1";
24012             source: "events";
24013             action: SIGNAL_EMIT "elm,action,radio,toggle" "";
24014          }
24015          program { name: "radio_on";
24016             signal: "elm,state,radio,on";
24017             source: "elm";
24018             action:  STATE_SET "visible" 0.0;
24019             target: "radio";
24020          }
24021          program { name: "radio_off";
24022             signal: "elm,state,radio,off";
24023             source: "elm";
24024             action:  STATE_SET "default" 0.0;
24025             target: "radio";
24026          }
24027          program { name: "text_show";
24028             signal: "elm,state,text,visible";
24029             source: "elm";
24030             action:  STATE_SET "visible" 0.0;
24031             target: "elm.text";
24032          }
24033          program { name: "text_hide";
24034             signal: "elm,state,text,hidden";
24035             source: "elm";
24036             action:  STATE_SET "default" 0.0;
24037             target: "elm.text";
24038          }
24039          program { name: "icon_show";
24040             signal: "elm,state,icon,visible";
24041             source: "elm";
24042             action:  STATE_SET "visible" 0.0;
24043             target: "elm.swallow.content";
24044          }
24045          program { name: "icon_hide";
24046             signal: "elm,state,icon,hidden";
24047             source: "elm";
24048             action:  STATE_SET "default" 0.0;
24049             target: "elm.swallow.content";
24050          }
24051          program { name: "disable";
24052             signal: "elm,state,disabled";
24053             source: "elm";
24054             action: STATE_SET "disabled" 0.0;
24055             target: "disabler";
24056             after: "disable_text";
24057          }
24058          program { name: "disable_text";
24059             script {
24060                new st[31];
24061                new Float:vl;
24062                get_state(PART:"elm.text", st, 30, vl);
24063                if (!strcmp(st, "visible"))
24064                  set_state(PART:"elm.text", "disabled_visible", 0.0);
24065                else
24066                  set_state(PART:"elm.text", "disabled", 0.0);
24067
24068                get_state(PART:"elm.swallow.content", st, 30, vl);
24069                if (!strcmp(st, "visible"))
24070                  set_state(PART:"elm.swallow.content", "disabled_visible", 0.0);
24071                else
24072                  set_state(PART:"elm.swallow.content", "disabled", 0.0);
24073             }
24074          }
24075          program { name: "enable";
24076             signal: "elm,state,enabled";
24077             source: "elm";
24078             action: STATE_SET "default" 0.0;
24079             target: "disabler";
24080             after: "enable_text";
24081          }
24082          program { name: "enable_text";
24083             script {
24084                new st[31];
24085                new Float:vl;
24086                get_state(PART:"elm.text", st, 30, vl);
24087                if (!strcmp(st, "disabled_visible"))
24088                  set_state(PART:"elm.text", "visible", 0.0);
24089                else
24090                  set_state(PART:"elm.text", "default", 0.0);
24091
24092                get_state(PART:"elm.swallow.content", st, 30, vl);
24093                if (!strcmp(st, "visible"))
24094                  set_state(PART:"elm.swallow.content", "visible", 0.0);
24095                else
24096                  set_state(PART:"elm.swallow.content", "default", 0.0);
24097             }
24098          }
24099       }
24100    }
24101    group { name: "elm/genlist/tree_compress_odd/double_label/default";
24102       data.item: "stacking" "below";
24103       data.item: "selectraise" "on";
24104       data.item: "labels" "elm.text elm.text.sub";
24105       data.item: "icons" "elm.swallow.icon elm.swallow.end";
24106       data.item: "treesize" "20";
24107 //      data.item: "states" "";
24108       images {
24109          image: "bt_sm_base1.png" COMP;
24110          image: "bt_sm_shine.png" COMP;
24111          image: "bt_sm_hilight.png" COMP;
24112          image: "ilist_2.png" COMP;
24113          image: "icon_arrow_right.png" COMP;
24114          image: "icon_arrow_down.png" COMP;
24115       }
24116       parts {
24117          part {
24118             name:           "event";
24119             type:           RECT;
24120             repeat_events: 1;
24121             description {
24122                state: "default" 0.0;
24123                color: 0 0 0 0;
24124             }
24125          }
24126          part {
24127             name: "base";
24128             mouse_events: 0;
24129             description {
24130                state: "default" 0.0;
24131                image {
24132                   normal: "ilist_2.png";
24133                   border: 2 2 2 2;
24134                }
24135                fill.smooth: 0;
24136             }
24137          }
24138          part { name: "bg";
24139             clip_to: "disclip";
24140             mouse_events: 0;
24141             description { state: "default" 0.0;
24142                visible: 0;
24143                color: 255 255 255 0;
24144                rel1 {
24145                   relative: 0.0 0.0;
24146                   offset: -5 -5;
24147                }
24148                rel2 {
24149                   relative: 1.0 1.0;
24150                   offset: 4 4;
24151                }
24152                image {
24153                   normal: "bt_sm_base1.png";
24154                   border: 6 6 6 6;
24155                }
24156                image.middle: SOLID;
24157             }
24158             description { state: "selected" 0.0;
24159                inherit: "default" 0.0;
24160                visible: 1;
24161                color: 255 255 255 255;
24162                rel1 {
24163                   relative: 0.0 0.0;
24164                   offset: -2 -2;
24165                }
24166                rel2 {
24167                   relative: 1.0 1.0;
24168                   offset: 1 1;
24169                }
24170             }
24171          }
24172          part { name: "elm.swallow.pad";
24173             type: SWALLOW;
24174             description { state: "default" 0.0;
24175                fixed: 1 0;
24176                align: 0.0 0.5;
24177                rel1 {
24178                   relative: 0.0  0.0;
24179                   offset:   4    4;
24180                }
24181                rel2 {
24182                   relative: 0.0  1.0;
24183                   offset:   4   -5;
24184                }
24185             }
24186          }
24187          part { name: "arrow";
24188             clip_to: "disclip";
24189             ignore_flags: ON_HOLD;
24190             description { state: "default" 0.0;
24191                fixed: 1 0;
24192                align: 0.0 0.5;
24193                aspect: 1.0 1.0;
24194                rel1 {
24195                   to_x: "elm.swallow.pad";
24196                   relative: 1.0  0.0;
24197                   offset:   -1    4;
24198                }
24199                rel2 {
24200                   to_x: "elm.swallow.pad";
24201                   relative: 1.0  1.0;
24202                   offset:   -1   -5;
24203                }
24204                image.normal: "icon_arrow_right.png";
24205             }
24206             description { state: "active" 0.0;
24207                inherit: "default" 0.0;
24208                image.normal: "icon_arrow_down.png";
24209             }
24210          }
24211          part { name: "elm.swallow.icon";
24212             clip_to: "disclip";
24213             type: SWALLOW;
24214             description { state: "default" 0.0;
24215                fixed: 1 0;
24216                align: 0.0 0.5;
24217                rel1 {
24218                   to_x: "arrow";
24219                   relative: 1.0  0.0;
24220                   offset:   4    4;
24221                }
24222                rel2 {
24223                   to_x: "arrow";
24224                   relative: 1.0  1.0;
24225                   offset:   4   -5;
24226                }
24227             }
24228          }
24229          part { name: "elm.swallow.end";
24230             clip_to: "disclip";
24231             type: SWALLOW;
24232             description { state: "default" 0.0;
24233                fixed: 1 0;
24234                align: 1.0 0.5;
24235                aspect: 1.0 1.0;
24236                aspect_preference: VERTICAL;
24237                rel1 {
24238                   relative: 1.0  0.0;
24239                   offset:   -5    4;
24240                }
24241                rel2 {
24242                   relative: 1.0  1.0;
24243                   offset:   -5   -5;
24244                }
24245             }
24246          }
24247          part { name: "elm.text";
24248             clip_to: "disclip";
24249             type:           TEXT;
24250             effect:         SOFT_SHADOW;
24251             mouse_events:   0;
24252             scale: 1;
24253             description {
24254                state: "default" 0.0;
24255 //               min: 16 16;
24256                rel1 {
24257                   to_x:     "elm.swallow.icon";
24258                   relative: 1.0  0.0;
24259                   offset:   0 4;
24260                }
24261                rel2 {
24262                   to_x:     "elm.swallow.end";
24263                   relative: 0.0  0.5;
24264                   offset:   -1 -5;
24265                }
24266                color: 0 0 0 255;
24267                color3: 0 0 0 0;
24268                text {
24269                   font: "Sans";
24270                   size: 10;
24271 //                  min: 1 1;
24272                   min: 0 1;
24273                   align: 0.0 0.5;
24274                   text_class: "list_item";
24275                }
24276             }
24277             description { state: "selected" 0.0;
24278                inherit: "default" 0.0;
24279                color: 224 224 224 255;
24280                color3: 0 0 0 64;
24281             }
24282          }
24283          part { name: "elm.text.sub";
24284             clip_to: "disclip";
24285             type:           TEXT;
24286             mouse_events:   0;
24287             scale: 1;
24288             description {
24289                state: "default" 0.0;
24290 //               min: 16 16;
24291                rel1 {
24292                   to_x:     "elm.swallow.icon";
24293                   relative: 1.0  0.5;
24294                   offset:   0 4;
24295                }
24296                rel2 {
24297                   to_x:     "elm.swallow.end";
24298                   relative: 0.0  1.0;
24299                   offset:   -1 -5;
24300                }
24301                color: 0 0 0 128;
24302                color3: 0 0 0 0;
24303                text {
24304                   font: "Sans";
24305                   size: 8;
24306 //                  min: 1 1;
24307                   min: 0 1;
24308                   align: 0.0 0.5;
24309                   text_class: "list_item";
24310                }
24311             }
24312             description { state: "selected" 0.0;
24313                inherit: "default" 0.0;
24314                color: 128 128 128 255;
24315                color3: 0 0 0 32;
24316             }
24317          }
24318          part { name: "fg1";
24319             clip_to: "disclip";
24320             mouse_events: 0;
24321             description { state: "default" 0.0;
24322                visible: 0;
24323                color: 255 255 255 0;
24324                rel1.to: "bg";
24325                rel2.relative: 1.0 0.5;
24326                rel2.to: "bg";
24327                image {
24328                   normal: "bt_sm_hilight.png";
24329                   border: 6 6 6 0;
24330                }
24331             }
24332             description { state: "selected" 0.0;
24333                inherit: "default" 0.0;
24334                visible: 1;
24335                color: 255 255 255 255;
24336             }
24337          }
24338          part { name: "fg2";
24339             clip_to: "disclip";
24340             mouse_events: 0;
24341             description { state: "default" 0.0;
24342                visible: 0;
24343                color: 255 255 255 0;
24344                rel1.to: "bg";
24345                rel2.to: "bg";
24346                image {
24347                   normal: "bt_sm_shine.png";
24348                   border: 6 6 6 0;
24349                }
24350             }
24351             description { state: "selected" 0.0;
24352                inherit: "default" 0.0;
24353                visible: 1;
24354                color: 255 255 255 255;
24355             }
24356          }
24357          part { name: "disclip";
24358             type: RECT;
24359             description { state: "default" 0.0;
24360                rel1.to: "bg";
24361                rel2.to: "bg";
24362             }
24363             description { state: "disabled" 0.0;
24364                inherit: "default" 0.0;
24365                color: 255 255 255 64;
24366             }
24367          }
24368       }
24369       programs {
24370          // signal: elm,state,%s,active
24371          //   a "check" item named %s went active
24372          // signal: elm,state,%s,passive
24373          //   a "check" item named %s went passive
24374          // default is passive
24375          program {
24376             name:    "go_active";
24377             signal:  "elm,state,selected";
24378             source:  "elm";
24379             action:  STATE_SET "selected" 0.0;
24380             target:  "bg";
24381             target:  "fg1";
24382             target:  "fg2";
24383             target:  "elm.text";
24384             target:  "elm.text.sub";
24385          }
24386          program {
24387             name:    "go_passive";
24388             signal:  "elm,state,unselected";
24389             source:  "elm";
24390             action:  STATE_SET "default" 0.0;
24391             target:  "bg";
24392             target:  "fg1";
24393             target:  "fg2";
24394             target:  "elm.text";
24395             target:  "elm.text.sub";
24396             transition: LINEAR 0.1;
24397          }
24398          program {
24399             name:    "go_disabled";
24400             signal:  "elm,state,disabled";
24401             source:  "elm";
24402             action:  STATE_SET "disabled" 0.0;
24403             target:  "disclip";
24404          }
24405          program {
24406             name:    "go_enabled";
24407             signal:  "elm,state,enabled";
24408             source:  "elm";
24409             action:  STATE_SET "default" 0.0;
24410             target:  "disclip";
24411          }
24412          program {
24413             name:    "expand";
24414             signal:  "mouse,up,1";
24415             source:  "arrow";
24416             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
24417          }
24418          program {
24419             name:    "go_expanded";
24420             signal:  "elm,state,expanded";
24421             source:  "elm";
24422             action:  STATE_SET "active" 0.0;
24423             target:  "arrow";
24424          }
24425          program {
24426             name:    "go_contracted";
24427             signal:  "elm,state,contracted";
24428             source:  "elm";
24429             action:  STATE_SET "default" 0.0;
24430             target:  "arrow";
24431          }
24432       }
24433    }
24434
24435    group { name: "elm/genlist/item_compress/media/default";
24436       data.item: "stacking" "above";
24437       data.item: "selectraise" "on";
24438       data.item: "labels" "elm.text.title elm.text.album-artist";
24439       data.item: "treesize" "20";
24440       images {
24441          image: "bt_sm_base1.png" COMP;
24442          image: "bt_sm_shine.png" COMP;
24443          image: "bt_sm_hilight.png" COMP;
24444          image: "ilist_1.png" COMP;
24445          image: "ilist_item_shadow.png" COMP;
24446       }
24447       parts {
24448          part {
24449             name:           "event";
24450             type:           RECT;
24451             repeat_events: 1;
24452             description {
24453                state: "default" 0.0;
24454                color: 0 0 0 0;
24455             }
24456          }
24457          part {
24458             name: "base_sh";
24459             mouse_events: 0;
24460             description {
24461                state: "default" 0.0;
24462                align: 0.0 0.0;
24463                min: 0 10;
24464                fixed: 1 1;
24465                rel1 {
24466                   to: "base";
24467                   relative: 0.0 1.0;
24468                   offset: 0 0;
24469                }
24470                rel2 {
24471                   to: "base";
24472                   relative: 1.0 1.0;
24473                   offset: -1 0;
24474                }
24475                image {
24476                   normal: "ilist_item_shadow.png";
24477                }
24478                fill.smooth: 0;
24479             }
24480          }
24481          part {
24482             name: "base";
24483             mouse_events: 0;
24484             description {
24485                state: "default" 0.0;
24486                image {
24487                   normal: "ilist_1.png";
24488                   border: 2 2 2 2;
24489                }
24490                fill.smooth: 0;
24491             }
24492          }
24493          part { name: "bg";
24494             clip_to: "disclip";
24495             mouse_events: 0;
24496             description { state: "default" 0.0;
24497                visible: 0;
24498                color: 255 255 255 0;
24499                rel1 {
24500                   relative: 0.0 0.0;
24501                   offset: -5 -5;
24502                }
24503                rel2 {
24504                   relative: 1.0 1.0;
24505                   offset: 4 4;
24506                }
24507                image {
24508                   normal: "bt_sm_base1.png";
24509                   border: 6 6 6 6;
24510                }
24511                image.middle: SOLID;
24512             }
24513             description { state: "selected" 0.0;
24514                inherit: "default" 0.0;
24515                visible: 1;
24516                color: 255 255 255 255;
24517                rel1 {
24518                   relative: 0.0 0.0;
24519                   offset: -2 -2;
24520                }
24521                rel2 {
24522                   relative: 1.0 1.0;
24523                   offset: 1 1;
24524                }
24525             }
24526          }
24527          part { name: "elm.swallow.pad";
24528             type: SWALLOW;
24529             description { state: "default" 0.0;
24530                fixed: 1 0;
24531                align: 0.0 0.5;
24532                rel1 {
24533                   relative: 0.0  0.0;
24534                   offset:   4    4;
24535                }
24536                rel2 {
24537                   relative: 0.0  1.0;
24538                   offset:   4   -5;
24539                }
24540             }
24541          }
24542          part { name: "elm.text.title";
24543             clip_to: "disclip";
24544             type:           TEXT;
24545             effect:         SOFT_SHADOW;
24546             mouse_events:   0;
24547             scale: 1;
24548             description {
24549                state: "default" 0.0;
24550                rel1 {
24551                   relative: 0.0  0.0;
24552                   offset:   4 4;
24553                }
24554                rel2 {
24555                   relative: 1.0  0.5;
24556                   offset:   -1 -5;
24557                }
24558                color: 0 0 0 255;
24559                color3: 0 0 0 0;
24560                text {
24561                   font: "Sans";
24562                   size: 10;
24563                   min: 0 1;
24564                   align: 0.0 0.5;
24565                }
24566             }
24567             description { state: "selected" 0.0;
24568                inherit: "default" 0.0;
24569                color: 224 224 224 255;
24570                color3: 0 0 0 64;
24571             }
24572          }
24573          part { name: "elm.text.album-artist";
24574             clip_to: "disclip";
24575             type:           TEXT;
24576             mouse_events:   0;
24577             scale: 1;
24578             description {
24579                state: "default" 0.0;
24580                rel1 {
24581                   relative: 0.0  0.5;
24582                   offset:   4 4;
24583                }
24584                rel2 {
24585                   relative: 1.0  1.0;
24586                   offset:   -1 -5;
24587                }
24588                color: 0 0 0 128;
24589                color3: 0 0 0 0;
24590                text {
24591                   font: "Sans";
24592                   size: 8;
24593                   min: 0 1;
24594                   align: 0.0 0.5;
24595                }
24596             }
24597             description { state: "selected" 0.0;
24598                inherit: "default" 0.0;
24599                color: 128 128 128 255;
24600                color3: 0 0 0 32;
24601             }
24602          }
24603          part { name: "fg1";
24604             clip_to: "disclip";
24605             mouse_events: 0;
24606             description { state: "default" 0.0;
24607                visible: 0;
24608                color: 255 255 255 0;
24609                rel1.to: "bg";
24610                rel2.relative: 1.0 0.5;
24611                rel2.to: "bg";
24612                image {
24613                   normal: "bt_sm_hilight.png";
24614                   border: 6 6 6 0;
24615                }
24616             }
24617             description { state: "selected" 0.0;
24618                inherit: "default" 0.0;
24619                visible: 1;
24620                color: 255 255 255 255;
24621             }
24622          }
24623          part { name: "fg2";
24624             clip_to: "disclip";
24625             mouse_events: 0;
24626             description { state: "default" 0.0;
24627                visible: 0;
24628                color: 255 255 255 0;
24629                rel1.to: "bg";
24630                rel2.to: "bg";
24631                image {
24632                   normal: "bt_sm_shine.png";
24633                   border: 6 6 6 0;
24634                }
24635             }
24636             description { state: "selected" 0.0;
24637                inherit: "default" 0.0;
24638                visible: 1;
24639                color: 255 255 255 255;
24640             }
24641          }
24642          part { name: "disclip";
24643             type: RECT;
24644             description { state: "default" 0.0;
24645                rel1.to: "bg";
24646                rel2.to: "bg";
24647             }
24648             description { state: "disabled" 0.0;
24649                inherit: "default" 0.0;
24650                color: 255 255 255 64;
24651             }
24652          }
24653       }
24654       programs {
24655          // signal: elm,state,%s,active
24656          //   a "check" item named %s went active
24657          // signal: elm,state,%s,passive
24658          //   a "check" item named %s went passive
24659          // default is passive
24660          program {
24661             name:    "go_active";
24662             signal:  "elm,state,selected";
24663             source:  "elm";
24664             action:  STATE_SET "selected" 0.0;
24665             target:  "bg";
24666             target:  "fg1";
24667             target:  "fg2";
24668             target:  "elm.text.title";
24669             target:  "elm.text.album-artist";
24670          }
24671          program {
24672             name:    "go_passive";
24673             signal:  "elm,state,unselected";
24674             source:  "elm";
24675             action:  STATE_SET "default" 0.0;
24676             target:  "bg";
24677             target:  "fg1";
24678             target:  "fg2";
24679             target:  "elm.text.title";
24680             target:  "elm.text.album-artist";
24681             transition: LINEAR 0.1;
24682          }
24683          program {
24684             name:    "go_disabled";
24685             signal:  "elm,state,disabled";
24686             source:  "elm";
24687             action:  STATE_SET "disabled" 0.0;
24688             target:  "disclip";
24689          }
24690          program {
24691             name:    "go_enabled";
24692             signal:  "elm,state,enabled";
24693             source:  "elm";
24694             action:  STATE_SET "default" 0.0;
24695             target:  "disclip";
24696          }
24697       }
24698    }
24699    group { name: "elm/genlist/item_compress_odd/media/default";
24700       data.item: "stacking" "below";
24701       data.item: "selectraise" "on";
24702       data.item: "labels" "elm.text.title elm.text.album-artist";
24703       data.item: "treesize" "20";
24704       images {
24705          image: "bt_sm_base1.png" COMP;
24706          image: "bt_sm_shine.png" COMP;
24707          image: "bt_sm_hilight.png" COMP;
24708          image: "ilist_2.png" COMP;
24709       }
24710       parts {
24711          part { name: "event";
24712             type: RECT;
24713             repeat_events: 1;
24714             description {
24715                state: "default" 0.0;
24716                color: 0 0 0 0;
24717             }
24718          }
24719          part {
24720             name: "base";
24721             mouse_events: 0;
24722             description {
24723                state: "default" 0.0;
24724                image {
24725                   normal: "ilist_2.png";
24726                   border: 2 2 2 2;
24727                }
24728                fill.smooth: 0;
24729             }
24730          }
24731          part { name: "bg";
24732             clip_to: "disclip";
24733             mouse_events: 0;
24734             description { state: "default" 0.0;
24735                visible: 0;
24736                color: 255 255 255 0;
24737                rel1 {
24738                   relative: 0.0 0.0;
24739                   offset: -5 -5;
24740                }
24741                rel2 {
24742                   relative: 1.0 1.0;
24743                   offset: 4 4;
24744                }
24745                image {
24746                   normal: "bt_sm_base1.png";
24747                   border: 6 6 6 6;
24748                }
24749                image.middle: SOLID;
24750             }
24751             description { state: "selected" 0.0;
24752                inherit: "default" 0.0;
24753                visible: 1;
24754                color: 255 255 255 255;
24755                rel1 {
24756                   relative: 0.0 0.0;
24757                   offset: -2 -2;
24758                }
24759                rel2 {
24760                   relative: 1.0 1.0;
24761                   offset: 1 1;
24762                }
24763             }
24764          }
24765          part { name: "elm.swallow.pad";
24766             type: SWALLOW;
24767             description { state: "default" 0.0;
24768                fixed: 1 0;
24769                align: 0.0 0.5;
24770                rel1 {
24771                   relative: 0.0  0.0;
24772                   offset:   4    4;
24773                }
24774                rel2 {
24775                   relative: 0.0  1.0;
24776                   offset:   4   -5;
24777                }
24778             }
24779          }
24780          part { name: "elm.text.title";
24781             clip_to: "disclip";
24782             type:           TEXT;
24783             effect:         SOFT_SHADOW;
24784             mouse_events:   0;
24785             scale: 1;
24786             description {
24787                state: "default" 0.0;
24788                rel1 {
24789                   relative: 0.0  0.0;
24790                   offset:   4 4;
24791                }
24792                rel2 {
24793                   relative: 1.0  0.5;
24794                   offset:   -1 -5;
24795                }
24796                color: 0 0 0 255;
24797                color3: 0 0 0 0;
24798                text {
24799                   font: "Sans";
24800                   size: 10;
24801                   min: 0 1;
24802                   align: 0.0 0.5;
24803                }
24804             }
24805             description { state: "selected" 0.0;
24806                inherit: "default" 0.0;
24807                color: 224 224 224 255;
24808                color3: 0 0 0 64;
24809             }
24810          }
24811          part { name: "elm.text.album-artist";
24812             clip_to: "disclip";
24813             type:           TEXT;
24814             mouse_events:   0;
24815             scale: 1;
24816             description {
24817                state: "default" 0.0;
24818                rel1 {
24819                   relative: 0.0  0.5;
24820                   offset:   4 4;
24821                }
24822                rel2 {
24823                   relative: 1.0  1.0;
24824                   offset:   -1 -5;
24825                }
24826                color: 0 0 0 128;
24827                color3: 0 0 0 0;
24828                text {
24829                   font: "Sans";
24830                   size: 8;
24831                   min: 0 1;
24832                   align: 0.0 0.5;
24833                }
24834             }
24835             description { state: "selected" 0.0;
24836                inherit: "default" 0.0;
24837                color: 128 128 128 255;
24838                color3: 0 0 0 32;
24839             }
24840          }
24841          part { name: "fg1";
24842             clip_to: "disclip";
24843             mouse_events: 0;
24844             description { state: "default" 0.0;
24845                visible: 0;
24846                color: 255 255 255 0;
24847                rel1.to: "bg";
24848                rel2.relative: 1.0 0.5;
24849                rel2.to: "bg";
24850                image {
24851                   normal: "bt_sm_hilight.png";
24852                   border: 6 6 6 0;
24853                }
24854             }
24855             description { state: "selected" 0.0;
24856                inherit: "default" 0.0;
24857                visible: 1;
24858                color: 255 255 255 255;
24859             }
24860          }
24861          part { name: "fg2";
24862             clip_to: "disclip";
24863             mouse_events: 0;
24864             description { state: "default" 0.0;
24865                visible: 0;
24866                color: 255 255 255 0;
24867                rel1.to: "bg";
24868                rel2.to: "bg";
24869                image {
24870                   normal: "bt_sm_shine.png";
24871                   border: 6 6 6 0;
24872                }
24873             }
24874             description { state: "selected" 0.0;
24875                inherit: "default" 0.0;
24876                visible: 1;
24877                color: 255 255 255 255;
24878             }
24879          }
24880          part { name: "disclip";
24881             type: RECT;
24882             description { state: "default" 0.0;
24883                rel1.to: "bg";
24884                rel2.to: "bg";
24885             }
24886             description { state: "disabled" 0.0;
24887                inherit: "default" 0.0;
24888                color: 255 255 255 64;
24889             }
24890          }
24891       }
24892       programs {
24893          // signal: elm,state,%s,active
24894          //   a "check" item named %s went active
24895          // signal: elm,state,%s,passive
24896          //   a "check" item named %s went passive
24897          // default is passive
24898          program {
24899             name:    "go_active";
24900             signal:  "elm,state,selected";
24901             source:  "elm";
24902             action:  STATE_SET "selected" 0.0;
24903             target:  "bg";
24904             target:  "fg1";
24905             target:  "fg2";
24906             target:  "elm.text.title";
24907             target:  "elm.text.album-artist";
24908          }
24909          program {
24910             name:    "go_passive";
24911             signal:  "elm,state,unselected";
24912             source:  "elm";
24913             action:  STATE_SET "default" 0.0;
24914             target:  "bg";
24915             target:  "fg1";
24916             target:  "fg2";
24917             target:  "elm.text.title";
24918             target:  "elm.text.album-artist";
24919             transition: LINEAR 0.1;
24920          }
24921          program {
24922             name:    "go_disabled";
24923             signal:  "elm,state,disabled";
24924             source:  "elm";
24925             action:  STATE_SET "disabled" 0.0;
24926             target:  "disclip";
24927          }
24928          program {
24929             name:    "go_enabled";
24930             signal:  "elm,state,enabled";
24931             source:  "elm";
24932             action:  STATE_SET "default" 0.0;
24933             target:  "disclip";
24934          }
24935       }
24936    }
24937
24938    group { name: "elm/genlist/item_compress/media-album/default";
24939       data.item: "stacking" "above";
24940       data.item: "selectraise" "on";
24941       data.item: "labels" "elm.text.title elm.text.trackno elm.text.length";
24942       data.item: "states" "elm.state.trackno";
24943       data.item: "treesize" "20";
24944       images {
24945          image: "bt_sm_base1.png" COMP;
24946          image: "bt_sm_shine.png" COMP;
24947          image: "bt_sm_hilight.png" COMP;
24948          image: "ilist_1.png" COMP;
24949          image: "ilist_item_shadow.png" COMP;
24950       }
24951       script {
24952          public dot_visible;
24953       }
24954       parts {
24955          part {
24956             name: "event";
24957             type: RECT;
24958             repeat_events: 1;
24959             description {
24960                state: "default" 0.0;
24961                color: 0 0 0 0;
24962             }
24963          }
24964          part {
24965             name: "base_sh";
24966             mouse_events: 0;
24967             description {
24968                state: "default" 0.0;
24969                align: 0.0 0.0;
24970                min: 0 10;
24971                fixed: 1 1;
24972                rel1 {
24973                   to: "base";
24974                   relative: 0.0 1.0;
24975                   offset: 0 0;
24976                }
24977                rel2 {
24978                   to: "base";
24979                   relative: 1.0 1.0;
24980                   offset: -1 0;
24981                }
24982                image {
24983                   normal: "ilist_item_shadow.png";
24984                }
24985                fill.smooth: 0;
24986             }
24987          }
24988          part {
24989             name: "base";
24990             mouse_events: 0;
24991             description {
24992                state: "default" 0.0;
24993                image {
24994                   normal: "ilist_1.png";
24995                   border: 2 2 2 2;
24996                }
24997                fill.smooth: 0;
24998             }
24999          }
25000          part { name: "bg";
25001             clip_to: "disclip";
25002             mouse_events: 0;
25003             description { state: "default" 0.0;
25004                visible: 0;
25005                color: 255 255 255 0;
25006                rel1 {
25007                   relative: 0.0 0.0;
25008                   offset: -5 -5;
25009                }
25010                rel2 {
25011                   relative: 1.0 1.0;
25012                   offset: 4 4;
25013                }
25014                image {
25015                   normal: "bt_sm_base1.png";
25016                   border: 6 6 6 6;
25017                }
25018                image.middle: SOLID;
25019             }
25020             description { state: "selected" 0.0;
25021                inherit: "default" 0.0;
25022                visible: 1;
25023                color: 255 255 255 255;
25024                rel1 {
25025                   relative: 0.0 0.0;
25026                   offset: -2 -2;
25027                }
25028                rel2 {
25029                   relative: 1.0 1.0;
25030                   offset: 1 1;
25031                }
25032             }
25033          }
25034          part { name: "elm.swallow.pad";
25035             type: SWALLOW;
25036             description { state: "default" 0.0;
25037                fixed: 1 0;
25038                align: 0.0 0.5;
25039                rel1 {
25040                   relative: 0.0  0.0;
25041                   offset:   4    4;
25042                }
25043                rel2 {
25044                   relative: 0.0  1.0;
25045                   offset:   4   -5;
25046                }
25047             }
25048          }
25049          part {
25050             name: "elm.text.trackno";
25051             type: TEXT;
25052             scale: 1;
25053             mouse_events: 0;
25054             description {
25055                state: "default" 0.0;
25056                color: 255 255 255 255;
25057                align: 0.0 0.0;
25058                fixed: 1 0;
25059                rel1 {
25060                   to_y: "elm.text.title";
25061                   relative: 0.0 0.0;
25062                   offset: 5 0;
25063                }
25064                rel2 {
25065                   to_y: "elm.text.title";
25066                   relative: 0.0 1.0;
25067                   offset: 20 0;
25068                }
25069                color: 0 0 0 255;
25070                color3: 0 0 0 0;
25071                text {
25072                   font: "Sans";
25073                   size: 10;
25074                   min: 1 1;
25075                   align: 1.0 0.5;
25076                }
25077             }
25078             description { state: "selected" 0.0;
25079                inherit: "default" 0.0;
25080                color: 224 224 224 255;
25081                color3: 0 0 0 64;
25082             }
25083          }
25084          part {
25085             name: "dot";
25086             type: TEXT;
25087             scale: 1;
25088             mouse_events: 0;
25089             description {
25090                state: "default" 0.0;
25091                color: 255 255 255 255;
25092                visible: 0;
25093                fixed: 1 1;
25094                align: 0.0 0.0;
25095                rel1 {
25096                   to_x: "elm.text.trackno";
25097                   to_y: "elm.text.title";
25098                   relative: 1.0 0.0;
25099                   offset: 1 0;
25100                }
25101                rel2 {
25102                   to_x: "elm.text.trackno";
25103                   to_y: "elm.text.title";
25104                   relative: 1.0 1.0;
25105                   offset: 1 0;
25106
25107                }
25108                color: 0 0 0 255;
25109                color3: 0 0 0 0;
25110                text {
25111                   font: "Sans";
25112                   size: 10;
25113                   min: 1 1;
25114                   align: 0.0 0.5;
25115                   text: ".";
25116                }
25117             }
25118             description {
25119                state: "visible" 0.0;
25120                inherit: "default" 0.0;
25121                visible: 1;
25122             }
25123             description { state: "selected" 0.0;
25124                inherit: "default" 0.0;
25125                color: 224 224 224 255;
25126                color3: 0 0 0 64;
25127                visible: 1;
25128             }
25129          }
25130          programs {
25131             program {
25132                signal: "elm,state,elm.state.trackno,active";
25133                source: "elm";
25134                script {
25135                   set_state(PART:"dot", "visible", 0.0);
25136                   set_int(dot_visible, 1);
25137                }
25138             }
25139          }
25140          part { name: "elm.text.title";
25141             clip_to: "disclip";
25142             type:           TEXT;
25143             effect:         SOFT_SHADOW;
25144             mouse_events:   0;
25145             scale: 1;
25146             description {
25147                state: "default" 0.0;
25148                rel1 {
25149                   to_x: "dot";
25150                   relative: 0.0  0.0;
25151                   offset:   4 4;
25152                }
25153                rel2 {
25154                   relative: 1.0  0.5;
25155                   offset:   -1 -5;
25156                }
25157                color: 0 0 0 255;
25158                color3: 0 0 0 0;
25159                text {
25160                   font: "Sans";
25161                   size: 10;
25162                   min: 0 1;
25163                   align: 0.0 0.5;
25164                }
25165             }
25166             description { state: "selected" 0.0;
25167                inherit: "default" 0.0;
25168                color: 224 224 224 255;
25169                color3: 0 0 0 64;
25170             }
25171          }
25172          part { name: "elm.text.length";
25173             clip_to: "disclip";
25174             type:           TEXT;
25175             mouse_events:   0;
25176             scale: 1;
25177             description {
25178                state: "default" 0.0;
25179                rel1 {
25180                   relative: 0.0  0.5;
25181                   offset:   4 4;
25182                }
25183                rel2 {
25184                   relative: 1.0  1.0;
25185                   offset:   -1 -5;
25186                }
25187                color: 0 0 0 128;
25188                color3: 0 0 0 0;
25189                text {
25190                   font: "Sans";
25191                   size: 8;
25192                   min: 0 1;
25193                   align: 0.0 0.5;
25194                }
25195             }
25196             description { state: "selected" 0.0;
25197                inherit: "default" 0.0;
25198                color: 128 128 128 255;
25199                color3: 0 0 0 32;
25200             }
25201          }
25202          part { name: "fg1";
25203             clip_to: "disclip";
25204             mouse_events: 0;
25205             description { state: "default" 0.0;
25206                visible: 0;
25207                color: 255 255 255 0;
25208                rel1.to: "bg";
25209                rel2.relative: 1.0 0.5;
25210                rel2.to: "bg";
25211                image {
25212                   normal: "bt_sm_hilight.png";
25213                   border: 6 6 6 0;
25214                }
25215             }
25216             description { state: "selected" 0.0;
25217                inherit: "default" 0.0;
25218                visible: 1;
25219                color: 255 255 255 255;
25220             }
25221          }
25222          part { name: "fg2";
25223             clip_to: "disclip";
25224             mouse_events: 0;
25225             description { state: "default" 0.0;
25226                visible: 0;
25227                color: 255 255 255 0;
25228                rel1.to: "bg";
25229                rel2.to: "bg";
25230                image {
25231                   normal: "bt_sm_shine.png";
25232                   border: 6 6 6 0;
25233                }
25234             }
25235             description { state: "selected" 0.0;
25236                inherit: "default" 0.0;
25237                visible: 1;
25238                color: 255 255 255 255;
25239             }
25240          }
25241          part { name: "disclip";
25242             type: RECT;
25243             description { state: "default" 0.0;
25244                rel1.to: "bg";
25245                rel2.to: "bg";
25246             }
25247             description { state: "disabled" 0.0;
25248                inherit: "default" 0.0;
25249                color: 255 255 255 64;
25250             }
25251          }
25252       }
25253       programs {
25254          // signal: elm,state,%s,active
25255          //   a "check" item named %s went active
25256          // signal: elm,state,%s,passive
25257          //   a "check" item named %s went passive
25258          // default is passive
25259          program {
25260             name:    "go_active";
25261             signal:  "elm,state,selected";
25262             source:  "elm";
25263             action:  STATE_SET "selected" 0.0;
25264             target:  "bg";
25265             target:  "fg1";
25266             target:  "fg2";
25267             target:  "elm.text.title";
25268             target:  "elm.text.trackno";
25269             target:  "elm.text.length";
25270             after:   "dot_active";
25271          }
25272          program {
25273             name: "dot_active";
25274             script {
25275                if (get_int(dot_visible) == 1)
25276                   set_state(PART:"dot", "selected", 0.0);
25277             }
25278          }
25279          program {
25280             name:    "go_passive";
25281             signal:  "elm,state,unselected";
25282             source:  "elm";
25283             action:  STATE_SET "default" 0.0;
25284             target:  "bg";
25285             target:  "fg1";
25286             target:  "fg2";
25287             target:  "elm.text.title";
25288             target:  "elm.text.length";
25289             target:  "elm.text.trackno";
25290             transition: LINEAR 0.1;
25291             after:   "dot_passive";
25292          }
25293          program {
25294             name: "dot_passive";
25295             script {
25296                if (get_int(dot_visible) == 1)
25297                   set_state(PART:"dot", "visible", 0.0);
25298             }
25299          }
25300          program {
25301             name:    "go_disabled";
25302             signal:  "elm,state,disabled";
25303             source:  "elm";
25304             action:  STATE_SET "disabled" 0.0;
25305             target:  "disclip";
25306          }
25307          program {
25308             name:    "go_enabled";
25309             signal:  "elm,state,enabled";
25310             source:  "elm";
25311             action:  STATE_SET "default" 0.0;
25312             target:  "disclip";
25313          }
25314       }
25315    }
25316    group { name: "elm/genlist/item_compress_odd/media-album/default";
25317       data.item: "stacking" "below";
25318       data.item: "selectraise" "on";
25319       data.item: "labels" "elm.text.title elm.text.trackno elm.text.length";
25320       data.item: "states" "elm.state.trackno";
25321       data.item: "treesize" "20";
25322       images {
25323          image: "bt_sm_base1.png" COMP;
25324          image: "bt_sm_shine.png" COMP;
25325          image: "bt_sm_hilight.png" COMP;
25326          image: "ilist_2.png" COMP;
25327       }
25328       script {
25329          public dot_visible;
25330       }
25331       parts {
25332          part { name: "event";
25333             type: RECT;
25334             repeat_events: 1;
25335             description {
25336                state: "default" 0.0;
25337                color: 0 0 0 0;
25338             }
25339          }
25340          part {
25341             name: "base";
25342             mouse_events: 0;
25343             description {
25344                state: "default" 0.0;
25345                image {
25346                   normal: "ilist_2.png";
25347                   border: 2 2 2 2;
25348                }
25349                fill.smooth: 0;
25350             }
25351          }
25352          part { name: "bg";
25353             clip_to: "disclip";
25354             mouse_events: 0;
25355             description { state: "default" 0.0;
25356                visible: 0;
25357                color: 255 255 255 0;
25358                rel1 {
25359                   relative: 0.0 0.0;
25360                   offset: -5 -5;
25361                }
25362                rel2 {
25363                   relative: 1.0 1.0;
25364                   offset: 4 4;
25365                }
25366                image {
25367                   normal: "bt_sm_base1.png";
25368                   border: 6 6 6 6;
25369                }
25370                image.middle: SOLID;
25371             }
25372             description { state: "selected" 0.0;
25373                inherit: "default" 0.0;
25374                visible: 1;
25375                color: 255 255 255 255;
25376                rel1 {
25377                   relative: 0.0 0.0;
25378                   offset: -2 -2;
25379                }
25380                rel2 {
25381                   relative: 1.0 1.0;
25382                   offset: 1 1;
25383                }
25384             }
25385          }
25386          part { name: "elm.swallow.pad";
25387             type: SWALLOW;
25388             description { state: "default" 0.0;
25389                fixed: 1 0;
25390                align: 0.0 0.5;
25391                rel1 {
25392                   relative: 0.0  0.0;
25393                   offset:   4    4;
25394                }
25395                rel2 {
25396                   relative: 0.0  1.0;
25397                   offset:   4   -5;
25398                }
25399             }
25400          }
25401          part {
25402             name: "elm.text.trackno";
25403             type: TEXT;
25404             scale: 1;
25405             mouse_events: 0;
25406             description {
25407                state: "default" 0.0;
25408                color: 255 255 255 255;
25409                align: 0.0 0.0;
25410                fixed: 1 0;
25411                rel1 {
25412                   to_y: "elm.text.title";
25413                   relative: 0.0 0.0;
25414                   offset: 5 0;
25415                }
25416                rel2 {
25417                   to_y: "elm.text.title";
25418                   relative: 0.0 1.0;
25419                   offset: 20 0;
25420                }
25421                color: 0 0 0 255;
25422                color3: 0 0 0 0;
25423                text {
25424                   font: "Sans";
25425                   size: 10;
25426                   min: 1 1;
25427                   align: 1.0 0.5;
25428                }
25429             }
25430             description { state: "selected" 0.0;
25431                inherit: "default" 0.0;
25432                color: 224 224 224 255;
25433                color3: 0 0 0 64;
25434             }
25435          }
25436          part {
25437             name: "dot";
25438             type: TEXT;
25439             scale: 1;
25440             mouse_events: 0;
25441             description {
25442                state: "default" 0.0;
25443                color: 255 255 255 255;
25444                visible: 0;
25445                fixed: 1 1;
25446                align: 0.0 0.0;
25447                rel1 {
25448                   to_x: "elm.text.trackno";
25449                   to_y: "elm.text.title";
25450                   relative: 1.0 0.0;
25451                   offset: 1 0;
25452                }
25453                rel2 {
25454                   to_x: "elm.text.trackno";
25455                   to_y: "elm.text.title";
25456                   relative: 1.0 1.0;
25457                   offset: 1 0;
25458
25459                }
25460                color: 0 0 0 255;
25461                color3: 0 0 0 0;
25462                text {
25463                   font: "Sans";
25464                   size: 10;
25465                   min: 1 1;
25466                   align: 0.0 0.5;
25467                   text: ".";
25468                }
25469             }
25470             description {
25471                state: "visible" 0.0;
25472                inherit: "default" 0.0;
25473                visible: 1;
25474             }
25475             description { state: "selected" 0.0;
25476                inherit: "default" 0.0;
25477                color: 224 224 224 255;
25478                color3: 0 0 0 64;
25479                visible: 1;
25480             }
25481          }
25482          programs {
25483             program {
25484                signal: "elm,state,elm.state.trackno,active";
25485                source: "elm";
25486                script {
25487                   set_state(PART:"dot", "visible", 0.0);
25488                   set_int(dot_visible, 1);
25489                }
25490             }
25491          }
25492          part { name: "elm.text.title";
25493             clip_to: "disclip";
25494             type:           TEXT;
25495             effect:         SOFT_SHADOW;
25496             mouse_events:   0;
25497             scale: 1;
25498             description {
25499                state: "default" 0.0;
25500                rel1 {
25501                   to_x: "dot";
25502                   relative: 1.0  0.0;
25503                   offset:   4 4;
25504                }
25505                rel2 {
25506                   relative: 1.0  0.5;
25507                   offset:   -1 -5;
25508                }
25509                color: 0 0 0 255;
25510                color3: 0 0 0 0;
25511                text {
25512                   font: "Sans";
25513                   size: 10;
25514                   min: 0 1;
25515                   align: 0.0 0.5;
25516                }
25517             }
25518             description { state: "selected" 0.0;
25519                inherit: "default" 0.0;
25520                color: 224 224 224 255;
25521                color3: 0 0 0 64;
25522             }
25523          }
25524          part { name: "elm.text.length";
25525             clip_to: "disclip";
25526             type:           TEXT;
25527             mouse_events:   0;
25528             scale: 1;
25529             description {
25530                state: "default" 0.0;
25531                rel1 {
25532                   relative: 0.0  0.5;
25533                   offset:   4 4;
25534                }
25535                rel2 {
25536                   relative: 1.0  1.0;
25537                   offset:   -1 -5;
25538                }
25539                color: 0 0 0 128;
25540                color3: 0 0 0 0;
25541                text {
25542                   font: "Sans";
25543                   size: 8;
25544                   min: 0 1;
25545                   align: 0.0 0.5;
25546                }
25547             }
25548             description { state: "selected" 0.0;
25549                inherit: "default" 0.0;
25550                color: 128 128 128 255;
25551                color3: 0 0 0 32;
25552             }
25553          }
25554          part { name: "fg1";
25555             clip_to: "disclip";
25556             mouse_events: 0;
25557             description { state: "default" 0.0;
25558                visible: 0;
25559                color: 255 255 255 0;
25560                rel1.to: "bg";
25561                rel2.relative: 1.0 0.5;
25562                rel2.to: "bg";
25563                image {
25564                   normal: "bt_sm_hilight.png";
25565                   border: 6 6 6 0;
25566                }
25567             }
25568             description { state: "selected" 0.0;
25569                inherit: "default" 0.0;
25570                visible: 1;
25571                color: 255 255 255 255;
25572             }
25573          }
25574          part { name: "fg2";
25575             clip_to: "disclip";
25576             mouse_events: 0;
25577             description { state: "default" 0.0;
25578                visible: 0;
25579                color: 255 255 255 0;
25580                rel1.to: "bg";
25581                rel2.to: "bg";
25582                image {
25583                   normal: "bt_sm_shine.png";
25584                   border: 6 6 6 0;
25585                }
25586             }
25587             description { state: "selected" 0.0;
25588                inherit: "default" 0.0;
25589                visible: 1;
25590                color: 255 255 255 255;
25591             }
25592          }
25593          part { name: "disclip";
25594             type: RECT;
25595             description { state: "default" 0.0;
25596                rel1.to: "bg";
25597                rel2.to: "bg";
25598             }
25599             description { state: "disabled" 0.0;
25600                inherit: "default" 0.0;
25601                color: 255 255 255 64;
25602             }
25603          }
25604       }
25605       programs {
25606          // signal: elm,state,%s,active
25607          //   a "check" item named %s went active
25608          // signal: elm,state,%s,passive
25609          //   a "check" item named %s went passive
25610          // default is passive
25611          program {
25612             name:    "go_active";
25613             signal:  "elm,state,selected";
25614             source:  "elm";
25615             action:  STATE_SET "selected" 0.0;
25616             target:  "bg";
25617             target:  "fg1";
25618             target:  "fg2";
25619             target:  "elm.text.title";
25620             target:  "elm.text.length";
25621             target:  "elm.text.trackno";
25622             after:   "dot_active";
25623          }
25624          program {
25625             name: "dot_active";
25626             script {
25627                if (get_int(dot_visible) == 1)
25628                   set_state(PART:"dot", "selected", 0.0);
25629             }
25630          }
25631          program {
25632             name:    "go_passive";
25633             signal:  "elm,state,unselected";
25634             source:  "elm";
25635             action:  STATE_SET "default" 0.0;
25636             target:  "bg";
25637             target:  "fg1";
25638             target:  "fg2";
25639             target:  "elm.text.title";
25640             target:  "elm.text.length";
25641             target:  "elm.text.trackno";
25642             transition: LINEAR 0.1;
25643             after:   "dot_passive";
25644          }
25645          program {
25646             name: "dot_passive";
25647             script {
25648                if (get_int(dot_visible) == 1)
25649                   set_state(PART:"dot", "visible", 0.0);
25650             }
25651          }
25652          program {
25653             name:    "go_disabled";
25654             signal:  "elm,state,disabled";
25655             source:  "elm";
25656             action:  STATE_SET "disabled" 0.0;
25657             target:  "disclip";
25658          }
25659          program {
25660             name:    "go_enabled";
25661             signal:  "elm,state,enabled";
25662             source:  "elm";
25663             action:  STATE_SET "default" 0.0;
25664             target:  "disclip";
25665          }
25666       }
25667    }
25668
25669    group { name: "elm/genlist/item_compress/media-preview/default";
25670       data.item: "stacking" "above";
25671       data.item: "selectraise" "on";
25672       data.item: "labels" "elm.text.title elm.text.artist";
25673       data.item: "icons" "elm.swallow.preview";
25674       data.item: "treesize" "20";
25675       images {
25676          image: "bt_sm_base1.png" COMP;
25677          image: "bt_sm_shine.png" COMP;
25678          image: "bt_sm_hilight.png" COMP;
25679          image: "ilist_1.png" COMP;
25680          image: "ilist_item_shadow.png" COMP;
25681       }
25682       parts {
25683          part {
25684             name: "event";
25685             type: RECT;
25686             repeat_events: 1;
25687             description {
25688                state: "default" 0.0;
25689                color: 0 0 0 0;
25690             }
25691          }
25692          part {
25693             name: "base_sh";
25694             mouse_events: 0;
25695             description {
25696                state: "default" 0.0;
25697                align: 0.0 0.0;
25698                min: 0 10;
25699                fixed: 1 1;
25700                rel1 {
25701                   to: "base";
25702                   relative: 0.0 1.0;
25703                   offset: 0 0;
25704                }
25705                rel2 {
25706                   to: "base";
25707                   relative: 1.0 1.0;
25708                   offset: -1 0;
25709                }
25710                image {
25711                   normal: "ilist_item_shadow.png";
25712                }
25713                fill.smooth: 0;
25714             }
25715          }
25716          part {
25717             name: "base";
25718             mouse_events: 0;
25719             description {
25720                state: "default" 0.0;
25721                image {
25722                   normal: "ilist_1.png";
25723                   border: 2 2 2 2;
25724                }
25725                fill.smooth: 0;
25726             }
25727          }
25728          part { name: "bg";
25729             clip_to: "disclip";
25730             mouse_events: 0;
25731             description { state: "default" 0.0;
25732                visible: 0;
25733                color: 255 255 255 0;
25734                rel1 {
25735                   relative: 0.0 0.0;
25736                   offset: -5 -5;
25737                }
25738                rel2 {
25739                   relative: 1.0 1.0;
25740                   offset: 4 4;
25741                }
25742                image {
25743                   normal: "bt_sm_base1.png";
25744                   border: 6 6 6 6;
25745                }
25746                image.middle: SOLID;
25747             }
25748             description { state: "selected" 0.0;
25749                inherit: "default" 0.0;
25750                visible: 1;
25751                color: 255 255 255 255;
25752                rel1 {
25753                   relative: 0.0 0.0;
25754                   offset: -2 -2;
25755                }
25756                rel2 {
25757                   relative: 1.0 1.0;
25758                   offset: 1 1;
25759                }
25760             }
25761          }
25762          part { name: "elm.swallow.pad";
25763             type: SWALLOW;
25764             description { state: "default" 0.0;
25765                fixed: 1 0;
25766                align: 0.0 0.5;
25767                rel1 {
25768                   relative: 0.0  0.0;
25769                   offset:   4    4;
25770                }
25771                rel2 {
25772                   relative: 0.0  1.0;
25773                   offset:   4   -5;
25774                }
25775             }
25776          }
25777          part { name: "elm.swallow.preview";
25778             clip_to: "disclip";
25779             type: SWALLOW;
25780             description { state: "default" 0.0;
25781                fixed: 1 0;
25782                align: 0.0 0.5;
25783                min: 68 68;
25784                max: 68 68;
25785                rel1 {
25786                   to_x: "elm.swallow.pad";
25787                   relative: 1.0  0.0;
25788                   offset:   -1    4;
25789                }
25790                rel2 {
25791                   to_x: "elm.swallow.pad";
25792                   relative: 1.0  1.0;
25793                   offset:   -1   -5;
25794                }
25795             }
25796          }
25797          part { name: "elm.text.title";
25798             clip_to: "disclip";
25799             type:           TEXT;
25800             effect:         SOFT_SHADOW;
25801             mouse_events:   0;
25802             scale: 1;
25803             description {
25804                state: "default" 0.0;
25805                rel1 {
25806                   to_x:     "elm.swallow.preview";
25807                   relative: 1.0  0.0;
25808                   offset:   4 4;
25809                }
25810                rel2 {
25811                   relative: 1.0  0.5;
25812                   offset:   -1 -5;
25813                }
25814                color: 0 0 0 255;
25815                color3: 0 0 0 0;
25816                text {
25817                   font: "Sans";
25818                   size: 10;
25819                   min: 0 1;
25820                   align: 0.0 0.5;
25821                }
25822             }
25823             description { state: "selected" 0.0;
25824                inherit: "default" 0.0;
25825                color: 224 224 224 255;
25826                color3: 0 0 0 64;
25827             }
25828          }
25829          part { name: "elm.text.artist";
25830             clip_to: "disclip";
25831             type:           TEXT;
25832             mouse_events:   0;
25833             scale: 1;
25834             description {
25835                state: "default" 0.0;
25836                rel1 {
25837                   to_x:     "elm.swallow.preview";
25838                   relative: 1.0  0.5;
25839                   offset:   4 4;
25840                }
25841                rel2 {
25842                   relative: 1.0  1.0;
25843                   offset:   -1 -5;
25844                }
25845                color: 0 0 0 128;
25846                color3: 0 0 0 0;
25847                text {
25848                   font: "Sans";
25849                   size: 8;
25850                   min: 0 1;
25851                   align: 0.0 0.5;
25852                }
25853             }
25854             description { state: "selected" 0.0;
25855                inherit: "default" 0.0;
25856                color: 128 128 128 255;
25857                color3: 0 0 0 32;
25858             }
25859          }
25860          part { name: "fg1";
25861             clip_to: "disclip";
25862             mouse_events: 0;
25863             description { state: "default" 0.0;
25864                visible: 0;
25865                color: 255 255 255 0;
25866                rel1.to: "bg";
25867                rel2.relative: 1.0 0.5;
25868                rel2.to: "bg";
25869                image {
25870                   normal: "bt_sm_hilight.png";
25871                   border: 6 6 6 0;
25872                }
25873             }
25874             description { state: "selected" 0.0;
25875                inherit: "default" 0.0;
25876                visible: 1;
25877                color: 255 255 255 255;
25878             }
25879          }
25880          part { name: "fg2";
25881             clip_to: "disclip";
25882             mouse_events: 0;
25883             description { state: "default" 0.0;
25884                visible: 0;
25885                color: 255 255 255 0;
25886                rel1.to: "bg";
25887                rel2.to: "bg";
25888                image {
25889                   normal: "bt_sm_shine.png";
25890                   border: 6 6 6 0;
25891                }
25892             }
25893             description { state: "selected" 0.0;
25894                inherit: "default" 0.0;
25895                visible: 1;
25896                color: 255 255 255 255;
25897             }
25898          }
25899          part { name: "disclip";
25900             type: RECT;
25901             description { state: "default" 0.0;
25902                rel1.to: "bg";
25903                rel2.to: "bg";
25904             }
25905             description { state: "disabled" 0.0;
25906                inherit: "default" 0.0;
25907                color: 255 255 255 64;
25908             }
25909          }
25910       }
25911       programs {
25912          // signal: elm,state,%s,active
25913          //   a "check" item named %s went active
25914          // signal: elm,state,%s,passive
25915          //   a "check" item named %s went passive
25916          // default is passive
25917          program {
25918             name:    "go_active";
25919             signal:  "elm,state,selected";
25920             source:  "elm";
25921             action:  STATE_SET "selected" 0.0;
25922             target:  "bg";
25923             target:  "fg1";
25924             target:  "fg2";
25925             target:  "elm.text.title";
25926             target:  "elm.text.artist";
25927          }
25928          program {
25929             name:    "go_passive";
25930             signal:  "elm,state,unselected";
25931             source:  "elm";
25932             action:  STATE_SET "default" 0.0;
25933             target:  "bg";
25934             target:  "fg1";
25935             target:  "fg2";
25936             target:  "elm.text.title";
25937             target:  "elm.text.artist";
25938             transition: LINEAR 0.1;
25939          }
25940          program {
25941             name:    "go_disabled";
25942             signal:  "elm,state,disabled";
25943             source:  "elm";
25944             action:  STATE_SET "disabled" 0.0;
25945             target:  "disclip";
25946          }
25947          program {
25948             name:    "go_enabled";
25949             signal:  "elm,state,enabled";
25950             source:  "elm";
25951             action:  STATE_SET "default" 0.0;
25952             target:  "disclip";
25953          }
25954       }
25955    }
25956    group { name: "elm/genlist/item_compress_odd/media-preview/default";
25957       data.item: "stacking" "below";
25958       data.item: "selectraise" "on";
25959       data.item: "labels" "elm.text.title elm.text.artist";
25960       data.item: "icons" "elm.swallow.preview";
25961       data.item: "treesize" "20";
25962       images {
25963          image: "bt_sm_base1.png" COMP;
25964          image: "bt_sm_shine.png" COMP;
25965          image: "bt_sm_hilight.png" COMP;
25966          image: "ilist_2.png" COMP;
25967       }
25968       parts {
25969          part { name: "event";
25970             type: RECT;
25971             repeat_events: 1;
25972             description {
25973                state: "default" 0.0;
25974                color: 0 0 0 0;
25975             }
25976          }
25977          part {
25978             name: "base";
25979             mouse_events: 0;
25980             description {
25981                state: "default" 0.0;
25982                image {
25983                   normal: "ilist_2.png";
25984                   border: 2 2 2 2;
25985                }
25986                fill.smooth: 0;
25987             }
25988          }
25989          part { name: "bg";
25990             clip_to: "disclip";
25991             mouse_events: 0;
25992             description { state: "default" 0.0;
25993                visible: 0;
25994                color: 255 255 255 0;
25995                rel1 {
25996                   relative: 0.0 0.0;
25997                   offset: -5 -5;
25998                }
25999                rel2 {
26000                   relative: 1.0 1.0;
26001                   offset: 4 4;
26002                }
26003                image {
26004                   normal: "bt_sm_base1.png";
26005                   border: 6 6 6 6;
26006                }
26007                image.middle: SOLID;
26008             }
26009             description { state: "selected" 0.0;
26010                inherit: "default" 0.0;
26011                visible: 1;
26012                color: 255 255 255 255;
26013                rel1 {
26014                   relative: 0.0 0.0;
26015                   offset: -2 -2;
26016                }
26017                rel2 {
26018                   relative: 1.0 1.0;
26019                   offset: 1 1;
26020                }
26021             }
26022          }
26023          part { name: "elm.swallow.pad";
26024             type: SWALLOW;
26025             description { state: "default" 0.0;
26026                fixed: 1 0;
26027                align: 0.0 0.5;
26028                rel1 {
26029                   relative: 0.0  0.0;
26030                   offset:   4    4;
26031                }
26032                rel2 {
26033                   relative: 0.0  1.0;
26034                   offset:   4   -5;
26035                }
26036             }
26037          }
26038          part { name: "elm.swallow.preview";
26039             clip_to: "disclip";
26040             type: SWALLOW;
26041             description { state: "default" 0.0;
26042                fixed: 1 0;
26043                align: 0.0 0.5;
26044                min: 68 68;
26045                max: 68 68;
26046                rel1 {
26047                   to_x: "elm.swallow.pad";
26048                   relative: 1.0  0.0;
26049                   offset:   -1    4;
26050                }
26051                rel2 {
26052                   to_x: "elm.swallow.pad";
26053                   relative: 1.0  1.0;
26054                   offset:   -1   -5;
26055                }
26056             }
26057          }
26058          part { name: "elm.text.title";
26059             clip_to: "disclip";
26060             type:           TEXT;
26061             effect:         SOFT_SHADOW;
26062             mouse_events:   0;
26063             scale: 1;
26064             description {
26065                state: "default" 0.0;
26066                rel1 {
26067                   to_x:     "elm.swallow.preview";
26068                   relative: 1.0  0.0;
26069                   offset:   4 4;
26070                }
26071                rel2 {
26072                   relative: 1.0  0.5;
26073                   offset:   -1 -5;
26074                }
26075                color: 0 0 0 255;
26076                color3: 0 0 0 0;
26077                text {
26078                   font: "Sans";
26079                   size: 10;
26080                   min: 0 1;
26081                   align: 0.0 0.5;
26082                }
26083             }
26084             description { state: "selected" 0.0;
26085                inherit: "default" 0.0;
26086                color: 224 224 224 255;
26087                color3: 0 0 0 64;
26088             }
26089          }
26090          part { name: "elm.text.artist";
26091             clip_to: "disclip";
26092             type:           TEXT;
26093             mouse_events:   0;
26094             scale: 1;
26095             description {
26096                state: "default" 0.0;
26097                rel1 {
26098                   to_x:     "elm.swallow.preview";
26099                   relative: 1.0  0.5;
26100                   offset:   4 4;
26101                }
26102                rel2 {
26103                   relative: 1.0  1.0;
26104                   offset:   -1 -5;
26105                }
26106                color: 0 0 0 128;
26107                color3: 0 0 0 0;
26108                text {
26109                   font: "Sans";
26110                   size: 8;
26111                   min: 0 1;
26112                   align: 0.0 0.5;
26113                }
26114             }
26115             description { state: "selected" 0.0;
26116                inherit: "default" 0.0;
26117                color: 128 128 128 255;
26118                color3: 0 0 0 32;
26119             }
26120          }
26121          part { name: "fg1";
26122             clip_to: "disclip";
26123             mouse_events: 0;
26124             description { state: "default" 0.0;
26125                visible: 0;
26126                color: 255 255 255 0;
26127                rel1.to: "bg";
26128                rel2.relative: 1.0 0.5;
26129                rel2.to: "bg";
26130                image {
26131                   normal: "bt_sm_hilight.png";
26132                   border: 6 6 6 0;
26133                }
26134             }
26135             description { state: "selected" 0.0;
26136                inherit: "default" 0.0;
26137                visible: 1;
26138                color: 255 255 255 255;
26139             }
26140          }
26141          part { name: "fg2";
26142             clip_to: "disclip";
26143             mouse_events: 0;
26144             description { state: "default" 0.0;
26145                visible: 0;
26146                color: 255 255 255 0;
26147                rel1.to: "bg";
26148                rel2.to: "bg";
26149                image {
26150                   normal: "bt_sm_shine.png";
26151                   border: 6 6 6 0;
26152                }
26153             }
26154             description { state: "selected" 0.0;
26155                inherit: "default" 0.0;
26156                visible: 1;
26157                color: 255 255 255 255;
26158             }
26159          }
26160          part { name: "disclip";
26161             type: RECT;
26162             description { state: "default" 0.0;
26163                rel1.to: "bg";
26164                rel2.to: "bg";
26165             }
26166             description { state: "disabled" 0.0;
26167                inherit: "default" 0.0;
26168                color: 255 255 255 64;
26169             }
26170          }
26171       }
26172       programs {
26173          // signal: elm,state,%s,active
26174          //   a "check" item named %s went active
26175          // signal: elm,state,%s,passive
26176          //   a "check" item named %s went passive
26177          // default is passive
26178          program {
26179             name:    "go_active";
26180             signal:  "elm,state,selected";
26181             source:  "elm";
26182             action:  STATE_SET "selected" 0.0;
26183             target:  "bg";
26184             target:  "fg1";
26185             target:  "fg2";
26186             target:  "elm.text.title";
26187             target:  "elm.text.artist";
26188          }
26189          program {
26190             name:    "go_passive";
26191             signal:  "elm,state,unselected";
26192             source:  "elm";
26193             action:  STATE_SET "default" 0.0;
26194             target:  "bg";
26195             target:  "fg1";
26196             target:  "fg2";
26197             target:  "elm.text.title";
26198             target:  "elm.text.artist";
26199             transition: LINEAR 0.1;
26200          }
26201          program {
26202             name:    "go_disabled";
26203             signal:  "elm,state,disabled";
26204             source:  "elm";
26205             action:  STATE_SET "disabled" 0.0;
26206             target:  "disclip";
26207          }
26208          program {
26209             name:    "go_enabled";
26210             signal:  "elm,state,enabled";
26211             source:  "elm";
26212             action:  STATE_SET "default" 0.0;
26213             target:  "disclip";
26214          }
26215       }
26216    }
26217
26218 ///////////////////////////////////////////////////////////////////////////////
26219    group { name: "elm/pager/base/default";
26220       data.item: "onshow" "raise";
26221 // other options
26222 //      data.item: "onhide" "lower";
26223 //      data.item: "onshow" "lower";
26224       images {
26225          image: "frame_1.png" COMP;
26226          image: "frame_2.png" COMP;
26227          image: "dia_grad.png" COMP;
26228       }
26229       parts {
26230          part { name: "clip";
26231             type: RECT;
26232             mouse_events: 0;
26233             description { state: "default" 0.0;
26234                rel1 {
26235                   to: "base";
26236                   offset: -9999 -9999;
26237                }
26238                rel2 {
26239                   to: "base";
26240                   offset: 9999 9999;
26241                }
26242                color: 255 255 255 255;
26243             }
26244             description { state: "visible" 0.0;
26245                inherit: "default" 0.0;
26246             }
26247             description { state: "hidden" 0.0;
26248                inherit: "default" 0.0;
26249                color: 255 255 255 0;
26250                visible: 0;
26251             }
26252          }
26253          part { name: "base0";
26254             mouse_events:  0;
26255             clip_to: "clip";
26256             description { state: "default" 0.0;
26257                image.normal: "dia_grad.png";
26258                rel1.to: "over";
26259                rel2.to: "over";
26260                fill {
26261                   smooth: 0;
26262                   size {
26263                      relative: 0.0 1.0;
26264                      offset: 64 0;
26265                   }
26266                }
26267             }
26268          }
26269          part { name: "base";
26270             mouse_events:  0;
26271             clip_to: "clip";
26272             description { state: "default" 0.0;
26273                image {
26274                   normal: "frame_2.png";
26275                   border: 5 5 32 26;
26276                   middle: 0;
26277                }
26278                fill.smooth : 0;
26279             }
26280             description { state: "hidden" 0.0;
26281                inherit: "default" 0.0;
26282                rel1.relative: -1.0 0.0;
26283                rel2.relative: 0.0 1.0;
26284             }
26285             description { state: "visible" 0.0;
26286                inherit: "default" 0.0;
26287                rel1.relative: 0.0 0.0;
26288                rel2.relative: 1.0 1.0;
26289             }
26290          }
26291          part { name: "over";
26292             mouse_events:  0;
26293             clip_to: "clip";
26294             description { state:    "default" 0.0;
26295                rel1 {
26296                   to: "base";
26297                   offset: 4 4;
26298                }
26299                rel2 {
26300                   to: "base";
26301                   offset: -5 -5;
26302                }
26303                image {
26304                   normal: "frame_1.png";
26305                   border: 2 2 28 22;
26306                   middle: 0;
26307                }
26308                fill.smooth : 0;
26309             }
26310          }
26311          part { name: "elm.swallow.content";
26312             type: SWALLOW;
26313             clip_to: "clip";
26314             description { state: "default" 0.0;
26315                rel1 {
26316                   to: "base";
26317                   offset: 8 8;
26318                }
26319                rel2 {
26320                   to: "base";
26321                   offset: -9 -9;
26322                }
26323             }
26324          }
26325       }
26326       programs {
26327          program { name: "push_start";
26328             signal: "elm,action,push";
26329             source: "elm";
26330             action:  STATE_SET "hidden" 0.0;
26331             target: "base";
26332             target: "clip";
26333             after: "show_start2";
26334          }
26335          program { name: "show_start";
26336             signal: "elm,action,show";
26337             source: "elm";
26338             action:  STATE_SET "hidden" 0.0;
26339             target: "base";
26340             target: "clip";
26341             after: "show_start2";
26342          }
26343          program { name: "show_start2";
26344             action:  STATE_SET "visible" 0.0;
26345             transition: DECELERATE 0.5;
26346             target: "base";
26347             target: "clip";
26348             after: "show_end";
26349          }
26350          program { name: "show_end";
26351             action: SIGNAL_EMIT "elm,action,show,finished" "";
26352          }
26353          program { name: "pop_start";
26354             signal: "elm,action,pop";
26355             source: "elm";
26356             action:  STATE_SET "visible" 0.0;
26357             target: "base";
26358             target: "clip";
26359             after: "hide_start2";
26360          }
26361          program { name: "hide_start";
26362             signal: "elm,action,hide";
26363             source: "elm";
26364             action:  STATE_SET "visible" 0.0;
26365             target: "base";
26366             target: "clip";
26367             after: "hide_start2";
26368          }
26369          program { name: "hide_start2";
26370             action:  STATE_SET "hidden" 0.0;
26371             transition: DECELERATE 0.5;
26372             target: "base";
26373             target: "clip";
26374             after: "hide_end";
26375          }
26376          program { name: "hide_end";
26377             action: SIGNAL_EMIT "elm,action,hide,finished" "";
26378          }
26379          program { name: "reset";
26380             signal: "elm,action,reset";
26381             source: "elm";
26382             action:  STATE_SET "default" 0.0;
26383             target: "base";
26384             target: "clip";
26385          }
26386       }
26387    }
26388
26389    group { name: "elm/pager/base/slide";
26390       images {
26391          image: "frame_1.png" COMP;
26392          image: "frame_2.png" COMP;
26393          image: "dia_grad.png" COMP;
26394       }
26395       parts {
26396          part { name: "clip";
26397             type: RECT;
26398             mouse_events: 0;
26399             description { state: "default" 0.0;
26400                rel1 {
26401                   to: "base";
26402                   offset: -9999 -9999;
26403                }
26404                rel2 {
26405                   to: "base";
26406                   offset: 9999 9999;
26407                }
26408                color: 255 255 255 255;
26409             }
26410             description { state: "visible" 0.0;
26411                inherit: "default" 0.0;
26412             }
26413             description { state: "hidden" 0.0;
26414                inherit: "default" 0.0;
26415                color: 255 255 255 0;
26416                visible: 0;
26417             }
26418             description { state: "hidden2" 0.0;
26419                inherit: "default" 0.0;
26420                color: 255 255 255 0;
26421                visible: 0;
26422             }
26423          }
26424          part { name: "base0";
26425             mouse_events:  0;
26426             clip_to: "clip";
26427             description { state: "default" 0.0;
26428                image.normal: "dia_grad.png";
26429                rel1.to: "over";
26430                rel2.to: "over";
26431                fill {
26432                   smooth: 0;
26433                   size {
26434                      relative: 0.0 1.0;
26435                      offset: 64 0;
26436                   }
26437                }
26438             }
26439          }
26440          part { name: "base";
26441             mouse_events:  0;
26442             clip_to: "clip";
26443             description { state: "default" 0.0;
26444                image {
26445                   normal: "frame_2.png";
26446                   border: 5 5 32 26;
26447                   middle: 0;
26448                }
26449                fill.smooth : 0;
26450             }
26451             description { state: "hidden" 0.0;
26452                inherit: "default" 0.0;
26453                rel1.relative: -1.0 0.0;
26454                rel2.relative: 0.0 1.0;
26455             }
26456             description { state: "hidden2" 0.0;
26457                inherit: "default" 0.0;
26458                rel1.relative: 1.0 0.0;
26459                rel2.relative: 2.0 1.0;
26460             }
26461             description { state: "visible" 0.0;
26462                inherit: "default" 0.0;
26463                rel1.relative: 0.0 0.0;
26464                rel2.relative: 1.0 1.0;
26465             }
26466          }
26467          part { name: "over";
26468             mouse_events:  0;
26469             clip_to: "clip";
26470             description { state:    "default" 0.0;
26471                rel1 {
26472                   to: "base";
26473                   offset: 4 4;
26474                }
26475                rel2 {
26476                   to: "base";
26477                   offset: -5 -5;
26478                }
26479                image {
26480                   normal: "frame_1.png";
26481                   border: 2 2 28 22;
26482                   middle: 0;
26483                }
26484                fill.smooth : 0;
26485             }
26486          }
26487          part { name: "elm.swallow.content";
26488             type: SWALLOW;
26489             clip_to: "clip";
26490             description { state: "default" 0.0;
26491                rel1 {
26492                   to: "base";
26493                   offset: 8 8;
26494                }
26495                rel2 {
26496                   to: "base";
26497                   offset: -9 -9;
26498                }
26499             }
26500          }
26501       }
26502       programs {
26503          program { name: "push_start";
26504             signal: "elm,action,push";
26505             source: "elm";
26506             action:  STATE_SET "hidden2" 0.0;
26507             target: "base";
26508             target: "clip";
26509             after: "show_start2";
26510          }
26511          program { name: "show_start";
26512             signal: "elm,action,show";
26513             source: "elm";
26514             action:  STATE_SET "hidden" 0.0;
26515             target: "base";
26516             target: "clip";
26517             after: "show_start2";
26518          }
26519          program { name: "show_start2";
26520             action:  STATE_SET "visible" 0.0;
26521             transition: DECELERATE 0.5;
26522             target: "base";
26523             target: "clip";
26524             after: "show_end";
26525          }
26526          program { name: "show_end";
26527             action: SIGNAL_EMIT "elm,action,show,finished" "";
26528          }
26529          program { name: "pop_start";
26530             signal: "elm,action,pop";
26531             source: "elm";
26532             action:  STATE_SET "visible" 0.0;
26533             target: "base";
26534             target: "clip";
26535             after: "pop_start2";
26536          }
26537          program { name: "pop_start2";
26538             action:  STATE_SET "hidden2" 0.0;
26539             transition: DECELERATE 0.5;
26540             target: "base";
26541             target: "clip";
26542             after: "hide_end";
26543          }
26544          program { name: "hide_start";
26545             signal: "elm,action,hide";
26546             source: "elm";
26547             action:  STATE_SET "visible" 0.0;
26548             target: "base";
26549             target: "clip";
26550             after: "hide_start2";
26551          }
26552          program { name: "hide_start2";
26553             action:  STATE_SET "hidden" 0.0;
26554             transition: DECELERATE 0.5;
26555             target: "base";
26556             target: "clip";
26557             after: "hide_end";
26558          }
26559          program { name: "hide_end";
26560             action: SIGNAL_EMIT "elm,action,hide,finished" "";
26561          }
26562          program { name: "reset";
26563             signal: "elm,action,reset";
26564             source: "elm";
26565             action:  STATE_SET "default" 0.0;
26566             target: "base";
26567             target: "clip";
26568          }
26569       }
26570    }
26571    group { name: "elm/pager/base/slide_invisible";
26572       parts {
26573          part { name: "clip";
26574             type: RECT;
26575             mouse_events: 0;
26576             description { state: "default" 0.0;
26577                rel1 {
26578                   to: "base";
26579                   offset: -9999 -9999;
26580             }
26581                rel2 {
26582                   to: "base";
26583                   offset: 9999 9999;
26584                }
26585                color: 255 255 255 255;
26586             }
26587             description { state: "visible" 0.0;
26588                inherit: "default" 0.0;
26589             }
26590             description { state: "hidden" 0.0;
26591                inherit: "default" 0.0;
26592                color: 255 255 255 0;
26593                visible: 0;
26594             }
26595             description { state: "hidden2" 0.0;
26596                inherit: "default" 0.0;
26597                color: 255 255 255 0;
26598                visible: 0;
26599             }
26600          }
26601          part { name: "base";
26602             type: RECT;
26603             mouse_events:  0;
26604             clip_to: "clip";
26605             description { state: "default" 0.0;
26606                color: 0 0 0 0;
26607             }
26608             description { state: "hidden" 0.0;
26609                color: 0 0 0 0;
26610                rel1.relative: -1.0 0.0;
26611                rel2.relative: 0.0 1.0;
26612             }
26613             description { state: "hidden2" 0.0;
26614                color: 0 0 0 0;
26615                rel1.relative: 1.0 0.0;
26616                rel2.relative: 2.0 1.0;
26617             }
26618             description { state: "visible" 0.0;
26619                color: 0 0 0 0;
26620                rel1.relative: 0.0 0.0;
26621                rel2.relative: 1.0 1.0;
26622             }
26623          }
26624          part { name: "elm.swallow.content";
26625             type: SWALLOW;
26626             clip_to: "clip";
26627             description { state: "default" 0.0;
26628                rel1.to: "base";
26629                rel2.to: "base";
26630             }
26631          }
26632       }
26633       programs {
26634          program { name: "push_start";
26635             signal: "elm,action,push";
26636             source: "elm";
26637             action:  STATE_SET "hidden2" 0.0;
26638             target: "base";
26639             target: "clip";
26640             after: "show_start2";
26641          }
26642          program { name: "show_start";
26643             signal: "elm,action,show";
26644             source: "elm";
26645             action:  STATE_SET "hidden" 0.0;
26646             target: "base";
26647             target: "clip";
26648             after: "show_start2";
26649          }
26650          program { name: "show_start2";
26651             action:  STATE_SET "visible" 0.0;
26652             transition: DECELERATE 0.5;
26653             target: "base";
26654             target: "clip";
26655             after: "show_end";
26656          }
26657          program { name: "show_end";
26658             action: SIGNAL_EMIT "elm,action,show,finished" "";
26659          }
26660          program { name: "pop_start";
26661             signal: "elm,action,pop";
26662             source: "elm";
26663             action:  STATE_SET "visible" 0.0;
26664             target: "base";
26665             target: "clip";
26666             after: "pop_start2";
26667          }
26668          program { name: "pop_start2";
26669             action:  STATE_SET "hidden2" 0.0;
26670             transition: DECELERATE 0.5;
26671             target: "base";
26672             target: "clip";
26673             after: "hide_end";
26674          }
26675          program { name: "hide_start";
26676             signal: "elm,action,hide";
26677             source: "elm";
26678             action:  STATE_SET "visible" 0.0;
26679             target: "base";
26680             target: "clip";
26681             after: "hide_start2";
26682          }
26683          program { name: "hide_start2";
26684             action:  STATE_SET "hidden" 0.0;
26685             transition: DECELERATE 0.5;
26686             target: "base";
26687             target: "clip";
26688             after: "hide_end";
26689          }
26690          program { name: "hide_end";
26691             action: SIGNAL_EMIT "elm,action,hide,finished" "";
26692          }
26693          program { name: "reset";
26694             signal: "elm,action,reset";
26695             source: "elm";
26696             action:  STATE_SET "default" 0.0;
26697             target: "base";
26698             target: "clip";
26699          }
26700       }
26701    }
26702
26703    group { name: "elm/pager/base/fade";
26704        data.item: "onshow" "raise";
26705        // other options
26706        //      data.item: "onhide" "lower";
26707        //      data.item: "onshow" "lower";
26708        images {
26709            image: "frame_1.png" COMP;
26710            image: "frame_2.png" COMP;
26711            image: "dia_grad.png" COMP;
26712        }
26713        parts {
26714            part { name: "clip_base";
26715                type: RECT;
26716                mouse_events: 0;
26717                description { state: "default" 0.0;
26718                    rel1 {
26719                        to: "base";
26720                        offset: -9999 -9999;
26721                    }
26722                    rel2 {
26723                        to: "base";
26724                        offset: 9999 9999;
26725                    }
26726                    color: 255 255 255 120;
26727                }
26728                description { state: "visible" 0.0;
26729                    inherit: "default" 0.0;
26730                }
26731                description { state: "hidden" 0.0;
26732                    inherit: "default" 0.0;
26733                    color: 255 255 255 0;
26734                    visible: 0;
26735                }
26736            }
26737            part { name: "clip";
26738                type: RECT;
26739                mouse_events: 0;
26740                description { state: "default" 0.0;
26741                    rel1 {
26742                        to: "base";
26743                        offset: -9999 -9999;
26744                    }
26745                    rel2 {
26746                        to: "base";
26747                        offset: 9999 9999;
26748                    }
26749                    color: 255 255 255 255;
26750                }
26751                description { state: "visible" 0.0;
26752                    inherit: "default" 0.0;
26753                }
26754                description { state: "hidden" 0.0;
26755                    inherit: "default" 0.0;
26756                    color: 255 255 255 0;
26757                    visible: 0;
26758                }
26759            }
26760            part { name: "base0";
26761                mouse_events:  0;
26762                clip_to: "clip_base";
26763                description { state: "default" 0.0;
26764                    image.normal: "dia_grad.png";
26765                    rel1.to: "over";
26766                    rel2.to: "over";
26767                    fill {
26768                        smooth: 0;
26769                        size {
26770                            relative: 0.0 1.0;
26771                            offset: 64 0;
26772                        }
26773                    }
26774                }
26775            }
26776            part { name: "base";
26777                mouse_events:  0;
26778                clip_to: "clip_base";
26779                description { state: "default" 0.0;
26780                    image {
26781                        normal: "frame_2.png";
26782                        border: 5 5 32 26;
26783                        middle: 0;
26784                    }
26785                    fill.smooth : 0;
26786                }
26787            }
26788            part { name: "over";
26789                mouse_events:  0;
26790                clip_to: "clip";
26791                description { state:    "default" 0.0;
26792                    rel1 {
26793                        to: "base";
26794                        offset: 4 4;
26795                    }
26796                    rel2 {
26797                        to: "base";
26798                        offset: -5 -5;
26799                    }
26800                    image {
26801                        normal: "frame_1.png";
26802                        border: 2 2 28 22;
26803                        middle: 0;
26804                    }
26805                    fill.smooth : 0;
26806                }
26807            }
26808            part { name: "elm.swallow.content";
26809                type: SWALLOW;
26810                clip_to: "clip";
26811                description { state: "default" 0.0;
26812                    rel1 {
26813                        to: "base";
26814                        offset: 8 8;
26815                    }
26816                    rel2 {
26817                        to: "base";
26818                        offset: -9 -9;
26819                    }
26820                }
26821            }
26822        }
26823        programs {
26824            program { name: "push_start";
26825                signal: "elm,action,push";
26826                source: "elm";
26827                action:  STATE_SET "hidden" 0.0;
26828                target: "clip";
26829                target: "clip_base";
26830                after: "show_start2";
26831            }
26832            program { name: "show_start";
26833                signal: "elm,action,show";
26834                source: "elm";
26835                action:  STATE_SET "hidden" 0.0;
26836                target: "clip";
26837                target: "clip_base";
26838                after: "show_start2";
26839            }
26840            program { name: "show_start2";
26841                action:  STATE_SET "visible" 0.0;
26842                transition: DECELERATE 0.5;
26843                target: "clip";
26844                target: "clip_base";
26845                after: "show_end";
26846            }
26847            program { name: "show_end";
26848                action: SIGNAL_EMIT "elm,action,show,finished" "";
26849            }
26850            program { name: "pop_start";
26851                signal: "elm,action,pop";
26852                source: "elm";
26853                action:  STATE_SET "visible" 0.0;
26854                target: "clip";
26855                target: "clip_base";
26856                after: "hide_start2";
26857            }
26858            program { name: "hide_start";
26859                signal: "elm,action,hide";
26860                source: "elm";
26861                action:  STATE_SET "visible" 0.0;
26862                target: "clip";
26863                target: "clip_base";
26864                after: "hide_start2";
26865            }
26866            program { name: "hide_start2";
26867                action:  STATE_SET "hidden" 0.0;
26868                transition: DECELERATE 0.5;
26869                target: "clip";
26870                target: "clip_base";
26871                after: "hide_end";
26872            }
26873            program { name: "hide_end";
26874                action: SIGNAL_EMIT "elm,action,hide,finished" "";
26875            }
26876            program { name: "reset";
26877                signal: "elm,action,reset";
26878                source: "elm";
26879                action:  STATE_SET "default" 0.0;
26880                target: "clip_base";
26881                target: "clip";
26882            }
26883        }
26884    }
26885    group { name: "elm/pager/base/fade_translucide";
26886        data.item: "onshow" "raise";
26887        // other options
26888        //      data.item: "onhide" "lower";
26889        //      data.item: "onshow" "lower";
26890        images {
26891            image: "frame_1.png" COMP;
26892            image: "frame_2.png" COMP;
26893            image: "dia_grad.png" COMP;
26894        }
26895        parts {
26896            part { name: "clip_base";
26897                type: RECT;
26898                mouse_events: 0;
26899                description { state: "default" 0.0;
26900                    rel1 {
26901                        to: "base";
26902                        offset: -9999 -9999;
26903                    }
26904                    rel2 {
26905                        to: "base";
26906                        offset: 9999 9999;
26907                    }
26908                    color: 255 255 255 120;
26909                }
26910                description { state: "visible" 0.0;
26911                    inherit: "default" 0.0;
26912                }
26913                description { state: "hidden" 0.0;
26914                    inherit: "default" 0.0;
26915                    color: 255 255 255 0;
26916                    visible: 0;
26917                }
26918            }
26919            part { name: "clip";
26920                type: RECT;
26921                mouse_events: 0;
26922                description { state: "default" 0.0;
26923                    rel1 {
26924                        to: "base";
26925                        offset: -9999 -9999;
26926                    }
26927                    rel2 {
26928                        to: "base";
26929                        offset: 9999 9999;
26930                    }
26931                    color: 255 255 255 255;
26932                }
26933                description { state: "visible" 0.0;
26934                    inherit: "default" 0.0;
26935                }
26936                description { state: "hidden" 0.0;
26937                    inherit: "default" 0.0;
26938                    color: 255 255 255 0;
26939                    visible: 0;
26940                }
26941            }
26942            part { name: "base0";
26943                mouse_events:  0;
26944                clip_to: "clip_base";
26945                description { state: "default" 0.0;
26946                    image.normal: "dia_grad.png";
26947                    rel1.to: "over";
26948                    rel2.to: "over";
26949                    fill {
26950                        smooth: 0;
26951                        size {
26952                            relative: 0.0 1.0;
26953                            offset: 64 0;
26954                        }
26955                    }
26956                }
26957            }
26958            part { name: "base";
26959                mouse_events:  0;
26960                clip_to: "clip_base";
26961                description { state: "default" 0.0;
26962                    image {
26963                        normal: "frame_2.png";
26964                        border: 5 5 32 26;
26965                        middle: 0;
26966                    }
26967                    fill.smooth : 0;
26968                }
26969            }
26970            part { name: "over";
26971                mouse_events:  0;
26972                clip_to: "clip";
26973                description { state:    "default" 0.0;
26974                    rel1 {
26975                        to: "base";
26976                        offset: 4 4;
26977                    }
26978                    rel2 {
26979                        to: "base";
26980                        offset: -5 -5;
26981                    }
26982                    image {
26983                        normal: "frame_1.png";
26984                        border: 2 2 28 22;
26985                        middle: 0;
26986                    }
26987                    fill.smooth : 0;
26988                }
26989            }
26990            part { name: "elm.swallow.content";
26991                type: SWALLOW;
26992                clip_to: "clip";
26993                description { state: "default" 0.0;
26994                    rel1 {
26995                        to: "base";
26996                        offset: 8 8;
26997                    }
26998                    rel2 {
26999                        to: "base";
27000                        offset: -9 -9;
27001                    }
27002                }
27003            }
27004        }
27005        programs {
27006            program { name: "push_start";
27007                signal: "elm,action,push";
27008                source: "elm";
27009                action:  STATE_SET "hidden" 0.0;
27010                target: "clip";
27011                target: "clip_base";
27012                after: "show_start2";
27013            }
27014            program { name: "show_start";
27015                signal: "elm,action,show";
27016                source: "elm";
27017                action:  STATE_SET "hidden" 0.0;
27018                target: "clip";
27019                target: "clip_base";
27020                after: "show_start2";
27021            }
27022            program { name: "show_start2";
27023                action:  STATE_SET "visible" 0.0;
27024                transition: DECELERATE 0.5;
27025                target: "clip";
27026                target: "clip_base";
27027                after: "show_end";
27028            }
27029            program { name: "show_end";
27030                action: SIGNAL_EMIT "elm,action,show,finished" "";
27031            }
27032            program { name: "pop_start";
27033                signal: "elm,action,pop";
27034                source: "elm";
27035                action:  STATE_SET "visible" 0.0;
27036                target: "clip";
27037                target: "clip_base";
27038                after: "hide_start2";
27039            }
27040            program { name: "hide_start";
27041                signal: "elm,action,hide";
27042                source: "elm";
27043                action:  STATE_SET "visible" 0.0;
27044                target: "clip";
27045                target: "clip_base";
27046                after: "hide_start2";
27047            }
27048            program { name: "hide_start2";
27049                action:  STATE_SET "hidden" 0.0;
27050                transition: DECELERATE 0.5;
27051                target: "clip";
27052                target: "clip_base";
27053                after: "hide_end";
27054            }
27055            program { name: "hide_end";
27056                action: SIGNAL_EMIT "elm,action,hide,finished" "";
27057            }
27058            program { name: "reset";
27059                signal: "elm,action,reset";
27060                source: "elm";
27061                action:  STATE_SET "default" 0.0;
27062                target: "clip_base";
27063                target: "clip";
27064            }
27065        }
27066    }
27067    group { name: "elm/pager/base/fade_invisible";
27068        data.item: "onshow" "raise";
27069        // other options
27070        //      data.item: "onhide" "lower";
27071        //      data.item: "onshow" "lower";
27072        parts {
27073            part { name: "clip";
27074                type: RECT;
27075                mouse_events: 0;
27076                description { state: "default" 0.0;
27077                    rel1 {
27078                        offset: -9999 -9999;
27079                    }
27080                    rel2 {
27081                        offset: 9999 9999;
27082                    }
27083                    color: 255 255 255 255;
27084                }
27085                description { state: "visible" 0.0;
27086                    inherit: "default" 0.0;
27087                }
27088                description { state: "hidden" 0.0;
27089                    inherit: "default" 0.0;
27090                    color: 255 255 255 0;
27091                    visible: 0;
27092                }
27093            }
27094            part { name: "elm.swallow.content";
27095                type: SWALLOW;
27096                clip_to: "clip";
27097                description { state: "default" 0.0;
27098                    rel1 {
27099                        offset: 8 8;
27100                    }
27101                    rel2 {
27102                        offset: -9 -9;
27103                    }
27104                }
27105            }
27106        }
27107        programs {
27108            program { name: "push_start";
27109                signal: "elm,action,push";
27110                source: "elm";
27111                action:  STATE_SET "hidden" 0.0;
27112                target: "clip";
27113                after: "show_start2";
27114            }
27115            program { name: "show_start";
27116                signal: "elm,action,show";
27117                source: "elm";
27118                action:  STATE_SET "hidden" 0.0;
27119                target: "clip";
27120                after: "show_start2";
27121            }
27122            program { name: "show_start2";
27123                action:  STATE_SET "visible" 0.0;
27124                transition: DECELERATE 0.5;
27125                target: "clip";
27126                after: "show_end";
27127            }
27128            program { name: "show_end";
27129                action: SIGNAL_EMIT "elm,action,show,finished" "";
27130            }
27131            program { name: "pop_start";
27132                signal: "elm,action,pop";
27133                source: "elm";
27134                action:  STATE_SET "visible" 0.0;
27135                target: "clip";
27136                after: "hide_start2";
27137            }
27138            program { name: "hide_start";
27139                signal: "elm,action,hide";
27140                source: "elm";
27141                action:  STATE_SET "visible" 0.0;
27142                target: "clip";
27143                after: "hide_start2";
27144            }
27145            program { name: "hide_start2";
27146                action:  STATE_SET "hidden" 0.0;
27147                transition: DECELERATE 0.5;
27148                target: "clip";
27149                after: "hide_end";
27150            }
27151            program { name: "hide_end";
27152                action: SIGNAL_EMIT "elm,action,hide,finished" "";
27153            }
27154            program { name: "reset";
27155                signal: "elm,action,reset";
27156                source: "elm";
27157                action:  STATE_SET "default" 0.0;
27158                target: "clip";
27159            }
27160        }
27161    }
27162
27163    group { name: "elm/pager/base/flip";
27164       data.item: "onshow" "raise";
27165       images {
27166          image: "frame_1.png" COMP;
27167          image: "frame_2.png" COMP;
27168          image: "dia_grad.png" COMP;
27169       }
27170       parts {
27171          part { name: "elm.swallow.content";
27172             type: SWALLOW;
27173             description { state: "default" 0.0;
27174                map {
27175                   on: 1;
27176                   smooth: 1;
27177                   backface_cull: 1;
27178                   perspective_on: 1;
27179                }
27180                perspective {
27181                   zplane: 0;
27182                   focal: 1000;
27183                }
27184             }
27185             description { state: "hidden" 0.0;
27186                inherit: "default" 0.0;
27187                visible: 0;
27188                map.rotation.y: 90.0;
27189             }
27190             description { state: "before_hidden" 0.0;
27191                inherit: "default" 0.0;
27192                visible: 0;
27193                map.rotation.y: -90.0;
27194             }
27195          }
27196       }
27197       programs {
27198          program { name: "push_start";
27199             signal: "elm,action,push";
27200             source: "elm";
27201             after: "push1";
27202          }
27203          program { name: "push1";
27204             action:  STATE_SET "hidden" 0.0;
27205             target: "elm.swallow.content";
27206             after: "push2";
27207          }
27208          program { name: "push2";
27209             action:  STATE_SET "default" 0.0;
27210             in: 0.5 0.0;
27211             transition: LINEAR 0.5;
27212             target: "elm.swallow.content";
27213             after: "push3";
27214          }
27215          program { name: "push3";
27216             action: SIGNAL_EMIT "elm,action,show,finished" "";
27217          }
27218
27219          program { name: "show_start";
27220             signal: "elm,action,show";
27221             source: "elm";
27222             after: "show1";
27223          }
27224          program { name: "show1";
27225             action:  STATE_SET "before_hidden" 0.0;
27226             target: "elm.swallow.content";
27227             after: "show2";
27228          }
27229          program { name: "show2";
27230             action:  STATE_SET "default" 0.0;
27231             in: 0.5 0.0;
27232             transition: LINEAR 0.5;
27233             target: "elm.swallow.content";
27234             after: "show3";
27235          }
27236          program { name: "show3";
27237             action: SIGNAL_EMIT "elm,action,show,finished" "";
27238          }
27239
27240          program { name: "pop_start";
27241             signal: "elm,action,pop";
27242             source: "elm";
27243             after: "pop1";
27244          }
27245          program { name: "pop1";
27246             action:  STATE_SET "default" 0.0;
27247             target: "elm.swallow.content";
27248             after: "pop2";
27249          }
27250          program { name: "pop2";
27251             action:  STATE_SET "hidden" 0.0;
27252             transition: LINEAR 0.5;
27253             target: "elm.swallow.content";
27254             after: "pop3";
27255          }
27256          program { name: "pop3";
27257             action: SIGNAL_EMIT "elm,action,hide,finished" "";
27258          }
27259
27260          program { name: "hide_start";
27261             signal: "elm,action,hide";
27262             source: "elm";
27263             after: "hide1";
27264          }
27265          program { name: "hide1";
27266             action:  STATE_SET "default" 0.0;
27267             target: "elm.swallow.content";
27268             after: "hide2";
27269          }
27270          program { name: "hide2";
27271             action:  STATE_SET "before_hidden" 0.0;
27272             transition: LINEAR 0.5;
27273             target: "elm.swallow.content";
27274             after: "hide3";
27275          }
27276          program { name: "hide3";
27277             action: SIGNAL_EMIT "elm,action,hide,finished" "";
27278          }
27279
27280          program { name: "reset";
27281             signal: "elm,action,reset";
27282             source: "elm";
27283             action:  STATE_SET "default" 0.0;
27284             target: "elm.swallow.content";
27285          }
27286       }
27287    }
27288
27289
27290
27291 ///////////////////////////////////////////////////////////////////////////////
27292 // FIXME: this doesn't look too hot. need to fix it up
27293    group { name: "elm/progressbar/horizontal/default";
27294       images {
27295          image: "shelf_inset.png" COMP;
27296          image: "bt_sm_base2.png" COMP;
27297          image: "bt_sm_hilight.png" COMP;
27298          image: "bt_sm_shine.png" COMP;
27299       }
27300       parts {
27301          part { name: "elm.background.progressbar";
27302             mouse_events: 0;
27303             description {
27304                state: "default" 0.0;
27305                rel1 {
27306                   relative: 0.0 0.0;
27307                   offset: 0 0;
27308                }
27309                rel2 {
27310                   relative: 1.0 1.0;
27311                }
27312             }
27313          }
27314          part { name: "elm.swallow.bar";
27315             mouse_events: 0;
27316             type: SWALLOW;
27317             description {
27318                min: 48 28;
27319                max: 99999 28;
27320                state: "default" 0.0;
27321                rel1 {
27322                   to_x: "elm.text";
27323                   to_y: "elm.background.progressbar";
27324                   relative: 1.0 0.0;
27325                }
27326                rel2 {
27327                   to: "elm.background.progressbar";
27328                   relative: 1.0 1.0;
27329                }
27330             }
27331          }
27332          part { name: "elm.swallow.content";
27333             type: SWALLOW;
27334             description { state: "default" 0.0;
27335                visible: 0;
27336                align: 0.0 0.5;
27337                rel1 {
27338                   offset: 4 0;
27339                   to_y: "elm.background.progressbar";
27340                }
27341                rel2 {
27342                   offset: 3 -1;
27343                   relative: 0.0 1.0;
27344                   to_y: "elm.background.progressbar";
27345                }
27346             }
27347             description { state: "visible" 0.0;
27348                inherit: "default" 0.0;
27349                visible: 1;
27350                aspect: 1.0 1.0;
27351                aspect_preference: VERTICAL;
27352                rel2.offset: 4 -1;
27353             }
27354          }
27355          part { name: "elm.text";
27356             type: TEXT;
27357             mouse_events: 0;
27358             scale: 1;
27359             description { state: "default" 0.0;
27360                visible: 0;
27361                fixed: 1 1;
27362                align: 0.0 0.5;
27363                rel1.to_x: "elm.swallow.content";
27364                rel1.relative: 1.0 0.0;
27365                rel1.offset: -1 4;
27366                rel2.to_x: "elm.swallow.content";
27367                rel2.relative: 1.0 1.0;
27368                rel2.offset: -1 -5;
27369                color: 0 0 0 255;
27370                text {
27371                   font: "Sans,Edje-Vera";
27372                   size: 10;
27373                   min: 0 0;
27374                   align: 0.0 0.5;
27375                }
27376             }
27377             description { state: "visible" 0.0;
27378                inherit: "default" 0.0;
27379                visible: 1;
27380                text.min: 1 1;
27381                rel1.offset: 0 4;
27382                rel2.offset: 0 -5;
27383             }
27384          }
27385
27386          part { name: "background";
27387             mouse_events: 0;
27388             clip_to: "elm.background.progressbar";
27389             description {
27390                state: "default" 0.0;
27391                rel1 {
27392                   to: "elm.swallow.bar";
27393                   relative: 0.0 0.0;
27394                }
27395                rel2 {
27396                   to: "elm.swallow.bar";
27397                   relative: 1.0 1.0;
27398                   offset: -1 -1;
27399                }
27400                image {
27401                   normal: "shelf_inset.png";
27402                   border: 7 7 7 7;
27403                }
27404             }
27405          }
27406
27407          part { name: "elm.text.status";
27408             type: TEXT;
27409             mouse_events: 0;
27410             description { state: "default" 0.0;
27411                fixed: 1 1;
27412                visible: 1;
27413                rel1 {
27414                   to: "background";
27415                   relative: 0.5 0.5;
27416                }
27417                rel2 {
27418                   to: "background";
27419                   relative: 0.5 0.5;
27420                }
27421                text {
27422                   font: "Sans:style=Bold,Edje-Vera-Bold";
27423                   size: 10;
27424                   min: 1 1;
27425                   align: 0.5 0.0;
27426                }
27427                color: 0 0 0 255;
27428             }
27429             description { state: "hidden" 0.0;
27430                inherit: "default" 0.0;
27431                visible: 0;
27432                text.min: 0 0;
27433             }
27434          }
27435
27436          part { name: "elm.progress.progressbar";
27437             mouse_events: 0;
27438             clip_to: "elm.background.progressbar";
27439             description {
27440                state: "default" 0.0;
27441                min: 14 28;
27442                fixed: 1 1;
27443                rel1 {
27444                   to: "elm.swallow.bar";
27445                   relative: 0.0 0.0;
27446                }
27447                rel2 {
27448                   to_y: "elm.swallow.bar";
27449                   to_x: "elm.cur.progressbar";
27450                   offset: -1 -1;
27451                }
27452                image {
27453                   normal: "bt_sm_base2.png";
27454                   border: 6 6 6 6;
27455                }
27456             }
27457             description {
27458                state: "invert" 0.0;
27459                inherit: "default" 0.0;
27460                rel1 {
27461                   to_y: "elm.swallow.bar";
27462                   to_x: "elm.cur.progressbar";
27463                }
27464                rel2 {
27465                   to: "elm.swallow.bar";
27466                   relative: 1.0 1.0;
27467                }
27468             }
27469             description {
27470                state: "state_begin" 0.0;
27471                inherit: "default" 0.0;
27472                rel1 {
27473                   to: "elm.swallow.bar";
27474                   relative: 0.0 0.0;
27475                }
27476                rel2 {
27477                   to: "elm.swallow.bar";
27478                   relative: 0.1 1.0;
27479                }
27480             }
27481             description {
27482                state: "state_end" 0.0;
27483                inherit: "default" 0.0;
27484                rel1 {
27485                   to: "elm.swallow.bar";
27486                   relative: 0.9 0.0;
27487                }
27488                rel2 {
27489                   to: "elm.swallow.bar";
27490                   relative: 1.0 1.0;
27491                }
27492             }
27493          }
27494          part { name: "text-bar";
27495             type: TEXT;
27496             mouse_events: 0;
27497             clip_to: "progress-rect";
27498             effect: SOFT_SHADOW;
27499             scale: 1;
27500             description { state: "default" 0.0;
27501                align: 0.0 0.0;
27502                fixed: 1 1;
27503                visible: 1;
27504                rel1.to: "elm.text.status";
27505                rel1.offset: -1 -1;
27506                rel2.to: "elm.text.status";
27507                text {
27508                   text_source: "elm.text.status";
27509                   font: "Sans:style=Bold,Edje-Vera-Bold";
27510                   size: 10;
27511                   min: 1 1;
27512                   align: 0.0 0.0;
27513                }
27514                color: 224 224 224 255;
27515                color3: 0 0 0 64;
27516             }
27517             description { state: "hidden" 0.0;
27518                inherit: "default" 0.0;
27519                visible: 0;
27520                text.min: 0 0;
27521             }
27522          }
27523
27524          part { name: "over1";
27525             mouse_events: 0;
27526             description { state: "default" 0.0;
27527                rel1.to: "elm.progress.progressbar";
27528                rel2.to: "elm.progress.progressbar";
27529                rel2.relative: 1.0 0.5;
27530                image {
27531                   normal: "bt_sm_hilight.png";
27532                   border: 6 6 6 0;
27533                }
27534             }
27535          }
27536
27537          part { name: "over2";
27538             mouse_events: 1;
27539             repeat_events: 1;
27540             description { state: "default" 0.0;
27541                rel1.to: "elm.progress.progressbar";
27542                rel2.to: "elm.progress.progressbar";
27543                image {
27544                   normal: "bt_sm_shine.png";
27545                   border: 6 6 6 0;
27546                }
27547             }
27548          }
27549
27550          part { name: "elm.cur.progressbar";
27551             mouse_events: 0;
27552             dragable {
27553                confine: "background";
27554                x: 1 1 1;
27555                y: 0 0 0;
27556             }
27557             description { state: "default" 0.0;
27558                min: 14 28;
27559                fixed: 1 1;
27560                visible: 0;
27561                rel1 {
27562                   to: "background";
27563                   relative: 0 0;
27564                }
27565                rel2.to: "background";
27566            }
27567          }
27568          part { name: "progress-rect";
27569             mouse_events: 0;
27570             description {
27571                state: "default" 0.0;
27572                rel1.to: "elm.progress.progressbar";
27573                rel2.to: "elm.progress.progressbar";
27574             }
27575          }
27576       }
27577       programs {
27578          program { name: "label_show";
27579             signal: "elm,state,text,visible";
27580             source: "elm";
27581             action:  STATE_SET "visible" 0.0;
27582             target: "elm.text";
27583          }
27584          program { name: "label_hide";
27585             signal: "elm,state,text,hidden";
27586             source: "elm";
27587             action:  STATE_SET "default" 0.0;
27588             target: "elm.text";
27589          }
27590          program { name: "icon_show";
27591             signal: "elm,state,icon,visible";
27592             source: "elm";
27593             action:  STATE_SET "visible" 0.0;
27594             target: "elm.swallow.content";
27595          }
27596          program { name: "icon_hide";
27597             signal: "elm,state,icon,hidden";
27598             source: "elm";
27599             action:  STATE_SET "default" 0.0;
27600             target: "elm.swallow.content";
27601          }
27602          program { name: "units_show";
27603             signal: "elm,state,units,visible";
27604             source: "elm";
27605             action:  STATE_SET "default" 0.0;
27606             target: "text-bar";
27607             target: "elm.text.status";
27608          }
27609          program { name: "units_hide";
27610             signal: "elm,state,units,hidden";
27611             source: "elm";
27612             action:  STATE_SET "hidden" 0.0;
27613             target: "text-bar";
27614             target: "elm.text.status";
27615          }
27616          program { name: "slide_to_end";
27617             action:  STATE_SET "state_end" 0.0;
27618             transition: LINEAR 0.5;
27619             target: "elm.progress.progressbar";
27620             after: "slide_to_begin";
27621          }
27622          program { name: "slide_to_begin";
27623             signal: "elm,state,slide,begin";
27624             action: STATE_SET "state_begin" 0.0;
27625             target: "elm.progress.progressbar";
27626             transition: LINEAR 0.5;
27627             after: "slide_to_end";
27628          }
27629          program { name: "start_pulse";
27630             signal: "elm,state,pulse,start";
27631             source: "elm";
27632             after: "slide_to_end";
27633          }
27634          program { name: "stop_pulse";
27635             signal: "elm,state,pulse,stop";
27636             source: "elm";
27637             action: ACTION_STOP;
27638             target: "slide_to_begin";
27639             target: "slide_to_end";
27640             target: "start_pulse";
27641             after: "state_pulse";
27642          }
27643          program { name: "state_pulse";
27644             signal: "elm,state,pulse";
27645             source: "elm";
27646             action: STATE_SET "state_begin" 0.0;
27647             target: "elm.progress.progressbar";
27648             after: "units_hide";
27649          }
27650          program { name: "state_fraction";
27651             signal: "elm,state,fraction";
27652             source: "elm";
27653             action: ACTION_STOP;
27654             target: "slide_to_begin";
27655             target: "slide_to_end";
27656             target: "start_pulse";
27657             action: STATE_SET "default" 0.0;
27658             target: "elm.progress.progressbar";
27659          }
27660          program { name: "set_invert_on";
27661             signal: "elm,state,inverted,on";
27662             source: "elm";
27663             action:  STATE_SET "invert" 0.0;
27664             target: "elm.progress.progressbar";
27665          }
27666          program { name: "set_invert_off";
27667             signal: "elm,state,inverted,off";
27668             source: "elm";
27669             action:  STATE_SET "default" 0.0;
27670             target: "elm.progress.progressbar";
27671          }
27672       }
27673    }
27674
27675 ///////////////////////////////////////////////////////////////////////////////
27676    group { name: "elm/progressbar/vertical/default";
27677       images {
27678          image: "shelf_inset.png" COMP;
27679          image: "bt_sm_base2.png" COMP;
27680          image: "bt_sm_hilight.png" COMP;
27681          image: "bt_sm_shine.png" COMP;
27682       }
27683       parts {
27684          part { name: "elm.background.progressbar";
27685             type: RECT;
27686             mouse_events: 0;
27687             description {
27688                state: "default" 0.0;
27689                rel1 {
27690                   relative: 0.0 0.0;
27691                   offset: 0 0;
27692                }
27693                rel2 {
27694                   relative: 1.0 1.0;
27695                   offset: -1 -1;
27696                }
27697             }
27698          }
27699          part { name: "elm.swallow.bar";
27700             type: SWALLOW;
27701             scale: 1;
27702             description { state: "default" 0.0;
27703                min: 28 48;
27704                max: 28 9999;
27705                align: 0.5 1.0;
27706                rel1 {
27707                   to_y: "elm.text";
27708                   relative: 0.0 1.0;
27709                   offset: 0 2;
27710                }
27711                rel2 {
27712                   to_y: "elm.text.box";
27713                   relative: 1.0 0.0;
27714                   offset: -1 -3;
27715                }
27716             }
27717          }
27718          part { name: "elm.swallow.content";
27719             type: SWALLOW;
27720             description { state: "default" 0.0;
27721                visible: 0;
27722                align: 0.5 0.0;
27723                rel1 {
27724                   offset: 0 4;
27725                   to_x: "elm.swallow.bar";
27726                }
27727                rel2 {
27728                   offset: -1 3;
27729                   relative: 1.0 0.0;
27730                   to_x: "elm.swallow.bar";
27731                }
27732             }
27733             description { state: "visible" 0.0;
27734                inherit: "default" 0.0;
27735                visible: 1;
27736                aspect: 1.0 1.0;
27737                aspect_preference: HORIZONTAL;
27738                rel2.offset: -1 4;
27739             }
27740          }
27741          part { name: "elm.text";
27742             type: TEXT;
27743             mouse_events: 0;
27744             scale: 1;
27745             description { state: "default" 0.0;
27746                visible: 0;
27747                fixed: 1 1;
27748                align: 0.5 0.0;
27749                rel1.to_y: "elm.swallow.content";
27750                rel1.relative: 0.5 1.0;
27751                rel1.offset: 0 -1;
27752                rel2.to_y: "elm.swallow.content";
27753                rel2.relative: 0.5 1.0;
27754                rel2.offset: -1 -1;
27755                color: 0 0 0 255;
27756                text {
27757                   font: "Sans,Edje-Vera";
27758                   size: 10;
27759                   min: 0 0;
27760                   align: 0.5 0.0;
27761                }
27762             }
27763             description { state: "visible" 0.0;
27764                inherit: "default" 0.0;
27765                visible: 1;
27766                text.min: 1 1;
27767                rel1.offset: 4 0;
27768                rel2.offset: -5 0;
27769             }
27770          }
27771
27772          part { name: "background";
27773             mouse_events: 0;
27774             clip_to: "elm.background.progressbar";
27775             description {
27776                state: "default" 0.0;
27777                rel1 {
27778                   to: "elm.swallow.bar";
27779                   relative: 0.0 0.0;
27780                }
27781                rel2 {
27782                   to: "elm.swallow.bar";
27783                   relative: 1.0 1.0;
27784                   offset: -1 -1;
27785                }
27786                image {
27787                   normal: "shelf_inset.png";
27788                   border: 7 7 7 7;
27789                }
27790             }
27791          }
27792
27793          part { name: "elm.progress.progressbar";
27794             mouse_events: 0;
27795             clip_to: "elm.background.progressbar";
27796             description {
27797                state: "default" 0.0;
27798                min: 28 14;
27799                fixed: 1 1;
27800                rel1 {
27801                   to: "elm.swallow.bar";
27802                   relative: 0.0 0.0;
27803                }
27804                rel2 {
27805                   to_x: "elm.swallow.bar";
27806                   to_y: "elm.cur.progressbar";
27807                   offset: -1 -1;
27808                }
27809                image {
27810                   normal: "bt_sm_base2.png";
27811                   border: 6 6 6 6;
27812                }
27813             }
27814             description {
27815                state: "invert" 0.0;
27816                inherit: "default" 0.0;
27817                rel1 {
27818                   to_x: "elm.swallow.bar";
27819                   to_y: "elm.cur.progressbar";
27820                }
27821                rel2 {
27822                   to: "elm.swallow.bar";
27823                   relative: 1.0 1.0;
27824                }
27825             }
27826             description {
27827                state: "state_begin" 0.0;
27828                inherit: "default" 0.0;
27829                rel1 {
27830                   to: "elm.swallow.bar";
27831                   relative: 0.0 0.0;
27832                }
27833                rel2 {
27834                   to: "elm.swallow.bar";
27835                   relative: 1.0 0.1;
27836                }
27837             }
27838             description {
27839                state: "state_end" 0.0;
27840                inherit: "default" 0.0;
27841                rel1 {
27842                   to: "elm.swallow.bar";
27843                   relative: 0.0 0.9;
27844                }
27845                rel2 {
27846                   to: "elm.swallow.bar";
27847                   relative: 1.0 1.0;
27848                }
27849             }
27850          }
27851
27852          part { name: "over1";
27853             mouse_events: 0;
27854             description { state: "default" 0.0;
27855                rel1.to: "elm.progress.progressbar";
27856                rel2.to: "elm.progress.progressbar";
27857                rel2.relative: 1.0 0.5;
27858                image {
27859                   normal: "bt_sm_hilight.png";
27860                   border: 6 6 6 0;
27861                }
27862             }
27863          }
27864
27865          part { name: "over2";
27866             mouse_events: 1;
27867             repeat_events: 1;
27868             description { state: "default" 0.0;
27869                rel1.to: "elm.progress.progressbar";
27870                rel2.to: "elm.progress.progressbar";
27871                image {
27872                   normal: "bt_sm_shine.png";
27873                   border: 6 6 6 0;
27874                }
27875             }
27876          }
27877
27878          part { name: "elm.cur.progressbar";
27879             mouse_events: 0;
27880             dragable {
27881                confine: "background";
27882                x: 0 0 0;
27883                y: 1 1 1;
27884             }
27885             description { state: "default" 0.0;
27886                min: 28 14;
27887                fixed: 1 1;
27888                visible: 0;
27889                rel1 {
27890                   to: "background";
27891                   relative: 0 0;
27892                }
27893                rel2.to: "background";
27894            }
27895          }
27896
27897          part { name: "elm.text.box";
27898             mouse_events: 0;
27899             type: RECT;
27900             description { state: "default" 0.0;
27901                visible: 0;
27902                rel1 {
27903                   to: "elm.text.status";
27904                   offset: -2 -2;
27905                }
27906                rel2 {
27907                   to: "elm.text.status";
27908                   offset: 2 2;
27909                }
27910                color: 255 255 255 0;
27911             }
27912             description { state: "visible" 0.0;
27913                inherit: "default" 0.0;
27914                visible: 1;
27915             }
27916          }
27917          part { name: "elm.text.status";
27918             type: TEXT;
27919             mouse_events: 0;
27920             scale: 1;
27921             description { state: "default" 0.0;
27922                visible: 0;
27923                fixed: 1 1;
27924                align: 0.5 1.0;
27925                rel1.relative: 0.0 1.0;
27926                rel1.offset: 2 0;
27927                rel2.relative: 1.0 1.0;
27928                rel2.offset: -2 0;
27929                color: 0 0 0 255;
27930                text {
27931                   font: "Sans:style=Bold,Edje-Vera-Bold";
27932                   size: 10;
27933                   min: 0 0;
27934                   align: 0.5 0.0;
27935                }
27936             }
27937             description { state: "visible" 0.0;
27938                inherit: "default" 0.0;
27939                fixed: 1 1;
27940                visible: 1;
27941                text.min: 1 1;
27942                rel1.offset: 8 -9;
27943                rel2.offset: -9 -9;
27944             }
27945          }
27946       }
27947       programs {
27948          program { name: "label_show";
27949             signal: "elm,state,text,visible";
27950             source: "elm";
27951             action:  STATE_SET "visible" 0.0;
27952             target: "elm.text";
27953          }
27954          program { name: "label_hide";
27955             signal: "elm,state,text,hidden";
27956             source: "elm";
27957             action:  STATE_SET "default" 0.0;
27958             target: "elm.text";
27959          }
27960          program { name: "icon_show";
27961             signal: "elm,state,icon,visible";
27962             source: "elm";
27963             action:  STATE_SET "visible" 0.0;
27964             target: "elm.swallow.content";
27965          }
27966          program { name: "icon_hide";
27967             signal: "elm,state,icon,hidden";
27968             source: "elm";
27969             action:  STATE_SET "default" 0.0;
27970             target: "elm.swallow.content";
27971          }
27972          program { name: "units_show";
27973             signal: "elm,state,units,visible";
27974             source: "elm";
27975             action:  STATE_SET "visible" 0.0;
27976             target: "elm.text.status";
27977             target: "elm.text.box";
27978          }
27979          program { name: "units_hide";
27980             signal: "elm,state,units,hidden";
27981             source: "elm";
27982             action:  STATE_SET "default" 0.0;
27983             target: "elm.text.status";
27984             target: "elm.text.box";
27985          }
27986          program { name: "slide_to_end";
27987             action:  STATE_SET "state_end" 0.0;
27988             transition: LINEAR 0.5;
27989             target: "elm.progress.progressbar";
27990             after: "slide_to_begin";
27991          }
27992          program { name: "slide_to_begin";
27993             action:  STATE_SET "state_begin" 0.0;
27994             target: "elm.progress.progressbar";
27995             transition: LINEAR 0.5;
27996             after: "slide_to_end";
27997          }
27998          program { name: "start_pulse";
27999             signal: "elm,state,pulse,start";
28000             source: "elm";
28001             action: STATE_SET "state_begin" 0.0;
28002             target: "elm.progress.progressbar";
28003             after: "slide_to_end";
28004          }
28005          program { name: "stop_pulse";
28006             signal: "elm,state,pulse,stop";
28007             source: "elm";
28008             action: ACTION_STOP;
28009             target: "slide_to_begin";
28010             target: "slide_to_end";
28011             target: "start_pulse";
28012             after: "state_pulse";
28013          }
28014          program { name: "state_pulse";
28015             signal: "elm,state,pulse";
28016             source: "elm";
28017             action: STATE_SET "state_begin" 0.0;
28018             target: "elm.progress.progressbar";
28019             after: "units_hide";
28020          }
28021          program { name: "state_fraction";
28022             signal: "elm,state,fraction";
28023             source: "elm";
28024             action: ACTION_STOP;
28025             target: "slide_to_begin";
28026             target: "slide_to_end";
28027             target: "start_pulse";
28028             action: STATE_SET "default" 0.0;
28029             target: "elm.progress.progressbar";
28030          }
28031          program { name: "set_invert_on";
28032             signal: "elm,state,inverted,on";
28033             source: "elm";
28034             action:  STATE_SET "invert" 0.0;
28035             target: "elm.progress.progressbar";
28036             target: "elm.cur.progressbar";
28037          }
28038          program { name: "set_invert_off";
28039             signal: "elm,state,inverted,off";
28040             source: "elm";
28041             action:  STATE_SET "default" 0.0;
28042             target: "elm.progress.progressbar";
28043             target: "elm.cur.progressbar";
28044          }
28045       }
28046    }
28047
28048 ///////////////////////////////////////////////////////////////////////////////
28049    group { name: "elm/separator/horizontal/default";
28050        images {
28051            image: "separator_h.png" COMP;
28052        }
28053        parts {
28054            part { name: "separator"; // separator group
28055                description { state: "default" 0.0;
28056                    min: 2 2;
28057                    rel1.offset: 4 4;
28058                    rel2.offset: -5 -5;
28059                    image {
28060                        normal: "separator_h.png";
28061                    }
28062                    fill {
28063                        smooth: 0;
28064                    }
28065                }
28066            }
28067        }
28068    }
28069
28070    ///////////////////////////////////////////////////////////////////////////////
28071    group { name: "elm/separator/vertical/default";
28072        images {
28073            image: "separator_v.png" COMP;
28074        }
28075        parts {
28076            part { name: "separator"; // separator group
28077                description { state: "default" 0.0;
28078                    min: 2 2;
28079                    rel1.offset: 4 4;
28080                    rel2.offset: -5 -5;
28081                    image {
28082                        normal: "separator_v.png";
28083                    }
28084                    fill {
28085                        smooth: 0;
28086                    }
28087                }
28088            }
28089        }
28090    }
28091
28092    group { name: "elm/progressbar/horizontal/wheel";
28093        images {
28094            image: "busy-1.png" COMP;
28095            image: "busy-2.png" COMP;
28096            image: "busy-3.png" COMP;
28097            image: "busy-4.png" COMP;
28098            image: "busy-5.png" COMP;
28099            image: "busy-6.png" COMP;
28100            image: "busy-7.png" COMP;
28101            image: "busy-8.png" COMP;
28102            image: "busy-9.png" COMP;
28103        }
28104        parts {
28105            part { name: "elm.background.progressbar";
28106                mouse_events: 0;
28107                type: RECT;
28108                description {
28109                    state: "default" 0.0;
28110                }
28111            }
28112            part { name: "elm.swallow.bar";
28113                mouse_events: 0;
28114                type: SWALLOW;
28115                description { state: "default" 0.0;
28116                    min: 0 0;
28117                    max: 0 0;
28118                    visible: 0;
28119                }
28120            }
28121            part { name: "elm.swallow.content";
28122                type: SWALLOW;
28123                description { state: "default" 0.0;
28124                    min: 0 0;
28125                    max: 0 0;
28126                    visible: 0;
28127                }
28128            }
28129            part { name: "background";
28130                mouse_events: 0;
28131                clip_to: "elm.background.progressbar";
28132                description {
28133                    state: "default" 0.0;
28134                    min: 32 32;
28135                    max: 32 32;
28136                    visible: 1;
28137                    aspect: 1.0 1.0;
28138                    aspect_preference: BOTH;
28139                    image {
28140                        normal: "busy-9.png";
28141                        border: 7 7 7 7;
28142                    }
28143                }
28144                description {
28145                    state: "pulse" 0.0;
28146                    inherit: "default" 0.0;
28147                    image {
28148                        normal: "busy-9.png";
28149                        tween:  "busy-1.png";
28150                        tween:  "busy-2.png";
28151                        tween:  "busy-3.png";
28152                        tween:  "busy-4.png";
28153                        tween:  "busy-5.png";
28154                        tween:  "busy-6.png";
28155                        tween:  "busy-7.png";
28156                        tween:  "busy-8.png";
28157                        border: 7 7 7 7;
28158                    }
28159                }
28160            }
28161        }
28162        programs {
28163            program { name: "start_pulse";
28164                signal: "elm,state,pulse,start";
28165                source: "elm";
28166                action: STATE_SET "pulse" 0.0;
28167                target: "background";
28168                transition: LINEAR 0.5;
28169                after: "start_pulse";
28170            }
28171            program { name: "stop_pulse";
28172                signal: "elm,state,pulse,stop";
28173                source: "elm";
28174                action: STATE_SET "default" 0.0;
28175                target: "background";
28176            }
28177        }
28178    }
28179
28180
28181 ///////////////////////////////////////////////////////////////////////////////
28182    group { name: "elm/spinner/base/default";
28183        images {
28184            image: "shelf_inset.png" COMP;
28185            image: "bt_base1.png" COMP;
28186            image: "bt_hilight.png" COMP;
28187            image: "bt_shine.png" COMP;
28188            image: "bt_glow.png" COMP;
28189            image: "bt_dis_base.png" COMP;
28190            image: "bt_dis_hilight.png" COMP;
28191            image: "sp_bt_l.png" COMP;
28192            image: "sp_bt_r.png" COMP;
28193        }
28194        parts {
28195            part { name: "bg";
28196                type: RECT;
28197                description { state: "default" 0.0;
28198                    min: 0 30;
28199                    rel1.offset: 1 1;
28200                    rel2.offset: -2 -2;
28201                    color: 255 255 255 0;
28202                }
28203            }
28204            part { name: "conf_over";
28205                mouse_events:  0;
28206                description { state: "default" 0.0;
28207                    rel1.to: "bg";
28208                    rel2.to: "bg";
28209                    image {
28210                        normal: "shelf_inset.png";
28211                        border: 7 7 7 7;
28212                        middle: 0;
28213                    }
28214                    fill.smooth : 0;
28215                }
28216            }
28217            part { name: "left_bt";
28218                mouse_events:  1;
28219                description { state: "default" 0.0;
28220                    rel1 { to: "bg";
28221                        offset: 3 3;
28222                    }
28223                    rel2 { to: "bg";
28224                        offset: -4 -4;
28225                    }
28226                    align: 0.0 0.5;
28227                    min: 24 24;
28228                    aspect: 1.0 1.0;
28229                    aspect_preference: VERTICAL;
28230                    image {
28231                        normal: "bt_base1.png";
28232                        border: 6 6 6 6;
28233                    }
28234                    fill.smooth : 0;
28235                }
28236                description { state: "clicked" 0.0;
28237                    inherit: "default" 0.0;
28238                    image.normal: "bt_base1.png";
28239                    image.middle: SOLID;
28240                }
28241                description { state: "disabled" 0.0;
28242                    inherit:  "default" 0.0;
28243                    image {
28244                        normal: "bt_dis_base.png";
28245                        border: 4 4 4 4;
28246                    }
28247                }
28248            }
28249            part {         name: "left_over1";
28250                mouse_events: 0;
28251                description { state: "default" 0.0;
28252                    rel1.to: "left_bt";
28253                    rel2 { to: "left_bt";
28254                        relative: 1.0 0.5;
28255                    }
28256                    image {
28257                        normal: "bt_hilight.png";
28258                        border: 7 7 7 0;
28259                    }
28260                }
28261                description { state: "disabled" 0.0;
28262                    inherit:  "default" 0.0;
28263                    image {
28264                        normal: "bt_dis_hilight.png";
28265                        border: 4 4 4 0;
28266                    }
28267                }
28268            }
28269            part { name: "left_over2";
28270                mouse_events: 1;
28271                repeat_events: 1;
28272                ignore_flags: ON_HOLD;
28273                description { state: "default" 0.0;
28274                    rel1.to: "left_bt";
28275                    rel2.to: "left_bt";
28276                    image {
28277                        normal: "bt_shine.png";
28278                        border: 7 7 7 7;
28279                    }
28280                }
28281                description { state: "disabled" 0.0;
28282                    inherit:  "default" 0.0;
28283                    visible: 0;
28284                }
28285            }
28286            part { name: "left_over3";
28287                mouse_events: 1;
28288                repeat_events: 1;
28289                description { state: "default" 0.0;
28290                    color: 255 255 255 0;
28291                    rel1.to: "left_bt";
28292                    rel2.to: "left_bt";
28293                    image {
28294                        normal: "bt_glow.png";
28295                        border: 12 12 12 12;
28296                    }
28297                    fill.smooth : 0;
28298                }
28299                description { state: "clicked" 0.0;
28300                    inherit:  "default" 0.0;
28301                    visible: 1;
28302                    color: 255 255 255 255;
28303                }
28304            }
28305            part { name: "right_bt";
28306                mouse_events:  1;
28307                description { state: "default" 0.0;
28308                    rel1 { to: "bg";
28309                        offset: -26 3;
28310                    }
28311                    rel2 { to: "bg";
28312                        offset: -4 -4;
28313                    }
28314                    align: 1.0 0.5;
28315                    min: 24 24;
28316                    aspect: 1.0 1.0;
28317                    aspect_preference: VERTICAL;
28318                    image {
28319                        normal: "bt_base1.png";
28320                        border: 5 5 4 12;
28321                    }
28322                    fill.smooth : 0;
28323                }
28324                description { state: "clicked" 0.0;
28325                    inherit: "default" 0.0;
28326                    image.normal: "bt_base1.png";
28327                    image.middle: SOLID;
28328                }
28329                description { state: "disabled" 0.0;
28330                    inherit:  "default" 0.0;
28331                    image {
28332                        normal: "bt_dis_base.png";
28333                        border: 4 4 4 4;
28334                    }
28335                }
28336            }
28337            part { name: "right_over1";
28338                mouse_events: 0;
28339                description { state: "default" 0.0;
28340                    rel1.to: "right_bt";
28341                    rel2 { to: "right_bt";
28342                        relative: 1.0 0.5;
28343                    }
28344                    image {
28345                        normal: "bt_hilight.png";
28346                        border: 7 7 7 0;
28347                    }
28348                }
28349                description { state: "disabled" 0.0;
28350                    inherit:  "default" 0.0;
28351                    image {
28352                        normal: "bt_dis_hilight.png";
28353                        border: 4 4 4 0;
28354                    }
28355                }
28356            }
28357            part { name: "right_over2";
28358                mouse_events: 1;
28359                repeat_events: 1;
28360                ignore_flags: ON_HOLD;
28361                description { state: "default" 0.0;
28362                    rel1.to: "right_bt";
28363                    rel2.to: "right_bt";
28364                    image {
28365                        normal: "bt_shine.png";
28366                        border: 7 7 7 7;
28367                    }
28368                }
28369                description { state: "disabled" 0.0;
28370                    inherit:  "default" 0.0;
28371                    visible: 0;
28372                }
28373            }
28374            part { name: "right_over3";
28375                mouse_events: 1;
28376                repeat_events: 1;
28377                description { state: "default" 0.0;
28378                    color: 255 255 255 0;
28379                    rel1.to: "right_bt";
28380                    rel2.to: "right_bt";
28381                    image {
28382                        normal: "bt_glow.png";
28383                        border: 12 12 12 12;
28384                    }
28385                    fill.smooth : 0;
28386                }
28387                description { state: "clicked" 0.0;
28388                    inherit:  "default" 0.0;
28389                    visible: 1;
28390                    color: 255 255 255 255;
28391                }
28392            }
28393            part { name: "left_bt_icon";
28394                repeat_events: 1;
28395                description { state: "default" 0.0;
28396                    rel1.to: "left_bt";
28397                    rel1.offset: 4 4;
28398                    rel2.to: "left_bt";
28399                    rel2.offset: -5 -5;
28400                    align: 0.5 0.5;
28401                    min: 16 16;
28402                    aspect: 1.0 1.0;
28403                    aspect_preference: BOTH;
28404                    image.normal: "sp_bt_l.png";
28405                }
28406            }
28407            part { name: "right_bt_icon";
28408                repeat_events: 1;
28409                description { state: "default" 0.0;
28410                    rel1.to: "right_bt";
28411                    rel1.offset: 4 4;
28412                    rel2.to: "right_bt";
28413                    rel2.offset: -5 -5;
28414                    align: 0.5 0.5;
28415                    min: 16 16;
28416                    aspect: 1.0 1.0;
28417                    aspect_preference: BOTH;
28418                    image.normal: "sp_bt_r.png";
28419                }
28420            }
28421            part { name: "elm.text";
28422                type: TEXT;
28423                mouse_events: 0;
28424                scale: 1;
28425                description { state: "default" 0.0;
28426                    visible: 1;
28427                    align: 0.0 0.5;
28428                    rel1 { relative: 1.0 0.0;
28429                        offset: 3 2;
28430                        to_x: "left_bt";
28431                        to_y: "bg";
28432                    }
28433                    rel2 { relative: 0.0 1.0;
28434                        offset: -3 -2;
28435                        to_x: "right_bt";
28436                        to_y: "bg";
28437                    }
28438                    color: 0 0 0 255;
28439                    text {
28440                        font: "Sans,Edje-Vera";
28441                        size: 10;
28442                        min: 1 1;
28443                        align: 0.5 0.5;
28444                    }
28445                }
28446                description { state: "active" 0.0;
28447                    inherit: "default" 0.0;
28448                    visible: 0;
28449                }
28450                description { state: "disabled_active" 0.0;
28451                    inherit: "default" 0.0;
28452                    color: 0 0 0 128;
28453                    color3: 0 0 0 0;
28454                }
28455                description { state: "disabled" 0.0;
28456                    inherit: "default" 0.0;
28457                    color: 0 0 0 128;
28458                    color3: 0 0 0 0;
28459                }
28460            }
28461            part { name: "elm.dragable.slider";
28462                type: RECT;
28463                mouse_events: 0;
28464                scale: 1;
28465                dragable {
28466                    x: 1 1 0;
28467                    y: 0 0 0;
28468                }
28469                description { state: "default" 0.0;
28470                    rel1.to: "bg";
28471                    rel2.to: "bg";
28472                    fixed: 1 1;
28473                    color: 0 0 0 0;
28474                }
28475            }
28476            part { name: "button_events";
28477                type: RECT;
28478                dragable {
28479                    events: "elm.dragable.slider";
28480                }
28481                mouse_events: 1;
28482                description { state: "default" 0.0;
28483                    rel1.to: "elm.text";
28484                    rel2.to: "elm.text";
28485                    color: 0 0 0 0;
28486                }
28487            }
28488            part { name: "elm.swallow.entry";
28489                type: SWALLOW;
28490                description { state: "default" 0.0;
28491                    visible: 0;
28492                    align: 0.5 0.5;
28493                    rel1 { relative: 1.0 0.5;
28494                        offset: 3 2;
28495                        to_x: "left_bt";
28496                        to_y: "bg";
28497                    }
28498                    rel2 { relative: 0.0 0.5;
28499                        offset: -3 -2;
28500                        to_x: "right_bt";
28501                        to_y: "bg";
28502                    }
28503                    fixed: 1 1;
28504                    color: 0 0 0 0;
28505                }
28506                description { state: "active" 0.0;
28507                    inherit: "default" 0.0;
28508                    visible: 1;
28509                    color: 255 255 255 255;
28510                }
28511                description { state: "disabled_active" 0.0;
28512                    inherit: "default" 0.0;
28513                    visible: 0;
28514                }
28515                description { state: "disabled" 0.0;
28516                    inherit: "default" 0.0;
28517                    visible: 0;
28518                }
28519            }
28520            part { name: "disabler";
28521                type: RECT;
28522                description { state: "default" 0.0;
28523                    color: 0 0 0 0;
28524                    visible: 0;
28525                }
28526                description { state: "disabled" 0.0;
28527                    inherit: "default" 0.0;
28528                    visible: 1;
28529                }
28530            }
28531        }
28532        programs {
28533            program { name: "text_show";
28534                signal: "elm,state,text,visible";
28535                source: "elm";
28536                action:  STATE_SET "visible" 0.0;
28537                target: "elm.text";
28538            }
28539            program { name: "text_hide";
28540                signal: "elm,state,text,hidden";
28541                source: "elm";
28542                action:  STATE_SET "default" 0.0;
28543                target: "elm.text";
28544            }
28545            program { name: "dec";
28546                signal: "mouse,down,1";
28547                source: "left_bt";
28548                action: SIGNAL_EMIT "elm,action,decrement,start" "";
28549            }
28550            program { name: "dec2";
28551                signal: "mouse,up,1";
28552                source: "left_bt";
28553                action: SIGNAL_EMIT "elm,action,decrement,stop" "";
28554            }
28555            program { name: "inc";
28556                signal: "mouse,down,1";
28557                source: "right_bt";
28558                action: SIGNAL_EMIT "elm,action,increment,start" "";
28559            }
28560            program { name: "inc2";
28561                signal: "mouse,up,1";
28562                source: "right_bt";
28563                action: SIGNAL_EMIT "elm,action,increment,stop" "";
28564            }
28565            program {
28566                name:   "left_bt_click";
28567                signal: "mouse,down,1";
28568                source: "left_over2";
28569                action: STATE_SET "clicked" 0.0;
28570                target: "left_bt";
28571            }
28572            program {
28573                name:   "left_bt_unclick";
28574                signal: "mouse,up,1";
28575                source: "left_over2";
28576                action: STATE_SET "default" 0.0;
28577                target: "left_bt";
28578            }
28579            program {
28580                name:   "left_bt_click2";
28581                signal: "mouse,down,1";
28582                source: "left_over3";
28583                action: STATE_SET "clicked" 0.0;
28584                target: "left_over3";
28585            }
28586            program {
28587                name:   "left_bt_unclick2";
28588                signal: "mouse,up,1";
28589                source: "left_over3";
28590                action: STATE_SET "default" 0.0;
28591                transition: DECELERATE 0.5;
28592                target: "left_over3";
28593            }
28594            program {
28595                name:   "left_bt_unclick3";
28596                signal: "mouse,up,1";
28597                source: "left_over2";
28598                action: SIGNAL_EMIT "elm,action,click" "";
28599            }
28600            program {
28601                name:   "left_bt_pressed_anim";
28602                signal: "elm,left,anim,activate";
28603                source: "elm";
28604                action: STATE_SET "clicked" 0.0;
28605                target: "left_bt";
28606                target: "left_over3";
28607                after: "left_bt_unpressed_anim";
28608            }
28609            program {
28610                name:   "left_bt_unpressed_anim";
28611                action: STATE_SET "default" 0.0;
28612                transition: DECELERATE 0.5;
28613                target: "left_bt";
28614                target: "left_over3";
28615            }
28616
28617            program {
28618                name:   "right_bt_click";
28619                signal: "mouse,down,1";
28620                source: "right_over2";
28621                action: STATE_SET "clicked" 0.0;
28622                target: "right_bt";
28623            }
28624            program {
28625                name:   "right_bt_unclick";
28626                signal: "mouse,up,1";
28627                source: "right_over2";
28628                action: STATE_SET "default" 0.0;
28629                target: "right_bt";
28630            }
28631            program {
28632                name:   "right_bt_click2";
28633                signal: "mouse,down,1";
28634                source: "right_over3";
28635                action: STATE_SET "clicked" 0.0;
28636                target: "right_over3";
28637            }
28638            program {
28639                name:   "right_bt_unclick2";
28640                signal: "mouse,up,1";
28641                source: "right_over3";
28642                action: STATE_SET "default" 0.0;
28643                transition: DECELERATE 0.5;
28644                target: "right_over3";
28645            }
28646            program {
28647                name:   "right_bt_unclick3";
28648                signal: "mouse,up,1";
28649                source: "right_over2";
28650                action: SIGNAL_EMIT "elm,action,click" "";
28651            }
28652            program {
28653                name:   "right_bt_pressed_anim";
28654                signal: "elm,right,anim,activate";
28655                source: "elm";
28656                action: STATE_SET "clicked" 0.0;
28657                target: "right_bt";
28658                target: "right_over3";
28659                after: "right_bt_unpressed_anim";
28660            }
28661            program {
28662                name:   "right_bt_unpressed_anim";
28663                action: STATE_SET "default" 0.0;
28664                transition: DECELERATE 0.5;
28665                target: "right_bt";
28666                target: "right_over3";
28667            }
28668
28669            program { name: "disable";
28670                signal: "elm,state,disabled";
28671                source: "elm";
28672                action: STATE_SET "disabled" 0.0;
28673                target: "left_bt";
28674                target: "left_over1";
28675                target: "left_over2";
28676                target: "right_bt";
28677                target: "right_over1";
28678                target: "right_over2";
28679                target: "disabler";
28680                after: "disable_text";
28681            }
28682            program { name: "disable_text";
28683                script {
28684                    new st[31];
28685                    new Float:vl;
28686                    get_state(PART:"elm.text", st, 30, vl);
28687                    if (!strcmp(st, "active"))
28688                    set_state(PART:"elm.text", "disabled_active", 0.0);
28689                    else
28690                    set_state(PART:"elm.text", "disabled", 0.0);
28691
28692                    get_state(PART:"elm.swallow.entry", st, 30, vl);
28693                    if (!strcmp(st, "active"))
28694                    set_state(PART:"elm.swallow.entry", "disabled_active", 0.0);
28695                    else
28696                    set_state(PART:"elm.swallow.entry", "disabled", 0.0);
28697                }
28698            }
28699            program { name: "enable";
28700                signal: "elm,state,enabled";
28701                source: "elm";
28702                action: STATE_SET "default" 0.0;
28703                target: "left_bt";
28704                target: "left_over1";
28705                target: "left_over2";
28706                target: "right_bt";
28707                target: "right_over1";
28708                target: "right_over2";
28709                target: "disabler";
28710                after: "enable_text";
28711            }
28712            program { name: "enable_text";
28713                script {
28714                    new st[31];
28715                    new Float:vl;
28716                    get_state(PART:"elm.text", st, 30, vl);
28717                    if (!strcmp(st, "disabled_active"))
28718                    set_state(PART:"elm.text", "active", 0.0);
28719                    else
28720                    set_state(PART:"elm.text", "default", 0.0);
28721
28722                    get_state(PART:"elm.swallow.entry", st, 30, vl);
28723                    if (!strcmp(st, "disabled_active"))
28724                    set_state(PART:"elm.swallow.entry", "active", 0.0);
28725                    else
28726                    set_state(PART:"elm.swallow.entry", "default", 0.0);
28727                }
28728            }
28729            program { name: "active";
28730                signal: "elm,state,active";
28731                source: "elm";
28732                action: STATE_SET "active" 0.0;
28733                target: "elm.text";
28734                target: "elm.swallow.entry";
28735            }
28736            program { name: "inactive";
28737                signal: "elm,state,inactive";
28738                source: "elm";
28739                action: STATE_SET "default" 0.0;
28740                target: "elm.text";
28741                target: "elm.swallow.entry";
28742            }
28743            program { name: "toggle_text";
28744                signal: "mouse,up,1";
28745                source: "button_events";
28746                action: SIGNAL_EMIT "elm,action,entry,toggle" "";
28747            }
28748        }
28749    }
28750
28751 ///////////////////////////////////////////////////////////////////////////////
28752    group { name: "elm/spinner/base/vertical";
28753        images {
28754            image: "shelf_inset.png" COMP;
28755            image: "bt_hilight.png" COMP;
28756            image: "bt_shine.png" COMP;
28757            image: "bt_glow.png" COMP;
28758            image: "bt_dis_base.png" COMP;
28759            image: "bt_dis_hilight.png" COMP;
28760            image: "up.png" COMP;
28761            image: "down.png" COMP;
28762            image: "bt_spinner_up.png" COMP;
28763            image: "bt_spinner_down.png" COMP;
28764            image: "bt_spinner_hilight.png" COMP;
28765        }
28766        parts {
28767            part { name: "bg";
28768                type: RECT;
28769                description { state: "default" 0.0;
28770                    min: 0 30;
28771                    rel1.offset: 1 1;
28772                    rel2.offset: -2 -2;
28773                    color: 255 255 255 0;
28774                }
28775            }
28776            part { name: "conf_over";
28777                mouse_events:  0;
28778                description { state: "default" 0.0;
28779                    rel1 {
28780                      to: "bg";
28781                      relative: 0.0 0.0;
28782                    }
28783                    rel2 {
28784                       to: "bg";
28785                    }
28786                    image {
28787                        normal: "shelf_inset.png";
28788                        border: 7 7 7 7;
28789                        middle: 0;
28790                    }
28791                    fill.smooth : 0;
28792                }
28793            }
28794            part { name: "down_bt";
28795                mouse_events:  1;
28796                description { state: "default" 0.0;
28797                    fixed: 1 1;
28798                    rel1 {
28799                        to: "up_bt";
28800                        relative: 0 1;
28801                        offset: 0 1;
28802                    }
28803                    rel2 {
28804                        to_y: "bg";
28805                        to_x: "up_bt";
28806                        relative: 1 1;
28807                        offset: -1 -4;
28808                    }
28809                    align: 1.0 0.5;
28810                    min: 24 16;
28811                    image {
28812                        normal: "bt_spinner_down.png";
28813                        border: 6 6 6 6;
28814                    }
28815                    fill.smooth : 0;
28816                }
28817                description { state: "clicked" 0.0;
28818                    inherit: "default" 0.0;
28819                    image.normal: "bt_spinner_down.png";
28820                    image.middle: SOLID;
28821                }
28822                description { state: "disabled" 0.0;
28823                    inherit:  "default" 0.0;
28824                    image {
28825                        normal: "bt_dis_base.png";
28826                        border: 4 4 4 4;
28827                    }
28828                }
28829            }
28830            part { name: "down_over3";
28831                mouse_events: 1;
28832                repeat_events: 1;
28833                description { state: "default" 0.0;
28834                    color: 255 255 255 0;
28835                    rel1.to: "down_bt";
28836                    rel2.to: "down_bt";
28837                    image {
28838                        normal: "bt_glow.png";
28839                        border: 12 12 12 12;
28840                    }
28841                    fill.smooth : 0;
28842                }
28843                description { state: "clicked" 0.0;
28844                    inherit:  "default" 0.0;
28845                    visible: 1;
28846                    color: 255 255 255 255;
28847                }
28848            }
28849            part { name: "up_bt";
28850                mouse_events:  1;
28851                description { state: "default" 0.0;
28852                    fixed: 1 0;
28853                    rel1 { to: "bg";
28854                        relative: 0 0;
28855                        offset: 0 2;
28856                    }
28857                    rel2 { to: "bg";
28858                        relative: 1 0.5;
28859                        offset: -3 0;
28860                    }
28861                    align: 1.0 0.5;
28862                    min: 24 16;
28863                    aspect: 1.5 1.0;
28864                    aspect_preference: BOTH;
28865                    image {
28866                        normal: "bt_spinner_up.png";
28867                        border: 6 6 6 6;
28868                    }
28869                    fill.smooth : 0;
28870                }
28871                description { state: "clicked" 0.0;
28872                    inherit: "default" 0.0;
28873                    image.normal: "bt_spinner_up.png";
28874                    image.middle: SOLID;
28875                }
28876                description { state: "disabled" 0.0;
28877                    inherit:  "default" 0.0;
28878                    image {
28879                        normal: "bt_dis_base.png";
28880                        border: 4 4 4 4;
28881                    }
28882                }
28883            }
28884            part { name: "up_over1";
28885                mouse_events: 0;
28886                description { state: "default" 0.0;
28887                    rel1.to: "up_bt";
28888                    rel2 { to: "up_bt";
28889                        relative: 1.0 0.5;
28890                    }
28891                    image {
28892                        normal: "bt_spinner_hilight.png";
28893                        border: 7 7 7 0;
28894                    }
28895                }
28896                description { state: "disabled" 0.0;
28897                    inherit:  "default" 0.0;
28898                    image {
28899                        normal: "bt_dis_hilight.png";
28900                        border: 4 4 4 0;
28901                    }
28902                }
28903            }
28904            part { name: "up_over3";
28905                mouse_events: 1;
28906                repeat_events: 1;
28907                description { state: "default" 0.0;
28908                    color: 255 255 255 0;
28909                    rel1.to: "up_bt";
28910                    rel2.to: "up_bt";
28911                    image {
28912                        normal: "bt_glow.png";
28913                        border: 12 12 12 12;
28914                    }
28915                    fill.smooth : 0;
28916                }
28917                description { state: "clicked" 0.0;
28918                    inherit:  "default" 0.0;
28919                    visible: 1;
28920                    color: 255 255 255 255;
28921                }
28922            }
28923            part { name: "down_bt_icon";
28924                repeat_events: 1;
28925                description { state: "default" 0.0;
28926                    rel1.to: "down_bt";
28927                    rel1.offset: 5 3;
28928                    rel2.to: "down_bt";
28929                    rel2.offset: -6 -3;
28930                    align: 0.5 0.5;
28931                    image.normal: "down.png";
28932                }
28933            }
28934            part { name: "up_bt_icon";
28935                repeat_events: 1;
28936                description { state: "default" 0.0;
28937                    rel1.to: "up_bt";
28938                    rel1.offset: 5 3;
28939                    rel2.to: "up_bt";
28940                    rel2.offset: -6 -3;
28941                    align: 0.5 0.5;
28942                    image.normal: "up.png";
28943                }
28944            }
28945            part { name: "elm.text";
28946                type: TEXT;
28947                mouse_events: 0;
28948                scale: 1;
28949                description { state: "default" 0.0;
28950                    visible: 1;
28951                    align: 0.0 0.5;
28952                    rel1 { relative: 0.0 0.0;
28953                        offset: 3 2;
28954                        to_x: "bg";
28955                        to_y: "bg";
28956                    }
28957                    rel2 { relative: 0.0 1.0;
28958                        offset: -3 -2;
28959                        to_x: "down_bt";
28960                        to_y: "bg";
28961                    }
28962                    color: 0 0 0 255;
28963                    text {
28964                        font: "Sans,Edje-Vera";
28965                        size: 10;
28966                        min: 1 1;
28967                        align: 0.5 0.5;
28968                    }
28969                }
28970                description { state: "active" 0.0;
28971                    inherit: "default" 0.0;
28972                    visible: 0;
28973                }
28974                description { state: "disabled_active" 0.0;
28975                    inherit: "default" 0.0;
28976                    color: 0 0 0 128;
28977                    color3: 0 0 0 0;
28978                }
28979                description { state: "disabled" 0.0;
28980                    inherit: "default" 0.0;
28981                    color: 0 0 0 128;
28982                    color3: 0 0 0 0;
28983                }
28984            }
28985            part { name: "elm.dragable.slider";
28986                type: RECT;
28987                mouse_events: 0;
28988                scale: 1;
28989                dragable {
28990                    x: 1 1 0;
28991                    y: 0 0 0;
28992                }
28993                description { state: "default" 0.0;
28994                    rel1.to: "bg";
28995                    rel2.to: "bg";
28996                    fixed: 1 1;
28997                    color: 0 0 0 0;
28998                }
28999            }
29000            part { name: "button_events";
29001                type: RECT;
29002                dragable {
29003                    events: "elm.dragable.slider";
29004                }
29005                mouse_events: 1;
29006                description { state: "default" 0.0;
29007                    rel1.to: "elm.text";
29008                    rel2.to: "elm.text";
29009                    color: 0 0 0 0;
29010                }
29011            }
29012            part { name: "elm.swallow.entry";
29013                type: SWALLOW;
29014                description { state: "default" 0.0;
29015                    visible: 0;
29016                    align: 0.5 0.5;
29017                    rel1 { relative: 0.0 0.5;
29018                        offset: 3 2;
29019                        to: "bg";
29020                    }
29021                    rel2 { relative: 1.0 0.5;
29022                        offset: -3 -2;
29023                        to: "bg";
29024                    }
29025                    fixed: 1 1;
29026                    color: 0 0 0 0;
29027                }
29028                description { state: "active" 0.0;
29029                    inherit: "default" 0.0;
29030                    visible: 1;
29031                    color: 255 255 255 255;
29032                }
29033                description { state: "disabled_active" 0.0;
29034                    inherit: "default" 0.0;
29035                    visible: 0;
29036                }
29037                description { state: "disabled" 0.0;
29038                    inherit: "default" 0.0;
29039                    visible: 0;
29040                }
29041            }
29042            part { name: "disabler";
29043                type: RECT;
29044                description { state: "default" 0.0;
29045                    color: 0 0 0 0;
29046                    visible: 0;
29047                }
29048                description { state: "disabled" 0.0;
29049                    inherit: "default" 0.0;
29050                    visible: 1;
29051                }
29052            }
29053        }
29054        programs {
29055            program { name: "text_show";
29056                signal: "elm,state,text,visible";
29057                source: "elm";
29058                action:  STATE_SET "visible" 0.0;
29059                target: "elm.text";
29060            }
29061            program { name: "text_hide";
29062                signal: "elm,state,text,hidden";
29063                source: "elm";
29064                action:  STATE_SET "default" 0.0;
29065                target: "elm.text";
29066            }
29067            program { name: "dec";
29068                signal: "mouse,down,1";
29069                source: "down_bt";
29070                action: SIGNAL_EMIT "elm,action,decrement,start" "";
29071            }
29072            program { name: "dec2";
29073                signal: "mouse,up,1";
29074                source: "down_bt";
29075                action: SIGNAL_EMIT "elm,action,decrement,stop" "";
29076            }
29077            program { name: "inc";
29078                signal: "mouse,down,1";
29079                source: "up_bt";
29080                action: SIGNAL_EMIT "elm,action,increment,start" "";
29081            }
29082            program { name: "inc2";
29083                signal: "mouse,up,1";
29084                source: "up_bt";
29085                action: SIGNAL_EMIT "elm,action,increment,stop" "";
29086            }
29087            program {
29088                name:   "down_bt_click2";
29089                signal: "mouse,down,1";
29090                source: "down_over3";
29091                action: STATE_SET "clicked" 0.0;
29092                target: "down_over3";
29093            }
29094            program {
29095                name:   "down_bt_unclick2";
29096                signal: "mouse,up,1";
29097                source: "down_over3";
29098                action: STATE_SET "default" 0.0;
29099                transition: DECELERATE 0.5;
29100                target: "down_over3";
29101            }
29102            program {
29103                name:   "up_bt_click2";
29104                signal: "mouse,down,1";
29105                source: "up_over3";
29106                action: STATE_SET "clicked" 0.0;
29107                target: "up_over3";
29108            }
29109            program {
29110                name:   "up_bt_unclick2";
29111                signal: "mouse,up,1";
29112                source: "up_over3";
29113                action: STATE_SET "default" 0.0;
29114                transition: DECELERATE 0.5;
29115                target: "up_over3";
29116            }
29117            program { name: "disable";
29118                signal: "elm,state,disabled";
29119                source: "elm";
29120                action: STATE_SET "disabled" 0.0;
29121                target: "down_bt";
29122                target: "up_bt";
29123                target: "disabler";
29124                after: "disable_text";
29125            }
29126            program { name: "disable_text";
29127                script {
29128                    new st[31];
29129                    new Float:vl;
29130                    get_state(PART:"elm.text", st, 30, vl);
29131                    if (!strcmp(st, "active"))
29132                    set_state(PART:"elm.text", "disabled_active", 0.0);
29133                    else
29134                    set_state(PART:"elm.text", "disabled", 0.0);
29135
29136                    get_state(PART:"elm.swallow.entry", st, 30, vl);
29137                    if (!strcmp(st, "active"))
29138                    set_state(PART:"elm.swallow.entry", "disabled_active", 0.0);
29139                    else
29140                    set_state(PART:"elm.swallow.entry", "disabled", 0.0);
29141                }
29142            }
29143            program { name: "enable";
29144                signal: "elm,state,enabled";
29145                source: "elm";
29146                action: STATE_SET "default" 0.0;
29147                target: "down_bt";
29148                target: "up_bt";
29149                target: "disabler";
29150                after: "enable_text";
29151            }
29152            program { name: "enable_text";
29153                script {
29154                    new st[31];
29155                    new Float:vl;
29156                    get_state(PART:"elm.text", st, 30, vl);
29157                    if (!strcmp(st, "disabled_active"))
29158                    set_state(PART:"elm.text", "active", 0.0);
29159                    else
29160                    set_state(PART:"elm.text", "default", 0.0);
29161
29162                    get_state(PART:"elm.swallow.entry", st, 30, vl);
29163                    if (!strcmp(st, "disabled_active"))
29164                    set_state(PART:"elm.swallow.entry", "active", 0.0);
29165                    else
29166                    set_state(PART:"elm.swallow.entry", "default", 0.0);
29167                }
29168            }
29169            program { name: "active";
29170                signal: "elm,state,active";
29171                source: "elm";
29172                action: STATE_SET "active" 0.0;
29173                target: "elm.text";
29174                target: "elm.swallow.entry";
29175            }
29176            program { name: "inactive";
29177                signal: "elm,state,inactive";
29178                source: "elm";
29179                action: STATE_SET "default" 0.0;
29180                target: "elm.text";
29181                target: "elm.swallow.entry";
29182            }
29183            program { name: "toggle_text";
29184                signal: "mouse,up,1";
29185                source: "button_events";
29186                action: SIGNAL_EMIT "elm,action,entry,toggle" "";
29187            }
29188        }
29189    }
29190
29191
29192    ///////////////////////////////////////////////////////////////////////////////
29193    group { name: "elm/index/base/vertical/default";
29194        images {
29195            image: "bt_base1.png" COMP;
29196            image: "bt_base2.png" COMP;
29197            image: "bt_hilight.png" COMP;
29198            image: "bt_shine.png" COMP;
29199        }
29200        parts {
29201            part { name: "clip";
29202                type: RECT;
29203                mouse_events:  0;
29204                description { state: "default" 0.0;
29205                    visible:  0;
29206                    color: 255 255 255 0;
29207                }
29208                description { state: "active" 0.0;
29209                    visible:  1;
29210                    color: 255 255 255 255;
29211                }
29212            }
29213            part { name: "clip2";
29214                type: RECT;
29215                mouse_events:  0;
29216                clip_to: "clip";
29217                description { state: "default" 0.0;
29218                    visible: 0;
29219                    color: 255 255 255 0;
29220                }
29221                description { state: "active" 0.0;
29222                    visible:  1;
29223                    color: 255 255 255 255;
29224                }
29225            }
29226            part { name: "elm.swallow.index.0";
29227                type: SWALLOW;
29228                clip_to: "clip";
29229                description { state: "default" 0.0;
29230                    align: 1.0 0.5;
29231                    fixed: 1 1;
29232                    rel1 {
29233                        relative: 1.0 0.5;
29234                        offset: -1 5;
29235                    }
29236                    rel2 {
29237                        relative: 1.0 0.5;
29238                        offset: -1 -6;
29239                    }
29240                }
29241            }
29242            part { name: "button_image";
29243                mouse_events: 1;
29244                clip_to: "clip";
29245                description { state: "default" 0.0;
29246                    rel1 {
29247                        to: "elm.text.body";
29248                        offset: -5 -5;
29249                    }
29250                    rel2 {
29251                        to: "elm.text";
29252                        offset: 4 4;
29253                    }
29254                    image {
29255                        normal: "bt_base2.png";
29256                        border: 7 7 7 7;
29257                    }
29258                    image.middle: SOLID;
29259                }
29260            }
29261            part { name: "elm.text.body";
29262                type: TEXT;
29263                effect: SOFT_SHADOW;
29264                mouse_events: 0;
29265                scale: 1;
29266                clip_to: "clip";
29267                description { state: "default" 0.0;
29268                    align: 1.0 0.5;
29269                    fixed: 1 1;
29270                    rel1 {
29271                        to: "elm.text";
29272                        relative: 0.0 0.0;
29273                        offset: 5 0;
29274                    }
29275                    rel2 {
29276                        to: "elm.text";
29277                        relative: 0.0 1.0;
29278                        offset: 5 -1;
29279                    }
29280                    color: 224 224 224 255;
29281                    color3: 0 0 0 64;
29282                    text {
29283                        font:     "Sans,Edje-Vera";
29284                        size:     20;
29285                        min:      1 1;
29286                        align:    1.0 0.5;
29287                    }
29288                }
29289            }
29290            part { name: "elm.text";
29291                type: TEXT;
29292                effect: SOFT_SHADOW;
29293                mouse_events: 0;
29294                scale: 1;
29295                clip_to: "clip";
29296                description { state: "default" 0.0;
29297                    align: 1.0 0.5;
29298                    fixed: 1 1;
29299                    rel1 {
29300                        to_x: "elm.swallow.event.0";
29301                        to_y: "elm.dragable.pointer";
29302                        relative: 0.0 0.5;
29303                        offset: -16 0;
29304                    }
29305                    rel2 {
29306                        to_x: "elm.swallow.event.0";
29307                        to_y: "elm.dragable.pointer";
29308                        relative: 0.0 0.5;
29309                        offset: -16 -1;
29310                    }
29311                    color: 255 0 0 255;
29312                    color3: 0 0 0 64;
29313                    text {
29314                        font:     "Sans,Edje-Vera";
29315                        size:     20;
29316                        min:      1 1;
29317                        align:    1.0 0.5;
29318                    }
29319                }
29320            }
29321            part {       name: "over1";
29322                mouse_events: 0;
29323                clip_to: "clip";
29324                description { state: "default" 0.0;
29325                    rel1 {
29326                        to: "button_image";
29327                    }
29328                    rel2 {
29329                        to: "button_image";
29330                        relative: 1.0 0.5;
29331                    }
29332                    image {
29333                        normal: "bt_hilight.png";
29334                        border: 7 7 7 0;
29335                    }
29336                }
29337            }
29338            part { name: "over2";
29339                mouse_events: 1;
29340                repeat_events: 1;
29341                ignore_flags: ON_HOLD;
29342                clip_to: "clip";
29343                description { state: "default" 0.0;
29344                    rel1 {
29345                        to: "button_image";
29346                    }
29347                    rel2 {
29348                        to: "button_image";
29349                    }
29350                    image {
29351                        normal: "bt_shine.png";
29352                        border: 7 7 7 7;
29353                    }
29354                }
29355            }
29356            part { name: "elm.dragable.pointer";
29357                type: RECT;
29358                mouse_events: 0;
29359                dragable {
29360                    x: 1 1 0;
29361                    y: 1 1 0;
29362                }
29363                clip_to: "clip";
29364                description { state: "default" 0.0;
29365                    fixed: 1 1;
29366                    min: 8 8;
29367                    max: 8 8;
29368                    rel1 {
29369                        relative: 0.0 0.0;
29370                        offset:   0 0;
29371                    }
29372                    rel2 {
29373                        relative: 0.0 0.0;
29374                        offset:   0 0;
29375                    }
29376                    color: 0 0 255 128;
29377                }
29378            }
29379            part { name: "elm.swallow.event.0";
29380                type: SWALLOW;
29381                description { state: "default" 0.0;
29382                    align: 1.0 0.5;
29383                    fixed: 1 1;
29384                    rel1 {
29385                        relative: 1.0 0.0;
29386                        offset: -1 0;
29387                    }
29388                    rel2 {
29389                        relative: 1.0 1.0;
29390                        offset: -1 -1;
29391                    }
29392                }
29393            }
29394        }
29395        programs {
29396            program { name: "active";
29397                signal: "elm,state,active";
29398                source: "elm";
29399                action: STATE_SET "active" 0.0;
29400                transition: DECELERATE 0.5;
29401                target: "clip";
29402            }
29403            program { name: "inactive";
29404                signal: "elm,state,inactive";
29405                source: "elm";
29406                action: STATE_SET "default" 0.0;
29407                transition: DECELERATE 0.5;
29408                target: "clip";
29409            }
29410        }
29411    }
29412
29413    group { name: "elm/index/item/vertical/default";
29414        data.item: "stacking" "above";
29415        data.item: "selectraise" "on";
29416        images {
29417            image: "ilist_1.png" COMP;
29418            image: "ilist_item_shadow.png" COMP;
29419        }
29420        parts {
29421            part {
29422                name: "base_sh";
29423                mouse_events: 0;
29424                description {
29425                    state: "default" 0.0;
29426                    align: 0.0 0.0;
29427                    min: 0 10;
29428                    fixed: 1 1;
29429                    rel1 {
29430                        to: "base";
29431                        relative: 0.0 1.0;
29432                        offset: 0 0;
29433                    }
29434                    rel2 {
29435                        to: "base";
29436                        relative: 1.0 1.0;
29437                        offset: -1 0;
29438                    }
29439                    image {
29440                        normal: "ilist_item_shadow.png";
29441                    }
29442                    fill.smooth: 0;
29443                }
29444            }
29445            part {
29446                name: "base";
29447                mouse_events: 0;
29448                description {
29449                    state: "default" 0.0;
29450                    image {
29451                        normal: "ilist_1.png";
29452                        border: 2 2 2 2;
29453                    }
29454                    fill.smooth: 0;
29455                }
29456                description { state: "active" 0.0;
29457                    inherit: "default" 0.0;
29458                    rel1 {
29459                        offset: -16 0;
29460                    }
29461                }
29462            }
29463            part { name: "elm.text";
29464                type:           TEXT;
29465                mouse_events:   0;
29466                scale: 1;
29467                description {
29468                    state: "default" 0.0;
29469                           //               min: 16 16;
29470                    rel1 {
29471                        to: "base";
29472                        relative: 0.0  0.0;
29473                        offset:   4 4;
29474                    }
29475                    rel2 {
29476                        to: "base";
29477                        relative: 1.0  1.0;
29478                        offset:   -5 -5;
29479                    }
29480                    color: 0 0 0 128;
29481                    text {
29482                        font: "Sans";
29483                        size: 10;
29484                        min: 1 1;
29485                             //                  min: 0 1;
29486                        align: 0.0 0.5;
29487                    }
29488                }
29489                description { state: "active" 0.0;
29490                    inherit: "default" 0.0;
29491                    color: 0 0 0 255;
29492                }
29493            }
29494        }
29495        programs {
29496            program { name: "active";
29497                signal: "elm,state,active";
29498                source: "elm";
29499                action: STATE_SET "active" 0.0;
29500                transition: DECELERATE 0.5;
29501                target: "elm.text";
29502                target: "base";
29503            }
29504            program { name: "inactive";
29505                signal: "elm,state,inactive";
29506                source: "elm";
29507                action: STATE_SET "default" 0.0;
29508                transition: DECELERATE 0.5;
29509                target: "elm.text";
29510                target: "base";
29511            }
29512        }
29513    }
29514
29515    group { name: "elm/index/item_odd/vertical/default";
29516        data.item: "stacking" "below";
29517        images {
29518            image: "ilist_2.png" COMP;
29519        }
29520        parts {
29521            part {
29522                name: "base";
29523                mouse_events: 0;
29524                description {
29525                    state: "default" 0.0;
29526                    image {
29527                        normal: "ilist_2.png";
29528                        border: 2 2 2 2;
29529                    }
29530                    fill.smooth: 0;
29531                }
29532                description { state: "active" 0.0;
29533                    inherit: "default" 0.0;
29534                    rel1 {
29535                        offset: -16 0;
29536                    }
29537                }
29538            }
29539            part { name: "elm.text";
29540                type:           TEXT;
29541                mouse_events:   0;
29542                scale: 1;
29543                description {
29544                    state: "default" 0.0;
29545                           //               min: 16 16;
29546                    rel1 {
29547                        to: "base";
29548                        relative: 0.0  0.0;
29549                        offset:   4 4;
29550                    }
29551                    rel2 {
29552                        to: "base";
29553                        relative: 1.0  1.0;
29554                        offset:   -5 -5;
29555                    }
29556                    color: 0 0 0 128;
29557                    text {
29558                        font: "Sans";
29559                        size: 10;
29560                        min: 1 1;
29561                             //                  min: 0 1;
29562                        align: 0.0 0.5;
29563                    }
29564                }
29565                description { state: "active" 0.0;
29566                    inherit: "default" 0.0;
29567                    color: 0 0 0 255;
29568                }
29569            }
29570        }
29571        programs {
29572            program { name: "active";
29573                signal: "elm,state,active";
29574                source: "elm";
29575                action: STATE_SET "active" 0.0;
29576                transition: DECELERATE 0.5;
29577                target: "elm.text";
29578                target: "base";
29579            }
29580            program { name: "inactive";
29581                signal: "elm,state,inactive";
29582                source: "elm";
29583                action: STATE_SET "default" 0.0;
29584                transition: DECELERATE 0.5;
29585                target: "elm.text";
29586                target: "base";
29587            }
29588        }
29589    }
29590
29591 ///////////////////////////////////////////////////////////////////////////////
29592    group { name: "elm/gengrid/item/default/default";
29593       data.item: "labels" "elm.text";
29594       data.item: "icons" "elm.swallow.icon elm.swallow.end";
29595       images {
29596          image: "bt_sm_base1.png" COMP;
29597          image: "bt_sm_shine.png" COMP;
29598          image: "bt_sm_hilight.png" COMP;
29599          image: "ilist_1.png" COMP;
29600          image: "ilist_item_shadow.png" COMP;
29601       }
29602       parts {
29603          part { name: "event";
29604             type: RECT;
29605             repeat_events: 1;
29606             description {
29607                state: "default" 0.0;
29608                color: 0 0 0 0;
29609             }
29610          }
29611          part { name: "base_sh";
29612             mouse_events: 0;
29613             description { state: "default" 0.0;
29614                align: 0.0 0.0;
29615                min: 0 10;
29616                fixed: 1 1;
29617                rel1 {
29618                   to: "base";
29619                   relative: 0.0 1.0;
29620                   offset: 0 0;
29621                }
29622                rel2 {
29623                   to: "base";
29624                   relative: 1.0 1.0;
29625                   offset: -1 0;
29626                }
29627                image {
29628                   normal: "ilist_item_shadow.png";
29629                }
29630                fill.smooth: 0;
29631             }
29632          }
29633          part { name: "base";
29634             mouse_events: 0;
29635             description { state: "default" 0.0;
29636                image {
29637                   normal: "ilist_1.png";
29638                   border: 2 2 2 2;
29639                }
29640                fill.smooth: 0;
29641             }
29642          }
29643          part { name: "bg";
29644             clip_to: "disclip";
29645             mouse_events: 0;
29646             description { state: "default" 0.0;
29647                visible: 0;
29648                color: 255 255 255 0;
29649                rel1 {
29650                   relative: 0.0 0.0;
29651                   offset: -5 -5;
29652                }
29653                rel2 {
29654                   relative: 1.0 1.0;
29655                   offset: 4 4;
29656                }
29657                image {
29658                   normal: "bt_sm_base1.png";
29659                   border: 6 6 6 6;
29660                }
29661                image.middle: SOLID;
29662             }
29663             description { state: "selected" 0.0;
29664                inherit: "default" 0.0;
29665                visible: 1;
29666                color: 255 255 255 255;
29667                rel1 {
29668                   relative: 0.0 0.0;
29669                   offset: -2 -2;
29670                }
29671                rel2 {
29672                   relative: 1.0 1.0;
29673                   offset: 1 1;
29674                }
29675             }
29676          }
29677          part { name: "elm.swallow.pad";
29678             type: SWALLOW;
29679             description { state: "default" 0.0;
29680                fixed: 1 0;
29681                align: 0.0 0.5;
29682                rel1 {
29683                   relative: 0.0  1.0;
29684                   offset:   0    -10;
29685                }
29686                rel2 {
29687                   to_y: "elm.text";
29688                   relative: 0.0  0.0;
29689                   offset:   -1   -1;
29690                }
29691             }
29692          }
29693          part { name: "elm.swallow.icon";
29694             clip_to: "disclip";
29695             type: SWALLOW;
29696             description { state: "default" 0.0;
29697                fixed: 1 0;
29698                align: 0.5 0.5;
29699                rel1 {
29700                   relative: 0.0  0.0;
29701                   offset:   -1    4;
29702                }
29703                rel2 {
29704                   to_y: "elm.swallow.pad";
29705                   relative: 1.0  0.0;
29706                   offset:   -1   -5;
29707                }
29708             }
29709          }
29710          part { name: "elm.swallow.end";
29711             clip_to: "disclip";
29712             type: SWALLOW;
29713             description { state: "default" 0.0;
29714                fixed: 1 0;
29715                align: 1.0 0.0;
29716                aspect: 1.0 1.0;
29717                aspect_preference: HORIZONTAL;
29718                rel1 {
29719                   relative: 1.0 0.0;
29720                   offset: -5 -5;
29721                }
29722                rel2 {
29723                   relative: 1.0 1.0;
29724                   offset: 5 5;
29725                }
29726             }
29727          }
29728          part { name: "elm.text";
29729             clip_to: "disclip";
29730             type: TEXT;
29731             effect: SOFT_SHADOW;
29732             mouse_events: 0;
29733             scale: 1;
29734             description { state: "default" 0.0;
29735                rel1 {
29736                   relative: 0.0  1.0;
29737                   offset: 0 0;
29738                }
29739                rel2 {
29740                   relative: 1.0  1.0;
29741                   offset: -5 -5;
29742                }
29743                color: 0 0 0 255;
29744                color3: 0 0 0 0;
29745                text {
29746                   font: "Sans";
29747                   size: 10;
29748                   min: 0 1;
29749                   align: 0.5 0.0;
29750                   text_class: "grid_item";
29751                }
29752             }
29753             description { state: "selected" 0.0;
29754                inherit: "default" 0.0;
29755                color: 224 224 224 255;
29756                color3: 0 0 0 64;
29757             }
29758          }
29759          part { name: "fg1";
29760             clip_to: "disclip";
29761             mouse_events: 0;
29762             description { state: "default" 0.0;
29763                visible: 0;
29764                color: 255 255 255 0;
29765                rel1.to: "bg";
29766                rel2.relative: 1.0 0.5;
29767                rel2.to: "bg";
29768                image {
29769                   normal: "bt_sm_hilight.png";
29770                   border: 6 6 6 0;
29771                }
29772             }
29773             description { state: "selected" 0.0;
29774                inherit: "default" 0.0;
29775                visible: 1;
29776                color: 255 255 255 255;
29777             }
29778          }
29779          part { name: "fg2";
29780             clip_to: "disclip";
29781             mouse_events: 0;
29782             description { state: "default" 0.0;
29783                visible: 0;
29784                color: 255 255 255 0;
29785                rel1.to: "bg";
29786                rel2.to: "bg";
29787                image {
29788                   normal: "bt_sm_shine.png";
29789                   border: 6 6 6 0;
29790                }
29791             }
29792             description { state: "selected" 0.0;
29793                inherit: "default" 0.0;
29794                visible: 1;
29795                color: 255 255 255 255;
29796             }
29797          }
29798          part { name: "disclip";
29799             type: RECT;
29800             description { state: "default" 0.0;
29801                rel1.to: "bg";
29802                rel2.to: "bg";
29803             }
29804             description { state: "disabled" 0.0;
29805                inherit: "default" 0.0;
29806                color: 255 255 255 64;
29807             }
29808          }
29809       }
29810       programs {
29811          // signal: elm,state,%s,active
29812          //   a "check" item named %s went active
29813          // signal: elm,state,%s,passive
29814          //   a "check" item named %s went passive
29815          // default is passive
29816          program { name:    "go_active";
29817             signal:  "elm,state,selected";
29818             source:  "elm";
29819             action:  STATE_SET "selected" 0.0;
29820             target:  "bg";
29821             target:  "fg1";
29822             target:  "fg2";
29823             target:  "elm.text";
29824          }
29825          program { name:    "go_passive";
29826             signal:  "elm,state,unselected";
29827             source:  "elm";
29828             action:  STATE_SET "default" 0.0;
29829             target:  "bg";
29830             target:  "fg1";
29831             target:  "fg2";
29832             target:  "elm.text";
29833             transition: LINEAR 0.1;
29834          }
29835          program { name:    "go_disabled";
29836             signal:  "elm,state,disabled";
29837             source:  "elm";
29838             action:  STATE_SET "disabled" 0.0;
29839             target:  "disclip";
29840          }
29841          program { name:    "go_enabled";
29842             signal:  "elm,state,enabled";
29843             source:  "elm";
29844             action:  STATE_SET "default" 0.0;
29845             target:  "disclip";
29846          }
29847       }
29848    }
29849    group { name: "elm/gengrid/item/default_style/default";
29850        styles
29851        {
29852            style { name: "gengrid_style";
29853                base: "font=Sans font_size=10 align=left valign=0.5 color=#000 text_class=grid_item";
29854                tag:  "br" "\n";
29855                tag:  "ps" "ps";
29856                tag:  "hilight" "+ font=Sans:style=Bold";
29857                tag:  "b" "+ font=Sans:style=Bold";
29858                tag:  "tab" "\t";
29859            }
29860            style { name: "gengrid_selected_style";
29861                base: "font=Sans font_size=10 align=left valign=0.5 color=#fff text_class=grid_item";
29862                tag:  "br" "\n";
29863                tag:  "ps" "ps";
29864                tag:  "hilight" "+ font=Sans:style=Bold";
29865                tag:  "b" "+ font=Sans:style=Bold";
29866                tag:  "tab" "\t";
29867            }
29868        }
29869        data.item: "labels" "elm.text";
29870        data.item: "icons" "elm.swallow.icon elm.swallow.end";
29871        images {
29872            image: "bt_sm_base1.png" COMP;
29873            image: "bt_sm_shine.png" COMP;
29874            image: "bt_sm_hilight.png" COMP;
29875            image: "ilist_1.png" COMP;
29876            image: "ilist_item_shadow.png" COMP;
29877        }
29878        parts {
29879            part { name: "event";
29880                type: RECT;
29881                repeat_events: 1;
29882                description { state: "default" 0.0;
29883                    color: 0 0 0 0;
29884                }
29885            }
29886            part { name: "base_sh";
29887                mouse_events: 0;
29888                description { state: "default" 0.0;
29889                    align: 0.0 0.0;
29890                    min: 0 10;
29891                    fixed: 1 1;
29892                    rel1 {
29893                        to: "base";
29894                        relative: 0.0 1.0;
29895                        offset: 0 0;
29896                    }
29897                    rel2 {
29898                        to: "base";
29899                        relative: 1.0 1.0;
29900                        offset: -1 0;
29901                    }
29902                    image {
29903                        normal: "ilist_item_shadow.png";
29904                    }
29905                    fill.smooth: 0;
29906                }
29907            }
29908            part { name: "base";
29909                mouse_events: 0;
29910                description { state: "default" 0.0;
29911                    min: 16 28;
29912                    image {
29913                        normal: "ilist_1.png";
29914                        border: 2 2 2 2;
29915                    }
29916                    fill.smooth: 0;
29917                }
29918            }
29919            part { name: "bg";
29920                clip_to: "disclip";
29921                mouse_events: 0;
29922                description { state: "default" 0.0;
29923                    visible: 0;
29924                    color: 255 255 255 0;
29925                    rel1 {
29926                        relative: 0.0 0.0;
29927                        offset: -5 -5;
29928                    }
29929                    rel2 {
29930                        relative: 1.0 1.0;
29931                        offset: 4 4;
29932                    }
29933                    image {
29934                        normal: "bt_sm_base1.png";
29935                        border: 6 6 6 6;
29936                    }
29937                    image.middle: SOLID;
29938                }
29939                description { state: "selected" 0.0;
29940                    inherit: "default" 0.0;
29941                    visible: 1;
29942                    color: 255 255 255 255;
29943                    rel1 {
29944                        relative: 0.0 0.0;
29945                        offset: -2 -2;
29946                    }
29947                    rel2 {
29948                        relative: 1.0 1.0;
29949                        offset: 1 1;
29950                    }
29951                }
29952            }
29953            part { name: "elm.swallow.pad";
29954                type: SWALLOW;
29955                description { state: "default" 0.0;
29956                    fixed: 1 0;
29957                    align: 0.0 0.5;
29958                    rel1 {
29959                        relative: 0.0  0.0;
29960                        offset:   4    4;
29961                    }
29962                    rel2 {
29963                        relative: 0.0  1.0;
29964                        offset:   4   -5;
29965                    }
29966                }
29967            }
29968            part { name: "elm.swallow.icon";
29969                clip_to: "disclip";
29970                type: SWALLOW;
29971                description { state: "default" 0.0;
29972                    fixed: 1 0;
29973                    align: 0.0 0.5;
29974                    rel1 {
29975                        to_x: "elm.swallow.pad";
29976                        relative: 1.0  0.0;
29977                        offset:   -1    4;
29978                    }
29979                    rel2 {
29980                        to_x: "elm.swallow.pad";
29981                        relative: 1.0  1.0;
29982                        offset:   -1   -5;
29983                    }
29984                }
29985            }
29986            part { name: "elm.swallow.end";
29987                clip_to: "disclip";
29988                type: SWALLOW;
29989                description { state: "default" 0.0;
29990                    fixed: 1 0;
29991                    align: 1.0 0.5;
29992                    aspect: 1.0 1.0;
29993                    aspect_preference: VERTICAL;
29994                    rel1 {
29995                        relative: 1.0  0.0;
29996                        offset:   -5    4;
29997                    }
29998                    rel2 {
29999                        relative: 1.0  1.0;
30000                        offset:   -5   -5;
30001                    }
30002                }
30003            }
30004            part { name: "elm.text";
30005                clip_to: "disclip";
30006                type: TEXTBLOCK;
30007                mouse_events: 0;
30008                scale: 1;
30009                description {
30010                    state: "default" 0.0;
30011                    align: 0.0 0.5;
30012                    fixed: 0 1;
30013                    rel1 {
30014                        to_x: "elm.swallow.icon";
30015                        to_y: "base";
30016                        relative: 1.0  0.5;
30017                        offset:   0 4;
30018                    }
30019                    rel2 {
30020                        to_x: "elm.swallow.end";
30021                        to_y: "base";
30022                        relative: 0.0  0.5;
30023                        offset:   -1 -5;
30024                    }
30025                    text {
30026                        style: "gengrid_style";
30027                        min: 1 1;
30028                    }
30029                }
30030                description { state: "selected" 0.0;
30031                    inherit: "default" 0.0;
30032                    text {
30033                        style: "gengrid_selected_style";
30034                    }
30035                }
30036            }
30037            part { name: "fg1";
30038                clip_to: "disclip";
30039                mouse_events: 0;
30040                description { state: "default" 0.0;
30041                    visible: 0;
30042                    color: 255 255 255 0;
30043                    rel1.to: "bg";
30044                    rel2.relative: 1.0 0.5;
30045                    rel2.to: "bg";
30046                    image {
30047                        normal: "bt_sm_hilight.png";
30048                        border: 6 6 6 0;
30049                    }
30050                }
30051                description { state: "selected" 0.0;
30052                    inherit: "default" 0.0;
30053                    visible: 1;
30054                    color: 255 255 255 255;
30055                }
30056            }
30057            part { name: "fg2";
30058                clip_to: "disclip";
30059                mouse_events: 0;
30060                description { state: "default" 0.0;
30061                    visible: 0;
30062                    color: 255 255 255 0;
30063                    rel1.to: "bg";
30064                    rel2.to: "bg";
30065                    image {
30066                        normal: "bt_sm_shine.png";
30067                        border: 6 6 6 0;
30068                    }
30069                }
30070                description { state: "selected" 0.0;
30071                    inherit: "default" 0.0;
30072                    visible: 1;
30073                    color: 255 255 255 255;
30074                }
30075            }
30076            part { name: "disclip";
30077                type: RECT;
30078                description { state: "default" 0.0;
30079                    rel1.to: "bg";
30080                    rel2.to: "bg";
30081                }
30082                description { state: "disabled" 0.0;
30083                    inherit: "default" 0.0;
30084                    color: 255 255 255 64;
30085                }
30086            }
30087        }
30088        programs {
30089            // signal: elm,state,%s,active
30090            //   a "check" item named %s went active
30091            // signal: elm,state,%s,passive
30092            //   a "check" item named %s went passive
30093            // default is passive
30094            program { name:    "go_active";
30095                signal:  "elm,state,selected";
30096                source:  "elm";
30097                action:  STATE_SET "selected" 0.0;
30098                target:  "bg";
30099                target:  "fg1";
30100                target:  "fg2";
30101                target:  "elm.text";
30102            }
30103            program { name:    "go_passive";
30104                signal:  "elm,state,unselected";
30105                source:  "elm";
30106                action:  STATE_SET "default" 0.0;
30107                target:  "bg";
30108                target:  "fg1";
30109                target:  "fg2";
30110                target:  "elm.text";
30111                transition: LINEAR 0.1;
30112            }
30113            program { name:    "go_disabled";
30114                signal:  "elm,state,disabled";
30115                source:  "elm";
30116                action:  STATE_SET "disabled" 0.0;
30117                target:  "disclip";
30118            }
30119            program { name:    "go_enabled";
30120                signal:  "elm,state,enabled";
30121                source:  "elm";
30122                action:  STATE_SET "default" 0.0;
30123                target:  "disclip";
30124            }
30125        }
30126    }
30127
30128    group { name: "elm/gengrid/item/up/default";
30129       data.item: "labels" "elm.text";
30130       images {
30131           image: "bt_sm_base1.png" COMP;
30132           image: "bt_sm_shine.png" COMP;
30133           image: "bt_sm_hilight.png" COMP;
30134           image: "arrow_up.png" COMP;
30135       }
30136       parts {
30137          part { name: "event";
30138             type: RECT;
30139             repeat_events: 1;
30140             description { state: "default" 0.0;
30141                color: 0 0 0 0;
30142             }
30143          }
30144          part { name: "bg";
30145             clip_to: "disclip";
30146             mouse_events: 0;
30147             description { state: "default" 0.0;
30148                visible: 0;
30149                color: 255 255 255 0;
30150                rel1.offset: -3 -3;
30151                rel2.offset: 2 2;
30152                image { normal: "bt_sm_base1.png";
30153                   border: 6 6 6 6;
30154                   middle: SOLID;
30155                }
30156             }
30157             description { state: "selected" 0.0;
30158                inherit: "default" 0.0;
30159                visible: 1;
30160                color: 255 255 255 255;
30161             }
30162          }
30163          part { name: "image";
30164              type: IMAGE;
30165              mouse_events: 0;
30166              description { state: "default" 0.0;
30167                  aspect_preference: BOTH;
30168                  aspect: 1.0 1.0;
30169                  image.normal: "arrow_up.png";
30170                  rel2 {
30171                      to_y: "elm.text";
30172                      relative: 1.0 0.0;
30173                      offset: -1 -2;
30174                  }
30175              }
30176          }
30177          part { name: "elm.text";
30178             clip_to: "disclip";
30179             type: TEXT;
30180             effect: SOFT_SHADOW;
30181             mouse_events: 0;
30182             scale: 1;
30183             description { state: "default" 0.0;
30184                rel1 {
30185                   relative: 0.0  1.0;
30186                   offset: 20 -25;
30187                }
30188                rel2 {
30189                   relative: 1.0  1.0;
30190                   offset: -21 -3;
30191                }
30192                color: 0 0 0 255;
30193                color3: 0 0 0 0;
30194                text {
30195                   font: "Sans";
30196                   size: 10;
30197                   min: 0 1;
30198                   align: 0.5 0.0;
30199                   text_class: "grid_item";
30200                }
30201             }
30202             description { state: "selected" 0.0;
30203                inherit: "default" 0.0;
30204                color: 224 224 224 255;
30205                color3: 0 0 0 64;
30206             }
30207          }
30208          part { name: "fg1";
30209             clip_to: "disclip";
30210             mouse_events: 0;
30211             description { state: "default" 0.0;
30212                visible: 0;
30213                color: 255 255 255 0;
30214                rel1.offset: -3 -3;
30215                rel2 {
30216                    relative: 1.0 0.5;
30217                    offset: 2 -1;
30218                }
30219                image {
30220                   normal: "bt_sm_hilight.png";
30221                   border: 6 6 6 0;
30222                }
30223             }
30224             description { state: "selected" 0.0;
30225                inherit: "default" 0.0;
30226                visible: 1;
30227                color: 255 255 255 255;
30228             }
30229          }
30230          part { name: "fg2";
30231             clip_to: "disclip";
30232             mouse_events: 0;
30233             description { state: "default" 0.0;
30234                visible: 0;
30235                color: 255 255 255 0;
30236                rel1.offset: -3 -3;
30237                rel2.offset: 2 2;
30238                image {
30239                   normal: "bt_sm_shine.png";
30240                   border: 6 6 6 0;
30241                }
30242             }
30243             description { state: "selected" 0.0;
30244                inherit: "default" 0.0;
30245                visible: 1;
30246                color: 255 255 255 255;
30247             }
30248          }
30249          part { name: "disclip";
30250             type: RECT;
30251             description { state: "default" 0.0;
30252                rel1.to: "bg";
30253                rel2.to: "bg";
30254             }
30255             description { state: "disabled" 0.0;
30256                inherit: "default" 0.0;
30257                color: 255 255 255 64;
30258             }
30259          }
30260       }
30261       programs {
30262          program { name:    "go_active";
30263             signal:  "elm,state,selected";
30264             source:  "elm";
30265             action:  STATE_SET "selected" 0.0;
30266             target:  "bg";
30267             target:  "fg1";
30268             target:  "fg2";
30269             target:  "elm.text";
30270          }
30271          program { name:    "go_passive";
30272             signal:  "elm,state,unselected";
30273             source:  "elm";
30274             action:  STATE_SET "default" 0.0;
30275             target:  "bg";
30276             target:  "fg1";
30277             target:  "fg2";
30278             target:  "elm.text";
30279             transition: LINEAR 0.1;
30280          }
30281          program { name:    "go_disabled";
30282             signal:  "elm,state,disabled";
30283             source:  "elm";
30284             action:  STATE_SET "disabled" 0.0;
30285             target:  "disclip";
30286          }
30287          program { name:    "go_enabled";
30288             signal:  "elm,state,enabled";
30289             source:  "elm";
30290             action:  STATE_SET "default" 0.0;
30291             target:  "disclip";
30292          }
30293       }
30294    }
30295
30296    group { name: "elm/gengrid/item/album-preview/default";
30297       data.item: "labels" "elm.text";
30298       data.item: "icons" "elm.swallow.icon.1 elm.swallow.icon.2 elm.swallow.icon.3 elm.swallow.icon.4";
30299       data.item: "states" "have_files";
30300       images {
30301          image: "bt_sm_base1.png" COMP;
30302          image: "bt_sm_shine.png" COMP;
30303          image: "bt_sm_hilight.png" COMP;
30304          image: "icon_folder.png" COMP;
30305       }
30306       parts {
30307          part { name: "event";
30308             type: RECT;
30309             repeat_events: 1;
30310             description { state: "default" 0.0;
30311                color: 0 0 0 0;
30312             }
30313          }
30314          part { name: "bg";
30315             clip_to: "disclip";
30316             mouse_events: 0;
30317             description { state: "default" 0.0;
30318                visible: 0;
30319                color: 255 255 255 0;
30320                rel1.offset: -3 -3;
30321                rel2.offset: 2 2;
30322                image {
30323                   normal: "bt_sm_base1.png";
30324                   border: 6 6 6 6;
30325                   middle: SOLID;
30326                }
30327             }
30328             description { state: "selected" 0.0;
30329                inherit: "default" 0.0;
30330                visible: 1;
30331                color: 255 255 255 255;
30332             }
30333          }
30334          part { name: "image";
30335              type: IMAGE;
30336              mouse_events: 0;
30337              description { state: "default" 0.0;
30338                  aspect_preference: BOTH;
30339                  aspect: 1.0 1.0;
30340                  image.normal: "icon_folder.png";
30341                  rel2 {
30342                      to_y: "elm.text";
30343                      relative: 1.0 0.0;
30344                      offset: -1 -2;
30345                  }
30346              }
30347          }
30348          part { name: "have-files-clipper";
30349              type: RECT;
30350              description { state: "default" 0.0;
30351                  color: 255 255 255 0;
30352                  visible: 0;
30353              }
30354              description { state: "visible" 0.0;
30355                  inherit: "default" 0.0;
30356                  color: 255 255 255 255;
30357                  visible: 1;
30358              }
30359          }
30360          part { name: "icon_box_margin";
30361              type: RECT;
30362              mouse_events: 0;
30363              clip_to: "have-files-clipper";
30364              description { state: "default" 0.0;
30365                  color: 0 0 0 255;
30366                  rel1 {
30367                      to: "icon_box";
30368                      offset: -1 -1;
30369                  }
30370                  rel2 {
30371                      to: "icon_box";
30372                      offset: 0 0;
30373                  }
30374              }
30375          }
30376          part { name: "icon_box";
30377              type: RECT;
30378              mouse_events: 0;
30379              clip_to: "have-files-clipper";
30380              description { state: "default" 0.0;
30381                  color: 255 255 255 255;
30382                  align: 1.0 1.0;
30383                  min: 32 32;
30384                  rel1 {
30385                      relative: 0.25 0.25;
30386                      offset: 0 0;
30387                  }
30388                  rel2 {
30389                      relative: 1.0 0.0;
30390                      offset: -11 -4;
30391                      to_y: "elm.text";
30392                  }
30393              }
30394          }
30395          part { name: "elm.swallow.icon.1";
30396              type: SWALLOW;
30397              mouse_events: 0;
30398              clip_to: "have-files-clipper";
30399              description { state: "default" 0.0;
30400                rel1 {
30401                   relative: 0.0  0.0;
30402                   to: "icon_box";
30403                }
30404                rel2 {
30405                   relative: 0.5  0.5;
30406                   offset: -1 -1;
30407                   to: "icon_box";
30408                }
30409             }
30410          }
30411          part { name: "elm.swallow.icon.2";
30412              type: SWALLOW;
30413              mouse_events: 0;
30414              clip_to: "have-files-clipper";
30415              description { state: "default" 0.0;
30416                rel1 {
30417                   relative: 0.5  0.0;
30418                   to: "icon_box";
30419                }
30420                rel2 {
30421                   relative: 1.0  0.5;
30422                   offset: -1 -1;
30423                   to: "icon_box";
30424                }
30425             }
30426          }
30427          part { name: "elm.swallow.icon.3";
30428              type: SWALLOW;
30429              mouse_events: 0;
30430              clip_to: "have-files-clipper";
30431              description { state: "default" 0.0;
30432                rel1 {
30433                   relative: 0.0  0.5;
30434                   to: "icon_box";
30435                }
30436                rel2 {
30437                   relative: 0.5  1.0;
30438                   offset: -1 -1;
30439                   to: "icon_box";
30440                }
30441             }
30442          }
30443          part { name: "elm.swallow.icon.4";
30444              type: SWALLOW;
30445              mouse_events: 0;
30446              clip_to: "have-files-clipper";
30447              description { state: "default" 0.0;
30448                rel1 {
30449                   relative: 0.5  0.5;
30450                   to: "icon_box";
30451                }
30452                rel2 {
30453                   relative: 1.0  1.0;
30454                   offset: -1 -1;
30455                   to: "icon_box";
30456                }
30457             }
30458          }
30459          part { name: "elm.text";
30460             clip_to: "disclip";
30461             type: TEXT;
30462             effect: SOFT_SHADOW;
30463             mouse_events: 0;
30464             scale: 1;
30465             description { state: "default" 0.0;
30466                rel1 {
30467                   relative: 0.0  1.0;
30468                   offset: 20 -30;
30469                }
30470                rel2 {
30471                   relative: 1.0  1.0;
30472                   offset: -21 -15;
30473                }
30474                color: 0 0 0 255;
30475                color3: 0 0 0 0;
30476                text {
30477                   font: "Sans";
30478                   size: 10;
30479                   min: 0 1;
30480                   align: 0.5 0.0;
30481                   text_class: "grid_item";
30482                }
30483             }
30484             description { state: "selected" 0.0;
30485                 inherit: "default" 0.0;
30486                 color: 255 255 255 255;
30487             }
30488          }
30489          part { name: "fg1";
30490             clip_to: "disclip";
30491             mouse_events: 0;
30492             description { state: "default" 0.0;
30493                visible: 0;
30494                color: 255 255 255 0;
30495                rel1.offset: -3 -3;
30496                rel2 {
30497                    relative: 1.0 0.5;
30498                    offset: 2 -1;
30499                }
30500                image {
30501                   normal: "bt_sm_hilight.png";
30502                   border: 6 6 6 0;
30503                }
30504             }
30505             description { state: "selected" 0.0;
30506                inherit: "default" 0.0;
30507                visible: 1;
30508                color: 255 255 255 255;
30509             }
30510          }
30511          part { name: "fg2";
30512             clip_to: "disclip";
30513             mouse_events: 0;
30514             description { state: "default" 0.0;
30515                visible: 0;
30516                color: 255 255 255 0;
30517                rel1.offset: -3 -3;
30518                rel2.offset: 2 2;
30519                image {
30520                   normal: "bt_sm_shine.png";
30521                   border: 6 6 6 0;
30522                }
30523             }
30524             description { state: "selected" 0.0;
30525                inherit: "default" 0.0;
30526                visible: 1;
30527                color: 255 255 255 255;
30528             }
30529          }
30530          part { name: "disclip";
30531             type: RECT;
30532             description { state: "default" 0.0;
30533                rel1.to: "bg";
30534                rel2.to: "bg";
30535             }
30536             description { state: "disabled" 0.0;
30537                inherit: "default" 0.0;
30538                color: 255 255 255 64;
30539             }
30540          }
30541       }
30542       programs {
30543          program { name:    "go_active";
30544             signal:  "elm,state,selected";
30545             source:  "elm";
30546             action:  STATE_SET "selected" 0.0;
30547             target:  "bg";
30548             target:  "fg1";
30549             target:  "fg2";
30550             target:  "elm.text";
30551          }
30552          program { name:    "go_passive";
30553             signal:  "elm,state,unselected";
30554             source:  "elm";
30555             action:  STATE_SET "default" 0.0;
30556             target:  "bg";
30557             target:  "fg1";
30558             target:  "fg2";
30559             target:  "elm.text";
30560             transition: LINEAR 0.1;
30561          }
30562          program { name:    "go_disabled";
30563             signal:  "elm,state,disabled";
30564             source:  "elm";
30565             action:  STATE_SET "disabled" 0.0;
30566             target:  "disclip";
30567          }
30568          program { name:    "go_enabled";
30569             signal:  "elm,state,enabled";
30570             source:  "elm";
30571             action:  STATE_SET "default" 0.0;
30572             target:  "disclip";
30573          }
30574          program {
30575              signal: "elm,state,have_files,active";
30576              source: "elm";
30577              action: STATE_SET "visible" 0.0;
30578              target: "have-files-clipper";
30579          }
30580       }
30581    }
30582
30583    group { name: "elm/gengrid/item/thumb/default";
30584        data {
30585            item: "icons" "elm.swallow.icon";
30586            item: "labels" "elm.text";
30587        }
30588        images {
30589            image: "bt_sm_base1.png" COMP;
30590            image: "bt_sm_shine.png" COMP;
30591            image: "bt_sm_hilight.png" COMP;
30592            image: "thumb_shadow.png" COMP;
30593        }
30594        parts {
30595            part { name: "event";
30596                type: RECT;
30597                repeat_events: 1;
30598                description { state: "default" 0.0;
30599                    color: 0 0 0 0;
30600                }
30601            }
30602            part { name: "bg";
30603                mouse_events: 0;
30604                description { state: "default" 0.0;
30605                    visible: 0;
30606                    color: 255 255 255 0;
30607                    rel1.offset: -3 -3;
30608                    rel2.offset: 2 2;
30609                    image {
30610                        normal: "bt_sm_base1.png";
30611                        border: 6 6 6 6;
30612                        middle: SOLID;
30613                    }
30614                }
30615                description { state: "selected" 0.0;
30616                    inherit: "default" 0.0;
30617                    visible: 1;
30618                    color: 255 255 255 255;
30619                }
30620            }
30621            part { name: "border-shadow";
30622                type: IMAGE;
30623                mouse_events: 0;
30624                description { state: "default" 0.0;
30625                    rel1 {
30626                        to: "elm.swallow.icon";
30627                        offset: -18 -18;
30628                    }
30629                    rel2 {
30630                        to_x: "elm.swallow.icon";
30631                        to_y: "elm.text";
30632                        offset: 17 17;
30633                    }
30634                    image {
30635                        normal: "thumb_shadow.png";
30636                        border: 17 17 17 17;
30637                        middle: NONE;
30638                    }
30639                }
30640            }
30641            part { name: "border";
30642                type: RECT;
30643                mouse_events: 0;
30644                description { state: "default" 0.0;
30645                    rel1 {
30646                        to: "border-shadow";
30647                        offset: 16 16;
30648                    }
30649                    rel2 {
30650                        to: "border-shadow";
30651                        offset: -15 -15;
30652                    }
30653                }
30654            }
30655            part { name: "elm.swallow.icon";
30656                type: SWALLOW;
30657                mouse_events: 0;
30658                description { state: "default" 0.0;
30659                    aspect_preference: BOTH;
30660                    aspect: 1.0 1.0;
30661                    rel1.offset: 0 8;
30662                    rel2 {
30663                        to_y: "elm.text";
30664                        relative: 1.0 0.0;
30665                        offset: -1 -2;
30666                    }
30667                }
30668            }
30669            part { name: "elm.text";
30670                type: TEXT;
30671                effect: SOFT_SHADOW;
30672                mouse_events: 0;
30673                scale: 1;
30674                description { state: "default" 0.0;
30675                    color: 0 0 0 255;
30676                    color3: 0 0 0 0;
30677                    align: 0.5 1.0;
30678                    rel1 {
30679                        relative: 0.0 1.0;
30680                        offset: 20 -30;
30681                    }
30682                    rel2 {
30683                        relative: 1.0 1.0;
30684                        offset: -21 -15;
30685                    }
30686                    text {
30687                        font: "Sans";
30688                        size: 10;
30689                        min: 0 1;
30690                        align: 0.5 0.0;
30691                        text_class: "grid_item";
30692                    }
30693                }
30694            }
30695            part { name: "fg1";
30696                mouse_events: 0;
30697                description { state: "default" 0.0;
30698                    visible: 0;
30699                    color: 255 255 255 0;
30700                    rel1.offset: -3 -3;
30701                    rel2 {
30702                        relative: 1.0 0.5;
30703                        offset: 2 -1;
30704                    }
30705                    image {
30706                        normal: "bt_sm_hilight.png";
30707                        border: 6 6 6 0;
30708                    }
30709                }
30710                description { state: "selected" 0.0;
30711                    inherit: "default" 0.0;
30712                    visible: 1;
30713                    color: 255 255 255 255;
30714                }
30715            }
30716            part { name: "fg2";
30717                mouse_events: 0;
30718                description { state: "default" 0.0;
30719                    visible: 0;
30720                    color: 255 255 255 0;
30721                    rel1.offset: -3 -3;
30722                    rel2.offset: 2 2;
30723                    image {
30724                        image: "bt_sm_shine.png";
30725                        border: 6 6 6 0;
30726                    }
30727                }
30728                description { state: "selected" 0.0;
30729                    inherit: "default" 0.0;
30730                    visible: 1;
30731                    color: 255 255 255 255;
30732                }
30733            }
30734        }
30735        programs {
30736            program {
30737                signal: "elm,state,selected";
30738                source: "elm";
30739                action: STATE_SET "selected" 0.0;
30740                target: "bg";
30741                target: "fg1";
30742                target: "fg2";
30743            }
30744            program {
30745                signal: "elm,state,unselected";
30746                source: "elm";
30747                action:  STATE_SET "default" 0.0;
30748                target: "bg";
30749                target: "fg1";
30750                target: "fg2";
30751                transition: LINEAR 0.1;
30752            }
30753        }
30754    }
30755
30756 ///////////////////////////////////////////////////////////////////////////////
30757    group { name: "elm/photocam/base/default";
30758        script {
30759            public sbvis_v, sbvis_h, sbalways_v, sbalways_h, sbvis_timer;
30760            public timer0(val) {
30761                new v;
30762                v = get_int(sbvis_v);
30763                if (v) {
30764                    v = get_int(sbalways_v);
30765                    if (!v) {
30766                        emit("do-hide-vbar", "");
30767                        set_int(sbvis_v, 0);
30768                    }
30769                }
30770                v = get_int(sbvis_h);
30771                if (v) {
30772                    v = get_int(sbalways_h);
30773                    if (!v) {
30774                        emit("do-hide-hbar", "");
30775                        set_int(sbvis_h, 0);
30776                    }
30777                }
30778                set_int(sbvis_timer, 0);
30779                return 0;
30780            }
30781        }
30782        images {
30783            image: "shelf_inset.png" COMP;
30784            image: "bt_sm_base2.png" COMP;
30785            image: "bt_sm_shine.png" COMP;
30786            image: "bt_sm_hilight.png" COMP;
30787            image: "busy-1.png" COMP;
30788            image: "busy-2.png" COMP;
30789            image: "busy-3.png" COMP;
30790            image: "busy-4.png" COMP;
30791            image: "busy-5.png" COMP;
30792            image: "busy-6.png" COMP;
30793            image: "busy-7.png" COMP;
30794            image: "busy-8.png" COMP;
30795            image: "busy-9.png" COMP;
30796        }
30797        parts {
30798            part { name: "bg";
30799                type: RECT;
30800                description { state: "default" 0.0;
30801                    rel1.offset: 1 1;
30802                    rel2.offset: -2 -2;
30803                    color: 255 255 255 0;
30804                }
30805            }
30806            part { name: "clipper";
30807                type: RECT;
30808                mouse_events: 0;
30809                description { state: "default" 0.0;
30810                    rel1.to: "bg";
30811                    rel2.to: "bg";
30812                }
30813            }
30814            part { name: "elm.swallow.content";
30815                clip_to: "clipper";
30816                type: SWALLOW;
30817                description { state: "default" 0.0;
30818                    rel1.offset: 1 1;
30819                    rel2.offset: -2 -2;
30820                }
30821            }
30822            part { name: "busy_clip";
30823                type: RECT;
30824                mouse_events: 0;
30825                description { state: "default" 0.0;
30826                    visible: 0;
30827                    color: 255 255 255 0;
30828                }
30829                description { state: "active" 0.0;
30830                    visible: 1;
30831                    color: 255 255 255 255;
30832                }
30833            }
30834            part { name: "busy";
30835                clip_to: "busy_clip";
30836                mouse_events: 0;
30837                description { state: "default" 0.0;
30838                    fixed: 1 1;
30839                    min: 32 32;
30840                    aspect: 1.0 1.0;
30841                    align: 1.0 1.0;
30842                    aspect_preference: BOTH;
30843                    rel1 {
30844                        relative: 0.9 0.9;
30845                        offset:   -9 -9;
30846                    }
30847                    rel2 {
30848                        relative: 0.9 0.9;
30849                        offset:   -9 -9;
30850                    }
30851                    image {
30852                        normal: "busy-9.png";
30853                        tween:  "busy-1.png";
30854                        tween:  "busy-2.png";
30855                        tween:  "busy-3.png";
30856                        tween:  "busy-4.png";
30857                        tween:  "busy-5.png";
30858                        tween:  "busy-6.png";
30859                        tween:  "busy-7.png";
30860                        tween:  "busy-8.png";
30861                    }
30862                }
30863            }
30864            part { name: "conf_over";
30865                mouse_events:  0;
30866                description { state: "default" 0.0;
30867                    rel1.offset: 0 0;
30868                    rel2.offset: -1 -1;
30869                    image {
30870                        normal: "shelf_inset.png";
30871                        border: 7 7 7 7;
30872                        middle: 0;
30873                    }
30874                    fill.smooth : 0;
30875                }
30876            }
30877            part { name: "sb_vbar_clip_master";
30878                type: RECT;
30879                mouse_events: 0;
30880                description { state: "default" 0.0;
30881                }
30882                description { state: "hidden" 0.0;
30883                    visible: 0;
30884                    color: 255 255 255 0;
30885                }
30886            }
30887            part { name: "sb_vbar_clip";
30888                clip_to: "sb_vbar_clip_master";
30889                type: RECT;
30890                mouse_events: 0;
30891                description { state: "default" 0.0;
30892                }
30893                description { state: "hidden" 0.0;
30894                    visible: 0;
30895                    color: 255 255 255 0;
30896                }
30897            }
30898            part { name: "sb_vbar";
30899                type: RECT;
30900                mouse_events: 0;
30901                description { state: "default" 0.0;
30902                    fixed: 1 1;
30903                    visible: 0;
30904                    min: 10 17;
30905                    align: 1.0 0.0;
30906                    rel1 {
30907                        relative: 1.0 0.0;
30908                        offset:   -2 0;
30909                    }
30910                    rel2 {
30911                        relative: 1.0 0.0;
30912                        offset:   -2 -1;
30913                        to_y:     "sb_hbar";
30914                    }
30915                }
30916            }
30917            part { name: "elm.dragable.vbar";
30918                clip_to: "sb_vbar_clip";
30919                mouse_events: 0;
30920                dragable {
30921                    x: 0 0 0;
30922                    y: 1 1 0;
30923                    confine: "sb_vbar";
30924                }
30925                description { state: "default" 0.0;
30926                    fixed: 1 1;
30927                    min: 10 17;
30928                    max: 10 99999;
30929                    rel1 {
30930                        relative: 0.5  0.5;
30931                        offset:   0    0;
30932                        to: "sb_vbar";
30933                    }
30934                    rel2 {
30935                        relative: 0.5  0.5;
30936                        offset:   0    0;
30937                        to: "sb_vbar";
30938                    }
30939                    image {
30940                        normal: "bt_sm_base2.png";
30941                        border: 6 6 6 6;
30942                        middle: SOLID;
30943                    }
30944                }
30945            }
30946            part { name: "sb_vbar_over1";
30947                clip_to: "sb_vbar_clip";
30948                mouse_events: 0;
30949                description { state: "default" 0.0;
30950                    rel1.to: "elm.dragable.vbar";
30951                    rel2.relative: 1.0 0.5;
30952                    rel2.to: "elm.dragable.vbar";
30953                    image {
30954                        normal: "bt_sm_hilight.png";
30955                        border: 6 6 6 0;
30956                    }
30957                }
30958            }
30959            part { name: "sb_vbar_over2";
30960                clip_to: "sb_vbar_clip";
30961                mouse_events: 0;
30962                description { state: "default" 0.0;
30963                    rel1.to: "elm.dragable.vbar";
30964                    rel2.to: "elm.dragable.vbar";
30965                    image {
30966                        normal: "bt_sm_shine.png";
30967                        border: 6 6 6 0;
30968                    }
30969                }
30970            }
30971
30972            part { name: "sb_hbar_clip_master";
30973                type: RECT;
30974                mouse_events: 0;
30975                description { state: "default" 0.0;
30976                }
30977                description { state: "hidden" 0.0;
30978                    visible: 0;
30979                    color: 255 255 255 0;
30980                }
30981            }
30982            part { name: "sb_hbar_clip";
30983                clip_to: "sb_hbar_clip_master";
30984                type: RECT;
30985                mouse_events: 0;
30986                description { state: "default" 0.0;
30987                }
30988                description { state: "hidden" 0.0;
30989                    visible: 0;
30990                    color: 255 255 255 0;
30991                }
30992            }
30993            part { name: "sb_hbar";
30994                type: RECT;
30995                mouse_events: 0;
30996                description { state: "default" 0.0;
30997                    fixed: 1 1;
30998                    visible: 0;
30999                    min: 17 10;
31000                    align: 0.0 1.0;
31001                    rel1 {
31002                        relative: 0.0 1.0;
31003                        offset:   0 -2;
31004                    }
31005                    rel2 {
31006                        relative: 0.0 1.0;
31007                        offset:   -1 -2;
31008                        to_x:     "sb_vbar";
31009                    }
31010                }
31011            }
31012            part { name: "elm.dragable.hbar";
31013                clip_to: "sb_hbar_clip";
31014                mouse_events: 0;
31015                dragable {
31016                    x: 1 1 0;
31017                    y: 0 0 0;
31018                    confine: "sb_hbar";
31019                }
31020                description { state: "default" 0.0;
31021                    fixed: 1 1;
31022                    min: 17 10;
31023                    max: 99999 10;
31024                    rel1 {
31025                        relative: 0.5  0.5;
31026                        offset:   0    0;
31027                        to: "sb_hbar";
31028                    }
31029                    rel2 {
31030                        relative: 0.5  0.5;
31031                        offset:   0    0;
31032                        to: "sb_hbar";
31033                    }
31034                    image {
31035                        normal: "bt_sm_base2.png";
31036                        border: 4 4 4 4;
31037                        middle: SOLID;
31038                    }
31039                }
31040            }
31041            part { name: "sb_hbar_over1";
31042                clip_to: "sb_hbar_clip";
31043                mouse_events: 0;
31044                description { state: "default" 0.0;
31045                    rel1.to: "elm.dragable.hbar";
31046                    rel2.relative: 1.0 0.5;
31047                    rel2.to: "elm.dragable.hbar";
31048                    image {
31049                        normal: "bt_sm_hilight.png";
31050                        border: 4 4 4 0;
31051                    }
31052                }
31053            }
31054            part { name: "sb_hbar_over2";
31055                clip_to: "sb_hbar_clip";
31056                mouse_events: 0;
31057                description { state: "default" 0.0;
31058                    rel1.to: "elm.dragable.hbar";
31059                    rel2.to: "elm.dragable.hbar";
31060                    image {
31061                        normal: "bt_sm_shine.png";
31062                        border: 4 4 4 0;
31063                    }
31064                }
31065            }
31066        }
31067        programs {
31068            program { name: "load";
31069                signal: "load";
31070                source: "";
31071                script {
31072                    set_state(PART:"sb_hbar_clip", "hidden", 0.0);
31073                    set_state(PART:"sb_vbar_clip", "hidden", 0.0);
31074                    set_int(sbvis_h, 0);
31075                    set_int(sbvis_v, 0);
31076                    set_int(sbalways_v, 0);
31077                    set_int(sbalways_h, 0);
31078                    set_int(sbvis_timer, 0);
31079                }
31080            }
31081
31082            program { name: "vbar_show";
31083                signal: "elm,action,show,vbar";
31084                source: "elm";
31085                action:  STATE_SET "default" 0.0;
31086                target: "sb_vbar_clip_master";
31087            }
31088            program { name: "vbar_hide";
31089                signal: "elm,action,hide,vbar";
31090                source: "elm";
31091                action:  STATE_SET "hidden" 0.0;
31092                target: "sb_vbar_clip_master";
31093            }
31094            program { name: "vbar_show_always";
31095                signal: "elm,action,show_always,vbar";
31096                source: "elm";
31097                script {
31098                    new v;
31099                    v = get_int(sbvis_v);
31100                    v |= get_int(sbalways_v);
31101                    if (!v) {
31102                        set_int(sbalways_v, 1);
31103                        emit("do-show-vbar", "");
31104                        set_int(sbvis_v, 1);
31105                    }
31106                }
31107            }
31108            program { name: "vbar_show_notalways";
31109                signal: "elm,action,show_notalways,vbar";
31110                source: "elm";
31111                script {
31112                    new v;
31113                    v = get_int(sbalways_v);
31114                    if (v) {
31115                        set_int(sbalways_v, 0);
31116                        v = get_int(sbvis_v);
31117                        if (!v) {
31118                            emit("do-hide-vbar", "");
31119                            set_int(sbvis_v, 0);
31120                        }
31121                    }
31122                }
31123            }
31124            program { name: "sb_vbar_show";
31125                signal: "do-show-vbar";
31126                source: "";
31127                action:  STATE_SET "default" 0.0;
31128                transition: LINEAR 0.5;
31129                target: "sb_vbar_clip";
31130            }
31131            program { name: "sb_vbar_hide";
31132                signal: "do-hide-vbar";
31133                source: "";
31134                action:  STATE_SET "hidden" 0.0;
31135                transition: LINEAR 0.5;
31136                target: "sb_vbar_clip";
31137            }
31138
31139            program { name: "hbar_show";
31140                signal: "elm,action,show,hbar";
31141                source: "elm";
31142                action:  STATE_SET "default" 0.0;
31143                target: "sb_hbar_clip_master";
31144            }
31145            program { name: "hbar_hide";
31146                signal: "elm,action,hide,hbar";
31147                source: "elm";
31148                action:  STATE_SET "hidden" 0.0;
31149                target: "sb_hbar_clip_master";
31150            }
31151            program { name: "hbar_show_always";
31152                signal: "elm,action,show_always,hbar";
31153                source: "elm";
31154                script {
31155                    new v;
31156                    v = get_int(sbvis_h);
31157                    v |= get_int(sbalways_h);
31158                    if (!v) {
31159                        set_int(sbalways_h, 1);
31160                        emit("do-show-hbar", "");
31161                        set_int(sbvis_h, 1);
31162                    }
31163                }
31164            }
31165            program { name: "hbar_show_notalways";
31166                signal: "elm,action,show_notalways,hbar";
31167                source: "elm";
31168                script {
31169                    new v;
31170                    v = get_int(sbalways_h);
31171                    if (v) {
31172                        set_int(sbalways_h, 0);
31173                        v = get_int(sbvis_h);
31174                        if (!v) {
31175                            emit("do-hide-hbar", "");
31176                            set_int(sbvis_h, 0);
31177                        }
31178                    }
31179                }
31180            }
31181            program { name: "sb_hbar_show";
31182                signal: "do-show-hbar";
31183                source: "";
31184                action:  STATE_SET "default" 0.0;
31185                transition: LINEAR 0.5;
31186                target: "sb_hbar_clip";
31187            }
31188            program { name: "sb_hbar_hide";
31189                signal: "do-hide-hbar";
31190                source: "";
31191                action:  STATE_SET "hidden" 0.0;
31192                transition: LINEAR 0.5;
31193                target: "sb_hbar_clip";
31194            }
31195
31196            program { name: "scroll";
31197                signal: "elm,action,scroll";
31198                source: "elm";
31199                script {
31200                    new v;
31201                    v = get_int(sbvis_v);
31202                    v |= get_int(sbalways_v);
31203                    if (!v) {
31204                        emit("do-show-vbar", "");
31205                        set_int(sbvis_v, 1);
31206                    }
31207                    v = get_int(sbvis_h);
31208                    v |= get_int(sbalways_h);
31209                    if (!v) {
31210                        emit("do-show-hbar", "");
31211                        set_int(sbvis_h, 1);
31212                    }
31213                    v = get_int(sbvis_timer);
31214                    if (v > 0) cancel_timer(v);
31215                    v = timer(1.0, "timer0", 0);
31216                    set_int(sbvis_timer, v);
31217                }
31218            }
31219            program { name: "go1";
31220                signal: "elm,state,busy,start";
31221                source: "elm";
31222                action: STATE_SET "active" 0.0;
31223                transition: SINUSOIDAL 1.0;
31224                target:  "busy_clip";
31225            }
31226            program { name: "go2";
31227                signal: "elm,state,busy,start";
31228                source: "elm";
31229                action: STATE_SET "default" 0.0;
31230                transition: LINEAR 0.5;
31231                target: "busy";
31232                after:  "go2";
31233            }
31234            program { name: "stop1";
31235                signal: "elm,state,busy,stop";
31236                source: "elm";
31237                action: STATE_SET "default" 0.0;
31238                transition: SINUSOIDAL 1.0;
31239                target: "busy_clip";
31240                after: "stop2";
31241            }
31242          program { name: "stop2";
31243             action: ACTION_STOP;
31244             target: "go2";
31245          }
31246       }
31247    }
31248
31249    ///////////////////////////////////////////////////////////////////////////////
31250    group { name: "elm/map/base/default";
31251        script {
31252            public sbvis_v, sbvis_h, sbalways_v, sbalways_h, sbvis_timer;
31253            public timer0(val) {
31254                new v;
31255                v = get_int(sbvis_v);
31256                if (v) {
31257                    v = get_int(sbalways_v);
31258                    if (!v) {
31259                        emit("do-hide-vbar", "");
31260                        set_int(sbvis_v, 0);
31261                    }
31262                }
31263                v = get_int(sbvis_h);
31264                if (v) {
31265                    v = get_int(sbalways_h);
31266                    if (!v) {
31267                        emit("do-hide-hbar", "");
31268                        set_int(sbvis_h, 0);
31269                    }
31270                }
31271                set_int(sbvis_timer, 0);
31272                return 0;
31273            }
31274        }
31275        images {
31276            image: "shelf_inset.png" COMP;
31277            image: "bt_sm_base2.png" COMP;
31278            image: "bt_sm_shine.png" COMP;
31279            image: "bt_sm_hilight.png" COMP;
31280            image: "busy-1.png" COMP;
31281            image: "busy-2.png" COMP;
31282            image: "busy-3.png" COMP;
31283            image: "busy-4.png" COMP;
31284            image: "busy-5.png" COMP;
31285            image: "busy-6.png" COMP;
31286            image: "busy-7.png" COMP;
31287            image: "busy-8.png" COMP;
31288            image: "busy-9.png" COMP;
31289        }
31290        parts {
31291            part { name: "bg";
31292                type: RECT;
31293                description { state: "default" 0.0;
31294                    rel1.offset: 1 1;
31295                    rel2.offset: -2 -2;
31296                    color: 255 255 255 0;
31297                }
31298            }
31299            part { name: "clipper";
31300                type: RECT;
31301                mouse_events: 0;
31302                description { state: "default" 0.0;
31303                    rel1.to: "bg";
31304                    rel2.to: "bg";
31305                }
31306            }
31307            part { name: "elm.swallow.content";
31308                clip_to: "clipper";
31309                type: SWALLOW;
31310                description { state: "default" 0.0;
31311                    rel1.offset: 1 1;
31312                    rel2.offset: -2 -2;
31313                }
31314            }
31315            part { name: "busy_clip";
31316                type: RECT;
31317                mouse_events: 0;
31318                description { state: "default" 0.0;
31319                    visible: 0;
31320                    color: 255 255 255 0;
31321                }
31322                description { state: "active" 0.0;
31323                    visible: 1;
31324                    color: 255 255 255 255;
31325                }
31326            }
31327            part { name: "busy";
31328                clip_to: "busy_clip";
31329                mouse_events: 0;
31330                description { state: "default" 0.0;
31331                    fixed: 1 1;
31332                    min: 32 32;
31333                    aspect: 1.0 1.0;
31334                    align: 1.0 1.0;
31335                    aspect_preference: BOTH;
31336                    rel1 {
31337                        relative: 0.9 0.9;
31338                        offset:   -9 -9;
31339                    }
31340                    rel2 {
31341                        relative: 0.9 0.9;
31342                        offset:   -9 -9;
31343                    }
31344                    image {
31345                        normal: "busy-9.png";
31346                        tween:  "busy-1.png";
31347                        tween:  "busy-2.png";
31348                        tween:  "busy-3.png";
31349                        tween:  "busy-4.png";
31350                        tween:  "busy-5.png";
31351                        tween:  "busy-6.png";
31352                        tween:  "busy-7.png";
31353                        tween:  "busy-8.png";
31354                    }
31355                }
31356            }
31357            part { name: "conf_over";
31358                mouse_events:  0;
31359                description { state: "default" 0.0;
31360                    rel1.offset: 0 0;
31361                    rel2.offset: -1 -1;
31362                    image {
31363                        normal: "shelf_inset.png";
31364                        border: 7 7 7 7;
31365                        middle: 0;
31366                    }
31367                    fill.smooth : 0;
31368                }
31369            }
31370            part { name: "sb_vbar_clip_master";
31371                type: RECT;
31372                mouse_events: 0;
31373                description { state: "default" 0.0;
31374                }
31375                description { state: "hidden" 0.0;
31376                    visible: 0;
31377                    color: 255 255 255 0;
31378                }
31379            }
31380            part { name: "sb_vbar_clip";
31381                clip_to: "sb_vbar_clip_master";
31382                type: RECT;
31383                mouse_events: 0;
31384                description { state: "default" 0.0;
31385                }
31386                description { state: "hidden" 0.0;
31387                    visible: 0;
31388                    color: 255 255 255 0;
31389                }
31390            }
31391            part { name: "sb_vbar";
31392                type: RECT;
31393                mouse_events: 0;
31394                description { state: "default" 0.0;
31395                    fixed: 1 1;
31396                    visible: 0;
31397                    min: 10 17;
31398                    align: 1.0 0.0;
31399                    rel1 {
31400                        relative: 1.0 0.0;
31401                        offset:   -2 0;
31402                    }
31403                    rel2 {
31404                        relative: 1.0 0.0;
31405                        offset:   -2 -1;
31406                        to_y:     "sb_hbar";
31407                    }
31408                }
31409            }
31410            part { name: "elm.dragable.vbar";
31411                clip_to: "sb_vbar_clip";
31412                mouse_events: 0;
31413                dragable {
31414                    x: 0 0 0;
31415                    y: 1 1 0;
31416                    confine: "sb_vbar";
31417                }
31418                description { state: "default" 0.0;
31419                    fixed: 1 1;
31420                    min: 10 17;
31421                    max: 10 99999;
31422                    rel1 {
31423                        relative: 0.5  0.5;
31424                        offset:   0    0;
31425                        to: "sb_vbar";
31426                    }
31427                    rel2 {
31428                        relative: 0.5  0.5;
31429                        offset:   0    0;
31430                        to: "sb_vbar";
31431                    }
31432                    image {
31433                        normal: "bt_sm_base2.png";
31434                        border: 6 6 6 6;
31435                        middle: SOLID;
31436                    }
31437                }
31438            }
31439            part { name: "sb_vbar_over1";
31440                clip_to: "sb_vbar_clip";
31441                mouse_events: 0;
31442                description { state: "default" 0.0;
31443                    rel1.to: "elm.dragable.vbar";
31444                    rel2.relative: 1.0 0.5;
31445                    rel2.to: "elm.dragable.vbar";
31446                    image {
31447                        normal: "bt_sm_hilight.png";
31448                        border: 6 6 6 0;
31449                    }
31450                }
31451            }
31452            part { name: "sb_vbar_over2";
31453                clip_to: "sb_vbar_clip";
31454                mouse_events: 0;
31455                description { state: "default" 0.0;
31456                    rel1.to: "elm.dragable.vbar";
31457                    rel2.to: "elm.dragable.vbar";
31458                    image {
31459                        normal: "bt_sm_shine.png";
31460                        border: 6 6 6 0;
31461                    }
31462                }
31463            }
31464
31465            part { name: "sb_hbar_clip_master";
31466                type: RECT;
31467                mouse_events: 0;
31468                description { state: "default" 0.0;
31469                }
31470                description { state: "hidden" 0.0;
31471                    visible: 0;
31472                    color: 255 255 255 0;
31473                }
31474            }
31475            part { name: "sb_hbar_clip";
31476                clip_to: "sb_hbar_clip_master";
31477                type: RECT;
31478                mouse_events: 0;
31479                description { state: "default" 0.0;
31480                }
31481                description { state: "hidden" 0.0;
31482                    visible: 0;
31483                    color: 255 255 255 0;
31484                }
31485            }
31486            part { name: "sb_hbar";
31487                type: RECT;
31488                mouse_events: 0;
31489                description { state: "default" 0.0;
31490                    fixed: 1 1;
31491                    visible: 0;
31492                    min: 17 10;
31493                    align: 0.0 1.0;
31494                    rel1 {
31495                        relative: 0.0 1.0;
31496                        offset:   0 -2;
31497                    }
31498                    rel2 {
31499                        relative: 0.0 1.0;
31500                        offset:   -1 -2;
31501                        to_x:     "sb_vbar";
31502                    }
31503                }
31504            }
31505            part { name: "elm.dragable.hbar";
31506                clip_to: "sb_hbar_clip";
31507                mouse_events: 0;
31508                dragable {
31509                    x: 1 1 0;
31510                    y: 0 0 0;
31511                    confine: "sb_hbar";
31512                }
31513                description { state: "default" 0.0;
31514                    fixed: 1 1;
31515                    min: 17 10;
31516                    max: 99999 10;
31517                    rel1 {
31518                        relative: 0.5  0.5;
31519                        offset:   0    0;
31520                        to: "sb_hbar";
31521                    }
31522                    rel2 {
31523                        relative: 0.5  0.5;
31524                        offset:   0    0;
31525                        to: "sb_hbar";
31526                    }
31527                    image {
31528                        normal: "bt_sm_base2.png";
31529                        border: 4 4 4 4;
31530                        middle: SOLID;
31531                    }
31532                }
31533            }
31534            part { name: "sb_hbar_over1";
31535                clip_to: "sb_hbar_clip";
31536                mouse_events: 0;
31537                description { state: "default" 0.0;
31538                    rel1.to: "elm.dragable.hbar";
31539                    rel2.relative: 1.0 0.5;
31540                    rel2.to: "elm.dragable.hbar";
31541                    image {
31542                        normal: "bt_sm_hilight.png";
31543                        border: 4 4 4 0;
31544                    }
31545                }
31546            }
31547            part { name: "sb_hbar_over2";
31548                clip_to: "sb_hbar_clip";
31549                mouse_events: 0;
31550                description { state: "default" 0.0;
31551                    rel1.to: "elm.dragable.hbar";
31552                    rel2.to: "elm.dragable.hbar";
31553                    image {
31554                        normal: "bt_sm_shine.png";
31555                        border: 4 4 4 0;
31556                    }
31557                }
31558            }
31559        }
31560        programs {
31561            program { name: "load";
31562                signal: "load";
31563                source: "";
31564                script {
31565                    set_state(PART:"sb_hbar_clip", "hidden", 0.0);
31566                    set_state(PART:"sb_vbar_clip", "hidden", 0.0);
31567                    set_int(sbvis_h, 0);
31568                    set_int(sbvis_v, 0);
31569                    set_int(sbalways_v, 0);
31570                    set_int(sbalways_h, 0);
31571                    set_int(sbvis_timer, 0);
31572                }
31573            }
31574
31575            program { name: "vbar_show";
31576                signal: "elm,action,show,vbar";
31577                source: "elm";
31578                action:  STATE_SET "default" 0.0;
31579                target: "sb_vbar_clip_master";
31580            }
31581            program { name: "vbar_hide";
31582                signal: "elm,action,hide,vbar";
31583                source: "elm";
31584                action:  STATE_SET "hidden" 0.0;
31585                target: "sb_vbar_clip_master";
31586            }
31587            program { name: "vbar_show_always";
31588                signal: "elm,action,show_always,vbar";
31589                source: "elm";
31590                script {
31591                    new v;
31592                    v = get_int(sbvis_v);
31593                    v |= get_int(sbalways_v);
31594                    if (!v) {
31595                        set_int(sbalways_v, 1);
31596                        emit("do-show-vbar", "");
31597                        set_int(sbvis_v, 1);
31598                    }
31599                }
31600            }
31601            program { name: "vbar_show_notalways";
31602                signal: "elm,action,show_notalways,vbar";
31603                source: "elm";
31604                script {
31605                    new v;
31606                    v = get_int(sbalways_v);
31607                    if (v) {
31608                        set_int(sbalways_v, 0);
31609                        v = get_int(sbvis_v);
31610                        if (!v) {
31611                            emit("do-hide-vbar", "");
31612                            set_int(sbvis_v, 0);
31613                        }
31614                    }
31615                }
31616            }
31617            program { name: "sb_vbar_show";
31618                signal: "do-show-vbar";
31619                source: "";
31620                action:  STATE_SET "default" 0.0;
31621                transition: LINEAR 0.5;
31622                target: "sb_vbar_clip";
31623            }
31624            program { name: "sb_vbar_hide";
31625                signal: "do-hide-vbar";
31626                source: "";
31627                action:  STATE_SET "hidden" 0.0;
31628                transition: LINEAR 0.5;
31629                target: "sb_vbar_clip";
31630            }
31631
31632            program { name: "hbar_show";
31633                signal: "elm,action,show,hbar";
31634                source: "elm";
31635                action:  STATE_SET "default" 0.0;
31636                target: "sb_hbar_clip_master";
31637            }
31638            program { name: "hbar_hide";
31639                signal: "elm,action,hide,hbar";
31640                source: "elm";
31641                action:  STATE_SET "hidden" 0.0;
31642                target: "sb_hbar_clip_master";
31643            }
31644            program { name: "hbar_show_always";
31645                signal: "elm,action,show_always,hbar";
31646                source: "elm";
31647                script {
31648                    new v;
31649                    v = get_int(sbvis_h);
31650                    v |= get_int(sbalways_h);
31651                    if (!v) {
31652                        set_int(sbalways_h, 1);
31653                        emit("do-show-hbar", "");
31654                        set_int(sbvis_h, 1);
31655                    }
31656                }
31657            }
31658            program { name: "hbar_show_notalways";
31659                signal: "elm,action,show_notalways,hbar";
31660                source: "elm";
31661                script {
31662                    new v;
31663                    v = get_int(sbalways_h);
31664                    if (v) {
31665                        set_int(sbalways_h, 0);
31666                        v = get_int(sbvis_h);
31667                        if (!v) {
31668                            emit("do-hide-hbar", "");
31669                            set_int(sbvis_h, 0);
31670                        }
31671                    }
31672                }
31673            }
31674            program { name: "sb_hbar_show";
31675                signal: "do-show-hbar";
31676                source: "";
31677                action:  STATE_SET "default" 0.0;
31678                transition: LINEAR 0.5;
31679                target: "sb_hbar_clip";
31680            }
31681            program { name: "sb_hbar_hide";
31682                signal: "do-hide-hbar";
31683                source: "";
31684                action:  STATE_SET "hidden" 0.0;
31685                transition: LINEAR 0.5;
31686                target: "sb_hbar_clip";
31687            }
31688
31689            program { name: "scroll";
31690                signal: "elm,action,scroll";
31691                source: "elm";
31692                script {
31693                    new v;
31694                    v = get_int(sbvis_v);
31695                    v |= get_int(sbalways_v);
31696                    if (!v) {
31697                        emit("do-show-vbar", "");
31698                        set_int(sbvis_v, 1);
31699                    }
31700                    v = get_int(sbvis_h);
31701                    v |= get_int(sbalways_h);
31702                    if (!v) {
31703                        emit("do-show-hbar", "");
31704                        set_int(sbvis_h, 1);
31705                    }
31706                    v = get_int(sbvis_timer);
31707                    if (v > 0) cancel_timer(v);
31708                    v = timer(1.0, "timer0", 0);
31709                    set_int(sbvis_timer, v);
31710                }
31711            }
31712            program { name: "go1";
31713                signal: "elm,state,busy,start";
31714                source: "elm";
31715                action: STATE_SET "active" 0.0;
31716                transition: SINUSOIDAL 1.0;
31717                target:  "busy_clip";
31718            }
31719            program { name: "go2";
31720                signal: "elm,state,busy,start";
31721                source: "elm";
31722                action: STATE_SET "default" 0.0;
31723                transition: LINEAR 0.5;
31724                target: "busy";
31725                after:  "go2";
31726            }
31727            program { name: "stop1";
31728                signal: "elm,state,busy,stop";
31729                source: "elm";
31730                action: STATE_SET "default" 0.0;
31731                transition: SINUSOIDAL 1.0;
31732                target: "busy_clip";
31733                after: "stop2";
31734            }
31735          program { name: "stop2";
31736             action: ACTION_STOP;
31737             target: "go2";
31738          }
31739       }
31740    }
31741    group { name: "elm/map/marker/radio/default";
31742         data {
31743             item: size_w 24;
31744             item: size_h 24;
31745             item: size_max_w 58;
31746             item: size_max_h 58;
31747         }
31748         images {
31749                 image: "map_item.png" COMP;
31750         }
31751         parts {
31752             part { name: "whole";
31753                 description { state: "default" 0.0;
31754                 }
31755             }
31756             part { name: "base";
31757                 ignore_flags: ON_HOLD;
31758                 description { state: "default" 0.0;
31759                     image.normal: "map_item.png";
31760                 }
31761             }
31762             part { name: "elm.icon";
31763                 type: SWALLOW;
31764                 clip_to: "whole";
31765                 mouse_events:  0;
31766                 description { state: "default" 0.0;
31767                     rel1.relative: 0.27 0.27;
31768                     rel2.relative: 0.73 0.73;
31769                 }
31770             }
31771             part { name: "elm.text";
31772                 type:          TEXT;
31773                 effect:        SOFT_SHADOW;
31774                 mouse_events:  0;
31775                 scale: 1;
31776                 description { state: "default" 0.0;
31777                     align:    0.5 0.5;
31778                     color: 224 224 224 255;
31779                     color3: 0 0 0 64;
31780                     rel1.relative: 0.28 0.25;
31781                     rel2.relative: 0.75 0.75;
31782                     text {
31783                         font:     "Sans,Edje-Vera";
31784                         size:     10;
31785                         min:      0 0;
31786                         align:    0.5 0.5;
31787                     }
31788                 }
31789             }
31790        }
31791        programs {
31792             program { name: "open";
31793                 signal: "mouse,clicked,1";
31794                 source: "base";
31795                 action: SIGNAL_EMIT "open" "elm";
31796             }
31797             program { name: "bringin";
31798                 signal: "mouse,down,1,double";
31799                 source: "base";
31800                 action: SIGNAL_EMIT "bringin" "elm";
31801             }
31802        }
31803    }
31804    group { name: "elm/map/marker/radio2/default";
31805         data {
31806             item: size_w 24;
31807             item: size_h 24;
31808             item: size_max_w 58;
31809             item: size_max_h 58;
31810         }
31811         images {
31812                 image: "map_item_2.png" COMP;
31813         }
31814         parts {
31815             part { name: "base";
31816                 ignore_flags: ON_HOLD;
31817                 description { state: "default" 0.0;
31818                     image.normal: "map_item_2.png";
31819                 }
31820             }
31821             part { name: "elm.text";
31822                 type:          TEXT;
31823                 effect:        SOFT_SHADOW;
31824                 mouse_events:  0;
31825                 scale: 1;
31826                 description { state: "default" 0.0;
31827                     align:    0.5 0.5;
31828                     color: 224 224 224 255;
31829                     color3: 0 0 0 64;
31830                     rel1.relative: 0.28 0.25;
31831                     rel2.relative: 0.75 0.75;
31832                     text {
31833                         font:     "Sans,Edje-Vera";
31834                         size:     10;
31835                         min:      0 0;
31836                         align:    0.5 0.5;
31837                     }
31838                 }
31839             }
31840        }
31841        programs {
31842             program { name: "open";
31843                 signal: "mouse,clicked,1";
31844                 source: "base";
31845                 action: SIGNAL_EMIT "open" "elm";
31846             }
31847             program { name: "bringin";
31848                 signal: "mouse,down,1,double";
31849                 source: "base";
31850                 action: SIGNAL_EMIT "bringin" "elm";
31851             }
31852        }
31853    }
31854    group { name: "elm/map/marker/empty/default";
31855         data {
31856             item: size_w 22;
31857             item: size_h 22;
31858             item: size_max_w 64;
31859             item: size_max_h 64;
31860         }
31861         parts {
31862             part { name: "whole";
31863                 description { state: "default" 0.0;
31864                 }
31865             }
31866             part { name: "base";
31867                 ignore_flags: ON_HOLD;
31868                 description { state: "default" 0.0;
31869                 }
31870             }
31871             part { name: "elm.icon";
31872                 type: SWALLOW;
31873                 clip_to: "whole";
31874                 mouse_events:  0;
31875                 description { state: "default" 0.0;
31876                 }
31877             }
31878             part { name: "elm.text";
31879                 type:          TEXT;
31880                 effect:        SOFT_SHADOW;
31881                 mouse_events:  0;
31882                 scale: 1;
31883                 description { state: "default" 0.0;
31884                     align:    0.5 0.5;
31885                     color: 224 224 224 255;
31886                     color3: 0 0 0 64;
31887                     rel1.relative: 0.28 0.25;
31888                     rel2.relative: 0.75 0.75;
31889                     text {
31890                         font:     "Sans,Edje-Vera";
31891                         size:     10;
31892                         min:      0 0;
31893                         align:    0.5 0.5;
31894                     }
31895                 }
31896             }
31897        }
31898        programs {
31899             program { name: "open";
31900                 signal: "mouse,clicked,1";
31901                 source: "base";
31902                 action: SIGNAL_EMIT "open" "elm";
31903             }
31904             program { name: "bringin";
31905                 signal: "mouse,down,1,double";
31906                 source: "base";
31907                 action: SIGNAL_EMIT "bringin" "elm";
31908             }
31909        }
31910    }
31911    group { name: "elm/map/marker_bubble/default";
31912     images {
31913       image: "bubble.png" COMP;
31914       image: "bubble_shine.png" COMP;
31915     }
31916     data {
31917             item: size_w 400;
31918             item: size_h 100;
31919         }
31920     parts {
31921     part { name: "clipper";
31922         mouse_events:  1;
31923         description { state: "default" 0.0;
31924           color: 255 255 255 0;
31925         }
31926         description { state: "show" 0.0;
31927             inherit: "default" 0.0;
31928             color: 255 255 255 255;
31929         }
31930       }
31931      part { name: "base0";
31932         mouse_events:  0;
31933         clip_to: "clipper";
31934         description { state: "default" 0.0;
31935           image {
31936             normal: "bubble.png";
31937             border: 11 36 10 19;
31938           }
31939           image.middle: SOLID;
31940           fill.smooth: 0;
31941         }
31942       }
31943       part { name: "elm.swallow.content";
31944         type: SWALLOW;
31945         clip_to: "clipper";
31946         description { state: "default" 0.0;
31947             align: 0.5 0.5;
31948           rel1 {
31949             offset: 9 8;
31950           }
31951           rel2 {
31952             offset: -10 -17;
31953           }
31954         }
31955       }
31956       part { name: "shine";
31957         mouse_events:  0;
31958         clip_to: "clipper";
31959         description { state:    "default" 0.0;
31960           rel1 {
31961             to: "base0";
31962           }
31963           rel2 {
31964             to: "base0";
31965             relative: 1.0 0.5;
31966           }
31967           image {
31968             normal: "bubble_shine.png";
31969             border: 5 5 5 0;
31970           }
31971           fill.smooth: 0;
31972         }
31973         }
31974     }
31975     programs {
31976         program { name: "show";
31977             signal: "show";
31978             action: STATE_SET "show" 0.0;
31979             target: "clipper";
31980             transition: ACCELERATE 0.5;
31981         }
31982     }
31983   }
31984
31985 /////////////////////////////////////////////////////////////////////////////
31986 // PANES
31987 /////////////////////////////////////////////////////////////////////////////
31988   group {
31989      name: "elm/panes/vertical/default";
31990       images {
31991          image: "bt_base1.png" COMP;
31992          image: "bt_base2.png" COMP;
31993          image: "bt_hilight.png" COMP;
31994          image: "bt_shine.png" COMP;
31995          image: "bt_glow.png" COMP;
31996          image: "bt_dis_base.png" COMP;
31997          image: "bt_dis_hilight.png" COMP;
31998          image: "arrow_right.png" COMP;
31999          image: "arrow_left.png" COMP;
32000       }
32001      script {
32002         public state_pair = 0; //0:both content are not set, 1:both content are set
32003      }
32004      parts
32005        {
32006           part
32007             {
32008                name: "whole";
32009                type: RECT;
32010                mouse_events: 1;
32011                description
32012                  {
32013                     state: "default" 0.0;
32014                     visible: 0;
32015                  }
32016             }
32017
32018          //2 contents
32019           part
32020             {
32021                name: "whole_left";
32022                type: RECT;
32023                mouse_events: 0;
32024                description
32025                  {
32026                     state: "default" 0.0;
32027                     rel2.to_x: "elm.bar";
32028                     rel2.relative: 0.0 1.0;
32029                     visible: 1;
32030                  }
32031             }
32032           part
32033             {
32034                name: "elm.swallow.left";
32035                type: SWALLOW;
32036                clip_to: "whole_left";
32037                description
32038                  {
32039                     state: "default" 0.0;
32040                     rel1.to: "whole_left";
32041                     rel2.to: "whole_left";
32042                  }
32043             }
32044
32045             part
32046             {
32047                name: "whole_right";
32048                type: RECT;
32049                mouse_events: 0;
32050                description
32051                  {
32052                     state: "default" 0.0;
32053                     rel1.to_x: "elm.bar";
32054                     rel1.relative: 1.0 0.0;
32055                     visible: 1;
32056                  }
32057             }
32058           part
32059             {
32060                name: "elm.swallow.right";
32061                type: SWALLOW;
32062                clip_to: "whole_right";
32063                description
32064                  {
32065                     state: "default" 0.0;
32066                     rel1.to: "whole_right";
32067                     rel2.to: "whole_right";
32068                  }
32069             }
32070          //BAR
32071          part { name: "elm.bar";
32072             mouse_events: 1;
32073             dragable {
32074                confine: "whole";
32075                x: 1 1 1;
32076                y: 0 0 0;
32077             }
32078             description { state: "default" 0.0;
32079                max: 0 999;
32080                min: 0 100;
32081                rel1.relative: 0.0 0.5;
32082                rel2.relative: 1.0 0.5;
32083                image {
32084                   normal: "bt_base2.png";
32085                   border: 7 7 7 7;
32086                }
32087                image.middle: SOLID;
32088             }
32089        description { state: "default" 0.1;
32090           inherit: "default" 0.0;
32091           max: 15 999;
32092           min: 15 100;
32093        }
32094             description { state: "clicked" 0.0;
32095                inherit: "default" 0.0;
32096                image.normal: "bt_base1.png";
32097                image.middle: SOLID;
32098             }
32099        description { state: "clicked" 0.1;
32100           inherit: "default" 0.1;
32101           image.normal: "bt_base1.png";
32102           image.middle: SOLID;
32103        }
32104             description { state: "disabled" 0.0;
32105                inherit:  "default" 0.0;
32106                image {
32107                   normal: "bt_dis_base.png";
32108                   border: 4 4 4 4;
32109                }
32110             }
32111        description { state: "disabled" 0.1;
32112           inherit:  "default" 0.1;
32113           image {
32114              normal: "bt_dis_base.png";
32115              border: 4 4 4 4;
32116          }
32117       }
32118          }
32119          part {   name: "over1";
32120             mouse_events: 0;
32121             description { state: "default" 0.0;
32122             rel1.to: "elm.bar";
32123             rel2.to: "elm.bar";
32124                rel2.relative: 1.0 0.5;
32125                image {
32126                   normal: "bt_hilight.png";
32127                   border: 7 7 7 0;
32128                }
32129             }
32130             description { state: "disabled" 0.0;
32131                inherit:  "default" 0.0;
32132                image {
32133                   normal: "bt_dis_hilight.png";
32134                   border: 4 4 4 0;
32135                }
32136             }
32137          }
32138          part { name: "over2";
32139             mouse_events: 1;
32140             repeat_events: 1;
32141             ignore_flags: ON_HOLD;
32142             description { state: "default" 0.0;
32143             rel1.to: "elm.bar";
32144             rel2.to: "elm.bar";
32145                image {
32146                   normal: "bt_shine.png";
32147                   border: 7 7 7 7;
32148                }
32149             }
32150             description { state: "disabled" 0.0;
32151                inherit:  "default" 0.0;
32152                visible: 0;
32153             }
32154          }
32155          part { name: "over3";
32156             mouse_events: 1;
32157             repeat_events: 1;
32158             description { state: "default" 0.0;
32159                color: 255 255 255 0;
32160             rel1.to: "elm.bar";
32161             rel2.to: "elm.bar";
32162                image {
32163                   normal: "bt_glow.png";
32164                   border: 12 12 12 12;
32165                }
32166                fill.smooth : 0;
32167             }
32168             description { state: "clicked" 0.0;
32169                inherit:  "default" 0.0;
32170                visible: 1;
32171                color: 255 255 255 255;
32172             }
32173          }
32174
32175          //Arrow
32176          part {
32177             name: "arrow_right";
32178             mouse_events: 0;
32179             description { state: "default" 0.0;
32180                 min: 45 45;
32181                 max: 45 45;
32182                 color: 255 255 255 0;
32183
32184                 rel1.relative: 1.0 0.5;
32185                 rel1.to_x: "elm.bar";
32186                 rel1.offset: 45/2 -45/2;
32187
32188                 rel2.relative: 1.0 0.5;
32189                 rel2.to_x: "elm.bar";
32190                 rel2.offset: 45/2 45/2;
32191
32192                 image.normal: "arrow_right.png";
32193
32194                 fixed: 1 1;
32195             }
32196             description { state: "anim_1" 0.0;
32197                 inherit: "default" 0.0;
32198                 color: 255 255 255 200;
32199                 rel1.offset: (45/2 + 10) -45/2;
32200                 rel2.offset: (45/2 +10) 45/2;
32201             }
32202             description { state: "anim_2" 0.0;
32203                 inherit: "default" 0.0;
32204                 color: 255 255 255 0;
32205                 rel1.offset: (45/2 + 20) -45/2;
32206                 rel2.offset: (45/2 + 20) 45/2;
32207             }
32208          }
32209         part {
32210             name: "arrow_left";
32211             mouse_events: 0;
32212             description { state: "default" 0.0;
32213                 min: 45 45;
32214                 max: 45 45;
32215                 color: 255 255 255 0;
32216
32217                 rel1.relative: 0.0 0.5;
32218                 rel1.to_x: "elm.bar";
32219                 rel1.offset: -45/2 -45/2;
32220
32221                 rel2.relative: 0.0 0.5;
32222                 rel2.to_x: "elm.bar";
32223                 rel2.offset: -45/2 45/2;
32224
32225                 image.normal: "arrow_left.png";
32226
32227                 fixed: 1 1;
32228             }
32229             description { state: "anim_1" 0.0;
32230                 inherit: "default" 0.0;
32231                 color: 255 255 255 200;
32232                 rel1.offset: (-45/2 - 10) -45/2;
32233                 rel2.offset: (-45/2 - 10) 45/2;
32234             }
32235             description { state: "anim_2" 0.0;
32236                 inherit: "default" 0.0;
32237                 color: 255 255 255 0;
32238                 rel1.offset: (-45/2 - 20) -45/2;
32239                 rel2.offset: (-45/2 - 20) 45/2;
32240             }
32241          }
32242          part { name: "movement.decider";
32243             mouse_events: 1;
32244             description { state: "default" 0.0;
32245                rel1.to: "elm.bar";
32246                rel2.to: "elm.bar";
32247                visible: 0;
32248             }
32249             description { state: "disabled" 0.0;
32250                inherit: "default" 0.0;
32251                visible: 1;
32252             }
32253          }
32254
32255        }
32256         programs {
32257          program {
32258             name:   "button_click";
32259             signal: "mouse,down,1";
32260             source: "over2";
32261             action: SIGNAL_EMIT "elm,action,press" "";
32262             after: "button_click_anim";
32263             after: "arrow_anim_start";
32264          }
32265          program {
32266             name:   "button_click_anim";
32267        script {
32268           if(get_int(state_pair) == 1)
32269              set_state(PART:"elm.bar", "clicked", 0.1);
32270           else
32271              set_state(PART:"elm.bar", "clicked", 0.0);                         
32272        }
32273          }
32274          program {
32275             name:   "button_unclick";
32276             signal: "mouse,up,1";
32277             source: "over2";
32278             action: SIGNAL_EMIT "elm,action,unpress" "";
32279             after: "button_unclick_anim";
32280             after: "arrow_anim_stop";
32281          }
32282          program {
32283             name:   "button_unclick_anim";
32284           script {
32285           if(get_int(state_pair) == 1)
32286              set_state(PART:"elm.bar", "default", 0.1);
32287           else
32288              set_state(PART:"elm.bar", "default", 0.0);                         
32289        }
32290          }
32291          program {
32292             name:   "button_click2";
32293             signal: "mouse,down,1";
32294             source: "over3";
32295             action: STATE_SET "clicked" 0.0;
32296             target: "over3";
32297          }
32298          program {
32299             name:   "button_unclick2";
32300             signal: "mouse,up,1";
32301             source: "over3";
32302             action: STATE_SET "default" 0.0;
32303             transition: DECELERATE 0.5;
32304             target: "over3";
32305          }
32306          program {
32307             name:   "button_unclick3";
32308             signal: "mouse,up,1";
32309             source: "over2";
32310             action: SIGNAL_EMIT "elm,action,click" "";
32311          }
32312          program {
32313             name:   "button_down_double";
32314             signal: "mouse,down,1,double";
32315             source: "over3";
32316             action: SIGNAL_EMIT "elm,action,click,double" "";
32317          }
32318
32319          //arrows animation
32320          program {
32321             name: "arrow_anim_start";
32322             action: STATE_SET "anim_1" 0.0;
32323             target: "arrow_right";
32324             target: "arrow_left";
32325             transition: LINEAR 0.6;
32326             after: "arrow_anim_1";
32327          }
32328          program {
32329             name: "arrow_anim_1";
32330             action: STATE_SET "anim_2" 0.0;
32331             target: "arrow_right";
32332             target: "arrow_left";
32333             transition: LINEAR 0.6;
32334             after: "arrow_anim_2";
32335          }
32336          program {
32337             name: "arrow_anim_2";
32338             action: STATE_SET "default" 0.0;
32339             target: "arrow_right";
32340             target: "arrow_left";
32341             after: "arrow_anim_start";
32342          }
32343          program {
32344             name: "arrow_anim_stop";
32345             action: ACTION_STOP;
32346             target: "arrow_anim_start";
32347             target: "arrow_anim_1";
32348             target: "arrow_anim_2";
32349             after: "arrow_anim_stop_1";
32350          }
32351          program {
32352             name: "arrow_anim_stop_1";
32353             action: STATE_SET "default" 0.0;
32354             target: "arrow_right";
32355             target: "arrow_left";
32356             transition: DECELERATE 0.4;
32357         }
32358         //fix the pane
32359         program {
32360            name:   "panes_fixed";
32361            signal: "elm.panes.fixed";
32362            source: "elm";
32363            action: STATE_SET "disabled" 0.0;
32364            target: "movement.decider";
32365            target: "elm.bar";
32366         }
32367         //allow the movement by interaction
32368         program {
32369            name:   "panes_unfixed";
32370            signal: "elm.panes.unfixed";
32371            source: "elm";
32372            action: STATE_SET "default" 0.0;
32373            target: "movement.decider";
32374            target: "elm.bar";
32375         }
32376         program {
32377            name:   "panes_pair";
32378            signal: "elm.panes.pair";
32379            source: "elm";
32380            script {
32381               new st[31];
32382               new Float:vl;
32383               set_int(state_pair, 1);
32384               get_state(PART:"elm.bar", st, 30, vl);
32385               set_state(PART:"elm.bar", st, 0.1);
32386            }
32387         }
32388         program {
32389            name:   "panes_unpair";
32390            signal: "elm.panes.unpair";
32391            source: "elm";
32392            script {
32393               new st[31];
32394               new Float:vl;
32395               set_int(state_pair, 0);
32396               get_state(PART:"elm.bar", st, 30, vl);
32397               set_state(PART:"elm.bar", st, 0.0);
32398            }
32399         }
32400       }
32401   }
32402
32403   group {
32404      name: "elm/panes/horizontal/default";
32405       images {
32406          image: "bt_base1.png" COMP;
32407          image: "bt_base2.png" COMP;
32408          image: "bt_hilight.png" COMP;
32409          image: "bt_shine.png" COMP;
32410          image: "bt_glow.png" COMP;
32411          image: "bt_dis_base.png" COMP;
32412          image: "bt_dis_hilight.png" COMP;
32413          image: "arrow_up.png" COMP;
32414          image: "arrow_down.png" COMP;
32415       }
32416      script {
32417         public state_pair = 0; //0:both content are not set, 1:both content are set
32418      }
32419      parts
32420        {
32421           part
32422             {
32423                name: "whole";
32424                type: RECT;
32425                mouse_events: 1;
32426                description
32427                  {
32428                     state: "default" 0.0;
32429                     visible: 0;
32430                  }
32431             }
32432
32433          //2 contents
32434           part
32435             {
32436                name: "whole_left";
32437                type: RECT;
32438                mouse_events: 0;
32439                description
32440                  {
32441                     state: "default" 0.0;
32442                     rel2.to_y: "elm.bar";
32443                     rel2.relative: 1.0 0.0;
32444                     visible: 1;
32445                  }
32446             }
32447           part
32448             {
32449                name: "elm.swallow.left";
32450                type: SWALLOW;
32451                clip_to: "whole_left";
32452                description
32453                  {
32454                     state: "default" 0.0;
32455                     rel1.to: "whole_left";
32456                     rel2.to: "whole_left";
32457                  }
32458             }
32459
32460             part
32461             {
32462                name: "whole_right";
32463                type: RECT;
32464                mouse_events: 0;
32465                description
32466                  {
32467                     state: "default" 0.0;
32468                     rel1.to_y: "elm.bar";
32469                     rel1.relative: 0.0 1.0;
32470                     visible: 1;
32471                  }
32472             }
32473           part
32474             {
32475                name: "elm.swallow.right";
32476                type: SWALLOW;
32477                clip_to: "whole_right";
32478                description
32479                  {
32480                     state: "default" 0.0;
32481                     rel1.to: "whole_right";
32482                     rel2.to: "whole_right";
32483                  }
32484             }
32485          //BAR
32486          part { name: "elm.bar";
32487             mouse_events: 1;
32488             dragable {
32489                confine: "whole";
32490                x: 0 0 0;
32491                y: 1 1 1;
32492             }
32493             description { state: "default" 0.0;
32494                max: 999 0;
32495                min: 100 0;
32496                rel1.relative: 0.5 0.0;
32497                rel2.relative: 0.5 1.0;
32498                image {
32499                   normal: "bt_base2.png";
32500                   border: 7 7 7 7;
32501                }
32502                image.middle: SOLID;
32503             }
32504        description { state: "default" 0.1;
32505           inherit: "default" 0.0;
32506           max: 999 15;
32507           min: 100 15;
32508        }
32509             description { state: "clicked" 0.0;
32510                inherit: "default" 0.0;
32511                image.normal: "bt_base1.png";
32512                image.middle: SOLID;
32513             }
32514        description { state: "clicked" 0.1;
32515           inherit: "default" 0.1;
32516           image.normal: "bt_base1.png";
32517           image.middle: SOLID;
32518        }
32519             description { state: "disabled" 0.0;
32520                inherit:  "default" 0.0;
32521                image {
32522                   normal: "bt_dis_base.png";
32523                   border: 4 4 4 4;
32524                }
32525             }
32526        description { state: "disabled" 0.1;
32527           inherit:  "default" 0.1;
32528           image {
32529              normal: "bt_dis_base.png";
32530              border: 4 4 4 4;
32531           }
32532        }
32533          }
32534          part {   name: "over1";
32535             mouse_events: 0;
32536             description { state: "default" 0.0;
32537             rel1.to: "elm.bar";
32538             rel2.to: "elm.bar";
32539                rel2.relative: 1.0 0.5;
32540                image {
32541                   normal: "bt_hilight.png";
32542                   border: 7 7 7 0;
32543                }
32544             }
32545             description { state: "disabled" 0.0;
32546                inherit:  "default" 0.0;
32547                image {
32548                   normal: "bt_dis_hilight.png";
32549                   border: 4 4 4 0;
32550                }
32551             }
32552          }
32553          part { name: "over2";
32554             mouse_events: 1;
32555             repeat_events: 1;
32556             ignore_flags: ON_HOLD;
32557             description { state: "default" 0.0;
32558             rel1.to: "elm.bar";
32559             rel2.to: "elm.bar";
32560                image {
32561                   normal: "bt_shine.png";
32562                   border: 7 7 7 7;
32563                }
32564             }
32565             description { state: "disabled" 0.0;
32566                inherit:  "default" 0.0;
32567                visible: 0;
32568             }
32569          }
32570          part { name: "over3";
32571             mouse_events: 1;
32572             repeat_events: 1;
32573             description { state: "default" 0.0;
32574                color: 255 255 255 0;
32575             rel1.to: "elm.bar";
32576             rel2.to: "elm.bar";
32577                image {
32578                   normal: "bt_glow.png";
32579                   border: 12 12 12 12;
32580                }
32581                fill.smooth : 0;
32582             }
32583             description { state: "clicked" 0.0;
32584                inherit:  "default" 0.0;
32585                visible: 1;
32586                color: 255 255 255 255;
32587             }
32588          }
32589
32590          //Arrow
32591          part {
32592             name: "arrow_right";
32593             mouse_events: 0;
32594             description { state: "default" 0.0;
32595                 min: 45 45;
32596                 max: 45 45;
32597                 color: 255 255 255 0;
32598
32599                 rel1.relative: 0.5 1.0;
32600                 rel1.to_y: "elm.bar";
32601                 rel1.offset: -45/2 45/2;
32602
32603                 rel2.relative: 0.5 1.0;
32604                 rel2.to_y: "elm.bar";
32605                 rel2.offset: 45/2 45/2;
32606
32607                 image.normal: "arrow_down.png";
32608
32609                 fixed: 1 1;
32610             }
32611             description { state: "anim_1" 0.0;
32612                 inherit: "default" 0.0;
32613                 color: 255 255 255 200;
32614                 rel1.offset: -45/2 (45/2 +10);
32615                 rel2.offset: 45/2 (45/2 +10);
32616             }
32617             description { state: "anim_2" 0.0;
32618                 inherit: "default" 0.0;
32619                 color: 255 255 255 0;
32620                 rel1.offset: -45/2 (45/2 + 20);
32621                 rel2.offset: 45/2 (45/2 + 20);
32622             }
32623          }
32624         part {
32625             name: "arrow_left";
32626             mouse_events: 0;
32627             description { state: "default" 0.0;
32628                 min: 45 45;
32629                 max: 45 45;
32630                 color: 255 255 255 0;
32631
32632                 rel1.relative: 0.5 0.0;
32633                 rel1.to_y: "elm.bar";
32634                 rel1.offset: -45/2 -45/2;
32635
32636                 rel2.relative: 0.5 0.0;
32637                 rel2.to_y: "elm.bar";
32638                 rel2.offset: 45/2 -45/2;
32639
32640                 image.normal: "arrow_up.png";
32641
32642                 fixed: 1 1;
32643             }
32644             description { state: "anim_1" 0.0;
32645                 inherit: "default" 0.0;
32646                 color: 255 255 255 200;
32647                 rel1.offset: -45/2 (-45/2 - 10);
32648                 rel2.offset: 45/2 (-45/2 - 10);
32649             }
32650             description { state: "anim_2" 0.0;
32651                 inherit: "default" 0.0;
32652                 color: 255 255 255 0;
32653                 rel1.offset: -45/2 (-45/2 - 20);
32654                 rel2.offset: 45/2 (-45/2 - 20);
32655             }
32656          }
32657          part {
32658             name: "movement.decider";
32659             mouse_events: 1;
32660             description { state: "default" 0.0;
32661                rel1.to: "elm.bar";
32662                rel2.to: "elm.bar";
32663                visible: 0;
32664             }
32665             description { state: "disabled" 0.0;
32666                inherit: "default" 0.0;
32667                visible: 1;
32668             }
32669          }
32670
32671        }
32672         programs {
32673          program {
32674             name:   "button_click";
32675             signal: "mouse,down,1";
32676             source: "over2";
32677             action: SIGNAL_EMIT "elm,action,press" "";
32678             after: "button_click_anim";
32679             after: "arrow_anim_start";
32680          }
32681     program {
32682        name:   "button_click_anim";
32683        script {
32684           if(get_int(state_pair) == 1)
32685              set_state(PART:"elm.bar", "clicked", 0.1);
32686           else
32687              set_state(PART:"elm.bar", "clicked", 0.0);                         
32688        }
32689     }
32690          program {
32691             name:   "button_unclick";
32692             signal: "mouse,up,1";
32693             source: "over2";
32694             action: SIGNAL_EMIT "elm,action,unpress" "";
32695             after: "button_unclick_anim";
32696             after: "arrow_anim_stop";
32697          }
32698     program {
32699        name:   "button_unclick_anim";
32700        script {
32701           if(get_int(state_pair) == 1)
32702              set_state(PART:"elm.bar", "default", 0.1);
32703           else
32704              set_state(PART:"elm.bar", "default", 0.0);                         
32705        }
32706     }
32707          program {
32708             name:   "button_click2";
32709             signal: "mouse,down,1";
32710             source: "over3";
32711             action: STATE_SET "clicked" 0.0;
32712             target: "over3";
32713          }
32714          program {
32715             name:   "button_unclick2";
32716             signal: "mouse,up,1";
32717             source: "over3";
32718             action: STATE_SET "default" 0.0;
32719             transition: DECELERATE 0.5;
32720             target: "over3";
32721          }
32722          program {
32723             name:   "button_unclick3";
32724             signal: "mouse,up,1";
32725             source: "over2";
32726             action: SIGNAL_EMIT "elm,action,click" "";
32727          }
32728          program {
32729             name:   "button_down_double";
32730             signal: "mouse,down,1,double";
32731             source: "over3";
32732             action: SIGNAL_EMIT "elm,action,click,double" "";
32733          }
32734
32735          //arrows animation
32736          program {
32737             name: "arrow_anim_start";
32738             action: STATE_SET "anim_1" 0.0;
32739             target: "arrow_right";
32740             target: "arrow_left";
32741             transition: LINEAR 0.6;
32742             after: "arrow_anim_1";
32743          }
32744          program {
32745             name: "arrow_anim_1";
32746             action: STATE_SET "anim_2" 0.0;
32747             target: "arrow_right";
32748             target: "arrow_left";
32749             transition: LINEAR 0.6;
32750             after: "arrow_anim_2";
32751          }
32752          program {
32753             name: "arrow_anim_2";
32754             action: STATE_SET "default" 0.0;
32755             target: "arrow_right";
32756             target: "arrow_left";
32757             after: "arrow_anim_start";
32758          }
32759          program {
32760             name: "arrow_anim_stop";
32761             action: ACTION_STOP;
32762             target: "arrow_anim_start";
32763             target: "arrow_anim_1";
32764             target: "arrow_anim_2";
32765             after: "arrow_anim_stop_1";
32766          }
32767          program {
32768             name: "arrow_anim_stop_1";
32769             action: STATE_SET "default" 0.0;
32770             target: "arrow_right";
32771             target: "arrow_left";
32772             transition: DECELERATE 0.4;
32773         }
32774         //fix the pane
32775         program {
32776            name:   "panes_fixed";
32777            signal: "elm.panes.fixed";
32778            source: "elm";
32779            action: STATE_SET "disabled" 0.0;
32780            target: "movement.decider";
32781            target: "elm.bar";
32782         }
32783         //allow the movement by interaction
32784         program {
32785            name:   "panes_unfixed";
32786            signal: "elm.panes.unfixed";
32787            source: "elm";
32788            action: STATE_SET "default" 0.0;
32789            target: "movement.decider";
32790            target: "elm.bar";
32791         }
32792         program {
32793            name:   "panes_pair";
32794            signal: "elm.panes.pair";
32795            source: "elm";
32796            script {
32797               new st[31];
32798               new Float:vl;
32799               set_int(state_pair, 1);
32800               get_state(PART:"elm.bar", st, 30, vl);
32801               set_state(PART:"elm.bar", st, 0.1);
32802            }
32803         }
32804         program {
32805            name:   "panes_unpair";
32806            signal: "elm.panes.unpair";
32807            source: "elm";
32808            script {
32809               new st[31];
32810               new Float:vl;
32811               set_int(state_pair, 0);
32812               get_state(PART:"elm.bar", st, 30, vl);
32813               set_state(PART:"elm.bar", st, 0.0);
32814            }
32815         }
32816       }
32817   }
32818
32819
32820
32821 /////////////////////////////////////////////////////////////////////////////
32822 // PANEL
32823 /////////////////////////////////////////////////////////////////////////////
32824   group {
32825      name: "elm/panel/base/left";
32826      alias: "elm/panel/base/top";
32827      images
32828        {
32829           image: "bt_base1.png" COMP;
32830           image: "bt_hilight.png" COMP;
32831           image: "bt_shine.png" COMP;
32832           image: "bt_glow.png" COMP;
32833           image: "bt_dis_base.png" COMP;
32834           image: "icon_arrow_left.png" COMP;
32835           image: "icon_arrow_right.png" COMP;
32836        }
32837        data {
32838           item: "focus_highlight" "on";
32839        }
32840      parts
32841        {
32842             part { name: "focus_highlight";
32843                description { state: "default" 0.0;
32844                   visible: 0;
32845                   color: 255 255 255 0;
32846                   rel1 {
32847                      to: "btn";
32848                      offset: -8 -8;
32849                   }
32850                   rel2 {
32851                      to: "btn";
32852                      offset: 7 7;
32853                   }
32854                   image {
32855                      normal: "frame_2.png";
32856                      border: 5 5 32 26;
32857                      middle: 0;
32858                   }
32859                }
32860                description { state: "enabled" 0.0;
32861                   inherit: "default" 0.0;
32862                   visible: 1;
32863                   color: 255 255 255 255;
32864                }
32865             }
32866           part
32867             {
32868                name: "bg";
32869                type: RECT;
32870                mouse_events: 0;
32871                description
32872                  {
32873                     state: "default" 0.0;
32874                     color: 255 255 255 0;
32875                     rel1.relative: 0.0 0.0;
32876                     rel1.offset: 0 0;
32877                     rel2.relative: 1.0 1.0;
32878                     rel2.offset: -1 -1;
32879                  }
32880                description
32881                  {
32882                     state: "hidden" 0.0;
32883                     inherit: "default" 0.0;
32884                     rel1.relative: -1.0 0.0;
32885                     rel1.offset: 21 0;
32886                     rel2.relative: 0.0 1.0;
32887                     rel2.offset: 20 -1;
32888                  }
32889             }
32890           part
32891             {
32892                name: "base";
32893                type: IMAGE;
32894                mouse_events: 0;
32895                description
32896                  {
32897                     state: "default" 0.0;
32898                     rel1.to: "bg";
32899                     rel2.to: "bg";
32900                     rel2.offset: -20 -1;
32901                     image
32902                       {
32903                          normal: "bt_dis_base.png";
32904                          border: 4 4 4 4;
32905                       }
32906                  }
32907             }
32908           part
32909             {
32910                name: "clipper";
32911                type: RECT;
32912                mouse_events: 0;
32913                description
32914                  {
32915                     state: "default" 0.0;
32916                     rel1
32917                       {
32918                          offset: 4 4;
32919                          to: "base";
32920                       }
32921                     rel2
32922                       {
32923                          offset: -5 -5;
32924                          to: "base";
32925                       }
32926                  }
32927             }
32928           part
32929             {
32930                name: "elm.swallow.content";
32931                type: SWALLOW;
32932                clip_to: "clipper";
32933                description
32934                  {
32935                     state: "default" 0.0;
32936                     rel1.to: "clipper";
32937                     rel2.to: "clipper";
32938                  }
32939             }
32940           part
32941             {
32942                name: "btn";
32943                type: IMAGE;
32944                mouse_events: 1;
32945                description
32946                  {
32947                     state: "default" 0.0;
32948                     max: 32 48;
32949                     fixed: 1 1;
32950                     align: 0.0 0.5;
32951                     rel1
32952                       {
32953                          relative: 1.0 0.0;
32954                          offset: -3 0;
32955                          to_x: "base";
32956                       }
32957                     rel2.to_x: "bg";
32958                     image
32959                       {
32960                          normal: "bt_base1.png";
32961                          border: 0 5 4 12;
32962                       }
32963                     fill.smooth: 0;
32964                  }
32965                description
32966                  {
32967                     state: "clicked" 0.0;
32968                     inherit: "default" 0.0;
32969                  }
32970             }
32971           part
32972             {
32973                name: "btn_over";
32974                type: IMAGE;
32975                mouse_events: 0;
32976                description
32977                  {
32978                     state: "default" 0.0;
32979                     rel1.to: "btn";
32980                     rel2
32981                       {
32982                          relative: 1.0 0.5;
32983                          to: "btn";
32984                       }
32985                     image
32986                       {
32987                          normal: "bt_hilight.png";
32988                          border: 0 7 7 0;
32989                       }
32990                  }
32991             }
32992           part
32993             {
32994                name: "btn_over2";
32995                type: IMAGE;
32996                mouse_events: 1;
32997                repeat_events: 1;
32998                ignore_flags: ON_HOLD;
32999                description
33000                  {
33001                     state: "default" 0.0;
33002                     rel1.to: "btn";
33003                     rel2.to: "btn";
33004                     image
33005                       {
33006                          normal: "bt_shine.png";
33007                          border: 0 7 7 7;
33008                     }
33009                  }
33010             }
33011           part
33012             {
33013                name: "btn_over3";
33014                type: IMAGE;
33015                mouse_events: 1;
33016                repeat_events: 1;
33017                description
33018                  {
33019                     state: "default" 0.0;
33020                     color: 255 255 255 0;
33021                     rel1.to: "btn";
33022                     rel2.to: "btn";
33023                     image
33024                       {
33025                        normal: "bt_glow.png";
33026                        border: 12 12 12 12;
33027                     }
33028                   fill.smooth: 0;
33029                }
33030              description
33031                {
33032                   state: "clicked" 0.0;
33033                   inherit: "default" 0.0;
33034                   visible: 1;
33035                   color: 255 255 255 255;
33036                }
33037             }
33038           part
33039             {
33040                name: "btn_icon";
33041                type: IMAGE;
33042                repeat_events: 1;
33043                description
33044                  {
33045                     state: "default" 0.0;
33046                     rel1.to: "btn";
33047                     rel2.to: "btn";
33048                     align: 0.5 0.5;
33049                     min: 16 16;
33050                     max: 16 16;
33051                     image.normal: "icon_arrow_left.png";
33052                  }
33053                description
33054                  {
33055                     state: "hidden" 0.0;
33056                     inherit: "default" 0.0;
33057                     image.normal: "icon_arrow_right.png";
33058                  }
33059             }
33060        }
33061      programs
33062        {
33063           program
33064             {
33065                name: "show";
33066                signal: "elm,action,show";
33067                source: "elm";
33068                action: STATE_SET "default" 0.0;
33069                target: "bg";
33070                target: "btn_icon";
33071                transition: LINEAR 0.5;
33072             }
33073           program
33074             {
33075                name: "hide";
33076                signal: "elm,action,hide";
33077                source: "elm";
33078                action: STATE_SET "hidden" 0.0;
33079                target: "bg";
33080                target: "btn_icon";
33081                transition: LINEAR 0.5;
33082             }
33083           program
33084             {
33085                name: "btn_click";
33086                signal: "mouse,down,1";
33087                source: "btn_over2";
33088                action: STATE_SET "clicked" 0.0;
33089                target: "btn";
33090             }
33091           program
33092             {
33093                name: "btn_unclick";
33094                signal: "mouse,up,1";
33095                source: "btn_over2";
33096                action: STATE_SET "default" 0.0;
33097                target: "btn";
33098             }
33099           program
33100             {
33101                name: "btn_click2";
33102                signal: "mouse,down,1";
33103                source: "btn_over3";
33104                action: STATE_SET "clicked" 0.0;
33105                target: "btn_over3";
33106             }
33107           program
33108             {
33109                name: "btn_unclick2";
33110                signal: "mouse,up,1";
33111                source: "btn_over3";
33112                action: STATE_SET "default" 0.0;
33113                transition: DECELERATE 0.5;
33114                target: "btn_over3";
33115             }
33116           program
33117             {
33118                name: "btn_unclick3";
33119                signal: "mouse,clicked,1";
33120                source: "btn_over2";
33121                action: SIGNAL_EMIT "elm,action,panel,toggle" "";
33122             }
33123          program { name: "highlight_show";
33124             signal: "elm,action,focus_highlight,show";
33125             source: "elm";
33126             action: STATE_SET "enabled" 0.0;
33127             transition: ACCELERATE 0.3;
33128             target: "focus_highlight";
33129          }
33130          program { name: "highlight_hide";
33131             signal: "elm,action,focus_highlight,hide";
33132             source: "elm";
33133             action: STATE_SET "default" 0.0;
33134             transition: DECELERATE 0.3;
33135             target: "focus_highlight";
33136          }
33137        }
33138   }
33139
33140   group {
33141      name: "elm/panel/base/right";
33142      alias: "elm/panel/base/bottom";
33143      images
33144        {
33145           image: "bt_base1.png" COMP;
33146           image: "bt_hilight.png" COMP;
33147           image: "bt_shine.png" COMP;
33148           image: "bt_glow.png" COMP;
33149           image: "bt_dis_base.png" COMP;
33150           image: "icon_arrow_left.png" COMP;
33151           image: "icon_arrow_right.png" COMP;
33152        }
33153      parts
33154        {
33155             part { name: "focus_highlight";
33156                description { state: "default" 0.0;
33157                   visible: 0;
33158                   color: 255 255 255 0;
33159                   rel1 {
33160                      to: "btn";
33161                      offset: -8 -8;
33162                   }
33163                   rel2 {
33164                      to: "btn";
33165                      offset: 7 7;
33166                   }
33167                   image {
33168                      normal: "frame_2.png";
33169                      border: 5 5 32 26;
33170                      middle: 0;
33171                   }
33172                }
33173                description { state: "enabled" 0.0;
33174                   inherit: "default" 0.0;
33175                   visible: 1;
33176                   color: 255 255 255 255;
33177                }
33178             }
33179           part
33180             {
33181                name: "bg";
33182                type: RECT;
33183                mouse_events: 0;
33184                description
33185                  {
33186                     state: "default" 0.0;
33187                     color: 255 255 255 0;
33188                     rel1.relative: 0.0 0.0;
33189                     rel1.offset: 0 0;
33190                     rel2.relative: 1.0 1.0;
33191                     rel2.offset: -1 -1;
33192                  }
33193                description
33194                  {
33195                     state: "hidden" 0.0;
33196                     inherit: "default" 0.0;
33197                     rel1.relative: 1.0 0.0;
33198                     rel1.offset: -22 0;
33199                     rel2.relative: 2.0 1.0;
33200                     rel2.offset: -23 -1;
33201                  }
33202             }
33203           part
33204             {
33205                name: "base";
33206                type: IMAGE;
33207                mouse_events: 0;
33208                description
33209                  {
33210                     state: "default" 0.0;
33211                     rel1.to: "bg";
33212                     rel1.offset: 20 0;
33213                     rel2.to: "bg";
33214                     image
33215                       {
33216                          normal: "bt_dis_base.png";
33217                          border: 4 4 4 4;
33218                       }
33219                  }
33220             }
33221           part
33222             {
33223                name: "clipper";
33224                type: RECT;
33225                mouse_events: 0;
33226                description
33227                  {
33228                     state: "default" 0.0;
33229                     rel1
33230                       {
33231                          offset: 4 4;
33232                          to: "base";
33233                       }
33234                     rel2
33235                       {
33236                          offset: -5 -5;
33237                          to: "base";
33238                       }
33239                  }
33240             }
33241           part
33242             {
33243                name: "elm.swallow.content";
33244                type: SWALLOW;
33245                clip_to: "clipper";
33246                description
33247                  {
33248                     state: "default" 0.0;
33249                     rel1.to: "clipper";
33250                     rel2.to: "clipper";
33251                  }
33252             }
33253           part
33254             {
33255                name: "btn";
33256                type: IMAGE;
33257                mouse_events: 1;
33258                description
33259                  {
33260                     state: "default" 0.0;
33261                     max: 32 48;
33262                     fixed: 1 1;
33263                     align: 1 0.5;
33264                     rel1
33265                       {
33266                          to_x: "bg";
33267                       }
33268                     rel2
33269                       {
33270                          offset: 2 0;
33271                          relative: 0.0 1;
33272                          to_x: "base";
33273                       }
33274                     image
33275                       {
33276                          normal: "bt_base1.png";
33277                          border: 5 0 4 12;
33278                       }
33279                     fill.smooth: 0;
33280                  }
33281                description
33282                  {
33283                     state: "clicked" 0.0;
33284                     inherit: "default" 0.0;
33285                  }
33286             }
33287           part
33288             {
33289                name: "btn_over";
33290                type: IMAGE;
33291                mouse_events: 0;
33292                description
33293                  {
33294                     state: "default" 0.0;
33295                     rel1.to: "btn";
33296                     rel2
33297                       {
33298                          relative: 1.0 0.5;
33299                          to: "btn";
33300                       }
33301                     image
33302                       {
33303                          normal: "bt_hilight.png";
33304                          border: 7 0 7 0;
33305                       }
33306                  }
33307             }
33308           part
33309             {
33310                name: "btn_over2";
33311                type: IMAGE;
33312                mouse_events: 1;
33313                repeat_events: 1;
33314                ignore_flags: ON_HOLD;
33315                description
33316                  {
33317                     state: "default" 0.0;
33318                     rel1.to: "btn";
33319                     rel2.to: "btn";
33320                     image
33321                       {
33322                          normal: "bt_shine.png";
33323                          border: 7 0 7 7;
33324                     }
33325                  }
33326             }
33327           part
33328             {
33329                name: "btn_over3";
33330                type: IMAGE;
33331                mouse_events: 1;
33332                repeat_events: 1;
33333                description
33334                  {
33335                     state: "default" 0.0;
33336                     color: 255 255 255 0;
33337                     rel1.to: "btn";
33338                     rel2.to: "btn";
33339                     image
33340                       {
33341                        normal: "bt_glow.png";
33342                        border: 12 12 12 12;
33343                     }
33344                   fill.smooth: 0;
33345                }
33346              description
33347                {
33348                   state: "clicked" 0.0;
33349                   inherit: "default" 0.0;
33350                   visible: 1;
33351                   color: 255 255 255 255;
33352                }
33353             }
33354           part
33355             {
33356                name: "btn_icon";
33357                type: IMAGE;
33358                repeat_events: 1;
33359                description
33360                  {
33361                     state: "default" 0.0;
33362                     rel1.to: "btn";
33363                     rel2.to: "btn";
33364                     align: 0.5 0.5;
33365                     min: 16 16;
33366                     max: 16 16;
33367                     image.normal: "icon_arrow_right.png";
33368                  }
33369                description
33370                  {
33371                     state: "hidden" 0.0;
33372                     inherit: "default" 0.0;
33373                     image.normal: "icon_arrow_left.png";
33374                  }
33375             }
33376        }
33377      programs
33378        {
33379           program
33380             {
33381                name: "show";
33382                signal: "elm,action,show";
33383                source: "elm";
33384                action: STATE_SET "default" 0.0;
33385                target: "bg";
33386                target: "btn_icon";
33387                transition: LINEAR 0.5;
33388             }
33389           program
33390             {
33391                name: "hide";
33392                signal: "elm,action,hide";
33393                source: "elm";
33394                action: STATE_SET "hidden" 0.0;
33395                target: "bg";
33396                target: "btn_icon";
33397                transition: LINEAR 0.5;
33398             }
33399           program
33400             {
33401                name: "btn_click";
33402                signal: "mouse,down,1";
33403                source: "btn_over2";
33404                action: STATE_SET "clicked" 0.0;
33405                target: "btn";
33406             }
33407           program
33408             {
33409                name: "btn_unclick";
33410                signal: "mouse,up,1";
33411                source: "btn_over2";
33412                action: STATE_SET "default" 0.0;
33413                target: "btn";
33414             }
33415           program
33416             {
33417                name: "btn_click2";
33418                signal: "mouse,down,1";
33419                source: "btn_over3";
33420                action: STATE_SET "clicked" 0.0;
33421                target: "btn_over3";
33422             }
33423           program
33424             {
33425                name: "btn_unclick2";
33426                signal: "mouse,up,1";
33427                source: "btn_over3";
33428                action: STATE_SET "default" 0.0;
33429                transition: DECELERATE 0.5;
33430                target: "btn_over3";
33431             }
33432           program
33433             {
33434                name: "btn_unclick3";
33435                signal: "mouse,up,1";
33436                source: "btn_over2";
33437                action: SIGNAL_EMIT "elm,action,panel,toggle" "";
33438             }
33439          program { name: "highlight_show";
33440             signal: "elm,action,focus";
33441             source: "elm";
33442             action: STATE_SET "enabled" 0.0;
33443             transition: ACCELERATE 0.3;
33444             target: "focus_highlight";
33445          }
33446          program { name: "highlight_hide";
33447             signal: "elm,action,unfocus";
33448             source: "elm";
33449             action: STATE_SET "default" 0.0;
33450             transition: DECELERATE 0.3;
33451             target: "focus_highlight";
33452          }
33453        }
33454   }
33455
33456 ///////////////////////////////////////////////////////////////////////////////
33457   group { name: "elm/conformant/base/default";
33458      parts {
33459         part { name: "elm.swallow.shelf";
33460            type: SWALLOW;
33461            description { state: "default" 0.0;
33462               fixed: 1 1;
33463               align: 0.0 0.0;
33464               rel2.relative: 1.0 0.0;
33465            }
33466         }
33467         part { name: "elm.swallow.content";
33468            type: SWALLOW;
33469            description { state: "default" 0.0;
33470               align: 0.5 0.5;
33471               rel1.relative: 0.0 1.0;
33472               rel1.to_y: "elm.swallow.shelf";
33473               rel2.relative: 1.0 0.0;
33474               rel2.to_y: "elm.swallow.virtualkeypad";
33475            }
33476         }
33477         part { name: "elm.swallow.virtualkeypad";
33478            type: SWALLOW;
33479            description { state: "default" 0.0;
33480               fixed: 0 1;
33481               align: 0.0 1.0;
33482               rel1.relative: 0.0 0.0;
33483               rel1.to_y: "elm.swallow.panel";
33484               rel2.relative: 1.0 0.0;
33485               rel2.to_y: "elm.swallow.panel";
33486            }
33487         }
33488         part { name: "elm.swallow.panel";
33489            type: SWALLOW;
33490            description { state: "default" 0.0;
33491               fixed: 1 1;
33492               align: 0.0 1.0;
33493               rel1.relative: 0.0 1.0;
33494            }
33495         }
33496      }
33497   }
33498
33499 /////////////////////////////////////////////////////////////////////////////
33500 // CALENDAR
33501 /////////////////////////////////////////////////////////////////////////////
33502 #define CH(_pos) \
33503          part { name: "ch_"#_pos".base"; \
33504             type: RECT; \
33505             description { state: "default" 0.0; \
33506                rel1 { \
33507                   relative: (_pos % 7 * 7 / 8 / 6) 0; \
33508                   to: "header"; \
33509                } \
33510                rel2 { \
33511                   relative: (_pos % 7 * 7 / 8 / 6 + 1 / 8) 1; \
33512                   to: "header"; \
33513                } \
33514                color: 0 0 0 0; \
33515                visible: 0; \
33516             } \
33517          } \
33518          part { name: "ch_"#_pos".text"; \
33519             type: TEXT; \
33520             effect: SOFT_SHADOW; \
33521             mouse_events: 0; \
33522             scale: 1; \
33523             clip_to: "ch_"#_pos".clipper"; \
33524             description { \
33525                state: "default" 0.0; \
33526                rel1.to: "ch_"#_pos".base"; \
33527                rel2.to: "ch_"#_pos".base"; \
33528                color: 0 0 0 255; \
33529                color3: 0 0 0 0; \
33530                text { \
33531                   font: "Sans"; \
33532                   size: 10; \
33533                   min: 1 1; \
33534                   align: 0.5 0.5; \
33535                } \
33536             } \
33537          } \
33538          part { name: "ch_"#_pos".clipper"; \
33539             type: RECT; \
33540             description { state: "default" 0.0; \
33541                rel1.to: "ch_"#_pos".base"; \
33542                rel2.to: "ch_"#_pos".base"; \
33543             } \
33544          }
33545
33546 #define CIT(_pos) \
33547          part { name: "cit_"#_pos".rect"; \
33548             type: RECT; \
33549             description { state: "default" 0.0; \
33550                rel1 { \
33551                   relative: (_pos % 7 * 7 / 8 / 6) \
33552                             (_pos / 8 / 5 - _pos % 7 / 8 / 5); \
33553                   to: "base"; \
33554                } \
33555                rel2 { \
33556                   relative: (_pos % 7 * 7 / 8 / 6 + 1 / 8) \
33557                             (_pos / 8 / 5 - _pos % 7 / 8 / 5 + 1 / 8); \
33558                   to: "base"; \
33559                } \
33560                color: 0 0 0 0; \
33561                visible: 0; \
33562             } \
33563          } \
33564          part { \
33565             name: "cit_"#_pos".event"; \
33566             type: RECT; \
33567             repeat_events: 1; \
33568             description { \
33569                rel1.to: "cit_"#_pos".rect"; \
33570                rel2.to: "cit_"#_pos".rect"; \
33571                state: "default" 0.0; \
33572                color: 0 0 0 0; \
33573             } \
33574          } \
33575          part { name: "cit_"#_pos".shelf"; \
33576             type: RECT; \
33577             mouse_events: 0; \
33578             description { state: "default" 0.0; \
33579                rel1 { \
33580                   to: "cit_"#_pos".bg"; \
33581                   offset: -1 -1; \
33582                } \
33583                rel2 { \
33584                   to: "cit_"#_pos".bg"; \
33585                } \
33586                color: 200 200 200 255; \
33587             } \
33588          } \
33589          part { name: "cit_"#_pos".hd"; \
33590             type: RECT; \
33591             mouse_events: 0; \
33592             description { state: "default" 0.0; \
33593                rel1 { \
33594                   to: "cit_"#_pos".bg"; \
33595                   offset: -1 -1; \
33596                } \
33597                rel2 { \
33598                   to: "cit_"#_pos".bg"; \
33599                } \
33600                visible: 0; \
33601                color: 160 0 0 255; \
33602             } \
33603             description { state: "visible" 0.0; \
33604                inherit: "default" 0.0; \
33605                visible: 1; \
33606             } \
33607          } \
33608          part { \
33609             name: "cit_"#_pos".base_sh"; \
33610             mouse_events: 0; \
33611             description { \
33612                state: "default" 0.0; \
33613                align: 0.0 0.0; \
33614                min: 0 1; \
33615                rel1 { \
33616                   to: "cit_"#_pos".base"; \
33617                   relative: 0.0 1.0; \
33618                   offset: 0 0; \
33619                } \
33620                rel2 { \
33621                   to: "cit_"#_pos".base"; \
33622                   relative: 1.0 1.05; \
33623                   offset: -1 0; \
33624                } \
33625                image { \
33626                   normal: "ilist_item_shadow.png"; \
33627                } \
33628                fill.smooth: 0; \
33629             } \
33630          } \
33631          part { \
33632             name: "cit_"#_pos".base"; \
33633             mouse_events: 0; \
33634             description { \
33635                state: "default" 0.0; \
33636                rel1.to: "cit_"#_pos".rect"; \
33637                rel2.to: "cit_"#_pos".rect"; \
33638                rel2.offset: -1 -1; \
33639                image { \
33640                   normal: "ilist_1.png"; \
33641                   border: 2 2 2 2; \
33642                } \
33643                fill.smooth: 0; \
33644             } \
33645             description { \
33646                state: "today" 0.0; \
33647                inherit: "default" 0.0; \
33648                image.normal: "ilist_2.png"; \
33649                color: 240 240 240 255; \
33650             } \
33651          } \
33652          part { name: "cit_"#_pos".bg"; \
33653             mouse_events: 0; \
33654             description { state: "default" 0.0; \
33655                visible: 0; \
33656                color: 255 255 255 0; \
33657                rel1 { \
33658                   to: "cit_"#_pos".rect"; \
33659                   relative: 0.0 0.0; \
33660                } \
33661                rel2 { \
33662                   to: "cit_"#_pos".rect"; \
33663                   relative: 1.0 1.0; \
33664                   offset: -1 -1; \
33665                } \
33666                image { \
33667                   normal: "bt_sm_base1.png"; \
33668                   border: 6 6 6 6; \
33669                } \
33670                image.middle: SOLID; \
33671             } \
33672             description { state: "selected" 0.0; \
33673                inherit: "default" 0.0; \
33674                visible: 1; \
33675                color: 255 255 255 255; \
33676             } \
33677          } \
33678          part { name: "cit_"#_pos".text"; \
33679             type: TEXT; \
33680             effect: SOFT_SHADOW; \
33681             mouse_events: 0; \
33682             scale: 1; \
33683             description { \
33684                state: "default" 0.0; \
33685                rel1.to: "cit_"#_pos".bg"; \
33686                rel2.to: "cit_"#_pos".bg"; \
33687                color: 0 0 0 255; \
33688                color3: 0 0 0 0; \
33689                text { \
33690                   font: "Sans"; \
33691                   size: 10; \
33692                   min: 1 1; \
33693                   align: 0.5 0.5; \
33694                } \
33695             } \
33696             description { state: "selected" 0.0; \
33697                inherit: "default" 0.0; \
33698                color: 224 224 224 255; \
33699                color3: 0 0 0 64; \
33700             } \
33701          } \
33702          part { name: "cit_"#_pos".fg1"; \
33703             mouse_events: 0; \
33704             description { state: "default" 0.0; \
33705                visible: 0; \
33706                color: 255 255 255 0; \
33707                rel1.to: "cit_"#_pos".bg"; \
33708                rel2.relative: 1.0 0.5; \
33709                rel2.to: "cit_"#_pos".bg"; \
33710                image { \
33711                   normal: "bt_sm_hilight.png"; \
33712                   border: 6 6 6 0; \
33713                } \
33714             } \
33715             description { state: "selected" 0.0; \
33716                inherit: "default" 0.0; \
33717                visible: 1; \
33718                color: 255 255 255 255; \
33719             } \
33720          } \
33721          part { name: "cit_"#_pos".fg2"; \
33722             mouse_events: 0; \
33723             description { state: "default" 0.0; \
33724                visible: 0; \
33725                color: 255 255 255 0; \
33726                rel1.to: "cit_"#_pos".bg"; \
33727                rel2.to: "cit_"#_pos".bg"; \
33728                image { \
33729                   normal: "bt_sm_shine.png"; \
33730                   border: 6 6 6 0; \
33731                } \
33732             } \
33733             description { state: "selected" 0.0; \
33734                inherit: "default" 0.0; \
33735                visible: 1; \
33736                color: 255 255 255 255; \
33737             } \
33738          } \
33739          part { name: "cit_"#_pos".check"; \
33740             mouse_events: 0; \
33741             description { state: "default" 0.0; \
33742                rel1 { \
33743                   to: "cit_"#_pos".bg"; \
33744                   relative: 0.7 0.6; \
33745                   offset: 1 1; \
33746                } \
33747                rel2 { \
33748                   to: "cit_"#_pos".bg"; \
33749                   relative: 1.1 1.2; \
33750                   offset: -2 -2; \
33751                } \
33752                aspect: 1 1; \
33753                visible: 0; \
33754                color: 255 0 0 255; \
33755                image.normal: "check.png"; \
33756             } \
33757             description { state: "visible" 0.0; \
33758                inherit: "default" 0.0; \
33759                visible: 1; \
33760             } \
33761          } \
33762       programs { \
33763          program { \
33764             name:    "cit_"#_pos".go_active"; \
33765             signal:  "cit_"#_pos",selected"; \
33766             source:  "elm"; \
33767             action:  STATE_SET "selected" 0.0; \
33768             target:  "cit_"#_pos".bg"; \
33769             target:  "cit_"#_pos".fg1"; \
33770             target:  "cit_"#_pos".fg2"; \
33771             target:  "cit_"#_pos".text"; \
33772          } \
33773          program { \
33774             name:    "cit_"#_pos".go_passive"; \
33775             signal:  "cit_"#_pos",unselected"; \
33776             source:  "elm"; \
33777             action:  STATE_SET "default" 0.0; \
33778             target:  "cit_"#_pos".bg"; \
33779             target:  "cit_"#_pos".fg1"; \
33780             target:  "cit_"#_pos".fg2"; \
33781             target:  "cit_"#_pos".text"; \
33782          } \
33783          program { \
33784             name:    "cit_"#_pos".is_today"; \
33785             signal:  "cit_"#_pos",today"; \
33786             source:  "elm"; \
33787             action:  STATE_SET "today" 0.0; \
33788             target: "cit_"#_pos".base"; \
33789          } \
33790          program { \
33791             name:    "cit_"#_pos".not_today"; \
33792             signal:  "cit_"#_pos",not_today"; \
33793             source:  "elm"; \
33794             action:  STATE_SET "default" 0.0; \
33795             target: "cit_"#_pos".base"; \
33796          } \
33797          program { \
33798             source: "cit_"#_pos".clicked"; \
33799             signal: "mouse,clicked,1"; \
33800             source: "cit_"#_pos".event"; \
33801             action: SIGNAL_EMIT "elm,action,selected" #_pos; \
33802          } \
33803          program { \
33804             name:    "cit_"#_pos".clear"; \
33805             signal:  "cit_"#_pos",clear"; \
33806             source:  "elm"; \
33807             action:  STATE_SET "default" 0.0; \
33808             target: "cit_"#_pos".check"; \
33809             target: "cit_"#_pos".hd"; \
33810          } \
33811          program { \
33812             name:    "cit_"#_pos".checked"; \
33813             signal:  "cit_"#_pos",checked"; \
33814             source:  "elm"; \
33815             action:  STATE_SET "visible" 0.0; \
33816             target: "cit_"#_pos".check"; \
33817          } \
33818          program { \
33819             name:    "cit_"#_pos".holiday"; \
33820             signal:  "cit_"#_pos",holiday"; \
33821             source:  "elm"; \
33822             action:  STATE_SET "visible" 0.0; \
33823             target: "cit_"#_pos".hd"; \
33824          } \
33825       }
33826
33827    group { name: "elm/calendar/base/default";
33828        images {
33829            image: "shelf_inset.png" COMP;
33830            image: "bt_base1.png" COMP;
33831            image: "bt_hilight.png" COMP;
33832            image: "bt_shine.png" COMP;
33833            image: "bt_glow.png" COMP;
33834            image: "bt_dis_base.png" COMP;
33835            image: "bt_dis_hilight.png" COMP;
33836            image: "sp_bt_l.png" COMP;
33837            image: "sp_bt_r.png" COMP;
33838            image: "bt_sm_base1.png" COMP;
33839            image: "bt_sm_shine.png" COMP;
33840            image: "bt_sm_hilight.png" COMP;
33841            image: "ilist_1.png" COMP;
33842            image: "ilist_2.png" COMP;
33843            image: "ilist_item_shadow.png" COMP;
33844            image: "check.png" COMP;
33845        }
33846        parts {
33847            part { name: "bg";
33848                type: RECT;
33849                description { state: "default" 0.0;
33850                    min: 0 30;
33851                    rel1.offset: 1 1;
33852                    rel2.offset: -2 -2;
33853                    color: 255 255 255 0;
33854                    align: 0.0 0.5;
33855                }
33856            }
33857            part { name: "spinner-base";
33858                type: RECT;
33859                mouse_events: 0;
33860                description { state: "default" 0.0;
33861                    min: 24 24;
33862                    max: 999999 24;
33863                    rel1.to: "bg";
33864                    rel1.offset: 6 6;
33865                    rel2.to: "bg";
33866                    rel2.offset: -7 -7;
33867                    color: 255 255 255 0;
33868                    align: 0.0 0.0;
33869                }
33870            }
33871            part { name: "conf_over_spinner";
33872                mouse_events:  0;
33873                description { state: "default" 0.0;
33874                    rel1.to: "spinner-base";
33875                    rel1.offset: -3 -3;
33876                    rel2.to: "spinner-base";
33877                    rel2.offset: 2 2;
33878                    image {
33879                        normal: "shelf_inset.png";
33880                        border: 7 7 7 7;
33881                        middle: 0;
33882                    }
33883                    fill.smooth : 0;
33884                }
33885            }
33886            part { name: "table-base";
33887                type: RECT;
33888                mouse_events: 0;
33889                description { state: "default" 0.0;
33890                    min: 256 220;
33891                    rel1.to_x: "bg";
33892                    rel1.to_y: "spinner-base";
33893                    rel1.offset: 6 6;
33894                    rel1.relative: 0 1;
33895                    rel2.to: "bg";
33896                    rel2.offset: -7 -7;
33897                    color: 255 255 255 0;
33898                }
33899            }
33900            part { name: "conf_over_table";
33901                mouse_events:  0;
33902                description { state: "default" 0.0;
33903                    rel1.to: "table-base";
33904                    rel1.offset: -3 -3;
33905                    rel2.to: "table-base";
33906                    rel2.offset: 2 2;
33907                    image {
33908                        normal: "shelf_inset.png";
33909                        border: 7 7 7 7;
33910                        middle: 0;
33911                    }
33912                    fill.smooth : 0;
33913                }
33914            }
33915            part { name: "header";
33916                type: RECT;
33917                mouse_events: 0;
33918                description { state: "default" 0.0;
33919                    rel1.to: "table-base";
33920                    rel1.relative: 0 0;
33921                    rel2.to: "table-base";
33922                    rel2.relative: 1 0.1;
33923                    color: 255 255 255 0;
33924                }
33925            }
33926            part { name: "base";
33927                type: RECT;
33928                mouse_events: 0;
33929                description { state: "default" 0.0;
33930                    rel1.to_x: "table-base";
33931                    rel1.to_y: "header";
33932                    rel1.relative: 0 1;
33933                    rel1.offset: 3 0;
33934                    rel2.to: "table-base";
33935                    rel2.offset: -3 0;
33936                    color: 255 255 255 0;
33937                }
33938            }
33939            part { name: "left_bt";
33940                mouse_events:  1;
33941                description { state: "default" 0.0;
33942                    rel1 { to: "spinner-base";
33943                        offset: 2 2;
33944                    }
33945                    rel2 { to: "spinner-base";
33946                        offset: -3 -3;
33947                    }
33948                    align: 0.0 0.5;
33949                    min: 24 24;
33950                    max: 24 24;
33951                    fixed: 1 1;
33952                    image {
33953                        normal: "bt_base1.png";
33954                        border: 6 6 6 6;
33955                    }
33956                    fill.smooth : 0;
33957                }
33958                description { state: "clicked" 0.0;
33959                    inherit: "default" 0.0;
33960                    image.normal: "bt_base1.png";
33961                    image.middle: SOLID;
33962                }
33963            }
33964            part { name: "left_over1";
33965                mouse_events: 0;
33966                description { state: "default" 0.0;
33967                    rel1.to: "left_bt";
33968                    rel2 { to: "left_bt";
33969                        relative: 1.0 0.5;
33970                    }
33971                    image {
33972                        normal: "bt_hilight.png";
33973                        border: 7 7 7 0;
33974                    }
33975                }
33976            }
33977            part { name: "left_over2";
33978                mouse_events: 1;
33979                repeat_events: 1;
33980                description { state: "default" 0.0;
33981                    rel1.to: "left_bt";
33982                    rel2.to: "left_bt";
33983                    image {
33984                        normal: "bt_shine.png";
33985                        border: 7 7 7 7;
33986                    }
33987                }
33988            }
33989            part { name: "left_over3";
33990                mouse_events: 1;
33991                repeat_events: 1;
33992                description { state: "default" 0.0;
33993                    color: 255 255 255 0;
33994                    rel1.to: "left_bt";
33995                    rel2.to: "left_bt";
33996                    image {
33997                        normal: "bt_glow.png";
33998                        border: 12 12 12 12;
33999                    }
34000                    fill.smooth : 0;
34001                }
34002                description { state: "clicked" 0.0;
34003                    inherit:  "default" 0.0;
34004                    visible: 1;
34005                    color: 255 255 255 255;
34006                }
34007            }
34008            part { name: "right_bt";
34009                mouse_events:  1;
34010                description { state: "default" 0.0;
34011                    rel1 { to: "spinner-base";
34012                        offset: -27 3;
34013                    }
34014                    rel2 { to: "spinner-base";
34015                        offset: -3 -3;
34016                    }
34017                    align: 1.0 0.5;
34018                    min: 24 24;
34019                    max: 24 24;
34020                    fixed: 1 1;
34021                    image {
34022                        normal: "bt_base1.png";
34023                        border: 5 5 4 12;
34024                    }
34025                    fill.smooth : 0;
34026                }
34027                description { state: "clicked" 0.0;
34028                    inherit: "default" 0.0;
34029                    image.normal: "bt_base1.png";
34030                    image.middle: SOLID;
34031                }
34032            }
34033            part { name: "right_over1";
34034                mouse_events: 0;
34035                description { state: "default" 0.0;
34036                    rel1.to: "right_bt";
34037                    rel2 { to: "right_bt";
34038                        relative: 1.0 0.5;
34039                    }
34040                    image {
34041                        normal: "bt_hilight.png";
34042                        border: 7 7 7 0;
34043                    }
34044                }
34045            }
34046            part { name: "right_over2";
34047                mouse_events: 1;
34048                repeat_events: 1;
34049                description { state: "default" 0.0;
34050                    rel1.to: "right_bt";
34051                    rel2.to: "right_bt";
34052                    image {
34053                        normal: "bt_shine.png";
34054                        border: 7 7 7 7;
34055                    }
34056                }
34057            }
34058            part { name: "right_over3";
34059                mouse_events: 1;
34060                repeat_events: 1;
34061                description { state: "default" 0.0;
34062                    color: 255 255 255 0;
34063                    rel1.to: "right_bt";
34064                    rel2.to: "right_bt";
34065                    image {
34066                        normal: "bt_glow.png";
34067                        border: 12 12 12 12;
34068                    }
34069                    fill.smooth : 0;
34070                }
34071                description { state: "clicked" 0.0;
34072                    inherit:  "default" 0.0;
34073                    visible: 1;
34074                    color: 255 255 255 255;
34075                }
34076            }
34077            part { name: "left_bt_icon";
34078                repeat_events: 1;
34079                description { state: "default" 0.0;
34080                    rel1.to: "left_bt";
34081                    rel2.to: "left_bt";
34082                    align: 0.5 0.5;
34083                    min: 16 16;
34084                    max: 16 16;
34085                    image.normal: "sp_bt_l.png";
34086                }
34087            }
34088            part { name: "right_bt_icon";
34089                repeat_events: 1;
34090                description { state: "default" 0.0;
34091                    rel1.to: "right_bt";
34092                    rel2.to: "right_bt";
34093                    align: 0.5 0.5;
34094                    min: 16 16;
34095                    max: 16 16;
34096                    image.normal: "sp_bt_r.png";
34097                }
34098            }
34099            part { name: "month_text";
34100                type: TEXT;
34101                mouse_events: 0;
34102                scale: 1;
34103                description { state: "default" 0.0;
34104                    align: 0 0.5;
34105                    fixed: 1 1;
34106                    rel1 { relative: 1.0 0.0;
34107                        offset: 3 2;
34108                        to: "left_bt";
34109                        to_y: "spinner-base";
34110                    }
34111                    rel2 { relative: 0.0 1.0;
34112                        offset: -3 -2;
34113                        to_x: "right_bt";
34114                        to_y: "spinner-base";
34115                    }
34116                    color: 0 0 0 255;
34117                    text {
34118                        font: "Sans,Edje-Vera";
34119                        size: 12;
34120                        min: 1 1;
34121                        align: 0.5 0.5;
34122                    }
34123                }
34124            }
34125            CH(0)   CH(1)   CH(2)   CH(3)   CH(4)   CH(5)   CH(6)
34126            CIT(0)  CIT(1)  CIT(2)  CIT(3)  CIT(4)  CIT(5)  CIT(6)
34127            CIT(7)  CIT(8)  CIT(9)  CIT(10) CIT(11) CIT(12) CIT(13)
34128            CIT(14) CIT(15) CIT(16) CIT(17) CIT(18) CIT(19) CIT(20)
34129            CIT(21) CIT(22) CIT(23) CIT(24) CIT(25) CIT(26) CIT(27)
34130            CIT(28) CIT(29) CIT(30) CIT(31) CIT(32) CIT(33) CIT(34)
34131            CIT(35) CIT(36) CIT(37) CIT(38) CIT(39) CIT(40) CIT(41)
34132        }
34133        programs {
34134            program { name: "dec_start";
34135                signal: "mouse,down,1";
34136                source: "left_bt";
34137                action: SIGNAL_EMIT "elm,action,decrement,start" "";
34138            }
34139            program { name: "dec_stop";
34140                signal: "mouse,up,1";
34141                source: "left_bt";
34142                action: SIGNAL_EMIT "elm,action,stop" "";
34143            }
34144            program { name: "inc_start";
34145                signal: "mouse,down,1";
34146                source: "right_bt";
34147                action: SIGNAL_EMIT "elm,action,increment,start" "";
34148            }
34149            program { name: "inc_stop";
34150                signal: "mouse,up,1";
34151                source: "right_bt";
34152                action: SIGNAL_EMIT "elm,action,stop" "";
34153            }
34154            program {
34155                name:   "left_bt_click";
34156                signal: "mouse,down,1";
34157                source: "left_over2";
34158                action: STATE_SET "clicked" 0.0;
34159                target: "left_bt";
34160            }
34161            program {
34162                name:   "left_bt_unclick";
34163                signal: "mouse,up,1";
34164                source: "left_over2";
34165                action: STATE_SET "default" 0.0;
34166                target: "left_bt";
34167            }
34168            program {
34169                name:   "left_bt_click2";
34170                signal: "mouse,down,1";
34171                source: "left_over3";
34172                action: STATE_SET "clicked" 0.0;
34173                target: "left_over3";
34174            }
34175            program {
34176                name:   "left_bt_unclick2";
34177                signal: "mouse,up,1";
34178                source: "left_over3";
34179                action: STATE_SET "default" 0.0;
34180                transition: DECELERATE 0.5;
34181                target: "left_over3";
34182            }
34183            program {
34184                name:   "right_bt_click";
34185                signal: "mouse,down,1";
34186                source: "right_over2";
34187                action: STATE_SET "clicked" 0.0;
34188                target: "right_bt";
34189            }
34190            program {
34191                name:   "right_bt_unclick";
34192                signal: "mouse,up,1";
34193                source: "right_over2";
34194                action: STATE_SET "default" 0.0;
34195                target: "right_bt";
34196            }
34197            program {
34198                name:   "right_bt_click2";
34199                signal: "mouse,down,1";
34200                source: "right_over3";
34201                action: STATE_SET "clicked" 0.0;
34202                target: "right_over3";
34203            }
34204            program {
34205                name:   "right_bt_unclick2";
34206                signal: "mouse,up,1";
34207                source: "right_over3";
34208                action: STATE_SET "default" 0.0;
34209                transition: DECELERATE 0.5;
34210                target: "right_over3";
34211            }
34212        }
34213    }
34214
34215 #undef CIT
34216 #undef CH
34217
34218 ////////////////////////////////////////////////////////////////////////////////
34219 // colorselector
34220 ////////////////////////////////////////////////////////////////////////////////
34221    group { name: "elm/colorselector/bg/default";
34222       parts {
34223          part { name: "elm.colorbar_0";
34224             type: SWALLOW;
34225             mouse_events: 1;
34226             description { state: "default" 0.0;
34227                min: 120 30;
34228                rel1.relative: 0.0 0.00653594771;
34229                rel2.relative: 1.0 0.254901961;
34230             }
34231          }
34232          part { name: "elm.colorbar_1";
34233             type: SWALLOW;
34234             mouse_events: 1;
34235             description { state: "default" 0.0;
34236                min: 120 30;
34237                rel1.relative: 0.0 0.254901961;
34238                rel2.relative: 1.0 0.503267974;
34239             }
34240          }
34241          part { name: "elm.colorbar_2";
34242             type: SWALLOW;
34243             mouse_events: 1;
34244             description { state: "default" 0.0;
34245                min: 120 30;
34246                rel1.relative: 0.0 0.503267974;
34247                rel2.relative: 1.0 0.751633987;
34248             }
34249          }
34250          part { name: "elm.colorbar_3";
34251             type: SWALLOW;
34252             mouse_events: 1;
34253             description { state: "default" 0.0;
34254                min: 120 30;
34255                rel1.relative: 0.0 0.751633987;
34256                rel2.relative: 1.0 1.0;
34257             }
34258          }
34259       }
34260    }
34261
34262    group { name: "elm/colorselector/base/default";
34263       parts {
34264          part { name: "elm.bar_bg";
34265             type: SWALLOW;
34266             mouse_events: 0;
34267             description { state: "default" 0.0;
34268                min: 60 22;
34269                rel1 {
34270                   relative: 0.0 0.8;
34271                   to_x: "elm.arrow_bg";
34272                   to_y: "elm.arrow_icon";
34273                   offset: 0 0;
34274                }
34275                rel2 {
34276                   relative: 1.0 0.83;
34277                   to_x: "elm.arrow_bg";
34278                   offset: 0 0;
34279                }
34280             }
34281          }
34282          part { name: "elm.bar";
34283             type: SWALLOW;
34284             mouse_events: 0;
34285             description { state: "default" 0.0;
34286                rel1.to: "elm.bar_bg";
34287                rel2.to: "elm.bar_bg";
34288             }
34289          }
34290          part { name: "elm.arrow_bg";
34291             type: SWALLOW;
34292             mouse_events: 1;
34293             description { state: "default" 0.0;
34294                rel1 {
34295                   relative: 1.0 0.17;
34296                   offset: 3 0;
34297                   to_x: "elm.l_button";
34298                }
34299                rel2 {
34300                   relative: 0.0 0.83;
34301                      offset: -4 0;
34302                   to_x: "elm.r_button";
34303                }
34304             }
34305          }
34306          part { name: "elm.arrow";
34307             type: RECT;
34308             mouse_events: 1;
34309             scale: 1;
34310             description { state: "default" 0.0;
34311                min: 1 1;
34312                fixed: 1 1;
34313                align: 0 0;
34314                rel1 {
34315                   to_x: "elm.arrow_bg";
34316                }
34317                rel2 {
34318                   relative: 0.0 0.17;
34319                   to_x: "elm.arrow_bg";
34320                }
34321                color: 0 0 0 0;
34322                visible: 0;
34323             }
34324             dragable {
34325                confine: "elm.arrow_bg";
34326                x: 1 1 0;
34327                y: 0 0 0;
34328             }
34329          }
34330          part { name: "elm.arrow_icon";
34331             type: SWALLOW;
34332             mouse_events: 0;
34333             description { state: "default" 0.0;
34334                min: 25 15;
34335                max: 25 15;
34336                fixed: 1 1;
34337                align: 0.5 0;
34338                rel1 {
34339                   to_x: "elm.arrow";
34340                }
34341                rel2 {
34342                   relative: 1.0 0.0;
34343                   offset: 0 10;
34344                   to_x: "elm.arrow";
34345                }
34346             }
34347          }
34348          part { name: "event";
34349             type: RECT;
34350             mouse_events: 1;
34351             description { state: "default" 0.0;
34352                rel1 {
34353                   to: "elm.arrow_icon";
34354                }
34355                rel2 {
34356                   to_x: "elm.arrow_icon";
34357                   to_y: "elm.arrow_bg";
34358                   offset: 0 0;
34359                }
34360                color: 0 0 0 0;
34361             }
34362             dragable {
34363                events: "elm.arrow";
34364             }
34365          }
34366          part { name: "elm.l_button";
34367             type: SWALLOW;
34368             mouse_events: 1;
34369             scale: 1;
34370             description { state: "default" 0.0;
34371                min: 24 24;
34372                fixed: 1 1;
34373                rel1 {
34374                   relative: 0.0 0.0;
34375                   to_y: "elm.bar_bg";
34376                }
34377                rel2 {
34378                   relative: 0.0 1.0;
34379                   to_y: "elm.bar_bg";
34380                }
34381                align: 0.0 0.5;
34382             }
34383          }
34384          part { name: "elm.r_button";
34385             type: SWALLOW;
34386             mouse_events: 1;
34387             scale: 1;
34388             description {
34389                state: "default" 0.0;
34390                min: 24 24;
34391                fixed: 1 1;
34392                rel1 {
34393                   relative: 1.0 0.0;
34394                   to_y: "elm.bar_bg";
34395                }
34396                rel2 {
34397                   relative: 1.0 1.0;
34398                   to_y: "elm.bar_bg";
34399                }
34400                align: 1.0 0.5;
34401             }
34402          }
34403       }
34404    }
34405
34406    group{ name: "elm/colorselector/image/colorbar_0";
34407       images {
34408          image: "color_picker_color.png" COMP;
34409       }
34410       parts {
34411          part { name: "colorbar_0_image";
34412             type: IMAGE;
34413             mouse_events: 1;
34414             description { state: "default" 0.0;
34415                rel2.offset: -1 -1;
34416                image.normal: "color_picker_color.png";
34417             }
34418          }
34419       }
34420    }
34421
34422    group { name: "elm/colorselector/image/colorbar_1";
34423       images {
34424          image: "color_picker_opacity.png" COMP;
34425       }
34426       parts {
34427          part { name: "colorbar_1_image";
34428             type: IMAGE;
34429             mouse_events: 1;
34430             description { state: "default" 0.0;
34431                rel2.offset: -1 -1;
34432                image.normal: "color_picker_opacity.png";
34433             }
34434          }
34435       }
34436    }
34437
34438    group { name: "elm/colorselector/image/colorbar_2";
34439       images {
34440          image: "color_picker_brightness.png" COMP;
34441       }
34442       parts {
34443          part { name: "colorbar_2_image";
34444             type: IMAGE;
34445             mouse_events: 1;
34446             description { state: "default" 0.0;
34447                rel2.offset: -1 -1;
34448                image.normal: "color_picker_brightness.png";
34449             }
34450          }
34451       }
34452    }
34453
34454    group { name: "elm/colorselector/image/colorbar_3";
34455       images {
34456          image: "color_picker_alpha.png" COMP;
34457       }
34458       parts {
34459          part { name: "colorbar_3_image";
34460             type: IMAGE;
34461             mouse_events: 1;
34462             description { state: "default" 0.0;
34463                rel2.offset: -1 -1;
34464                image.normal: "color_picker_alpha.png";
34465             }
34466          }
34467       }
34468    }
34469
34470    group { name: "elm/colorselector/bg_image/colorbar_3";
34471       images {
34472          image: "color_picker_alpha_bg.png" COMP;
34473       }
34474       parts {
34475          part { name: "colorbar_3_image";
34476             type: IMAGE;
34477             mouse_events: 1;
34478             description { state: "default" 0.0;
34479                rel2.offset: -1 -1;
34480                image.normal: "color_picker_alpha_bg.png";
34481             }
34482          }
34483       }
34484    }
34485
34486    group { name: "elm/colorselector/image/updown";
34487       images {
34488          image: "icon_arrow_down.png" COMP;
34489       }
34490       parts {
34491          part { name: "bg";
34492             type: RECT;
34493             mouse_events: 1;
34494             description { state: "default" 0.0;
34495                color: 0 0 0 0;
34496             }
34497          }
34498          part { name: "arrow_image";
34499             type: IMAGE;
34500             mouse_events: 1;
34501             description { state: "default" 0.0;
34502                image.normal: "icon_arrow_down.png";
34503             }
34504          }
34505       }
34506    }
34507
34508    group { name: "elm/colorselector/button/left";
34509       images {
34510          image: "bt_base1.png" COMP;
34511          image: "bt_shine.png" COMP;
34512          image: "sp_bt_l.png" COMP;
34513       }
34514       parts {
34515          part { name: "button_image";
34516             mouse_events: 1;
34517             description { state: "default" 0.0;
34518                image.normal: "bt_base1.png";
34519                image.border: 6 6 6 6;
34520                image.middle: SOLID;
34521             }
34522
34523             description { state: "clicked" 0.0;
34524                inherit: "default" 0.0;
34525                image.normal: "bt_shine.png";
34526                image.border: 6 6 6 6;
34527                image.middle: SOLID;
34528             }
34529          }
34530          part { name: "btn_over";
34531             type: IMAGE;
34532             mouse_events: 0;
34533             description { state: "default" 0.0;
34534                rel1.to: "button_image";
34535                rel2 {
34536                   relative: 1.0 0.5;
34537                   to: "button_image";
34538                }
34539                image {
34540                   normal: "bt_hilight.png";
34541                   border: 7 7 7 0;
34542                }
34543             }
34544          }
34545          part { name: "btn_over2";
34546             type: IMAGE;
34547             mouse_events: 1;
34548             repeat_events: 1;
34549             ignore_flags: ON_HOLD;
34550             description { state: "default" 0.0;
34551                rel1.to: "button_image";
34552                rel2.to: "button_image";
34553                image {
34554                   normal: "bt_shine.png";
34555                   border: 7 7 7 7;
34556                }
34557             }
34558          }
34559          part { name: "focus_image";
34560             type: IMAGE;
34561             description { state: "default" 0.0;
34562                color: 255 255 255 0;
34563                rel1.to: "button_image";
34564                rel2.to: "button_image";
34565                image {
34566                   normal: "bt_glow.png";
34567                   border: 12 12 12 12;
34568                }
34569                fill.smooth: 0;
34570
34571             }
34572             description { state: "clicked" 0.0;
34573                inherit: "default" 0.0;
34574                visible: 1;
34575                color: 255 255 255 255;
34576             }
34577          }
34578          part { name: "left_arrow";
34579             mouse_events: 1;
34580             description { state: "default" 0.0;
34581                min: 16 16;
34582                max: 16 16;
34583                image.normal: "sp_bt_l.png";
34584             }
34585          }
34586       }
34587
34588       programs {
34589          program {
34590             name:   "button_down";
34591             signal: "elm,state,left,button,down";
34592             source: "left_button";
34593             action: STATE_SET "clicked" 0.0;
34594             target: "button_image";
34595             target: "focus_image";
34596          }
34597          program {
34598             name:   "button_up";
34599             signal: "elm,state,left,button,up";
34600             source: "left_button";
34601             action: STATE_SET "default" 0.0;
34602             target: "button_image";
34603             target: "focus_image";
34604          }
34605       }
34606    }
34607
34608    group { name: "elm/colorselector/button/right";
34609       images {
34610          image: "bt_base1.png" COMP;
34611          image: "bt_shine.png" COMP;
34612          image: "sp_bt_r.png" COMP;
34613       }
34614       parts {
34615          part { name: "button_image";
34616             mouse_events: 1;
34617             description { state: "default" 0.0;
34618                image.normal: "bt_base1.png";
34619                image.border: 6 6 6 6;
34620                image.middle: SOLID;
34621             }
34622
34623             description { state: "clicked" 0.0;
34624                inherit: "default" 0.0;
34625                image.normal: "bt_shine.png";
34626                image.border: 6 6 6 6;
34627                image.middle: SOLID;
34628             }
34629          }
34630          part { name: "btn_over";
34631             type: IMAGE;
34632             mouse_events: 0;
34633             description { state: "default" 0.0;
34634                rel1.to: "button_image";
34635                rel2 {
34636                   relative: 1.0 0.5;
34637                   to: "button_image";
34638                }
34639                image {
34640                   normal: "bt_hilight.png";
34641                   border: 7 7 7 0;
34642                }
34643             }
34644          }
34645          part { name: "btn_over2";
34646             type: IMAGE;
34647             mouse_events: 1;
34648             repeat_events: 1;
34649             ignore_flags: ON_HOLD;
34650             description { state: "default" 0.0;
34651                rel1.to: "button_image";
34652                rel2.to: "button_image";
34653                image {
34654                   normal: "bt_shine.png";
34655                   border: 7 7 7 7;
34656                }
34657             }
34658          }
34659          part { name: "focus_image";
34660             type: IMAGE;
34661             description { state: "default" 0.0;
34662                color: 255 255 255 0;
34663                rel1.to: "button_image";
34664                rel2.to: "button_image";
34665                image {
34666                   normal: "bt_glow.png";
34667                   border: 12 12 12 12;
34668                }
34669                fill.smooth: 0;
34670
34671             }
34672             description { state: "clicked" 0.0;
34673                inherit: "default" 0.0;
34674                visible: 1;
34675                color: 255 255 255 255;
34676             }
34677          }
34678          part { name: "right_arrow";
34679             mouse_events: 1;
34680             description { state: "default" 0.0;
34681                min: 16 16;
34682                max: 16 16;
34683                image.normal: "sp_bt_r.png";
34684             }
34685          }
34686       }
34687
34688       programs {
34689          program {
34690             name:   "button_down";
34691             signal: "elm,state,right,button,down";
34692             source: "right_button";
34693             action: STATE_SET "clicked" 0.0;
34694             target: "button_image";
34695             target: "focus_image";
34696          }
34697          program {
34698             name:   "button_up";
34699             signal: "elm,state,right,button,up";
34700             source: "right_button";
34701             action: STATE_SET "default" 0.0;
34702             target: "button_image";
34703             target: "focus_image";
34704          }
34705       }
34706    }
34707
34708 ///////////////////////////////////////////////////////////////////////////////
34709 #define FLIP_PICKER_MAX_LEN (50)
34710 #define FLIP_PICKER_MAX_LEN_STR "50"
34711
34712    group { name: "elm/flipselector/base/default";
34713       images {
34714          image: "flip_base.png" COMP;
34715          image: "flip_base_shad.png" COMP;
34716          image: "flip_shad.png" COMP;
34717          image: "arrow_up.png" COMP;
34718          image: "arrow_down.png" COMP;
34719          image: "flip_t.png" COMP;
34720          image: "flip_b.png" COMP;
34721       }
34722
34723       data {
34724          item: "max_len" FLIP_PICKER_MAX_LEN_STR;
34725       }
34726
34727       //FIXME: quick successive clicks on, say, up, lead to nastiness
34728       script {
34729          public cur, prev, next, lock;
34730
34731          public animator_bottom_down(val, Float:pos) {
34732             new tmp[FLIP_PICKER_MAX_LEN];
34733
34734             set_tween_state(PART:"bottom", pos, "shrink", 0.0, "default", 0.0);
34735             set_tween_state(PART:"bottom_sheet", pos, "shrink", 0.0, "default",
34736                             0.0);
34737             set_tween_state(PART:"shadow", pos, "half", 0.0, "full",
34738                             0.0);
34739
34740             if (pos >= 1.0) {
34741                set_state(PART:"shadow", "default", 0.0);
34742                set_int(lock, 0);
34743
34744                fetch_str(next, 0, tmp, FLIP_PICKER_MAX_LEN);
34745                if (strncmp(tmp, "", FLIP_PICKER_MAX_LEN) != 0) {
34746                   replace_str(next, 0, "");
34747                   message(MSG_STRING, 1, tmp);
34748                }
34749             }
34750          }
34751
34752          public animator_top_down(val, Float:pos) {
34753             set_tween_state(PART:"top", pos, "default", 0.0, "shrink", 0.0);
34754             set_tween_state(PART:"top_sheet", pos, "default", 0.0, "shrink",
34755                             0.0);
34756             set_tween_state(PART:"shadow", pos, "default", 0.0, "half",
34757                             0.0);
34758
34759             if (pos >= 1.0)
34760                anim(0.2, "animator_bottom_down", val);
34761          }
34762
34763          public animator_bottom_up(val, Float:pos) {
34764             set_tween_state(PART:"bottom", pos, "default", 0.0, "shrink", 0.0);
34765             set_tween_state(PART:"bottom_sheet", pos, "default", 0.0, "shrink",
34766                             0.0);
34767             set_tween_state(PART:"shadow", pos, "full", 0.0, "half",
34768                             0.0);
34769
34770             if (pos >= 1.0)
34771                anim(0.2, "animator_top_up", val);
34772          }
34773
34774          public animator_top_up(val, Float:pos) {
34775             new tmp[FLIP_PICKER_MAX_LEN];
34776
34777             set_tween_state(PART:"top", pos, "shrink", 0.0, "default", 0.0);
34778             set_tween_state(PART:"top_sheet", pos, "shrink", 0.0, "default",
34779                             0.0);
34780             set_tween_state(PART:"shadow", pos, "half", 0.0, "default",
34781                             0.0);
34782
34783             if (pos >= 1.0) {
34784                set_state(PART:"shadow", "default", 0.0);
34785                set_int(lock, 0);
34786
34787                fetch_str(next, 0, tmp, FLIP_PICKER_MAX_LEN);
34788                if (strncmp(tmp, "", FLIP_PICKER_MAX_LEN) != 0) {
34789                   replace_str(next, 0, "");
34790                   message(MSG_STRING, 2, tmp);
34791                }
34792             }
34793          }
34794
34795          public message(Msg_Type:type, id, ...) {
34796             /* flip down */
34797             if ((type == MSG_STRING) && (id == 1)) {
34798                new value[FLIP_PICKER_MAX_LEN], tmp[FLIP_PICKER_MAX_LEN];
34799
34800                snprintf(value, FLIP_PICKER_MAX_LEN, "%s", getarg(2));
34801
34802                if (get_int(lock) == 1) {
34803                   replace_str(next, 0, value);
34804                   return;
34805                }
34806
34807                fetch_str(cur, 0, tmp, FLIP_PICKER_MAX_LEN);
34808
34809                set_text(PART:"bottom_b", tmp);
34810
34811                set_state(PART:"top", "shrink", 0.0);
34812                set_text(PART:"top", tmp);
34813                set_state(PART:"top", "default", 0.0);
34814                set_text(PART:"top", tmp);
34815
34816                replace_str(prev, 0, tmp);
34817
34818                set_state(PART:"bottom", "default", 0.0);
34819                set_text(PART:"bottom", value);
34820                set_state(PART:"bottom", "shrink", 0.0);
34821                set_text(PART:"bottom", value);
34822
34823                set_text(PART:"top_b", value);
34824
34825                replace_str(cur, 0, value);
34826
34827                set_state(PART:"bottom_sheet", "shrink", 0.0);
34828                set_state(PART:"top_sheet", "default", 0.0);
34829
34830                set_int(lock, 1);
34831                set_state(PART:"shadow", "default", 0.0);
34832                anim(0.2, "animator_top_down", 1);
34833             }
34834
34835             /* flip up */
34836             if ((type == MSG_STRING) && (id == 2)) {
34837                new value[FLIP_PICKER_MAX_LEN], tmp[FLIP_PICKER_MAX_LEN];
34838
34839                snprintf(value, FLIP_PICKER_MAX_LEN, "%s", getarg(2));
34840
34841                if (get_int(lock) == 1) {
34842                   replace_str(next, 0, value);
34843                   return;
34844                }
34845
34846                fetch_str(cur, 0, tmp, FLIP_PICKER_MAX_LEN);
34847
34848                set_text(PART:"top_b", tmp);
34849
34850                set_state(PART:"bottom", "shrink", 0.0);
34851                set_text(PART:"bottom", tmp);
34852                set_state(PART:"bottom", "default", 0.0);
34853                set_text(PART:"bottom", tmp);
34854
34855                replace_str(prev, 0, tmp);
34856
34857                set_state(PART:"top", "default", 0.0);
34858                set_text(PART:"top", value);
34859                set_state(PART:"top", "shrink", 0.0);
34860                set_text(PART:"top", value);
34861
34862                set_text(PART:"bottom_b", value);
34863
34864                replace_str(cur, 0, value);
34865
34866                set_state(PART:"bottom_sheet", "default", 0.0);
34867                set_state(PART:"top_sheet", "shrink", 0.0);
34868
34869                set_int(lock, 1);
34870                set_state(PART:"shadow", "full", 0.0);
34871                anim(0.2, "animator_bottom_up", 1);
34872             }
34873          }
34874       }
34875
34876       parts {
34877          part { name: "shad";
34878             mouse_events: 0;
34879             description { state: "default" 0.0;
34880                rel1.offset: -4 -4;
34881                rel1.to: "base";
34882                rel2.offset: 3 3;
34883                rel2.to: "base";
34884                image {
34885                   normal: "flip_base_shad.png";
34886                   border: 8 8 8 8;
34887                }
34888             }
34889          }
34890
34891          part { name: "base";
34892             scale: 1;
34893             description { state: "default" 0.0;
34894                rel1.offset: 4 4;
34895                rel2.offset: -5 -5;
34896                min: 24 48;
34897                image.normal: "flip_base.png";
34898             }
34899          }
34900
34901          part { name: "b";
34902             type: RECT;
34903             mouse_events: 1;
34904             description { state: "default" 0.0;
34905                rel1.to: "base";
34906                rel1.relative: 0.0 0.5;
34907                rel2.to: "base";
34908                color: 0 0 0 0;
34909             }
34910             description { state: "hidden" 0.0;
34911                inherit: "default" 0.0;
34912                visible: 0;
34913             }
34914          }
34915
34916          part { name: "t";
34917             type: RECT;
34918             mouse_events: 1;
34919             description { state: "default" 0.0;
34920                rel1.to: "base";
34921                rel2.to: "base";
34922                rel2.relative: 1.0 0.5;
34923                color: 0 0 0 0;
34924             }
34925             description { state: "hidden" 0.0;
34926                inherit: "default" 0.0;
34927                visible: 0;
34928             }
34929          }
34930
34931          part { name: "bottom_sheet_static";
34932             mouse_events: 0;
34933             description { state: "default" 0.0;
34934                visible: 1;
34935                rel1.to: "b";
34936                rel2.to: "b";
34937                image.normal: "flip_b.png";
34938             }
34939          }
34940
34941          part { name: "bottom_b";
34942             mouse_events: 0;
34943             clip_to: "bottom_clipper";
34944             type: TEXT;
34945             scale: 1;
34946             description { state: "default" 0.0;
34947                rel1.to: "base";
34948                rel2.to: "base";
34949                color: 0 0 0 255;
34950                color2: 0 0 0 255;
34951                text {
34952                   font: "Sans:style=Bold,Edje-Vera-Bold";
34953                   size: 30;
34954                   min: 1 1;
34955                   align: 0.5 0.5;
34956                }
34957             }
34958          }
34959
34960          part { name: "shadow";
34961             mouse_events: 0;
34962             description { state: "default" 0.0;
34963                rel1.to: "b";
34964                rel2.to: "b";
34965                rel2.relative: 1.0 0.0;
34966                image.normal: "flip_shad.png";
34967             }
34968             description { state: "half" 0.0;
34969                inherit: "default" 0.0;
34970                rel2.relative: 1.0 0.5;
34971             }
34972             description { state: "full" 0.0;
34973                inherit: "default" 0.0;
34974                rel2.relative: 1.0 1.0;
34975             }
34976          }
34977
34978          part { name: "bottom_sheet";
34979             mouse_events: 0;
34980             description { state: "default" 0.0;
34981                visible: 1;
34982                rel1.to: "b";
34983                rel2.to: "b";
34984                image.normal: "flip_b.png";
34985             }
34986             description { state: "shrink" 0.0;
34987                inherit: "default" 0.0;
34988                visible: 0;
34989                rel2.relative: 1.0 0.0;
34990             }
34991          }
34992
34993          part { name: "bottom";
34994             mouse_events: 0;
34995             clip_to: "bottom_clipper";
34996             type: TEXT;
34997             scale: 1;
34998             description { state: "default" 0.0;
34999                rel1.to: "base";
35000                rel2.to: "base";
35001                color: 0 0 0 255;
35002                color2: 0 0 0 255;
35003                text {
35004                   font: "Sans:style=Bold,Edje-Vera-Bold";
35005                   size: 30;
35006                   min: 1 1;
35007                   align: 0.5 0.5;
35008                }
35009             }
35010             description { state: "shrink" 0.0;
35011                inherit: "default" 0.0;
35012                color: 128 128 128 255;
35013                visible: 0;
35014                rel2.relative: 1.0 0.5; /* FIXME: same visual effect? --> MAP! */
35015             }
35016          }
35017
35018          part { name: "top_sheet_static";
35019             mouse_events: 0;
35020             description { state: "default" 0.0;
35021                visible: 1;
35022                rel1.to: "t";
35023                rel2.to: "t";
35024                image.normal: "flip_t.png";
35025             }
35026          }
35027
35028          part { name: "top_b";
35029             mouse_events: 0;
35030             clip_to: "top_clipper";
35031             type: TEXT;
35032             scale: 1;
35033             description { state: "default" 0.0;
35034                rel1.to: "base";
35035                rel2.to: "base";
35036                color: 0 0 0 255;
35037                color2: 0 0 0 255;
35038                text {
35039                   font: "Sans:style=Bold,Edje-Vera-Bold";
35040                   size: 30;
35041                   min: 1 1;
35042                   align: 0.5 0.5;
35043                   source: "top";
35044                }
35045             }
35046          }
35047
35048          part { name: "top_sheet";
35049             mouse_events: 0;
35050             description { state: "default" 0.0;
35051                visible: 1;
35052                rel1.to: "t";
35053                rel2.to: "t";
35054                image.normal: "flip_t.png";
35055             }
35056             description { state: "shrink" 0.0;
35057                inherit: "default" 0.0;
35058                color: 128 128 128 255;
35059                visible: 0;
35060                rel1.relative: 0.0 1.0;
35061             }
35062          }
35063
35064          part { name: "top";
35065             mouse_events: 0;
35066             clip_to: "top_clipper";
35067             type: TEXT;
35068             scale: 1;
35069             description { state: "default" 0.0;
35070                rel1.to: "base";
35071                rel2.to: "base";
35072                color: 0 0 0 255;
35073                color2: 0 0 0 255;
35074                text {
35075                   font: "Sans:style=Bold,Edje-Vera-Bold";
35076                   size: 30;
35077                   min: 1 1;
35078                   align: 0.5 0.5;
35079                }
35080             }
35081             description { state: "shrink" 0.0;
35082                inherit: "default" 0.0;
35083                visible: 0;
35084                rel1.relative: 0.0 0.5;
35085             }
35086          }
35087
35088          part { name: "arrow_top";
35089             mouse_events: 0;
35090             scale: 1;
35091             description { state: "default" 0.0;
35092                min: 15 15;
35093                max: 15 15;
35094                align: 0.5 0.0;
35095                rel1.to: "t";
35096                rel2.to: "t";
35097                image.normal: "arrow_up.png";
35098             }
35099             description { state: "hidden" 0.0;
35100                inherit: "default" 0.0;
35101                visible: 0;
35102             }
35103          }
35104          part { name: "arrow_bottom";
35105             mouse_events: 0;
35106             scale: 1;
35107             description { state: "default" 0.0;
35108                min: 15 15;
35109                max: 15 15;
35110                align: 0.5 1.0;
35111                rel1.to: "b";
35112                rel2.to: "b";
35113                image.normal: "arrow_down.png";
35114             }
35115             description { state: "hidden" 0.0;
35116                inherit: "default" 0.0;
35117                visible: 0;
35118             }
35119          }
35120
35121          part {
35122             type: RECT;
35123             mouse_events: 0;
35124             name: "top_clipper";
35125             description {
35126                state: "default" 0.0;
35127                rel1.to: "t";
35128                rel2.to: "t";
35129                visible: 1;
35130             }
35131          }
35132
35133          part {
35134             type: RECT;
35135             mouse_events: 0;
35136             name: "bottom_clipper";
35137             description {
35138                state: "default" 0.0;
35139                rel1.to: "b";
35140                rel2.to: "b";
35141                visible: 1;
35142             }
35143          }
35144       }
35145
35146       programs {
35147          program { name: "load";
35148             signal: "load";
35149             source: "";
35150             script {
35151                append_str(cur, "");
35152                append_str(prev, "");
35153                append_str(next, "");
35154                set_int(lock, 0);
35155             }
35156          }
35157
35158          program { name: "hide_arrows";
35159             signal: "elm,state,button,hidden";
35160             source: "elm";
35161             action: STATE_SET "hidden" 0.0;
35162             target: "arrow_top";
35163             target: "arrow_bottom";
35164             target: "t";
35165             target: "b";
35166          }
35167
35168          program { name: "show_arrows";
35169             signal: "elm,state,button,visible";
35170             source: "elm";
35171             action: STATE_SET "default" 0.0;
35172             target: "arrow_top";
35173             target: "arrow_bottom";
35174             target: "t";
35175             target: "b";
35176          }
35177
35178          program { name: "up";
35179             signal: "mouse,down,1";
35180             source: "t";
35181             action: SIGNAL_EMIT "elm,action,up,start" "";
35182          }
35183          program { name: "up,stop";
35184             signal: "mouse,up,1";
35185             source: "t";
35186             action: SIGNAL_EMIT "elm,action,up,stop" "";
35187          }
35188          program { name: "down";
35189             signal: "mouse,down,1";
35190             source: "b";
35191             action: SIGNAL_EMIT "elm,action,down,start" "";
35192          }
35193          program { name: "down,stop";
35194             signal: "mouse,up,1";
35195             source: "b";
35196             action: SIGNAL_EMIT "elm,action,down,stop" "";
35197          }
35198       }
35199    }
35200
35201 ////////////////////////////////////////////////////////////////////////////////
35202 // diskselector
35203 ////////////////////////////////////////////////////////////////////////////////
35204    group { name: "elm/diskselector/base/default";
35205       images {
35206          image: "bar_shine.png" COMP;
35207       }
35208
35209       parts {
35210          part { name: "bg";
35211             type: RECT;
35212             mouse_events: 0;
35213             description { state: "default" 0.0;
35214                color: 0 0 0 255;
35215             }
35216          }
35217          part { name: "shine_left";
35218             mouse_events:  0;
35219             description { state: "default" 0.0;
35220                rel1.to: "bg";
35221                rel1.relative: -0.1 0;
35222                rel2.to: "bg";
35223                rel2.relative: 0.1 1;
35224                image.normal: "bar_shine.png";
35225                color: 255 255 255 120;
35226             }
35227          }
35228          part { name: "shine_center";
35229             mouse_events:  0;
35230             description { state: "default" 0.0;
35231                rel1.to: "bg";
35232                rel1.relative: 0.2 0;
35233                rel2.to: "bg";
35234                rel2.relative: 0.8 1;
35235                image.normal: "bar_shine.png";
35236                color: 255 255 255 180;
35237             }
35238          }
35239          part { name: "shine_right";
35240             mouse_events:  0;
35241             description { state: "default" 0.0;
35242                rel1.to: "bg";
35243                rel1.relative: 0.9 0;
35244                rel2.to: "bg";
35245                rel2.relative: 1.1 1;
35246                image.normal: "bar_shine.png";
35247                color: 255 255 255 120;
35248             }
35249          }
35250          part { name: "clipper";
35251             type: RECT;
35252             mouse_events: 0;
35253             description { state: "default" 0.0;
35254                rel1.to: "bg";
35255                rel2.to: "bg";
35256                rel1.offset: 2 2;
35257                rel2.offset: -3 -3;
35258             }
35259          }
35260          part { name: "elm.swallow.content";
35261             clip_to: "clipper";
35262             type: SWALLOW;
35263             description { state: "default" 0.0;
35264                rel1.to: "bg";
35265                rel2.to: "bg";
35266             }
35267          }
35268       }
35269    }
35270
35271    group { name: "elm/diskselector/item/default";
35272
35273       data {
35274          item: "len_threshold" "14";
35275       }
35276
35277       parts {
35278          part { name: "elm.swallow.icon";
35279             type: SWALLOW;
35280             description { state: "default" 0.0;
35281                fixed: 1 0;
35282                align: 0.0 0.5;
35283                rel1 {
35284                   relative: 0 0;
35285                   offset: 4 4;
35286                }
35287                rel2 {
35288                   relative: 0 1;
35289                   offset: 4 -5;
35290                }
35291             }
35292             description { state: "show" 0.0;
35293                inherit: "default" 0.0;
35294             }
35295             description { state: "default_small" 0.0;
35296                inherit: "default" 0.0;
35297                rel1.relative: 0 0.2;
35298                rel2.relative: 0 0.8;
35299             }
35300             description { state: "left_side" 0.0;
35301                inherit: "default" 0.0;
35302                rel1.relative: 0 0.2;
35303                rel2.relative: 0 0.8;
35304                color: 255 255 255 160;
35305             }
35306             description { state: "right_side" 0.0;
35307                inherit: "left_side" 0.0;
35308                rel1.relative: 0.4 0.2;
35309                rel2.relative: 0.4 0.8;
35310                color: 255 255 255 160;
35311             }
35312          }
35313          part { name: "elm.text";
35314             type: TEXT;
35315             mouse_events: 0;
35316             scale: 1;
35317             description { state: "default" 0.0;
35318                rel1.relative: 1 0.0;
35319                rel1.to_x: "elm.swallow.icon";
35320                rel2.relative: 1.0 1.0;
35321                color: 255 255 255 255;
35322                visible: 0;
35323                text {
35324                   font: "Sans,Edje-Vera";
35325                   size: 13;
35326                   align: 0.5 0.5;
35327                   min: 0 1;
35328                }
35329             }
35330             description { state: "show" 0.0;
35331                inherit: "default" 0.0;
35332                visible: 1;
35333             }
35334             description { state: "default_small" 0.0;
35335                inherit: "default" 0.0;
35336                visible: 1;
35337                text.size: 10;
35338             }
35339             description { state: "left_side" 0.0;
35340                inherit: "default" 0.0;
35341                color: 172 172 172 255;
35342                text.size: 10;
35343                visible: 1;
35344                text.align: 0.2 0.5;
35345             }
35346             description { state: "right_side" 0.0;
35347                inherit: "default" 0.0;
35348                color: 172 172 172 255;
35349                visible: 1;
35350                text.size: 10;
35351                text.align: 0.8 0.5;
35352             }
35353          }
35354       }
35355
35356       programs {
35357          program { name: "center_text";
35358             signal: "elm,state,center";
35359             source: "elm";
35360             action: STATE_SET "show" 0.0;
35361             target: "elm.text";
35362             target: "elm.swallow.icon";
35363          }
35364          program { name: "center_small_text";
35365             signal: "elm,state,center_small";
35366             source: "elm";
35367             action: STATE_SET "default_small" 0.0;
35368             target: "elm.text";
35369             target: "elm.swallow.icon";
35370          }
35371          program { name: "l_side_text";
35372             signal: "elm,state,left_side";
35373             source: "elm";
35374             action: STATE_SET "left_side" 0.0;
35375             target: "elm.text";
35376             target: "elm.swallow.icon";
35377          }
35378          program { name: "r_side_text";
35379             signal: "elm,state,right_side";
35380             source: "elm";
35381             action: STATE_SET "right_side" 0.0;
35382             target: "elm.text";
35383             target: "elm.swallow.icon";
35384          }
35385       }
35386    }
35387
35388    group { name: "elm/entry/path/separator/default";
35389       images.image: "arrow_right.png" COMP;
35390       parts {
35391          part { name: "icon";
35392             mouse_events: 0;
35393             description { state: "default" 0.0;
35394                image.normal: "arrow_right.png";
35395                max: 64 64;
35396                aspect: 1.0 1.0;
35397             }
35398          }
35399       }
35400    }
35401
35402    group { name: "elm/fileselector/base/default";
35403       data {
35404          item: "path_separator" "<item relsize=16x16 vsize=full href=path/separator></item>";
35405       }
35406       parts {
35407          part { name: "elm.swallow.up";
35408             type: SWALLOW;
35409             description { state: "default" 0.0;
35410                align: 0.0 0.0;
35411                min: 10 10;
35412                fixed: 1 1;
35413                rel2 {
35414                   relative: 0.0 0.0;
35415                   offset: 0 0;
35416                }
35417             }
35418          }
35419          part { name: "elm.swallow.home";
35420             type: SWALLOW;
35421             description { state: "default" 0.0;
35422                align: 0.0 0.0;
35423                min: 10 10;
35424                fixed: 1 1;
35425                rel1 {
35426                   to: "elm.swallow.up";
35427                   relative: 1.0 0.0;
35428                   offset: 5 0;
35429                }
35430                rel2 {
35431                   to: "elm.swallow.up";
35432                   relative: 1.0 1.0;
35433                   offset: 20 -1;
35434                }
35435             }
35436          }
35437          part { name: "elm.swallow.files";
35438             type: SWALLOW;
35439             description { state: "default" 0.0;
35440                align: 1.0 0.0;
35441                min: 10 10;
35442                fixed: 1 1;
35443                rel1 {
35444                   to_y: "elm.swallow.home";
35445                   relative: 0.0 1.0;
35446                   offset: 0 0;
35447                }
35448                rel2 {
35449                   to_y: "elm.swallow.path";
35450                   relative: 1.0 0.0;
35451                   offset: -1 -1;
35452                }
35453             }
35454          }
35455          part { name: "elm.swallow.path";
35456             type: SWALLOW;
35457             description { state: "default" 0.0;
35458                align: 0.5 1.0;
35459                fixed: 1 1;
35460                rel1 {
35461                   to_y: "elm.swallow.filename";
35462                   relative: 0.0 0.0;
35463                   offset: 0 -1;
35464                }
35465                rel2 {
35466                   to_y: "elm.swallow.filename";
35467                   relative: 1.0 0.0;
35468                   offset: -1 -1;
35469                }
35470             }
35471          }
35472          part { name: "elm.swallow.filename";
35473             type: SWALLOW;
35474             description { state: "default" 0.0;
35475                align: 0.5 1.0;
35476                fixed: 1 1;
35477                rel1 {
35478                   to_y: "elm.swallow.ok";
35479                   relative: 0.0 0.0;
35480                   offset: 0 -1;
35481                }
35482                rel2 {
35483                   to_y: "elm.swallow.ok";
35484                   relative: 1.0 0.0;
35485                   offset: -1 -1;
35486                }
35487             }
35488          }
35489          part { name: "elm.swallow.cancel";
35490             type: SWALLOW;
35491             description { state: "default" 0.0;
35492                align: 1.0 1.0;
35493                fixed: 1 1;
35494                rel1 {
35495                   to: "elm.swallow.ok";
35496                   relative: 0.0 0.0;
35497                   offset: -3 0;
35498                }
35499                rel2 {
35500                   to: "elm.swallow.ok";
35501                   relative: 0.0 1.0;
35502                   offset: -3 -1;
35503                }
35504             }
35505          }
35506          part { name: "elm.swallow.ok";
35507             type: SWALLOW;
35508             description { state: "default" 0.0;
35509                align: 1.0 1.0;
35510                fixed: 1 1;
35511                rel1 {
35512                   relative: 1.0 1.0;
35513                   offset: -1 -1;
35514                }
35515             }
35516          }
35517       }
35518    }
35519
35520    group { name: "elm/fileselector_entry/base/default";
35521       parts {
35522          part { name: "elm.swallow.entry";
35523             type: SWALLOW;
35524             description { state: "default" 0.0;
35525                align: 0.0 0.0;
35526                min: 50 10;
35527                rel2 { to_x: "elm.swallow.button";
35528                   relative: 0.0 1.0;
35529                   offset: -1 -1;
35530                }
35531             }
35532          }
35533          part { name: "elm.swallow.button";
35534             type: SWALLOW;
35535             description { state: "default" 0.0;
35536                align: 1.0 0.0;
35537                min: 10 10;
35538                fixed: 1 1;
35539                rel1 {
35540                   relative: 1.0 0.0;
35541                   offset: -21 0;
35542                }
35543             }
35544          }
35545       }
35546    }
35547
35548 ////////////////////////////////////////////////////////////////////////
35549 // Standard layouts to be used                                        //
35550 ////////////////////////////////////////////////////////////////////////
35551    /* application with toolbar and main content area */
35552    group { name: "elm/layout/application/toolbar-content";
35553       parts {
35554          part { name: "elm.swallow.content";
35555             type: SWALLOW;
35556             description { state: "default" 0.0;
35557                rel1 { to_y: "elm.external.toolbar";
35558                   relative: 0.0 1.0;
35559                   offset: -1 1;
35560                }
35561             }
35562          }
35563
35564          part { name: "elm.external.toolbar";
35565             type: EXTERNAL;
35566             source: "elm/toolbar";
35567             description { state: "default" 0.0;
35568                align: 0.5 0.0;
35569                fixed: 0 1;
35570                rel2 {
35571                   relative: 1.0 0.0;
35572                   offset: -1 47;
35573                }
35574             }
35575          }
35576       }
35577    }
35578
35579    /* application with toolbar and main content area with a back button and title area */
35580    group { name: "elm/layout/application/toolbar-content-back";
35581       parts {
35582          part { name: "elm.swallow.content";
35583             type: SWALLOW;
35584             description { state: "default" 0.0;
35585                rel1 { to_y: "title_clipper";
35586                   relative: 0.0 1.0;
35587                   offset: -1 1;
35588                }
35589             }
35590          }
35591
35592          part { name: "elm.external.toolbar";
35593             type: EXTERNAL;
35594             source: "elm/toolbar";
35595             description { state: "default" 0.0;
35596                fixed: 0 1;
35597                align: 0.5 0.0;
35598                rel2 {
35599                   relative: 1.0 0.0;
35600                   offset: -1 47;
35601                }
35602             }
35603          }
35604          part { name: "title_clipper";
35605             type: RECT;
35606             description { state: "default" 0.0;
35607                visible: 1;
35608                rel1 {
35609                   to_y: "back";
35610                }
35611                rel2 {
35612                   to_y: "back";
35613                }
35614             }
35615             description { state: "hidden" 0.0;
35616                inherit: "default" 0.0;
35617                visible: 0;
35618                rel2 {
35619                   relative: 1.0 0.0;
35620                }
35621             }
35622          }
35623          part { name: "back_clipper";
35624             type: RECT;
35625             clip_to: "title_clipper";
35626             description { state: "default" 0.0;
35627                visible: 1;
35628             }
35629             description { state: "hidden" 0.0;
35630                visible: 0;
35631             }
35632          }
35633          part { name: "back";
35634             type: EXTERNAL;
35635             source: "elm/button";
35636             clip_to: "back_clipper";
35637             description { state: "default" 0.0;
35638                align: 0.0 0.0;
35639                fixed: 1 1;
35640                rel1 { to_y: "elm.external.toolbar";
35641                   relative: 0.0 1.0;
35642                   offset: 0 1;
35643                }
35644                rel2 { to_y: "elm.external.toolbar";
35645                   relative: 0.0 1.0;
35646                   offset: 50 32;
35647                }
35648                params.string: "label" "Back";
35649             }
35650          }
35651          programs {
35652             program {
35653                signal: "clicked";
35654                source: "back";
35655                action: SIGNAL_EMIT "elm,action,back" "";
35656             }
35657             program {
35658                signal: "elm,back,hide";
35659                source: "elm";
35660                action: STATE_SET "hidden" 0.0;
35661                target: "back_clipper";
35662             }
35663             program {
35664                signal: "elm,back,show";
35665                source: "elm";
35666                action: STATE_SET "default" 0.0;
35667                target: "back_clipper";
35668             }
35669             program {
35670                signal: "elm,title,hide";
35671                source: "elm";
35672                action: STATE_SET "hidden" 0.0;
35673                transition: LINEAR 0.1;
35674                target: "title_clipper";
35675             }
35676             program {
35677                signal: "elm,title,show";
35678                source: "elm";
35679                action: STATE_SET "default" 0.0;
35680                target: "title_clipper";
35681             }
35682          }
35683
35684          part { name: "elm.swallow.end";
35685             type: SWALLOW;
35686             description { state: "default" 0.0;
35687                align: 1.0 0.0;
35688                fixed: 1 1;
35689                rel1 { to_y: "elm.external.toolbar";
35690                   relative: 1.0 1.0;
35691                   offset: -2 1;
35692                }
35693                rel2 { to_y: "elm.external.toolbar";
35694                   relative: 1.0 1.0;
35695                   offset: -1 32;
35696                }
35697             }
35698          }
35699
35700          part { name: "elm.text.title";
35701             type: TEXT;
35702             effect: SOFT_SHADOW;
35703             scale: 1;
35704             description { state: "default" 0.0;
35705                rel1 { to_y: "elm.external.toolbar";
35706                   to_x: "back";
35707                   relative: 1.0 1.0;
35708                   offset: 2 1;
35709                }
35710                rel2 { to_y: "back";
35711                   to_x: "elm.swallow.end";
35712                   relative: 0.0 1.0;
35713                   offset: -3 -1;
35714                }
35715                text {
35716                   font: "Sans:style=Bold";
35717                   size: 12;
35718                }
35719             }
35720          }
35721       }
35722    }
35723
35724    /* application with toolbar and main content area with a back and next buttons and title area */
35725    group { name: "elm/layout/application/toolbar-content-back-next";
35726       parts {
35727          part { name: "elm.swallow.content";
35728             type: SWALLOW;
35729             description { state: "default" 0.0;
35730                rel1 { to_y: "title_clipper";
35731                   relative: 0.0 1.0;
35732                   offset: -1 1;
35733                }
35734             }
35735          }
35736
35737          part { name: "elm.external.toolbar";
35738             type: EXTERNAL;
35739             source: "elm/toolbar";
35740             description { state: "default" 0.0;
35741                fixed: 0 1;
35742                align: 0.5 0.0;
35743                rel2 {
35744                   relative: 1.0 0.0;
35745                   offset: -1 47;
35746                }
35747             }
35748          }
35749          part { name: "title_clipper";
35750             type: RECT;
35751             description { state: "default" 0.0;
35752                visible: 1;
35753                rel1 {
35754                   to_y: "back";
35755                }
35756                rel2 {
35757                   to_y: "back";
35758                }
35759             }
35760             description { state: "hidden" 0.0;
35761                inherit: "default" 0.0;
35762                visible: 0;
35763                rel2 {
35764                   relative: 1.0 0.0;
35765                }
35766             }
35767          }
35768          part { name: "back";
35769             type: EXTERNAL;
35770             source: "elm/button";
35771             clip_to: "back_clipper";
35772             description { state: "default" 0.0;
35773                align: 0.0 0.0;
35774                fixed: 1 1;
35775                rel1 { to_y: "elm.external.toolbar";
35776                   relative: 0.0 1.0;
35777                   offset: 0 1;
35778                }
35779                rel2 { to_y: "elm.external.toolbar";
35780                   relative: 0.0 1.0;
35781                   offset: 50 32;
35782                }
35783                params.string: "label" "Back";
35784             }
35785          }
35786          part { name: "back_clipper";
35787             type: RECT;
35788             clip_to: "title_clipper";
35789             description { state: "default" 0.0;
35790                visible: 1;
35791             }
35792             description { state: "hidden" 0.0;
35793                visible: 0;
35794             }
35795          }
35796          part { name: "next";
35797             type: EXTERNAL;
35798             source: "elm/button";
35799             clip_to: "next_clipper";
35800             description { state: "default" 0.0;
35801                align: 1.0 0.0;
35802                fixed: 1 1;
35803                rel1 { to_y: "elm.external.toolbar";
35804                   relative: 1.0 1.0;
35805                   offset: -2 1;
35806                }
35807                rel2 { to_y: "elm.external.toolbar";
35808                   relative: 1.0 1.0;
35809                   offset: -1 32;
35810                }
35811                params.string: "label" "Next";
35812            }
35813          }
35814          part { name: "next_clipper";
35815             type: RECT;
35816             clip_to: "title_clipper";
35817             description { state: "default" 0.0;
35818                visible: 1;
35819             }
35820             description { state: "hidden" 0.0;
35821                visible: 0;
35822             }
35823          }
35824          programs {
35825             program {
35826                signal: "clicked";
35827                source: "back";
35828                action: SIGNAL_EMIT "elm,action,back" "";
35829             }
35830             program {
35831                signal: "elm,title,hide";
35832                source: "elm";
35833                action: STATE_SET "hidden" 0.0;
35834                transition: LINEAR 0.1;
35835                target: "title_clipper";
35836             }
35837             program {
35838                signal: "elm,title,show";
35839                source: "elm";
35840                action: STATE_SET "default" 0.0;
35841                target: "title_clipper";
35842             }
35843             program {
35844                signal: "elm,back,hide";
35845                source: "elm";
35846                action: STATE_SET "hidden" 0.0;
35847                target: "back_clipper";
35848             }
35849             program {
35850                signal: "elm,back,show";
35851                source: "elm";
35852                action: STATE_SET "default" 0.0;
35853                target: "back_clipper";
35854             }
35855             program {
35856                signal: "clicked";
35857                source: "next";
35858                action: SIGNAL_EMIT "elm,action,next" "";
35859             }
35860             program {
35861                signal: "elm,next,hide";
35862                source: "elm";
35863                action: STATE_SET "hidden" 0.0;
35864                target: "next_clipper";
35865             }
35866             program {
35867                signal: "elm,next,show";
35868                source: "elm";
35869                action: STATE_SET "default" 0.0;
35870                target: "next_clipper";
35871             }
35872          }
35873          part { name: "elm.text.title";
35874             type: TEXT;
35875             effect: SOFT_SHADOW;
35876             scale: 1;
35877             clip_to: "title_clipper";
35878             description { state: "default" 0.0;
35879                rel1 { to_y: "elm.external.toolbar";
35880                   to_x: "back";
35881                   relative: 1.0 1.0;
35882                   offset: 2 1;
35883                }
35884                rel2 { to_y: "back";
35885                   to_x: "next";
35886                   relative: 0.0 1.0;
35887                   offset: -3 -1;
35888                }
35889                text {
35890                   font: "Sans:style=Bold";
35891                   size: 12;
35892                }
35893             }
35894          }
35895       }
35896    }
35897    /* application with a main content area with a back button and title area */
35898    group { name: "elm/layout/application/content-back";
35899       parts {
35900          part { name: "elm.swallow.content";
35901             type: SWALLOW;
35902             description { state: "default" 0.0;
35903                rel1 { to_y: "title_clipper";
35904                   relative: 0.0 1.0;
35905                   offset: -1 1;
35906                }
35907             }
35908          }
35909          part { name: "title_clipper";
35910             type: RECT;
35911             description { state: "default" 0.0;
35912                visible: 1;
35913                rel1 {
35914                   to_y: "back";
35915                }
35916                rel2 {
35917                   to_y: "back";
35918                }
35919             }
35920             description { state: "hidden" 0.0;
35921                inherit: "default" 0.0;
35922                visible: 0;
35923                rel2 {
35924                   relative: 1.0 0.0;
35925                }
35926             }
35927          }
35928          part { name: "back_clipper";
35929             type: RECT;
35930             clip_to: "title_clipper";
35931             description { state: "default" 0.0;
35932                visible: 1;
35933             }
35934             description { state: "hidden" 0.0;
35935                visible: 0;
35936             }
35937          }
35938          part { name: "back";
35939             type: EXTERNAL;
35940             source: "elm/button";
35941             clip_to: "back_clipper";
35942             description { state: "default" 0.0;
35943                align: 0.0 0.0;
35944                fixed: 1 1;
35945                rel1 {
35946                   relative: 0.0 0.0;
35947                   offset: 0 1;
35948                }
35949                rel2 {
35950                   relative: 0.0 0.0;
35951                   offset: 50 32;
35952                }
35953                params.string: "label" "Back";
35954             }
35955          }
35956          programs {
35957             program {
35958                signal: "clicked";
35959                source: "back";
35960                action: SIGNAL_EMIT "elm,action,back" "";
35961             }
35962             program {
35963                signal: "elm,back,hide";
35964                source: "elm";
35965                action: STATE_SET "hidden" 0.0;
35966                target: "back_clipper";
35967             }
35968             program {
35969                signal: "elm,back,show";
35970                source: "elm";
35971                action: STATE_SET "default" 0.0;
35972                target: "back_clipper";
35973             }
35974             program {
35975                signal: "elm,title,hide";
35976                source: "elm";
35977                action: STATE_SET "hidden" 0.0;
35978                transition: LINEAR 0.1;
35979                target: "title_clipper";
35980             }
35981             program {
35982                signal: "elm,title,show";
35983                source: "elm";
35984                action: STATE_SET "default" 0.0;
35985                target: "title_clipper";
35986             }
35987          }
35988
35989          part { name: "elm.swallow.end";
35990             type: SWALLOW;
35991             description { state: "default" 0.0;
35992                align: 1.0 0.0;
35993                fixed: 1 1;
35994                rel1 {
35995                   relative: 1.0 0.0;
35996                   offset: -2 1;
35997                }
35998                rel2 {
35999                   relative: 1.0 1.0;
36000                   offset: -1 32;
36001                }
36002             }
36003          }
36004
36005          part { name: "elm.text.title";
36006             type: TEXT;
36007             effect: SOFT_SHADOW;
36008             scale: 1;
36009             description { state: "default" 0.0;
36010                rel1 {
36011                   to_x: "back";
36012                   relative: 1.0 0.0;
36013                   offset: 2 1;
36014                }
36015                rel2 { to_y: "back";
36016                   to_x: "elm.swallow.end";
36017                   relative: 0.0 1.0;
36018                   offset: -3 -1;
36019                }
36020                text {
36021                   font: "Sans:style=Bold";
36022                   size: 12;
36023                }
36024             }
36025          }
36026       }
36027    }
36028
36029    /* application with a main content area with a back and next buttons and title area */
36030    group { name: "elm/layout/application/content-back-next";
36031       parts {
36032          part { name: "elm.swallow.content";
36033             type: SWALLOW;
36034             description { state: "default" 0.0;
36035                rel1 { to_y: "title_clipper";
36036                   relative: 0.0 1.0;
36037                   offset: -1 1;
36038                }
36039             }
36040          }
36041
36042          part { name: "title_clipper";
36043             type: RECT;
36044             description { state: "default" 0.0;
36045                visible: 1;
36046                rel1 {
36047                   to_y: "back";
36048                }
36049                rel2 {
36050                   to_y: "back";
36051                }
36052             }
36053             description { state: "hidden" 0.0;
36054                inherit: "default" 0.0;
36055                visible: 0;
36056                rel2 {
36057                   relative: 1.0 0.0;
36058                }
36059             }
36060          }
36061          part { name: "back";
36062             type: EXTERNAL;
36063             source: "elm/button";
36064             clip_to: "back_clipper";
36065             description { state: "default" 0.0;
36066                align: 0.0 0.0;
36067                fixed: 1 1;
36068                rel1 {
36069                   relative: 0.0 0.0;
36070                   offset: 0 1;
36071                }
36072                rel2 {
36073                   relative: 0.0 0.0;
36074                   offset: 50 32;
36075                }
36076                params.string: "label" "Back";
36077             }
36078          }
36079          part { name: "back_clipper";
36080             type: RECT;
36081             clip_to: "title_clipper";
36082             description { state: "default" 0.0;
36083                visible: 1;
36084             }
36085             description { state: "hidden" 0.0;
36086                visible: 0;
36087             }
36088          }
36089          part { name: "next";
36090             type: EXTERNAL;
36091             source: "elm/button";
36092             clip_to: "next_clipper";
36093             description { state: "default" 0.0;
36094                align: 1.0 0.0;
36095                fixed: 1 1;
36096                rel1 {
36097                   relative: 1.0 0.0;
36098                   offset: -2 1;
36099                }
36100                rel2 {
36101                   relative: 1.0 0.0;
36102                   offset: -1 32;
36103                }
36104                params.string: "label" "Next";
36105            }
36106          }
36107          part { name: "next_clipper";
36108             type: RECT;
36109             clip_to: "title_clipper";
36110             description { state: "default" 0.0;
36111                visible: 1;
36112             }
36113             description { state: "hidden" 0.0;
36114                visible: 0;
36115             }
36116          }
36117          programs {
36118             program {
36119                signal: "clicked";
36120                source: "back";
36121                action: SIGNAL_EMIT "elm,action,back" "";
36122             }
36123             program {
36124                signal: "elm,title,hide";
36125                source: "elm";
36126                action: STATE_SET "hidden" 0.0;
36127                transition: LINEAR 0.1;
36128                target: "title_clipper";
36129             }
36130             program {
36131                signal: "elm,title,show";
36132                source: "elm";
36133                action: STATE_SET "default" 0.0;
36134                target: "title_clipper";
36135             }
36136             program {
36137                signal: "elm,back,hide";
36138                source: "elm";
36139                action: STATE_SET "hidden" 0.0;
36140                target: "back_clipper";
36141             }
36142             program {
36143                signal: "elm,back,show";
36144                source: "elm";
36145                action: STATE_SET "default" 0.0;
36146                target: "back_clipper";
36147             }
36148             program {
36149                signal: "clicked";
36150                source: "next";
36151                action: SIGNAL_EMIT "elm,action,next" "";
36152             }
36153             program {
36154                signal: "elm,next,hide";
36155                source: "elm";
36156                action: STATE_SET "hidden" 0.0;
36157                target: "next_clipper";
36158             }
36159             program {
36160                signal: "elm,next,show";
36161                source: "elm";
36162                action: STATE_SET "default" 0.0;
36163                target: "next_clipper";
36164             }
36165          }
36166          part { name: "elm.text.title";
36167             type: TEXT;
36168             effect: SOFT_SHADOW;
36169             scale: 1;
36170             clip_to: "title_clipper";
36171             description { state: "default" 0.0;
36172                rel1 {
36173                   to_x: "back";
36174                   relative: 1.0 0.0;
36175                   offset: 2 1;
36176                }
36177                rel2 { to_y: "back";
36178                   to_x: "next";
36179                   relative: 0.0 1.0;
36180                   offset: -3 -1;
36181                }
36182                text {
36183                   font: "Sans:style=Bold";
36184                   size: 12;
36185                }
36186             }
36187          }
36188       }
36189    }
36190
36191    /* application with toolbar and main content area as a vertical box */
36192    group { name: "elm/layout/application/toolbar-vbox";
36193       parts {
36194          part { name: "elm.box.content";
36195             type: BOX;
36196             description { state: "default" 0.0;
36197                rel1 { to_y: "elm.external.toolbar";
36198                   relative: 0.0 1.0;
36199                   offset: -1 1;
36200                }
36201                box.layout: "vertical";
36202             }
36203          }
36204
36205          part { name: "elm.external.toolbar";
36206             type: EXTERNAL;
36207             source: "elm/toolbar";
36208             description { state: "default" 0.0;
36209                align: 0.5 0.0;
36210                fixed: 0 1;
36211                rel2 {
36212                   relative: 1.0 0.0;
36213                   offset: -1 47;
36214                }
36215             }
36216          }
36217       }
36218    }
36219
36220    /* application with toolbar and main content area as a table */
36221    group { name: "elm/layout/application/toolbar-table";
36222       parts {
36223          part { name: "elm.table.content";
36224             type: TABLE;
36225             description { state: "default" 0.0;
36226                rel1 { to_y: "elm.external.toolbar";
36227                   relative: 0.0 1.0;
36228                   offset: -1 1;
36229                }
36230             }
36231          }
36232
36233          part { name: "elm.external.toolbar";
36234             type: EXTERNAL;
36235             source: "elm/toolbar";
36236             description { state: "default" 0.0;
36237                align: 0.5 0.0;
36238                fixed: 0 1;
36239                rel2 {
36240                   relative: 1.0 0.0;
36241                   offset: -1 47;
36242                }
36243             }
36244          }
36245       }
36246    }
36247
36248    /* a simple title layout, with a label and two icons */
36249    group { name: "elm/layout/application/titlebar";
36250       images {
36251          image: "toolbar_sel.png" COMP;
36252       }
36253       parts {
36254          part { name: "base";
36255             mouse_events: 0;
36256             scale: 1;
36257             description { state: "default" 0.0;
36258                min: 0 33;
36259                max: 99999 33;
36260                align: 0.5 0.0;
36261                rel1.offset: -1 0;
36262                rel2.offset: 1 0;
36263                image {
36264                   normal: "toolbar_sel.png";
36265                   border: 3 3 0 0;
36266                }
36267             }
36268          }
36269          part { name: "elm.swallow.content";
36270             type: SWALLOW;
36271             description { state: "default" 0.0;
36272                visible: 1;
36273                rel1 {
36274                   to: "base";
36275                   relative: 0.0 1.0;
36276                }
36277             }
36278          }
36279          part { name: "elm.swallow.icon";
36280             type: SWALLOW;
36281             scale: 1;
36282             description { state: "default" 0.0;
36283                visible: 0;
36284                fixed: 1 1;
36285                align: 0.0 0.0;
36286                rel1 {
36287                   to: "base";
36288                   relative: 0.0 0.0;
36289                   offset: 4 0;
36290                }
36291                rel2 {
36292                   to: "base";
36293                   relative: 0.0 1.0;
36294                }
36295             }
36296             description { state: "visible" 0.0;
36297                inherit: "default" 0.0;
36298                visible: 1;
36299             }
36300          }
36301          part { name: "elm.swallow.end";
36302             type: SWALLOW;
36303             scale: 1;
36304             description { state: "default" 0.0;
36305                visible: 0;
36306                fixed: 1 1;
36307                align: 1.0 0.0;
36308                rel1 {
36309                   to: "base";
36310                   relative: 1.0 0.0;
36311                   offset: 0 0;
36312                }
36313                rel2 {
36314                   to: "base";
36315                   relative: 1.0 1.0;
36316                   offset: -5 -1;
36317                }
36318             }
36319             description { state: "visible" 0.0;
36320                inherit: "default" 0.0;
36321                visible: 1;
36322             }
36323          }
36324          part { name: "elm.text";
36325             type: TEXT;
36326             effect: SOFT_SHADOW;
36327             mouse_events: 0;
36328             scale: 1;
36329             description { state: "default" 0.0;
36330                fixed: 1 1;
36331                rel1 {
36332                   to_x: "elm.swallow.icon";
36333                   to_y: "base";
36334                   relative: 1.0 0.0;
36335                }
36336                rel2 {
36337                   to_x: "elm.swallow.end";
36338                   to_y: "base";
36339                   relative: 0.0 1.0;
36340                }
36341                text {
36342                   font: "Sans";
36343                   size: 12;
36344                   min: 0 0;
36345                   align: 0.5 0.5;
36346                   text_class: "title_bar";
36347                }
36348             }
36349          }
36350       }
36351       programs {
36352          program { name: "show_icon";
36353             signal: "elm,state,icon,visible";
36354             source: "elm";
36355             action: STATE_SET "visible" 0.0;
36356             target: "elm.swallow.icon";
36357          }
36358          program { name: "hide_icon";
36359             signal: "elm,state,icon,hidden";
36360             source: "elm";
36361             action: STATE_SET "default" 0.0;
36362             target: "elm.swallow.icon";
36363          }
36364          program { name: "show_end";
36365             signal: "elm,state,end,visible";
36366             source: "elm";
36367             action: STATE_SET "visible" 0.0;
36368             target: "elm.swallow.end";
36369          }
36370          program { name: "hide_end";
36371             signal: "elm,state,end,hidden";
36372             source: "elm";
36373             action: STATE_SET "default" 0.0;
36374             target: "elm.swallow.end";
36375          }
36376       }
36377    }
36378 }