Elementary ctxpopup: Modified the disabled item style. Patch by ChunEon Park (Hermet).
[framework/uifw/elementary.git] / data / themes / default.edc
1 // LICENSE NOTE:
2 // This file (and only this one) is licenses under public-domain. The reason
3 // is that this is meant to serve as a template for making your own themes and
4 // Elementary's LGPL license is not intended to follow. The images used do come
5 // under LGPL, but this file specifically for the structure of your theme is
6 // public-domain. This means you can take, use, re-license and otherwise
7 // have zero restrictions on using this file as a base for your theme.
8
9 externals.external: "elm";
10
11 collections {
12
13 ///////////////////////////////////////////////////////////////////////////////
14    group { name: "elm/focus_highlight/top/default";
15       images {
16          image: "emo-unhappy.png" COMP;
17       }
18
19       data {
20          item: "animate" "on";
21       }
22
23       script {
24          public s_x, s_y, s_w, s_h; /* source */
25          public difx, dify, difw, difh;
26          public rot_dir;
27
28          public animator1(val, Float:pos) {
29             new x, y, w, h, dx, dy, dw, dh, Float:rot;
30
31             dx = round(float_mul(float(get_int(difx)), pos));
32             x = get_int(s_x) + dx;
33             dy = round(float_mul(float(get_int(dify)), pos));
34             y = get_int(s_y) + dy;
35             dw = round(float_mul(float(get_int(difw)), pos));
36             w = get_int(s_w) + dw;
37             dy = round(float_mul(float(get_int(difh)), pos));
38             h = get_int(s_h) + dh;
39
40             update_offset(x, y, w, h);
41
42             rot = 360.0 * pos * float(get_int(rot_dir));
43             set_state_val(PART:"shine", STATE_MAP_ROT_Z, rot);
44
45             if (pos >= 1.0) {
46                emit("elm,action,focus,anim,end", "");
47                set_state(PART:"shine", "default", 0.0);
48             }
49          }
50
51          public update_offset(x, y, w, h) {
52             new x1, y1, x2, y2;
53             x1 = x + w - 15;
54             y1 = y - 15;
55             x2 = x + w + 14;
56             y2 = y + 14;
57             set_state_val(PART:"shine", STATE_REL1_OFFSET, x1, y1);
58             set_state_val(PART:"shine", STATE_REL2_OFFSET, x2, y2);
59          }
60
61          public message(Msg_Type:type, id, ...) {
62             if ((type == MSG_INT_SET) && (id == 1)) {
63                new x1, y1, w1, h1;
64                new x2, y2, w2, h2;
65                new px1, px2, py1, py2;
66                new rd;
67
68                x1 = getarg(2);
69                y1 = getarg(3);
70                w1 = getarg(4);
71                h1 = getarg(5);
72                x2 = getarg(6);
73                y2 = getarg(7);
74                w2 = getarg(8);
75                h2 = getarg(9);
76
77                set_int(s_x, x1);
78                set_int(s_y, y1);
79                set_int(s_w, w1);
80                set_int(s_h, h1);
81                set_int(difx, x2 - x1);
82                set_int(dify, y2 - y1);
83                set_int(difw, w2 - w1);
84                set_int(difh, h2 - h1);
85
86                px1 = x1 + w1;
87                px2 = x2 + w2;
88                py1 = y1 + h1;
89                py2 = y2 + h2;
90                if (px2 > px1) {
91                   rd = 1;
92                } else if (px1 > px2) {
93                   rd = -1;
94                } else {
95                   if (py2 > py1) {
96                      rd = 1;
97                   } else {
98                      rd = -1;
99                   }
100                }
101                set_int(rot_dir, rd);
102
103                custom_state(PART:"shine", "default", 0.0);
104                set_state_val(PART:"shine", STATE_REL1, 0.0, 0.0);
105                set_state_val(PART:"shine", STATE_REL2, 0.0, 0.0);
106                set_state_val(PART:"shine", STATE_MAP_ON, 1);
107                set_state_val(PART:"shine", STATE_MAP_ROT_Z, 0.0);
108                update_offset(x1, y1, w1, h1);
109                set_state(PART:"shine", "custom", 0.0);
110
111                anim(0.2, "animator1", 1);
112             }
113          }
114       }
115
116       parts {
117          part { name: "base";
118             type: RECT;
119             repeat_events: 1;
120             description { state: "default" 0.0;
121                rel1.relative: 0.0 0.0;
122                rel2.relative: 1.0 1.0;
123                visible: 0;
124             }
125          }
126          part { name: "shine";
127             type: IMAGE;
128             mouse_events: 1;
129             repeat_events: 1;
130             ignore_flags: ON_HOLD;
131             description { state: "default" 0.0;
132                image {
133                   normal: "emo-unhappy.png";
134                }
135                rel1.to: "base";
136                rel1.relative: 1.0 0.0;
137                rel1.offset: -15 -15;
138                rel2.to: "base";
139                rel2.relative: 1.0 0.0;
140                rel2.offset: 14 14;
141             }
142             description { state: "disabled" 0.0;
143                inherit:  "default" 0.0;
144                color: 0 0 0 0;
145             }
146          }
147
148          program { name: "show";
149             signal: "elm,action,focus,show";
150             source: "elm";
151             action: ACTION_STOP;
152             target: "hide";
153             target: "hide_start";
154             target: "hide_end";
155             after: "show_start";
156          }
157          program { name: "show_start";
158             action:  STATE_SET "default" 0.0;
159             transition: LINEAR 0.2;
160             target: "shine";
161             after: "show_end";
162          }
163          program { name: "show_end";
164             action: SIGNAL_EMIT "elm,action,focus,show,end" "";
165          }
166          program { name: "hide";
167             signal: "elm,action,focus,hide";
168             source: "elm";
169             action: ACTION_STOP;
170             target: "show";
171             target: "show_start";
172             target: "show_end";
173             after: "hide_start";
174          }
175          program { name: "hide_start";
176             action:  STATE_SET "disabled" 0.0;
177             transition: LINEAR 0.2;
178             target: "shine";
179             after: "hide_end";
180          }
181          program { name: "hide_end";
182             action: SIGNAL_EMIT "elm,action,focus,hide,end" "";
183          }
184       }
185    }
186
187 ///////////////////////////////////////////////////////////////////////////////
188    group { name: "elm/focus_highlight/bottom/default";
189       parts {
190          part { name: "shine";
191             type: RECT;
192             mouse_events: 1;
193             repeat_events: 1;
194             ignore_flags: ON_HOLD;
195             description { state: "default" 0.0;
196                color: 0 255 0 50;
197                rel1.offset: 0 0;
198                rel2.offset: 0 0;
199             }
200             description { state: "disabled" 0.0;
201                inherit:  "default" 0.0;
202                color: 0 0 0 0;
203             }
204          }
205
206          program { name: "show";
207             signal: "elm,action,focus,show";
208             source: "elm";
209             action: ACTION_STOP;
210             target: "hide";
211             target: "hide_start";
212             target: "hide_end";
213             after: "show_start";
214          }
215          program { name: "show_start";
216             action:  STATE_SET "default" 0.0;
217             transition: LINEAR 0.2;
218             target: "shine";
219             after: "show_end";
220          }
221          program { name: "show_end";
222             action: SIGNAL_EMIT "elm,action,focus,show,end" "";
223          }
224          program { name: "hide";
225             signal: "elm,action,focus,hide";
226             source: "elm";
227             action: ACTION_STOP;
228             target: "show";
229             target: "show_start";
230             target: "show_end";
231             after: "hide_start";
232          }
233          program { name: "hide_start";
234             action:  STATE_SET "disabled" 0.0;
235             transition: LINEAR 0.2;
236             target: "shine";
237             after: "hide_end";
238          }
239          program { name: "hide_end";
240             action: SIGNAL_EMIT "elm,action,focus,hide,end" "";
241          }
242       }
243    }
244
245 ///////////////////////////////////////////////////////////////////////////////
246    group { name: "elm/bg/base/default";
247       images {
248          image: "dia_grad.png" COMP;
249          image: "dia_topshad.png" COMP;
250          image: "dia_botshad.png" COMP;
251       }
252       parts {
253          part { name: "base";
254             mouse_events:  0;
255             description { state: "default" 0.0;
256                image.normal: "dia_grad.png";
257                fill {
258                   smooth: 0;
259                   size {
260                      relative: 0.0 1.0;
261                      offset: 64 0;
262                   }
263                }
264             }
265          }
266          part { name: "elm.swallow.rectangle";
267             type: SWALLOW;
268             description { state: "default" 0.0;
269             }
270          }
271          part { name: "elm.swallow.background";
272             type: SWALLOW;
273             description { state: "default" 0.0;
274             }
275          }
276          part { name: "shadow";
277             mouse_events:  0;
278             description { state: "default" 0.0;
279                rel2.relative: 1.0 0.0;
280                rel2.offset: -1 31;
281                image.normal: "dia_topshad.png";
282                fill {
283                   smooth: 0;
284                   size {
285                      relative: 0.0 1.0;
286                      offset: 64 0;
287                   }
288                }
289             }
290          }
291          part { name: "shadow2";
292             mouse_events:  0;
293             description { state: "default" 0.0;
294                rel1.relative: 0.0 1.0;
295                rel1.offset: 0 -9;
296                image.normal: "dia_botshad.png";
297                fill {
298                   smooth: 0;
299                   size {
300                      relative: 0.0 1.0;
301                      offset: 64 0;
302                   }
303                }
304             }
305          }
306          part { name: "elm.swallow.content";
307             type: SWALLOW;
308             description { state: "default" 0.0;
309             }
310          }
311       }
312    }
313
314 ///////////////////////////////////////////////////////////////////////////////
315    group { name: "elm/scroller/base/default";
316
317       alias: "elm/list/base/default";
318       alias: "elm/genlist/base/default";
319       alias: "elm/carousel/base/default";
320       alias: "elm/gengrid/base/default";
321
322       data {
323          item: "focus_highlight" "on";
324       }
325
326       script {
327          public sbvis_v, sbvis_h, sbalways_v, sbalways_h, sbvis_timer;
328          public timer0(val) {
329             new v;
330             v = get_int(sbvis_v);
331             if (v) {
332                v = get_int(sbalways_v);
333                if (!v) {
334                   emit("do-hide-vbar", "");
335                   set_int(sbvis_v, 0);
336                }
337             }
338             v = get_int(sbvis_h);
339             if (v) {
340                v = get_int(sbalways_h);
341                if (!v) {
342                   emit("do-hide-hbar", "");
343                   set_int(sbvis_h, 0);
344                }
345             }
346             set_int(sbvis_timer, 0);
347             return 0;
348          }
349       }
350       images {
351          image: "shelf_inset.png" COMP;
352          image: "bt_sm_base2.png" COMP;
353          image: "bt_sm_shine.png" COMP;
354          image: "bt_sm_hilight.png" COMP;
355          image: "sl_bt2_2.png" COMP;
356       }
357       parts {
358          part { name: "bg";
359             type: RECT;
360             description { state: "default" 0.0;
361                rel1.offset: 2 2;
362                rel2.offset: -3 -3;
363                color: 255 255 255 0;
364             }
365          }
366          part { name: "clipper";
367             type: RECT;
368             mouse_events: 0;
369             description { state: "default" 0.0;
370                rel1.to: "bg";
371                rel2.to: "bg";
372                rel1.offset: 2 2;
373                rel2.offset: -3 -3;
374             }
375          }
376          part { name: "elm.swallow.content";
377             clip_to: "clipper";
378             type: SWALLOW;
379             description { state: "default" 0.0;
380                rel1.to: "bg";
381                rel2.to: "bg";
382                rel1.offset: 2 2;
383                rel2.offset: -3 -3;
384             }
385          }
386          part { name: "conf_over";
387             mouse_events:  0;
388             description { state: "default" 0.0;
389                rel1.to: "bg";
390                rel2.to: "bg";
391                image {
392                   normal: "shelf_inset.png";
393                   border: 7 7 7 7;
394                   middle: 0;
395                }
396                fill.smooth : 0;
397             }
398             description { state: "enabled" 0.0;
399                inherit: "default" 0.0;
400                color: 200 155 0 255;
401             }
402          }
403          part { name: "focus_highlight";
404             mouse_events: 0;
405             description { state: "default" 0.0;
406                rel1.offset: -1 -1;
407                rel2.offset: 0 0;
408                image {
409                   normal: "sl_bt2_2.png";
410                   border: 7 7 7 7;
411                   middle: 0;
412                }
413                fill.smooth : 0;
414                color: 200 155 0 0;
415             }
416             description { state: "enabled" 0.0;
417                inherit: "default" 0.0;
418                color: 200 155 0 255;
419             }
420          }
421          part { name: "sb_vbar_clip_master";
422             type: RECT;
423             mouse_events: 0;
424             description { state: "default" 0.0;
425             }
426             description { state: "hidden" 0.0;
427                visible: 0;
428                color: 255 255 255 0;
429             }
430          }
431          part { name: "sb_vbar_clip";
432             clip_to: "sb_vbar_clip_master";
433             type: RECT;
434             mouse_events: 0;
435             description { state: "default" 0.0;
436             }
437             description { state: "hidden" 0.0;
438                visible: 0;
439                color: 255 255 255 0;
440             }
441          }
442          part { name: "sb_vbar";
443             type: RECT;
444             mouse_events: 0;
445             description { state: "default" 0.0;
446                fixed: 1 1;
447                visible: 0;
448                min: 10 17;
449                align: 1.0 0.0;
450                rel1 {
451                   relative: 1.0 0.0;
452                   offset:   0 2;
453                   to_y:     "elm.swallow.content";
454                   to_x:     "elm.swallow.content";
455                }
456                rel2 {
457                   relative: 1.0 0.0;
458                   offset:   -1 -1;
459                   to_y:     "sb_hbar";
460                   to_x:     "elm.swallow.content";
461                }
462             }
463          }
464          part { name: "elm.dragable.vbar";
465             clip_to: "sb_vbar_clip";
466             mouse_events: 0;
467             dragable {
468                x: 0 0 0;
469                y: 1 1 0;
470                confine: "sb_vbar";
471             }
472             description { state: "default" 0.0;
473                fixed: 1 1;
474                min: 10 17;
475                max: 10 99999;
476                rel1 {
477                   relative: 0.5  0.5;
478                   offset:   0    0;
479                   to: "sb_vbar";
480                }
481                rel2 {
482                   relative: 0.5  0.5;
483                   offset:   0    0;
484                   to: "sb_vbar";
485                }
486                image {
487                   normal: "bt_sm_base2.png";
488                   border: 6 6 6 6;
489                   middle: SOLID;
490                }
491             }
492          }
493          part { name: "sb_vbar_over1";
494             clip_to: "sb_vbar_clip";
495             mouse_events: 0;
496             description { state: "default" 0.0;
497                rel1.to: "elm.dragable.vbar";
498                rel2.relative: 1.0 0.5;
499                rel2.to: "elm.dragable.vbar";
500                image {
501                   normal: "bt_sm_hilight.png";
502                   border: 6 6 6 0;
503                }
504             }
505          }
506          part { name: "sb_vbar_over2";
507             clip_to: "sb_vbar_clip";
508             mouse_events: 0;
509             description { state: "default" 0.0;
510                rel1.to: "elm.dragable.vbar";
511                rel2.to: "elm.dragable.vbar";
512                image {
513                   normal: "bt_sm_shine.png";
514                   border: 6 6 6 0;
515                }
516             }
517          }
518
519          part { name: "sb_hbar_clip_master";
520             type: RECT;
521             mouse_events: 0;
522             description { state: "default" 0.0;
523             }
524             description { state: "hidden" 0.0;
525                visible: 0;
526                color: 255 255 255 0;
527             }
528          }
529          part { name: "sb_hbar_clip";
530             clip_to: "sb_hbar_clip_master";
531             type: RECT;
532             mouse_events: 0;
533             description { state: "default" 0.0;
534             }
535             description { state: "hidden" 0.0;
536                visible: 0;
537                color: 255 255 255 0;
538             }
539          }
540          part { name: "sb_hbar";
541             type: RECT;
542             mouse_events: 0;
543             description { state: "default" 0.0;
544                fixed: 1 1;
545                visible: 0;
546                min: 17 10;
547                align: 0.0 1.0;
548                rel1 {
549                   relative: 0.0 1.0;
550                   offset:   2 0;
551                   to_x:     "elm.swallow.content";
552                   to_y:     "elm.swallow.content";
553                }
554                rel2 {
555                   relative: 0.0 1.0;
556                   offset:   -1 -1;
557                   to_x:     "sb_vbar";
558                   to_y:     "elm.swallow.content";
559                }
560             }
561          }
562          part { name: "elm.dragable.hbar";
563             clip_to: "sb_hbar_clip";
564             mouse_events: 0;
565             dragable {
566                x: 1 1 0;
567                y: 0 0 0;
568                confine: "sb_hbar";
569             }
570             description { state: "default" 0.0;
571                fixed: 1 1;
572                min: 17 10;
573                max: 99999 10;
574                rel1 {
575                   relative: 0.5  0.5;
576                   offset:   0    0;
577                   to: "sb_hbar";
578                }
579                rel2 {
580                   relative: 0.5  0.5;
581                   offset:   0    0;
582                   to: "sb_hbar";
583                }
584                image {
585                   normal: "bt_sm_base2.png";
586                   border: 4 4 4 4;
587                   middle: SOLID;
588                }
589             }
590          }
591          part { name: "sb_hbar_over1";
592             clip_to: "sb_hbar_clip";
593             mouse_events: 0;
594             description { state: "default" 0.0;
595                rel1.to: "elm.dragable.hbar";
596                rel2.relative: 1.0 0.5;
597                rel2.to: "elm.dragable.hbar";
598                image {
599                   normal: "bt_sm_hilight.png";
600                   border: 4 4 4 0;
601                }
602             }
603          }
604          part { name: "sb_hbar_over2";
605             clip_to: "sb_hbar_clip";
606             mouse_events: 0;
607             description { state: "default" 0.0;
608                rel1.to: "elm.dragable.hbar";
609                rel2.to: "elm.dragable.hbar";
610                image {
611                   normal: "bt_sm_shine.png";
612                   border: 4 4 4 0;
613                }
614             }
615          }
616          part { name: "disabler";
617             type: RECT;
618             description { state: "default" 0.0;
619                rel1.to: "clipper";
620                rel2.to: "clipper";
621                color: 0 0 0 0;
622                visible: 0;
623             }
624             description { state: "disabled" 0.0;
625                inherit: "default" 0.0;
626                visible: 1;
627                color: 128 128 128 128;
628             }
629          }
630       }
631       programs {
632          program { name: "load";
633             signal: "load";
634             source: "";
635             script {
636                set_state(PART:"sb_hbar_clip", "hidden", 0.0);
637                set_state(PART:"sb_vbar_clip", "hidden", 0.0);
638                set_int(sbvis_h, 0);
639                set_int(sbvis_v, 0);
640                set_int(sbalways_v, 0);
641                set_int(sbalways_h, 0);
642                set_int(sbvis_timer, 0);
643             }
644          }
645
646          program { name: "vbar_show";
647             signal: "elm,action,show,vbar";
648             source: "elm";
649             action:  STATE_SET "default" 0.0;
650             target: "sb_vbar_clip_master";
651          }
652          program { name: "vbar_hide";
653             signal: "elm,action,hide,vbar";
654             source: "elm";
655             action:  STATE_SET "hidden" 0.0;
656             target: "sb_vbar_clip_master";
657          }
658          program { name: "vbar_show_always";
659             signal: "elm,action,show_always,vbar";
660             source: "elm";
661             script {
662                new v;
663                v = get_int(sbvis_v);
664                v |= get_int(sbalways_v);
665                if (!v) {
666                   set_int(sbalways_v, 1);
667                   emit("do-show-vbar", "");
668                   set_int(sbvis_v, 1);
669                }
670             }
671          }
672          program { name: "vbar_show_notalways";
673             signal: "elm,action,show_notalways,vbar";
674             source: "elm";
675             script {
676                new v;
677                v = get_int(sbalways_v);
678                if (v) {
679                   set_int(sbalways_v, 0);
680                   v = get_int(sbvis_v);
681                   if (!v) {
682                      emit("do-hide-vbar", "");
683                      set_int(sbvis_v, 0);
684                   }
685                }
686             }
687          }
688          program { name: "sb_vbar_show";
689             signal: "do-show-vbar";
690             source: "";
691             action:  STATE_SET "default" 0.0;
692             transition: LINEAR 0.5;
693             target: "sb_vbar_clip";
694          }
695          program { name: "sb_vbar_hide";
696             signal: "do-hide-vbar";
697             source: "";
698             action:  STATE_SET "hidden" 0.0;
699             transition: LINEAR 0.5;
700             target: "sb_vbar_clip";
701          }
702
703          program { name: "hbar_show";
704             signal: "elm,action,show,hbar";
705             source: "elm";
706             action:  STATE_SET "default" 0.0;
707             target: "sb_hbar_clip_master";
708          }
709          program { name: "hbar_hide";
710             signal: "elm,action,hide,hbar";
711             source: "elm";
712             action:  STATE_SET "hidden" 0.0;
713             target: "sb_hbar_clip_master";
714          }
715          program { name: "hbar_show_always";
716             signal: "elm,action,show_always,hbar";
717             source: "elm";
718             script {
719                new v;
720                v = get_int(sbvis_h);
721                v |= get_int(sbalways_h);
722                if (!v) {
723                   set_int(sbalways_h, 1);
724                   emit("do-show-hbar", "");
725                   set_int(sbvis_h, 1);
726                }
727             }
728          }
729          program { name: "hbar_show_notalways";
730             signal: "elm,action,show_notalways,hbar";
731             source: "elm";
732             script {
733                new v;
734                v = get_int(sbalways_h);
735                if (v) {
736                   set_int(sbalways_h, 0);
737                   v = get_int(sbvis_h);
738                   if (!v) {
739                      emit("do-hide-hbar", "");
740                      set_int(sbvis_h, 0);
741                   }
742                }
743             }
744          }
745          program { name: "sb_hbar_show";
746             signal: "do-show-hbar";
747             source: "";
748             action:  STATE_SET "default" 0.0;
749             transition: LINEAR 0.5;
750             target: "sb_hbar_clip";
751          }
752          program { name: "sb_hbar_hide";
753             signal: "do-hide-hbar";
754             source: "";
755             action:  STATE_SET "hidden" 0.0;
756             transition: LINEAR 0.5;
757             target: "sb_hbar_clip";
758          }
759
760          program { name: "scroll";
761             signal: "elm,action,scroll";
762             source: "elm";
763             script {
764                new v;
765                v = get_int(sbvis_v);
766                v |= get_int(sbalways_v);
767                if (!v) {
768                   emit("do-show-vbar", "");
769                   set_int(sbvis_v, 1);
770                }
771                v = get_int(sbvis_h);
772                v |= get_int(sbalways_h);
773                if (!v) {
774                   emit("do-show-hbar", "");
775                   set_int(sbvis_h, 1);
776                }
777                v = get_int(sbvis_timer);
778                if (v > 0) cancel_timer(v);
779                v = timer(1.0, "timer0", 0);
780                set_int(sbvis_timer, v);
781             }
782          }
783
784          program { name: "highlight_show";
785             signal: "elm,action,focus_highlight,show";
786             source: "elm";
787             action: STATE_SET "enabled" 0.0;
788             transition: ACCELERATE 0.3;
789             target: "focus_highlight";
790             target: "conf_over";
791          }
792          program { name: "highlight_hide";
793             signal: "elm,action,focus_highlight,hide";
794             source: "elm";
795             action: STATE_SET "default" 0.0;
796             transition: DECELERATE 0.3;
797             target: "focus_highlight";
798             target: "conf_over";
799          }
800          program { name: "disable";
801             signal: "elm,state,disabled";
802             source: "elm";
803             action: STATE_SET "disabled" 0.0;
804             target: "disabler";
805          }
806          program { name: "enable";
807             signal: "elm,state,enabled";
808             source: "elm";
809             action: STATE_SET "default" 0.0;
810             target: "disabler";
811          }
812       }
813    }
814
815 ///////////////////////////////////////////////////////////////////////////////
816    group { name: "elm/scroller/entry/default";
817
818       data {
819          item: "focus_highlight" "on";
820       }
821
822       script {
823          public sbvis_v, sbvis_h, sbalways_v, sbalways_h, sbvis_timer;
824          public timer0(val) {
825             new v;
826             v = get_int(sbvis_v);
827             if (v) {
828                v = get_int(sbalways_v);
829                if (!v) {
830                   emit("do-hide-vbar", "");
831                   set_int(sbvis_v, 0);
832                }
833             }
834             v = get_int(sbvis_h);
835             if (v) {
836                v = get_int(sbalways_h);
837                if (!v) {
838                   emit("do-hide-hbar", "");
839                   set_int(sbvis_h, 0);
840                }
841             }
842             set_int(sbvis_timer, 0);
843             return 0;
844          }
845       }
846       images {
847          image: "shelf_inset.png" COMP;
848          image: "bt_sm_base2.png" COMP;
849          image: "bt_sm_shine.png" COMP;
850          image: "bt_sm_hilight.png" COMP;
851          image: "sl_bt2_2.png" COMP;
852       }
853       parts {
854          part { name: "bg";
855             type: RECT;
856             description { state: "default" 0.0;
857                rel1.offset: 2 2;
858                rel2.offset: -3 -3;
859             }
860          }
861          part { name: "clipper";
862             type: RECT;
863             mouse_events: 0;
864             description { state: "default" 0.0;
865                rel1.to: "bg";
866                rel2.to: "bg";
867                rel1.offset: 2 2;
868                rel2.offset: -3 -3;
869             }
870          }
871          part { name: "contentclipper";
872             type: RECT;
873             mouse_events: 0;
874             clip_to: "clipper";
875             description { state: "default" 0.0;
876                rel1.to: "elm.swallow.icon";
877                rel1.relative: 1.0 0.0;
878                rel2.to: "elm.swallow.end";
879                rel2.relative: 0.0 1.0;
880             }
881          }
882          part { name: "elm.swallow.icon";
883             type: SWALLOW;
884             clip_to: "clipper";
885             description { state: "default" 0.0;
886                fixed: 1 1;
887                rel1 {
888                   to: "bg";
889                   relative: 0.0 0.0;
890                   offset: 0 0;
891                }
892                rel2 {
893                   to: "bg";
894                   relative: 0.0 1.0;
895                   offset: -1 -1;
896                }
897                visible: 0;
898             }
899             description { state: "visible" 0.0;
900                fixed: 1 1;
901                align: 0.0 1.0;
902                rel1 {
903                   to: "bg";
904                   relative: 0.0 0.0;
905                   offset: 0 0;
906                }
907                rel2 {
908                   to: "bg";
909                   relative: 0.0 1.0;
910                   offset: -1 -1;
911                }
912                visible: 1;
913             }
914          }
915          part { name: "elm.swallow.end";
916             type: SWALLOW;
917             clip_to: "clipper";
918             description { state: "default" 0.0;
919                fixed: 1 1;
920                rel1 {
921                   to: "bg";
922                   relative: 1.0 0.0;
923                   offset: 0 0;
924                }
925                rel2 {
926                   to: "bg";
927                   relative: 1.0 1.0;
928                   offset: -1 -1;
929                }
930                visible: 0;
931             }
932             description { state: "visible" 0.0;
933                fixed: 1 1;
934                align: 1.0 1.0;
935                rel1 {
936                   to: "bg";
937                   relative: 1.0 0.0;
938                   offset: 0 0;
939                }
940                rel2 {
941                   to: "bg";
942                   relative: 1.0 1.0;
943                   offset: -1 -1;
944                }
945                visible: 1;
946             }
947          }
948          part { name: "elm.swallow.content";
949             clip_to: "contentclipper";
950             type: SWALLOW;
951             description { state: "default" 0.0;
952                rel1 {
953                 to: "elm.swallow.icon";
954                 relative: 1.0 0.0;
955                 offset: 4 4;
956                }
957                rel2 {
958                 to: "elm.swallow.end";
959                 relative: 0.0 1.0;
960                 offset: -5 -5;
961                }
962             }
963          }
964          part { name: "conf_over";
965             mouse_events:  0;
966             description { state: "default" 0.0;
967                rel1.to: "bg";
968                rel2.to: "bg";
969                image {
970                   normal: "shelf_inset.png";
971                   border: 7 7 7 7;
972                   middle: 0;
973                }
974                fill.smooth : 0;
975             }
976             description { state: "enabled" 0.0;
977                inherit: "default" 0.0;
978                color: 200 155 0 255;
979             }
980          }
981          part { name: "focus_highlight";
982             mouse_events: 0;
983             description { state: "default" 0.0;
984                rel1.offset: -1 -1;
985                rel2.offset: 0 0;
986                image {
987                   normal: "sl_bt2_2.png";
988                   border: 7 7 7 7;
989                   middle: 0;
990                }
991                fill.smooth : 0;
992                color: 200 155 0 0;
993             }
994             description { state: "enabled" 0.0;
995                inherit: "default" 0.0;
996                color: 200 155 0 255;
997             }
998          }
999          part { name: "sb_vbar_clip_master";
1000             type: RECT;
1001             mouse_events: 0;
1002             description { state: "default" 0.0;
1003             }
1004             description { state: "hidden" 0.0;
1005                visible: 0;
1006                color: 255 255 255 0;
1007             }
1008          }
1009          part { name: "sb_vbar_clip";
1010             clip_to: "sb_vbar_clip_master";
1011             type: RECT;
1012             mouse_events: 0;
1013             description { state: "default" 0.0;
1014             }
1015             description { state: "hidden" 0.0;
1016                visible: 0;
1017                color: 255 255 255 0;
1018             }
1019          }
1020          part { name: "sb_vbar";
1021             type: RECT;
1022             mouse_events: 0;
1023             description { state: "default" 0.0;
1024                fixed: 1 1;
1025                visible: 0;
1026                min: 10 17;
1027                align: 1.0 0.0;
1028                rel1 {
1029                   relative: 0.0 0.0;
1030                   offset:   -2 2;
1031                   to_y:     "elm.swallow.content";
1032                   to_x:     "elm.swallow.end";
1033                }
1034                rel2 {
1035                   relative: 0.0 0.0;
1036                   offset:   -2 -1;
1037                   to_y:     "sb_hbar";
1038                   to_x:     "elm.swallow.end";
1039                }
1040             }
1041          }
1042          part { name: "elm.dragable.vbar";
1043             clip_to: "sb_vbar_clip";
1044             mouse_events: 0;
1045             dragable {
1046                x: 0 0 0;
1047                y: 1 1 0;
1048                confine: "sb_vbar";
1049             }
1050             description { state: "default" 0.0;
1051                fixed: 1 1;
1052                min: 10 17;
1053                max: 10 99999;
1054                rel1 {
1055                   relative: 0.5  0.5;
1056                   offset:   0    0;
1057                   to: "sb_vbar";
1058                }
1059                rel2 {
1060                   relative: 0.5  0.5;
1061                   offset:   0    0;
1062                   to: "sb_vbar";
1063                }
1064                image {
1065                   normal: "bt_sm_base2.png";
1066                   border: 6 6 6 6;
1067                   middle: SOLID;
1068                }
1069             }
1070          }
1071          part { name: "sb_vbar_over1";
1072             clip_to: "sb_vbar_clip";
1073             mouse_events: 0;
1074             description { state: "default" 0.0;
1075                rel1.to: "elm.dragable.vbar";
1076                rel2.relative: 1.0 0.5;
1077                rel2.to: "elm.dragable.vbar";
1078                image {
1079                   normal: "bt_sm_hilight.png";
1080                   border: 6 6 6 0;
1081                }
1082             }
1083          }
1084          part { name: "sb_vbar_over2";
1085             clip_to: "sb_vbar_clip";
1086             mouse_events: 0;
1087             description { state: "default" 0.0;
1088                rel1.to: "elm.dragable.vbar";
1089                rel2.to: "elm.dragable.vbar";
1090                image {
1091                   normal: "bt_sm_shine.png";
1092                   border: 6 6 6 0;
1093                }
1094             }
1095          }
1096
1097          part { name: "sb_hbar_clip_master";
1098             type: RECT;
1099             mouse_events: 0;
1100             description { state: "default" 0.0;
1101             }
1102             description { state: "hidden" 0.0;
1103                visible: 0;
1104                color: 255 255 255 0;
1105             }
1106          }
1107          part { name: "sb_hbar_clip";
1108             clip_to: "sb_hbar_clip_master";
1109             type: RECT;
1110             mouse_events: 0;
1111             description { state: "default" 0.0;
1112             }
1113             description { state: "hidden" 0.0;
1114                visible: 0;
1115                color: 255 255 255 0;
1116             }
1117          }
1118          part { name: "sb_hbar";
1119             type: RECT;
1120             mouse_events: 0;
1121             description { state: "default" 0.0;
1122                fixed: 1 1;
1123                visible: 0;
1124                min: 17 10;
1125                align: 0.0 1.0;
1126                rel1 {
1127                   relative: 0.0 1.0;
1128                   offset:   2 0;
1129                   to_x:     "elm.swallow.content";
1130                   to_y:     "elm.swallow.content";
1131                }
1132                rel2 {
1133                   relative: 0.0 1.0;
1134                   offset:   -1 -1;
1135                   to_x:     "sb_vbar";
1136                   to_y:     "elm.swallow.content";
1137                }
1138             }
1139          }
1140          part { name: "elm.dragable.hbar";
1141             clip_to: "sb_hbar_clip";
1142             mouse_events: 0;
1143             dragable {
1144                x: 1 1 0;
1145                y: 0 0 0;
1146                confine: "sb_hbar";
1147             }
1148             description { state: "default" 0.0;
1149                fixed: 1 1;
1150                min: 17 10;
1151                max: 99999 10;
1152                rel1 {
1153                   relative: 0.5  0.5;
1154                   offset:   0    0;
1155                   to: "sb_hbar";
1156                }
1157                rel2 {
1158                   relative: 0.5  0.5;
1159                   offset:   0    0;
1160                   to: "sb_hbar";
1161                }
1162                image {
1163                   normal: "bt_sm_base2.png";
1164                   border: 4 4 4 4;
1165                   middle: SOLID;
1166                }
1167             }
1168          }
1169          part { name: "sb_hbar_over1";
1170             clip_to: "sb_hbar_clip";
1171             mouse_events: 0;
1172             description { state: "default" 0.0;
1173                rel1.to: "elm.dragable.hbar";
1174                rel2.relative: 1.0 0.5;
1175                rel2.to: "elm.dragable.hbar";
1176                image {
1177                   normal: "bt_sm_hilight.png";
1178                   border: 4 4 4 0;
1179                }
1180             }
1181          }
1182          part { name: "sb_hbar_over2";
1183             clip_to: "sb_hbar_clip";
1184             mouse_events: 0;
1185             description { state: "default" 0.0;
1186                rel1.to: "elm.dragable.hbar";
1187                rel2.to: "elm.dragable.hbar";
1188                image {
1189                   normal: "bt_sm_shine.png";
1190                   border: 4 4 4 0;
1191                }
1192             }
1193          }
1194       }
1195       programs {
1196          program { name: "load";
1197             signal: "load";
1198             source: "";
1199             script {
1200                set_state(PART:"sb_hbar_clip", "hidden", 0.0);
1201                set_state(PART:"sb_vbar_clip", "hidden", 0.0);
1202                set_int(sbvis_h, 0);
1203                set_int(sbvis_v, 0);
1204                set_int(sbalways_v, 0);
1205                set_int(sbalways_h, 0);
1206                set_int(sbvis_timer, 0);
1207             }
1208          }
1209          program { name: "icon_show";
1210             signal: "elm,action,show,icon";
1211             source: "elm";
1212             action: STATE_SET "visible" 0.0;
1213             target: "elm.swallow.icon";
1214          }
1215          program { name: "icon_hide";
1216             signal: "elm,action,hide,icon";
1217             source: "elm";
1218             action: STATE_SET "default" 0.0;
1219             target: "elm.swallow.icon";
1220          }
1221          program { name: "end_show";
1222             signal: "elm,action,show,end";
1223             source: "elm";
1224             action: STATE_SET "visible" 0.0;
1225             target: "elm.swallow.end";
1226          }
1227          program { name: "end_hide";
1228             signal: "elm,action,hide,end";
1229             source: "elm";
1230             action: STATE_SET "default" 0.0;
1231             target: "elm.swallow.end";
1232          }
1233          program { name: "vbar_show";
1234             signal: "elm,action,show,vbar";
1235             source: "elm";
1236             action:  STATE_SET "default" 0.0;
1237             target: "sb_vbar_clip_master";
1238          }
1239          program { name: "vbar_hide";
1240             signal: "elm,action,hide,vbar";
1241             source: "elm";
1242             action:  STATE_SET "hidden" 0.0;
1243             target: "sb_vbar_clip_master";
1244          }
1245          program { name: "vbar_show_always";
1246             signal: "elm,action,show_always,vbar";
1247             source: "elm";
1248             script {
1249                new v;
1250                v = get_int(sbvis_v);
1251                v |= get_int(sbalways_v);
1252                if (!v) {
1253                   set_int(sbalways_v, 1);
1254                   emit("do-show-vbar", "");
1255                   set_int(sbvis_v, 1);
1256                }
1257             }
1258          }
1259          program { name: "vbar_show_notalways";
1260             signal: "elm,action,show_notalways,vbar";
1261             source: "elm";
1262             script {
1263                new v;
1264                v = get_int(sbalways_v);
1265                if (v) {
1266                   set_int(sbalways_v, 0);
1267                   v = get_int(sbvis_v);
1268                   if (!v) {
1269                      emit("do-hide-vbar", "");
1270                      set_int(sbvis_v, 0);
1271                   }
1272                }
1273             }
1274          }
1275          program { name: "sb_vbar_show";
1276             signal: "do-show-vbar";
1277             source: "";
1278             action:  STATE_SET "default" 0.0;
1279             transition: LINEAR 0.5;
1280             target: "sb_vbar_clip";
1281          }
1282          program { name: "sb_vbar_hide";
1283             signal: "do-hide-vbar";
1284             source: "";
1285             action:  STATE_SET "hidden" 0.0;
1286             transition: LINEAR 0.5;
1287             target: "sb_vbar_clip";
1288          }
1289
1290          program { name: "hbar_show";
1291             signal: "elm,action,show,hbar";
1292             source: "elm";
1293             action:  STATE_SET "default" 0.0;
1294             target: "sb_hbar_clip_master";
1295          }
1296          program { name: "hbar_hide";
1297             signal: "elm,action,hide,hbar";
1298             source: "elm";
1299             action:  STATE_SET "hidden" 0.0;
1300             target: "sb_hbar_clip_master";
1301          }
1302          program { name: "hbar_show_always";
1303             signal: "elm,action,show_always,hbar";
1304             source: "elm";
1305             script {
1306                new v;
1307                v = get_int(sbvis_h);
1308                v |= get_int(sbalways_h);
1309                if (!v) {
1310                   set_int(sbalways_h, 1);
1311                   emit("do-show-hbar", "");
1312                   set_int(sbvis_h, 1);
1313                }
1314             }
1315          }
1316          program { name: "hbar_show_notalways";
1317             signal: "elm,action,show_notalways,hbar";
1318             source: "elm";
1319             script {
1320                new v;
1321                v = get_int(sbalways_h);
1322                if (v) {
1323                   set_int(sbalways_h, 0);
1324                   v = get_int(sbvis_h);
1325                   if (!v) {
1326                      emit("do-hide-hbar", "");
1327                      set_int(sbvis_h, 0);
1328                   }
1329                }
1330             }
1331          }
1332          program { name: "sb_hbar_show";
1333             signal: "do-show-hbar";
1334             source: "";
1335             action:  STATE_SET "default" 0.0;
1336             transition: LINEAR 0.5;
1337             target: "sb_hbar_clip";
1338          }
1339          program { name: "sb_hbar_hide";
1340             signal: "do-hide-hbar";
1341             source: "";
1342             action:  STATE_SET "hidden" 0.0;
1343             transition: LINEAR 0.5;
1344             target: "sb_hbar_clip";
1345          }
1346
1347          program { name: "scroll";
1348             signal: "elm,action,scroll";
1349             source: "elm";
1350             script {
1351                new v;
1352                v = get_int(sbvis_v);
1353                v |= get_int(sbalways_v);
1354                if (!v) {
1355                   emit("do-show-vbar", "");
1356                   set_int(sbvis_v, 1);
1357                }
1358                v = get_int(sbvis_h);
1359                v |= get_int(sbalways_h);
1360                if (!v) {
1361                   emit("do-show-hbar", "");
1362                   set_int(sbvis_h, 1);
1363                }
1364                v = get_int(sbvis_timer);
1365                if (v > 0) cancel_timer(v);
1366                v = timer(1.0, "timer0", 0);
1367                set_int(sbvis_timer, v);
1368             }
1369          }
1370
1371          program { name: "highlight_show";
1372             signal: "elm,action,focus_highlight,show";
1373             source: "elm";
1374             action: STATE_SET "enabled" 0.0;
1375             transition: ACCELERATE 0.3;
1376             target: "focus_highlight";
1377             target: "conf_over";
1378          }
1379          program { name: "highlight_hide";
1380             signal: "elm,action,focus_highlight,hide";
1381             source: "elm";
1382             action: STATE_SET "default" 0.0;
1383             transition: DECELERATE 0.3;
1384             target: "focus_highlight";
1385             target: "conf_over";
1386          }
1387       }
1388    }
1389
1390 ///////////////////////////////////////////////////////////////////////////////
1391 #define TEXT_SLIDE_DURATION     10
1392
1393    group { name: "elm/label/base/default";
1394       data.item: "default_font_size" "10";
1395       data.item: "min_font_size" "6";
1396       data.item: "max_font_size" "60";
1397       styles {
1398          style { name: "textblock_style";
1399             base: "font=Sans font_size=10 color=#000 wrap=word text_class=label";
1400             tag:  "br" "\n";
1401             tag:  "ps" "ps";
1402             tag:  "hilight" "+ font=Sans:style=Bold";
1403             tag:  "b" "+ font=Sans:style=Bold";
1404             tag:  "tab" "\t";
1405            }
1406         }
1407       parts {
1408          part { name: "label.swallow.background";
1409             type: SWALLOW;
1410             description { state: "default" 0.0;
1411                visible: 1;
1412             }
1413          }
1414          part { name: "label.text.clip";
1415             type: RECT;
1416             description { state: "default" 0.0;
1417                rel1 { relative: 0 0; to: "label.swallow.background"; }
1418                rel2 { relative: 1 1; to: "label.swallow.background"; }
1419             }
1420          }
1421          part { name: "elm.text";
1422             type: TEXTBLOCK;
1423             mouse_events: 0;
1424             scale: 1;
1425             clip_to: "label.text.clip";
1426             description { state: "default" 0.0;
1427                rel1.relative: 0.0 0.0;
1428                rel2.relative: 1.0 1.0;
1429                text {
1430                   style: "textblock_style";
1431                   min: 1 1;
1432                }
1433             }
1434          }
1435       }
1436    }
1437
1438    group { name: "elm/label/base_wrap/default";
1439       data.item: "default_font_size" "10";
1440       data.item: "min_font_size" "6";
1441       data.item: "max_font_size" "60";
1442       parts {
1443          part { name: "label.swallow.background";
1444             type: SWALLOW;
1445             description { state: "default" 0.0;
1446                visible: 1;
1447                rel1 { relative: 0 0; to: "elm.text"; }
1448                rel2 { relative: 1 1; to: "elm.text"; }
1449             }
1450          }
1451          part { name: "elm.text";
1452             type: TEXTBLOCK;
1453             mouse_events: 0;
1454             scale: 1;
1455             description { state: "default" 0.0;
1456                text {
1457                   style: "textblock_style";
1458                   min: 0 1;
1459                }
1460             } 
1461          }
1462       }
1463    } 
1464
1465    group { name: "elm/label/base_wrap_ellipsis/default";
1466       data.item: "default_font_size" "10";
1467       data.item: "min_font_size" "6";
1468       data.item: "max_font_size" "60";
1469       parts {
1470          part { name: "label.swallow.background";
1471             type: SWALLOW;
1472             description { state: "default" 0.0;
1473                visible: 1;
1474                rel1 { relative: 0 0; to: "elm.text"; }
1475                rel2 { relative: 1 1; to: "elm.text"; }
1476             }
1477          }
1478          part { name: "elm.text";
1479             type: TEXTBLOCK;
1480             mouse_events: 0;
1481             scale: 1;
1482             multiline: 1;
1483             description { state: "default" 0.0;
1484                fixed: 0 1; 
1485                text {
1486                   style: "textblock_style";
1487                   min: 0 1;
1488                }
1489             }
1490          }
1491       }
1492    }
1493
1494    group { name: "elm/label/base/marker";
1495       data.item: "default_font_size" "10";
1496       data.item: "min_font_size" "6";
1497       data.item: "max_font_size" "60";
1498       styles {
1499          style { name: "textblock_style2";
1500            base: "font=Sans:style=Bold font_size=10 align=center color=#fff wrap=word text_class=label";
1501            tag:  "br" "\n";
1502            tag:  "ps" "ps";
1503            tag:  "hilight" "+ color=#ffff";
1504            tag:  "b" "+ color=#ffff";
1505            tag:  "tab" "\t";
1506          }
1507       }
1508       parts {
1509          part { name: "label.swallow.background";
1510             type: SWALLOW;
1511             description { state: "default" 0.0;
1512                visible: 1;
1513                rel1 { relative: 0 0; to: "elm.text"; }
1514                rel2 { relative: 1 1; to: "elm.text"; }
1515             }
1516          }
1517          part { name: "elm.text";
1518             type: TEXTBLOCK;
1519             mouse_events: 0;
1520             scale: 1;
1521             description { state: "default" 0.0;
1522                text {
1523                   style: "textblock_style2";
1524                   min: 1 1;
1525                }
1526             }
1527          }
1528       }
1529    }
1530
1531    group { name: "elm/label/base_wrap/marker";
1532       data.item: "default_font_size" "10";
1533       data.item: "min_font_size" "6";
1534       data.item: "max_font_size" "60";
1535       parts {
1536          part { name: "label.swallow.background";
1537             type: SWALLOW;
1538             description { state: "default" 0.0;
1539                visible: 1;
1540                rel1 { relative: 0 0; to: "elm.text"; }
1541                rel2 { relative: 1 1; to: "elm.text"; }
1542             }
1543          }
1544          part { name: "elm.text";
1545             type: TEXTBLOCK;
1546             mouse_events: 0;
1547             scale: 1;
1548             description { state: "default" 0.0;
1549                text {
1550                   style: "textblock_style2";
1551                   min: 0 1;
1552                }
1553             }
1554          }
1555       }
1556    }
1557
1558    group { name: "elm/label/base/slide_long";
1559       data.item: "default_font_size" "10";
1560       data.item: "min_font_size" "6";
1561       data.item: "max_font_size" "60";
1562       
1563       script {
1564         public g_duration, g_stopslide, g_timer_id, g_anim_id;
1565           
1566         public message(Msg_Type:type, id, ...) {
1567            if ((type == MSG_FLOAT_SET) && (id == 0)) {
1568               new Float:duration;
1569               duration = getarg(2);
1570               set_float(g_duration, duration);
1571            }
1572         }
1573         public slide_to_end_anim(val, Float:pos) {
1574            new stopflag;
1575            new id;
1576            stopflag = get_int(g_stopslide);
1577            if (stopflag == 1) return;
1578            set_tween_state(PART:"elm.text", pos, "slide_begin", 0.0, "slide_end", 0.0);
1579            if (pos >= 1.0) {
1580               id = timer(0.5, "slide_to_begin", 1);
1581               set_int(g_timer_id, id);
1582            }
1583         }
1584         public slide_to_end() {
1585            new stopflag;
1586            new id;
1587            new Float:duration;
1588            stopflag = get_int(g_stopslide);
1589            if (stopflag == 1) return;
1590            duration = get_float(g_duration);
1591            id = anim(duration, "slide_to_end_anim", 1);
1592            set_int(g_anim_id, id);
1593         }
1594         public slide_to_begin() {
1595            new stopflag;
1596            new id;
1597            stopflag = get_int(g_stopslide);
1598            if (stopflag == 1) return;
1599            set_state(PART:"elm.text", "slide_begin", 0.0);
1600            id = timer(0.5, "slide_to_end", 1);
1601            set_int(g_timer_id, id);
1602         }
1603         public start_slide() {
1604            set_int(g_stopslide, 0);
1605            set_state(PART:"elm.text", "slide_begin", 0.0);
1606            slide_to_end();
1607         }
1608         public stop_slide() {
1609            new id;
1610            set_int(g_stopslide, 1);
1611            id = get_int(g_anim_id);
1612            cancel_anim(id);
1613            id = get_int(g_timer_id);
1614            cancel_timer(id);
1615            set_state(PART:"elm.text", "default", 0.0);
1616         }
1617       }
1618        
1619       parts {
1620          part { name: "label.swallow.background";
1621             type: SWALLOW;
1622             description { state: "default" 0.0;
1623                visible: 1;
1624             }
1625          }
1626          part { name: "label.text.clip";
1627             type: RECT;
1628             description { state: "default" 0.0;
1629                visible: 1;
1630                color: 255 255 255 255;
1631                rel1 { relative: 0 0; to: "label.swallow.background"; }
1632                rel2 { relative: 1 1; to: "label.swallow.background"; }
1633             }
1634          }
1635          part { name: "elm.text";
1636             type: TEXTBLOCK;
1637             mouse_events: 0;
1638             scale: 1;
1639             clip_to: "label.text.clip";
1640             description { state: "default" 0.0;
1641                rel1.relative: 0.0 0.0;
1642                rel2.relative: 1.0 1.0;
1643                align: 0.0 0.0;
1644                text {
1645                   style: "textblock_style";
1646                   min: 1 1;
1647                }
1648             }
1649             description { state: "slide_end" 0.0;
1650                inherit: "default" 0.0;
1651                rel1.relative: 0.0 0.0;
1652                rel2.relative: 0.0 1.0;
1653                align: 1.0 0.0;
1654             }
1655             description { state: "slide_begin" 0.0;
1656                inherit: "default" 0.0;
1657                rel1.relative: 1.0 0.0;
1658                rel2.relative: 1.0 1.0;
1659                align: 0.0 0.0;
1660             }
1661          }
1662        }
1663        programs {
1664           program { name: "start_slide";
1665              source: "elm";
1666              signal: "elm,state,slide,start";
1667              script
1668                {
1669                   start_slide();
1670                }
1671           }
1672           program { name: "stop_slide";
1673              source: "elm";
1674              signal: "elm,state,slide,stop";
1675              script
1676                {
1677                   stop_slide();
1678                }
1679           }
1680        }
1681    }
1682    
1683
1684    group { name: "elm/label/base/slide_short";
1685       data.item: "default_font_size" "10";
1686       data.item: "min_font_size" "6";
1687       data.item: "max_font_size" "60";
1688
1689       script {
1690          public g_duration, g_stopslide, g_timer_id, g_anim_id;
1691          
1692          public message(Msg_Type:type, id, ...) {
1693             if ((type == MSG_FLOAT_SET) && (id == 0)) {
1694                new Float:duration;
1695                duration = getarg(2);
1696                set_float(g_duration, duration);
1697             }
1698          }
1699          public slide_to_end_anim(val, Float:pos) {
1700             new stopflag;
1701             new id;
1702             stopflag = get_int(g_stopslide);
1703             if (stopflag == 1) return;
1704             set_tween_state(PART:"elm.text", pos, "slide_begin", 0.0, "slide_end", 0.0);
1705             if (pos >= 1.0) {
1706                id = timer(0.5, "slide_to_begin", 1);
1707                set_int(g_timer_id, id);
1708             }
1709          }
1710          public slide_to_end() {
1711             new stopflag;
1712             new id;
1713             new Float:duration;
1714             stopflag = get_int(g_stopslide);
1715             if (stopflag == 1) return;
1716             duration = get_float(g_duration);
1717             id = anim(duration, "slide_to_end_anim", 1);
1718             set_int(g_anim_id, id);
1719          }
1720          public slide_to_begin() {
1721             new stopflag;
1722             new id;
1723             stopflag = get_int(g_stopslide);
1724             if (stopflag == 1) return;
1725             set_state(PART:"elm.text", "slide_begin", 0.0);
1726             id = timer(0.5, "slide_to_end", 1);
1727             set_int(g_timer_id, id);
1728          }
1729          public start_slide() {
1730             set_int(g_stopslide, 0);
1731             set_state(PART:"elm.text", "slide_begin", 0.0);
1732             slide_to_end();
1733          }
1734          public stop_slide() {
1735             new id;
1736             set_int(g_stopslide, 1);
1737             id = get_int(g_anim_id);
1738             cancel_anim(id);
1739             id = get_int(g_timer_id);
1740             cancel_timer(id);
1741             set_state(PART:"elm.text", "default", 0.0);
1742          }
1743       }
1744
1745       parts {
1746          part { name: "label.swallow.background";
1747             type: SWALLOW;
1748             description { state: "default" 0.0;
1749                visible: 1;
1750             }
1751          }
1752          part { name: "label.text.clip";
1753             type: RECT;
1754             description { state: "default" 0.0;
1755                visible: 1;
1756                color: 255 255 255 255;
1757                rel1 { relative: 0 0; to: "label.swallow.background"; }
1758                rel2 { relative: 1 1; to: "label.swallow.background"; }
1759             }
1760          }
1761          part { name: "elm.text";
1762             type: TEXTBLOCK;
1763             mouse_events: 0;
1764             scale: 1;
1765             clip_to: "label.text.clip";
1766             description { state: "default" 0.0;
1767                rel1.relative: 0.0 0.0;
1768                rel2.relative: 1.0 1.0;
1769                align: 0.0 0.0;
1770                text {
1771                   style: "textblock_style";
1772                   min: 1 1;
1773                }
1774             }
1775             description { state: "slide_end" 0.0;
1776                inherit: "default" 0.0;
1777                rel1.relative: 1.0 0.0;
1778                rel2.relative: 1.0 1.0;
1779                align: 1.0 0.0;
1780             }
1781             description { state: "slide_begin" 0.0;
1782                inherit: "default" 0.0;
1783                rel1.relative: 0.0 0.0;
1784                rel2.relative: 0.0 1.0;
1785                align: 0.0 0.0;
1786             }
1787          }
1788       }
1789       programs {
1790          program { name: "start_slide";
1791             source: "elm";
1792             signal: "elm,state,slide,start";
1793             script
1794               {
1795                  start_slide();
1796               }
1797          }
1798          program { name: "stop_slide";
1799             source: "elm";
1800             signal: "elm,state,slide,stop";
1801             script
1802               {
1803                  stop_slide();
1804               }
1805          }
1806       }
1807    }
1808
1809    group { name: "elm/label/base/slide_bounce";
1810       data.item: "default_font_size" "10";
1811       data.item: "min_font_size" "6";
1812       data.item: "max_font_size" "60";
1813       
1814       script {
1815          public g_duration, g_stopslide, g_timer_id, g_anim_id;
1816          
1817          public message(Msg_Type:type, id, ...) {
1818             if ((type == MSG_FLOAT_SET) && (id == 0)) {
1819                new Float:duration;
1820                duration = getarg(2);
1821                set_float(g_duration, duration);
1822             }
1823          }
1824          public slide_to_end_anim(val, Float:pos) {
1825             new stopflag;
1826             new id;
1827             stopflag = get_int(g_stopslide);
1828             if (stopflag == 1) return;
1829             set_tween_state(PART:"elm.text", pos, "slide_begin", 0.0, "slide_end", 0.0);
1830             if (pos >= 1.0) {
1831                id = timer(0.5, "slide_to_begin", 1);
1832                set_int(g_timer_id, id);
1833             }
1834          }
1835          public slide_to_end() {
1836             new stopflag;
1837             new id;
1838             new Float:duration;
1839             stopflag = get_int(g_stopslide);
1840             if (stopflag == 1) return;
1841             duration = get_float(g_duration);
1842             id = anim(duration, "slide_to_end_anim", 1);
1843             set_int(g_anim_id, id);
1844          }
1845          public slide_to_begin_anim(val, Float:pos) {
1846             new stopflag;
1847             new id;
1848             stopflag = get_int(g_stopslide);
1849             if (stopflag == 1) return;
1850             set_tween_state(PART:"elm.text", pos, "slide_end", 0.0, "slide_begin", 0.0);
1851             if (pos >= 1.0) {
1852                id = timer(0.5, "slide_to_end", 1);
1853                set_int(g_timer_id, id);
1854             }
1855          }
1856          public slide_to_begin() {
1857             new stopflag;
1858             new id;
1859             new Float:duration;
1860             stopflag = get_int(g_stopslide);
1861             if (stopflag == 1) return;
1862             duration = get_float(g_duration);
1863             id = anim(duration, "slide_to_begin_anim", 1);
1864             set_int(g_anim_id, id);
1865          }
1866          public start_slide() {
1867             set_int(g_stopslide, 0);
1868             set_state(PART:"elm.text", "slide_begin", 0.0);
1869             slide_to_end();
1870          }
1871          public stop_slide() {
1872             new id;
1873             set_int(g_stopslide, 1);
1874             id = get_int(g_anim_id);
1875             cancel_anim(id);
1876             id = get_int(g_timer_id);
1877             cancel_timer(id);
1878             set_state(PART:"elm.text", "default", 0.0);
1879          }
1880       }
1881
1882       parts {
1883          part { name: "label.swallow.background";
1884             type: SWALLOW;
1885             description { state: "default" 0.0;
1886                visible: 1;
1887             }
1888          }
1889          part { name: "label.text.clip";
1890             type: RECT;
1891             description { state: "default" 0.0;
1892                visible: 1;
1893                color: 255 255 255 255;
1894                rel1 { relative: 0 0; to: "label.swallow.background"; }
1895                rel2 { relative: 1 1; to: "label.swallow.background"; }
1896             }
1897          }
1898          part { name: "elm.text";
1899             type: TEXTBLOCK;
1900             mouse_events: 0;
1901             scale: 1;
1902             clip_to: "label.text.clip";
1903             description { state: "default" 0.0;
1904                rel1.relative: 0.0 0.0;
1905                rel2.relative: 1.0 1.0;
1906                align: 0.0 0.0;
1907                text {
1908                   style: "textblock_style";
1909                   min: 1 1;
1910                }
1911             }
1912             description { state: "slide_end" 0.0;
1913                inherit: "default" 0.0;
1914                rel1.relative: 1.0 0.0;
1915                rel2.relative: 1.0 1.0;
1916                align: 1.0 0.0;
1917             }
1918             description { state: "slide_begin" 0.0;
1919                inherit: "default" 0.0;
1920                rel1.relative: 0.0 0.0;
1921                rel2.relative: 0.0 1.0;
1922                align: 0.0 0.0;
1923             }
1924          }
1925       }
1926       programs {
1927          program { name: "start_slide";
1928             source: "elm";
1929             signal: "elm,state,slide,start";
1930             script
1931               {
1932                  start_slide();
1933               }
1934          }
1935          program { name: "stop_slide";
1936             source: "elm";
1937             signal: "elm,state,slide,stop";
1938             script
1939               {
1940                  stop_slide();
1941               }
1942          }
1943       }
1944    }
1945
1946
1947 ///////////////////////////////////////////////////////////////////////////////
1948
1949    group { name: "elm/button/base/default";
1950       images {
1951          image: "bt_base1.png" COMP;
1952          image: "bt_base2.png" COMP;
1953          image: "bt_hilight.png" COMP;
1954          image: "bt_shine.png" COMP;
1955          image: "bt_glow.png" COMP;
1956          image: "bt_dis_base.png" COMP;
1957          image: "bt_dis_hilight.png" COMP;
1958       }
1959       parts {
1960          part { name: "button_image";
1961             mouse_events: 1;
1962             description { state: "default" 0.0;
1963           min: 15 15;
1964                image {
1965                   normal: "bt_base2.png";
1966                   border: 7 7 7 7;
1967                }
1968                image.middle: SOLID;
1969             }
1970             description { state: "clicked" 0.0;
1971                inherit: "default" 0.0;
1972                image.normal: "bt_base1.png";
1973                image.middle: SOLID;
1974             }
1975             description { state: "disabled" 0.0;
1976                inherit:  "default" 0.0;
1977                image {
1978                   normal: "bt_dis_base.png";
1979                   border: 4 4 4 4;
1980                }
1981             }
1982          }
1983          part { name: "elm.swallow.content";
1984             type: SWALLOW;
1985             description { state: "default" 0.0;
1986                fixed: 1 0;
1987                visible: 0;
1988                align: 0.0 0.5;
1989                rel1.offset: 4 4;
1990                rel2.offset: 3 -5;
1991                rel2.relative: 0.0 1.0;
1992             }
1993             description { state: "visible" 0.0;
1994                inherit: "default" 0.0;
1995                fixed: 1 0;
1996                visible: 1;
1997                aspect: 1.0 1.0;
1998 //             aspect_preference: VERTICAL;
1999                rel2.offset: 4 -5;
2000             }
2001             description { state: "icononly" 0.0;
2002                inherit: "default" 0.0;
2003                fixed: 0 0;
2004                visible: 1;
2005                align: 0.5 0.5;
2006 //             aspect: 1.0 1.0;
2007                rel2.offset: -5 -5;
2008                rel2.relative: 1.0 1.0;
2009 //             aspect_preference: VERTICAL;
2010             }
2011          }
2012          part {
2013             name:          "elm.text";
2014             type:          TEXT;
2015             effect:        SOFT_SHADOW;
2016             mouse_events:  0;
2017             scale: 1;
2018             description { state: "default" 0.0;
2019                visible: 0;
2020                rel1.to_x: "elm.swallow.content";
2021                rel1.relative: 1.0 0.0;
2022                rel1.offset: 0 4;
2023                rel2.offset: -5 -5;
2024                color: 224 224 224 255;
2025                color3: 0 0 0 64;
2026                text {
2027                   font:     "Sans,Edje-Vera";
2028                   size:     10;
2029                   min:      0 0;
2030                   align:    0.5 0.5;
2031                   text_class: "button";
2032                }
2033             }
2034             description { state: "visible" 0.0;
2035                inherit: "default" 0.0;
2036                visible: 1;
2037                text.min: 1 1;
2038             }
2039             description { state: "disabled" 0.0;
2040                inherit: "default" 0.0;
2041                color: 0 0 0 128;
2042                color3: 0 0 0 0;
2043             }
2044             description { state: "disabled_visible" 0.0;
2045                inherit: "default" 0.0;
2046                color: 0 0 0 128;
2047                color3: 0 0 0 0;
2048                visible: 1;
2049                text.min: 1 1;
2050             }
2051          }
2052          part {   name: "over1";
2053             mouse_events: 0;
2054             description { state: "default" 0.0;
2055                rel2.relative: 1.0 0.5;
2056                image {
2057                   normal: "bt_hilight.png";
2058                   border: 7 7 7 0;
2059                }
2060             }
2061             description { state: "disabled" 0.0;
2062                inherit:  "default" 0.0;
2063                image {
2064                   normal: "bt_dis_hilight.png";
2065                   border: 4 4 4 0;
2066                }
2067             }
2068          }
2069          part { name: "over2";
2070             mouse_events: 1;
2071             repeat_events: 1;
2072             ignore_flags: ON_HOLD;
2073             description { state: "default" 0.0;
2074                image {
2075                   normal: "bt_shine.png";
2076                   border: 7 7 7 7;
2077                }
2078             }
2079             description { state: "disabled" 0.0;
2080                inherit:  "default" 0.0;
2081                visible: 0;
2082             }
2083          }
2084          part { name: "over3";
2085             mouse_events: 1;
2086             repeat_events: 1;
2087             description { state: "default" 0.0;
2088                color: 255 255 255 0;
2089                image {
2090                   normal: "bt_glow.png";
2091                   border: 12 12 12 12;
2092                }
2093                fill.smooth : 0;
2094             }
2095             description { state: "clicked" 0.0;
2096                inherit:  "default" 0.0;
2097                color: 255 255 255 255;
2098             }
2099          }
2100          part { name: "disabler";
2101             type: RECT;
2102             description { state: "default" 0.0;
2103                color: 0 0 0 0;
2104                visible: 0;
2105             }
2106             description { state: "disabled" 0.0;
2107                inherit: "default" 0.0;
2108                visible: 1;
2109             }
2110          }
2111       }
2112       programs {
2113          program {
2114             name:   "button_click";
2115             signal: "mouse,down,1";
2116             source: "over2";
2117             action: SIGNAL_EMIT "elm,action,press" "";
2118             after: "button_click_anim";
2119          }
2120          program {
2121             name:   "button_click_anim";
2122             action: STATE_SET "clicked" 0.0;
2123             target: "button_image";
2124          }
2125          program {
2126             name:   "button_unclick";
2127             signal: "mouse,up,1";
2128             source: "over3";
2129             action: SIGNAL_EMIT "elm,action,unpress" "";
2130             after: "button_unclick_anim";
2131          }
2132          program {
2133             name:   "button_pressed_anim";
2134             signal: "elm,anim,activate";
2135             source: "elm";
2136             action: STATE_SET "clicked" 0.0;
2137             target: "button_image";
2138             target: "over3";
2139             after: "button_unpressed_anim";
2140          }
2141          program {
2142             name:   "button_unpressed_anim";
2143             action: STATE_SET "default" 0.0;
2144             transition: DECELERATE 0.5;
2145             target: "button_image";
2146             target: "over3";
2147          }
2148          program {
2149             name:   "button_unclick_anim";
2150             action: STATE_SET "default" 0.0;
2151             target: "button_image";
2152          }
2153          program {
2154             name:   "button_click2";
2155             signal: "mouse,down,1";
2156             source: "over3";
2157             action: STATE_SET "clicked" 0.0;
2158             target: "over3";
2159          }
2160          program {
2161             name:   "button_unclick2";
2162             signal: "mouse,up,1";
2163             source: "over3";
2164             action: STATE_SET "default" 0.0;
2165             transition: DECELERATE 0.5;
2166             target: "over3";
2167          }
2168          program {
2169             name:   "button_unclick3";
2170             signal: "mouse,clicked,1";
2171             source: "over2";
2172             action: SIGNAL_EMIT "elm,action,click" "";
2173          }
2174          program { name: "text_show";
2175             signal: "elm,state,text,visible";
2176             source: "elm";
2177             script {
2178                new st[31];
2179                new Float:vl;
2180                get_state(PART:"elm.swallow.content", st, 30, vl);
2181                if (!strcmp(st, "icononly"))
2182                  set_state(PART:"elm.swallow.content", "visible", 0.0);
2183                set_state(PART:"elm.text", "visible", 0.0);
2184             }
2185          }
2186          program { name: "text_hide";
2187             signal: "elm,state,text,hidden";
2188             source: "elm";
2189             script {
2190                new st[31];
2191                new Float:vl;
2192                get_state(PART:"elm.swallow.content", st, 30, vl);
2193                if (!strcmp(st, "visible"))
2194                  set_state(PART:"elm.swallow.content", "icononly", 0.0);
2195                set_state(PART:"elm.text", "default", 0.0);
2196             }
2197          }
2198          program { name: "icon_show";
2199             signal: "elm,state,icon,visible";
2200             source: "elm";
2201             script {
2202                new st[31];
2203                new Float:vl;
2204                get_state(PART:"elm.text", st, 30, vl);
2205                if (!strcmp(st, "visible"))
2206                  set_state(PART:"elm.swallow.content", "visible", 0.0);
2207                else
2208                  set_state(PART:"elm.swallow.content", "icononly", 0.0);
2209             }
2210          }
2211          program { name: "icon_hide";
2212             signal: "elm,state,icon,hidden";
2213             source: "elm";
2214             action:  STATE_SET "default" 0.0;
2215             target: "elm.swallow.content";
2216          }
2217          program { name: "disable";
2218             signal: "elm,state,disabled";
2219             source: "elm";
2220             action: STATE_SET "disabled" 0.0;
2221             target: "button_image";
2222             target: "over1";
2223             target: "over2";
2224             target: "disabler";
2225             after: "disable_text";
2226          }
2227          program { name: "disable_text";
2228             script {
2229                new st[31];
2230                new Float:vl;
2231                get_state(PART:"elm.text", st, 30, vl);
2232                if (!strcmp(st, "visible"))
2233                  set_state(PART:"elm.text", "disabled_visible", 0.0);
2234                else
2235                  set_state(PART:"elm.text", "disabled", 0.0);
2236             }
2237          }
2238          program { name: "enable";
2239             signal: "elm,state,enabled";
2240             source: "elm";
2241             action: STATE_SET "default" 0.0;
2242             target: "button_image";
2243             target: "over1";
2244             target: "over2";
2245             target: "disabler";
2246             after: "enable_text";
2247          }
2248          program { name: "enable_text";
2249             script {
2250                new st[31];
2251                new Float:vl;
2252                get_state(PART:"elm.text", st, 30, vl);
2253                if (!strcmp(st, "disabled_visible"))
2254                  set_state(PART:"elm.text", "visible", 0.0);
2255                else
2256                  set_state(PART:"elm.text", "default", 0.0);
2257             }
2258          }
2259       }
2260    }
2261
2262    group { name: "elm/button/base/hoversel_vertical/default";
2263       alias: "elm/button/base/hoversel_vertical/entry";
2264       alias: "elm/button/base/hoversel_horizontal/default";
2265       alias: "elm/button/base/hoversel_horizontal/entry";
2266       images {
2267          image: "bt_base1.png" COMP;
2268          image: "bt_base2.png" COMP;
2269          image: "bt_hilight.png" COMP;
2270          image: "bt_shine.png" COMP;
2271          image: "bt_glow.png" COMP;
2272          image: "updown.png" COMP;
2273          image: "bt_dis_base.png" COMP;
2274          image: "bt_dis_hilight.png" COMP;
2275       }
2276       parts {
2277          part { name: "button_image";
2278             mouse_events: 1;
2279             description { state: "default" 0.0;
2280                image {
2281                   normal: "bt_base2.png";
2282                   border: 7 7 7 7;
2283                }
2284                image.middle: SOLID;
2285             }
2286             description { state: "clicked" 0.0;
2287                inherit: "default" 0.0;
2288                image.normal: "bt_base1.png";
2289                image.middle: SOLID;
2290             }
2291             description { state: "disabled" 0.0;
2292                inherit:  "default" 0.0;
2293                image {
2294                   normal: "bt_dis_base.png";
2295                   border: 4 4 4 4;
2296                }
2297             }
2298          }
2299          part { name: "arrow";
2300             mouse_events: 0;
2301             description { state: "default" 0.0;
2302                image.normal: "updown.png";
2303                aspect: 0.6666666666 0.6666666666;
2304                aspect_preference: VERTICAL;
2305                rel1.offset: 6 7;
2306                rel2.offset: 6 -7;
2307                rel2.relative: 0.0 1.0;
2308                align: 0.0 0.5;
2309             }
2310          }
2311          part { name: "elm.swallow.content";
2312             type: SWALLOW;
2313             description { state: "default" 0.0;
2314                fixed: 1 0;
2315                visible: 0;
2316                align: 0.0 0.5;
2317                rel1 {
2318                   to_x: "arrow";
2319                   offset: 2 4;
2320                   relative: 1.0 0.0;
2321                }
2322                rel2 {
2323                   to_x: "arrow";
2324                   offset: 1 -5;
2325                   relative: 1.0 1.0;
2326                }
2327             }
2328             description { state: "visible" 0.0;
2329                inherit: "default" 0.0;
2330                fixed: 0 0;
2331                visible: 1;
2332                aspect: 1.0 1.0;
2333                aspect_preference: VERTICAL;
2334                rel2.offset: 2 -5;
2335             }
2336             description { state: "icononly" 0.0;
2337                inherit: "default" 0.0;
2338                fixed: 0 0;
2339                visible: 1;
2340                align: 0.5 0.5;
2341                aspect: 1.0 1.0;
2342                rel1 {
2343                   to_x: "button_image";
2344                   offset: -5 -5;
2345                   relative: 1.0 1.0;
2346                }
2347                aspect_preference: VERTICAL;
2348             }
2349          }
2350          part {
2351             name:          "elm.text";
2352             type:          TEXT;
2353             effect:        SOFT_SHADOW;
2354             mouse_events:  0;
2355             scale: 1;
2356             description { state: "default" 0.0;
2357                visible: 0;
2358                rel1.to_x: "elm.swallow.content";
2359                rel1.relative: 1.0 0.0;
2360                rel1.offset: 0 4;
2361                rel2.offset: -5 -5;
2362                color: 224 224 224 255;
2363                color3: 0 0 0 64;
2364                text {
2365                   font:     "Sans,Edje-Vera";
2366                   size:     10;
2367                   min:      0 0;
2368                   align:    0.5 0.5;
2369                   text_class: "button";
2370                }
2371             }
2372             description { state: "visible" 0.0;
2373                inherit: "default" 0.0;
2374                visible: 1;
2375                text.min: 1 1;
2376             }
2377             description { state: "disabled" 0.0;
2378                inherit: "default" 0.0;
2379                color: 0 0 0 128;
2380                color3: 0 0 0 0;
2381             }
2382             description { state: "disabled_visible" 0.0;
2383                inherit: "default" 0.0;
2384                color: 0 0 0 128;
2385                color3: 0 0 0 0;
2386                visible: 1;
2387                text.min: 1 1;
2388             }
2389          }
2390          part {   name: "over1";
2391             mouse_events: 0;
2392             description { state: "default" 0.0;
2393                rel2.relative: 1.0 0.5;
2394                image {
2395                   normal: "bt_hilight.png";
2396                   border: 7 7 7 0;
2397                }
2398             }
2399             description { state: "disabled" 0.0;
2400                inherit:  "default" 0.0;
2401                image {
2402                   normal: "bt_dis_hilight.png";
2403                   border: 4 4 4 0;
2404                }
2405             }
2406          }
2407          part { name: "over2";
2408             mouse_events: 1;
2409             repeat_events: 1;
2410             ignore_flags: ON_HOLD;
2411             description { state: "default" 0.0;
2412                image {
2413                   normal: "bt_shine.png";
2414                   border: 7 7 7 7;
2415                }
2416             }
2417             description { state: "disabled" 0.0;
2418                inherit:  "default" 0.0;
2419                visible: 0;
2420             }
2421          }
2422          part { name: "over3";
2423             mouse_events: 1;
2424             repeat_events: 1;
2425             description { state: "default" 0.0;
2426                color: 255 255 255 0;
2427                image {
2428                   normal: "bt_glow.png";
2429                   border: 12 12 12 12;
2430                }
2431                fill.smooth : 0;
2432             }
2433             description { state: "clicked" 0.0;
2434                inherit:  "default" 0.0;
2435                visible: 1;
2436                color: 255 255 255 255;
2437             }
2438          }
2439          part { name: "disabler";
2440             type: RECT;
2441             description { state: "default" 0.0;
2442                color: 0 0 0 0;
2443                visible: 0;
2444             }
2445             description { state: "disabled" 0.0;
2446                inherit: "default" 0.0;
2447                visible: 1;
2448             }
2449          }
2450       }
2451       programs {
2452          program {
2453             name:   "button_click";
2454             signal: "mouse,down,1";
2455             source: "over2";
2456             action: STATE_SET "clicked" 0.0;
2457             target: "button_image";
2458          }
2459          program {
2460             name:   "button_unclick";
2461             signal: "mouse,up,1";
2462             source: "over2";
2463             action: STATE_SET "default" 0.0;
2464             target: "button_image";
2465          }
2466          program {
2467             name:   "button_click2";
2468             signal: "mouse,down,1";
2469             source: "over3";
2470             action: STATE_SET "clicked" 0.0;
2471             target: "over3";
2472          }
2473          program {
2474             name:   "button_unclick2";
2475             signal: "mouse,up,1";
2476             source: "over3";
2477             action: STATE_SET "default" 0.0;
2478             transition: DECELERATE 0.5;
2479             target: "over3";
2480          }
2481          program {
2482             name:   "button_unclick3";
2483             signal: "mouse,up,1";
2484             source: "over2";
2485             action: SIGNAL_EMIT "elm,action,click" "";
2486          }
2487          program { name: "text_show";
2488             signal: "elm,state,text,visible";
2489             source: "elm";
2490             script {
2491                new st[31];
2492                new Float:vl;
2493                get_state(PART:"elm.swallow.content", st, 30, vl);
2494                if (!strcmp(st, "icononly"))
2495                  set_state(PART:"elm.swallow.content", "visible", 0.0);
2496                set_state(PART:"elm.text", "visible", 0.0);
2497             }
2498          }
2499          program { name: "text_hide";
2500             signal: "elm,state,text,hidden";
2501             source: "elm";
2502             script {
2503                new st[31];
2504                new Float:vl;
2505                get_state(PART:"elm.swallow.content", st, 30, vl);
2506                if (!strcmp(st, "visible"))
2507                  set_state(PART:"elm.swallow.content", "icononly", 0.0);
2508                set_state(PART:"elm.text", "default", 0.0);
2509             }
2510          }
2511          program { name: "icon_show";
2512             signal: "elm,state,icon,visible";
2513             source: "elm";
2514             script {
2515                new st[31];
2516                new Float:vl;
2517                get_state(PART:"elm.text", st, 30, vl);
2518                if (!strcmp(st, "visible"))
2519                  set_state(PART:"elm.swallow.content", "visible", 0.0);
2520                else
2521                  set_state(PART:"elm.swallow.content", "icononly", 0.0);
2522             }
2523          }
2524          program { name: "icon_hide";
2525             signal: "elm,state,icon,hidden";
2526             source: "elm";
2527             action:  STATE_SET "default" 0.0;
2528             target: "elm.swallow.content";
2529          }
2530          program { name: "disable";
2531             signal: "elm,state,disabled";
2532             source: "elm";
2533             action: STATE_SET "disabled" 0.0;
2534             target: "button_image";
2535             target: "over1";
2536             target: "over2";
2537             target: "disabler";
2538             after: "disable_text";
2539          }
2540          program { name: "disable_text";
2541             script {
2542                new st[31];
2543                new Float:vl;
2544                get_state(PART:"elm.text", st, 30, vl);
2545                if (!strcmp(st, "visible"))
2546                  set_state(PART:"elm.text", "disabled_visible", 0.0);
2547                else
2548                  set_state(PART:"elm.text", "disabled", 0.0);
2549             }
2550          }
2551          program { name: "enable";
2552             signal: "elm,state,enabled";
2553             source: "elm";
2554             action: STATE_SET "default" 0.0;
2555             target: "button_image";
2556             target: "over1";
2557             target: "over2";
2558             target: "disabler";
2559             after: "enable_text";
2560          }
2561          program { name: "enable_text";
2562             script {
2563                new st[31];
2564                new Float:vl;
2565                get_state(PART:"elm.text", st, 30, vl);
2566                if (!strcmp(st, "disabled_visible"))
2567                  set_state(PART:"elm.text", "visible", 0.0);
2568                else
2569                  set_state(PART:"elm.text", "default", 0.0);
2570             }
2571          }
2572       }
2573    }
2574
2575    group { name: "elm/button/base/hoversel_vertical_entry/default";
2576       alias: "elm/button/base/hoversel_vertical_entry/entry";
2577       alias: "elm/button/base/hoversel_horizontal_entry/default";
2578       alias: "elm/button/base/hoversel_horizontal_entry/entry";
2579       images {
2580          image: "hoversel_entry_bg.png" COMP;
2581       }
2582       parts {
2583          part { name: "button_image";
2584             mouse_events: 1;
2585             description { state: "default" 0.0;
2586                color: 255 255 255 0;
2587                image.normal: "hoversel_entry_bg.png";
2588                image.border: 0 0 2 2;
2589                fill.smooth: 0;
2590             }
2591             description { state: "clicked" 0.0;
2592                inherit: "default" 0.0;
2593                color: 255 255 255 255;
2594             }
2595          }
2596          part { name: "elm.swallow.content";
2597             type: SWALLOW;
2598             description { state: "default" 0.0;
2599                visible: 0;
2600                align: 0.0 0.5;
2601                rel1.offset: 4 4;
2602                rel2.offset: 3 -5;
2603                rel2.relative: 0.0 1.0;
2604             }
2605             description { state: "visible" 0.0;
2606                inherit: "default" 0.0;
2607                visible: 1;
2608                aspect: 1.0 1.0;
2609                aspect_preference: VERTICAL;
2610                rel2.offset: 4 -5;
2611             }
2612             description { state: "icononly" 0.0;
2613                inherit: "default" 0.0;
2614                visible: 1;
2615                align: 0.5 0.5;
2616                aspect: 1.0 1.0;
2617                rel2.offset: -5 -5;
2618                rel2.relative: 1.0 1.0;
2619                aspect_preference: VERTICAL;
2620             }
2621          }
2622          part { name: "textvis";
2623             type: RECT;
2624             mouse_events: 0;
2625             description { state: "default" 0.0;
2626                visible: 0;
2627             }
2628             description { state: "visible" 0.0;
2629                visible: 1;
2630             }
2631          }
2632          part {
2633             name:          "elm.text";
2634             type:          TEXT;
2635             effect:        SOFT_SHADOW;
2636             mouse_events:  0;
2637             scale: 1;
2638             clip_to:       "textvis";
2639             description { state: "default" 0.0;
2640                rel1.to_x: "elm.swallow.content";
2641                rel1.relative: 1.0 0.0;
2642                rel1.offset: 0 4;
2643                rel2.offset: -5 -5;
2644                color: 224 224 224 255;
2645                color3: 0 0 0 64;
2646                text {
2647                   font:     "Sans,Edje-Vera";
2648                   size:     10;
2649                   min:      0 0;
2650                   align:    0.5 0.5;
2651                   text_class: "button";
2652                }
2653             }
2654             description { state: "visible" 0.0;
2655                inherit: "default" 0.0;
2656                text.min: 1 1;
2657             }
2658             description { state: "clicked" 0.0;
2659                inherit: "default" 0.0;
2660                text.min: 1 1;
2661                color: 0 0 0 255;
2662                color3: 0 0 0 0;
2663             }
2664          }
2665          part { name: "over2";
2666             type: RECT;
2667             mouse_events: 1;
2668             description { state: "default" 0.0;
2669                color: 0 0 0 0;
2670             }
2671          }
2672       }
2673       programs {
2674          program {
2675             name:   "button_click";
2676             signal: "mouse,down,1";
2677             source: "over2";
2678             action: STATE_SET "clicked" 0.0;
2679             target: "button_image";
2680             target: "elm.text";
2681          }
2682          program {
2683             name:   "button_unclick";
2684             signal: "mouse,up,1";
2685             source: "over2";
2686             action: STATE_SET "default" 0.0;
2687             target: "button_image";
2688             target: "elm.text";
2689          }
2690          program {
2691             name:   "button_unclick3";
2692             signal: "mouse,up,1";
2693             source: "over2";
2694             action: SIGNAL_EMIT "elm,action,click" "";
2695          }
2696          program { name: "text_show";
2697             signal: "elm,state,text,visible";
2698             source: "elm";
2699             script {
2700                new st[31];
2701                new Float:vl;
2702                get_state(PART:"elm.swallow.content", st, 30, vl);
2703                if (!strcmp(st, "icononly"))
2704                  set_state(PART:"elm.swallow.content", "visible", 0.0);
2705                set_state(PART:"textvis", "visible", 0.0);
2706                set_state(PART:"elm.text", "visible", 0.0);
2707             }
2708          }
2709          program { name: "text_hide";
2710             signal: "elm,state,text,hidden";
2711             source: "elm";
2712             script {
2713                new st[31];
2714                new Float:vl;
2715                get_state(PART:"elm.swallow.content", st, 30, vl);
2716                if (!strcmp(st, "visible"))
2717                  set_state(PART:"elm.swallow.content", "icononly", 0.0);
2718                set_state(PART:"textvis", "default", 0.0);
2719                set_state(PART:"elm.text", "default", 0.0);
2720             }
2721          }
2722          program { name: "icon_show";
2723             signal: "elm,state,icon,visible";
2724             source: "elm";
2725             script {
2726                new st[31];
2727                new Float:vl;
2728                get_state(PART:"textvis", st, 30, vl);
2729                if (!strcmp(st, "visible"))
2730                  set_state(PART:"elm.swallow.content", "visible", 0.0);
2731                else
2732                  set_state(PART:"elm.swallow.content", "icononly", 0.0);
2733             }
2734          }
2735          program { name: "icon_hide";
2736             signal: "elm,state,icon,hidden";
2737             source: "elm";
2738             action:  STATE_SET "default" 0.0;
2739             target: "elm.swallow.content";
2740          }
2741       }
2742    }
2743
2744    group { name: "elm/button/base/anchor";
2745       images {
2746          image: "bt_base1.png" COMP;
2747          image: "bt_base2.png" COMP;
2748          image: "bt_hilight.png" COMP;
2749          image: "bt_shine.png" COMP;
2750          image: "bt_glow.png" COMP;
2751          image: "bt_dis_base.png" COMP;
2752          image: "bt_dis_hilight.png" COMP;
2753       }
2754       parts {
2755          part { name: "button_image";
2756             mouse_events: 1;
2757             description { state: "default" 0.0;
2758           min: 15 15;
2759            color: 255 255 255 0;
2760                image {
2761                   normal: "bt_base2.png";
2762                   border: 7 7 7 7;
2763                }
2764                image.middle: SOLID;
2765             }
2766        description { state: "visible" 0.0;
2767                inherit: "default" 0.0;
2768           color: 255 255 255 255;
2769             }
2770             description { state: "clicked" 0.0;
2771                inherit: "default" 0.0;
2772           inherit: "visible" 0.0;
2773                image.normal: "bt_base1.png";
2774                image.middle: SOLID;
2775             }
2776             description { state: "disabled" 0.0;
2777                inherit:  "default" 0.0;
2778           inherit: "visible" 0.0;
2779                image {
2780                   normal: "bt_dis_base.png";
2781                   border: 4 4 4 4;
2782                }
2783             }
2784          }
2785          part { name: "elm.swallow.content";
2786             type: SWALLOW;
2787             description { state: "default" 0.0;
2788                fixed: 1 0;
2789                visible: 0;
2790                align: 0.0 0.5;
2791                rel1.offset: 4 4;
2792                rel2.offset: 3 -5;
2793                rel2.relative: 0.0 1.0;
2794             }
2795             description { state: "visible" 0.0;
2796                inherit: "default" 0.0;
2797                fixed: 1 0;
2798                visible: 1;
2799                aspect: 1.0 1.0;
2800                aspect_preference: VERTICAL;
2801                rel2.offset: 4 -5;
2802             }
2803             description { state: "icononly" 0.0;
2804                inherit: "default" 0.0;
2805                fixed: 0 0;
2806                visible: 1;
2807                align: 0.5 0.5;
2808                aspect: 1.0 1.0;
2809                rel2.offset: -5 -5;
2810                rel2.relative: 1.0 1.0;
2811                aspect_preference: VERTICAL;
2812             }
2813          }
2814          part {
2815             name:          "elm.text";
2816             type:          TEXT;
2817             effect:        SOFT_SHADOW;
2818             mouse_events:  0;
2819             scale: 1;
2820             description { state: "default" 0.0;
2821                visible: 0;
2822                rel1.to_x: "elm.swallow.content";
2823                rel1.relative: 1.0 0.0;
2824                rel1.offset: 0 4;
2825                rel2.offset: -5 -5;
2826                color: 224 224 224 255;
2827                color3: 0 0 0 64;
2828                text {
2829                   font:     "Sans,Edje-Vera";
2830                   size:     10;
2831                   min:      0 0;
2832                   align:    0.5 0.5;
2833                   text_class: "button";
2834                }
2835             }
2836             description { state: "visible" 0.0;
2837                inherit: "default" 0.0;
2838                visible: 1;
2839                text.min: 1 1;
2840             }
2841             description { state: "disabled" 0.0;
2842                inherit: "default" 0.0;
2843                color: 0 0 0 128;
2844                color3: 0 0 0 0;
2845             }
2846             description { state: "disabled_visible" 0.0;
2847                inherit: "default" 0.0;
2848                color: 0 0 0 128;
2849                color3: 0 0 0 0;
2850                visible: 1;
2851                text.min: 1 1;
2852             }
2853          }
2854          part {   name: "over1";
2855             mouse_events: 0;
2856             description { state: "default" 0.0;
2857            color: 255 255 255 0;
2858                rel2.relative: 1.0 0.5;
2859                image {
2860                   normal: "bt_hilight.png";
2861                   border: 7 7 7 0;
2862                }
2863             }
2864        description { state: "visible" 0.0;
2865                inherit:  "default" 0.0;
2866           color: 255 255 255 255;
2867             }
2868             description { state: "disabled" 0.0;
2869                inherit:  "default" 0.0;
2870           inherit:  "visible" 0.0;
2871                image {
2872                   normal: "bt_dis_hilight.png";
2873                   border: 4 4 4 0;
2874                }
2875             }
2876          }
2877          part { name: "over2";
2878             mouse_events: 1;
2879             repeat_events: 1;
2880             ignore_flags: ON_HOLD;
2881             description { state: "default" 0.0;
2882                image {
2883                   normal: "bt_shine.png";
2884                   border: 7 7 7 7;
2885                }
2886             }
2887             description { state: "disabled" 0.0;
2888                inherit:  "default" 0.0;
2889                visible: 0;
2890             }
2891          }
2892          part { name: "over3";
2893             mouse_events: 1;
2894             repeat_events: 1;
2895             description { state: "default" 0.0;
2896                color: 255 255 255 0;
2897                image {
2898                   normal: "bt_glow.png";
2899                   border: 12 12 12 12;
2900                }
2901                fill.smooth : 0;
2902             }
2903             description { state: "clicked" 0.0;
2904                inherit:  "default" 0.0;
2905                visible: 1;
2906                color: 255 255 255 255;
2907             }
2908          }
2909          part { name: "disabler";
2910             type: RECT;
2911             description { state: "default" 0.0;
2912                color: 0 0 0 0;
2913                visible: 0;
2914             }
2915             description { state: "disabled" 0.0;
2916                inherit: "default" 0.0;
2917                visible: 1;
2918             }
2919          }
2920       }
2921       programs {
2922     program {
2923             name:   "button_mouse_in";
2924             signal: "mouse,in";
2925             source: "over2";
2926             action: STATE_SET "visible" 0.0;
2927             target: "button_image";
2928        target: "over1";
2929        transition: DECELERATE 0.5;
2930          }
2931          program {
2932             name:   "button_mouse_out";
2933             signal: "mouse,out";
2934             source: "over2";
2935             action: STATE_SET "default" 0.0;
2936             target: "button_image";
2937        target: "over1";
2938        transition: DECELERATE 0.5;
2939          }
2940          program {
2941             name:   "button_unclick";
2942             signal: "mouse,up,1";
2943             source: "over2";
2944             action: STATE_SET "visible" 0.0;
2945             target: "button_image";
2946          }
2947          program {
2948             name:   "button_click2";
2949             signal: "mouse,down,1";
2950             source: "over3";
2951             action: STATE_SET "clicked" 0.0;
2952             target: "over3";
2953          }
2954          program {
2955             name:   "button_unclick2";
2956             signal: "mouse,up,1";
2957             source: "over3";
2958             action: STATE_SET "default" 0.0;
2959             transition: DECELERATE 0.5;
2960             target: "over3";
2961          }
2962          program {
2963             name:   "button_unclick3";
2964             signal: "mouse,up,1";
2965             source: "over2";
2966             action: SIGNAL_EMIT "elm,action,click" "";
2967          }
2968          program { name: "text_show";
2969             signal: "elm,state,text,visible";
2970             source: "elm";
2971             script {
2972                new st[31];
2973                new Float:vl;
2974                get_state(PART:"elm.swallow.content", st, 30, vl);
2975                if (!strcmp(st, "icononly"))
2976                  set_state(PART:"elm.swallow.content", "visible", 0.0);
2977                set_state(PART:"elm.text", "visible", 0.0);
2978             }
2979          }
2980          program { name: "text_hide";
2981             signal: "elm,state,text,hidden";
2982             source: "elm";
2983             script {
2984                new st[31];
2985                new Float:vl;
2986                get_state(PART:"elm.swallow.content", st, 30, vl);
2987                if (!strcmp(st, "visible"))
2988                  set_state(PART:"elm.swallow.content", "icononly", 0.0);
2989                set_state(PART:"elm.text", "default", 0.0);
2990             }
2991          }
2992          program { name: "icon_show";
2993             signal: "elm,state,icon,visible";
2994             source: "elm";
2995             script {
2996                new st[31];
2997                new Float:vl;
2998                get_state(PART:"elm.text", st, 30, vl);
2999                if (!strcmp(st, "visible"))
3000                  set_state(PART:"elm.swallow.content", "visible", 0.0);
3001                else
3002                  set_state(PART:"elm.swallow.content", "icononly", 0.0);
3003             }
3004          }
3005          program { name: "icon_hide";
3006             signal: "elm,state,icon,hidden";
3007             source: "elm";
3008             action:  STATE_SET "default" 0.0;
3009             target: "elm.swallow.content";
3010          }
3011          program { name: "disable";
3012             signal: "elm,state,disabled";
3013             source: "elm";
3014             action: STATE_SET "disabled" 0.0;
3015             target: "button_image";
3016             target: "over1";
3017             target: "over2";
3018             target: "disabler";
3019             after: "disable_text";
3020          }
3021          program { name: "disable_text";
3022             script {
3023                new st[31];
3024                new Float:vl;
3025                get_state(PART:"elm.text", st, 30, vl);
3026                if (!strcmp(st, "visible"))
3027                  set_state(PART:"elm.text", "disabled_visible", 0.0);
3028                else
3029                  set_state(PART:"elm.text", "disabled", 0.0);
3030             }
3031          }
3032          program { name: "enable";
3033             signal: "elm,state,enabled";
3034             source: "elm";
3035             action: STATE_SET "default" 0.0;
3036             target: "button_image";
3037             target: "over1";
3038             target: "over2";
3039             target: "disabler";
3040             after: "enable_text";
3041          }
3042          program { name: "enable_text";
3043             script {
3044                new st[31];
3045                new Float:vl;
3046                get_state(PART:"elm.text", st, 30, vl);
3047                if (!strcmp(st, "disabled_visible"))
3048                  set_state(PART:"elm.text", "visible", 0.0);
3049                else
3050                  set_state(PART:"elm.text", "default", 0.0);
3051             }
3052          }
3053       }
3054    }
3055
3056 ///////////////////////////////////////////////////////////////////////////////
3057    group { name: "elm/toggle/base/default";
3058       images {
3059          image: "shelf_inset.png" COMP;
3060          image: "bt_basew.png" COMP;
3061          image: "bt_bases.png" COMP;
3062          image: "bt_hilightw.png" COMP;
3063          image: "tog_base.png" COMP;
3064          image: "tog_dis_base.png" COMP;
3065       }
3066       parts {
3067          part { name: "bg";
3068             type: RECT;
3069             mouse_events: 0;
3070             scale: 1;
3071             description { state: "default" 0.0;
3072                rel1.relative: 1.0 0.0;
3073                rel1.offset: -4 3;
3074                rel2.offset: -4 -4;
3075                align: 1.0 0.5;
3076                min: 96 16;
3077                max: 96 16;
3078                aspect: 4.0 4.0;
3079                aspect_preference: VERTICAL;
3080                color: 255 255 255 255;
3081             }
3082          }
3083          part { name: "clipper";
3084             type: RECT;
3085             mouse_events: 0;
3086             description { state: "default" 0.0;
3087                rel1.to: "bg";
3088                rel2.to: "bg";
3089                color: 255 255 255 255;
3090             }
3091          }
3092          part { name: "button";
3093             type: RECT;
3094             scale: 1;
3095             clip_to: "clipper";
3096             mouse_events: 1;
3097             dragable {
3098                x: 1 1 0;
3099                y: 0 0 0;
3100                confine: "bg";
3101             }
3102             description { state: "default" 0.0;
3103                fixed: 1 1;
3104                rel1.to: "bg";
3105                rel2.to: "bg";
3106                min: 16 16;
3107                max: 16 16;
3108                aspect: 1.0 1.0;
3109                aspect_preference: VERTICAL;
3110                color: 0 0 0 0;
3111             }
3112          }
3113          part { name: "button_events";
3114             type: RECT;
3115             dragable {
3116                events: "button";
3117             }
3118             description { state: "default" 0.0;
3119                rel1.to_x: "bg";
3120                rel1.offset: 0 0;
3121                rel1.relative: 0.0 0.0;
3122                rel2.to_x: "bg";
3123                rel2.offset: -1 -1;
3124                rel2.relative: 1.0 1.0;
3125                color: 0 0 0 0;
3126             }
3127          }
3128          part { name: "onrect";
3129             type: RECT;
3130             scale: 1;
3131             clip_to: "clipper";
3132             mouse_events: 0;
3133             description { state: "default" 0.0;
3134                rel1.to: "button";
3135                rel1.relative: -5.0 0.0;
3136                rel2.to: "button";
3137                rel2.relative: 0.0 1.0;
3138                color: 0 0 0 0;
3139             }
3140          }
3141          part { name: "offrect";
3142             type: RECT;
3143             scale: 1;
3144             clip_to: "clipper";
3145             mouse_events: 0;
3146             description { state: "default" 0.0;
3147                rel1.to: "button";
3148                rel1.relative: 1.0 0.0;
3149                rel2.to: "button";
3150                rel2.relative: 6.0 1.0;
3151                color: 0 0 0 0;
3152             }
3153          }
3154          part { name: "togbase";
3155             mouse_events:  0;
3156             clip_to: "clipper";
3157             description { state: "default" 0.0;
3158                rel1.to: "onrect";
3159                rel2.to: "offrect";
3160                image.normal: "tog_base.png";
3161             }
3162             description { state: "disabled" 0.0;
3163                inherit: "default" 0.0;
3164                image.normal: "tog_dis_base.png";
3165             }
3166          }
3167          part { name: "elm.offtext";
3168             type: TEXT;
3169             mouse_events:  0;
3170             scale: 1;
3171             clip_to: "clipper";
3172             description { state: "default" 0.0;
3173                fixed: 1 1;
3174                rel1.to_x: "offrect";
3175                rel2.to_x: "offrect";
3176                color: 0 0 0 255;
3177                text {
3178                   font:     "Sans,Edje-Vera";
3179                   size:     10;
3180                   min:      0 1;
3181                   align:    0.5 0.5;
3182                   text:     "OFF";
3183                }
3184             }
3185             description { state: "disabled" 0.0;
3186                inherit: "default" 0.0;
3187                color: 128 128 128 128;
3188             }
3189          }
3190          part { name: "elm.ontext";
3191             type: TEXT;
3192             effect: SOFT_SHADOW;
3193             mouse_events:  0;
3194             scale: 1;
3195             clip_to: "clipper";
3196             description { state: "default" 0.0;
3197                fixed: 1 1;
3198                rel1.to_x: "onrect";
3199                rel1.offset: 1 1;
3200                rel2.to_x: "onrect";
3201                rel2.offset: 0 0;
3202                color: 224 224 224 255;
3203                color3: 0 0 0 64;
3204                text {
3205                   font:     "Sans,Edje-Vera";
3206                   size:     10;
3207                   min:      0 1;
3208                   align:    0.5 0.5;
3209                   text:     "ON";
3210                }
3211             }
3212             description { state: "disabled" 0.0;
3213                inherit: "default" 0.0;
3214                color: 128 128 128 128;
3215                color3: 0 0 0 24;
3216             }
3217          }
3218          part { name: "conf_over";
3219             mouse_events:  0;
3220             description { state: "default" 0.0;
3221                rel1.offset: -1 -1;
3222                rel1.to: "bg";
3223                rel2.offset: 0 0;
3224                rel2.to: "bg";
3225                image {
3226                   normal: "shelf_inset.png";
3227                   border: 7 7 7 7;
3228                   middle: 0;
3229                }
3230                fill.smooth : 0;
3231             }
3232          }
3233          part { name: "button0";
3234             mouse_events:  0;
3235             clip_to: "clipper";
3236             description { state: "default" 0.0;
3237                rel1.to: "button2";
3238                rel1.offset: -4 -4;
3239                rel2.to: "button2";
3240                rel2.offset: 3 3;
3241                image {
3242                   normal: "bt_bases.png";
3243                   border: 11 11 11 11;
3244                }
3245                image.middle: SOLID;
3246                color: 255 255 255 128;
3247             }
3248          }
3249          part { name: "button2";
3250             mouse_events:  0;
3251             clip_to: "clipper";
3252             description { state: "default" 0.0;
3253                rel1.to: "button";
3254                rel1.offset: -2 -2;
3255                rel2.to: "button";
3256                rel2.offset: 1 1;
3257                image {
3258                   normal: "bt_basew.png";
3259                   border: 7 7 7 7;
3260                }
3261                image.middle: SOLID;
3262             }
3263          }
3264          part { name: "button3";
3265             mouse_events:  0;
3266             clip_to: "clipper";
3267             description { state: "default" 0.0;
3268                rel1.to: "button2";
3269                rel2.to: "button2";
3270                rel2.relative: 1.0 0.5;
3271                image {
3272                   normal: "bt_hilightw.png";
3273                   border: 4 4 4 0;
3274                }
3275             }
3276          }
3277          part { name: "elm.swallow.content";
3278             type: SWALLOW;
3279             description { state: "default" 0.0;
3280                fixed: 1 0;
3281                visible: 0;
3282                align: 0.0 0.5;
3283                rel1.offset: 4 4;
3284                rel2.relative: 0.0 1.0;
3285                rel2.offset: 3 -5;
3286             }
3287             description { state: "visible" 0.0;
3288                inherit: "default" 0.0;
3289                visible: 1;
3290                aspect: 1.0 1.0;
3291                rel2.offset: 4 -5;
3292             }
3293             description { state: "disabled" 0.0;
3294                inherit: "default" 0.0;
3295                color: 128 128 128 128;
3296             }
3297             description { state: "disabled_visible" 0.0;
3298                inherit: "default" 0.0;
3299                color: 128 128 128 128;
3300                visible: 1;
3301                aspect: 1.0 1.0;
3302             }
3303          }
3304          part { name: "elm.text";
3305             type: TEXT;
3306             mouse_events: 0;
3307             scale: 1;
3308             description { state: "default" 0.0;
3309                visible: 0;
3310                rel1.to_x: "elm.swallow.content";
3311                rel1.relative: 1.0 0.0;
3312                rel1.offset: 0 4;
3313                rel2.to_x: "bg";
3314                rel2.relative: 0.0 1.0;
3315                rel2.offset: -5 -5;
3316                color: 0 0 0 255;
3317                text {
3318                   font: "Sans,Edje-Vera";
3319                   size: 10;
3320                   min: 0 0;
3321                   align: 0.0 0.5;
3322                }
3323             }
3324             description { state: "visible" 0.0;
3325                inherit: "default" 0.0;
3326                visible: 1;
3327                text.min: 1 1;
3328             }
3329             description { state: "disabled" 0.0;
3330                inherit: "default" 0.0;
3331                color: 128 128 128 128;
3332             }
3333             description { state: "disabled_visible" 0.0;
3334                inherit: "default" 0.0;
3335                color: 128 128 128 128;
3336                visible: 1;
3337                text.min: 1 1;
3338             }
3339          }
3340          part { name: "disabler";
3341             type: RECT;
3342             description { state: "default" 0.0;
3343                color: 0 0 0 0;
3344                visible: 0;
3345             }
3346             description { state: "disabled" 0.0;
3347                inherit: "default" 0.0;
3348                visible: 1;
3349             }
3350          }
3351       }
3352       programs {
3353          program { name:   "drag_end";
3354             signal: "mouse,up,1";
3355             source: "button";
3356             script {
3357                new Float:dx, Float:dy;
3358                get_drag(PART:"button", dx, dy);
3359                if (dx > 0.5)
3360                  {
3361                     set_drag(PART:"button", 1.0, 0.0);
3362                     emit("elm,action,toggle,on", "");
3363                  }
3364                else
3365                  {
3366                     set_drag(PART:"button", 0.0, 0.0);
3367                     emit("elm,action,toggle,off", "");
3368                  }
3369             }
3370          }
3371          program { name: "toggle_on";
3372             signal: "elm,state,toggle,on";
3373             source: "elm";
3374             script {
3375                set_drag(PART:"button", 100.0, 0.0);
3376             }
3377          }
3378          program { name: "toggle_off";
3379             signal: "elm,state,toggle,off";
3380             source: "elm";
3381             script {
3382                set_drag(PART:"button", 0.0, 0.0);
3383             }
3384          }
3385          program { name: "text_show";
3386             signal: "elm,state,text,visible";
3387             source: "elm";
3388             action:  STATE_SET "visible" 0.0;
3389             target: "elm.text";
3390          }
3391          program { name: "text_hide";
3392             signal: "elm,state,text,hidden";
3393             source: "elm";
3394             action:  STATE_SET "default" 0.0;
3395             target: "elm.text";
3396          }
3397          program { name: "icon_show";
3398             signal: "elm,state,icon,visible";
3399             source: "elm";
3400             action:  STATE_SET "visible" 0.0;
3401             target: "elm.swallow.content";
3402          }
3403          program { name: "icon_hide";
3404             signal: "elm,state,icon,hidden";
3405             source: "elm";
3406             action:  STATE_SET "default" 0.0;
3407             target: "elm.swallow.content";
3408          }
3409          program { name: "disable";
3410             signal: "elm,state,disabled";
3411             source: "elm";
3412             action: STATE_SET "disabled" 0.0;
3413             target: "togbase";
3414             target: "elm.offtext";
3415             target: "elm.ontext";
3416             target: "disabler";
3417             after: "disable_text";
3418          }
3419          program { name: "disable_text";
3420             script {
3421                new st[31];
3422                new Float:vl;
3423                get_state(PART:"elm.text", st, 30, vl);
3424                if (!strcmp(st, "visible"))
3425                  set_state(PART:"elm.text", "disabled_visible", 0.0);
3426                else
3427                  set_state(PART:"elm.text", "disabled", 0.0);
3428
3429                get_state(PART:"elm.swallow.content", st, 30, vl);
3430                if (!strcmp(st, "visible"))
3431                  set_state(PART:"elm.swallow.content", "disabled_visible", 0.0);
3432                else
3433                  set_state(PART:"elm.swallow.content", "disabled", 0.0);
3434             }
3435          }
3436          program { name: "enable";
3437             signal: "elm,state,enabled";
3438             source: "elm";
3439             action: STATE_SET "default" 0.0;
3440             target: "disabler";
3441             after: "enable_text";
3442          }
3443          program { name: "enable_text";
3444             script {
3445                new st[31];
3446                new Float:vl;
3447                get_state(PART:"elm.text", st, 30, vl);
3448                if (!strcmp(st, "disabled_visible"))
3449                  set_state(PART:"elm.text", "visible", 0.0);
3450                else
3451                  set_state(PART:"elm.text", "default", 0.0);
3452
3453                get_state(PART:"elm.swallow.content", st, 30, vl);
3454                if (!strcmp(st, "visible"))
3455                  set_state(PART:"elm.swallow.content", "visible", 0.0);
3456                else
3457                  set_state(PART:"elm.swallow.content", "default", 0.0);
3458             }
3459          }
3460       }
3461    }
3462
3463 ///////////////////////////////////////////////////////////////////////////////
3464    group { name: "elm/clock/flipdigit/default";
3465       images {
3466          image: "flip_base.png" COMP;
3467          image: "flip_base_shad.png" COMP;
3468          image: "flip_shad.png" COMP;
3469          image: "flip_0t.png" COMP;
3470          image: "flip_0b.png" COMP;
3471          image: "flip_1t.png" COMP;
3472          image: "flip_1b.png" COMP;
3473          image: "flip_2t.png" COMP;
3474          image: "flip_2b.png" COMP;
3475          image: "flip_3t.png" COMP;
3476          image: "flip_3b.png" COMP;
3477          image: "flip_4t.png" COMP;
3478          image: "flip_4b.png" COMP;
3479          image: "flip_5t.png" COMP;
3480          image: "flip_5b.png" COMP;
3481          image: "flip_6t.png" COMP;
3482          image: "flip_6b.png" COMP;
3483          image: "flip_7t.png" COMP;
3484          image: "flip_7b.png" COMP;
3485          image: "flip_8t.png" COMP;
3486          image: "flip_8b.png" COMP;
3487          image: "flip_9t.png" COMP;
3488          image: "flip_9b.png" COMP;
3489          image: "arrow_up.png" COMP;
3490          image: "arrow_down.png" COMP;
3491       }
3492       script {
3493          public v0_cur, v0_pre, v0_lock, v0_next;
3494
3495        public animator2(val, Float:pos) {
3496           new st1[11], st2[11], v;
3497
3498           v = get_int(v0_cur);
3499           snprintf(st1, 10, "%ih", v);
3500           snprintf(st2, 10, "%i", v);
3501           set_tween_state(PART:"bot", pos, st1, 0.0, st2, 0.0);
3502           set_tween_state(PART:"sh", pos, "half", 0.0, "full", 0.0);
3503           if (pos >= 1.0) {
3504              set_state(PART:"sh", "default", 0.0);
3505              set_int(v0_lock, 0);
3506              v = get_int(v0_next);
3507              if (v >= 0) {
3508                 set_int(v0_next, -1);
3509                 message(MSG_INT, 1, v);
3510              }
3511           }
3512        }
3513        public animator1(val, Float:pos) {
3514           new st1[11], st2[11], v;
3515
3516           v = get_int(v0_pre);
3517           snprintf(st1, 10, "%i", v);
3518           snprintf(st2, 10, "%ih", v);
3519           set_tween_state(PART:"top", pos, st1, 0.0, st2, 0.0);
3520           set_tween_state(PART:"sh", pos, "default", 0.0, "half", 0.0);
3521           if (pos >= 1.0) anim(0.2, "animator2", val);
3522        }
3523        public message(Msg_Type:type, id, ...) {
3524           if ((type == MSG_INT) && (id == 1)) {
3525              new value, v, buf[11];
3526
3527              value = getarg(2);
3528              if (get_int(v0_lock) == 1) {
3529                 set_int(v0_next, value);
3530                 return;
3531              }
3532              v = get_int(v0_cur);
3533              set_int(v0_pre, v);
3534              set_int(v0_cur, value);
3535              set_int(v0_lock, 1);
3536              snprintf(buf, 10, "%i", get_int(v0_pre));
3537              set_state(PART:"bot0", buf, 0.0);
3538              snprintf(buf, 10, "%ih", get_int(v0_cur));
3539              set_state(PART:"bot", buf, 0.0);
3540              snprintf(buf, 10, "%i", get_int(v0_cur));
3541              set_state(PART:"top0", buf, 0.0);
3542              snprintf(buf, 10, "%i", get_int(v0_pre));
3543              set_state(PART:"top", buf, 0.0);
3544              set_state(PART:"sh", "default", 0.0);
3545              anim(0.2, "animator1", 1);
3546           }
3547        }
3548       }
3549       parts {
3550          part { name: "shad";
3551             mouse_events: 0;
3552             description { state: "default" 0.0;
3553                rel1.offset: -4 -4;
3554                rel1.to: "base";
3555                rel2.offset: 3 3;
3556                rel2.to: "base";
3557                image {
3558                   normal: "flip_base_shad.png";
3559                   border: 8 8 8 8;
3560                }
3561             }
3562          }
3563          part { name: "base";
3564             scale: 1;
3565             description { state: "default" 0.0;
3566                rel1.offset: 4 4;
3567                rel2.offset: -5 -5;
3568                // FIXME 48x96 should be the native pixel design, right now
3569                // its 80x160. fix int he artwork later
3570                min: 24 48;
3571                aspect: 0.5 0.5;
3572 //             max: 24 48;
3573                image.normal: "flip_base.png";
3574             }
3575          }
3576          part { name: "b";
3577             type: RECT;
3578             mouse_events: 1;
3579             description { state: "default" 0.0;
3580                visible: 0;
3581                rel1.to: "base";
3582                rel1.relative: 0.0 0.5;
3583                rel2.to: "base";
3584                color: 0 0 0 0;
3585             }
3586             description { state: "visible" 0.0;
3587                inherit: "default" 0.0;
3588                visible: 1;
3589             }
3590          }
3591          part { name: "t";
3592             type: RECT;
3593             mouse_events: 1;
3594             description { state: "default" 0.0;
3595                visible: 0;
3596                rel1.to: "base";
3597                rel2.to: "base";
3598                rel2.relative: 1.0 0.5;
3599                color: 0 0 0 0;
3600             }
3601             description { state: "visible" 0.0;
3602                inherit: "default" 0.0;
3603                visible: 1;
3604             }
3605          }
3606          part { name: "bot0";
3607             mouse_events: 0;
3608             description { state: "default" 0.0;
3609                rel1.to: "b";
3610                rel2.to: "b";
3611                image.normal: "flip_0b.png";
3612             }
3613             description { state: "0" 0.0;
3614                inherit: "default" 0.0;
3615                image.normal: "flip_0b.png";
3616             }
3617             description { state: "1" 0.0;
3618                inherit: "default" 0.0;
3619                image.normal: "flip_1b.png";
3620             }
3621             description { state: "2" 0.0;
3622                inherit: "default" 0.0;
3623                image.normal: "flip_2b.png";
3624             }
3625             description { state: "3" 0.0;
3626                inherit: "default" 0.0;
3627                image.normal: "flip_3b.png";
3628             }
3629             description { state: "4" 0.0;
3630                inherit: "default" 0.0;
3631                image.normal: "flip_4b.png";
3632             }
3633             description { state: "5" 0.0;
3634                inherit: "default" 0.0;
3635                image.normal: "flip_5b.png";
3636             }
3637             description { state: "6" 0.0;
3638                inherit: "default" 0.0;
3639                image.normal: "flip_6b.png";
3640             }
3641             description { state: "7" 0.0;
3642                inherit: "default" 0.0;
3643                image.normal: "flip_7b.png";
3644             }
3645             description { state: "8" 0.0;
3646                inherit: "default" 0.0;
3647                image.normal: "flip_8b.png";
3648             }
3649             description { state: "9" 0.0;
3650                inherit: "default" 0.0;
3651                image.normal: "flip_9b.png";
3652             }
3653          }
3654          part { name: "sh";
3655             mouse_events: 0;
3656             description { state: "default" 0.0;
3657                rel1.to: "b";
3658                rel2.to: "b";
3659                rel2.relative: 1.0 0.0;
3660                image.normal: "flip_shad.png";
3661             }
3662             description { state: "half" 0.0;
3663                inherit: "default" 0.0;
3664                rel2.relative: 1.0 0.5;
3665             }
3666             description { state: "full" 0.0;
3667                inherit: "default" 0.0;
3668                rel2.relative: 1.0 1.0;
3669             }
3670          }
3671          part { name: "bot";
3672             mouse_events: 0;
3673             description { state: "default" 0.0;
3674                visible: 1;
3675                rel1.to: "b";
3676                rel2.to: "b";
3677                image.normal: "flip_0b.png";
3678             }
3679             description { state: "0" 0.0;
3680                inherit: "default" 0.0;
3681                visible: 1;
3682                rel2.relative: 1.0 1.0;
3683                image.normal: "flip_0b.png";
3684             }
3685             description { state: "0h" 0.0;
3686                inherit: "default" 0.0;
3687                visible: 0;
3688                rel2.relative: 1.0 0.0;
3689                image.normal: "flip_0b.png";
3690             }
3691             description { state: "1" 0.0;
3692                inherit: "default" 0.0;
3693                visible: 1;
3694                rel2.relative: 1.0 1.0;
3695                image.normal: "flip_1b.png";
3696             }
3697             description { state: "1h" 0.0;
3698                inherit: "default" 0.0;
3699                visible: 0;
3700                rel2.relative: 1.0 0.0;
3701                image.normal: "flip_1b.png";
3702             }
3703             description { state: "2" 0.0;
3704                inherit: "default" 0.0;
3705                visible: 1;
3706                rel2.relative: 1.0 1.0;
3707                image.normal: "flip_2b.png";
3708             }
3709             description { state: "2h" 0.0;
3710                inherit: "default" 0.0;
3711                visible: 0;
3712                rel2.relative: 1.0 0.0;
3713                image.normal: "flip_2b.png";
3714             }
3715             description { state: "3" 0.0;
3716                inherit: "default" 0.0;
3717                visible: 1;
3718                rel2.relative: 1.0 1.0;
3719                image.normal: "flip_3b.png";
3720             }
3721             description { state: "3h" 0.0;
3722                inherit: "default" 0.0;
3723                visible: 0;
3724                rel2.relative: 1.0 0.0;
3725                image.normal: "flip_3b.png";
3726             }
3727             description { state: "4" 0.0;
3728                inherit: "default" 0.0;
3729                visible: 1;
3730                rel2.relative: 1.0 1.0;
3731                image.normal: "flip_4b.png";
3732             }
3733             description { state: "4h" 0.0;
3734                inherit: "default" 0.0;
3735                visible: 0;
3736                rel2.relative: 1.0 0.0;
3737                image.normal: "flip_4b.png";
3738             }
3739             description { state: "5" 0.0;
3740                inherit: "default" 0.0;
3741                visible: 1;
3742                rel2.relative: 1.0 1.0;
3743                image.normal: "flip_5b.png";
3744             }
3745             description { state: "5h" 0.0;
3746                inherit: "default" 0.0;
3747                visible: 0;
3748                rel2.relative: 1.0 0.0;
3749                image.normal: "flip_5b.png";
3750             }
3751             description { state: "6" 0.0;
3752                inherit: "default" 0.0;
3753                visible: 1;
3754                rel2.relative: 1.0 1.0;
3755                image.normal: "flip_6b.png";
3756             }
3757             description { state: "6h" 0.0;
3758                inherit: "default" 0.0;
3759                visible: 0;
3760                rel2.relative: 1.0 0.0;
3761                image.normal: "flip_6b.png";
3762             }
3763             description { state: "7" 0.0;
3764                inherit: "default" 0.0;
3765                visible: 1;
3766                rel2.relative: 1.0 1.0;
3767                image.normal: "flip_7b.png";
3768             }
3769             description { state: "7h" 0.0;
3770                inherit: "default" 0.0;
3771                visible: 0;
3772                rel2.relative: 1.0 0.0;
3773                image.normal: "flip_7b.png";
3774             }
3775             description { state: "8" 0.0;
3776                inherit: "default" 0.0;
3777                visible: 1;
3778                rel2.relative: 1.0 1.0;
3779                image.normal: "flip_8b.png";
3780             }
3781             description { state: "8h" 0.0;
3782                inherit: "default" 0.0;
3783                visible: 0;
3784                rel2.relative: 1.0 0.0;
3785                image.normal: "flip_8b.png";
3786             }
3787             description { state: "9" 0.0;
3788                inherit: "default" 0.0;
3789                visible: 1;
3790                rel2.relative: 1.0 1.0;
3791                image.normal: "flip_9b.png";
3792             }
3793             description { state: "9h" 0.0;
3794                inherit: "default" 0.0;
3795                visible: 0;
3796                rel2.relative: 1.0 0.0;
3797                image.normal: "flip_9b.png";
3798             }
3799          }
3800          part { name: "top0";
3801             mouse_events: 0;
3802             description { state: "default" 0.0;
3803                rel1.to: "t";
3804                rel2.to: "t";
3805                image.normal: "flip_0t.png";
3806             }
3807             description { state: "0" 0.0;
3808                inherit: "default" 0.0;
3809                image.normal: "flip_0t.png";
3810             }
3811             description { state: "1" 0.0;
3812                inherit: "default" 0.0;
3813                image.normal: "flip_1t.png";
3814             }
3815             description { state: "2" 0.0;
3816                inherit: "default" 0.0;
3817                image.normal: "flip_2t.png";
3818             }
3819             description { state: "3" 0.0;
3820                inherit: "default" 0.0;
3821                image.normal: "flip_3t.png";
3822             }
3823             description { state: "4" 0.0;
3824                inherit: "default" 0.0;
3825                image.normal: "flip_4t.png";
3826             }
3827             description { state: "5" 0.0;
3828                inherit: "default" 0.0;
3829                image.normal: "flip_5t.png";
3830             }
3831             description { state: "6" 0.0;
3832                inherit: "default" 0.0;
3833                image.normal: "flip_6t.png";
3834             }
3835             description { state: "7" 0.0;
3836                inherit: "default" 0.0;
3837                image.normal: "flip_7t.png";
3838             }
3839             description { state: "8" 0.0;
3840                inherit: "default" 0.0;
3841                image.normal: "flip_8t.png";
3842             }
3843             description { state: "9" 0.0;
3844                inherit: "default" 0.0;
3845                image.normal: "flip_9t.png";
3846             }
3847          }
3848          part { name: "top";
3849             mouse_events: 0;
3850             description { state: "default" 0.0;
3851                visible: 1;
3852                rel1.to: "t";
3853                rel2.to: "t";
3854                image.normal: "flip_0t.png";
3855             }
3856             description { state: "0" 0.0;
3857                inherit: "default" 0.0;
3858                visible: 1;
3859                rel1.relative: 0.0 0.0;
3860                image.normal: "flip_0t.png";
3861             }
3862             description { state: "0h" 0.0;
3863                inherit: "default" 0.0;
3864                color: 128 128 128 255;
3865                visible: 0;
3866                rel1.relative: 0.0 1.0;
3867                image.normal: "flip_0t.png";
3868             }
3869             description { state: "1" 0.0;
3870                inherit: "default" 0.0;
3871                visible: 1;
3872                rel1.relative: 0.0 0.0;
3873                image.normal: "flip_1t.png";
3874             }
3875             description { state: "1h" 0.0;
3876                inherit: "default" 0.0;
3877                color: 128 128 128 255;
3878                visible: 0;
3879                rel1.relative: 0.0 1.0;
3880                image.normal: "flip_1t.png";
3881             }
3882             description { state: "2" 0.0;
3883                inherit: "default" 0.0;
3884                visible: 1;
3885                rel1.relative: 0.0 0.0;
3886                image.normal: "flip_2t.png";
3887             }
3888             description { state: "2h" 0.0;
3889                inherit: "default" 0.0;
3890                color: 128 128 128 255;
3891                visible: 0;
3892                rel1.relative: 0.0 1.0;
3893                image.normal: "flip_2t.png";
3894             }
3895             description { state: "3" 0.0;
3896                inherit: "default" 0.0;
3897                visible: 1;
3898                rel1.relative: 0.0 0.0;
3899                image.normal: "flip_3t.png";
3900             }
3901             description { state: "3h" 0.0;
3902                inherit: "default" 0.0;
3903                color: 128 128 128 255;
3904                visible: 0;
3905                rel1.relative: 0.0 1.0;
3906                image.normal: "flip_3t.png";
3907             }
3908             description { state: "4" 0.0;
3909                inherit: "default" 0.0;
3910                visible: 1;
3911                rel1.relative: 0.0 0.0;
3912                image.normal: "flip_4t.png";
3913             }
3914             description { state: "4h" 0.0;
3915                inherit: "default" 0.0;
3916                color: 128 128 128 255;
3917                visible: 0;
3918                rel1.relative: 0.0 1.0;
3919                image.normal: "flip_4t.png";
3920             }
3921             description { state: "5" 0.0;
3922                inherit: "default" 0.0;
3923                visible: 1;
3924                rel1.relative: 0.0 0.0;
3925                image.normal: "flip_5t.png";
3926             }
3927             description { state: "5h" 0.0;
3928                inherit: "default" 0.0;
3929                color: 128 128 128 255;
3930                visible: 0;
3931                rel1.relative: 0.0 1.0;
3932                image.normal: "flip_5t.png";
3933             }
3934             description { state: "6" 0.0;
3935                inherit: "default" 0.0;
3936                visible: 1;
3937                rel1.relative: 0.0 0.0;
3938                image.normal: "flip_6t.png";
3939             }
3940             description { state: "6h" 0.0;
3941                inherit: "default" 0.0;
3942                color: 128 128 128 255;
3943                visible: 0;
3944                rel1.relative: 0.0 1.0;
3945                image.normal: "flip_6t.png";
3946             }
3947             description { state: "7" 0.0;
3948                inherit: "default" 0.0;
3949                visible: 1;
3950                rel1.relative: 0.0 0.0;
3951                image.normal: "flip_7t.png";
3952             }
3953             description { state: "7h" 0.0;
3954                inherit: "default" 0.0;
3955                color: 128 128 128 255;
3956                visible: 0;
3957                rel1.relative: 0.0 1.0;
3958                image.normal: "flip_7t.png";
3959             }
3960             description { state: "8" 0.0;
3961                inherit: "default" 0.0;
3962                visible: 1;
3963                rel1.relative: 0.0 0.0;
3964                image.normal: "flip_8t.png";
3965             }
3966             description { state: "8h" 0.0;
3967                inherit: "default" 0.0;
3968                color: 128 128 128 255;
3969                visible: 0;
3970                rel1.relative: 0.0 1.0;
3971                image.normal: "flip_8t.png";
3972             }
3973             description { state: "9" 0.0;
3974                inherit: "default" 0.0;
3975                visible: 1;
3976                rel1.relative: 0.0 0.0;
3977                image.normal: "flip_9t.png";
3978             }
3979             description { state: "9h" 0.0;
3980                inherit: "default" 0.0;
3981                color: 128 128 128 255;
3982                visible: 0;
3983                rel1.relative: 0.0 1.0;
3984                image.normal: "flip_9t.png";
3985             }
3986          }
3987          part { name: "atop";
3988             mouse_events: 0;
3989             scale: 1;
3990             description { state: "default" 0.0;
3991                visible: 0;
3992                min: 15 15;
3993                max: 15 15;
3994                align: 0.5 0.0;
3995                rel1.to: "t";
3996                rel2.to: "t";
3997                image.normal: "arrow_up.png";
3998             }
3999             description { state: "visible" 0.0;
4000                inherit: "default" 0.0;
4001                visible: 1;
4002             }
4003          }
4004          part { name: "abot";
4005             mouse_events: 0;
4006             scale: 1;
4007             description { state: "default" 0.0;
4008                visible: 0;
4009                min: 15 15;
4010                max: 15 15;
4011                align: 0.5 1.0;
4012                rel1.to: "b";
4013                rel2.to: "b";
4014                image.normal: "arrow_down.png";
4015             }
4016             description { state: "visible" 0.0;
4017                inherit: "default" 0.0;
4018                visible: 1;
4019             }
4020          }
4021       }
4022       programs {
4023          program { name: "load";
4024             signal: "load";
4025             source: "";
4026             script {
4027                set_int(v0_cur, 0);
4028                set_int(v0_pre, 0);
4029                set_int(v0_lock, 0);
4030                set_int(v0_next, -1);
4031             }
4032          }
4033          program { name: "edit_on";
4034             signal: "elm,state,edit,on";
4035             source: "elm";
4036             action: STATE_SET "visible" 0.0;
4037             target: "atop";
4038             target: "abot";
4039             target: "t";
4040             target: "b";
4041          }
4042          program { name: "edit_off";
4043             signal: "elm,state,edit,off";
4044             source: "elm";
4045             action: STATE_SET "default" 0.0;
4046             target: "atop";
4047             target: "abot";
4048             target: "t";
4049             target: "b";
4050          }
4051          program { name: "up";
4052             signal: "mouse,down,1";
4053             source: "t";
4054             action: SIGNAL_EMIT "elm,action,up,start" "";
4055          }
4056          program { name: "up,stop";
4057             signal: "mouse,up,1";
4058             source: "t";
4059             action: SIGNAL_EMIT "elm,action,up,stop" "";
4060          }
4061          program { name: "down";
4062             signal: "mouse,down,1";
4063             source: "b";
4064             action: SIGNAL_EMIT "elm,action,down,start" "";
4065          }
4066          program { name: "down,stop";
4067             signal: "mouse,up,1";
4068             source: "b";
4069             action: SIGNAL_EMIT "elm,action,down,stop" "";
4070          }
4071       }
4072    }
4073
4074 ///////////////////////////////////////////////////////////////////////////////
4075    group { name: "elm/clock/flipampm/default";
4076       images {
4077          image: "flip_base.png" COMP;
4078          image: "flip_base_shad.png" COMP;
4079          image: "flip_shad.png" COMP;
4080          image: "flip_amt.png" COMP;
4081          image: "flip_amb.png" COMP;
4082          image: "flip_pmt.png" COMP;
4083          image: "flip_pmb.png" COMP;
4084          image: "arrow_up.png" COMP;
4085          image: "arrow_down.png" COMP;
4086       }
4087       script {
4088          public v0_cur, v0_pre, v0_lock, v0_next;
4089
4090        public animator2(val, Float:pos) {
4091           new st1[11], st2[11], v;
4092
4093           v = get_int(v0_cur);
4094           snprintf(st1, 10, "%ih", v);
4095           snprintf(st2, 10, "%i", v);
4096           set_tween_state(PART:"bot", pos, st1, 0.0, st2, 0.0);
4097           set_tween_state(PART:"sh", pos, "half", 0.0, "full", 0.0);
4098           if (pos >= 1.0) {
4099              set_state(PART:"sh", "default", 0.0);
4100              set_int(v0_lock, 0);
4101              v = get_int(v0_next);
4102              if (v >= 0) {
4103                 set_int(v0_next, -1);
4104                 message(MSG_INT, 1, v);
4105              }
4106           }
4107        }
4108        public animator1(val, Float:pos) {
4109           new st1[11], st2[11], v;
4110
4111           v = get_int(v0_pre);
4112           snprintf(st1, 10, "%i", v);
4113           snprintf(st2, 10, "%ih", v);
4114           set_tween_state(PART:"top", pos, st1, 0.0, st2, 0.0);
4115           set_tween_state(PART:"sh", pos, "default", 0.0, "half", 0.0);
4116           if (pos >= 1.0) anim(0.2, "animator2", val);
4117        }
4118        public message(Msg_Type:type, id, ...) {
4119           if ((type == MSG_INT) && (id == 1)) {
4120              new value, v, buf[11];
4121
4122              value = getarg(2);
4123              if (get_int(v0_lock) == 1) {
4124                 set_int(v0_next, value);
4125                 return;
4126              }
4127              v = get_int(v0_cur);
4128              set_int(v0_pre, v);
4129              set_int(v0_cur, value);
4130              set_int(v0_lock, 1);
4131              snprintf(buf, 10, "%i", get_int(v0_pre));
4132              set_state(PART:"bot0", buf, 0.0);
4133              snprintf(buf, 10, "%ih", get_int(v0_cur));
4134              set_state(PART:"bot", buf, 0.0);
4135              snprintf(buf, 10, "%i", get_int(v0_cur));
4136              set_state(PART:"top0", buf, 0.0);
4137              snprintf(buf, 10, "%i", get_int(v0_pre));
4138              set_state(PART:"top", buf, 0.0);
4139              set_state(PART:"sh", "default", 0.0);
4140              anim(0.2, "animator1", 1);
4141           }
4142        }
4143       }
4144       parts {
4145          part { name: "shad";
4146             mouse_events: 0;
4147             description { state: "default" 0.0;
4148                rel1.offset: -4 -4;
4149                rel1.to: "base";
4150                rel2.offset: 3 3;
4151                rel2.to: "base";
4152                image {
4153                   normal: "flip_base_shad.png";
4154                   border: 8 8 8 8;
4155                }
4156             }
4157          }
4158          part { name: "base";
4159             mouse_events: 0;
4160             scale: 1;
4161             description { state: "default" 0.0;
4162                rel1.offset: 4 4;
4163                rel2.offset: -5 -5;
4164                // FIXME 48x96 should be the native pixel design, right now
4165                // its 80x160. fix int he artwork later
4166                aspect: 0.5 0.5;
4167                min: 24 48;
4168 //             max: 24 48;
4169                image.normal: "flip_base.png";
4170             }
4171          }
4172          part { name: "b";
4173             type: RECT;
4174             mouse_events: 1;
4175             description { state: "default" 0.0;
4176                rel1.to: "base";
4177                rel1.relative: 0.0 0.5;
4178                rel2.to: "base";
4179                color: 0 0 0 0;
4180             }
4181          }
4182          part { name: "t";
4183             type: RECT;
4184             mouse_events: 1;
4185             description { state: "default" 0.0;
4186                rel1.to: "base";
4187                rel2.to: "base";
4188                rel2.relative: 1.0 0.5;
4189                color: 0 0 0 0;
4190             }
4191          }
4192          part { name: "bot0";
4193             mouse_events: 0;
4194             description { state: "default" 0.0;
4195                rel1.to: "b";
4196                rel2.to: "b";
4197                image.normal: "flip_amb.png";
4198             }
4199             description { state: "0" 0.0;
4200                inherit: "default" 0.0;
4201                image.normal: "flip_amb.png";
4202             }
4203             description { state: "1" 0.0;
4204                inherit: "default" 0.0;
4205                image.normal: "flip_pmb.png";
4206             }
4207          }
4208          part { name: "sh";
4209             mouse_events: 0;
4210             description { state: "default" 0.0;
4211                rel1.to: "b";
4212                rel2.to: "b";
4213                rel2.relative: 1.0 0.0;
4214                image.normal: "flip_shad.png";
4215             }
4216             description { state: "half" 0.0;
4217                inherit: "default" 0.0;
4218                rel2.relative: 1.0 0.5;
4219             }
4220             description { state: "full" 0.0;
4221                inherit: "default" 0.0;
4222                rel2.relative: 1.0 1.0;
4223             }
4224          }
4225          part { name: "bot";
4226             mouse_events: 0;
4227             description { state: "default" 0.0;
4228                visible: 1;
4229                rel1.to: "b";
4230                rel2.to: "b";
4231                image.normal: "flip_amb.png";
4232             }
4233             description { state: "0" 0.0;
4234                inherit: "default" 0.0;
4235                visible: 1;
4236                rel2.relative: 1.0 1.0;
4237                image.normal: "flip_amb.png";
4238             }
4239             description { state: "0h" 0.0;
4240                inherit: "default" 0.0;
4241                visible: 0;
4242                rel2.relative: 1.0 0.0;
4243                image.normal: "flip_amb.png";
4244             }
4245             description { state: "1" 0.0;
4246                inherit: "default" 0.0;
4247                visible: 1;
4248                rel2.relative: 1.0 1.0;
4249                image.normal: "flip_pmb.png";
4250             }
4251             description { state: "1h" 0.0;
4252                inherit: "default" 0.0;
4253                visible: 0;
4254                rel2.relative: 1.0 0.0;
4255                image.normal: "flip_pmb.png";
4256             }
4257          }
4258          part { name: "top0";
4259             mouse_events: 0;
4260             description { state: "default" 0.0;
4261                rel1.to: "t";
4262                rel2.to: "t";
4263                image.normal: "flip_amt.png";
4264             }
4265             description { state: "0" 0.0;
4266                inherit: "default" 0.0;
4267                image.normal: "flip_amt.png";
4268             }
4269             description { state: "1" 0.0;
4270                inherit: "default" 0.0;
4271                image.normal: "flip_pmt.png";
4272             }
4273          }
4274          part { name: "top";
4275             mouse_events: 0;
4276             description { state: "default" 0.0;
4277                visible: 1;
4278                rel1.to: "t";
4279                rel2.to: "t";
4280                image.normal: "flip_amt.png";
4281             }
4282             description { state: "0" 0.0;
4283                inherit: "default" 0.0;
4284                visible: 1;
4285                rel1.relative: 0.0 0.0;
4286                image.normal: "flip_amt.png";
4287             }
4288             description { state: "0h" 0.0;
4289                inherit: "default" 0.0;
4290                color: 128 128 128 255;
4291                visible: 0;
4292                rel1.relative: 0.0 1.0;
4293                image.normal: "flip_amt.png";
4294             }
4295             description { state: "1" 0.0;
4296                inherit: "default" 0.0;
4297                visible: 1;
4298                rel1.relative: 0.0 0.0;
4299                image.normal: "flip_pmt.png";
4300             }
4301             description { state: "1h" 0.0;
4302                inherit: "default" 0.0;
4303                color: 128 128 128 255;
4304                visible: 0;
4305                rel1.relative: 0.0 1.0;
4306                image.normal: "flip_pmt.png";
4307             }
4308          }
4309          part { name: "atop";
4310             mouse_events: 0;
4311             scale: 1;
4312             description { state: "default" 0.0;
4313                visible: 0;
4314                min: 15 15;
4315                max: 15 15;
4316                align: 0.5 0.0;
4317                rel1.to: "t";
4318                rel2.to: "t";
4319                image.normal: "arrow_up.png";
4320             }
4321             description { state: "visible" 0.0;
4322                inherit: "default" 0.0;
4323                visible: 1;
4324             }
4325          }
4326          part { name: "abot";
4327             mouse_events: 0;
4328             scale: 1;
4329             description { state: "default" 0.0;
4330                visible: 0;
4331                min: 15 15;
4332                max: 15 15;
4333                align: 0.5 1.0;
4334                rel1.to: "b";
4335                rel2.to: "b";
4336                image.normal: "arrow_down.png";
4337             }
4338             description { state: "visible" 0.0;
4339                inherit: "default" 0.0;
4340                visible: 1;
4341             }
4342          }
4343       }
4344       programs {
4345          program { name: "load";
4346             signal: "load";
4347             source: "";
4348             script {
4349                set_int(v0_cur, 0);
4350                set_int(v0_pre, 0);
4351                set_int(v0_lock, 0);
4352                set_int(v0_next, -1);
4353             }
4354          }
4355          program { name: "edit_on";
4356             signal: "elm,state,edit,on";
4357             source: "elm";
4358             action: STATE_SET "visible" 0.0;
4359             target: "atop";
4360             target: "abot";
4361          }
4362 /*
4363          program { name: "edit_off";
4364             signal: "elm,state,edit,off";
4365             source: "elm";
4366             action: STATE_SET "default" 0.0;
4367             target: "atop";
4368             target: "abot";
4369          }
4370  */
4371          program { name: "up";
4372             signal: "mouse,down,1";
4373             source: "t";
4374             action: SIGNAL_EMIT "elm,action,up,start" "";
4375          }
4376          program { name: "up,stop";
4377             signal: "mouse,up,1";
4378             source: "t";
4379             action: SIGNAL_EMIT "elm,action,up,stop" "";
4380          }
4381          program { name: "down";
4382             signal: "mouse,down,1";
4383             source: "b";
4384             action: SIGNAL_EMIT "elm,action,down,start" "";
4385          }
4386          program { name: "down,stop";
4387             signal: "mouse,up,1";
4388             source: "b";
4389             action: SIGNAL_EMIT "elm,action,down,stop" "";
4390          }
4391       }
4392    }
4393
4394    ///////////////////////////////////////////////////////////////////////////////
4395    group { name: "elm/menu/item/default";
4396        images {
4397            image: "bt_base1.png" COMP;
4398            image: "bt_base2.png" COMP;
4399            image: "bt_hilight.png" COMP;
4400            image: "bt_shine.png" COMP;
4401            image: "bt_glow.png" COMP;
4402            image: "bt_dis_base.png" COMP;
4403            image: "bt_dis_hilight.png" COMP;
4404        }
4405        script {
4406             public menu_text_visible; //0:hide (default), 1:visible
4407             public menu_disable; //0:enable, 1:disable
4408        }
4409        parts {
4410            part { name: "item_image";
4411                mouse_events: 1;
4412                description { state: "default" 0.0;
4413                    color: 255 255 255 0;
4414                    image {
4415                        normal: "bt_base2.png";
4416                        border: 7 7 7 7;
4417                    }
4418                    image.middle: SOLID;
4419                }
4420                description { state: "visible" 0.0;
4421                    inherit: "default" 0.0;
4422                    color: 255 255 255 255;
4423                }
4424                description { state: "clicked" 0.0;
4425                    inherit: "default" 0.0;
4426                    inherit: "visible" 0.0;
4427                    image.normal: "bt_base1.png";
4428                    image.middle: SOLID;
4429                }
4430                description { state: "disabled" 0.0;
4431                    inherit:  "default" 0.0;
4432                }
4433            }
4434            part { name: "item_image_disabled";
4435                mouse_events: 1;
4436                description { state: "default" 0.0;
4437                    color: 255 255 255 0;
4438                    image {
4439                        normal: "bt_dis_base.png";
4440                        border: 4 4 4 4;
4441                    }
4442                    image.middle: SOLID;
4443                }
4444                description { state: "disabled" 0.0;
4445                    inherit:  "default" 0.0;
4446                    color: 255 255 255 255;
4447                }
4448            }
4449            part { name: "elm.swallow.content";
4450                type: SWALLOW;
4451                description { state: "default" 0.0;
4452                    fixed: 1 0;
4453                    visible: 1;
4454                    align: 0.0 0.5;
4455                    rel1.offset: 4 4;
4456                    rel2.offset: 3 -5;
4457                    rel2.relative: 0.0 1.0;
4458                    aspect: 1.0 1.0;
4459                    aspect_preference: VERTICAL;
4460                    rel2.offset: 4 -5;
4461                }
4462            }
4463            part {
4464                name:          "elm.text";
4465                type:          TEXT;
4466                mouse_events:  0;
4467                scale: 1;
4468                description { state: "default" 0.0;
4469                    visible: 0;
4470                    rel1.to_x: "elm.swallow.content";
4471                    rel1.relative: 1.0 0.0;
4472                    rel1.offset: 5 7;
4473                    rel2.offset: -10 -8;
4474                    color: 0 0 0 255;
4475                    text {
4476                        font:     "Sans,Edje-Vera";
4477                        size:     10;
4478                        min:      1 1;
4479                        align:    0.0 0.5;
4480                        text_class: "menu_item";
4481                    }
4482                }
4483                description { state: "visible" 0.0;
4484                    inherit: "default" 0.0;
4485                    visible: 1;
4486                    text.min: 1 1;
4487                }
4488                description { state: "selected" 0.0;
4489                    inherit: "default" 0.0;
4490                    inherit: "visible" 0.0;
4491                    color: 254 254 254 255;
4492                }
4493                description { state: "disabled" 0.0;
4494                    inherit: "default" 0.0;
4495                    color: 0 0 0 128;
4496                }
4497                description { state: "disabled_visible" 0.0;
4498                    inherit: "default" 0.0;
4499                    inherit: "visible" 0.0;
4500                    color: 0 0 0 128;
4501                }
4502            }
4503            part {         name: "over1";
4504                mouse_events: 0;
4505                description { state: "default" 0.0;
4506                    color: 255 255 255 0;
4507                    rel2.relative: 1.0 0.5;
4508                    image {
4509                        normal: "bt_hilight.png";
4510                        border: 7 7 7 0;
4511                    }
4512                }
4513                description { state: "visible" 0.0;
4514                    inherit:  "default" 0.0;
4515                    color: 255 255 255 255;
4516                }
4517                description { state: "disabled" 0.0;
4518                    inherit:  "default" 0.0;
4519                }
4520            }
4521            part {         name: "over_disabled";
4522                mouse_events: 0;
4523                description { state: "default" 0.0;
4524                    color: 255 255 255 0;
4525                    rel2.relative: 1.0 0.5;
4526                    image {
4527                        normal: "bt_dis_hilight.png";
4528                        border: 4 4 4 0;
4529                    }
4530                }
4531                description { state: "disabled" 0.0;
4532                    inherit:  "default" 0.0;
4533                    color: 255 255 255 255;
4534                }
4535            }
4536            part { name: "over2";
4537                mouse_events: 1;
4538                repeat_events: 1;
4539                ignore_flags: ON_HOLD;
4540                description { state: "default" 0.0;
4541                    image {
4542                        normal: "bt_shine.png";
4543                        border: 7 7 7 7;
4544                    }
4545                }
4546                description { state: "disabled" 0.0;
4547                    inherit:  "default" 0.0;
4548                    visible: 0;
4549                }
4550            }
4551            part { name: "over3";
4552                mouse_events: 1;
4553                repeat_events: 1;
4554                description { state: "default" 0.0;
4555                    color: 255 255 255 0;
4556                    image {
4557                        normal: "bt_glow.png";
4558                        border: 12 12 12 12;
4559                    }
4560                    fill.smooth : 0;
4561                }
4562                description { state: "clicked" 0.0;
4563                    inherit:  "default" 0.0;
4564                    visible: 1;
4565                    color: 255 255 255 255;
4566                }
4567            }
4568            part { name: "disabler";
4569                type: RECT;
4570                description { state: "default" 0.0;
4571                    color: 0 0 0 0;
4572                    visible: 0;
4573                }
4574                description { state: "disabled" 0.0;
4575                    inherit: "default" 0.0;
4576                    visible: 1;
4577                }
4578            }
4579        }
4580        programs {
4581           //
4582            program {
4583                name:   "item_mouse_in";
4584                signal: "mouse,in";
4585                source: "over2";
4586                action: SIGNAL_EMIT "elm,action,activate" "";
4587                after: "item_mouse_in_2";
4588                after: "item_mouse_in_3";
4589            }
4590            program {
4591                name:   "item_mouse_in_2";
4592                transition: DECELERATE 0.5;
4593                script {
4594                    new v, d;
4595                    v = get_int(menu_text_visible);
4596                    d = get_int(menu_disable);
4597
4598                    if (v==1 && d==0)
4599                         run_program(PROGRAM:"selected_text");
4600                }
4601            }
4602            program {
4603                name:   "item_mouse_in_3";
4604                action : STATE_SET "visible" 0.0;
4605                target: "item_image";
4606                target: "over1";
4607                transition: DECELERATE 0.5;
4608            }
4609            program {
4610                name:   "selected_text";
4611                action: STATE_SET "selected" 0.0;
4612                target: "elm.text";
4613                transition: DECELERATE 0.5;
4614            }
4615            //
4616
4617            //
4618            program {
4619                name:   "item_mouse_out";
4620                signal: "mouse,out";
4621                source: "over2";
4622                after: "item_mouse_out_2";
4623                after: "item_mouse_out_3";
4624            }
4625            program {
4626                name:   "item_mouse_out_2";
4627                transition: DECELERATE 0.5;
4628                script {
4629                    new v, d;
4630                    v = get_int(menu_text_visible);
4631                    d = get_int(menu_disable);
4632
4633                    if (v==1 && d==0)
4634                         run_program(PROGRAM:"visible_text");
4635                }
4636            }
4637            program {
4638                name:   "item_mouse_out_3";
4639                action: STATE_SET "default" 0.0;
4640                target: "item_image";
4641                target: "over1";
4642                transition: DECELERATE 0.5;
4643            }
4644            program {
4645                name:   "visible_text";
4646                action: STATE_SET "visible" 0.0;
4647                target: "elm.text";
4648                transition: DECELERATE 0.5;
4649            }
4650            //
4651
4652            program {
4653                name:   "item_unclick";
4654                signal: "mouse,up,1";
4655                source: "over2";
4656                action: STATE_SET "visible" 0.0;
4657                target: "item_image";
4658            }
4659            program {
4660                name:   "item_click2";
4661                signal: "mouse,down,1";
4662                source: "over3";
4663                action: STATE_SET "clicked" 0.0;
4664                target: "over3";
4665            }
4666            program {
4667                name:   "item_unclick2";
4668                signal: "mouse,up,1";
4669                source: "over3";
4670                action: STATE_SET "default" 0.0;
4671                transition: DECELERATE 0.5;
4672                target: "over3";
4673            }
4674            program {
4675                name:   "item_unclick3";
4676                signal: "mouse,up,1";
4677                source: "over2";
4678                action: SIGNAL_EMIT "elm,action,click" "";
4679            }
4680            program { name: "text_show";
4681                signal: "elm,state,text,visible";
4682                source: "elm";
4683                script {
4684                    set_int(menu_text_visible, 1);
4685                    set_state(PART:"elm.text", "visible", 0.0);
4686                }
4687            }
4688            program { name: "text_hide";
4689                signal: "elm,state,text,hidden";
4690                source: "elm";
4691                script {
4692                    set_int(menu_text_visible, 0);
4693                    set_state(PART:"elm.text", "default", 0.0);
4694                }
4695            }
4696            program { name: "disable";
4697                signal: "elm,state,disabled";
4698                source: "elm";
4699                action: STATE_SET "disabled" 0.0;
4700                target: "item_image";
4701                target: "item_image_disabled";
4702                target: "over1";
4703                target: "over2";
4704                target: "over_disabled";
4705                target: "disabler";
4706                after: "disable_text";
4707            }
4708            program { name: "disable_text";
4709                script {
4710                    new v;
4711                    v = get_int(menu_text_visible);
4712                    if (v==1)
4713                     set_state(PART:"elm.text", "disabled_visible", 0.0);
4714                    else if (v==0)
4715                     set_state(PART:"elm.text", "disabled", 0.0);
4716                    set_int(menu_disable, 1);
4717                }
4718            }
4719            program { name: "enable";
4720                signal: "elm,state,enabled";
4721                source: "elm";
4722                action: STATE_SET "default" 0.0;
4723                target: "item_image";
4724                target: "item_image_disabled";
4725                target: "over1";
4726                target: "over2";
4727                target: "over_disabled";
4728                target: "disabler";
4729                after: "enable_text";
4730            }
4731            program { name: "enable_text";
4732                script {
4733                    new v;
4734                    v = get_int(menu_text_visible);
4735                    if (v==1)
4736                     set_state(PART:"elm.text", "visible", 0.0);
4737                    else  if (v==0)
4738                     set_state(PART:"elm.text", "default", 0.0);
4739                    set_int(menu_disable, 0);
4740                }
4741            }
4742        }
4743    }
4744
4745    group { name: "elm/menu/item_with_submenu/default";
4746        images {
4747            image: "bt_base1.png" COMP;
4748            image: "bt_base2.png" COMP;
4749            image: "bt_hilight.png" COMP;
4750            image: "bt_shine.png" COMP;
4751            image: "bt_glow.png" COMP;
4752            image: "bt_dis_base.png" COMP;
4753            image: "bt_dis_hilight.png" COMP;
4754            image: "arrow_right.png" COMP;
4755        }
4756        script {
4757             public menu_text_visible; //0:hide (default), 1:visible
4758             public menu_disable; //0:enable, 1:disable
4759        }
4760        parts {
4761            part { name: "item_image";
4762                mouse_events: 1;
4763                description { state: "default" 0.0;
4764                    color: 255 255 255 0;
4765                    image {
4766                        normal: "bt_base2.png";
4767                        border: 7 7 7 7;
4768                    }
4769                    image.middle: SOLID;
4770                }
4771                description { state: "visible" 0.0;
4772                    inherit: "default" 0.0;
4773                    color: 255 255 255 255;
4774                }
4775                description { state: "clicked" 0.0;
4776                    inherit: "default" 0.0;
4777                    inherit: "visible" 0.0;
4778                    image.normal: "bt_base1.png";
4779                    image.middle: SOLID;
4780                }
4781                description { state: "disabled" 0.0;
4782                    inherit:  "default" 0.0;
4783                }
4784            }
4785            part { name: "item_image_disabled";
4786                mouse_events: 1;
4787                description { state: "default" 0.0;
4788                    color: 255 255 255 0;
4789                    image {
4790                        normal: "bt_dis_base.png";
4791                        border: 4 4 4 4;
4792                    }
4793                    image.middle: SOLID;
4794                }
4795                description { state: "disabled" 0.0;
4796                    inherit:  "default" 0.0;
4797                    color: 255 255 255 255;
4798                }
4799            }
4800            part { name: "arrow";
4801                mouse_events: 1;
4802                description { state: "default" 0.0;
4803                    color: 255 255 255 255;
4804                    align: 1.0 0.5;
4805                    aspect: 1 1;
4806                    aspect_preference: BOTH;
4807                    image {
4808                        normal: "arrow_right.png";
4809                    }
4810                }
4811            }
4812            part { name: "elm.swallow.content";
4813                type: SWALLOW;
4814                description { state: "default" 0.0;
4815                    fixed: 1 0;
4816                    visible: 1;
4817                    align: 0.0 0.5;
4818                    rel1.offset: 4 4;
4819                    rel2.offset: 3 -5;
4820                    rel2.relative: 0.0 1.0;
4821                    aspect: 1.0 1.0;
4822                    aspect_preference: VERTICAL;
4823                    rel2.offset: 4 -5;
4824                }
4825            }
4826            part {
4827                name:          "elm.text";
4828                type:          TEXT;
4829                mouse_events:  0;
4830                scale: 1;
4831                description { state: "default" 0.0;
4832                    visible: 0;
4833                    rel1.to_x: "elm.swallow.content";
4834                    rel1.relative: 1.0 0.0;
4835                    rel1.offset: 5 7;
4836                    rel2.offset: -10 -8;
4837                    color: 0 0 0 255;
4838                    text {
4839                        font:     "Sans,Edje-Vera";
4840                        size:     10;
4841                        min:      1 1;
4842                        align:    0.0 0.5;
4843                        text_class: "menu_item";
4844                    }
4845                }
4846                description { state: "visible" 0.0;
4847                    inherit: "default" 0.0;
4848                    visible: 1;
4849                    text.min: 1 1;
4850                }
4851                description { state: "selected" 0.0;
4852                    inherit: "default" 0.0;
4853                    inherit: "visible" 0.0;
4854                    color: 254 254 254 255;
4855                }
4856                description { state: "disabled" 0.0;
4857                    inherit: "default" 0.0;
4858                    color: 0 0 0 128;
4859                }
4860                description { state: "disabled_visible" 0.0;
4861                    inherit: "default" 0.0;
4862                    inherit: "visible" 0.0;
4863                    color: 0 0 0 128;
4864                }
4865            }
4866            part {         name: "over1";
4867                mouse_events: 0;
4868                description { state: "default" 0.0;
4869                    color: 255 255 255 0;
4870                    rel2.relative: 1.0 0.5;
4871                    image {
4872                        normal: "bt_hilight.png";
4873                        border: 7 7 7 0;
4874                    }
4875                }
4876                description { state: "visible" 0.0;
4877                    inherit:  "default" 0.0;
4878                    color: 255 255 255 255;
4879                }
4880                description { state: "disabled" 0.0;
4881                    inherit:  "default" 0.0;
4882                }
4883            }
4884            part { name: "over_disabled";
4885                mouse_events: 0;
4886                description { state: "default" 0.0;
4887                    color: 255 255 255 0;
4888                    rel2.relative: 1.0 0.5;
4889                    image {
4890                        normal: "bt_dis_hilight.png";
4891                        border: 4 4 4 0;
4892                    }
4893                }
4894                description { state: "disabled" 0.0;
4895                    inherit:  "default" 0.0;
4896                    color: 255 255 255 255;
4897                }
4898            }
4899            part { name: "over2";
4900                mouse_events: 1;
4901                repeat_events: 1;
4902                ignore_flags: ON_HOLD;
4903                description { state: "default" 0.0;
4904                    image {
4905                        normal: "bt_shine.png";
4906                        border: 7 7 7 7;
4907                    }
4908                }
4909                description { state: "disabled" 0.0;
4910                    inherit:  "default" 0.0;
4911                    visible: 0;
4912                }
4913            }
4914            part { name: "over3";
4915                mouse_events: 1;
4916                repeat_events: 1;
4917                description { state: "default" 0.0;
4918                    color: 255 255 255 0;
4919                    image {
4920                        normal: "bt_glow.png";
4921                        border: 12 12 12 12;
4922                    }
4923                    fill.smooth : 0;
4924                }
4925                description { state: "clicked" 0.0;
4926                    inherit:  "default" 0.0;
4927                    visible: 1;
4928                    color: 255 255 255 255;
4929                }
4930            }
4931            part { name: "disabler";
4932                type: RECT;
4933                description { state: "default" 0.0;
4934                    color: 0 0 0 0;
4935                    visible: 0;
4936                }
4937                description { state: "disabled" 0.0;
4938                    inherit: "default" 0.0;
4939                    visible: 1;
4940                }
4941            }
4942        }
4943        programs {
4944            //
4945            program {
4946                name:   "item_mouse_in";
4947                signal: "mouse,in";
4948                source: "over2";
4949                action: SIGNAL_EMIT "elm,action,activate" "";
4950                after: "item_mouse_in_2";
4951                after: "item_mouse_in_3";
4952            }
4953            program {
4954                name:   "item_mouse_in_2";
4955                transition: DECELERATE 0.5;
4956                script {
4957                    new v, d;
4958                    v = get_int(menu_text_visible);
4959                    d = get_int(menu_disable);
4960
4961                    if (v==1 && d==0)
4962                         run_program(PROGRAM:"selected_text");
4963                }
4964            }
4965            program {
4966                name:   "item_mouse_in_3";
4967                action : STATE_SET "visible" 0.0;
4968                target: "item_image";
4969                target: "over1";
4970                transition: DECELERATE 0.5;
4971            }
4972            program {
4973                name:   "selected_text";
4974                action: STATE_SET "selected" 0.0;
4975                target: "elm.text";
4976                transition: DECELERATE 0.5;
4977            }
4978            //
4979
4980            //
4981            program {
4982                name:   "item_mouse_out";
4983                signal: "mouse,out";
4984                source: "over2";
4985                after: "item_mouse_out_2";
4986                after: "item_mouse_out_3";
4987            }
4988            program {
4989                name:   "item_mouse_out_2";
4990                transition: DECELERATE 0.5;
4991                script {
4992                    new v, d;
4993                    v = get_int(menu_text_visible);
4994                    d = get_int(menu_disable);
4995
4996                    if (v==1 && d==0)
4997                         run_program(PROGRAM:"visible_text");
4998                }
4999            }
5000            program {
5001                name:   "item_mouse_out_3";
5002                action: STATE_SET "default" 0.0;
5003                target: "item_image";
5004                target: "over1";
5005                transition: DECELERATE 0.5;
5006            }
5007            program {
5008                name:   "visible_text";
5009                action: STATE_SET "visible" 0.0;
5010                target: "elm.text";
5011                transition: DECELERATE 0.5;
5012            }
5013            //
5014
5015            program {
5016                name:   "item_unclick";
5017                signal: "mouse,up,1";
5018                source: "over2";
5019                action: STATE_SET "visible" 0.0;
5020                target: "item_image";
5021            }
5022            program {
5023                name:   "item_click2";
5024                signal: "mouse,down,1";
5025                source: "over3";
5026                action: STATE_SET "clicked" 0.0;
5027                target: "over3";
5028            }
5029            program {
5030                name:   "item_unclick2";
5031                signal: "mouse,up,1";
5032                source: "over3";
5033                action: STATE_SET "default" 0.0;
5034                transition: DECELERATE 0.5;
5035                target: "over3";
5036            }
5037            program {
5038                name:   "item_unclick3";
5039                signal: "mouse,up,1";
5040                source: "over2";
5041                action: SIGNAL_EMIT "elm,action,click" "";
5042            }
5043            program {
5044                name:   "menu_open";
5045                signal: "mouse,in";
5046                source: "over2";
5047                action: SIGNAL_EMIT "elm,action,open" "";
5048            }
5049             program { name: "text_show";
5050                signal: "elm,state,text,visible";
5051                source: "elm";
5052                script {
5053                    set_int(menu_text_visible, 1);
5054                    set_state(PART:"elm.text", "visible", 0.0);
5055                }
5056            }
5057            program { name: "text_hide";
5058                signal: "elm,state,text,hidden";
5059                source: "elm";
5060                script {
5061                    set_int(menu_text_visible, 0);
5062                    set_state(PART:"elm.text", "default", 0.0);
5063                }
5064            }
5065            program { name: "disable";
5066                signal: "elm,state,disabled";
5067                source: "elm";
5068                action: STATE_SET "disabled" 0.0;
5069                target: "item_image";
5070                target: "item_image_disabled";
5071                target: "over1";
5072                target: "over2";
5073                target: "over_disabled";
5074                target: "disabler";
5075                after: "disable_text";
5076            }
5077            program { name: "disable_text";
5078                script {
5079                    new st[31];
5080                    new Float:vl;
5081                    get_state(PART:"elm.text", st, 30, vl);
5082                    if (!strcmp(st, "visible"))
5083                    set_state(PART:"elm.text", "disabled_visible", 0.0);
5084                    else if (!strcmp(st, "default"))
5085                    set_state(PART:"elm.text", "disabled", 0.0);
5086                }
5087            }
5088            program { name: "enable";
5089                signal: "elm,state,enabled";
5090                source: "elm";
5091                action: STATE_SET "default" 0.0;
5092                target: "item_image";
5093                target: "item_image_disabled";
5094                target: "over1";
5095                target: "over2";
5096                target: "over_disabled";
5097                target: "disabler";
5098                after: "enable_text";
5099            }
5100            program { name: "enable_text";
5101                script {
5102                    new v;
5103                    v = get_int(menu_text_visible);
5104                    if (v==1)
5105                     set_state(PART:"elm.text", "visible", 0.0);
5106                    else  if (v==0)
5107                     set_state(PART:"elm.text", "default", 0.0);
5108                    set_int(menu_disable, 0);
5109                }
5110            }
5111        }
5112    }
5113
5114    group { name: "elm/menu/separator/default";
5115        images {
5116            image: "separator_h.png" COMP;
5117        }
5118        parts {
5119            part { name: "separator"; // separator group
5120                description { state: "default" 0.0;
5121                    min: 2 2;
5122                    rel1.offset: 4 4;
5123                    rel2.offset: -5 -5;
5124                    image {
5125                        normal: "separator_h.png";
5126                    }
5127                    fill {
5128                        smooth: 0;
5129                    }
5130                }
5131            }
5132        }
5133    }
5134 ///////////////////////////////////////////////////////////////////////////////
5135    group { name: "elm/clock/base-all/default";
5136       parts {
5137          part { name: "d0";
5138             type: SWALLOW;
5139             description { state: "default" 0.0;
5140                rel1.relative: 0.0000000 0.0;
5141                rel2.relative: 0.1250000 1.0;
5142             }
5143          }
5144          part { name: "d1";
5145             type: SWALLOW;
5146             description { state: "default" 0.0;
5147                rel1.relative: 0.1250000 0.0;
5148                rel2.relative: 0.2500000 1.0;
5149             }
5150          }
5151          part { name: "c0";
5152             type: SWALLOW;
5153             type: TEXT;
5154             mouse_events:  0;
5155             scale: 1;
5156             description { state: "default" 0.0;
5157                rel1.relative: 0.2500000 0.0;
5158                rel2.relative: 0.3125000 1.0;
5159                color: 0 0 0 255;
5160                text {
5161                   font:     "Sans,Edje-Vera";
5162                   text:     ":";
5163                   size:     10;
5164                   min:      1 1;
5165                   align:    0.5 0.5;
5166                }
5167             }
5168          }
5169          part { name: "d2";
5170             type: SWALLOW;
5171             description { state: "default" 0.0;
5172                rel1.relative: 0.3125000 0.0;
5173                rel2.relative: 0.4375000 1.0;
5174             }
5175          }
5176          part { name: "d3";
5177             type: SWALLOW;
5178             description { state: "default" 0.0;
5179                rel1.relative: 0.4375000 0.0;
5180                rel2.relative: 0.5625000 1.0;
5181             }
5182          }
5183          // (if seconds)
5184          part { name: "c1";
5185             type: SWALLOW;
5186             type: TEXT;
5187             mouse_events:  0;
5188             scale: 1;
5189             description { state: "default" 0.0;
5190                rel1.relative: 0.5625000 0.0;
5191                rel2.relative: 0.6250000 1.0;
5192                color: 0 0 0 255;
5193                text {
5194                   font:     "Sans,Edje-Vera";
5195                   text:     ":";
5196                   size:     10;
5197                   min:      1 1;
5198                   align:    0.5 0.5;
5199                }
5200             }
5201          }
5202          // (if seconds)
5203          part { name: "d4";
5204             type: SWALLOW;
5205             description { state: "default" 0.0;
5206                rel1.relative: 0.6250000 0.0;
5207                rel2.relative: 0.7500000 1.0;
5208             }
5209          }
5210          // (if seconds)
5211          part { name: "d5";
5212             type: SWALLOW;
5213             description { state: "default" 0.0;
5214                rel1.relative: 0.7500000 0.0;
5215                rel2.relative: 0.8750000 1.0;
5216             }
5217          }
5218          // (if am_pm)
5219          part { name: "ampm";
5220             type: SWALLOW;
5221             description { state: "default" 0.0;
5222                rel1.relative: 0.8750000 0.0;
5223                rel2.relative: 1.0 1.0;
5224             }
5225          }
5226       }
5227    }
5228
5229 ///////////////////////////////////////////////////////////////////////////////
5230    group { name: "elm/clock/base-seconds/default";
5231       parts {
5232          part { name: "d0";
5233             type: SWALLOW;
5234             description { state: "default" 0.0;
5235                rel1.relative: 0.000000000 0.0;
5236                rel2.relative: 0.142857143 1.0;
5237             }
5238          }
5239          part { name: "d1";
5240             type: SWALLOW;
5241             description { state: "default" 0.0;
5242                rel1.relative: 0.142857143 0.0;
5243                rel2.relative: 0.285714286 1.0;
5244             }
5245          }
5246          part { name: "c0";
5247             type: SWALLOW;
5248             type: TEXT;
5249             mouse_events:  0;
5250             scale: 1;
5251             description { state: "default" 0.0;
5252                rel1.relative: 0.285714286 0.0;
5253                rel2.relative: 0.357142857 1.0;
5254                color: 0 0 0 255;
5255                text {
5256                   font:     "Sans,Edje-Vera";
5257                   text:     ":";
5258                   size:     10;
5259                   min:      1 1;
5260                   align:    0.5 0.5;
5261                }
5262             }
5263          }
5264          part { name: "d2";
5265             type: SWALLOW;
5266             description { state: "default" 0.0;
5267                rel1.relative: 0.357142857 0.0;
5268                rel2.relative: 0.500000000 1.0;
5269             }
5270          }
5271          part { name: "d3";
5272             type: SWALLOW;
5273             description { state: "default" 0.0;
5274                rel1.relative: 0.500000000 0.0;
5275                rel2.relative: 0.642857143 1.0;
5276             }
5277          }
5278          // (if seconds)
5279          part { name: "c1";
5280             type: SWALLOW;
5281             type: TEXT;
5282             mouse_events:  0;
5283             scale: 1;
5284             description { state: "default" 0.0;
5285                rel1.relative: 0.642857143 0.0;
5286                rel2.relative: 0.714285714 1.0;
5287                color: 0 0 0 255;
5288                text {
5289                   font:     "Sans,Edje-Vera";
5290                   text:     ":";
5291                   size:     10;
5292                   min:      1 1;
5293                   align:    0.5 0.5;
5294                }
5295             }
5296          }
5297          // (if seconds)
5298          part { name: "d4";
5299             type: SWALLOW;
5300             description { state: "default" 0.0;
5301                rel1.relative: 0.714285714 0.0;
5302                rel2.relative: 0.857142857 1.0;
5303             }
5304          }
5305          // (if seconds)
5306          part { name: "d5";
5307             type: SWALLOW;
5308             description { state: "default" 0.0;
5309                rel1.relative: 0.857142857 0.0;
5310                rel2.relative: 1.000000000 1.0;
5311             }
5312          }
5313       }
5314    }
5315
5316 ///////////////////////////////////////////////////////////////////////////////
5317    group { name: "elm/clock/base-am_pm/default";
5318       parts {
5319          part { name: "d0";
5320             type: SWALLOW;
5321             description { state: "default" 0.0;
5322                rel1.relative: 0.000000000 0.0;
5323                rel2.relative: 0.181818182 1.0;
5324             }
5325          }
5326          part { name: "d1";
5327             type: SWALLOW;
5328             description { state: "default" 0.0;
5329                rel1.relative: 0.181818182 0.0;
5330                rel2.relative: 0.363636364 1.0;
5331             }
5332          }
5333          part { name: "c0";
5334             type: SWALLOW;
5335             type: TEXT;
5336             mouse_events:  0;
5337             scale: 1;
5338             description { state: "default" 0.0;
5339                rel1.relative: 0.363636364 0.0;
5340                rel2.relative: 0.454545455 1.0;
5341                color: 0 0 0 255;
5342                text {
5343                   font:     "Sans,Edje-Vera";
5344                   text:     ":";
5345                   size:     10;
5346                   min:      1 1;
5347                   align:    0.5 0.5;
5348                }
5349             }
5350          }
5351          part { name: "d2";
5352             type: SWALLOW;
5353             description { state: "default" 0.0;
5354                rel1.relative: 0.454545455 0.0;
5355                rel2.relative: 0.636363636 1.0;
5356             }
5357          }
5358          part { name: "d3";
5359             type: SWALLOW;
5360             description { state: "default" 0.0;
5361                rel1.relative: 0.636363636 0.0;
5362                rel2.relative: 0.818181818 1.0;
5363             }
5364          }
5365          // (if am_pm)
5366          part { name: "ampm";
5367             type: SWALLOW;
5368             description { state: "default" 0.0;
5369                rel1.relative: 0.818181818 0.0;
5370                rel2.relative: 1.0 1.0;
5371             }
5372          }
5373       }
5374    }
5375
5376 ///////////////////////////////////////////////////////////////////////////////
5377    group { name: "elm/clock/base/default";
5378       parts {
5379          part { name: "d0";
5380             type: SWALLOW;
5381             description { state: "default" 0.0;
5382                rel1.relative: 0.000000000 0.0;
5383                rel2.relative: 0.222222222 1.0;
5384             }
5385          }
5386          part { name: "d1";
5387             type: SWALLOW;
5388             description { state: "default" 0.0;
5389                rel1.relative: 0.222222222 0.0;
5390                rel2.relative: 0.444444444 1.0;
5391             }
5392          }
5393          part { name: "c0";
5394             type: SWALLOW;
5395             type: TEXT;
5396             mouse_events:  0;
5397             scale: 1;
5398             description { state: "default" 0.0;
5399                rel1.relative: 0.444444444 0.0;
5400                rel2.relative: 0.555555556 1.0;
5401                color: 0 0 0 255;
5402                text {
5403                   font:     "Sans,Edje-Vera";
5404                   text:     ":";
5405                   size:     10;
5406                   min:      1 1;
5407                   align:    0.5 0.5;
5408                }
5409             }
5410          }
5411          part { name: "d2";
5412             type: SWALLOW;
5413             description { state: "default" 0.0;
5414                rel1.relative: 0.555555556 0.0;
5415                rel2.relative: 0.777777778 1.0;
5416             }
5417          }
5418          part { name: "d3";
5419             type: SWALLOW;
5420             description { state: "default" 0.0;
5421                rel1.relative: 0.777777778 0.0;
5422                rel2.relative: 1.000000000 1.0;
5423             }
5424          }
5425       }
5426    }
5427
5428 ///////////////////////////////////////////////////////////////////////////////
5429    group { name: "elm/frame/base/default";
5430        images {
5431            image: "frame_1.png" COMP;
5432            image: "frame_2.png" COMP;
5433            image: "dia_grad.png" COMP;
5434        }
5435        parts {
5436            part { name: "base0";
5437                mouse_events:  0;
5438                description { state: "default" 0.0;
5439                    image.normal: "dia_grad.png";
5440                    rel1.to: "over";
5441                    rel2.to: "over";
5442                    fill {
5443                        smooth: 0;
5444                        size {
5445                            relative: 0.0 1.0;
5446                            offset: 64 0;
5447                        }
5448                    }
5449                }
5450            }
5451            part { name: "base";
5452                mouse_events:  0;
5453                description { state:    "default" 0.0;
5454                    rel2.to: "elm.swallow.content";
5455                    rel2.offset: 9 9;
5456                    image {
5457                        normal: "frame_2.png";
5458                        border: 5 5 32 26;
5459                        middle: 0;
5460                    }
5461                    fill.smooth : 0;
5462                }
5463            }
5464            part { name: "elm.text";
5465                type: TEXT;
5466                mouse_events:   0;
5467                scale: 1;
5468                description { state: "default" 0.0;
5469                    align: 0.0 0.0;
5470                    fixed: 0 1;
5471                    rel1 {
5472                        relative: 0.0 0.0;
5473                        offset: 6 6;
5474                    }
5475                    rel2 {
5476                        relative: 1.0 0.0;
5477                        offset: -7 6;
5478                    }
5479                    color: 0 0 0 64;
5480                    text {
5481                        font: "Sans:style=Bold,Edje-Vera-Bold";
5482                        size: 10;
5483                        min: 1 1;
5484                        max: 1 1;
5485                        align: 0.0 0.0;
5486                    }
5487                }
5488            }
5489            part { name: "over";
5490                mouse_events:  0;
5491                description { state:    "default" 0.0;
5492                    rel1.offset: 4 4;
5493                    rel2.to: "elm.swallow.content";
5494                    rel2.offset: 5 5;
5495                    image {
5496                        normal: "frame_1.png";
5497                        border: 2 2 28 22;
5498                        middle: 0;
5499                    }
5500                    fill.smooth : 0;
5501                }
5502            }
5503            part { name: "elm.swallow.content";
5504                type: SWALLOW;
5505                description { state: "default" 0.0;
5506                    align: 0.0 0.0;
5507                    rel1 {
5508                        to_y: "elm.text";
5509                        relative: 0.0 1.0;
5510                        offset: 8 2;
5511                    }
5512                    rel2.offset: -9 -9;
5513                }
5514            }
5515        }
5516    }
5517
5518    group { name: "elm/frame/base/pad_small";
5519        parts {
5520            part { name: "b0";
5521                mouse_events:  0;
5522                type: RECT;
5523                scale: 1;
5524                description { state: "default" 0.0;
5525                    visible: 0;
5526                    min: 4 4;
5527                    max: 4 4;
5528                    align: 0.0 0.0;
5529                }
5530            }
5531            part { name: "b1";
5532                mouse_events:  0;
5533                type: RECT;
5534                scale: 1;
5535                description { state: "default" 0.0;
5536                    visible: 0;
5537                    min: 4 4;
5538                    max: 4 4;
5539                    align: 1.0 1.0;
5540                }
5541            }
5542            part { name: "elm.swallow.content";
5543                type: SWALLOW;
5544                description { state: "default" 0.0;
5545                    rel1 {
5546                        to: "b0";
5547                        relative: 1.0 1.0;
5548                        offset: 0 0;
5549                    }
5550                    rel2 {
5551                        to: "b1";
5552                        relative: 0.0 0.0;
5553                        offset: -1 -1;
5554                    }
5555                }
5556            }
5557        }
5558    }
5559
5560    group { name: "elm/frame/base/pad_medium";
5561        parts {
5562            part { name: "b0";
5563                mouse_events:  0;
5564                type: RECT;
5565                scale: 1;
5566                description { state: "default" 0.0;
5567                    visible: 0;
5568                    min: 8 8;
5569                    max: 8 8;
5570                    align: 0.0 0.0;
5571                }
5572            }
5573            part { name: "b1";
5574                mouse_events:  0;
5575                type: RECT;
5576                scale: 1;
5577                description { state: "default" 0.0;
5578                    visible: 0;
5579                    min: 8 8;
5580                    max: 8 8;
5581                    align: 1.0 1.0;
5582                }
5583            }
5584            part { name: "elm.swallow.content";
5585                type: SWALLOW;
5586                description { state: "default" 0.0;
5587                    rel1 {
5588                        to: "b0";
5589                        relative: 1.0 1.0;
5590                        offset: 0 0;
5591                    }
5592                    rel2 {
5593                        to: "b1";
5594                        relative: 0.0 0.0;
5595                        offset: -1 -1;
5596                    }
5597                }
5598            }
5599        }
5600    }
5601
5602    group { name: "elm/frame/base/pad_large";
5603        parts {
5604            part { name: "b0";
5605                mouse_events:  0;
5606                type: RECT;
5607                scale: 1;
5608                description { state: "default" 0.0;
5609                    visible: 0;
5610                    min: 16 16;
5611                    max: 16 16;
5612                    align: 0.0 0.0;
5613                }
5614            }
5615            part { name: "b1";
5616                mouse_events:  0;
5617                type: RECT;
5618                scale: 1;
5619                description { state: "default" 0.0;
5620                    visible: 0;
5621                    min: 16 16;
5622                    max: 16 16;
5623                    align: 1.0 1.0;
5624                }
5625            }
5626            part { name: "elm.swallow.content";
5627                type: SWALLOW;
5628                description { state: "default" 0.0;
5629                    rel1 {
5630                        to: "b0";
5631                        relative: 1.0 1.0;
5632                        offset: 0 0;
5633                    }
5634                    rel2 {
5635                        to: "b1";
5636                        relative: 0.0 0.0;
5637                        offset: -1 -1;
5638                    }
5639                }
5640            }
5641        }
5642    }
5643
5644    group { name: "elm/frame/base/pad_huge";
5645        parts {
5646            part { name: "b0";
5647                mouse_events:  0;
5648                type: RECT;
5649                scale: 1;
5650                description { state: "default" 0.0;
5651                    visible: 0;
5652                    min: 32 32;
5653                    max: 32 32;
5654                    align: 0.0 0.0;
5655                }
5656            }
5657            part { name: "b1";
5658                mouse_events:  0;
5659                type: RECT;
5660                scale: 1;
5661                description { state: "default" 0.0;
5662                    visible: 0;
5663                    min: 32 32;
5664                    max: 32 32;
5665                    align: 1.0 1.0;
5666                }
5667            }
5668            part { name: "elm.swallow.content";
5669                type: SWALLOW;
5670                description { state: "default" 0.0;
5671                    rel1 {
5672                        to: "b0";
5673                        relative: 1.0 1.0;
5674                        offset: 0 0;
5675                    }
5676                    rel2 {
5677                        to: "b1";
5678                        relative: 0.0 0.0;
5679                        offset: -1 -1;
5680                    }
5681                }
5682            }
5683        }
5684    }
5685
5686    group { name: "elm/frame/base/outdent_top";
5687        images {
5688            image: "outdent-top.png" COMP;
5689        }
5690        parts {
5691            part { name: "base0";
5692                mouse_events:  0;
5693                description { state: "default" 0.0;
5694                    image.normal: "outdent-top.png";
5695                    image.border: 0 0 0 13;
5696                    fill.smooth: 0;
5697                }
5698            }
5699            part { name: "elm.swallow.content";
5700                type: SWALLOW;
5701                description { state: "default" 0.0;
5702                    rel1.offset: 2 2;
5703                    rel2.offset: -3 -13;
5704                }
5705            }
5706        }
5707    }
5708
5709    group { name: "elm/frame/base/outdent_bottom";
5710        images {
5711            image: "outdent-bottom.png" COMP;
5712        }
5713        parts {
5714            part { name: "base0";
5715                mouse_events:  0;
5716                description { state: "default" 0.0;
5717                    image.normal: "outdent-bottom.png";
5718                    image.border: 0 0 13 0;
5719                    fill.smooth: 0;
5720                }
5721            }
5722            part { name: "elm.swallow.content";
5723                type: SWALLOW;
5724                description { state: "default" 0.0;
5725                    rel1.offset: 2 12;
5726                    rel2.offset: -3 -3;
5727                }
5728            }
5729        }
5730    }
5731
5732 ///////////////////////////////////////////////////////////////////////////////
5733    group { name: "elm/label/base/tooltip";
5734       styles {
5735          style { name: "tooltip_style";
5736             base: "font=Sans font_size=8 color=#666 wrap=word";
5737             tag:  "br" "\n";
5738             tag:  "hilight" "+ font=Sans:style=Bold";
5739             tag:  "b" "+ font=Sans:style=Bold";
5740             tag:  "tab" "\t";
5741          }
5742       }
5743       parts {
5744          part { name: "elm.text";
5745             type: TEXTBLOCK;
5746             mouse_events: 0;
5747             scale: 1;
5748             description { state: "default" 0.0;
5749                text {
5750                   style: "tooltip_style";
5751                   min: 1 1;
5752                }
5753             }
5754          }
5755       }
5756    }
5757
5758    group { name: "elm/tooltip/base/default";
5759        min: 30 30;
5760        data {
5761            item: "pad_x" "20";
5762            item: "pad_y" "20";
5763            item: "pad_border_x" "10";
5764            item: "pad_border_y" "10";
5765            item: "hide_timeout" "0.35"; /**< tooltip is hidden after this amount, keep in sync with hide animations */
5766        }
5767        images {
5768            image: "tooltip-base.png" COMP;
5769            image: "tooltip-corner-top-left-tip.png" COMP;
5770            image: "tooltip-corner-top-right-tip.png" COMP;
5771            image: "tooltip-corner-bottom-left-tip.png" COMP;
5772            image: "tooltip-corner-bottom-right-tip.png" COMP;
5773            image: "tooltip-edge-left-tip.png" COMP;
5774            image: "tooltip-edge-right-tip.png" COMP;
5775            image: "tooltip-edge-bottom-tip.png" COMP;
5776            image: "tooltip-edge-top-tip.png" COMP;
5777        }
5778        script {
5779           hide_corners() {
5780              set_state(PART:"corner-top-left", "default", 0.0);
5781              set_state(PART:"corner-top-right", "default", 0.0);
5782              set_state(PART:"corner-bottom-left", "default", 0.0);
5783              set_state(PART:"corner-bottom-right", "default", 0.0);
5784           }
5785           hide_edges() {
5786              set_state(PART:"clipper-edge-left", "default", 0.0);
5787              set_state(PART:"clipper-edge-right", "default", 0.0);
5788              set_state(PART:"clipper-edge-top", "default", 0.0);
5789              set_state(PART:"clipper-edge-bottom", "default", 0.0);
5790           }
5791
5792           show_corner_top_left() {
5793              set_state(PART:"corner-top-left", "visible", 0.0);
5794
5795              set_state(PART:"corner-top-right", "default", 0.0);
5796              set_state(PART:"corner-bottom-left", "default", 0.0);
5797              set_state(PART:"corner-bottom-right", "default", 0.0);
5798              hide_edges();
5799           }
5800           show_corner_top_right() {
5801              set_state(PART:"corner-top-right", "visible", 0.0);
5802
5803              set_state(PART:"corner-top-left", "default", 0.0);
5804              set_state(PART:"corner-bottom-left", "default", 0.0);
5805              set_state(PART:"corner-bottom-right", "default", 0.0);
5806              hide_edges();
5807           }
5808
5809           show_corner_bottom_left() {
5810              set_state(PART:"corner-bottom-left", "visible", 0.0);
5811
5812              set_state(PART:"corner-bottom-right", "default", 0.0);
5813              set_state(PART:"corner-top-left", "default", 0.0);
5814              set_state(PART:"corner-top-right", "default", 0.0);
5815              hide_edges();
5816           }
5817           show_corner_bottom_right() {
5818              set_state(PART:"corner-bottom-right", "visible", 0.0);
5819
5820              set_state(PART:"corner-bottom-left", "default", 0.0);
5821              set_state(PART:"corner-top-left", "default", 0.0);
5822              set_state(PART:"corner-top-right", "default", 0.0);
5823              hide_edges();
5824           }
5825
5826           show_edge_left(Float:val) {
5827              set_state(PART:"clipper-edge-left", "visible", 0.0);
5828              set_drag(PART:"edge-drag-left", 0.0, val);
5829
5830              set_state(PART:"clipper-edge-right", "default", 0.0);
5831              set_state(PART:"clipper-edge-top", "default", 0.0);
5832              set_state(PART:"clipper-edge-bottom", "default", 0.0);
5833              hide_corners();
5834           }
5835           show_edge_right(Float:val) {
5836              set_state(PART:"clipper-edge-right", "visible", 0.0);
5837              set_drag(PART:"edge-drag-right", 0.0, val);
5838
5839              set_state(PART:"clipper-edge-left", "default", 0.0);
5840              set_state(PART:"clipper-edge-top", "default", 0.0);
5841              set_state(PART:"clipper-edge-bottom", "default", 0.0);
5842              hide_corners();
5843           }
5844
5845           show_edge_top(Float:val) {
5846              set_state(PART:"clipper-edge-top", "visible", 0.0);
5847              set_drag(PART:"edge-drag-top", val, 0.0);
5848
5849              set_state(PART:"clipper-edge-bottom", "default", 0.0);
5850              set_state(PART:"clipper-edge-left", "default", 0.0);
5851              set_state(PART:"clipper-edge-right", "default", 0.0);
5852              hide_corners();
5853           }
5854           show_edge_bottom(Float:val) {
5855              set_state(PART:"clipper-edge-bottom", "visible", 0.0);
5856              set_drag(PART:"edge-drag-bottom", val, 0.0);
5857
5858              set_state(PART:"clipper-edge-top", "default", 0.0);
5859              set_state(PART:"clipper-edge-left", "default", 0.0);
5860              set_state(PART:"clipper-edge-right", "default", 0.0);
5861              hide_corners();
5862           }
5863
5864           public message(Msg_Type:type, id, ...) {
5865              if ((type == MSG_FLOAT_SET) && (id == 1)) {
5866                 new Float:x, Float:y;
5867
5868                 x = getfarg(2);
5869                 y = getfarg(3);
5870
5871                 if (x < 0.0)
5872                   {
5873                      if (y < 0.0)      show_corner_top_left();
5874                      else if (y > 1.0) show_corner_bottom_left();
5875                      else              show_edge_left(y);
5876                   }
5877                 else if (x > 1.0)
5878                   {
5879                      if (y < 0.0)      show_corner_top_right();
5880                      else if (y > 1.0) show_corner_bottom_right();
5881                      else              show_edge_right(y);
5882                   }
5883                 else
5884                   {
5885                      if (y < 0.0)      show_edge_top(x);
5886                      else if (y > 1.0) show_edge_bottom(x);
5887                      else
5888                        {
5889                           hide_corners();
5890                           hide_edges();
5891                        }
5892                   }
5893              }
5894           }
5895        }
5896        parts {
5897            part { name: "clipper";
5898                type: RECT;
5899                description { state: "default" 0.0;
5900                    color: 255 255 255 0;
5901                    rel1.to: "elm.swallow.content";
5902                    rel1.offset: -64 -64;
5903                    rel2.to: "elm.swallow.content";
5904                    rel2.offset: 63 63;
5905                }
5906                description { state: "visible" 0.0;
5907                    inherit: "default" 0.0;
5908                    color: 255 255 255 255;
5909                }
5910            }
5911            part { name: "pop";
5912                mouse_events: 0;
5913                clip_to: "clipper";
5914                description { state: "default" 0.0;
5915                    min: 30 30;
5916                    rel1 {
5917                        to: "elm.swallow.content";
5918                        offset: -15 -15;
5919                    }
5920                    rel2 {
5921                        to: "elm.swallow.content";
5922                        offset: 14 14;
5923                    }
5924                    image {
5925                        normal: "tooltip-base.png";
5926                        border: 14 14 14 14;
5927                    }
5928                    image.middle: SOLID;
5929                }
5930            }
5931
5932 #define TT_CORNER(name_, rx, ry, ax, ay, ox, oy)                        \
5933            part { name: "corner-"name_;                                 \
5934               type: IMAGE;                                              \
5935               mouse_events: 0;                                          \
5936               clip_to: "clipper";                                       \
5937               description { state: "default" 0.0;                       \
5938                  color: 255 255 255 0;                                  \
5939                  visible: 0;                                            \
5940                  min: 14 14;                                            \
5941                  max: 14 14;                                            \
5942                  align: ax ay;                                          \
5943                  fixed: 1 1;                                            \
5944                  rel1 {                                                 \
5945                     relative: rx ry;                                    \
5946                     offset: ox oy;                                      \
5947                     to: "elm.swallow.content";                          \
5948                  }                                                      \
5949                  rel2 {                                                 \
5950                     relative: rx ry;                                    \
5951                     offset: ox oy;                                      \
5952                     to: "elm.swallow.content";                          \
5953                  }                                                      \
5954                  image.normal: "tooltip-corner-"name_"-tip.png";        \
5955               }                                                         \
5956               description { state: "visible" 0.0;                       \
5957                  inherit: "default" 0.0;                                \
5958                  color: 255 255 255 255;                                \
5959                  visible: 1;                                            \
5960               }                                                         \
5961            }
5962            TT_CORNER("top-left", 0, 0, 1, 1, 4, 4);
5963            TT_CORNER("top-right", 1, 0, 0, 1, -5, 4);
5964            TT_CORNER("bottom-left", 0, 1, 1, 0, 4, -5);
5965            TT_CORNER("bottom-right", 1, 1, 0, 0, -5, -5);
5966 #undef TT_CORNER
5967
5968 #define TT_EDGE_VERT(name_, rx, ax, ox)                                 \
5969            part { name: "clipper-edge-"name_;                           \
5970               type: RECT;                                               \
5971               clip_to: "clipper";                                       \
5972               description { state: "default" 0.0;                       \
5973                  color: 255 255 255 0;                                  \
5974                  visible: 0;                                            \
5975                  min: 14 14;                                            \
5976                  align: ax 0.5;                                         \
5977                  fixed: 1 1;                                            \
5978                  rel1 {                                                 \
5979                     relative: rx 0.0;                                   \
5980                     offset: ox 0;                                       \
5981                     to: "elm.swallow.content";                          \
5982                  }                                                      \
5983                  rel2 {                                                 \
5984                     relative: rx 1.0;                                   \
5985                     offset: ox 0;                                       \
5986                     to: "elm.swallow.content";                          \
5987                  }                                                      \
5988               }                                                         \
5989               description { state: "visible" 0.0;                       \
5990                  inherit: "default" 0.0;                                \
5991                  color: 255 255 255 255;                                \
5992                  visible: 1;                                            \
5993               }                                                         \
5994            }                                                            \
5995            part { name: "edge-area-"name_;                              \
5996               type: RECT;                                               \
5997               mouse_events: 0;                                          \
5998               clip_to: "clipper-edge-"name_;                            \
5999               description { state: "default" 0.0;                       \
6000                  color: 0 0 0 0;                                        \
6001                  min: 14 14;                                            \
6002                  align: ax 0.5;                                         \
6003                  fixed: 1 1;                                            \
6004                  rel1 {                                                 \
6005                     relative: rx 0.0;                                   \
6006                     offset: ox 0;                                       \
6007                     to: "elm.swallow.content";                          \
6008                  }                                                      \
6009                  rel2 {                                                 \
6010                     relative: rx 1.0;                                   \
6011                     offset: ox 0;                                       \
6012                     to: "elm.swallow.content";                          \
6013                  }                                                      \
6014               }                                                         \
6015            }                                                            \
6016            part { name: "edge-drag-"name_;                              \
6017               type: RECT;                                               \
6018               mouse_events: 0;                                          \
6019               clip_to: "clipper-edge-"name_;                            \
6020               dragable {                                                \
6021                   x: 0 0 0;                                             \
6022                   y: 1 1 0;                                             \
6023                   confine: "edge-area-"name_;                           \
6024               }                                                         \
6025               description { state: "default" 0.0;                       \
6026                  color: 0 0 0 0;                                        \
6027                  min: 14 14;                                            \
6028                  rel1.to: "edge-area-"name_;                            \
6029                  rel2.to: "edge-area-"name_;                            \
6030               }                                                         \
6031            }                                                            \
6032            part { name: "edge-img-"name_;                               \
6033               type: IMAGE;                                              \
6034               mouse_events: 0;                                          \
6035               clip_to: "clipper-edge-"name_;                            \
6036               description { state: "default" 0.0;                       \
6037                  min: 14 14;                                            \
6038                  max: 14 14;                                            \
6039                  align: ax 0.5;                                         \
6040                  fixed: 1 1;                                            \
6041                  rel1.to: "edge-drag-"name_;                            \
6042                  rel2.to: "edge-drag-"name_;                            \
6043                  image.normal: "tooltip-edge-"name_"-tip.png";          \
6044               }                                                         \
6045            }
6046            TT_EDGE_VERT("left", 0, 1, -2);
6047            TT_EDGE_VERT("right", 1, 0, 1);
6048 #undef TT_EDGE_VERT
6049
6050 #define TT_EDGE_HORIZ(name_, ry, ay, oy)                                \
6051            part { name: "clipper-edge-"name_;                           \
6052               type: RECT;                                               \
6053               clip_to: "clipper";                                       \
6054               description { state: "default" 0.0;                       \
6055                  color: 255 255 255 0;                                  \
6056                  visible: 0;                                            \
6057                  min: 14 14;                                            \
6058                  align: 0.5 ay;                                         \
6059                  fixed: 1 1;                                            \
6060                  rel1 {                                                 \
6061                     relative: 0.0 ry;                                   \
6062                     offset: 0 oy;                                       \
6063                     to: "elm.swallow.content";                          \
6064                  }                                                      \
6065                  rel2 {                                                 \
6066                     relative: 1.0 ry;                                   \
6067                     offset: 0 oy;                                       \
6068                     to: "elm.swallow.content";                          \
6069                  }                                                      \
6070               }                                                         \
6071               description { state: "visible" 0.0;                       \
6072                  inherit: "default" 0.0;                                \
6073                  color: 255 255 255 255;                                \
6074                  visible: 1;                                            \
6075               }                                                         \
6076            }                                                            \
6077            part { name: "edge-area-"name_;                              \
6078               type: RECT;                                               \
6079               mouse_events: 0;                                          \
6080               clip_to: "clipper-edge-"name_;                            \
6081               description { state: "default" 0.0;                       \
6082                  color: 0 0 0 0;                                        \
6083                  min: 14 14;                                            \
6084                  align: 0.5 ay;                                         \
6085                  fixed: 1 1;                                            \
6086                  rel1 {                                                 \
6087                     relative: 0.0 ry;                                   \
6088                     offset: 0 oy;                                       \
6089                     to: "elm.swallow.content";                          \
6090                  }                                                      \
6091                  rel2 {                                                 \
6092                     relative: 1.0 ry;                                   \
6093                     offset: 0 oy;                                       \
6094                     to: "elm.swallow.content";                          \
6095                  }                                                      \
6096               }                                                         \
6097            }                                                            \
6098            part { name: "edge-drag-"name_;                              \
6099               type: RECT;                                               \
6100               mouse_events: 0;                                          \
6101               clip_to: "clipper-edge-"name_;                            \
6102               dragable {                                                \
6103                   x: 1 1 0;                                             \
6104                   y: 0 0 0;                                             \
6105                   confine: "edge-area-"name_;                           \
6106               }                                                         \
6107               description { state: "default" 0.0;                       \
6108                  color: 0 0 0 0;                                        \
6109                  min: 14 14;                                            \
6110                  rel1.to: "edge-area-"name_;                            \
6111                  rel2.to: "edge-area-"name_;                            \
6112               }                                                         \
6113            }                                                            \
6114            part { name: "edge-img-"name_;                               \
6115               type: IMAGE;                                              \
6116               mouse_events: 0;                                          \
6117               clip_to: "clipper-edge-"name_;                            \
6118               description { state: "default" 0.0;                       \
6119                  min: 14 14;                                            \
6120                  max: 14 14;                                            \
6121                  align: 0.5 ay;                                         \
6122                  fixed: 1 1;                                            \
6123                  rel1.to: "edge-drag-"name_;                            \
6124                  rel2.to: "edge-drag-"name_;                            \
6125                  image.normal: "tooltip-edge-"name_"-tip.png";          \
6126               }                                                         \
6127            }
6128            TT_EDGE_HORIZ("top", 0, 1, -2);
6129            TT_EDGE_HORIZ("bottom", 1, 0, 1);
6130 #undef TT_EDGE_HORIZ
6131
6132            part { name: "clipper_content";
6133                type: RECT;
6134                description { state: "default" 0.0;
6135                    color: 255 255 255 0;
6136                    rel1.to: "elm.swallow.content";
6137                    rel1.offset: -64 -64;
6138                    rel2.to: "elm.swallow.content";
6139                    rel2.offset: 63 63;
6140                }
6141                description { state: "visible" 0.0;
6142                    inherit: "default" 0.0;
6143                    color: 255 255 255 255;
6144                }
6145            }
6146            part { name: "elm.swallow.content";
6147                type: SWALLOW;
6148                clip_to: "clipper_content";
6149                description { state: "default" 0.0; }
6150            }
6151            programs {
6152                program {
6153                    name: "show0";
6154                    signal: "elm,action,show";
6155                    source: "elm";
6156                    action: ACTION_STOP;
6157                    target: "hide0";
6158                    target: "hide1";
6159                    target: "hide2";
6160                    target: "hide3";
6161                    after: "show1";
6162                    after: "show2";
6163                }
6164                program {
6165                    name: "show1";
6166                    action: STATE_SET "visible" 0.0;
6167                    transition: LINEAR 0.15;
6168                    target: "clipper";
6169                }
6170                program {
6171                    name: "show2";
6172                    in: 0.1 0.0;
6173                    action: STATE_SET "visible" 0.0;
6174                    transition: LINEAR 0.15;
6175                    target: "clipper_content";
6176                }
6177
6178                program {
6179                    name: "hide0";
6180                    signal: "elm,action,hide";
6181                    source: "elm";
6182                    action: ACTION_STOP;
6183                    target: "show0";
6184                    target: "show1";
6185                    target: "show2";
6186                    after: "hide1";
6187                    after: "hide2";
6188                    after: "hide3";
6189                }
6190                program {
6191                    name: "hide1";
6192                    script {
6193                       hide_corners();
6194                       hide_edges();
6195                    }
6196                }
6197                program {
6198                    name: "hide2";
6199                    action: STATE_SET "default" 0.0;
6200                    transition: LINEAR 0.1;
6201                    target: "clipper_content";
6202                }
6203                program {
6204                    name: "hide3";
6205                    in: 0.1 0.0;
6206                    action: STATE_SET "default" 0.0;
6207                    transition: LINEAR 0.1;
6208                    target: "clipper";
6209                }
6210            }
6211        }
6212    }
6213    group { name: "elm/tooltip/base/transparent";
6214       parts {
6215          part { name: "elm.swallow.content";
6216             type: SWALLOW;
6217             mouse_events:   0;
6218             scale: 1;
6219             description { state: "default" 0.0; }
6220          }
6221       }
6222    }
6223
6224 ///////////////////////////////////////////////////////////////////////////////
6225
6226    /* TODO: replicate diagonal swallow slots to the other hover styles */
6227    group { name: "elm/hover/base/default";
6228       images {
6229          image: "shad_circ.png" COMP;
6230       }
6231       parts {
6232          part { name: "elm.swallow.offset";
6233             type: SWALLOW;
6234             description { state: "default" 0.0;
6235                align: 0.0 0.0;
6236                rel1.relative: 0.0 0.0;
6237                rel2.relative: 0.0 0.0;
6238             }
6239          }
6240          part { name: "elm.swallow.size";
6241             type: SWALLOW;
6242             description { state: "default" 0.0;
6243                align: 0.0 0.0;
6244                rel1.to: "elm.swallow.offset";
6245                rel1.relative: 1.0 1.0;
6246                rel2.to: "elm.swallow.offset";
6247                rel2.relative: 1.0 1.0;
6248             }
6249          }
6250          part { name: "base";
6251             type: RECT;
6252             mouse_events: 1;
6253             description { state: "default" 0.0;
6254                color: 0 0 0 64;
6255             }
6256          }
6257          part { name: "shad";
6258             mouse_events:  0;
6259             description { state: "default" 0.0;
6260                image.normal: "shad_circ.png";
6261                rel1.to: "elm.swallow.size";
6262                rel1.offset: -32 -32;
6263                rel2.to: "elm.swallow.size";
6264                rel2.offset: 31 31;
6265                fill.smooth: 0;
6266             }
6267          }
6268          part { name: "box";
6269             type: RECT;
6270             mouse_events: 0;
6271             description { state: "default" 0.0;
6272                color: 0 0 0 0;
6273                rel1.to: "elm.swallow.size";
6274                rel1.offset: -2 -2;
6275                rel2.to: "elm.swallow.size";
6276                rel2.offset: 1 1;
6277             }
6278          }
6279          part { name: "elm.swallow.slot.left";
6280             type: SWALLOW;
6281             description { state: "default" 0.0;
6282                align: 1.0 0.5;
6283                rel1.to: "elm.swallow.slot.middle";
6284                rel1.relative: 0.0 0.0;
6285                rel1.offset: -1 0;
6286                rel2.to: "elm.swallow.slot.middle";
6287                rel2.relative: 0.0 1.0;
6288                rel2.offset: -1 -1;
6289             }
6290          }
6291          part { name: "elm.swallow.slot.top-left";
6292             type: SWALLOW;
6293             description { state: "default" 0.0;
6294                align: 1.0 1.0;
6295                rel1.to: "elm.swallow.slot.middle";
6296                rel1.relative: 0.0 0.0;
6297                rel1.offset: 0 0;
6298                rel2.to: "elm.swallow.slot.middle";
6299                rel2.relative: 0.0 0.0;
6300                rel2.offset: -1 -1;
6301             }
6302          }
6303          part { name: "elm.swallow.slot.top";
6304             type: SWALLOW;
6305             description { state: "default" 0.0;
6306                align: 0.5 1.0;
6307                rel1.to: "elm.swallow.slot.middle";
6308                rel1.relative: 0.0 0.0;
6309                rel1.offset: 0 -1;
6310                rel2.to: "elm.swallow.slot.middle";
6311                rel2.relative: 1.0 0.0;
6312                rel2.offset: -1 -1;
6313             }
6314          }
6315          part { name: "elm.swallow.slot.top-right";
6316             type: SWALLOW;
6317             description { state: "default" 0.0;
6318                align: 0.0 1.0;
6319                rel1.to: "elm.swallow.slot.middle";
6320                rel1.relative: 1.0 0.0;
6321                rel1.offset: 0 0;
6322                rel2.to: "elm.swallow.slot.middle";
6323                rel2.relative: 1.0 0.0;
6324                rel2.offset: -1 -1;
6325             }
6326          }
6327          part { name: "elm.swallow.slot.right";
6328             type: SWALLOW;
6329             description { state: "default" 0.0;
6330                align: 0.0 0.5;
6331                rel1.to: "elm.swallow.slot.middle";
6332                rel1.relative: 1.0 0.0;
6333                rel1.offset: 0 0;
6334                rel2.to: "elm.swallow.slot.middle";
6335                rel2.relative: 1.0 1.0;
6336                rel2.offset: 0 -1;
6337             }
6338          }
6339          part { name: "elm.swallow.slot.bottom-right";
6340             type: SWALLOW;
6341             description { state: "default" 0.0;
6342                align: 0.0 0.0;
6343                rel1.to: "elm.swallow.slot.middle";
6344                rel1.relative: 1.0 1.0;
6345                rel1.offset: 0 0;
6346                rel2.to: "elm.swallow.slot.middle";
6347                rel2.relative: 1.0 1.0;
6348                rel2.offset: -1 -1;
6349             }
6350          }
6351          part { name: "elm.swallow.slot.bottom";
6352             type: SWALLOW;
6353             description { state: "default" 0.0;
6354                align: 0.5 0.0;
6355                rel1.to: "elm.swallow.slot.middle";
6356                rel1.relative: 0.0 1.0;
6357                rel1.offset: 0 0;
6358                rel2.to: "elm.swallow.slot.middle";
6359                rel2.relative: 1.0 1.0;
6360                rel2.offset: -1 0;
6361             }
6362          }
6363          part { name: "elm.swallow.slot.bottom-left";
6364             type: SWALLOW;
6365             description { state: "default" 0.0;
6366                align: 1.0 0.0;
6367                rel1.to: "elm.swallow.slot.middle";
6368                rel1.relative: 0.0 1.0;
6369                rel1.offset: 0 0;
6370                rel2.to: "elm.swallow.slot.middle";
6371                rel2.relative: 0.0 1.0;
6372                rel2.offset: -1 0;
6373             }
6374          }
6375          part { name: "elm.swallow.slot.middle";
6376             type: SWALLOW;
6377             description { state: "default" 0.0;
6378                rel1.to: "elm.swallow.size";
6379                rel2.to: "elm.swallow.size";
6380             }
6381          }
6382       }
6383       programs {
6384          program { name: "end";
6385             signal: "mouse,up,1";
6386             source: "base";
6387             action: SIGNAL_EMIT "elm,action,dismiss" "";
6388          }
6389       }
6390    }
6391
6392    group { name: "elm/hover/base/popout";
6393       images {
6394          image: "shad_circ.png" COMP;
6395          image: "bt_dis_base.png" COMP;
6396          image: "bt_dis_hilight.png" COMP;
6397       }
6398       parts {
6399          part { name: "elm.swallow.offset";
6400             type: SWALLOW;
6401             description { state: "default" 0.0;
6402                align: 0.0 0.0;
6403                rel1.relative: 0.0 0.0;
6404                rel2.relative: 0.0 0.0;
6405             }
6406          }
6407          part { name: "elm.swallow.size";
6408             type: SWALLOW;
6409             description { state: "default" 0.0;
6410                align: 0.0 0.0;
6411                rel1.to: "elm.swallow.offset";
6412                rel1.relative: 1.0 1.0;
6413                rel2.to: "elm.swallow.offset";
6414                rel2.relative: 1.0 1.0;
6415             }
6416          }
6417          part { name: "base";
6418             type: RECT;
6419             mouse_events: 1;
6420             description { state: "default" 0.0;
6421                color: 0 0 0 0;
6422             }
6423             description { state: "visible" 0.0;
6424                inherit: "default" 1.0;
6425                color: 0 0 0 64;
6426             }
6427          }
6428          part { name: "leftclip";
6429             type: RECT;
6430             description { state: "default" 0.0;
6431                rel2.to_x: "pop";
6432                rel2.relative: 0.0 1.0;
6433                rel2.offset: 1 -1;
6434             }
6435          }
6436          part { name: "left";
6437             clip_to: "leftclip";
6438             description { state: "default" 0.0;
6439                visible: 0;
6440                rel1.to: "elm.swallow.slot.left";
6441                rel1.offset: -5 -5;
6442                rel2.to: "elm.swallow.slot.left";
6443                rel2.offset: 4 4;
6444                image {
6445                   normal: "bt_dis_base.png";
6446                   border: 4 4 4 4;
6447                }
6448                image.middle: SOLID;
6449             }
6450             description { state: "visible" 0.0;
6451                inherit: "default" 0.0;
6452                visible: 1;
6453             }
6454          }
6455          part { name: "elm.swallow.slot.left";
6456             type: SWALLOW;
6457             clip_to: "leftclip";
6458             description { state: "default" 0.0;
6459                align: 0.0 0.5;
6460                rel1.to: "elm.swallow.slot.middle";
6461                rel1.relative: 0.0 0.0;
6462                rel1.offset: -1 0;
6463                rel2.to: "elm.swallow.slot.middle";
6464                rel2.relative: 0.0 1.0;
6465                rel2.offset: -1 -1;
6466             }
6467             description { state: "visible" 0.0;
6468                inherit: "default" 0.0;
6469                rel1.offset: -7 0;
6470                rel2.offset: -7 -1;
6471                align: 1.0 0.5;
6472             }
6473          }
6474          part { name: "leftover";
6475             clip_to: "leftclip";
6476             mouse_events: 0;
6477             description { state: "default" 0.0;
6478                rel1.to: "left";
6479                rel2.to: "left";
6480                rel2.relative: 1.0 0.5;
6481                image {
6482                   normal: "bt_dis_hilight.png";
6483                   border: 4 4 4 0;
6484                }
6485             }
6486          }
6487          part { name: "rightclip";
6488             type: RECT;
6489             description { state: "default" 0.0;
6490                rel1.to_x: "pop";
6491                rel1.relative: 1.0 0.0;
6492                rel1.offset: -2 0;
6493             }
6494          }
6495          part { name: "right";
6496             clip_to: "rightclip";
6497             description { state: "default" 0.0;
6498                visible: 0;
6499                rel1.to: "elm.swallow.slot.right";
6500                rel1.offset: -5 -5;
6501                rel2.to: "elm.swallow.slot.right";
6502                rel2.offset: 4 4;
6503                image {
6504                   normal: "bt_dis_base.png";
6505                   border: 4 4 4 4;
6506                }
6507                image.middle: SOLID;
6508             }
6509             description { state: "visible" 0.0;
6510                inherit: "default" 0.0;
6511                visible: 1;
6512             }
6513          }
6514          part { name: "elm.swallow.slot.right";
6515             type: SWALLOW;
6516             clip_to: "rightclip";
6517             description { state: "default" 0.0;
6518                align: 1.0 0.5;
6519                rel1.to: "elm.swallow.slot.middle";
6520                rel1.relative: 1.0 0.0;
6521                rel1.offset: 0 0;
6522                rel2.to: "elm.swallow.slot.middle";
6523                rel2.relative: 1.0 1.0;
6524                rel2.offset: 0 -1;
6525             }
6526             description { state: "visible" 0.0;
6527                inherit: "default" 0.0;
6528                rel1.offset: 6 0;
6529                rel2.offset: 6 -1;
6530                align: 0.0 0.5;
6531             }
6532          }
6533          part { name: "rightover";
6534             clip_to: "rightclip";
6535             mouse_events: 0;
6536             description { state: "default" 0.0;
6537                rel1.to: "right";
6538                rel2.to: "right";
6539                rel2.relative: 1.0 0.5;
6540                image {
6541                   normal: "bt_dis_hilight.png";
6542                   border: 4 4 4 0;
6543                }
6544             }
6545          }
6546          part { name: "topclip";
6547             type: RECT;
6548             description { state: "default" 0.0;
6549                rel2.to_y: "pop";
6550                rel2.relative: 1.0 0.0;
6551                rel2.offset: -1 1;
6552             }
6553          }
6554          part { name: "top";
6555             clip_to: "topclip";
6556             description { state: "default" 0.0;
6557                visible: 0;
6558                rel1.to: "elm.swallow.slot.top";
6559                rel1.offset: -5 -5;
6560                rel2.to: "elm.swallow.slot.top";
6561                rel2.offset: 4 4;
6562                image {
6563                   normal: "bt_dis_base.png";
6564                   border: 4 4 4 4;
6565                }
6566                image.middle: SOLID;
6567             }
6568             description { state: "visible" 0.0;
6569                inherit: "default" 0.0;
6570                visible: 1;
6571             }
6572          }
6573          part { name: "elm.swallow.slot.top";
6574             type: SWALLOW;
6575             clip_to: "topclip";
6576             description { state: "default" 0.0;
6577                visible: 1;
6578                align: 0.5 0.0;
6579                rel1.to: "elm.swallow.slot.middle";
6580                rel1.relative: 0.0 0.0;
6581                rel1.offset: 0 -1;
6582                rel2.to: "elm.swallow.slot.middle";
6583                rel2.relative: 1.0 0.0;
6584                rel2.offset: -1 -1;
6585             }
6586             description { state: "visible" 0.0;
6587                inherit: "default" 0.0;
6588                rel1.offset: 0 -7;
6589                rel2.offset: -1 -7;
6590                align: 0.5 1.0;
6591             }
6592          }
6593          part { name: "topover";
6594             clip_to: "topclip";
6595             mouse_events: 0;
6596             description { state: "default" 0.0;
6597                rel1.to: "top";
6598                rel2.to: "top";
6599                rel2.relative: 1.0 0.5;
6600                image {
6601                   normal: "bt_dis_hilight.png";
6602                   border: 4 4 4 0;
6603                }
6604             }
6605          }
6606          part { name: "bottomclip";
6607             type: RECT;
6608             description { state: "default" 0.0;
6609                rel1.to_y: "pop";
6610                rel1.relative: 0.0 1.0;
6611                rel1.offset: -1 -2;
6612             }
6613          }
6614          part { name: "bottom";
6615             clip_to: "bottomclip";
6616             description { state: "default" 0.0;
6617                visible: 0;
6618                rel1.to: "elm.swallow.slot.bottom";
6619                rel1.offset: -5 -5;
6620                rel2.to: "elm.swallow.slot.bottom";
6621                rel2.offset: 4 4;
6622                image {
6623                   normal: "bt_dis_base.png";
6624                   border: 4 4 4 4;
6625                }
6626                image.middle: SOLID;
6627             }
6628             description { state: "visible" 0.0;
6629                inherit: "default" 0.0;
6630                visible: 1;
6631             }
6632          }
6633          part { name: "elm.swallow.slot.bottom";
6634             type: SWALLOW;
6635             clip_to: "bottomclip";
6636             description { state: "default" 0.0;
6637                align: 0.5 1.0;
6638                rel1.to: "elm.swallow.slot.middle";
6639                rel1.relative: 0.0 1.0;
6640                rel1.offset: 0 0;
6641                rel2.to: "elm.swallow.slot.middle";
6642                rel2.relative: 1.0 1.0;
6643                rel2.offset: -1 0;
6644             }
6645             description { state: "visible" 0.0;
6646                inherit: "default" 0.0;
6647                rel1.offset: 0 6;
6648                rel2.offset: -1 6;
6649                align: 0.5 0.0;
6650             }
6651          }
6652          part { name: "bottomover";
6653             clip_to: "bottomclip";
6654             mouse_events: 0;
6655             description { state: "default" 0.0;
6656                rel1.to: "bottom";
6657                rel2.to: "bottom";
6658                rel2.relative: 1.0 0.5;
6659                image {
6660                   normal: "bt_dis_hilight.png";
6661                   border: 4 4 4 0;
6662                }
6663             }
6664          }
6665          part { name: "shad";
6666             mouse_events:  0;
6667             description { state: "default" 0.0;
6668                image.normal: "shad_circ.png";
6669                rel1.to: "elm.swallow.size";
6670                rel1.offset: -64 -64;
6671                rel2.to: "elm.swallow.size";
6672                rel2.offset: 63 63;
6673                fill.smooth: 0;
6674             }
6675          }
6676          part { name: "pop";
6677             mouse_events: 1;
6678             description { state: "default" 0.0;
6679                rel1.to: "elm.swallow.slot.middle";
6680                rel1.offset: -5 -5;
6681                rel2.to: "elm.swallow.slot.middle";
6682                rel2.offset: 4 4;
6683                image {
6684                   normal: "bt_dis_base.png";
6685                   border: 4 4 4 4;
6686                }
6687                image.middle: SOLID;
6688             }
6689          }
6690          part { name: "elm.swallow.slot.middle";
6691             type: SWALLOW;
6692             description { state: "default" 0.0;
6693                rel1.to: "elm.swallow.size";
6694                rel2.to: "elm.swallow.size";
6695             }
6696          }
6697          part { name: "popover";
6698             mouse_events: 0;
6699             description { state: "default" 0.0;
6700                rel1.to: "pop";
6701                rel2.to: "pop";
6702                rel2.relative: 1.0 0.5;
6703                image {
6704                   normal: "bt_dis_hilight.png";
6705                   border: 4 4 4 0;
6706                }
6707             }
6708          }
6709       }
6710       programs {
6711          program { name: "end";
6712             signal: "mouse,up,1";
6713             source: "base";
6714             action: SIGNAL_EMIT "elm,action,dismiss" "";
6715          }
6716
6717          program { name: "show";
6718             signal: "elm,action,show";
6719             source: "elm";
6720             action: STATE_SET "visible" 0.0;
6721 //          transition: DECELERATE 0.5;
6722             target: "base";
6723          }
6724          program { name: "hide";
6725             signal: "elm,action,hide";
6726             source: "elm";
6727             action: STATE_SET "default" 0.0;
6728 //          transition: DECELERATE 0.5;
6729             target: "base";
6730          }
6731
6732          program { name: "leftshow";
6733             signal: "elm,action,slot,left,show";
6734             source: "elm";
6735             action: STATE_SET "visible" 0.0;
6736             transition: DECELERATE 0.5;
6737             target: "left";
6738             target: "elm.swallow.slot.left";
6739          }
6740          program { name: "lefthide";
6741             signal: "elm,action,slot,left,hide";
6742             source: "elm";
6743             action: STATE_SET "default" 0.0;
6744             transition: DECELERATE 0.5;
6745             target: "left";
6746             target: "elm.swallow.slot.left";
6747          }
6748          program { name: "rightshow";
6749             signal: "elm,action,slot,right,show";
6750             source: "elm";
6751             action: STATE_SET "visible" 0.0;
6752             transition: DECELERATE 0.5;
6753             target: "right";
6754             target: "elm.swallow.slot.right";
6755          }
6756          program { name: "righthide";
6757             signal: "elm,action,slot,right,hide";
6758             source: "elm";
6759             action: STATE_SET "default" 0.0;
6760             transition: DECELERATE 0.5;
6761             target: "right";
6762             target: "elm.swallow.slot.right";
6763          }
6764          program { name: "topshow";
6765             signal: "elm,action,slot,top,show";
6766             source: "elm";
6767             action: STATE_SET "visible" 0.0;
6768             transition: DECELERATE 0.5;
6769             target: "top";
6770             target: "elm.swallow.slot.top";
6771          }
6772          program { name: "tophide";
6773             signal: "elm,action,slot,top,hide";
6774             source: "elm";
6775             action: STATE_SET "default" 0.0;
6776             transition: DECELERATE 0.5;
6777             target: "top";
6778             target: "elm.swallow.slot.top";
6779          }
6780          program { name: "bottomshow";
6781             signal: "elm,action,slot,bottom,show";
6782             source: "elm";
6783             action: STATE_SET "visible" 0.0;
6784             transition: DECELERATE 0.5;
6785             target: "bottom";
6786             target: "elm.swallow.slot.bottom";
6787          }
6788          program { name: "bottomhide";
6789             signal: "elm,action,slot,bottom,hide";
6790             source: "elm";
6791             action: STATE_SET "default" 0.0;
6792             transition: DECELERATE 0.5;
6793             target: "bottom";
6794             target: "elm.swallow.slot.bottom";
6795          }
6796       }
6797    }
6798
6799    //In the hover used by the menu only the bottom part is used.
6800    group { name: "elm/hover/base/menu";
6801        images {
6802            image: "shad_circ.png" COMP;
6803            image: "bt_dis_base.png" COMP;
6804        }
6805        parts {
6806            part { name: "elm.swallow.offset";
6807                type: SWALLOW;
6808                description { state: "default" 0.0;
6809                    align: 0.0 0.0;
6810                    rel1.relative: 0.0 0.0;
6811                    rel2.relative: 0.0 0.0;
6812                }
6813            }
6814            part { name: "elm.swallow.size";
6815                type: SWALLOW;
6816                description { state: "default" 0.0;
6817                    align: 0.0 0.0;
6818                    rel1.to: "elm.swallow.offset";
6819                    rel1.relative: 1.0 1.0;
6820                    rel2.to: "elm.swallow.offset";
6821                    rel2.relative: 1.0 1.0;
6822                }
6823            }
6824            part { name: "base";
6825                type: RECT;
6826                mouse_events: 1;
6827                description { state: "default" 0.0;
6828                    color: 0 0 0 0;
6829                }
6830                description { state: "visible" 0.0;
6831                    inherit: "default" 1.0;
6832                    color: 0 0 0 64;
6833                }
6834            }
6835            part { name: "elm.swallow.slot.left";
6836                type: SWALLOW;
6837                description { state: "default" 0.0;
6838                }
6839            }
6840            part { name: "elm.swallow.slot.right";
6841                type: SWALLOW;
6842                description { state: "default" 0.0;
6843                }
6844            }
6845            part { name: "elm.swallow.slot.top";
6846                type: SWALLOW;
6847                description { state: "default" 0.0;
6848                }
6849                description { state: "visible" 0.0;
6850                    inherit: "default" 0.0;
6851                }
6852            }
6853            part { name: "bottomclip";
6854                type: RECT;
6855                description { state: "default" 0.0;
6856                    rel1.to_y: "pop";
6857                    rel1.relative: 0.0 1.0;
6858                    rel1.offset: -1 -2;
6859                }
6860            }
6861            part { name: "bottom";
6862                clip_to: "bottomclip";
6863                description { state: "default" 0.0;
6864                    visible: 0;
6865                    rel1.to: "elm.swallow.slot.bottom";
6866                    rel1.offset: -5 -5;
6867                    rel2.to: "elm.swallow.slot.bottom";
6868                    rel2.offset: 4 4;
6869                    image {
6870                        normal: "bt_dis_base.png";
6871                        border: 4 4 4 4;
6872                    }
6873                    image.middle: SOLID;
6874                }
6875                description { state: "visible" 0.0;
6876                    inherit: "default" 0.0;
6877                    visible: 1;
6878                }
6879            }
6880            part { name: "elm.swallow.slot.bottom";
6881                type: SWALLOW;
6882                clip_to: "bottomclip";
6883                description { state: "default" 0.0;
6884                    align: 0.5 1.0;
6885                    rel1.to: "elm.swallow.slot.middle";
6886                    rel1.relative: 0.0 1.0;
6887                    rel1.offset: 0 0;
6888                    rel2.to: "elm.swallow.slot.middle";
6889                    rel2.relative: 1.0 1.0;
6890                    rel2.offset: -1 0;
6891                }
6892                description { state: "visible" 0.0;
6893                    inherit: "default" 0.0;
6894                    rel1.offset: 0 6;
6895                    rel2.offset: -1 6;
6896                    align: 0.5 0.0;
6897                }
6898            }
6899            part { name: "pop";
6900                mouse_events: 1;
6901                repeat_events:1;
6902                description { state: "default" 0.0;
6903                    rel1.to: "elm.swallow.slot.middle";
6904                    rel1.offset: -5 -5;
6905                    rel2.to: "elm.swallow.slot.middle";
6906                    rel2.offset: 4 4;
6907                }
6908            }
6909            part { name: "elm.swallow.slot.middle";
6910                type: SWALLOW;
6911                repeat_events:1;
6912                description { state: "default" 0.0;
6913                    rel1.to: "elm.swallow.size";
6914                    rel2.to: "elm.swallow.size";
6915                }
6916            }
6917        }
6918        programs {
6919            program { name: "end";
6920                signal: "mouse,up,1";
6921                source: "base";
6922                action: SIGNAL_EMIT "elm,action,dismiss" "";
6923            }
6924            program { name: "show";
6925                signal: "elm,action,show";
6926                source: "elm";
6927                action: STATE_SET "visible" 0.0;
6928                        //           transition: DECELERATE 0.5;
6929                target: "base";
6930            }
6931            program { name: "hide";
6932                signal: "elm,action,hide";
6933                source: "elm";
6934                action: STATE_SET "default" 0.0;
6935                        //           transition: DECELERATE 0.5;
6936                target: "base";
6937            }
6938            program { name: "bottomshow";
6939                signal: "elm,action,slot,bottom,show";
6940                source: "elm";
6941                action: STATE_SET "visible" 0.0;
6942                transition: DECELERATE 0.3;
6943                target: "bottom";
6944                target: "elm.swallow.slot.bottom";
6945            }
6946            program { name: "bottomhide";
6947                signal: "elm,action,slot,bottom,hide";
6948                source: "elm";
6949                action: STATE_SET "default" 0.0;
6950                transition: DECELERATE 0.5;
6951                target: "bottom";
6952                target: "elm.swallow.slot.bottom";
6953            }
6954        }
6955    }
6956
6957    //In the hover used by the submenu only the bottom part is used
6958    //and no part should interact except the bottom area
6959    group { name: "elm/hover/base/submenu";
6960        images {
6961            image: "shad_circ.png" COMP;
6962            image: "bt_dis_base.png" COMP;
6963        }
6964        parts {
6965            part { name: "elm.swallow.offset";
6966                type: SWALLOW;
6967                repeat_events:1;
6968                description { state: "default" 0.0;
6969                    align: 0.0 0.0;
6970                    rel1.relative: 0.0 0.0;
6971                    rel2.relative: 0.0 0.0;
6972                }
6973            }
6974            part { name: "elm.swallow.size";
6975                type: SWALLOW;
6976                description { state: "default" 0.0;
6977                    align: 0.0 0.0;
6978                    rel1.to: "elm.swallow.offset";
6979                    rel1.relative: 1.0 1.0;
6980                    rel2.to: "elm.swallow.offset";
6981                    rel2.relative: 1.0 1.0;
6982                }
6983            }
6984            //here we do non catch events like the hover hover does
6985            part { name: "base";
6986                type: RECT;
6987                mouse_events: 1;
6988                description { state: "default" 0.0;
6989                    color: 0 0 0 0;
6990                    visible: 0;
6991                }
6992            }
6993            part { name: "elm.swallow.slot.left";
6994                type: SWALLOW;
6995                description { state: "default" 0.0;
6996                }
6997            }
6998            part { name: "elm.swallow.slot.right";
6999                type: SWALLOW;
7000                description { state: "default" 0.0;
7001                }
7002            }
7003            part { name: "elm.swallow.slot.top";
7004                type: SWALLOW;
7005                description { state: "default" 0.0;
7006                }
7007            }
7008            part { name: "bottomclip";
7009                type: RECT;
7010                description { state: "default" 0.0;
7011                    rel1.to_y: "pop";
7012                    rel1.relative: 0.0 1.0;
7013                    rel1.offset: -1 -2;
7014                }
7015            }
7016            part { name: "bottom";
7017                clip_to: "bottomclip";
7018                description { state: "default" 0.0;
7019                    visible: 0;
7020                    rel1.to: "elm.swallow.slot.bottom";
7021                    rel1.offset: -5 -5;
7022                    rel2.to: "elm.swallow.slot.bottom";
7023                    rel2.offset: 4 4;
7024                    image {
7025                        normal: "bt_dis_base.png";
7026                        border: 4 4 4 4;
7027                    }
7028                    image.middle: SOLID;
7029                }
7030                description { state: "visible" 0.0;
7031                    inherit: "default" 0.0;
7032                    visible: 1;
7033                }
7034            }
7035            part { name: "elm.swallow.slot.bottom";
7036                type: SWALLOW;
7037                clip_to: "bottomclip";
7038                description { state: "default" 0.0;
7039                    align: 0.5 1.0;
7040                    rel1.to: "elm.swallow.slot.middle";
7041                    rel1.relative: 0.0 1.0;
7042                    rel1.offset: 0 0;
7043                    rel2.to: "elm.swallow.slot.middle";
7044                    rel2.relative: 1.0 1.0;
7045                    rel2.offset: -1 0;
7046                }
7047                description { state: "visible" 0.0;
7048                    inherit: "default" 0.0;
7049                    rel1.offset: 0 6;
7050                    rel2.offset: -1 6;
7051                    align: 0.5 0.0;
7052                }
7053            }
7054            part { name: "pop";
7055                mouse_events: 1;
7056                repeat_events:1;
7057                description { state: "default" 0.0;
7058                    rel1.to: "elm.swallow.slot.middle";
7059                    rel1.offset: -5 -5;
7060                    rel2.to: "elm.swallow.slot.middle";
7061                    rel2.offset: 4 4;
7062                }
7063            }
7064            part { name: "elm.swallow.slot.middle";
7065                type: SWALLOW;
7066                repeat_events:1;
7067                description { state: "default" 0.0;
7068                    rel1.to: "elm.swallow.size";
7069                    rel2.to: "elm.swallow.size";
7070                }
7071            }
7072        }
7073        programs {
7074            program { name: "end";
7075                signal: "mouse,up,1";
7076                source: "base";
7077                action: SIGNAL_EMIT "elm,action,dismiss" "";
7078            }
7079            program { name: "show";
7080                signal: "elm,action,show";
7081                source: "elm";
7082                action: STATE_SET "visible" 0.0;
7083                        //           transition: DECELERATE 0.5;
7084                target: "base";
7085            }
7086            program { name: "hide";
7087                signal: "elm,action,hide";
7088                source: "elm";
7089                action: STATE_SET "default" 0.0;
7090                        //           transition: DECELERATE 0.5;
7091                target: "base";
7092            }
7093            program { name: "bottomshow";
7094                signal: "elm,action,slot,bottom,show";
7095                source: "elm";
7096                action: STATE_SET "visible" 0.0;
7097                transition: DECELERATE 0.3;
7098                target: "bottom";
7099                target: "elm.swallow.slot.bottom";
7100            }
7101            program { name: "bottomhide";
7102                signal: "elm,action,slot,bottom,hide";
7103                source: "elm";
7104                action: STATE_SET "default" 0.0;
7105                transition: DECELERATE 0.5;
7106                target: "bottom";
7107                target: "elm.swallow.slot.bottom";
7108            }
7109        }
7110    }
7111
7112    group { name: "elm/hover/base/hoversel_vertical/default";
7113       alias: "elm/hover/base/hoversel_vertical/entry";
7114       images {
7115 //       image: "shad_circ.png" COMP;
7116          image: "bt_base2.png" COMP;
7117          image: "bt_hilight.png" COMP;
7118          image: "bt_shine.png" COMP;
7119          image: "outdent-top.png" COMP;
7120          image: "outdent-bottom.png" COMP;
7121       }
7122       parts {
7123          part { name: "elm.swallow.offset";
7124             type: SWALLOW;
7125             description { state: "default" 0.0;
7126                align: 0.0 0.0;
7127                rel1.relative: 0.0 0.0;
7128                rel2.relative: 0.0 0.0;
7129             }
7130          }
7131          part { name: "elm.swallow.size";
7132             type: SWALLOW;
7133             description { state: "default" 0.0;
7134                align: 0.0 0.0;
7135                rel1.to: "elm.swallow.offset";
7136                rel1.relative: 1.0 1.0;
7137                rel2.to: "elm.swallow.offset";
7138                rel2.relative: 1.0 1.0;
7139             }
7140          }
7141 /*
7142         part { name: "shad";
7143             mouse_events:  0;
7144             description { state: "default" 0.0;
7145                image.normal: "shad_circ.png";
7146                rel1.to: "button_image";
7147                rel1.offset: -64 -64;
7148                rel2.to: "button_image";
7149                rel2.offset: 63 63;
7150                fill.smooth: 0;
7151             }
7152          }
7153  */
7154          part { name: "button_image";
7155             mouse_events: 1;
7156             description { state: "default" 0.0;
7157                rel1.to_x: "elm.swallow.slot.top";
7158                rel1.to_y: "elm.swallow.slot.top";
7159                rel1.offset: -2 -6;
7160                rel2.to_x: "elm.swallow.slot.top";
7161                rel2.to_y: "elm.swallow.slot.bottom";
7162                rel2.offset: 1 5;
7163                image {
7164                   normal: "bt_base2.png";
7165                   border: 7 7 7 7;
7166                }
7167                image.middle: SOLID;
7168             }
7169             description { state: "bottom" 0.0;
7170                rel1.to_x: "elm.swallow.slot.bottom";
7171                rel1.to_y: "elm.swallow.slot.top";
7172                rel1.offset: -2 -6;
7173                rel2.to_x: "elm.swallow.slot.bottom";
7174                rel2.to_y: "elm.swallow.slot.bottom";
7175                rel2.offset: 1 5;
7176                image {
7177                   normal: "bt_base2.png";
7178                   border: 7 7 7 7;
7179                }
7180                image.middle: SOLID;
7181             }
7182          }
7183
7184          part { name: "base";
7185             type: RECT;
7186             mouse_events: 1;
7187             description { state: "default" 0.0;
7188                color: 0 0 0 0;
7189             }
7190             description { state: "visible" 0.0;
7191                inherit: "default" 1.0;
7192                color: 0 0 0 64;
7193             }
7194          }
7195
7196          part { name: "topclip";
7197             type: RECT;
7198             description { state: "default" 0.0;
7199                rel2.to_y: "edge_top";
7200                rel2.relative: 1.0 0.0;
7201                rel2.offset: -1 7;
7202             }
7203          }
7204          part { name: "elm.swallow.slot.top";
7205             type: SWALLOW;
7206             clip_to: "topclip";
7207             description { state: "default" 0.0;
7208                visible: 1;
7209                align: 0.5 0.0;
7210                rel1.to: "elm.swallow.slot.middle";
7211                rel1.relative: 0.0 0.0;
7212                rel1.offset: 0 -1;
7213                rel2.to: "elm.swallow.slot.middle";
7214                rel2.relative: 1.0 0.0;
7215                rel2.offset: -1 -1;
7216             }
7217             description { state: "visible" 0.0;
7218                inherit: "default" 0.0;
7219                rel1.offset: 0 -7;
7220                rel2.offset: -1 -7;
7221                align: 0.5 1.0;
7222             }
7223          }
7224
7225          part { name: "bottomclip";
7226             type: RECT;
7227             description { state: "default" 0.0;
7228                rel1.to_y: "edge_bottom";
7229                rel1.relative: 0.0 1.0;
7230                rel1.offset: -1 -8;
7231             }
7232          }
7233          part { name: "elm.swallow.slot.bottom";
7234             type: SWALLOW;
7235             clip_to: "bottomclip";
7236             description { state: "default" 0.0;
7237                align: 0.5 1.0;
7238                rel1.to: "elm.swallow.slot.middle";
7239                rel1.relative: 0.0 1.0;
7240                rel1.offset: 0 0;
7241                rel2.to: "elm.swallow.slot.middle";
7242                rel2.relative: 1.0 1.0;
7243                rel2.offset: -1 0;
7244             }
7245             description { state: "visible" 0.0;
7246                inherit: "default" 0.0;
7247                rel1.offset: 0 6;
7248                rel2.offset: -1 6;
7249                align: 0.5 0.0;
7250             }
7251          }
7252
7253          part {   name: "over1";
7254             mouse_events: 0;
7255             description { state: "default" 0.0;
7256                rel1.to: "button_image";
7257                rel2.to: "button_image";
7258                rel2.relative: 1.0 0.5;
7259                image {
7260                   normal: "bt_hilight.png";
7261                   border: 7 7 7 0;
7262                }
7263             }
7264          }
7265          part { name: "over2";
7266             mouse_events: 1;
7267             repeat_events: 1;
7268             ignore_flags: ON_HOLD;
7269             description { state: "default" 0.0;
7270                rel1.to: "button_image";
7271                rel2.to: "button_image";
7272                image {
7273                   normal: "bt_shine.png";
7274                   border: 7 7 7 7;
7275                }
7276             }
7277          }
7278          part { name: "edge_top";
7279             mouse_events:  0;
7280             description { state: "default" 0.0;
7281                visible: 0;
7282                rel1 {
7283                   to: "elm.swallow.size";
7284                   offset: 0 -10;
7285                }
7286                rel2 {
7287                   to: "elm.swallow.size";
7288                }
7289                image.normal: "outdent-bottom.png";
7290                image.border: 0 0 13 0;
7291                fill.smooth: 0;
7292             }
7293             description { state: "visible" 0.0;
7294                inherit: "default" 0.0;
7295                visible: 1;
7296             }
7297          }
7298          part { name: "edge_bottom";
7299             mouse_events:  0;
7300             description { state: "default" 0.0;
7301                visible: 0;
7302                rel1 {
7303                   to: "elm.swallow.size";
7304                }
7305                rel2 {
7306                   to: "elm.swallow.size";
7307                   offset: -1 9;
7308                }
7309                image.normal: "outdent-top.png";
7310                image.border: 0 0 0 13;
7311                fill.smooth: 0;
7312             }
7313             description { state: "visible" 0.0;
7314                inherit: "default" 0.0;
7315                visible: 1;
7316             }
7317          }
7318          part { name: "elm.swallow.slot.middle";
7319             type: SWALLOW;
7320             description { state: "default" 0.0;
7321                rel1.to: "elm.swallow.size";
7322                rel2.to: "elm.swallow.size";
7323             }
7324          }
7325       }
7326       programs {
7327          program { name: "end";
7328             signal: "mouse,up,1";
7329             source: "base";
7330             action: SIGNAL_EMIT "elm,action,dismiss" "";
7331          }
7332
7333          program { name: "show";
7334             signal: "elm,action,show";
7335             source: "elm";
7336             action: STATE_SET "visible" 0.0;
7337 //          transition: DECELERATE 0.5;
7338             target: "base";
7339          }
7340          program { name: "hide";
7341             signal: "elm,action,hide";
7342             source: "elm";
7343             action: STATE_SET "default" 0.0;
7344 //          transition: DECELERATE 0.5;
7345             target: "base";
7346          }
7347          program { name: "topshow";
7348             signal: "elm,action,slot,top,show";
7349             source: "elm";
7350             action: STATE_SET "visible" 0.0;
7351             target: "edge_top";
7352             after: "topshow2";
7353          }
7354          program { name: "topshow2";
7355             action: STATE_SET "visible" 0.0;
7356             transition: DECELERATE 0.5;
7357             target: "elm.swallow.slot.top";
7358          }
7359          program { name: "topshow3";
7360             signal: "elm,action,slot,top,show";
7361             source: "elm";
7362             action: STATE_SET "default" 0.0;
7363             target: "button_image";
7364          }
7365          program { name: "tophide";
7366             signal: "elm,action,slot,top,hide";
7367             source: "elm";
7368             action: STATE_SET "default" 0.0;
7369             transition: DECELERATE 0.5;
7370             target: "elm.swallow.slot.top";
7371             after: "tophide2";
7372          }
7373          program { name: "tophide2";
7374             action: STATE_SET "default" 0.0;
7375             target: "edge_top";
7376          }
7377          program { name: "bottomshow";
7378             signal: "elm,action,slot,bottom,show";
7379             source: "elm";
7380             action: STATE_SET "visible" 0.0;
7381             target: "edge_bottom";
7382             after: "bottomshow2";
7383          }
7384          program { name: "bottomshow2";
7385             action: STATE_SET "visible" 0.0;
7386             transition: DECELERATE 0.5;
7387             target: "elm.swallow.slot.bottom";
7388          }
7389          program { name: "bottomshow3";
7390             signal: "elm,action,slot,bottom,show";
7391             source: "elm";
7392             action: STATE_SET "bottom" 0.0;
7393             target: "button_image";
7394          }
7395          program { name: "bottomhide";
7396             signal: "elm,action,slot,bottom,hide";
7397             source: "elm";
7398             action: STATE_SET "default" 0.0;
7399             transition: DECELERATE 0.5;
7400             target: "elm.swallow.slot.bottom";
7401             after: "bottomhide2";
7402          }
7403          program { name: "bottomhide2";
7404             action: STATE_SET "default" 0.0;
7405             target: "edge_bottom";
7406          }
7407       }
7408    }
7409 ///////////////////////////////////////////////////////////////////////////////
7410    group { name: "elm/scroller/base/ctxpopup";
7411       data {
7412          item: "focus_highlight" "on";
7413       }
7414       script {
7415          public sbvis_v, sbvis_h, sbalways_v, sbalways_h, sbvis_timer;
7416          public timer0(val) {
7417             new v;
7418             v = get_int(sbvis_v);
7419             if (v) {
7420                v = get_int(sbalways_v);
7421                if(!v) {
7422                   emit("do-hide-vbar", "");
7423                   set_int(sbvis_v, 0);
7424                }
7425             }
7426             v = get_int(sbvis_h);
7427             if (v) {
7428                v = get_int(sbalways_h);
7429                if(!v) {
7430                   emit("do-hide-hbar", "");
7431                   set_int(sbvis_h, 0);
7432                }
7433             }
7434             set_int(sbvis_timer, 0);
7435             return 0;
7436          }
7437       }
7438       images {
7439          image: "bt_sm_base2.png" COMP;
7440          image: "bt_sm_shine.png" COMP;
7441          image: "bt_sm_hilight.png" COMP;
7442          image: "sl_bt2_2.png" COMP;
7443       }
7444       parts {
7445          part { name: "clipper";
7446             type: RECT;
7447             mouse_events: 0;
7448             scale: 1;
7449             description { state: "default" 0.0;
7450             }
7451          }
7452          part { name: "elm.swallow.content";
7453             clip_to: "clipper";
7454             type: SWALLOW;
7455             scale: 1;
7456             description { state: "default" 0.0;
7457                align: 0.5 0.5;
7458             }
7459          }
7460          part { name: "focus_highlight";
7461             mouse_events: 0;
7462             description { state: "default" 0.0;
7463                rel1.offset: -1 -1;
7464                rel2.offset: 0 0;
7465                image { normal: "sl_bt2_2.png";
7466                   border: 7 7 7 7;
7467                   middle: 0;
7468                }
7469                fill.smooth : 0;
7470                color: 200 155 0 0;
7471             }
7472             description { state: "enabled" 0.0;
7473                inherit: "default" 0.0;
7474                color: 200 155 0 255;
7475             }
7476          }
7477          part { name: "sb_vbar_clip_master";
7478             type: RECT;
7479             mouse_events: 0;
7480             description { state: "default" 0.0;
7481             }
7482             description { state: "hidden" 0.0;
7483                visible: 0;
7484                color: 255 255 255 0;
7485             }
7486          }       
7487          part { name: "sb_vbar_clip";
7488             clip_to:"sb_vbar_clip_master";
7489             type: RECT;
7490             mouse_events: 0;
7491             scale: 1;
7492             description { state: "default" 0.0;
7493                align: 0.0 0.0;
7494                rel2{ to:"clipper"; relative: 1.0 1.0;}
7495             }
7496             description { state: "hidden" 0.0;
7497                visible: 0;
7498                color: 255 255 255 0;
7499             }
7500          }
7501          part { name: "sb_vbar";
7502             type: RECT;
7503             mouse_events: 0;
7504             scale: 1;
7505             description { state: "default" 0.0;
7506                fixed: 1 1;
7507                visible: 0;
7508                align: 1.0 0.0;
7509                rel1{ to:"clipper"; relative: 1.0 0.0; }
7510                rel2{ to:"clipper"; relative: 1.0 1.0; }
7511             }
7512          }
7513          part { name: "elm.dragable.vbar";
7514             clip_to: "sb_vbar_clip";
7515             mouse_events: 0;    
7516             scale: 1;
7517             dragable {
7518                x: 0 0 0;
7519                y: 1 1 0;
7520                confine: "sb_vbar";
7521             }
7522             description { state: "default" 0.0;
7523                fixed: 1 1;
7524                min: 10 17;
7525                max: 10 99999;
7526                rel1 { relative: 0.5 0.5; to: "sb_vbar"; }
7527                rel2 { relative: 0.5  0.5; to: "sb_vbar"; }
7528                image { normal: "bt_sm_base2.png";
7529                   border: 6 6 6 6;
7530                   middle: SOLID;
7531                }
7532             }
7533          }
7534          part { name: "sb_vbar_over1";
7535             clip_to: "sb_vbar_clip";
7536             mouse_events: 0;
7537             description { state: "default" 0.0;
7538                rel1.to: "elm.dragable.vbar";
7539                rel2.relative: 1.0 0.5;
7540                rel2.to: "elm.dragable.vbar";
7541                image { normal: "bt_sm_hilight.png";
7542                   border: 6 6 6 0;
7543                }
7544             }
7545          }
7546          part { name: "sb_vbar_over2";
7547             clip_to: "sb_vbar_clip";
7548             mouse_events: 0;
7549             description { state: "default" 0.0;
7550                rel1.to: "elm.dragable.vbar";
7551                rel2.to: "elm.dragable.vbar";
7552                image { normal: "bt_sm_shine.png";
7553                   border: 6 6 6 0;
7554                }
7555             }
7556          }
7557          part { name: "sb_hbar_clip_master";
7558             type: RECT;
7559             mouse_events: 0;
7560             description { state: "default" 0.0;
7561             }
7562             description { state: "hidden" 0.0;
7563                visible: 0;
7564                color: 255 255 255 0;
7565             }
7566          }       
7567          part { name: "sb_hbar_clip";
7568             clip_to: "sb_hbar_clip_master";
7569             type: RECT;
7570             mouse_events: 0;
7571             scale: 1;
7572             description { state: "default" 0.0;
7573                align: 0.0 0.0;
7574                rel2{ to:"clipper"; relative: 1.0 1.0;}
7575             }
7576             description { state: "hidden" 0.0;
7577                visible: 0;
7578                color: 255 255 255 0;
7579             }
7580          }
7581          part { name: "sb_hbar";
7582             type: RECT;
7583             mouse_events: 0;
7584             scale: 1;
7585             description { state: "default" 0.0; 
7586                fixed: 1 1;
7587                visible: 0;
7588                align: 0.0 1.0;
7589                rel1 { to:"clipper"; relative: 0.0 1.0; }
7590                rel2 { to:"clipper"; relative: 1.0 1.0; }       
7591             }
7592          }
7593          part { name: "elm.dragable.hbar";
7594             clip_to: "sb_hbar_clip";
7595             mouse_events: 0;   
7596             scale: 1;
7597             dragable {
7598                x: 1 1 0;
7599                y: 0 0 0;
7600                confine: "sb_hbar";
7601             }
7602             description { state: "default" 0.0;
7603                min: 17 10;
7604                max: 99999 10;
7605                fixed: 1 1;
7606                rel1 { relative: 0.5  0.5; to: "sb_hbar"; }
7607                rel2 { relative: 0.5  0.5; to: "sb_hbar"; }
7608                image { normal: "bt_sm_base2.png";
7609                   border: 4 4 4 4;
7610                   middle: SOLID;
7611                }
7612             }
7613          }
7614          part { name: "sb_hbar_over1";
7615             clip_to: "sb_hbar_clip";
7616             mouse_events: 0;
7617             description { state: "default" 0.0;
7618                rel1.to: "elm.dragable.hbar";
7619                rel2.relative: 1.0 0.5;
7620                rel2.to: "elm.dragable.hbar";
7621                image { normal: "bt_sm_hilight.png";
7622                   border: 6 6 6 0;
7623                }
7624             }
7625          }
7626          part { name: "sb_hbar_over2";
7627             clip_to: "sb_hbar_clip";
7628             mouse_events: 0;
7629             description { state: "default" 0.0;
7630                rel1.to: "elm.dragable.hbar";
7631                rel2.to: "elm.dragable.hbar";
7632                image { normal: "bt_sm_shine.png";
7633                   border: 6 6 6 0;
7634                }
7635             }
7636          }
7637       }   
7638       programs {
7639          program { name: "load";
7640             signal: "load";
7641             source: "";
7642             script {
7643                set_state(PART:"sb_vbar_clip", "hidden", 0.0);
7644                set_state(PART:"sb_hbar_clip", "hidden", 0.0);
7645                set_int(sbvis_v, 0);
7646                set_int(sbvis_h, 0);
7647                set_int(sbalways_v, 0);
7648                                    set_int(sbalways_h, 0);
7649                set_int(sbvis_timer, 0);
7650             }
7651          } 
7652          program { name: "vbar_show";
7653             signal: "elm,action,show,vbar";
7654             source: "elm";
7655             action: STATE_SET "default" 0.0;
7656             target: "sb_vbar_clip_master";
7657          }
7658          program { name: "vbar_hide";
7659             signal: "elm,action,hide,vbar";
7660             source: "elm";
7661             action:  STATE_SET "hidden" 0.0;
7662             target: "sb_vbar_clip_master";
7663          }       
7664          program { name: "vbar_show_always";
7665             signal: "elm,action,show_always,vbar";
7666             source: "elm";
7667             script {
7668                new v;
7669                v = get_int(sbvis_v);
7670                v |= get_int(sbalways_v);
7671                if (!v) {
7672                   set_int(sbalways_v, 1);
7673                   emit("do-show-vbar", "");
7674                   set_int(sbvis_v, 1);
7675                }
7676             }
7677          }
7678          program { name: "vbar_show_notalways";
7679             signal: "elm,action,show_notalways,vbar";
7680             source: "elm";
7681             script {
7682                new v;
7683                v = get_int(sbalways_v);
7684                if (v) {
7685                   set_int(sbalways_v, 0);
7686                   v = get_int(sbvis_v);
7687                   if (!v) {
7688                      emit("do-hide-vbar", "");
7689                      set_int(sbvis_v, 0);
7690                   }
7691                }
7692             }
7693          }       
7694          program { name: "sb_vbar_show";
7695             signal: "do-show-vbar";
7696             source: "";
7697             action:  STATE_SET "default" 0.0;
7698             transition: LINEAR 1.0;
7699             target: "sb_vbar_clip";
7700          }
7701          program { name: "sb_vbar_hide";
7702             signal: "do-hide-vbar";
7703             source: "";
7704             action:  STATE_SET "hidden" 0.0;
7705             transition: LINEAR 1.0;
7706             target: "sb_vbar_clip";
7707          }
7708          program { name: "hbar_show";
7709             signal: "elm,action,show,hbar";
7710             source: "elm";
7711             action:  STATE_SET "default" 0.0;
7712             target: "sb_hbar_clip_master";
7713          }
7714          program { name: "hbar_hide";
7715             signal: "elm,action,hide,hbar";
7716             source: "elm";
7717             action:  STATE_SET "hidden" 0.0;
7718             target: "sb_hbar_clip_master";
7719          }
7720          program { name: "hbar_show_always";
7721             signal: "elm,action,show_always,hbar";
7722             source: "elm";
7723             script {
7724                new v;
7725                v = get_int(sbvis_h);
7726                v |= get_int(sbalways_h);
7727                if (!v) {
7728                   set_int(sbalways_h, 1);
7729                   emit("do-show-hbar", "");
7730                   set_int(sbvis_h, 1);
7731                }
7732             }
7733          }
7734          program { name: "hbar_show_notalways";
7735             signal: "elm,action,show_notalways,hbar";
7736             source: "elm";
7737             script {
7738                new v;
7739                v = get_int(sbalways_h);
7740                if (v) {
7741                   set_int(sbalways_h, 0);
7742                   v = get_int(sbvis_h);
7743                   if (!v) {
7744                      emit("do-hide-hbar", "");
7745                      set_int(sbvis_h, 0);
7746                   }
7747                }
7748             }
7749          }
7750          program { name: "sb_hbar_show";
7751             signal: "do-show-hbar";
7752             source: "";
7753             action:  STATE_SET "default" 0.0;
7754             transition: LINEAR 1.0;
7755             target: "sb_hbar_clip";
7756          }
7757          program { name: "sb_hbar_hide";
7758             signal: "do-hide-hbar";
7759             source: "";
7760             action:  STATE_SET "hidden" 0.0;
7761             transition: LINEAR 1.0;
7762             target: "sb_hbar_clip";
7763          }                         
7764          program { name: "scroll";
7765             signal: "elm,action,scroll";
7766             source: "elm";
7767             script {
7768                new v;
7769                v = get_int(sbvis_v);
7770                v |= get_int(sbalways_v);
7771                if (!v) {
7772                   emit("do-show-vbar", "")
7773                   set_int(sbvis_v, 1);
7774                }
7775                v = get_int(sbvis_h);
7776                v |= get_int(sbalways_h);
7777                if (!v) {
7778                   emit("do-show-hbar", "");
7779                   set_int(sbvis_h, 1);
7780                }
7781                v = get_int(sbvis_timer);
7782                if (v > 0) cancel_timer(v);
7783                v = timer(1.0, "timer0", 0);
7784                set_int(sbvis_timer, v);
7785             }
7786          }
7787          program { name: "highlight_show";
7788             signal: "elm,action,focus_highlight,show";
7789             source: "elm";
7790             action: STATE_SET "enabled" 0.0;
7791             transition: ACCELERATE 0.3;
7792             target: "focus_highlight";
7793           }
7794          program { name: "highlight_hide";
7795             signal: "elm,action,focus_highlight,hide";
7796             source: "elm";
7797             action: STATE_SET "default" 0.0;
7798             transition: DECELERATE 0.3;
7799             target: "focus_highlight";
7800          }
7801       }  
7802    }  
7803 ///////////////////////////////////////////////////////////////////////////////
7804    group { name: "elm/ctxpopup/bg/default";
7805       parts {
7806          part { name: "ctxpopup_bg";
7807             type: RECT;
7808             mouse_events: 1;
7809             description { state: "default" 0.0;
7810                color: 0 0 0 0;
7811             }
7812             description { state: "visible" 0.0;
7813                inherit: "default" 0.0;
7814                color: 0 0 0 64;
7815             }
7816          }
7817       }
7818       programs {
7819          program { name: "clicked_event";
7820             signal: "mouse,clicked,1";
7821             source: "ctxpopup_bg";
7822             action: SIGNAL_EMIT "elm,action,click" "";
7823          }
7824          program { name: "show";
7825             signal: "elm,state,show";
7826             source: "elm";
7827             action: STATE_SET "visible" 0.0;
7828             target: "ctxpopup_bg";
7829          }
7830          program { name: "hide";
7831             signal: "elm,state,hide";
7832             source: "elm";
7833             action: STATE_SET "default" 0.0;
7834             target: "ctxpopup_bg";
7835          }       
7836       }
7837    }
7838 ///////////////////////////////////////////////////////////////////////////////
7839    group { name: "elm/ctxpopup/base/default";
7840       images {
7841          image: "bt_base2.png" COMP;
7842          image: "bt_hilight.png" COMP;
7843          image: "bt_shine.png" COMP;
7844       }
7845       parts {
7846          part { name: "base";
7847             scale: 1;
7848             description { state: "default" 0.0;
7849                rel1.offset: -3 -3;
7850                rel2.offset: 3 3;
7851                image { normal: "bt_base2.png";
7852                   border: 7 7 7 7;
7853                }
7854             }
7855          }
7856          part { name: "over1";
7857             scale: 1;
7858             description { state: "default" 0.0;
7859                rel1.to: "base";
7860                rel2.to: "base";
7861                rel2.relative: 1.0 0.5;
7862                image { normal: "bt_hilight.png";
7863                   border: 7 7 7 0;
7864                }
7865             }
7866          }
7867          part { name: "over2";
7868             scale: 1;
7869             description { state: "default" 0.0;
7870                rel1.to: "base";
7871                rel2.to: "base";
7872                image { normal: "bt_shine.png";
7873                   border: 7 7 7 7;
7874                }
7875             }
7876          }
7877          part { name: "elm.swallow.content";
7878             type: SWALLOW;
7879             description { state: "default" 0.0;
7880                rel1 { to:"base"; offset: 4 4; };
7881                rel2 { to:"base"; offset: -5 -5; };
7882             }
7883          }                      
7884       } 
7885    } 
7886 ///////////////////////////////////////////////////////////////////////////////
7887    group { name: "elm/ctxpopup/arrow/default";
7888       images {
7889          image: "icon_arrow_left.png" COMP;
7890          image: "icon_arrow_right.png" COMP;
7891          image: "icon_arrow_up.png" COMP;
7892          image: "icon_arrow_down.png" COMP;
7893       }
7894       parts { 
7895                         part { name: "ctxpopup_arrow";
7896             type: IMAGE;
7897             scale: 1;
7898             description {
7899                state: "default" 0.0;
7900                min: 40 40;
7901                fixed: 1 1;
7902                visible: 0;
7903                align: 0.5 0.5;
7904             }
7905             description {
7906                state: "left" 0.0;
7907                min: 40 40;
7908                fixed: 1 1;
7909                align: 0.0 0.5;
7910                image { normal: "icon_arrow_left.png";
7911                }
7912             }
7913             description { state: "right" 0.0;
7914                min: 40 40;
7915                fixed: 1 1;
7916                align: 1.0 0.5;
7917                image { normal: "icon_arrow_right.png";                
7918                                         }
7919             }
7920             description { state: "top" 0.0;
7921                min: 40 40;
7922                fixed: 1 1;
7923                align: 0.5 0.0;
7924                image { normal: "icon_arrow_up.png";
7925                }
7926             }
7927             description { state: "bottom" 0.0;
7928                min: 40 40;
7929                fixed: 1 1;
7930                align: 0.5 1.0;
7931                image { normal: "icon_arrow_down.png";
7932                }
7933             }
7934          }
7935       }
7936       programs {
7937          program { name: "enable_left_arrow";
7938             signal: "elm,state,left";
7939             source: "elm";
7940             action: STATE_SET "left" 0.0;
7941             target: "ctxpopup_arrow";
7942          }
7943          program { name: "enable_right_arrow";
7944             signal: "elm,state,right";
7945             source: "elm";
7946             action: STATE_SET "right" 0.0;
7947             target: "ctxpopup_arrow";
7948          }
7949          program { name: "enable_top_arrow";
7950             signal: "elm,state,top";
7951             source: "elm";
7952             action: STATE_SET "top" 0.0;
7953             target: "ctxpopup_arrow";
7954          }
7955          program { name: "enable_bottom_arrow";
7956             signal: "elm,state,bottom";
7957             source: "elm";
7958             action: STATE_SET "bottom" 0.0;
7959             target: "ctxpopup_arrow";
7960          }
7961       }
7962    }
7963 ///////////////////////////////////////////////////////////////////////////////
7964    group { 
7965       name: "elm/ctxpopup/icon_text_style_item/default";
7966            alias: "elm/ctxpopup/text_style_item/default";
7967            alias: "elm/ctxpopup/icon_style_item/default";
7968       images {
7969          image: "hoversel_entry_bg.png" COMP;
7970       }
7971       parts {
7972          part { name: "event";
7973             mouse_events: 1;
7974             description { state: "default" 0.0;
7975             }
7976          }
7977          part { name: "bg";
7978             mouse_events: 0;
7979             description { state: "default" 0.0;
7980                rel1.offset: 2 2;
7981                rel2.offset: -3 -3;
7982                image { normal:"hoversel_entry_bg.png";
7983                   border: 0 0 2 2;
7984                }
7985                fill.smooth: 0;
7986                color: 255 255 255 0;
7987             }
7988             description { state: "clicked" 0.0;
7989                inherit: "default" 0.0; 
7990                color: 255 255 255 255;
7991             }
7992          }
7993          part { name: "elm.swallow.icon";
7994             type: SWALLOW;
7995             clip_to: "disclip";
7996             scale: 1;
7997             description { state: "default" 0.0;
7998                min: 25 25;
7999                max: 25 25;              
8000                align: 0 0.5;     
8001                aspect: 1.0 1.0;
8002                rel1 { offset: 10 10; }              
8003                                         rel2 { offset: 0 -10; }
8004             }
8005          }       
8006          part { name: "elm.text";
8007             type: TEXT;
8008             mouse_events: 0;
8009             clip_to: "disclip";
8010             scale: 1;
8011             description { state: "default" 0.0;
8012                min: 1 40;
8013                fixed: 0 1;
8014                align: 0.5 0.5;
8015                rel1 { relative: 1.0 0.0; to: "elm.swallow.icon"; offset: 10 0; }
8016                rel2 { relative: 1.0 1.0; offset: -11 -1; }
8017                color: 255 255 255 255;
8018                text {
8019                   font: "Sans";
8020                   size: 10;
8021                   align: 0.0 0.5;
8022                   min: 1 1;
8023                }
8024             }
8025             description { state: "clicked" 0.0;
8026                inherit: "default" 0.0;
8027                color: 0 0 0 255;
8028             }
8029          } 
8030                         part { name: "over1";
8031             mouse_events: 1;
8032             repeat_events: 1;
8033             ignore_flags: ON_HOLD;
8034             description { state: "default" 0.0;
8035                color: 255 255 255 0;
8036             }
8037             description { state: "clicked" 0.0;
8038                inherit: "default" 0.0; 
8039                color: 255 255 255 255;
8040             }
8041          }
8042          part { name: "over2";
8043             mouse_events: 1;
8044             repeat_events: 1;
8045             description { state: "default" 0.0;
8046                color: 255 255 255 0;
8047             }
8048             description { state: "clicked" 0.0;
8049                inherit: "default" 0.0; 
8050                color: 255 255 255 255;
8051             }
8052          }
8053          part { name: "disclip";
8054             type: RECT;
8055             description { state: "default" 0.0;
8056                color: 255 255 255 255;
8057             }
8058             description { state: "enabled" 0.0;
8059                color: 127 127 127 127;
8060             }
8061          }
8062          part { name: "blocker";
8063             description { state: "default" 0.0;
8064                visible: 0;
8065             }
8066             description { state: "enabled" 0.0;
8067                visible: 1;
8068                color: 0 0 0 0;
8069             }
8070          }
8071                 }
8072       programs {
8073          program {
8074             name: "item_unclick";
8075             signal: "mouse,up,1";
8076             source: "over1";
8077             action: SIGNAL_EMIT "elm,action,click" "";
8078          } 
8079          program { name: "disable";
8080             signal: "elm,state,disabled";
8081             source: "elm";
8082             action: STATE_SET "enabled" 0.0;
8083             target: "disclip";
8084             target: "blocker";
8085          }
8086          program { name: "enable";
8087             signal: "elm,state,enabled";
8088             source: "elm";
8089             action: STATE_SET "default" 0.0;
8090             target: "disclip";
8091             target: "blocker";
8092          }
8093          program { name: "item_click2";
8094             signal: "mouse,down,1";
8095             source: "over2";
8096             script {
8097                set_state(PART:"elm.text", "clicked", 0.0);
8098                set_state(PART:"bg", "clicked", 0.0);
8099             }
8100          }  
8101          program { name: "item_unclick2";
8102             signal: "mouse,up,1";
8103             source: "over2";
8104             script { 
8105                                         set_state(PART:"elm.text", "default", 0.0);
8106                set_state(PART:"bg", "default", 0.0);
8107             }  
8108          }
8109       }   
8110    }   
8111 ///////////////////////////////////////////////////////////////////////////////
8112 // emoticon images from:
8113 // Tanya - Latvia
8114 // http://lazycrazy.deviantart.com/
8115 // http://lazycrazy.deviantart.com/art/Very-Emotional-Emoticons-144461621
8116   group { name: "elm/entry/emoticon/angry/default"; images.image:
8117      "emo-angry.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8118         "emo-angry.png"; } } } }
8119   group { name: "elm/entry/emoticon/angry-shout/default"; images.image:
8120      "emo-angry-shout.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8121         "emo-angry-shout.png"; } } } }
8122   group { name: "elm/entry/emoticon/crazy-laugh/default"; images.image:
8123      "emo-crazy-laugh.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8124         "emo-crazy-laugh.png"; } } } }
8125   group { name: "elm/entry/emoticon/evil-laugh/default"; images.image:
8126      "emo-evil-laugh.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8127         "emo-evil-laugh.png"; } } } }
8128   group { name: "elm/entry/emoticon/evil/default"; images.image:
8129      "emo-evil.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8130         "emo-evil.png"; } } } }
8131   group { name: "elm/entry/emoticon/goggle-smile/default"; images.image:
8132      "emo-goggle-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8133         "emo-goggle-smile.png"; } } } }
8134   group { name: "elm/entry/emoticon/grumpy/default"; images.image:
8135      "emo-grumpy.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8136         "emo-grumpy.png"; } } } }
8137   group { name: "elm/entry/emoticon/grumpy-smile/default"; images.image:
8138      "emo-grumpy-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8139         "emo-grumpy-smile.png"; } } } }
8140   group { name: "elm/entry/emoticon/guilty/default"; images.image:
8141      "emo-guilty.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8142         "emo-guilty.png"; } } } }
8143   group { name: "elm/entry/emoticon/guilty-smile/default"; images.image:
8144      "emo-guilty-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8145         "emo-guilty-smile.png"; } } } }
8146   group { name: "elm/entry/emoticon/haha/default"; images.image:
8147      "emo-haha.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8148         "emo-haha.png"; } } } }
8149   group { name: "elm/entry/emoticon/half-smile/default"; images.image:
8150      "emo-half-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8151         "emo-half-smile.png"; } } } }
8152   group { name: "elm/entry/emoticon/happy-panting/default"; images.image:
8153      "emo-happy-panting.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8154         "emo-happy-panting.png"; } } } }
8155   group { name: "elm/entry/emoticon/happy/default"; images.image:
8156      "emo-happy.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8157         "emo-happy.png"; } } } }
8158   group { name: "elm/entry/emoticon/indifferent/default"; images.image:
8159      "emo-indifferent.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8160         "emo-indifferent.png"; } } } }
8161   group { name: "elm/entry/emoticon/kiss/default"; images.image:
8162      "emo-kiss.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8163         "emo-kiss.png"; } } } }
8164   group { name: "elm/entry/emoticon/knowing-grin/default"; images.image:
8165      "emo-knowing-grin.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8166         "emo-knowing-grin.png"; } } } }
8167   group { name: "elm/entry/emoticon/laugh/default"; images.image:
8168      "emo-laugh.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8169         "emo-laugh.png"; } } } }
8170   group { name: "elm/entry/emoticon/little-bit-sorry/default"; images.image:
8171      "emo-little-bit-sorry.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8172         "emo-little-bit-sorry.png"; } } } }
8173   group { name: "elm/entry/emoticon/love-lots/default"; images.image:
8174      "emo-love-lots.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8175         "emo-love-lots.png"; } } } }
8176   group { name: "elm/entry/emoticon/love/default"; images.image:
8177      "emo-love.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8178         "emo-love.png"; } } } }
8179   group { name: "elm/entry/emoticon/minimal-smile/default"; images.image:
8180      "emo-minimal-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8181         "emo-minimal-smile.png"; } } } }
8182   group { name: "elm/entry/emoticon/not-happy/default"; images.image:
8183      "emo-not-happy.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8184         "emo-not-happy.png"; } } } }
8185   group { name: "elm/entry/emoticon/not-impressed/default"; images.image:
8186      "emo-not-impressed.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8187         "emo-not-impressed.png"; } } } }
8188   group { name: "elm/entry/emoticon/omg/default"; images.image:
8189      "emo-omg.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8190         "emo-omg.png"; } } } }
8191   group { name: "elm/entry/emoticon/opensmile/default"; images.image:
8192      "emo-opensmile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8193         "emo-opensmile.png"; } } } }
8194   group { name: "elm/entry/emoticon/smile/default"; images.image:
8195      "emo-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8196         "emo-smile.png"; } } } }
8197   group { name: "elm/entry/emoticon/sorry/default"; images.image:
8198      "emo-sorry.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8199         "emo-sorry.png"; } } } }
8200   group { name: "elm/entry/emoticon/squint-laugh/default"; images.image:
8201      "emo-squint-laugh.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8202         "emo-squint-laugh.png"; } } } }
8203   group { name: "elm/entry/emoticon/surprised/default"; images.image:
8204      "emo-surprised.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8205         "emo-surprised.png"; } } } }
8206   group { name: "elm/entry/emoticon/suspicious/default"; images.image:
8207      "emo-suspicious.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8208         "emo-suspicious.png"; } } } }
8209   group { name: "elm/entry/emoticon/tongue-dangling/default"; images.image:
8210      "emo-tongue-dangling.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8211         "emo-tongue-dangling.png"; } } } }
8212   group { name: "elm/entry/emoticon/tongue-poke/default"; images.image:
8213      "emo-tongue-poke.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8214         "emo-tongue-poke.png"; } } } }
8215   group { name: "elm/entry/emoticon/uh/default"; images.image:
8216      "emo-uh.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8217         "emo-uh.png"; } } } }
8218   group { name: "elm/entry/emoticon/unhappy/default"; images.image:
8219      "emo-unhappy.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8220         "emo-unhappy.png"; } } } }
8221   group { name: "elm/entry/emoticon/very-sorry/default"; images.image:
8222      "emo-very-sorry.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8223         "emo-very-sorry.png"; } } } }
8224   group { name: "elm/entry/emoticon/what/default"; images.image:
8225      "emo-what.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8226         "emo-what.png"; } } } }
8227   group { name: "elm/entry/emoticon/wink/default"; images.image:
8228      "emo-wink.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8229         "emo-wink.png"; } } } }
8230   group { name: "elm/entry/emoticon/worried/default"; images.image:
8231      "emo-worried.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8232         "emo-worried.png"; } } } }
8233   group { name: "elm/entry/emoticon/wtf/default"; images.image:
8234      "emo-wtf.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8235         "emo-wtf.png"; } } } }
8236 //------------------------------------------------------------
8237    group { name: "elm/entry/base/default";
8238       styles
8239       {
8240          style { name: "entry_textblock_style";
8241             base: "font=Sans font_size=10 color=#000 wrap=word text_class=entry";
8242             tag:  "br" "\n";
8243             tag:  "ps" "ps";
8244             tag:  "tab" "\t";
8245             tag:  "em" "+ font=Sans:style=Oblique";
8246             tag:  "b" "+ font=Sans:style=Bold";
8247             tag:  "link" "+ color=#800 underline=on underline_color=#8008";
8248             tag:  "hilight" "+ font=Sans:style=Bold";
8249          }
8250          style { name: "entry_textblock_disabled_style";
8251             base: "font=Sans font_size=10 color=#00000080 wrap=word text_class=entry";
8252             tag:  "br" "\n";
8253             tag:  "ps" "ps";
8254             tag:  "tab" "\t";
8255             tag:  "em" "+ font=Sans:style=Oblique";
8256             tag:  "b" "+ font=Sans:style=Bold";
8257             tag:  "link" "+ color=#00000080 underline=on underline_color=#00000080";
8258             tag:  "hilight" "+ font=Sans:style=Bold";
8259          }
8260       }
8261       data {
8262 //         item: context_menu_orientation "horizontal";
8263       }
8264       parts {
8265          part { name: "elm.text";
8266             type: TEXTBLOCK;
8267             mouse_events: 1;
8268             scale: 1;
8269             entry_mode: EDITABLE;
8270             select_mode: EXPLICIT;
8271             multiline: 1;
8272             source: "elm/entry/selection/default"; // selection under
8273    //       source2: "X"; // selection over
8274    //       source3: "X"; // cursor under
8275             source4: "elm/entry/cursor/default"; // cursorover
8276             source5: "elm/entry/anchor/default"; // anchor under
8277    //       source6: "X"; // anchor over
8278             description { state: "default" 0.0;
8279                /* we gotta use 0 0 here, because of scrolled entries */
8280                fixed: 0 0;
8281                text {
8282                   style: "entry_textblock_style";
8283                   min: 0 1;
8284                }
8285             }
8286             description { state: "disabled" 0.0;
8287                inherit: "default" 0.0;
8288                text {
8289                   style: "entry_textblock_disabled_style";
8290                   min: 0 1;
8291                }
8292             }
8293          }
8294       }
8295       programs {
8296          program { name: "focus";
8297             signal: "load";
8298             source: "";
8299             action: FOCUS_SET;
8300             target: "elm.text";
8301          }
8302          program { name: "disable";
8303             signal: "elm,state,disabled";
8304             source: "elm";
8305             action: STATE_SET "disabled" 0.0;
8306             target: "elm.text";
8307          }
8308          program { name: "enable";
8309             signal: "elm,state,enabled";
8310             source: "elm";
8311             action: STATE_SET "default" 0.0;
8312             target: "elm.text";
8313          }
8314       }
8315    }
8316
8317    group { name: "elm/entry/base-charwrap/default";
8318       styles
8319       {
8320          style { name: "entry_textblock_style_charwrap";
8321             base: "font=Sans font_size=10 color=#000 wrap=char text_class=entry";
8322             tag:  "br" "\n";
8323             tag:  "ps" "ps";
8324             tag:  "tab" "\t";
8325             tag:  "em" "+ font=Sans:style=Oblique";
8326             tag:  "b" "+ font=Sans:style=Bold";
8327             tag:  "link" "+ color=#800 underline=on underline_color=#8008";
8328             tag:  "hilight" "+ font=Sans:style=Bold";
8329          }
8330          style { name: "entry_textblock_disabled_style_charwrap";
8331             base: "font=Sans font_size=10 color=#00000080 wrap=char text_class=entry";
8332             tag:  "br" "\n";
8333             tag:  "ps" "ps";
8334             tag:  "tab" "\t";
8335             tag:  "em" "+ font=Sans:style=Oblique";
8336             tag:  "b" "+ font=Sans:style=Bold";
8337             tag:  "link" "+ color=#00000080 underline=on underline_color=#00000080";
8338             tag:  "hilight" "+ font=Sans:style=Bold";
8339          }
8340       }
8341       parts {
8342          part { name: "elm.text";
8343             type: TEXTBLOCK;
8344             mouse_events: 1;
8345             scale: 1;
8346             entry_mode: EDITABLE;
8347             select_mode: EXPLICIT;
8348             multiline: 1;
8349             source: "elm/entry/selection/default"; // selection under
8350 //          source2: "X"; // selection over
8351 //          source3: "X"; // cursor under
8352             source4: "elm/entry/cursor/default"; // cursorover
8353             source5: "elm/entry/anchor/default"; // anchor under
8354 //          source6: "X"; // anchor over
8355             description { state: "default" 0.0;
8356                fixed: 1 0;
8357                text {
8358                   style: "entry_textblock_style_charwrap";
8359                   min: 0 1;
8360                }
8361             }
8362             description { state: "disabled" 0.0;
8363                inherit: "default" 0.0;
8364                text {
8365                   style: "entry_textblock_disabled_style_charwrap";
8366                   min: 0 1;
8367                }
8368             }
8369          }
8370       }
8371       programs {
8372          program { name: "focus";
8373             signal: "load";
8374             source: "";
8375             action: FOCUS_SET;
8376             target: "elm.text";
8377          }
8378          program { name: "disable";
8379             signal: "elm,state,disabled";
8380             source: "elm";
8381             action: STATE_SET "disabled" 0.0;
8382             target: "elm.text";
8383          }
8384          program { name: "enable";
8385             signal: "elm,state,enabled";
8386             source: "elm";
8387             action: STATE_SET "default" 0.0;
8388             target: "elm.text";
8389          }
8390       }
8391    }
8392
8393    group { name: "elm/entry/base-nowrap/default";
8394       parts {
8395          part { name: "elm.text";
8396             type: TEXTBLOCK;
8397             mouse_events: 1;
8398             scale: 1;
8399             entry_mode: EDITABLE;
8400             select_mode: EXPLICIT;
8401             multiline: 1;
8402             source: "elm/entry/selection/default"; // selection under
8403             source4: "elm/entry/cursor/default"; // cursorover
8404             source5: "elm/entry/anchor/default"; // anchor under
8405             description { state: "default" 0.0;
8406                text {
8407                   style: "entry_textblock_style";
8408                   min: 1 1;
8409                }
8410             }
8411             description { state: "disabled" 0.0;
8412                inherit: "default" 0.0;
8413                text {
8414                   style: "entry_textblock_disabled_style";
8415                   min: 0 1;
8416                }
8417             }
8418          }
8419 /*
8420          part { name: "sel";
8421             type: RECT;
8422             mouse_events: 0;
8423             description { state: "default" 0.0;
8424                align: 1.0 1.0;
8425                max: 16 16;
8426                aspect: 1.0 1.0;
8427                color: 255 0 0 0;
8428             }
8429             description { state: "visible" 0.0;
8430                inherit: "default" 0.0;
8431                color: 255 0 0 50;
8432             }
8433          }
8434  */
8435       }
8436       programs {
8437          program { name: "focus";
8438             signal: "load";
8439             source: "";
8440             action: FOCUS_SET;
8441             target: "elm.text";
8442          }
8443          program { name: "disable";
8444             signal: "elm,state,disabled";
8445             source: "elm";
8446             action: STATE_SET "disabled" 0.0;
8447             target: "elm.text";
8448          }
8449          program { name: "enable";
8450             signal: "elm,state,enabled";
8451             source: "elm";
8452             action: STATE_SET "default" 0.0;
8453             target: "elm.text";
8454          }
8455 /*
8456          program { name: "selmode0";
8457             signal: "elm,state,select,on";
8458             source: "elm";
8459             action: STATE_SET "visible" 0.0;
8460             target: "sel";
8461          }
8462          program { name: "selmode1";
8463             signal: "elm,state,select,off";
8464             source: "elm";
8465             action: STATE_SET "default" 0.0;
8466             target: "sel";
8467          }
8468  */
8469       }
8470    }
8471
8472    group { name: "elm/entry/base-single/default";
8473       styles
8474       {
8475          style { name: "entry_single_textblock_style";
8476             base: "font=Sans font_size=10 color=#000 wrap=none text_class=entry";
8477             tag:  "br" "\n";
8478             tag:  "ps" "ps";
8479             tag:  "tab" "\t";
8480             tag:  "em" "+ font=Sans:style=Oblique";
8481             tag:  "b" "+ font=Sans:style=Bold";
8482             tag:  "link" "+ color=#800 underline=on underline_color=#8008";
8483             tag:  "hilight" "+ font=Sans:style=Bold";
8484          }
8485          style { name: "entry_single_textblock_disabled_style";
8486             base: "font=Sans font_size=10 color=#00000080 wrap=none text_class=entry";
8487             tag:  "br" "\n";
8488             tag:  "ps" "ps";
8489             tag:  "tab" "\t";
8490             tag:  "em" "+ font=Sans:style=Oblique";
8491             tag:  "b" "+ font=Sans:style=Bold";
8492             tag:  "link" "+ color=#00000080 underline=on underline_color=#00000080";
8493             tag:  "hilight" "+ font=Sans:style=Bold";
8494          }
8495       }
8496       parts {
8497          part { name: "elm.text";
8498             type: TEXTBLOCK;
8499             mouse_events: 1;
8500             scale: 1;
8501             entry_mode: EDITABLE;
8502             select_mode: EXPLICIT;
8503             multiline: 0;
8504             source: "elm/entry/selection/default"; // selection under
8505             source4: "elm/entry/cursor/default"; // cursorover
8506             source5: "elm/entry/anchor/default"; // anchor under
8507             description { state: "default" 0.0;
8508                text {
8509                   style: "entry_single_textblock_style";
8510                   min: 1 1;
8511                   max: 0 1;
8512                }
8513             }
8514             description { state: "disabled" 0.0;
8515                inherit: "default" 0.0;
8516                text {
8517                   style: "entry_single_textblock_disabled_style";
8518                }
8519             }
8520          }
8521       }
8522       programs {
8523          program { name: "focus";
8524             signal: "load";
8525             source: "";
8526             action: FOCUS_SET;
8527             target: "elm.text";
8528          }
8529          program { name: "disable";
8530             signal: "elm,state,disabled";
8531             source: "elm";
8532             action: STATE_SET "disabled" 0.0;
8533             target: "elm.text";
8534          }
8535          program { name: "enable";
8536             signal: "elm,state,enabled";
8537             source: "elm";
8538             action: STATE_SET "default" 0.0;
8539             target: "elm.text";
8540          }
8541       }
8542    }
8543
8544    group { name: "elm/entry/base-single-noedit/default";
8545       parts {
8546          part { name: "elm.text";
8547             type: TEXTBLOCK;
8548             mouse_events: 1;
8549             scale: 1;
8550             entry_mode: PLAIN;
8551             select_mode: EXPLICIT;
8552             multiline: 0;
8553             source: "elm/entry/selection/default"; // selection under
8554             source5: "elm/entry/anchor/default"; // anchor under
8555             description { state: "default" 0.0;
8556                text {
8557                   style: "entry_single_textblock_style";
8558                   min: 1 1;
8559                   max: 0 1;
8560                }
8561             }
8562             description { state: "disabled" 0.0;
8563                inherit: "default" 0.0;
8564                text {
8565                style: "entry_single_textblock_disabled_style";
8566                }
8567             }
8568          }
8569       }
8570       programs {
8571          program { name: "focus";
8572             signal: "load";
8573             source: "";
8574             action: FOCUS_SET;
8575             target: "elm.text";
8576          }
8577          program { name: "disable";
8578             signal: "elm,state,disabled";
8579             source: "elm";
8580             action: STATE_SET "disabled" 0.0;
8581             target: "elm.text";
8582          }
8583          program { name: "enable";
8584             signal: "elm,state,enabled";
8585             source: "elm";
8586             action: STATE_SET "default" 0.0;
8587             target: "elm.text";
8588          }
8589       }
8590    }
8591
8592    group { name: "elm/entry/base-noedit/default";
8593       parts {
8594          part { name: "elm.text";
8595             type: TEXTBLOCK;
8596             mouse_events: 1;
8597             scale: 1;
8598             entry_mode: PLAIN;
8599             select_mode: EXPLICIT;
8600             multiline: 1;
8601             source: "elm/entry/selection/default"; // selection under
8602             source5: "elm/entry/anchor/default"; // anchor under
8603             description { state: "default" 0.0;
8604                fixed: 1 0;
8605                text {
8606                   style: "entry_textblock_style";
8607                   min: 0 1;
8608                }
8609             }
8610             description { state: "disabled" 0.0;
8611                inherit: "default" 0.0;
8612                text {
8613                   style: "entry_textblock_disabled_style";
8614                }
8615             }
8616          }
8617       }
8618       programs {
8619          program { name: "focus";
8620             signal: "load";
8621             source: "";
8622             action: FOCUS_SET;
8623             target: "elm.text";
8624          }
8625          program { name: "disable";
8626             signal: "elm,state,disabled";
8627             source: "elm";
8628             action: STATE_SET "disabled" 0.0;
8629             target: "elm.text";
8630          }
8631          program { name: "enable";
8632             signal: "elm,state,enabled";
8633             source: "elm";
8634             action: STATE_SET "default" 0.0;
8635             target: "elm.text";
8636          }
8637       }
8638    }
8639
8640    group { name: "elm/entry/base-noedit-charwrap/default";
8641       parts {
8642          part { name: "elm.text";
8643             type: TEXTBLOCK;
8644             mouse_events: 1;
8645             scale: 1;
8646             entry_mode: PLAIN;
8647             select_mode: EXPLICIT;
8648             multiline: 1;
8649             source: "elm/entry/selection/default"; // selection under
8650             source5: "elm/entry/anchor/default"; // anchor under
8651             description { state: "default" 0.0;
8652                fixed: 1 0;
8653                text {
8654                   style: "entry_textblock_style_charwrap";
8655                   min: 0 1;
8656                }
8657             }
8658             description { state: "disabled" 0.0;
8659                inherit: "default" 0.0;
8660                text {
8661                   style: "entry_textblock_disabled_style_charwrap";
8662                }
8663             }
8664          }
8665       }
8666       programs {
8667          program { name: "focus";
8668             signal: "load";
8669             source: "";
8670             action: FOCUS_SET;
8671             target: "elm.text";
8672          }
8673          program { name: "disable";
8674             signal: "elm,state,disabled";
8675             source: "elm";
8676             action: STATE_SET "disabled" 0.0;
8677             target: "elm.text";
8678          }
8679          program { name: "enable";
8680             signal: "elm,state,enabled";
8681             source: "elm";
8682             action: STATE_SET "default" 0.0;
8683             target: "elm.text";
8684          }
8685       }
8686    }
8687
8688    group { name: "elm/entry/base-nowrap-noedit/default";
8689       parts {
8690          part { name: "elm.text";
8691             type: TEXTBLOCK;
8692             mouse_events: 1;
8693             scale: 1;
8694             entry_mode: PLAIN;
8695             select_mode: EXPLICIT;
8696             multiline: 1;
8697             source: "elm/entry/selection/default"; // selection under
8698             source5: "elm/entry/anchor/default"; // anchor under
8699             description { state: "default" 0.0;
8700                text {
8701                   style: "entry_textblock_style";
8702                   min: 1 1;
8703                }
8704             }
8705             description { state: "disabled" 0.0;
8706                inherit: "default" 0.0;
8707                text {
8708                   style: "entry_textblock_disabled_style";
8709                }
8710             }
8711          }
8712       }
8713       programs {
8714          program { name: "focus";
8715             signal: "load";
8716             source: "";
8717             action: FOCUS_SET;
8718             target: "elm.text";
8719          }
8720          program { name: "disable";
8721             signal: "elm,state,disabled";
8722             source: "elm";
8723             action: STATE_SET "disabled" 0.0;
8724             target: "elm.text";
8725          }
8726          program { name: "enable";
8727             signal: "elm,state,enabled";
8728             source: "elm";
8729             action: STATE_SET "default" 0.0;
8730             target: "elm.text";
8731          }
8732       }
8733    }
8734
8735    group { name: "elm/entry/base-password/default";
8736       parts {
8737          part { name: "elm.text";
8738             type: TEXTBLOCK;
8739             mouse_events: 1;
8740             scale: 1;
8741             entry_mode: PASSWORD;
8742             select_mode: EXPLICIT;
8743             multiline: 0;
8744             source: "elm/entry/selection/default"; // selection under
8745             source4: "elm/entry/cursor/default"; // cursorover
8746             source5: "elm/entry/anchor/default"; // anchor under
8747             description { state: "default" 0.0;
8748                text {
8749                   style: "entry_single_textblock_style";
8750                   repch: "*";
8751                   min: 1 1;
8752                   max: 0 1;
8753                }
8754             }
8755             description { state: "disabled" 0.0;
8756                inherit: "default" 0.0;
8757                text {
8758                   style: "entry_single_textblock_disabled_style";
8759                }
8760             }
8761          }
8762       }
8763       programs {
8764          program { name: "focus";
8765             signal: "load";
8766             source: "";
8767             action: FOCUS_SET;
8768             target: "elm.text";
8769          }
8770          program { name: "disable";
8771             signal: "elm,state,disabled";
8772             source: "elm";
8773             action: STATE_SET "disabled" 0.0;
8774             target: "elm.text";
8775          }
8776          program { name: "enable";
8777             signal: "elm,state,enabled";
8778             source: "elm";
8779             action: STATE_SET "default" 0.0;
8780             target: "elm.text";
8781          }
8782       }
8783    }
8784
8785    group { name: "elm/entry/cursor/default";
8786       images {
8787          image: "cur_box.png" COMP;
8788          image: "cur_hi.png" COMP;
8789          image: "cur_shad.png" COMP;
8790          image: "cur_shine.png" COMP;
8791          image: "cur_glow.png" COMP;
8792       }
8793       parts {
8794          part { name: "clip2";
8795             type: RECT;
8796             mouse_events: 0;
8797             description { state: "default" 0.0;
8798                rel1.to: "clip";
8799                rel2.to: "clip";
8800                visible: 0;
8801             }
8802             description { state: "focused" 0.0;
8803                inherit: "default" 0.0;
8804                visible: 1;
8805             }
8806          }
8807          part { name: "clip";
8808             type: RECT;
8809             mouse_events: 0;
8810             clip_to: "clip2";
8811             description { state: "default" 0.0;
8812                rel1.offset: -10 0;
8813                rel2.offset: 9 9;
8814             }
8815             description { state: "hidden" 0.0;
8816                inherit: "default" 0.0;
8817                visible: 0;
8818             }
8819          }
8820          part { name: "bg";
8821             mouse_events: 0;
8822             clip_to: "clip";
8823             description { state: "default" 0.0;
8824                rel1.to: "base";
8825                rel1.offset: -2 0;
8826                rel2.to: "base";
8827                rel2.offset: 1 1;
8828                image.border: 2 2 2 2;
8829                image.normal: "cur_shad.png";
8830             }
8831          }
8832          part { name: "base";
8833             mouse_events: 0;
8834             scale: 1;
8835             clip_to: "clip";
8836             description { state: "default" 0.0;
8837                min: 2 2;
8838                align: 0.5 1.0;
8839                rel1.relative: 0.0 1.0;
8840                rel1.offset: 0 -1;
8841                rel2.relative: 1.0 1.0;
8842                rel2.offset: -1 -1;
8843                image.normal: "cur_box.png";
8844             }
8845          }
8846          part { name: "hi";
8847             mouse_events: 0;
8848             clip_to: "clip";
8849             description { state: "default" 0.0;
8850                rel1.to: "base";
8851                rel2.to: "base";
8852                rel2.relative: 1.0 0.5;
8853                image.normal: "cur_hi.png";
8854             }
8855          }
8856          part { name: "shine";
8857             mouse_events: 0;
8858             clip_to: "clip";
8859             clip_to: "clip2";
8860             description { state: "default" 0.0;
8861                rel1.to: "base";
8862                rel2.to: "base";
8863                rel2.relative: 1.0 0.75;
8864                image.border: 2 2 1 0;
8865                image.normal: "cur_shine.png";
8866                fill.smooth: 0;
8867             }
8868          }
8869          part { name: "glow";
8870             mouse_events: 0;
8871             clip_to: "clip2";
8872             description { state: "default" 0.0;
8873                rel1.to: "base";
8874                rel1.relative: 0.0 -2.0;
8875                rel1.offset: -2 0;
8876                rel2.to: "base";
8877                rel2.relative: 1.0 0.0;
8878                rel2.offset: 1 1;
8879                image.border: 2 2 0 4;
8880                image.normal: "cur_glow.png";
8881                fill.smooth: 0;
8882             }
8883             description { state: "hidden" 0.0;
8884                inherit: "default" 0.0;
8885                color: 255 255 255 0;
8886             }
8887          }
8888       }
8889       programs {
8890          program { name: "show";
8891             signal: "show";
8892             source: "";
8893             action: STATE_SET "hidden" 0.0;
8894             in: 1.0 0.0;
8895             transition: DECELERATE 2.0;
8896             target: "glow";
8897             after: "show2";
8898          }
8899          program { name: "show2";
8900             action: STATE_SET "hidden" 0.0;
8901             in: 0.2 0.0;
8902             target: "clip";
8903             after: "show3";
8904          }
8905          program { name: "show3";
8906             action: STATE_SET "default" 0.0;
8907             in: 0.5 0.0;
8908             target: "clip";
8909             after: "show4";
8910          }
8911          program { name: "show4";
8912             action: STATE_SET "default" 0.0;
8913             in: 0.5 0.0;
8914             transition: DECELERATE 0.5;
8915             target: "glow";
8916             after: "show";
8917          }
8918          program { name: "focused";
8919             signal: "elm,action,focus";
8920             source: "elm";
8921             action: STATE_SET "focused" 0.0;
8922             target: "clip2";
8923          }
8924          program { name: "unfocused";
8925             signal: "elm,action,unfocus";
8926             source: "elm";
8927             action: STATE_SET "default" 0.0;
8928             target: "clip2";
8929          }
8930       }
8931    }
8932
8933    group { name: "elm/entry/selection/default";
8934       parts {
8935          part { name: "bg";
8936             type: RECT;
8937             mouse_events: 0;
8938             description { state: "default" 0.0;
8939                color: 128 128 128 128;
8940             }
8941          }
8942       }
8943    }
8944
8945    group { name: "elm/entry/anchor/default";
8946       parts {
8947          part { name: "bg";
8948             type: RECT;
8949             mouse_events: 0;
8950             description { state: "default" 0.0;
8951                color: 128 0 0 64;
8952             }
8953          }
8954       }
8955    }
8956
8957 ///////////////////////////////////////////////////////////////////////////////
8958   group { name: "elm/bubble/top_left/default";
8959     alias: "elm/bubble/base/default";
8960     images {
8961       image: "bubble_3.png" COMP;
8962       image: "bubble_shine3.png" COMP;
8963     }
8964     parts {
8965       part { name: "event";
8966          type: RECT;
8967          description {
8968             state: "default" 0.0;
8969             color: 0 0 0 0;
8970          }
8971       }
8972       part { name: "elm.swallow.icon";
8973         type: SWALLOW;
8974         description { state: "default" 0.0;
8975           fixed: 1 1;
8976           visible: 0;
8977           align: 0.0 0.0;
8978           aspect: 1.0 1.0;
8979           aspect_preference: VERTICAL;
8980           rel1 {
8981             relative: 0.0 0.0;
8982             offset: 4 4;
8983           }
8984           rel2 {
8985             to_y: "elm.text";
8986             relative: 0.0 1.0;
8987             offset: 4 -1;
8988           }
8989         }
8990         description { state: "visible" 0.0;
8991           inherit: "default" 0.0;
8992           visible: 1;
8993         }
8994       }
8995       part { name: "elm.text";
8996         type: TEXT;
8997         mouse_events:   0;
8998         scale: 1;
8999         description { state: "default" 0.0;
9000           align: 0.0 0.0;
9001           fixed: 0 1;
9002           visible: 0;
9003           rel1 {
9004             to_x: "elm.swallow.icon";
9005             relative: 1.0 0.0;
9006             offset: 4 4;
9007           }
9008           rel2 {
9009             to_x: "elm.info";
9010             relative: 0.0 0.0;
9011             offset: -5 4;
9012           }
9013         }
9014         description { state: "visible" 0.0;
9015           inherit: "default" 0.0;
9016           visible: 1;
9017           color: 0 0 0 255;
9018           text {
9019             font: "Sans:style=Bold,Edje-Vera-Bold";
9020             size: 10;
9021             min: 0 1;
9022             max: 0 1;
9023             align: 0.0 0.0;
9024           }
9025         } 
9026       }
9027       part { name: "elm.info";
9028         type: TEXT;
9029         mouse_events:   0;
9030         scale: 1;
9031         description { state: "default" 0.0;
9032           align: 1.0 0.0;
9033           fixed: 1 1;
9034           visible: 0;
9035           rel1 {
9036             relative: 1.0 0.0;
9037             offset: -5 4;
9038           }
9039           rel2 {
9040             relative: 1.0 0.0;
9041             offset: -5 4;
9042           }
9043         }
9044         description { state: "visible" 0.0;
9045           inherit: "default" 0.0;
9046           visible: 1;
9047           color: 0 0 0 64;
9048           text {
9049             font: "Sans:style=Bold,Edje-Vera-Bold";
9050             size: 10;
9051             min: 1 1;
9052             max: 1 1;
9053             align: 1.0 0.0;
9054           }
9055         } 
9056       }
9057       part { name: "base0";
9058         mouse_events:  0;
9059         description { state: "default" 0.0;
9060           rel1 {
9061             to_y: "elm.swallow.icon";
9062             relative: 0.0 1.0;
9063             offset: 0 0;
9064           }
9065           image {
9066             normal: "bubble_3.png";
9067             border: 36 11 18 9;
9068           }
9069           image.middle: SOLID;
9070           fill.smooth: 0;
9071         }
9072         description { state: "infobase" 0.0;
9073           inherit: "default" 0.0;
9074           rel1.to_y: "elm.info";
9075         }
9076       }
9077       part { name: "elm.swallow.content";
9078         type: SWALLOW;
9079         description { state: "default" 0.0;
9080           rel1 {
9081             to: "base0";
9082             offset: 9 16;
9083           }
9084           rel2 {
9085             to: "base0";
9086             offset: -10 -9;
9087           }
9088         }
9089       }
9090       part { name: "shine";
9091         mouse_events:  0;
9092         description { state:    "default" 0.0;
9093           rel1 {
9094             to: "base0";
9095             offset: 5 4;
9096           }
9097           rel2 {
9098             to: "base0";
9099             relative: 1.0 0.5;
9100             offset: -6 7;
9101           }
9102           image {
9103             normal: "bubble_shine3.png";
9104             border: 36 5 14 0;
9105           }
9106           fill.smooth: 0;
9107         }
9108       }
9109     }
9110     programs {
9111       program {
9112         name: "icon_show";
9113         signal: "elm,state,icon,visible";
9114         source: "elm";
9115         script {
9116           new st[31];
9117           new Float:vl;
9118           get_state(PART:"base0", st, 30, vl);
9119           if (!strcmp(st, "infobase"))
9120             set_state(PART:"base0", "default", 0.0);
9121           set_state(PART:"elm.swallow.icon", "visible", 0.0);
9122         }
9123       }
9124       program {
9125         name: "icon_hide";
9126         signal: "elm,state,icon,hidden";
9127         source: "elm";
9128         script {
9129           new st[31];
9130           new Float:vl;
9131           get_state(PART:"elm.info", st, 30, vl);
9132           if (!strcmp(st, "visible"))
9133             set_state(PART:"base0", "infobase", 0.0);
9134           set_state(PART:"elm.swallow.icon", "default", 0.0);
9135         }
9136       }
9137       program {
9138         name: "text_show";
9139         signal: "elm,state,text,visible";
9140         source: "elm";
9141         action: STATE_SET "visible" 0.0;
9142         target: "elm.text";
9143       }
9144       program {
9145         name: "text_hide";
9146         signal: "elm,state,text,hidden";
9147         source: "elm";
9148         action: STATE_SET "default" 0.0;
9149         target: "elm.text";
9150       }
9151       program {
9152         name: "info_show";
9153         signal: "elm,state,info,visible";
9154         source: "elm";
9155         script {
9156           new st[31];
9157           new Float:vl;
9158           get_state(PART:"elm.swallow.icon", st, 30, vl);
9159           if (!strcmp(st, "default"))
9160             set_state(PART:"base0", "infobase", 0.0);
9161           set_state(PART:"elm.info", "visible", 0.0);
9162         }
9163       }
9164       program {
9165         name: "info_hide";
9166         signal: "elm,state,info,hidden";
9167         source: "elm";
9168         action: STATE_SET "default" 0.0;
9169         target: "elm.info";
9170         target: "base0";
9171       }
9172     }
9173   }
9174
9175   group { name: "elm/bubble/top_right/default";
9176     images {
9177       image: "bubble_4.png" COMP;
9178       image: "bubble_shine4.png" COMP;
9179     }
9180     parts {
9181       part { name: "event";
9182          type: RECT;
9183          description {
9184             state: "default" 0.0;
9185             color: 0 0 0 0;
9186          }
9187       }
9188       part { name: "elm.swallow.icon";
9189         type: SWALLOW;
9190         description { state: "default" 0.0;
9191           fixed: 1 1;
9192           visible: 0;
9193           align: 1.0 0.0;
9194           aspect: 1.0 1.0;
9195           aspect_preference: VERTICAL;
9196           rel1 {
9197             relative: 1.0 0.0;
9198             offset: -5 4;
9199           }
9200           rel2 {
9201             to_y: "elm.text";
9202             relative: 1.0 1.0;
9203             offset: -5 -1;
9204           }
9205         }
9206         description { state: "visible" 0.0;
9207           inherit: "default" 0.0;
9208           visible: 1;
9209         }
9210       }
9211       part { name: "elm.text";
9212         type: TEXT;
9213         mouse_events:   0;
9214         scale: 1;
9215         description { state: "default" 0.0;
9216           align: 0.0 0.0;
9217           fixed: 0 1;
9218           visible: 0;
9219           rel1 {
9220             relative: 0.0 0.0;
9221             offset: 4 4;
9222           }
9223           rel2 {
9224             to_x: "elm.info";
9225             relative: 0.0 0.0;
9226             offset: -5 4;
9227           }
9228         }
9229         description { state: "visible" 0.0;
9230           inherit: "default" 0.0;
9231           visible: 1;
9232           color: 0 0 0 255;
9233           text {
9234             font: "Sans:style=Bold,Edje-Vera-Bold";
9235             size: 10;
9236             min: 0 1;
9237             max: 0 1;
9238             align: 0.0 0.0;
9239           }
9240         }
9241       }
9242       part { name: "elm.info";
9243         type: TEXT;
9244         mouse_events:   0;
9245         scale: 1;
9246         description { state: "default" 0.0;
9247           align: 1.0 0.0;
9248           fixed: 1 1;
9249           visible: 0;
9250           rel1 {
9251             relative: 1.0 0.0;
9252             offset: -5 4;
9253           }
9254           rel2 {
9255             to_x: "elm.swallow.icon";
9256             relative: 0.0 0.0;
9257             offset: -5 4;
9258           }
9259         }
9260         description { state: "visible" 0.0;
9261           inherit: "default" 0.0;
9262           visible: 1;
9263           color: 0 0 0 64;
9264           text {
9265             font: "Sans:style=Bold,Edje-Vera-Bold";
9266             size: 10;
9267             min: 1 1;
9268             max: 1 1;
9269             align: 1.0 0.0;
9270           }
9271         }
9272       }
9273       part { name: "base0";
9274         mouse_events:  0;
9275         description { state: "default" 0.0;
9276           rel1 {
9277             to_y: "elm.swallow.icon";
9278             relative: 0.0 1.0;
9279             offset: 0 0;
9280           }
9281           image {
9282             normal: "bubble_4.png";
9283             border: 11 36 18 9;
9284           }
9285           image.middle: SOLID;
9286           fill.smooth: 0;
9287         }
9288         description { state: "infobase" 0.0;
9289           inherit: "default" 0.0;
9290           rel1.to_y: "elm.info";
9291         }
9292       }
9293       part { name: "elm.swallow.content";
9294         type: SWALLOW;
9295         description { state: "default" 0.0;
9296           rel1 {
9297             to: "base0";
9298             offset: 9 16;
9299           }
9300           rel2 {
9301             to: "base0";
9302             offset: -10 -9;
9303           }
9304         }
9305       }
9306       part { name: "shine";
9307         mouse_events:  0;
9308         description { state:    "default" 0.0;
9309           rel1 {
9310             to: "base0";
9311             offset: 5 4;
9312           }
9313           rel2 {
9314             to: "base0";
9315             relative: 1.0 0.5;
9316             offset: -6 7;
9317           }
9318           image {
9319             normal: "bubble_shine4.png";
9320             border: 5 36 14 0;
9321           }
9322           fill.smooth: 0;
9323         }
9324       }
9325     }
9326     programs {
9327       program {
9328         name: "icon_show";
9329         signal: "elm,state,icon,visible";
9330         source: "elm";
9331         script {
9332           new st[31];
9333           new Float:vl;
9334           get_state(PART:"base0", st, 30, vl);
9335           if (!strcmp(st, "infobase"))
9336             set_state(PART:"base0", "default", 0.0);
9337           set_state(PART:"elm.swallow.icon", "visible", 0.0);
9338         }
9339       }
9340       program {
9341         name: "icon_hide";
9342         signal: "elm,state,icon,hidden";
9343         source: "elm";
9344         script {
9345           new st[31];
9346           new Float:vl;
9347           get_state(PART:"elm.info", st, 30, vl);
9348           if (!strcmp(st, "visible"))
9349             set_state(PART:"base0", "infobase", 0.0);
9350           set_state(PART:"elm.swallow.icon", "default", 0.0);
9351         }
9352       }
9353       program {
9354         name: "text_show";
9355         signal: "elm,state,text,visible";
9356         source: "elm";
9357         action: STATE_SET "visible" 0.0;
9358         target: "elm.text";
9359       }
9360       program {
9361         name: "text_hide";
9362         signal: "elm,state,text,hidden";
9363         source: "elm";
9364         action: STATE_SET "default" 0.0;
9365         target: "elm.text";
9366       }
9367       program {
9368         name: "info_show";
9369         signal: "elm,state,info,visible";
9370         source: "elm";
9371         script {
9372           new st[31];
9373           new Float:vl;
9374           get_state(PART:"elm.swallow.icon", st, 30, vl);
9375           if (!strcmp(st, "default"))
9376             set_state(PART:"base0", "infobase", 0.0);
9377           set_state(PART:"elm.info", "visible", 0.0);
9378         }
9379       }
9380       program {
9381         name: "info_hide";
9382         signal: "elm,state,info,hidden";
9383         source: "elm";
9384         action: STATE_SET "default" 0.0;
9385         target: "elm.info";
9386         target: "base0";
9387       }
9388     }
9389   }
9390
9391   group { name: "elm/bubble/bottom_left/default";
9392     images {
9393       image: "bubble_1.png" COMP;
9394       image: "bubble_shine.png" COMP;
9395     }
9396     parts {
9397       part { name: "event";
9398          type: RECT;
9399          description {
9400             state: "default" 0.0;
9401             color: 0 0 0 0;
9402          }
9403       }
9404       part { name: "elm.swallow.icon";
9405         type: SWALLOW;
9406         description { state: "default" 0.0;
9407           fixed: 1 1;
9408           visible: 0;
9409           align: 0.0 1.0;
9410           aspect: 1.0 1.0;
9411           aspect_preference: VERTICAL;
9412           rel1 {
9413             to_y: "elm.text";
9414             relative: 0.0 0.0;
9415             offset: 4 0;
9416           }
9417           rel2 {
9418             relative: 0.0 1.0;
9419             offset: 4 -5;
9420           }
9421         }
9422         description { state: "visible" 0.0;
9423           inherit: "default" 0.0;
9424           visible: 1;
9425         }
9426       }
9427       part { name: "elm.text";
9428         type: TEXT;
9429         mouse_events:   0;
9430         scale: 1;
9431         description { state: "default" 0.0;
9432           align: 0.0 1.0;
9433           fixed: 0 1;
9434           visible: 0;
9435           rel1 {
9436             to_x: "elm.swallow.icon";
9437             relative: 1.0 1.0;
9438             offset: 4 -5;
9439           }
9440           rel2 {
9441             to_x: "elm.info";
9442             relative: 0.0 1.0;
9443             offset: -5 -5;
9444           }
9445         }
9446         description { state: "visible" 0.0;
9447           inherit: "default" 0.0;
9448           visible: 1;
9449           color: 0 0 0 255;
9450           text {
9451             font: "Sans:style=Bold,Edje-Vera-Bold";
9452             size: 10;
9453             min: 0 1;
9454             max: 0 1;
9455             align: 0.0 1.0;
9456           }
9457         }
9458       }
9459       part { name: "elm.info";
9460         type: TEXT;
9461         mouse_events:   0;
9462         scale: 1;
9463         description { state: "default" 0.0;
9464           align: 1.0 1.0;
9465           fixed: 1 1;
9466           visible: 0;
9467           rel1 {
9468             relative: 1.0 1.0;
9469             offset: -5 -5;
9470           }
9471           rel2 {
9472             relative: 1.0 1.0;
9473             offset: -5 -5;
9474           }
9475         }
9476         description { state: "visible" 0.0;
9477           inherit: "default" 0.0;
9478           visible: 1;
9479           color: 0 0 0 64;
9480           text {
9481             font: "Sans:style=Bold,Edje-Vera-Bold";
9482             size: 10;
9483             min: 1 1;
9484             max: 1 1;
9485             align: 1.0 1.0;
9486           }
9487         }
9488       }
9489       part { name: "base0";
9490         mouse_events:  0;
9491         description { state: "default" 0.0;
9492           rel2 {
9493             to_y: "elm.swallow.icon";
9494             relative: 1.0 0.0;
9495             offset: -1 -1;
9496           }
9497           image {
9498             normal: "bubble_1.png";
9499             border: 36 11 10 19;
9500           }
9501           image.middle: SOLID;
9502           fill.smooth: 0;
9503         }
9504         description { state: "infobase" 0.0;
9505           inherit: "default" 0.0;
9506           rel2.to_y: "elm.info";
9507         }
9508       }
9509       part { name: "elm.swallow.content";
9510         type: SWALLOW;
9511         description { state: "default" 0.0;
9512           rel1 {
9513             to: "base0";
9514             offset: 9 8;
9515           }
9516           rel2 {
9517             to: "base0";
9518             offset: -10 -17;
9519           }
9520         }
9521       }
9522       part { name: "shine";
9523         mouse_events:  0;
9524         description { state:    "default" 0.0;
9525           rel1 {
9526             to: "base0";
9527             offset: 5 4;
9528           }
9529           rel2 {
9530             to: "base0";
9531             relative: 1.0 0.5;
9532             offset: -6 -16;
9533           }
9534           image {
9535             normal: "bubble_shine.png";
9536             border: 5 5 5 0;
9537           }
9538           fill.smooth: 0;
9539         }
9540       }
9541     }
9542     programs {
9543       program {
9544         name: "icon_show";
9545         signal: "elm,state,icon,visible";
9546         source: "elm";
9547         script {
9548           new st[31];
9549           new Float:vl;
9550           get_state(PART:"base0", st, 30, vl);
9551           if (!strcmp(st, "infobase"))
9552             set_state(PART:"base0", "default", 0.0);
9553           set_state(PART:"elm.swallow.icon", "visible", 0.0);
9554         }
9555       }
9556       program {
9557         name: "icon_hide";
9558         signal: "elm,state,icon,hidden";
9559         source: "elm";
9560         script {
9561           new st[31];
9562           new Float:vl;
9563           get_state(PART:"elm.info", st, 30, vl);
9564           if (!strcmp(st, "visible"))
9565             set_state(PART:"base0", "infobase", 0.0);
9566           set_state(PART:"elm.swallow.icon", "default", 0.0);
9567         }
9568       }
9569       program {
9570         name: "text_show";
9571         signal: "elm,state,text,visible";
9572         source: "elm";
9573         action: STATE_SET "visible" 0.0;
9574         target: "elm.text";
9575       }
9576       program {
9577         name: "text_hide";
9578         signal: "elm,state,text,hidden";
9579         source: "elm";
9580         action: STATE_SET "default" 0.0;
9581         target: "elm.text";
9582       }
9583       program {
9584         name: "info_show";
9585         signal: "elm,state,info,visible";
9586         source: "elm";
9587         script {
9588           new st[31];
9589           new Float:vl;
9590           get_state(PART:"elm.swallow.icon", st, 30, vl);
9591           if (!strcmp(st, "default"))
9592             set_state(PART:"base0", "infobase", 0.0);
9593           set_state(PART:"elm.info", "visible", 0.0);
9594         }
9595       }
9596       program {
9597         name: "info_hide";
9598         signal: "elm,state,info,hidden";
9599         source: "elm";
9600         action: STATE_SET "default" 0.0;
9601         target: "elm.info";
9602         target: "base0";
9603       }
9604     }
9605   }
9606
9607   group { name: "elm/bubble/bottom_right/default";
9608     images {
9609       image: "bubble_2.png" COMP;
9610       image: "bubble_shine.png" COMP;
9611     }
9612     parts {
9613       part { name: "event";
9614          type: RECT;
9615          description {
9616             state: "default" 0.0;
9617             color: 0 0 0 0;
9618          }
9619       }
9620       part { name: "elm.swallow.icon";
9621         type: SWALLOW;
9622         description { state: "default" 0.0;
9623           fixed: 1 1;
9624           visible: 0.0;
9625           align: 1.0 1.0;
9626           aspect: 1.0 1.0;
9627           aspect_preference: VERTICAL;
9628           rel1 {
9629             to_y: "elm.text";
9630             relative: 1.0 0.0;
9631             offset: -5 0;
9632           }
9633           rel2 {
9634             relative: 1.0 1.0;
9635             offset: -5 -5;
9636           }
9637         }
9638         description { state: "visible" 0.0;
9639           inherit: "default" 0.0;
9640           visible: 1;
9641         }
9642       }
9643       part { name: "elm.text";
9644         type: TEXT;
9645         mouse_events:   0;
9646         scale: 1;
9647         description { state: "default" 0.0;
9648           align: 0.0 1.0;
9649           fixed: 0 1;
9650           visible: 0;
9651           rel1 {
9652             relative: 0.0 1.0;
9653             offset: 4 -5;
9654           }
9655           rel2 {
9656             to_x: "elm.info";
9657             relative: 0.0 1.0;
9658             offset: -5 -5;
9659           }
9660         }
9661         description { state: "visible" 0.0;
9662           inherit: "default" 0.0;
9663           visible: 1;
9664           color: 0 0 0 255;
9665           text {
9666             font: "Sans:style=Bold,Edje-Vera-Bold";
9667             size: 10;
9668             min: 0 1;
9669             max: 0 1;
9670             align: 0.0 1.0;
9671           }
9672         }
9673       }
9674       part { name: "elm.info";
9675         type: TEXT;
9676         mouse_events:   0;
9677         scale: 1;
9678         description { state: "default" 0.0;
9679           align: 1.0 1.0;
9680           fixed: 1 1;
9681           visible: 0;
9682           rel1 {
9683             relative: 1.0 1.0;
9684             offset: -5 -5;
9685           }
9686           rel2 {
9687             to_x: "elm.swallow.icon";
9688             relative: 0.0 1.0;
9689             offset: -5 -5;
9690           }
9691         }
9692         description { state: "visible" 0.0;
9693           inherit: "default" 0.0;
9694           visible: 1;
9695           color: 0 0 0 64;
9696           text {
9697             font: "Sans:style=Bold,Edje-Vera-Bold";
9698             size: 10;
9699             min: 1 1;
9700             max: 1 1;
9701             align: 1.0 1.0;
9702           }
9703         }
9704       }
9705       part { name: "base0";
9706         mouse_events:  0;
9707         description { state: "default" 0.0;
9708           rel2 {
9709             to_y: "elm.swallow.icon";
9710             relative: 1.0 0.0;
9711             offset: -1 -1;
9712           }
9713           image {
9714             normal: "bubble_2.png";
9715             border: 11 36 10 19;
9716           }
9717           image.middle: SOLID;
9718           fill.smooth: 0;
9719         }
9720         description { state: "infobase" 0.0;
9721           inherit: "default" 0.0;
9722           rel2.to_y: "elm.info";
9723         }
9724       }
9725       part { name: "elm.swallow.content";
9726         type: SWALLOW;
9727         description { state: "default" 0.0;
9728           rel1 {
9729             to: "base0";
9730             offset: 9 8;
9731           }
9732           rel2 {
9733             to: "base0";
9734             offset: -10 -17;
9735           }
9736         }
9737       }
9738       part { name: "shine";
9739         mouse_events:  0;
9740         description { state:    "default" 0.0;
9741           rel1 {
9742             to: "base0";
9743             offset: 5 4;
9744           }
9745           rel2 {
9746             to: "base0";
9747             relative: 1.0 0.5;
9748             offset: -6 -16;
9749           }
9750           image {
9751             normal: "bubble_shine.png";
9752             border: 5 5 5 0;
9753           }
9754           fill.smooth: 0;
9755         }
9756       }
9757     }
9758     programs {
9759       program {
9760         name: "icon_show";
9761         signal: "elm,state,icon,visible";
9762         source: "elm";
9763         script {
9764           new st[31];
9765           new Float:vl;
9766           get_state(PART:"base0", st, 30, vl);
9767           if (!strcmp(st, "infobase"))
9768             set_state(PART:"base0", "default", 0.0);
9769           set_state(PART:"elm.swallow.icon", "visible", 0.0);
9770         }
9771       }
9772       program {
9773         name: "icon_hide";
9774         signal: "elm,state,icon,hidden";
9775         source: "elm";
9776         script {
9777           new st[31];
9778           new Float:vl;
9779           get_state(PART:"elm.info", st, 30, vl);
9780           if (!strcmp(st, "visible"))
9781             set_state(PART:"base0", "infobase", 0.0);
9782           set_state(PART:"elm.swallow.icon", "default", 0.0);
9783         }
9784       }
9785       program {
9786         name: "text_show";
9787         signal: "elm,state,text,visible";
9788         source: "elm";
9789         action: STATE_SET "visible" 0.0;
9790         target: "elm.text";
9791       }
9792       program {
9793         name: "text_hide";
9794         signal: "elm,state,text,hidden";
9795         source: "elm";
9796         action: STATE_SET "default" 0.0;
9797         target: "elm.text";
9798       }
9799       program {
9800         name: "info_show";
9801         signal: "elm,state,info,visible";
9802         source: "elm";
9803         script {
9804           new st[31];
9805           new Float:vl;
9806           get_state(PART:"elm.swallow.icon", st, 30, vl);
9807           if (!strcmp(st, "default"))
9808             set_state(PART:"base0", "infobase", 0.0);
9809           set_state(PART:"elm.info", "visible", 0.0);
9810         }
9811       }
9812       program {
9813         name: "info_hide";
9814         signal: "elm,state,info,hidden";
9815         source: "elm";
9816         action: STATE_SET "default" 0.0;
9817         target: "elm.info";
9818         target: "base0";
9819       }
9820     }
9821   }
9822
9823 ///////////////////////////////////////////////////////////////////////////////
9824    group { name: "elm/photo/base/default";
9825       images {
9826          image: "frame_1.png" COMP;
9827          image: "frame_2.png" COMP;
9828          image: "dia_grad.png" COMP;
9829          image: "head.png" COMP;
9830       }
9831       parts {
9832          part { name: "base0";
9833             mouse_events:  0;
9834             description { state: "default" 0.0;
9835                image.normal: "dia_grad.png";
9836                rel1.to: "over";
9837                rel2.to: "over";
9838                fill {
9839                   smooth: 0;
9840                   size {
9841                      relative: 0.0 1.0;
9842                      offset: 64 0;
9843                   }
9844                }
9845             }
9846          }
9847          part { name: "base";
9848             mouse_events:  0;
9849             description { state:    "default" 0.0;
9850                image {
9851                   normal: "frame_2.png";
9852                   border: 5 5 32 26;
9853                   middle: 0;
9854                }
9855                fill.smooth : 0;
9856             }
9857          }
9858          part { name: "head";
9859             mouse_events:  0;
9860             description { state:    "default" 0.0;
9861                rel1.offset: 4 4;
9862                rel2.offset: -5 -5;
9863                aspect: 1.0 1.0;
9864                aspect_preference: BOTH;
9865                image.normal: "head.png";
9866             }
9867          }
9868          part { name: "clip";
9869             mouse_events:  0;
9870             type: RECT;
9871             description { state:    "default" 0.0;
9872                rel1.offset: 4 4;
9873                rel2.offset: -5 -5;
9874                color: 255 255 255 255;
9875             }
9876          }
9877          part { name: "elm.swallow.content";
9878             type: SWALLOW;
9879             clip_to: "clip";
9880             description { state: "default" 0.0;
9881                rel1.offset: 4 4;
9882                rel2.offset: -5 -5;
9883             }
9884          }
9885          part { name: "over";
9886             mouse_events:  0;
9887             description { state:    "default" 0.0;
9888                rel1.offset: 4 4;
9889                rel2.offset: -5 -5;
9890                image {
9891                   normal: "frame_1.png";
9892                   border: 2 2 28 22;
9893                   middle: 0;
9894                }
9895                fill.smooth: 0;
9896             }
9897          }
9898      }
9899    }
9900    
9901    group { name: "elm/photo/base/shadow";
9902         images {
9903                         image: "shadow.png" COMP;
9904                         image: "black.png" COMP;
9905         }
9906         script {
9907         public message(Msg_Type:type, id, ...) {
9908                 if( (type==MSG_INT_SET) && (id==0) )
9909                 {
9910                 new w;
9911                 new h;
9912            
9913                 custom_state(PART:"size", "default", 0.0);
9914
9915                 w = getarg(2);
9916                 h = getarg(3);
9917                 set_state_val(PART:"size", STATE_REL1_OFFSET, - w/2, - h/2);
9918                 set_state_val(PART:"size", STATE_REL2_OFFSET, w/2 + 1, h/2 + 1);
9919                 set_state(PART:"size", "custom", 0.0);
9920                 }
9921         }
9922         }
9923         parts {
9924         part { name: "size";
9925                 type: SWALLOW;
9926                 description { state: "default" 0.0;
9927                         rel1.relative: 0.5 0.5;
9928                         rel2.relative: 0.5 0.5;
9929                 }
9930                 }
9931         part {
9932                 name: "shadow";
9933                 type: IMAGE;
9934                 repeat_events: 1;
9935                 description {
9936                 state: "default" 0.0;
9937                 rel1.to: "size";
9938                 rel2.to: "size";
9939                 rel1.relative: -0.06 -0.06;
9940                 rel2.relative: 1.07 1.07;
9941                 image.normal: "shadow.png";
9942                 }
9943         }
9944         
9945         
9946                 part { name: "elm.swallow.content";
9947                 type: SWALLOW;
9948                 description { state: "default" 0.0;
9949                 rel1.offset: 3 3;
9950                 rel2.offset: -3 -3;
9951                         fixed: 1 1;
9952                 }
9953                 }
9954                 
9955                 part {
9956                 name: "border";
9957                 type: IMAGE;
9958                 repeat_events: 1;
9959                 description {
9960                 state: "default" 0.0;
9961                 visible: 1;
9962                 color: 0 0 0 255;
9963                 rel1.to: "size";
9964                 rel2.to: "size";
9965                 image.normal: "black.png";
9966                 image.border: 1 1 1 1;
9967                 image.middle: 0;
9968                 }
9969         }
9970                 }
9971    }
9972
9973 ///////////////////////////////////////////////////////////////////////////////
9974    group { name: "elm/thumb/base/default";
9975       images {
9976          image: "frame_1.png" COMP;
9977          image: "frame_2.png" COMP;
9978          image: "dia_grad.png" COMP;
9979          image: "busy-1.png" COMP;
9980          image: "busy-2.png" COMP;
9981          image: "busy-3.png" COMP;
9982          image: "busy-4.png" COMP;
9983          image: "busy-5.png" COMP;
9984          image: "busy-6.png" COMP;
9985          image: "busy-7.png" COMP;
9986          image: "busy-8.png" COMP;
9987          image: "busy-9.png" COMP;
9988       }
9989       parts {
9990          part { name: "base0";
9991             mouse_events:  0;
9992             description { state:        "default" 0.0;
9993                image.normal: "dia_grad.png";
9994                rel1.to: "over";
9995                rel2.to: "over";
9996                fill {
9997                   smooth: 0;
9998                   size {
9999                      relative: 0.0 1.0;
10000                      offset: 64 0;
10001                   }
10002                }
10003             }
10004          }
10005          part { name: "base";
10006             mouse_events:  0;
10007             description { state:        "default" 0.0;
10008                image {
10009                   normal: "frame_2.png";
10010                   border: 5 5 32 26;
10011                   middle: 0;
10012                }
10013                fill.smooth : 0;
10014             }
10015          }
10016          part { name: "clip";
10017             mouse_events:  0;
10018             type: RECT;
10019             description { state:        "default" 0.0;
10020                rel1.offset: 4 4;
10021                rel2.offset: -5 -5;
10022                color: 255 255 255 255;
10023             }
10024          }
10025          part { name: "elm.swallow.content";
10026             type: SWALLOW;
10027             clip_to: "clip";
10028             description { state:        "default" 0.0;
10029                rel1.offset: 4 4;
10030                rel2.offset: -5 -5;
10031             }
10032          }
10033          part { name: "progress";
10034             mouse_events: 0;
10035
10036             clip_to: "clip";
10037             description { state:        "default" 0.0;
10038                min: 32 32;
10039                max: 32 32;
10040                visible: 0;
10041                aspect: 1.0 1.0;
10042                aspect_preference: BOTH;
10043             }
10044             description { state:        "pulse" 0.0;
10045                inherit: "default" 0.0;
10046                visible: 1;
10047                image {
10048                   normal: "busy-9.png";
10049                   tween:  "busy-1.png";
10050                   tween:  "busy-2.png";
10051                   tween:  "busy-3.png";
10052                   tween:  "busy-4.png";
10053                   tween:  "busy-5.png";
10054                   tween:  "busy-6.png";
10055                   tween:  "busy-7.png";
10056                   tween:  "busy-8.png";
10057                   border: 7 7 7 7;
10058                }
10059             }
10060          }
10061          part { name: "over";
10062             mouse_events:  0;
10063             description { state:        "default" 0.0;
10064                rel1.offset: 4 4;
10065                rel2.offset: -5 -5;
10066                image {
10067                   normal: "frame_1.png";
10068                   border: 2 2 28 22;
10069                   middle: 0;
10070                }
10071                fill.smooth: 0;
10072             }
10073          }
10074          programs {
10075             program { name: "start_pulse";
10076                signal: "elm,state,pulse,start";
10077                source: "elm";
10078                action: STATE_SET "pulse" 0.0;
10079                target: "progress";
10080                transition: LINEAR 0.5;
10081                after: "start_pulse";
10082             }
10083             program { name: "stop_pulse";
10084                signal: "elm,state,pulse,stop";
10085                source: "elm";
10086                action: STATE_SET "default" 0.0;
10087                target: "progress";
10088             }
10089          }
10090       }
10091    }
10092
10093    group { name: "elm/thumb/base/noframe";
10094       images {
10095          image: "busy-1.png" COMP;
10096          image: "busy-2.png" COMP;
10097          image: "busy-3.png" COMP;
10098          image: "busy-4.png" COMP;
10099          image: "busy-5.png" COMP;
10100          image: "busy-6.png" COMP;
10101          image: "busy-7.png" COMP;
10102          image: "busy-8.png" COMP;
10103          image: "busy-9.png" COMP;
10104       }
10105       parts {
10106          part { name: "elm.swallow.content";
10107             type: SWALLOW;
10108             description { state: "default" 0.0;
10109                rel1.offset: 4 4;
10110                rel2.offset: -5 -5;
10111             }
10112          }
10113          part { name: "progress";
10114             mouse_events: 0;
10115             description { state:        "default" 0.0;
10116                min: 32 32;
10117                max: 32 32;
10118                visible: 0;
10119                aspect: 1.0 1.0;
10120                aspect_preference: BOTH;
10121             }
10122             description { state:        "pulse" 0.0;
10123                inherit: "default" 0.0;
10124                visible: 1;
10125                image {
10126                   normal: "busy-9.png";
10127                   tween:  "busy-1.png";
10128                   tween:  "busy-2.png";
10129                   tween:  "busy-3.png";
10130                   tween:  "busy-4.png";
10131                   tween:  "busy-5.png";
10132                   tween:  "busy-6.png";
10133                   tween:  "busy-7.png";
10134                   tween:  "busy-8.png";
10135                   border: 7 7 7 7;
10136                }
10137             }
10138          }
10139          programs {
10140             program { name: "start_pulse";
10141                signal: "elm,state,pulse,start";
10142                source: "elm";
10143                action: STATE_SET "pulse" 0.0;
10144                target: "progress";
10145                transition: LINEAR 0.5;
10146                after: "start_pulse";
10147             }
10148             program { name: "stop_pulse";
10149                signal: "elm,state,pulse,stop";
10150                source: "elm";
10151                action: STATE_SET "default" 0.0;
10152                target: "progress";
10153             }
10154          }
10155       }
10156    }
10157
10158
10159 ///////////////////////////////////////////////////////////////////////////////
10160    group { name: "elm/icon/home/default"; alias: "elm/icon/toolbar/home/default"; min: 32 32;
10161       images.image: "icon_home.png" COMP; parts { part { name: "base";
10162          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10163             image.normal: "icon_home.png"; } } } }
10164    group { name: "elm/icon/close/default"; alias: "elm/icon/toolbar/close/default"; min: 32 32;
10165       images.image: "icon_close.png" COMP; parts { part { name: "base";
10166          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10167             image.normal: "icon_close.png"; } } } }
10168    group { name: "elm/icon/apps/default"; alias: "elm/icon/toolbar/apps/default"; min: 32 32;
10169       images.image: "icon_apps.png" COMP; parts { part { name: "base";
10170          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10171             image.normal: "icon_apps.png"; } } } }
10172    group { name: "elm/icon/arrow_up/default"; alias: "elm/icon/toolbar/arrow_up/default"; min: 32 32;
10173       images.image: "icon_arrow_up.png" COMP; parts { part { name: "base";
10174          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10175             image.normal: "icon_arrow_up.png"; } } } }
10176    group { name: "elm/icon/arrow_down/default";
10177            alias: "elm/icon/toolbar/arrow_down/default";
10178            alias: "elm/icon/toolbar/more_menu/default"; min: 32 32;
10179       images.image: "icon_arrow_down.png" COMP; parts { part { name: "base";
10180          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10181             image.normal: "icon_arrow_down.png"; } } } }
10182    group { name: "elm/icon/arrow_left/default"; alias: "elm/icon/toolbar/arrow_left/default"; min: 32 32;
10183       images.image: "icon_arrow_left.png" COMP; parts { part { name: "base";
10184          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10185             image.normal: "icon_arrow_left.png"; } } } }
10186    group { name: "elm/icon/arrow_right/default"; alias: "elm/icon/toolbar/arrow_right/default"; min: 32 32;
10187       images.image: "icon_arrow_right.png" COMP; parts { part { name: "base";
10188          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10189             image.normal: "icon_arrow_right.png"; } } } }
10190    group { name: "elm/icon/chat/default"; alias: "elm/icon/toolbar/chat/default"; min: 32 32;
10191       images.image: "icon_chat.png" COMP; parts { part { name: "base";
10192          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10193             image.normal: "icon_chat.png"; } } } }
10194    group { name: "elm/icon/clock/default"; alias: "elm/icon/toolbar/clock/default"; min: 32 32;
10195       images.image: "icon_clock.png" COMP; parts { part { name: "base";
10196          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10197             image.normal: "icon_clock.png"; } } } }
10198    group { name: "elm/icon/delete/default"; alias: "elm/icon/toolbar/delete/default"; min: 32 32;
10199       images.image: "icon_delete.png" COMP; parts { part { name: "base";
10200          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10201             image.normal: "icon_delete.png"; } } } }
10202    group { name: "elm/icon/edit/default"; alias: "elm/icon/toolbar/edit/default"; min: 32 32;
10203       images.image: "icon_edit.png" COMP; parts { part { name: "base";
10204          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10205             image.normal: "icon_edit.png"; } } } }
10206    group { name: "elm/icon/refresh/default"; alias: "elm/icon/toolbar/refresh/default"; min: 32 32;
10207       images.image: "icon_refresh.png" COMP; parts { part { name: "base";
10208          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10209             image.normal: "icon_refresh.png"; } } } }
10210    group { name: "elm/icon/folder/default"; alias: "elm/icon/toolbar/folder/default"; min: 32 32;
10211       images.image: "icon_folder.png" COMP; parts { part { name: "base";
10212          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10213             image.normal: "icon_folder.png"; } } } }
10214    group { name: "elm/icon/file/default"; alias: "elm/icon/toolbar/file/default"; min: 32 32;
10215       images.image: "icon_file.png" COMP; parts { part { name: "base";
10216          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10217             image.normal: "icon_file.png"; } } } }
10218 ///////////////////////////////////////////////////////////////////////////////
10219    group { name: "elm/icon/menu/home/default"; min: 24 24; max: 24 24;
10220       images.image: "icon_home.png" COMP; parts { part { name: "base";
10221          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10222             image.normal: "icon_home.png"; } } } }
10223    group { name: "elm/icon/menu/close/default"; min: 24 24; max: 24 24;
10224       images.image: "icon_close.png" COMP; parts { part { name: "base";
10225          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10226             image.normal: "icon_close.png"; } } } }
10227    group { name: "elm/icon/menu/apps/default"; min: 24 24; max: 24 24;
10228       images.image: "icon_apps.png" COMP; parts { part { name: "base";
10229          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10230             image.normal: "icon_apps.png"; } } } }
10231    group { name: "elm/icon/menu/arrow_up/default"; min: 24 24; max: 24 24;
10232       images.image: "icon_arrow_up.png" COMP; parts { part { name: "base";
10233          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10234             image.normal: "icon_arrow_up.png"; } } } }
10235    group { name: "elm/icon/menu/arrow_down/default"; min: 24 24; max: 24 24;
10236       images.image: "icon_arrow_down.png" COMP; parts { part { name: "base";
10237          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10238             image.normal: "icon_arrow_down.png"; } } } }
10239    group { name: "elm/icon/menu/arrow_left/default"; min: 24 24; max: 24 24;
10240       images.image: "icon_arrow_left.png" COMP; parts { part { name: "base";
10241          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10242             image.normal: "icon_arrow_left.png"; } } } }
10243    group { name: "elm/icon/menu/arrow_right/default"; min: 24 24; max: 24 24;
10244       images.image: "icon_arrow_right.png" COMP; parts { part { name: "base";
10245          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10246             image.normal: "icon_arrow_right.png"; } } } }
10247    group { name: "elm/icon/menu/chat/default"; min: 24 24; max: 24 24;
10248       images.image: "icon_chat.png" COMP; parts { part { name: "base";
10249          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10250             image.normal: "icon_chat.png"; } } } }
10251    group { name: "elm/icon/menu/clock/default"; min: 24 24; max: 24 24;
10252       images.image: "icon_clock.png" COMP; parts { part { name: "base";
10253          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10254             image.normal: "icon_clock.png"; } } } }
10255    group { name: "elm/icon/menu/delete/default"; min: 24 24; max: 24 24;
10256       images.image: "icon_delete.png" COMP; parts { part { name: "base";
10257          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10258             image.normal: "icon_delete.png"; } } } }
10259    group { name: "elm/icon/menu/edit/default"; min: 24 24; max: 24 24;
10260       images.image: "icon_edit.png" COMP; parts { part { name: "base";
10261          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10262             image.normal: "icon_edit.png"; } } } }
10263    group { name: "elm/icon/menu/refresh/default"; min: 24 24; max: 24 24;
10264       images.image: "icon_refresh.png" COMP; parts { part { name: "base";
10265          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10266             image.normal: "icon_refresh.png"; } } } }
10267    group { name: "elm/icon/menu/folder/default"; min: 24 24; max: 24 24;
10268       images.image: "icon_folder.png" COMP; parts { part { name: "base";
10269          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10270             image.normal: "icon_folder.png"; } } } }
10271    group { name: "elm/icon/menu/file/default"; min: 24 24; max: 24 24;
10272       images.image: "icon_file.png" COMP; parts { part { name: "base";
10273          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10274             image.normal: "icon_file.png"; } } } }
10275
10276 ///////////////////////////////////////////////////////////////////////////////
10277    group { name: "elm/toolbar/base/default";
10278       images {
10279          image: "bt_dis_base.png" COMP;
10280          image: "bt_dis_hilight.png" COMP;
10281          image: "bt_dis_shine.png" COMP;
10282          image: "icon_left_arrow.png" COMP;
10283          image: "icon_right_arrow.png" COMP;
10284       }
10285       parts {
10286          part { name: "base";
10287             mouse_events: 1;
10288             description { state: "default" 0.0;
10289                rel1 {
10290                   relative: 0.0 0.0;
10291                   offset: 2 2;
10292                }
10293                rel2.offset: -3 -3;
10294                image {
10295                   normal: "bt_dis_base.png";
10296                   border: 4 4 4 4;
10297                }
10298                image.middle: SOLID;
10299             }
10300          }
10301          part { name: "clipper";
10302             type: RECT;
10303             mouse_events: 0;
10304             description {
10305                state: "default" 0.0;
10306                rel1 {
10307                   to: "base";
10308                   offset: 2 2;
10309                }
10310                rel2 {
10311                   to: "base";
10312                   offset: -3 -3;
10313                }
10314             }
10315          }
10316          part { name: "elm.swallow.content";
10317             clip_to: "clipper";
10318             type: SWALLOW;
10319             description {
10320                state: "default" 0.0;
10321                rel1.to: "clipper";
10322                rel2.to: "clipper";
10323             }
10324          }
10325          part { name: "over2";
10326             mouse_events: 0;
10327             description { state: "default" 0.0;
10328                rel1.to: "base";
10329                rel2.to: "base";
10330                image {
10331                   normal: "bt_dis_shine.png";
10332                   border: 4 4 4 4;
10333                }
10334             }
10335          }
10336          part { name: "over1";
10337             mouse_events: 0;
10338             description { state: "default" 0.0;
10339                rel1.to: "base";
10340                rel2.to: "base";
10341                rel2.relative: 1.0 0.5;
10342                image {
10343                   normal: "bt_dis_hilight.png";
10344                   border: 4 4 4 0;
10345                }
10346                color: 255 255 255 128;
10347             }
10348          }
10349          part { name: "left_arrow";
10350             mouse_events: 0;
10351             description { state: "default" 0.0;
10352                image.normal: "icon_left_arrow.png";
10353                aspect: 1.0 1.0;
10354                aspect_preference: VERTICAL;
10355                align: 0.0 0.5;
10356                min: 32 32;
10357                max: 32 32;
10358             }
10359             description { state: "hidden" 0.0;
10360                inherit: "default" 0.0;
10361                visible: 0;
10362                color: 255 255 255 0;
10363             }
10364          }
10365          part { name: "right_arrow";
10366             mouse_events: 0;
10367             description { state: "default" 0.0;
10368                image.normal: "icon_right_arrow.png";
10369                aspect: 1.0 1.0;
10370                aspect_preference: VERTICAL;
10371                align: 1.0 0.5;
10372                min: 32 32;
10373                max: 32 32;
10374             }
10375             description { state: "hidden" 0.0;
10376                inherit: "default" 0.0;
10377                visible: 0;
10378                color: 255 255 255 0;
10379             }
10380          }
10381          part { name: "event";
10382             type: RECT;
10383             mouse_events: 1;
10384             repeat_events: 1;
10385             description { state: "default" 0.0;
10386                color: 0 0 0 0;
10387             }
10388          }
10389       }
10390       programs {
10391          program { name: "sb_hbar_show";
10392             signal: "elm,action,show,hbar";
10393             source: "elm";
10394             action:  STATE_SET "default" 0.0;
10395             transition: LINEAR 0.5;
10396             target: "left_arrow";
10397             target: "right_arrow";
10398          }
10399          program { name: "sb_hbar_hide";
10400             signal: "elm,action,hide,hbar";
10401             source: "elm";
10402             action:  STATE_SET "hidden" 0.0;
10403             target: "left_arrow";
10404             target: "right_arrow";
10405             transition: LINEAR 0.5;
10406          }
10407       }
10408    }
10409
10410    group { name: "elm/toolbar/item/default";
10411        images {
10412            image: "toolbar_sel.png" COMP;
10413        }
10414        data.item: "transition_animation_on" "1";
10415        parts {
10416            part { name: "label2";
10417                type: TEXT;
10418                mouse_events:  0;
10419                scale: 1;
10420                clip_to: "elm.text.clipper";
10421                description { state: "default" 0.0;
10422                    align: 0.5 1.0;
10423                    fixed: 0 1;
10424                    rel1.to: "elm.text";
10425                    rel2.to: "elm.text";
10426                    color: 0 0 0 255;
10427                    text {
10428                        font: "Sans";
10429                        text_source: "elm.text";
10430                        size: 10;
10431                        min: 1 1;
10432                        align: 0.5 0.5;
10433                        text_class: "toolbar_item";
10434                    }
10435                }
10436                description { state: "selected" 0.0;
10437                    inherit: "default" 0.0;
10438                    visible: 0;
10439                }
10440                description { state: "disabled" 0.0;
10441                    inherit: "default" 0.0;
10442                    color: 0 0 0 128;
10443                    color3: 0 0 0 0;
10444                }
10445                description { state: "disabled_visible" 0.0;
10446                    inherit: "default" 0.0;
10447                    color: 0 0 0 128;
10448                    color3: 0 0 0 0;
10449                    visible: 1;
10450                    text.min: 1 1;
10451                }
10452            }
10453            part { name: "label2_new";
10454                type: TEXT;
10455                mouse_events:  0;
10456                scale: 1;
10457                clip_to: "elm.text_new.clipper";
10458                description { state: "default" 0.0;
10459                    align: 0.5 1.0;
10460                    fixed: 0 1;
10461                    rel1.to: "elm.text_new";
10462                    rel2.to: "elm.text_new";
10463                    color: 0 0 0 255;
10464                    text {
10465                        font: "Sans";
10466                        text_source: "elm.text_new";
10467                        size: 10;
10468                        min: 1 1;
10469                        align: 0.5 0.5;
10470                        text_class: "toolbar_item";
10471                    }
10472                }
10473                description { state: "selected" 0.0;
10474                    inherit: "default" 0.0;
10475                    visible: 0;
10476                }
10477                description { state: "disabled" 0.0;
10478                    inherit: "default" 0.0;
10479                    color: 0 0 0 128;
10480                    color3: 0 0 0 0;
10481                }
10482                description { state: "disabled_visible" 0.0;
10483                    inherit: "default" 0.0;
10484                    color: 0 0 0 128;
10485                    color3: 0 0 0 0;
10486                    visible: 1;
10487                    text.min: 1 1;
10488                }
10489            }
10490            part { name: "bg";
10491                mouse_events: 0;
10492                description { state: "default" 0.0;
10493                    visible: 0;
10494                    color: 255 255 255 0;
10495                    image {
10496                        normal: "toolbar_sel.png";
10497                        border: 3 3 0 0;
10498                    }
10499                    image.middle: SOLID;
10500                    fill.smooth: 0;
10501                }
10502                description { state: "selected" 0.0;
10503                    inherit: "default" 0.0;
10504                    visible: 1;
10505                    color: 255 255 255 255;
10506                }
10507                description { state: "disabled" 0.0;
10508                    inherit: "default" 0.0;
10509                    visible: 0;
10510                    color: 255 255 255 0;
10511                }
10512            }
10513            part { name: "elm.swallow.icon";
10514                type: SWALLOW;
10515                clip_to: "elm.icon.clipper";
10516                description { state: "default" 0.0;
10517                    align: 0.5 0.5;
10518                    fixed: 0 0;
10519                    rel1 {
10520                        relative: 0.0 0.0;
10521                        offset: 2 2;
10522                    }
10523                    rel2 {
10524                        to_y: "elm.text";
10525                        relative: 1.0 0.0;
10526                        offset: -3 -1;
10527                    }
10528                    color: 0 0 0 0;
10529                }
10530            }
10531            part { name: "elm.swallow.icon_new";
10532                type: SWALLOW;
10533                clip_to: "elm.icon_new.clipper";
10534                description { state: "default" 0.0;
10535                    align: 0.5 0.5;
10536                    fixed: 0 0;
10537                    rel1 {
10538                        relative: 0.0 0.0;
10539                        offset: 2 2;
10540                    }
10541                    rel2 {
10542                        to_y: "elm.text_new";
10543                        relative: 1.0 0.0;
10544                        offset: -3 -1;
10545                    }
10546                    color: 0 0 0 0;
10547                }
10548            }
10549            part { name: "elm.text";
10550                type: TEXT;
10551                effect: SOFT_SHADOW;
10552                mouse_events:  0;
10553                scale: 1;
10554                clip_to: "elm.text.clipper";
10555                description { state: "default" 0.0;
10556                    align: 0.5 1.0;
10557                    fixed: 0 1;
10558                    rel1 {
10559                        relative: 0.0 1.0;
10560                        offset:   0 -1;
10561                    }
10562                    rel2 {
10563                        relative: 1.0 1.0;
10564                        offset:   -1 -1;
10565                    }
10566                    visible: 0;
10567                    color: 224 224 224 255;
10568                    color3: 0 0 0 32;
10569                    text {
10570                        font: "Sans:style=Bold";
10571                        size: 10;
10572                        min: 1 1;
10573                        align: 0.5 0.5;
10574                        text_class: "toolbar_item";
10575                    }
10576                }
10577                description { state: "selected" 0.0;
10578                    inherit: "default" 0.0;
10579                    visible: 1;
10580                }
10581                description { state: "visible" 0.0;
10582                    inherit: "default" 0.0;
10583                    visible: 1;
10584                    text.min: 1 1;
10585                }
10586                description { state: "disabled" 0.0;
10587                    inherit: "default" 0.0;
10588                    color: 0 0 0 128;
10589                    color3: 0 0 0 0;
10590                }
10591                description { state: "disabled_visible" 0.0;
10592                    inherit: "default" 0.0;
10593                    color: 0 0 0 128;
10594                    color3: 0 0 0 0;
10595                    visible: 1;
10596                    text.min: 1 1;
10597                }
10598            }
10599            part { name: "elm.text_new";
10600                type: TEXT;
10601                effect: SOFT_SHADOW;
10602                mouse_events:  0;
10603                clip_to: "elm.text_new.clipper";
10604                scale: 1;
10605                description { state: "default" 0.0;
10606                    align: 0.5 1.0;
10607                    fixed: 0 1;
10608                    rel1 {
10609                        relative: 0.0 1.0;
10610                        offset:   0 -1;
10611                    }
10612                    rel2 {
10613                        relative: 1.0 1.0;
10614                        offset:   -1 -1;
10615                    }
10616                    visible: 0;
10617                    color: 224 224 224 255;
10618                    color3: 0 0 0 32;
10619                    text {
10620                        font: "Sans:style=Bold";
10621                        size: 10;
10622                        min: 1 1;
10623                        align: 0.5 0.5;
10624                        text_class: "toolbar_item";
10625                    }
10626                }
10627                description { state: "selected" 0.0;
10628                    inherit: "default" 0.0;
10629                    visible: 1;
10630                }
10631                description { state: "visible" 0.0;
10632                    inherit: "default" 0.0;
10633                    visible: 1;
10634                    text.min: 1 1;
10635                }
10636                description { state: "disabled" 0.0;
10637                    inherit: "default" 0.0;
10638                    color: 0 0 0 128;
10639                    color3: 0 0 0 0;
10640                }
10641                description { state: "disabled_visible" 0.0;
10642                    inherit: "default" 0.0;
10643                    color: 0 0 0 128;
10644                    color3: 0 0 0 0;
10645                    visible: 1;
10646                    text.min: 1 1;
10647                }
10648            }
10649            part { name: "elm.text.clipper";
10650                type: RECT;
10651                description { state: "default" 0.0;
10652                    color: 255 255 255 255;
10653                }
10654                description { state: "animation" 0.0;
10655                    color: 255 255 255 0;
10656                }
10657            }
10658            part { name: "elm.text_new.clipper";
10659                type: RECT;
10660                description { state: "default" 0.0;
10661                    color: 255 255 255 0;
10662                }
10663                description { state: "animation" 0.0;
10664                    color: 255 255 255 255;
10665                }
10666            }
10667            part { name: "elm.icon.clipper";
10668                type: RECT;
10669                description { state: "default" 0.0;
10670                    color: 255 255 255 255;
10671                }
10672                description { state: "animation" 0.0;
10673                    color: 255 255 255 0;
10674                }
10675            }
10676            part { name: "elm.icon_new.clipper";
10677                type: RECT;
10678                description { state: "default" 0.0;
10679                    color: 255 255 255 0;
10680                }
10681                description { state: "animation" 0.0;
10682                    color: 255 255 255 255;
10683                }
10684            }
10685            part { name: "event";
10686                type: RECT;
10687                mouse_events: 1;
10688                ignore_flags: ON_HOLD;
10689                description { state: "default" 0.0;
10690                    color: 0 0 0 0;
10691                }
10692            }
10693        }
10694        programs {
10695            program { name: "go_active";
10696                signal:  "elm,state,selected";
10697                source:  "elm";
10698                action:  STATE_SET "selected" 0.0;
10699                target:  "bg";
10700                target:  "elm.text";
10701                target:  "label2";
10702                target:  "elm.text_new";
10703                target:  "label2_new";
10704                transition: LINEAR 0.2;
10705            }
10706            program { name: "go_passive";
10707                signal:  "elm,state,unselected";
10708                source:  "elm";
10709                action:  STATE_SET "default" 0.0;
10710                target:  "bg";
10711                target:  "elm.text";
10712                target:  "label2";
10713                target:  "elm.text_new";
10714                target:  "label2_new";
10715                transition: LINEAR 0.1;
10716            }
10717            program { name: "go";
10718                signal:  "mouse,up,1";
10719                source:  "event";
10720                action:  SIGNAL_EMIT "elm,action,click" "elm";
10721            }
10722            program { name: "mouse,in";
10723               signal:  "mouse,in";
10724               source:  "event";
10725               action:  SIGNAL_EMIT "elm,mouse,in" "elm";
10726            }
10727            program { name: "mouse,out";
10728               signal:  "mouse,out";
10729               source:  "event";
10730               action:  SIGNAL_EMIT "elm,mouse,out" "elm";
10731            }
10732            program { name: "disable";
10733                signal: "elm,state,disabled";
10734                source: "elm";
10735                action: STATE_SET "disabled" 0.0;
10736                target: "label2";
10737                target: "label2_new";
10738                target: "bg";
10739                after: "disable_text";
10740            }
10741            program { name: "disable_text";
10742                script {
10743                    new st[31];
10744                    new Float:vl;
10745                    get_state(PART:"elm.text", st, 30, vl);
10746                    if (!strcmp(st, "visible"))
10747                    {
10748                       set_state(PART:"elm.text", "disabled_visible", 0.0);
10749                       set_state(PART:"elm.text_new", "disabled_visible", 0.0);
10750                    }
10751                    else
10752                    {
10753                       set_state(PART:"elm.text", "disabled", 0.0);
10754                       set_state(PART:"elm.text_new", "disabled", 0.0);
10755                    }
10756                }
10757            }
10758            program { name: "enable";
10759                signal: "elm,state,enabled";
10760                source: "elm";
10761                action: STATE_SET "default" 0.0;
10762                target: "label2";
10763                target: "label2_new";
10764                target: "bg";
10765                after: "enable_text";
10766            }
10767            program { name: "enable_text";
10768                script {
10769                    new st[31];
10770                    new Float:vl;
10771                    get_state(PART:"elm.text", st, 30, vl);
10772                    if (!strcmp(st, "disabled_visible"))
10773                    {
10774                       set_state(PART:"elm.text", "visible", 0.0);
10775                       set_state(PART:"elm.text_new", "visible", 0.0);
10776                    }
10777                    else
10778                    {
10779                       set_state(PART:"elm.text", "default", 0.0);
10780                       set_state(PART:"elm.text_new", "default", 0.0);
10781                    }
10782                }
10783            }
10784            program { name: "label_set,animation,forward";
10785               signal: "elm,state,label_set,forward";
10786               source: "elm";
10787               after: "label_set,animation";
10788            }
10789            program { name: "label_set,animation,backward";
10790               signal: "elm,state,label_set,backward";
10791               source: "elm";
10792               after: "label_set,animation";
10793            }
10794            program { name: "label_set,animation";
10795               signal: "elm,state,label_set";
10796               source: "elm";
10797               action: STATE_SET "animation" 0.0;
10798               target: "elm.text.clipper";
10799               target: "elm.text_new.clipper";
10800               transition: LINEAR 0.2;
10801               after: "label_set,animation,done";
10802            }
10803            program { name: "label_set,animation,done";
10804               action: SIGNAL_EMIT "elm,state,label_set,done" "elm";
10805            }
10806            program { name: "label,reset";
10807               signal: "elm,state,label,reset";
10808               source: "elm";
10809               action: STATE_SET "default" 0.0;
10810               target: "elm.text.clipper";
10811               target: "elm.text_new.clipper";
10812            }
10813            program { name: "icon_set,animation,forward";
10814               signal: "elm,state,icon_set,forward";
10815               source: "elm";
10816               after: "icon_set,animation";
10817            }
10818            program { name: "icon_set,animation,backward";
10819               signal: "elm,state,icon_set,backward";
10820               source: "elm";
10821               after: "icon_set,animation";
10822            }
10823            program { name: "icon_set,animation";
10824               signal: "elm,state,icon_set";
10825               source: "elm";
10826               action: STATE_SET "animation" 0.0;
10827               target: "elm.icon.clipper";
10828               target: "elm.icon_new.clipper";
10829               transition: LINEAR 0.2;
10830               after: "icon_set,animation,done";
10831            }
10832            program { name: "icon_set,animation,done";
10833               action: SIGNAL_EMIT "elm,state,icon_set,done" "elm";
10834            }
10835            program { name: "icon,reset";
10836               signal: "elm,state,icon,reset";
10837               source: "elm";
10838               action: STATE_SET "default" 0.0;
10839               target: "elm.icon.clipper";
10840               target: "elm.icon_new.clipper";
10841            }
10842        }
10843    }
10844
10845    group { name: "elm/toolbar/separator/default";
10846       images {
10847          image: "toolbar_separator_v.png" COMP;
10848       }
10849       parts {
10850          part { name: "separator"; // separator group
10851             description { state: "default" 0.0;
10852                min: 2 2;
10853                max: 2 9999;
10854                rel1.offset: 4 4;
10855                rel2.offset: -5 -5;
10856                image {
10857                   normal: "toolbar_separator_v.png";
10858                }
10859                fill {
10860                   smooth: 0;
10861                }
10862             }
10863          }
10864       }
10865    }
10866
10867    ///////////////////////////////////////////////////////////////////////////////
10868    group { name: "elm/notify/block_events/default";
10869        parts {
10870            part { name: "block_events";
10871                type: RECT;
10872                description { state: "default" 0.0;
10873                    color: 0 0 0 64;
10874                    visible: 1;
10875                }
10876            }
10877        }
10878            programs {
10879                    program {
10880                                 name: "block_clicked";
10881                                 signal: "mouse,clicked,1";
10882                                 source: "block_events";
10883                                 action: SIGNAL_EMIT "elm,action,clicked" "elm";
10884                    }
10885            }
10886    }
10887    group { name: "elm/notify/top/default";
10888        //this group is a design similar to the inwin group
10889        images {
10890            image: "shad_circ.png" COMP;
10891            image: "bt_dis_base.png" COMP;
10892            image: "bt_dis_hilight.png" COMP;
10893        }
10894        parts {
10895            part { name: "base";
10896                type: RECT;
10897                mouse_events: 0;
10898                repeat_events: 1;
10899                description { state: "default" 0.0;
10900                    color: 0 0 0 0;
10901                    rel1.offset: 10 10;
10902                    rel2.offset: -10 -10;
10903                    rel1.relative: 0.0 -1.0;
10904                    rel2.relative: 1.0 0.0;
10905                }
10906                description { state: "visible" 0.0;
10907                    inherit: "default" 0.0;
10908                    color: 0 0 0 64;
10909                    rel1.relative: 0.0 0.0;
10910                    rel2.relative: 1.0 1.0;
10911                }
10912            }
10913            part { name: "shad";
10914                mouse_events:  0;
10915                description { state: "default" 0.0;
10916                    image.normal: "shad_circ.png";
10917                    rel1.to: "elm.swallow.content";
10918                    rel1.offset: -64 -64;
10919                    rel2.to: "elm.swallow.content";
10920                    rel2.offset: 63 63;
10921                    fill.smooth: 0;
10922                }
10923            }
10924            part { name: "pop";
10925                mouse_events: 1;
10926                description { state: "default" 0.0;
10927                    rel1.to: "elm.swallow.content";
10928                    rel1.offset: -5 -5;
10929                    rel2.to: "elm.swallow.content";
10930                    rel2.offset: 4 4;
10931                    image {
10932                        normal: "bt_dis_base.png";
10933                        border: 4 4 4 4;
10934                    }
10935                    image.middle: SOLID;
10936                }
10937            }
10938            part { name: "popover";
10939                mouse_events: 0;
10940                description { state: "default" 0.0;
10941                    rel1.to: "pop";
10942                    rel2.to: "pop";
10943                    rel2.relative: 1.0 0.5;
10944                    image {
10945                        normal: "bt_dis_hilight.png";
10946                        border: 4 4 4 0;
10947                    }
10948                }
10949            }
10950            part { name: "elm.swallow.content";
10951                type: SWALLOW;
10952                description { state: "default" 0.0;
10953                    rel1.to: "base";
10954                    rel2.to: "base";
10955                }
10956            }
10957        }
10958        programs {
10959            program { name: "show";
10960                signal: "elm,action,show";
10961                source: "elm";
10962                action: STATE_SET "visible" 0.0;
10963                target: "base";
10964            }
10965            program { name: "show_2";
10966                 signal: "show";
10967                 action: STATE_SET "default" 0.0;
10968                 target: "base";
10969                 after: "show_3";
10970            }
10971            program { name: "show_3";
10972                 signal: "show";
10973                 action: STATE_SET "visible" 0.0;
10974                 target: "base";
10975                 transition: LINEAR 0.5;
10976            }
10977            program { name: "hide";
10978                signal: "elm,action,hide";
10979                source: "elm";
10980                action: STATE_SET "default" 0.0;
10981                target: "base";
10982            }
10983        }
10984    }
10985    group { name: "elm/notify/center/default";
10986        //this group is a design similar to the inwin group
10987        images {
10988            image: "bt_dis_base.png" COMP;
10989        }
10990        parts {
10991            part { name: "base";
10992                type: RECT;
10993                mouse_events: 0;
10994                repeat_events: 1;
10995                description { state: "default" 0.0;
10996                    color: 0 0 0 0;
10997                    rel1.relative: 0.0 0.0;
10998                    rel2.relative: 1.0 1.0;
10999                }
11000            }
11001            part { name: "pop";
11002                mouse_events: 1;
11003                description { state: "default" 0.0;
11004                    rel1.to: "elm.swallow.content";
11005                    rel1.offset: -5 -5;
11006                    rel2.to: "elm.swallow.content";
11007                    rel2.offset: 4 4;
11008                    image {
11009                        normal: "bt_dis_base.png";
11010                        border: 4 4 4 4;
11011                    }
11012                }
11013            }
11014            part { name: "elm.swallow.content";
11015                type: SWALLOW;
11016                description { state: "default" 0.0;
11017                    rel1.to: "base";
11018                    rel2.to: "base";
11019                }
11020            }
11021        }
11022        programs {
11023            program { name: "show";
11024                signal: "elm,action,show";
11025                source: "elm";
11026                action: STATE_SET "default" 0.0;
11027                target: "base";
11028            }
11029            program { name: "show_2";
11030                 signal: "show";
11031                 action: STATE_SET "default" 0.0;
11032                 target: "base";
11033            }
11034            program { name: "hide";
11035                signal: "elm,action,hide";
11036                source: "elm";
11037                action: STATE_SET "default" 0.0;
11038                target: "base";
11039            }
11040        }
11041    }
11042    group { name: "elm/notify/bottom/default";
11043        //this group is a design similar to the inwin group
11044        images {
11045            image: "shad_circ.png" COMP;
11046            image: "bt_dis_base.png" COMP;
11047            image: "bt_dis_hilight.png" COMP;
11048        }
11049        parts {
11050            part { name: "base";
11051                type: RECT;
11052                mouse_events: 0;
11053                repeat_events: 1;
11054                description { state: "default" 0.0;
11055                    color: 0 0 0 0;
11056                    rel1.offset: 10 10;
11057                    rel2.offset: -10 -10;
11058                    rel1.relative: 0.0 1.0;
11059                    rel2.relative: 1.0 2.0;
11060                }
11061                description { state: "visible" 0.0;
11062                    inherit: "default" 0.0;
11063                    color: 0 0 0 64;
11064                    rel1.relative: 0.0 0.0;
11065                    rel2.relative: 1.0 1.0;
11066                }
11067            }
11068            part { name: "shad";
11069                mouse_events:  0;
11070                description { state: "default" 0.0;
11071                    image.normal: "shad_circ.png";
11072                    rel1.to: "elm.swallow.content";
11073                    rel1.offset: -64 -64;
11074                    rel2.to: "elm.swallow.content";
11075                    rel2.offset: 63 63;
11076                    fill.smooth: 0;
11077                }
11078            }
11079            part { name: "pop";
11080                mouse_events: 1;
11081                description { state: "default" 0.0;
11082                    rel1.to: "elm.swallow.content";
11083                    rel1.offset: -5 -5;
11084                    rel2.to: "elm.swallow.content";
11085                    rel2.offset: 4 4;
11086                    image {
11087                        normal: "bt_dis_base.png";
11088                        border: 4 4 4 4;
11089                    }
11090                    image.middle: SOLID;
11091                }
11092            }
11093            part { name: "popover";
11094                mouse_events: 0;
11095                description { state: "default" 0.0;
11096                    rel1.to: "pop";
11097                    rel2.to: "pop";
11098                    rel2.relative: 1.0 0.5;
11099                    image {
11100                        normal: "bt_dis_hilight.png";
11101                        border: 4 4 4 0;
11102                    }
11103                }
11104            }
11105            part { name: "elm.swallow.content";
11106                type: SWALLOW;
11107                description { state: "default" 0.0;
11108                    rel1.to: "base";
11109                    rel2.to: "base";
11110                }
11111            }
11112        }
11113        programs {
11114            program { name: "show";
11115                signal: "elm,action,show";
11116                source: "elm";
11117                action: STATE_SET "visible" 0.0;
11118                target: "base";
11119            }
11120            program { name: "show_2";
11121                 signal: "show";
11122                 action: STATE_SET "default" 0.0;
11123                 target: "base";
11124                 after: "show_3";
11125            }
11126            program { name: "show_3";
11127                 signal: "show";
11128                 action: STATE_SET "visible" 0.0;
11129                 target: "base";
11130                 transition: LINEAR 0.5;
11131            }
11132            program { name: "hide";
11133                signal: "elm,action,hide";
11134                source: "elm";
11135                action: STATE_SET "default" 0.0;
11136                target: "base";
11137            }
11138        }
11139    }
11140    group { name: "elm/notify/left/default";
11141        //this group is a design similar to the inwin group
11142        images {
11143            image: "shad_circ.png" COMP;
11144            image: "bt_dis_base.png" COMP;
11145            image: "bt_dis_hilight.png" COMP;
11146        }
11147        parts {
11148            part { name: "base";
11149                type: RECT;
11150                mouse_events: 0;
11151                repeat_events: 1;
11152                description { state: "default" 0.0;
11153                    color: 0 0 0 0;
11154                    rel1.offset: 10 10;
11155                    rel2.offset: -10 -10;
11156                    rel1.relative: -1.0 0.0;
11157                    rel2.relative: 0.0 1.0;
11158                }
11159                description { state: "visible" 0.0;
11160                    inherit: "default" 0.0;
11161                    color: 0 0 0 64;
11162                    rel1.relative: 0.0 0.0;
11163                    rel2.relative: 1.0 1.0;
11164                }
11165            }
11166            part { name: "shad";
11167                mouse_events:  0;
11168                description { state: "default" 0.0;
11169                    image.normal: "shad_circ.png";
11170                    rel1.to: "elm.swallow.content";
11171                    rel1.offset: -64 -64;
11172                    rel2.to: "elm.swallow.content";
11173                    rel2.offset: 63 63;
11174                    fill.smooth: 0;
11175                }
11176            }
11177            part { name: "pop";
11178                mouse_events: 1;
11179                description { state: "default" 0.0;
11180                    rel1.to: "elm.swallow.content";
11181                    rel1.offset: -5 -5;
11182                    rel2.to: "elm.swallow.content";
11183                    rel2.offset: 4 4;
11184                    image {
11185                        normal: "bt_dis_base.png";
11186                        border: 4 4 4 4;
11187                    }
11188                    image.middle: SOLID;
11189                }
11190            }
11191            part { name: "popover";
11192                mouse_events: 0;
11193                description { state: "default" 0.0;
11194                    rel1.to: "pop";
11195                    rel2.to: "pop";
11196                    rel2.relative: 1.0 0.5;
11197                    image {
11198                        normal: "bt_dis_hilight.png";
11199                        border: 4 4 4 0;
11200                    }
11201                }
11202            }
11203            part { name: "elm.swallow.content";
11204                type: SWALLOW;
11205                description { state: "default" 0.0;
11206                    rel1.to: "base";
11207                    rel2.to: "base";
11208                }
11209            }
11210        }
11211        programs {
11212            program { name: "show";
11213                signal: "elm,action,show";
11214                source: "elm";
11215                action: STATE_SET "visible" 0.0;
11216                target: "base";
11217            }
11218            program { name: "show_2";
11219                signal: "show";
11220                action: STATE_SET "default" 0.0;
11221                target: "base";
11222                after: "show_3";
11223            }
11224            program { name: "show_3";
11225                signal: "show";
11226                action: STATE_SET "visible" 0.0;
11227                target: "base";
11228                transition: LINEAR 0.5;
11229            }
11230            program { name: "hide";
11231                signal: "elm,action,hide";
11232                source: "elm";
11233                action: STATE_SET "default" 0.0;
11234                target: "base";
11235            }
11236        }
11237    }
11238    group { name: "elm/notify/right/default";
11239        //this group is a design similar to the inwin group
11240        images {
11241            image: "shad_circ.png" COMP;
11242            image: "bt_dis_base.png" COMP;
11243            image: "bt_dis_hilight.png" COMP;
11244        }
11245        parts {
11246            part { name: "base";
11247                type: RECT;
11248                mouse_events: 0;
11249                repeat_events: 1;
11250                 description { state: "default" 0.0;
11251                    color: 0 0 0 0;
11252                    rel1.offset: 10 10;
11253                    rel2.offset: -10 -10;
11254                    rel1.relative: 1.0 0.0;
11255                    rel2.relative: 2.0 1.0;
11256                }
11257                description { state: "visible" 0.0;
11258                    inherit: "default" 0.0;
11259                    color: 0 0 0 64;
11260                    rel1.relative: 0.0 0.0;
11261                    rel2.relative: 1.0 1.0;
11262                }
11263            }
11264            part { name: "shad";
11265                mouse_events:  0;
11266                description { state: "default" 0.0;
11267                    image.normal: "shad_circ.png";
11268                    rel1.to: "elm.swallow.content";
11269                    rel1.offset: -64 -64;
11270                    rel2.to: "elm.swallow.content";
11271                    rel2.offset: 63 63;
11272                    fill.smooth: 0;
11273                }
11274            }
11275            part { name: "pop";
11276                mouse_events: 1;
11277                description { state: "default" 0.0;
11278                    rel1.to: "elm.swallow.content";
11279                    rel1.offset: -5 -5;
11280                    rel2.to: "elm.swallow.content";
11281                    rel2.offset: 4 4;
11282                    image {
11283                        normal: "bt_dis_base.png";
11284                        border: 4 4 4 4;
11285                    }
11286                    image.middle: SOLID;
11287                }
11288            }
11289            part { name: "popover";
11290                mouse_events: 0;
11291                description { state: "default" 0.0;
11292                    rel1.to: "pop";
11293                    rel2.to: "pop";
11294                    rel2.relative: 1.0 0.5;
11295                    image {
11296                        normal: "bt_dis_hilight.png";
11297                        border: 4 4 4 0;
11298                    }
11299                }
11300            }
11301            part { name: "elm.swallow.content";
11302                type: SWALLOW;
11303                description { state: "default" 0.0;
11304                    rel1.to: "base";
11305                    rel2.to: "base";
11306                }
11307            }
11308        }
11309        programs {
11310            program { name: "show";
11311                signal: "elm,action,show";
11312                source: "elm";
11313                action: STATE_SET "visible" 0.0;
11314                target: "base";
11315            }
11316            program { name: "show_2";
11317                signal: "show";
11318                action: STATE_SET "default" 0.0;
11319                target: "base";
11320                after: "show_3";
11321            }
11322            program { name: "show_3";
11323                signal: "show";
11324                action: STATE_SET "visible" 0.0;
11325                target: "base";
11326                transition: LINEAR 0.5;
11327            }
11328            program { name: "hide";
11329                signal: "elm,action,hide";
11330                source: "elm";
11331                action: STATE_SET "default" 0.0;
11332                target: "base";
11333            }
11334        }
11335    }
11336    group { name: "elm/notify/top_left/default";
11337        //this group is a design similar to the inwin group
11338        images {
11339            image: "shad_circ.png" COMP;
11340            image: "bt_dis_base.png" COMP;
11341            image: "bt_dis_hilight.png" COMP;
11342        }
11343        parts {
11344            part { name: "base";
11345                type: RECT;
11346                mouse_events: 0;
11347                repeat_events: 1;
11348                 description { state: "default" 0.0;
11349                    color: 0 0 0 0;
11350                    rel1.offset: 10 10;
11351                    rel2.offset: -10 -10;
11352                    rel1.relative: 0.0 -1.0;
11353                    rel2.relative: 1.0 0.0;
11354                }
11355                description { state: "visible" 0.0;
11356                    inherit: "default" 0.0;
11357                    color: 0 0 0 64;
11358                    rel1.relative: 0.0 0.0;
11359                    rel2.relative: 1.0 1.0;
11360                }
11361            }
11362            part { name: "shad";
11363                mouse_events:  0;
11364                description { state: "default" 0.0;
11365                    image.normal: "shad_circ.png";
11366                    rel1.to: "elm.swallow.content";
11367                    rel1.offset: -64 -64;
11368                    rel2.to: "elm.swallow.content";
11369                    rel2.offset: 63 63;
11370                    fill.smooth: 0;
11371                }
11372            }
11373            part { name: "pop";
11374                mouse_events: 1;
11375                description { state: "default" 0.0;
11376                    rel1.to: "elm.swallow.content";
11377                    rel1.offset: -5 -5;
11378                    rel2.to: "elm.swallow.content";
11379                    rel2.offset: 4 4;
11380                    image {
11381                        normal: "bt_dis_base.png";
11382                        border: 4 4 4 4;
11383                    }
11384                    image.middle: SOLID;
11385                }
11386            }
11387            part { name: "popover";
11388                mouse_events: 0;
11389                description { state: "default" 0.0;
11390                    rel1.to: "pop";
11391                    rel2.to: "pop";
11392                    rel2.relative: 1.0 0.5;
11393                    image {
11394                        normal: "bt_dis_hilight.png";
11395                        border: 4 4 4 0;
11396                    }
11397                }
11398            }
11399            part { name: "elm.swallow.content";
11400                type: SWALLOW;
11401                description { state: "default" 0.0;
11402                    rel1.to: "base";
11403                    rel2.to: "base";
11404                }
11405            }
11406        }
11407        programs {
11408            program { name: "show";
11409                signal: "elm,action,show";
11410                source: "elm";
11411                action: STATE_SET "visible" 0.0;
11412                target: "base";
11413            }
11414            program { name: "show_2";
11415                signal: "show";
11416                action: STATE_SET "default" 0.0;
11417                target: "base";
11418                after: "show_3";
11419            }
11420            program { name: "show_3";
11421                signal: "show";
11422                action: STATE_SET "visible" 0.0;
11423                target: "base";
11424                transition: LINEAR 0.5;
11425            }
11426            program { name: "hide";
11427                signal: "elm,action,hide";
11428                source: "elm";
11429                action: STATE_SET "default" 0.0;
11430                target: "base";
11431            }
11432        }
11433    }
11434    group { name: "elm/notify/top_right/default";
11435        //this group is a design similar to the inwin group
11436        images {
11437            image: "shad_circ.png" COMP;
11438            image: "bt_dis_base.png" COMP;
11439            image: "bt_dis_hilight.png" COMP;
11440        }
11441        parts {
11442            part { name: "base";
11443                type: RECT;
11444                mouse_events: 0;
11445                repeat_events: 1;
11446                description { state: "default" 0.0;
11447                    color: 0 0 0 0;
11448                    rel1.offset: 10 10;
11449                    rel2.offset: -10 -10;
11450                    rel1.relative: 0.0 -1.0;
11451                    rel2.relative: 1.0 0.0;
11452                }
11453                description { state: "visible" 0.0;
11454                    inherit: "default" 0.0;
11455                    color: 0 0 0 64;
11456                    rel1.relative: 0.0 0.0;
11457                    rel2.relative: 1.0 1.0;
11458                }
11459            }
11460            part { name: "shad";
11461                mouse_events:  0;
11462                description { state: "default" 0.0;
11463                    image.normal: "shad_circ.png";
11464                    rel1.to: "elm.swallow.content";
11465                    rel1.offset: -64 -64;
11466                    rel2.to: "elm.swallow.content";
11467                    rel2.offset: 63 63;
11468                    fill.smooth: 0;
11469                }
11470            }
11471            part { name: "pop";
11472                mouse_events: 1;
11473                description { state: "default" 0.0;
11474                    rel1.to: "elm.swallow.content";
11475                    rel1.offset: -5 -5;
11476                    rel2.to: "elm.swallow.content";
11477                    rel2.offset: 4 4;
11478                    image {
11479                        normal: "bt_dis_base.png";
11480                        border: 4 4 4 4;
11481                    }
11482                    image.middle: SOLID;
11483                }
11484            }
11485            part { name: "popover";
11486                mouse_events: 0;
11487                description { state: "default" 0.0;
11488                    rel1.to: "pop";
11489                    rel2.to: "pop";
11490                    rel2.relative: 1.0 0.5;
11491                    image {
11492                        normal: "bt_dis_hilight.png";
11493                        border: 4 4 4 0;
11494                    }
11495                }
11496            }
11497            part { name: "elm.swallow.content";
11498                type: SWALLOW;
11499                description { state: "default" 0.0;
11500                    rel1.to: "base";
11501                    rel2.to: "base";
11502                }
11503            }
11504        }
11505        programs {
11506            program { name: "show";
11507                signal: "elm,action,show";
11508                source: "elm";
11509                action: STATE_SET "visible" 0.0;
11510                target: "base";
11511            }
11512            program { name: "show_2";
11513                signal: "show";
11514                action: STATE_SET "default" 0.0;
11515                target: "base";
11516                after: "show_3";
11517            }
11518            program { name: "show_3";
11519                signal: "show";
11520                action: STATE_SET "visible" 0.0;
11521                target: "base";
11522                transition: LINEAR 0.5;
11523            }
11524            program { name: "hide";
11525                signal: "elm,action,hide";
11526                source: "elm";
11527                action: STATE_SET "default" 0.0;
11528                target: "base";
11529            }
11530        }
11531    }
11532    group { name: "elm/notify/bottom_left/default";
11533        //this group is a design similar to the inwin group
11534        images {
11535            image: "shad_circ.png" COMP;
11536            image: "bt_dis_base.png" COMP;
11537            image: "bt_dis_hilight.png" COMP;
11538        }
11539        parts {
11540            part { name: "base";
11541                type: RECT;
11542                mouse_events: 0;
11543                repeat_events: 1;
11544                description { state: "default" 0.0;
11545                    color: 0 0 0 0;
11546                    rel1.offset: 10 10;
11547                    rel2.offset: -10 -10;
11548                    rel1.relative: 0.0 1.0;
11549                    rel2.relative: 1.0 2.0;
11550                }
11551                description { state: "visible" 0.0;
11552                    inherit: "default" 0.0;
11553                    color: 0 0 0 64;
11554                    rel1.relative: 0.0 0.0;
11555                    rel2.relative: 1.0 1.0;
11556                }
11557            }
11558            part { name: "shad";
11559                mouse_events:  0;
11560                description { state: "default" 0.0;
11561                    image.normal: "shad_circ.png";
11562                    rel1.to: "elm.swallow.content";
11563                    rel1.offset: -64 -64;
11564                    rel2.to: "elm.swallow.content";
11565                    rel2.offset: 63 63;
11566                    fill.smooth: 0;
11567                }
11568            }
11569            part { name: "pop";
11570                mouse_events: 1;
11571                description { state: "default" 0.0;
11572                    rel1.to: "elm.swallow.content";
11573                    rel1.offset: -5 -5;
11574                    rel2.to: "elm.swallow.content";
11575                    rel2.offset: 4 4;
11576                    image {
11577                        normal: "bt_dis_base.png";
11578                        border: 4 4 4 4;
11579                    }
11580                    image.middle: SOLID;
11581                }
11582            }
11583            part { name: "popover";
11584                mouse_events: 0;
11585                description { state: "default" 0.0;
11586                    rel1.to: "pop";
11587                    rel2.to: "pop";
11588                    rel2.relative: 1.0 0.5;
11589                    image {
11590                        normal: "bt_dis_hilight.png";
11591                        border: 4 4 4 0;
11592                    }
11593                }
11594            }
11595            part { name: "elm.swallow.content";
11596                type: SWALLOW;
11597                description { state: "default" 0.0;
11598                    rel1.to: "base";
11599                    rel2.to: "base";
11600                }
11601            }
11602        }
11603        programs {
11604            program { name: "show";
11605                signal: "elm,action,show";
11606                source: "elm";
11607                action: STATE_SET "visible" 0.0;
11608                target: "base";
11609            }
11610            program { name: "show_2";
11611                signal: "show";
11612                action: STATE_SET "default" 0.0;
11613                target: "base";
11614                after: "show_3";
11615            }
11616            program { name: "show_3";
11617                signal: "show";
11618                action: STATE_SET "visible" 0.0;
11619                target: "base";
11620                transition: LINEAR 0.5;
11621            }
11622            program { name: "hide";
11623                signal: "elm,action,hide";
11624                source: "elm";
11625                action: STATE_SET "default" 0.0;
11626                target: "base";
11627            }
11628        }
11629    }
11630    group { name: "elm/notify/bottom_right/default";
11631        //this group is a design similar to the inwin group
11632        images {
11633            image: "shad_circ.png" COMP;
11634            image: "bt_dis_base.png" COMP;
11635            image: "bt_dis_hilight.png" COMP;
11636        }
11637        parts {
11638            part { name: "base";
11639                type: RECT;
11640                mouse_events: 0;
11641                repeat_events: 1;
11642               description { state: "default" 0.0;
11643                    color: 0 0 0 0;
11644                    rel1.offset: 10 10;
11645                    rel2.offset: -10 -10;
11646                    rel1.relative: 0.0 1.0;
11647                    rel2.relative: 1.0 2.0;
11648                }
11649                description { state: "visible" 0.0;
11650                    inherit: "default" 0.0;
11651                    color: 0 0 0 64;
11652                    rel1.relative: 0.0 0.0;
11653                    rel2.relative: 1.0 1.0;
11654                }
11655            }
11656            part { name: "shad";
11657                mouse_events:  0;
11658                description { state: "default" 0.0;
11659                    image.normal: "shad_circ.png";
11660                    rel1.to: "elm.swallow.content";
11661                    rel1.offset: -64 -64;
11662                    rel2.to: "elm.swallow.content";
11663                    rel2.offset: 63 63;
11664                    fill.smooth: 0;
11665                }
11666            }
11667            part { name: "pop";
11668                mouse_events: 1;
11669                description { state: "default" 0.0;
11670                    rel1.to: "elm.swallow.content";
11671                    rel1.offset: -5 -5;
11672                    rel2.to: "elm.swallow.content";
11673                    rel2.offset: 4 4;
11674                    image {
11675                        normal: "bt_dis_base.png";
11676                        border: 4 4 4 4;
11677                    }
11678                    image.middle: SOLID;
11679                }
11680            }
11681            part { name: "popover";
11682                mouse_events: 0;
11683                description { state: "default" 0.0;
11684                    rel1.to: "pop";
11685                    rel2.to: "pop";
11686                    rel2.relative: 1.0 0.5;
11687                    image {
11688                        normal: "bt_dis_hilight.png";
11689                        border: 4 4 4 0;
11690                    }
11691                }
11692            }
11693            part { name: "elm.swallow.content";
11694                type: SWALLOW;
11695                description { state: "default" 0.0;
11696                    rel1.to: "base";
11697                    rel2.to: "base";
11698                }
11699            }
11700        }
11701        programs {
11702            program { name: "show";
11703                signal: "elm,action,show";
11704                source: "elm";
11705                action: STATE_SET "visible" 0.0;
11706                target: "base";
11707            }
11708            program { name: "show_2";
11709                signal: "show";
11710                action: STATE_SET "default" 0.0;
11711                target: "base";
11712                after: "show_3";
11713            }
11714            program { name: "show_3";
11715                signal: "show";
11716                action: STATE_SET "visible" 0.0;
11717                target: "base";
11718                transition: LINEAR 0.5;
11719            }
11720            program { name: "hide";
11721                signal: "elm,action,hide";
11722                source: "elm";
11723                action: STATE_SET "default" 0.0;
11724                target: "base";
11725            }
11726        }
11727    }
11728
11729 ///////////////////////////////////////////////////////////////////////////////
11730    group { name: "elm/slideshow/base/default";
11731       data {
11732          item: transitions "fade black_fade horizontal vertical square";
11733          item: layouts "fullscreen not_fullscreen";
11734       }
11735       parts {
11736          part { name: "whole";
11737                 type: RECT;
11738             description {
11739                state: "default" 0.0;
11740                visible: 1;
11741                color: 20 20 20 255;
11742             }
11743          }
11744          part { name: "image_1_whole";
11745             description {
11746                state: "default" 0.0;
11747                color: 255 255 255 255;
11748             }
11749             description {
11750                state: "fade_prev_next" 0.0;
11751                inherit: "default" 0.0;
11752                color: 255 255 255 0;
11753             }
11754             description {
11755                state: "black_fade_prev_next_init" 0.0;
11756                inherit: "default" 0.0;
11757                color: 255 255 255 255;
11758             }
11759             description {
11760                state: "black_fade_prev_next" 0.0;
11761                inherit: "default" 0.0;
11762                color: 0 0 0 255;
11763             }
11764             description {
11765                state: "horizontal_next_init" 0.0;
11766                inherit: "default" 0.0;
11767             }
11768             description {
11769                state: "horizontal_next" 0.0;
11770                inherit: "default" 0.0;
11771                rel1.relative: -1.0 0.0;
11772                rel2.relative: 0.0 1.0;
11773             }
11774             description {
11775                state: "horizontal_prev_init" 0.0;
11776                inherit: "default" 0.0;
11777             }
11778             description {
11779                state: "horizontal_prev" 0.0;
11780                inherit: "default" 0.0;
11781                rel1.relative: 1.0 0.0;
11782                rel2.relative: 2.0 1.0;
11783             }
11784             description {
11785                state: "vertical_next_init" 0.0;
11786                inherit: "default" 0.0;
11787             }
11788             description {
11789                state: "vertical_next" 0.0;
11790                inherit: "default" 0.0;
11791                rel1.relative: 0.0 -1.0;
11792                rel2.relative: 1.0 0.0;
11793             }
11794             description {
11795                state: "vertical_prev_init" 0.0;
11796                inherit: "default" 0.0;
11797             }
11798             description {
11799                state: "vertical_prev" 0.0;
11800                inherit: "default" 0.0;
11801                rel1.relative: 0.0 1.0;
11802                rel2.relative: 1.0 2.0;
11803             }
11804             description {
11805                state: "square_prev_next" 0.0;
11806                inherit: "default" 0.0;
11807                color: 255 255 255 0;
11808             }
11809          }
11810          part { name: "image_2_whole";
11811             description {
11812                state: "default" 0.0;
11813                visible: 1;
11814                color: 255 255 255 0;
11815             }
11816             description {
11817                state: "fade_prev_next" 0.0;
11818                inherit: "default" 0.0;
11819                color: 255 255 255 255;
11820             }
11821             description {
11822                state: "black_fade_prev_next_init" 0.0;
11823                inherit: "default" 0.0;
11824                color: 0 0 0 0;
11825             }
11826             description {
11827                state: "black_fade_prev_next" 0.0;
11828                inherit: "default" 0.0;
11829                color: 255 255 255 255;
11830             }
11831             description {
11832                state: "horizontal_next_init" 0.0;
11833                inherit: "default" 0.0;
11834                rel1.relative: 1.0 0.0;
11835                rel2.relative: 2.0 1.0;
11836                color: 255 255 255 255;
11837             }
11838             description {
11839                state: "horizontal_next" 0.0;
11840                inherit: "default" 0.0;
11841                color: 255 255 255 255;
11842             }
11843             description {
11844                state: "horizontal_prev_init" 0.0;
11845                inherit: "default" 0.0;
11846                rel1.relative: -1.0 0.0;
11847                rel2.relative: 0.0 1.0;
11848                color: 255 255 255 255;
11849             }
11850             description {
11851                state: "horizontal_prev" 0.0;
11852                inherit: "default" 0.0;
11853                color: 255 255 255 255;
11854             }
11855             description {
11856                state: "vertical_next_init" 0.0;
11857                inherit: "default" 0.0;
11858                rel1.relative: 0.0 1.0;
11859                rel2.relative: 1.0 2.0;
11860                color: 255 255 255 255;
11861             }
11862             description {
11863                state: "vertical_next" 0.0;
11864                inherit: "default" 0.0;
11865                color: 255 255 255 255;
11866             }
11867             description {
11868                state: "vertical_prev_init" 0.0;
11869                inherit: "default" 0.0;
11870                rel1.relative: 0.0 -1.0;
11871                rel2.relative: 1.0 0.0;
11872                color: 255 255 255 255;
11873             }
11874             description {
11875                state: "vertical_prev" 0.0;
11876                inherit: "default" 0.0;
11877                color: 255 255 255 255;
11878             }
11879             description {
11880                state: "square_prev_next_init" 0.0;
11881                inherit: "default" 0.0;
11882                rel1.relative: 0.5 0.5;
11883                rel2.relative: 0.5 0.5;
11884                color: 255 255 255 255;
11885             }
11886             description {
11887                state: "square_prev_next" 0.0;
11888                inherit: "default" 0.0;
11889                rel1.relative: 0.0 0.0;
11890                rel2.relative: 1.0 1.0;
11891                color: 255 255 255 255;
11892             }
11893          }
11894          part { name: "elm.swallow.1";
11895             type: SWALLOW;
11896             clip_to: "image_1_whole";
11897             description {
11898                state: "default" 0.0;
11899                rel1.to: "image_1_whole";
11900                rel2.to: "image_1_whole";
11901                color: 255 255 255 255;
11902             }
11903             description {
11904                state: "not_fullscreen" 0.0;
11905                rel1.relative: 0.1 0.1;
11906                rel1.to: "image_1_whole";
11907                rel2.relative: 0.9 0.9;
11908                rel2.to: "image_1_whole";
11909                color: 255 255 255 255;
11910             }
11911          }
11912          part { name: "elm.swallow.2";
11913             type: SWALLOW;
11914             clip_to: "image_2_whole";
11915             description {
11916                state: "default" 0.0;
11917                color: 255 255 255 255;
11918                rel1.to: "image_2_whole";
11919                rel2.to: "image_2_whole";
11920             }
11921             description {
11922                state: "not_fullscreen" 0.0;
11923                color: 255 255 255 255;
11924                rel1.relative: 0.1 0.1;
11925                rel1.to: "image_2_whole";
11926                rel2.relative: 0.9 0.9;
11927                rel2.to: "image_2_whole";
11928             }
11929          }
11930          part { name: "events_catcher";
11931             type: RECT;
11932             repeat_events: 1;
11933             description {
11934                state: "default" 0.0;
11935                visible: 1;
11936                color: 0 0 0 0;
11937             }
11938          }
11939       }
11940       programs {
11941         //Substyle
11942         program { name: "layout_fullscreen";
11943             signal: "layout,fullscreen";
11944             source: "slideshow";
11945             action: STATE_SET "default" 0.0;
11946             target: "elm.swallow.1";
11947             target: "elm.swallow.2";
11948             transition: SINUSOIDAL 1.0;
11949         }
11950         program { name: "layout_not_fullscreen";
11951             signal: "layout,not_fullscreen";
11952             source: "slideshow";
11953             action: STATE_SET "not_fullscreen" 0.0;
11954             target: "elm.swallow.1";
11955             target: "elm.swallow.2";
11956             transition: SINUSOIDAL 1.0;
11957          } 
11958          //
11959          program { name: "fade_next";
11960             signal: "fade,next";
11961             source: "slideshow";
11962             action: STATE_SET "default" 0.0;
11963             target: "image_1_whole";
11964             target: "image_2_whole";
11965             after: "fade_next_2";
11966          }
11967          program { name: "fade_next_2";
11968             action: STATE_SET "fade_prev_next" 0.0;
11969             target: "image_1_whole";
11970             target: "image_2_whole";
11971             transition: SINUSOIDAL 1.5;
11972             after: "end";
11973          }
11974          program { name: "fade_previous";
11975             signal: "fade,previous";
11976             source: "slideshow";
11977             action: STATE_SET "default" 0.0;
11978             target: "image_1_whole";
11979             target: "image_2_whole";
11980             after: "fade_previous_2";
11981          }
11982          program { name: "fade_previous_2";
11983             action: STATE_SET "fade_prev_next" 0.0;
11984             target: "image_1_whole";
11985             target: "image_2_whole";
11986             transition: SINUSOIDAL 1.5;
11987             after: "end";
11988          }
11989          program { name: "black_fade_next";
11990             signal: "black_fade,next";
11991             source: "slideshow";
11992             action: STATE_SET "black_fade_prev_next_init" 0.0;
11993             target: "image_1_whole";
11994             target: "image_2_whole";
11995             after: "black_fade_next_2";
11996          }
11997          program { name: "black_fade_next_2";
11998             action: STATE_SET "black_fade_prev_next" 0.0;
11999             target: "image_1_whole";
12000             transition: SINUSOIDAL 0.75;
12001             after: "black_fade_next_3";
12002          }
12003          program { name: "black_fade_next_3";
12004             action: STATE_SET "black_fade_prev_next" 0.0;
12005             target: "image_2_whole";
12006             transition: SINUSOIDAL 0.75;
12007             after: "end";
12008          }
12009          program { name: "black_fade_previous";
12010             signal: "black_fade,previous";
12011             source: "slideshow";
12012             action: STATE_SET "black_fade_prev_next_init" 0.0;
12013             target: "image_1_whole";
12014             target: "image_2_whole";
12015             after: "black_fade_previous_2";
12016          }
12017          program { name: "black_fade_previous_2";
12018             action: STATE_SET "black_fade_prev_next" 0.0;
12019             target: "image_1_whole";
12020             transition: SINUSOIDAL 0.75;
12021             after: "black_fade_previous_3";
12022          }
12023          program { name: "black_fade_previous_3";
12024             action: STATE_SET "black_fade_prev_next" 0.0;
12025             target: "image_2_whole";
12026             transition: SINUSOIDAL 0.75;
12027             after: "end";
12028          }
12029          program { name: "horizontal_next";
12030             signal: "horizontal,next";
12031             source: "slideshow";
12032             action: STATE_SET "horizontal_next_init" 0.0;
12033             target: "image_1_whole";
12034             target: "image_2_whole";
12035             after: "horizontal_next_2";
12036          }
12037          program { name: "horizontal_next_2";
12038             action: STATE_SET "horizontal_next" 0.0;
12039             target: "image_1_whole";
12040             target: "image_2_whole";
12041             transition: SINUSOIDAL 1.5;
12042             after: "end";
12043          }
12044          program { name: "horizontal_previous";
12045             signal: "horizontal,previous";
12046             source: "slideshow";
12047             action: STATE_SET "horizontal_prev_init" 0.0;
12048             target: "image_1_whole";
12049             target: "image_2_whole";
12050             after: "horizontal_previous_2";
12051          }
12052          program { name: "horizontal_previous_2";
12053             action: STATE_SET "horizontal_prev" 0.0;
12054             target: "image_1_whole";
12055             target: "image_2_whole";
12056             transition: SINUSOIDAL 1.5;
12057             after: "end";
12058          }
12059          program { name: "vertical_next";
12060             signal: "vertical,next";
12061             source: "slideshow";
12062             action: STATE_SET "vertical_next_init" 0.0;
12063             target: "image_1_whole";
12064             target: "image_2_whole";
12065             after: "vertical_next_2";
12066          }
12067          program { name: "vertical_next_2";
12068             action: STATE_SET "vertical_next" 0.0;
12069             target: "image_1_whole";
12070             target: "image_2_whole";
12071             transition: SINUSOIDAL 1.5;
12072             after: "end";
12073          }
12074          program { name: "vertical_previous";
12075             signal: "vertical,previous";
12076             source: "slideshow";
12077             action: STATE_SET "vertical_prev_init" 0.0;
12078             target: "image_1_whole";
12079             target: "image_2_whole";
12080             after: "vertical_previous_2";
12081          }
12082          program { name: "vertical_previous_2";
12083             action: STATE_SET "vertical_prev" 0.0;
12084             target: "image_1_whole";
12085             target: "image_2_whole";
12086             transition: SINUSOIDAL 1.5;
12087             after: "end";
12088          }
12089          program { name: "square_next";
12090             signal: "square,next";
12091             source: "slideshow";
12092             action: STATE_SET "square_prev_next_init" 0.0;
12093             target: "image_2_whole";
12094             after: "square_next_2";
12095          }
12096          program { name: "square_next_2";
12097             action: STATE_SET "square_prev_next" 0.0;
12098             target: "image_2_whole";
12099             target: "image_1_whole";
12100             transition: SINUSOIDAL 1.5;
12101             after: "end";
12102          }
12103          program { name: "square_previous";
12104             signal: "square,previous";
12105             source: "slideshow";
12106             action: STATE_SET "square_prev_next_init" 0.0;
12107             target: "image_2_whole";
12108             after: "square_next_2";
12109          }
12110          program { name: "end";
12111             action: SIGNAL_EMIT "end" "slideshow";
12112          }
12113          program { name: "end_signal";
12114             signal: "anim,end";
12115             source: "slideshow";
12116             action: STATE_SET "default" 0.0;
12117             target: "image_1_whole";
12118             target: "image_2_whole";
12119          }
12120       }
12121    }
12122
12123 ///////////////////////////////////////////////////////////////////////////////
12124    group { name: "elm/win/inwin/default";
12125       images {
12126          image: "shad_circ.png" COMP;
12127          image: "bt_dis_base.png" COMP;
12128          image: "bt_dis_hilight.png" COMP;
12129       }
12130       parts {
12131          part { name: "base";
12132             type: RECT;
12133             mouse_events: 1;
12134             description { state: "default" 0.0;
12135                color: 0 0 0 0;
12136             }
12137             description { state: "visible" 0.0;
12138                inherit: "default" 1.0;
12139                color: 0 0 0 64;
12140             }
12141          }
12142          part { name: "shad";
12143             mouse_events:  0;
12144             description { state: "default" 0.0;
12145                image.normal: "shad_circ.png";
12146                rel1.to: "elm.swallow.content";
12147                rel1.offset: -64 -64;
12148                rel2.to: "elm.swallow.content";
12149                rel2.offset: 63 63;
12150                fill.smooth: 0;
12151             }
12152          }
12153          part { name: "pop";
12154             mouse_events: 1;
12155             description { state: "default" 0.0;
12156                rel1.to: "elm.swallow.content";
12157                rel1.offset: -5 -5;
12158                rel2.to: "elm.swallow.content";
12159                rel2.offset: 4 4;
12160                image {
12161                   normal: "bt_dis_base.png";
12162                   border: 4 4 4 4;
12163                }
12164                image.middle: SOLID;
12165             }
12166          }
12167          part { name: "popover";
12168             mouse_events: 0;
12169             description { state: "default" 0.0;
12170                rel1.to: "pop";
12171                rel2.to: "pop";
12172                rel2.relative: 1.0 0.5;
12173                image {
12174                   normal: "bt_dis_hilight.png";
12175                   border: 4 4 4 0;
12176                }
12177             }
12178          }
12179          part { name: "elm.swallow.content";
12180             type: SWALLOW;
12181             description { state: "default" 0.0;
12182                rel1.relative: 0.1 0.1;
12183                rel2.relative: 0.9 0.9;
12184             }
12185          }
12186       }
12187       programs {
12188          program { name: "show";
12189             signal: "elm,action,show";
12190             source: "elm";
12191             action: STATE_SET "visible" 0.0;
12192 //          transition: DECELERATE 0.5;
12193             target: "base";
12194          }
12195          program { name: "hide";
12196             signal: "elm,action,hide";
12197             source: "elm";
12198             action: STATE_SET "default" 0.0;
12199 //          transition: DECELERATE 0.5;
12200             target: "base";
12201          }
12202       }
12203    }
12204
12205    group { name: "elm/win/inwin/minimal";
12206       images {
12207          image: "shad_circ.png" COMP;
12208          image: "bt_dis_base.png" COMP;
12209          image: "bt_dis_hilight.png" COMP;
12210       }
12211       parts {
12212          part { name: "base";
12213             type: RECT;
12214             mouse_events: 1;
12215             description { state: "default" 0.0;
12216                color: 0 0 0 0;
12217             }
12218             description { state: "visible" 0.0;
12219                inherit: "default" 1.0;
12220                color: 0 0 0 64;
12221             }
12222          }
12223          part { name: "shad";
12224             mouse_events:  0;
12225             description { state: "default" 0.0;
12226                image.normal: "shad_circ.png";
12227                rel1.to: "elm.swallow.content";
12228                rel1.offset: -64 -64;
12229                rel2.to: "elm.swallow.content";
12230                rel2.offset: 63 63;
12231                fill.smooth: 0;
12232             }
12233          }
12234          part { name: "pop";
12235             mouse_events: 1;
12236             description { state: "default" 0.0;
12237                rel1.to: "elm.swallow.content";
12238                rel1.offset: -5 -5;
12239                rel2.to: "elm.swallow.content";
12240                rel2.offset: 4 4;
12241                image {
12242                   normal: "bt_dis_base.png";
12243                   border: 4 4 4 4;
12244                }
12245                image.middle: SOLID;
12246             }
12247          }
12248          part { name: "popover";
12249             mouse_events: 0;
12250             description { state: "default" 0.0;
12251                rel1.to: "pop";
12252                rel2.to: "pop";
12253                rel2.relative: 1.0 0.5;
12254                image {
12255                   normal: "bt_dis_hilight.png";
12256                   border: 4 4 4 0;
12257                }
12258             }
12259          }
12260          part { name: "elm.swallow.content";
12261             type: SWALLOW;
12262             description { state: "default" 0.0;
12263                fixed: 1 1;
12264                rel1.relative: 0.5 0.5;
12265                rel2.relative: 0.5 0.5;
12266             }
12267          }
12268       }
12269       programs {
12270          program { name: "show";
12271             signal: "elm,action,show";
12272             source: "elm";
12273             action: STATE_SET "visible" 0.0;
12274 //          transition: DECELERATE 0.5;
12275             target: "base";
12276          }
12277          program { name: "hide";
12278             signal: "elm,action,hide";
12279             source: "elm";
12280             action: STATE_SET "default" 0.0;
12281 //          transition: DECELERATE 0.5;
12282             target: "base";
12283          }
12284       }
12285    }
12286
12287    group { name: "elm/win/inwin/minimal_vertical";
12288       images {
12289          image: "shad_circ.png" COMP;
12290          image: "bt_dis_base.png" COMP;
12291          image: "bt_dis_hilight.png" COMP;
12292       }
12293       parts {
12294          part { name: "base";
12295             type: RECT;
12296             mouse_events: 1;
12297             description { state: "default" 0.0;
12298                color: 0 0 0 0;
12299             }
12300             description { state: "visible" 0.0;
12301                inherit: "default" 1.0;
12302                color: 0 0 0 64;
12303             }
12304          }
12305          part { name: "shad";
12306             mouse_events:  0;
12307             description { state: "default" 0.0;
12308                image.normal: "shad_circ.png";
12309                rel1.to: "elm.swallow.content";
12310                rel1.offset: -64 -64;
12311                rel2.to: "elm.swallow.content";
12312                rel2.offset: 63 63;
12313                fill.smooth: 0;
12314             }
12315          }
12316          part { name: "pop";
12317             mouse_events: 1;
12318             description { state: "default" 0.0;
12319                rel1.to: "elm.swallow.content";
12320                rel1.offset: -5 -5;
12321                rel2.to: "elm.swallow.content";
12322                rel2.offset: 4 4;
12323                image {
12324                   normal: "bt_dis_base.png";
12325                   border: 4 4 4 4;
12326                }
12327                image.middle: SOLID;
12328             }
12329          }
12330          part { name: "popover";
12331             mouse_events: 0;
12332             description { state: "default" 0.0;
12333                rel1.to: "pop";
12334                rel2.to: "pop";
12335                rel2.relative: 1.0 0.5;
12336                image {
12337                   normal: "bt_dis_hilight.png";
12338                   border: 4 4 4 0;
12339                }
12340             }
12341          }
12342          part { name: "elm.swallow.content";
12343             type: SWALLOW;
12344             description { state: "default" 0.0;
12345                fixed: 1 1;
12346                rel1.relative: 0.1 0.5;
12347                rel2.relative: 0.9 0.5;
12348             }
12349          }
12350       }
12351       programs {
12352          program { name: "show";
12353             signal: "elm,action,show";
12354             source: "elm";
12355             action: STATE_SET "visible" 0.0;
12356 //          transition: DECELERATE 0.5;
12357             target: "base";
12358          }
12359          program { name: "hide";
12360             signal: "elm,action,hide";
12361             source: "elm";
12362             action: STATE_SET "default" 0.0;
12363 //          transition: DECELERATE 0.5;
12364             target: "base";
12365          }
12366       }
12367    }
12368
12369 ///////////////////////////////////////////////////////////////////////////////
12370
12371 ///////////////////////////////////////////////////////////////////////////////
12372    group { name: "elm/list/item/default";
12373       data.item: "stacking" "above";
12374       images {
12375          image: "bt_sm_base1.png" COMP;
12376          image: "bt_sm_shine.png" COMP;
12377          image: "bt_sm_hilight.png" COMP;
12378          image: "ilist_1.png" COMP;
12379          image: "ilist_item_shadow.png" COMP;
12380       }
12381       parts {
12382          part {
12383             name:           "event";
12384             type:           RECT;
12385             repeat_events: 1;
12386             description {
12387                state: "default" 0.0;
12388                color: 0 0 0 0;
12389             }
12390          }
12391          part {
12392             name: "base_sh";
12393             mouse_events: 0;
12394             description {
12395                state: "default" 0.0;
12396                align: 0.0 0.0;
12397                min: 0 10;
12398                fixed: 1 1;
12399                rel1 {
12400                   to: "base";
12401                   relative: 0.0 1.0;
12402                   offset: 0 0;
12403                }
12404                rel2 {
12405                   to: "base";
12406                   relative: 1.0 1.0;
12407                   offset: -1 0;
12408                }
12409                image {
12410                   normal: "ilist_item_shadow.png";
12411                }
12412                fill.smooth: 0;
12413             }
12414          }
12415          part {
12416             name: "base";
12417             mouse_events: 0;
12418             description {
12419                state: "default" 0.0;
12420                image {
12421                   normal: "ilist_1.png";
12422                   border: 2 2 2 2;
12423                }
12424                fill.smooth: 0;
12425             }
12426          }
12427          part { name: "bg";
12428             mouse_events: 0;
12429             description { state: "default" 0.0;
12430                visible: 0;
12431                color: 255 255 255 0;
12432                rel1 {
12433                   relative: 0.0 0.0;
12434                   offset: -5 -5;
12435                }
12436                rel2 {
12437                   relative: 1.0 1.0;
12438                   offset: 4 4;
12439                }
12440                image {
12441                   normal: "bt_sm_base1.png";
12442                   border: 6 6 6 6;
12443                }
12444                image.middle: SOLID;
12445             }
12446             description { state: "selected" 0.0;
12447                inherit: "default" 0.0;
12448                visible: 1;
12449                color: 255 255 255 255;
12450                rel1 {
12451                   relative: 0.0 0.0;
12452                   offset: -2 -2;
12453                }
12454                rel2 {
12455                   relative: 1.0 1.0;
12456                   offset: 1 1;
12457                }
12458             }
12459          }
12460          part { name: "elm.swallow.icon";
12461             type: SWALLOW;
12462             description { state: "default" 0.0;
12463                fixed: 1 0;
12464                align: 0.0 0.5;
12465                rel1 {
12466                   relative: 0.0  0.0;
12467                   offset:   4    4;
12468                }
12469                rel2 {
12470                   relative: 0.0  1.0;
12471                   offset:   4   -5;
12472                }
12473             }
12474          }
12475          part { name: "elm.swallow.end";
12476             type: SWALLOW;
12477             description { state: "default" 0.0;
12478                fixed: 1 0;
12479                align: 1.0 0.5;
12480                rel1 {
12481                   relative: 1.0  0.0;
12482                   offset:   -5    4;
12483                }
12484                rel2 {
12485                   relative: 1.0  1.0;
12486                   offset:   -5   -5;
12487                }
12488             }
12489          }
12490          part { name: "elm.text";
12491             type:           TEXT;
12492             effect:         SOFT_SHADOW;
12493             mouse_events:   0;
12494             scale: 1;
12495             description {
12496                state: "default" 0.0;
12497 //               min: 16 16;
12498                rel1 {
12499                   to_x:     "elm.swallow.icon";
12500                   relative: 1.0  0.0;
12501                   offset:   4 4;
12502                }
12503                rel2 {
12504                   to_x:     "elm.swallow.end";
12505                   relative: 0.0  1.0;
12506                   offset:   -1 -5;
12507                }
12508                color: 0 0 0 255;
12509                color3: 0 0 0 0;
12510                text {
12511                   font: "Sans";
12512                   size: 10;
12513                   min: 1 1;
12514 //                  min: 0 1;
12515                   align: -1.0 0.5;
12516                   text_class: "list_item";
12517                }
12518             }
12519             description { state: "selected" 0.0;
12520                inherit: "default" 0.0;
12521                color: 224 224 224 255;
12522                color3: 0 0 0 64;
12523             }
12524          }
12525          part { name: "fg1";
12526             mouse_events: 0;
12527             description { state: "default" 0.0;
12528                visible: 0;
12529                color: 255 255 255 0;
12530                rel1.to: "bg";
12531                rel2.relative: 1.0 0.5;
12532                rel2.to: "bg";
12533                image {
12534                   normal: "bt_sm_hilight.png";
12535                   border: 6 6 6 0;
12536                }
12537             }
12538             description { state: "selected" 0.0;
12539                inherit: "default" 0.0;
12540                visible: 1;
12541                color: 255 255 255 255;
12542             }
12543          }
12544          part { name: "fg2";
12545             mouse_events: 0;
12546             description { state: "default" 0.0;
12547                visible: 0;
12548                color: 255 255 255 0;
12549                rel1.to: "bg";
12550                rel2.to: "bg";
12551                image {
12552                   normal: "bt_sm_shine.png";
12553                   border: 6 6 6 0;
12554                }
12555             }
12556             description { state: "selected" 0.0;
12557                inherit: "default" 0.0;
12558                visible: 1;
12559                color: 255 255 255 255;
12560             }
12561          }
12562       }
12563       programs {
12564          program {
12565             name:    "go_active";
12566             signal:  "elm,state,selected";
12567             source:  "elm";
12568             action:  STATE_SET "selected" 0.0;
12569             target:  "bg";
12570             target:  "fg1";
12571             target:  "fg2";
12572             target:  "elm.text";
12573          }
12574          program {
12575             name:    "go_passive";
12576             signal:  "elm,state,unselected";
12577             source:  "elm";
12578             action:  STATE_SET "default" 0.0;
12579             target:  "bg";
12580             target:  "fg1";
12581             target:  "fg2";
12582             target:  "elm.text";
12583             transition: LINEAR 0.1;
12584          }
12585       }
12586    }
12587    group { name: "elm/list/item_odd/default";
12588       data.item: "stacking" "below";
12589       data.item: "selectraise" "on";
12590       images {
12591          image: "bt_sm_base1.png" COMP;
12592          image: "bt_sm_shine.png" COMP;
12593          image: "bt_sm_hilight.png" COMP;
12594          image: "ilist_2.png" COMP;
12595       }
12596       parts {
12597          part {
12598             name:           "event";
12599             type:           RECT;
12600             repeat_events: 1;
12601             description {
12602                state: "default" 0.0;
12603                color: 0 0 0 0;
12604             }
12605          }
12606          part {
12607             name: "base";
12608             mouse_events: 0;
12609             description {
12610                state: "default" 0.0;
12611                image {
12612                   normal: "ilist_2.png";
12613                   border: 2 2 2 2;
12614                }
12615                fill.smooth: 0;
12616             }
12617          }
12618          part { name: "bg";
12619             mouse_events: 0;
12620             description { state: "default" 0.0;
12621                visible: 0;
12622                color: 255 255 255 0;
12623                rel1 {
12624                   relative: 0.0 0.0;
12625                   offset: -5 -5;
12626                }
12627                rel2 {
12628                   relative: 1.0 1.0;
12629                   offset: 4 4;
12630                }
12631                image {
12632                   normal: "bt_sm_base1.png";
12633                   border: 6 6 6 6;
12634                }
12635                image.middle: SOLID;
12636             }
12637             description { state: "selected" 0.0;
12638                inherit: "default" 0.0;
12639                visible: 1;
12640                color: 255 255 255 255;
12641                rel1 {
12642                   relative: 0.0 0.0;
12643                   offset: -2 -2;
12644                }
12645                rel2 {
12646                   relative: 1.0 1.0;
12647                   offset: 1 1;
12648                }
12649             }
12650          }
12651          part {
12652             name:          "elm.swallow.icon";
12653             type:          SWALLOW;
12654             description { state:    "default" 0.0;
12655                fixed: 1 0;
12656                align:    0.0 0.5;
12657                rel1 {
12658                   relative: 0.0  0.0;
12659                   offset:   4    4;
12660                }
12661                rel2 {
12662                   relative: 0.0  1.0;
12663                   offset:   4   -5;
12664                }
12665             }
12666          }
12667          part {
12668             name:          "elm.swallow.end";
12669             type:          SWALLOW;
12670             description { state:    "default" 0.0;
12671                fixed: 1 0;
12672                align: 1.0 0.5;
12673                rel1 {
12674                   relative: 1.0  0.0;
12675                   offset:   -5    4;
12676                }
12677                rel2 {
12678                   relative: 1.0  1.0;
12679                   offset:   -5   -5;
12680                }
12681             }
12682          }
12683          part {
12684             name:           "elm.text";
12685             type:           TEXT;
12686             effect:         SOFT_SHADOW;
12687             mouse_events:   0;
12688             scale: 1;
12689             description {
12690                state: "default" 0.0;
12691 //               min:      16 16;
12692                rel1 {
12693                   to_x:     "elm.swallow.icon";
12694                   relative: 1.0  0.0;
12695                   offset:   4 4;
12696                }
12697                rel2 {
12698                   to_x:     "elm.swallow.end";
12699                   relative: 0.0  1.0;
12700                   offset:   -1 -5;
12701                }
12702                color: 0 0 0 255;
12703                color3: 0 0 0 0;
12704                text {
12705                   font: "Sans";
12706                   size: 10;
12707                   min: 1 1;
12708 //                  min: 0 1;
12709                   align: -1.0 0.5;
12710                   text_class: "list_item";
12711                }
12712             }
12713             description { state: "selected" 0.0;
12714                inherit: "default" 0.0;
12715                color: 224 224 224 255;
12716                color3: 0 0 0 64;
12717             }
12718          }
12719          part { name: "fg1";
12720             mouse_events: 0;
12721             description { state: "default" 0.0;
12722                visible: 0;
12723                color: 255 255 255 0;
12724                rel1.to: "bg";
12725                rel2.relative: 1.0 0.5;
12726                rel2.to: "bg";
12727                image {
12728                   normal: "bt_sm_hilight.png";
12729                   border: 6 6 6 0;
12730                }
12731             }
12732             description { state: "selected" 0.0;
12733                inherit: "default" 0.0;
12734                visible: 1;
12735                color: 255 255 255 255;
12736             }
12737          }
12738          part { name: "fg2";
12739             mouse_events: 0;
12740             description { state: "default" 0.0;
12741                visible: 0;
12742                color: 255 255 255 0;
12743                rel1.to: "bg";
12744                rel2.to: "bg";
12745                image {
12746                   normal: "bt_sm_shine.png";
12747                   border: 6 6 6 0;
12748                }
12749             }
12750             description { state: "selected" 0.0;
12751                inherit: "default" 0.0;
12752                visible: 1;
12753                color: 255 255 255 255;
12754             }
12755          }
12756       }
12757       programs {
12758          program {
12759             name:    "go_active";
12760             signal:  "elm,state,selected";
12761             source:  "elm";
12762             action:  STATE_SET "selected" 0.0;
12763             target:  "bg";
12764             target:  "fg1";
12765             target:  "fg2";
12766             target:  "elm.text";
12767          }
12768          program {
12769             name:    "go_passive";
12770             signal:  "elm,state,unselected";
12771             source:  "elm";
12772             action:  STATE_SET "default" 0.0;
12773             target:  "bg";
12774             target:  "fg1";
12775             target:  "fg2";
12776             target:  "elm.text";
12777             transition: LINEAR 0.1;
12778          }
12779       }
12780    }
12781    group { name: "elm/list/item_compress/default";
12782       data.item: "stacking" "above";
12783       data.item: "selectraise" "on";
12784       images {
12785          image: "bt_sm_base1.png" COMP;
12786          image: "bt_sm_shine.png" COMP;
12787          image: "bt_sm_hilight.png" COMP;
12788          image: "ilist_1.png" COMP;
12789          image: "ilist_item_shadow.png" COMP;
12790       }
12791       parts {
12792          part {
12793             name:           "event";
12794             type:           RECT;
12795             repeat_events: 1;
12796             description {
12797                state: "default" 0.0;
12798                color: 0 0 0 0;
12799             }
12800          }
12801          part {
12802             name: "base_sh";
12803             mouse_events: 0;
12804             description { state: "default" 0.0;
12805                fixed: 1 1;
12806                align: 0.0 0.0;
12807                min: 0 10;
12808                rel1 {
12809                   to: "base";
12810                   relative: 0.0 1.0;
12811                   offset: 0 0;
12812                }
12813                rel2 {
12814                   to: "base";
12815                   relative: 1.0 1.0;
12816                   offset: -1 0;
12817                }
12818                image {
12819                   normal: "ilist_item_shadow.png";
12820                }
12821                fill.smooth: 0;
12822             }
12823          }
12824          part {
12825             name: "base";
12826             mouse_events: 0;
12827             description {
12828                state: "default" 0.0;
12829                image {
12830                   normal: "ilist_1.png";
12831                   border: 2 2 2 2;
12832                }
12833                fill.smooth: 0;
12834             }
12835          }
12836          part { name: "bg";
12837             mouse_events: 0;
12838             description { state: "default" 0.0;
12839                visible: 0;
12840                color: 255 255 255 0;
12841                rel1 {
12842                   relative: 0.0 0.0;
12843                   offset: -5 -5;
12844                }
12845                rel2 {
12846                   relative: 1.0 1.0;
12847                   offset: 4 4;
12848                }
12849                image {
12850                   normal: "bt_sm_base1.png";
12851                   border: 6 6 6 6;
12852                }
12853                image.middle: SOLID;
12854             }
12855             description { state: "selected" 0.0;
12856                inherit: "default" 0.0;
12857                visible: 1;
12858                color: 255 255 255 255;
12859                rel1 {
12860                   relative: 0.0 0.0;
12861                   offset: -2 -2;
12862                }
12863                rel2 {
12864                   relative: 1.0 1.0;
12865                   offset: 1 1;
12866                }
12867             }
12868          }
12869          part { name:          "elm.swallow.icon";
12870             type:          SWALLOW;
12871             description { state:    "default" 0.0;
12872                fixed: 1 0;
12873                align:    0.0 0.5;
12874                rel1 {
12875                   relative: 0.0  0.0;
12876                   offset:   4    4;
12877                }
12878                rel2 {
12879                   relative: 0.0  1.0;
12880                   offset:   4   -5;
12881                }
12882             }
12883          }
12884          part { name:          "elm.swallow.end";
12885             type:          SWALLOW;
12886             description { state:    "default" 0.0;
12887                fixed: 1 0;
12888                align:    1.0 0.5;
12889                rel1 {
12890                   relative: 1.0  0.0;
12891                   offset:   -5    4;
12892                }
12893                rel2 {
12894                   relative: 1.0  1.0;
12895                   offset:   -5   -5;
12896                }
12897             }
12898          }
12899          part {
12900             name:           "elm.text";
12901             type:           TEXT;
12902             effect:         SOFT_SHADOW;
12903             mouse_events:   0;
12904             scale: 1;
12905             description { state: "default" 0.0;
12906 //               min:      16 16;
12907                rel1 {
12908                   to_x:     "elm.swallow.icon";
12909                   relative: 1.0  0.0;
12910                   offset:   4 4;
12911                }
12912                rel2 {
12913                   to_x:     "elm.swallow.end";
12914                   relative: 0.0  1.0;
12915                   offset:   -1 -5;
12916                }
12917                color: 0 0 0 255;
12918                color3: 0 0 0 0;
12919                text {
12920                   font: "Sans";
12921                   size: 10;
12922 //                  min: 1 1;
12923                   min: 0 1;
12924                   align: 0.0 0.5;
12925                   text_class: "list_item";
12926                }
12927             }
12928             description { state: "selected" 0.0;
12929                inherit: "default" 0.0;
12930                color: 224 224 224 255;
12931                color3: 0 0 0 64;
12932             }
12933          }
12934          part { name: "fg1";
12935             mouse_events: 0;
12936             description { state: "default" 0.0;
12937                visible: 0;
12938                color: 255 255 255 0;
12939                rel1.to: "bg";
12940                rel2.relative: 1.0 0.5;
12941                rel2.to: "bg";
12942                image {
12943                   normal: "bt_sm_hilight.png";
12944                   border: 6 6 6 0;
12945                }
12946             }
12947             description { state: "selected" 0.0;
12948                inherit: "default" 0.0;
12949                visible: 1;
12950                color: 255 255 255 255;
12951             }
12952          }
12953          part { name: "fg2";
12954             mouse_events: 0;
12955             description { state: "default" 0.0;
12956                visible: 0;
12957                color: 255 255 255 0;
12958                rel1.to: "bg";
12959                rel2.to: "bg";
12960                image {
12961                   normal: "bt_sm_shine.png";
12962                   border: 6 6 6 0;
12963                }
12964             }
12965             description { state: "selected" 0.0;
12966                inherit: "default" 0.0;
12967                visible: 1;
12968                color: 255 255 255 255;
12969             }
12970          }
12971       }
12972       programs {
12973          program {
12974             name:    "go_active";
12975             signal:  "elm,state,selected";
12976             source:  "elm";
12977             action:  STATE_SET "selected" 0.0;
12978             target:  "bg";
12979             target:  "fg1";
12980             target:  "fg2";
12981             target:  "elm.text";
12982          }
12983          program {
12984             name:    "go_passive";
12985             signal:  "elm,state,unselected";
12986             source:  "elm";
12987             action:  STATE_SET "default" 0.0;
12988             target:  "bg";
12989             target:  "fg1";
12990             target:  "fg2";
12991             target:  "elm.text";
12992             transition: LINEAR 0.1;
12993          }
12994       }
12995    }
12996    group { name: "elm/list/item_compress_odd/default";
12997       data.item: "stacking" "below";
12998       data.item: "selectraise" "on";
12999       images {
13000          image: "bt_sm_base1.png" COMP;
13001          image: "bt_sm_shine.png" COMP;
13002          image: "bt_sm_hilight.png" COMP;
13003          image: "ilist_2.png" COMP;
13004       }
13005       parts {
13006          part {
13007             name:           "event";
13008             type:           RECT;
13009             repeat_events: 1;
13010             description {
13011                state: "default" 0.0;
13012                color: 0 0 0 0;
13013             }
13014          }
13015          part {
13016             name: "base";
13017             mouse_events: 0;
13018             description {
13019                state: "default" 0.0;
13020                image {
13021                   normal: "ilist_2.png";
13022                   border: 2 2 2 2;
13023                }
13024                fill.smooth: 0;
13025             }
13026          }
13027          part { name: "bg";
13028             mouse_events: 0;
13029             description { state: "default" 0.0;
13030                visible: 0;
13031                color: 255 255 255 0;
13032                rel1 {
13033                   relative: 0.0 0.0;
13034                   offset: -5 -5;
13035                }
13036                rel2 {
13037                   relative: 1.0 1.0;
13038                   offset: 4 4;
13039                }
13040                image {
13041                   normal: "bt_sm_base1.png";
13042                   border: 6 6 6 6;
13043                }
13044                image.middle: SOLID;
13045             }
13046             description { state: "selected" 0.0;
13047                inherit: "default" 0.0;
13048                visible: 1;
13049                color: 255 255 255 255;
13050                rel1 {
13051                   relative: 0.0 0.0;
13052                   offset: -2 -2;
13053                }
13054                rel2 {
13055                   relative: 1.0 1.0;
13056                   offset: 1 1;
13057                }
13058             }
13059          }
13060          part { name:          "elm.swallow.icon";
13061             type:          SWALLOW;
13062             description { state:    "default" 0.0;
13063                fixed: 1 0;
13064                align:    0.0 0.5;
13065                rel1 {
13066                   relative: 0.0  0.0;
13067                   offset:   4    4;
13068                }
13069                rel2 {
13070                   relative: 0.0  1.0;
13071                   offset:   4   -5;
13072                }
13073             }
13074          }
13075          part { name:          "elm.swallow.end";
13076             type:          SWALLOW;
13077             description { state:    "default" 0.0;
13078                fixed: 1 0;
13079                align:    1.0 0.5;
13080                rel1 {
13081                   relative: 1.0  0.0;
13082                   offset:   -5    4;
13083                }
13084                rel2 {
13085                   relative: 1.0  1.0;
13086                   offset:   -5   -5;
13087                }
13088             }
13089          }
13090          part {
13091             name:           "elm.text";
13092             type:           TEXT;
13093             effect:         SOFT_SHADOW;
13094             mouse_events:   0;
13095             scale: 1;
13096             description {
13097                state: "default" 0.0;
13098 //               min:      16 16;
13099                rel1 {
13100                   to_x:     "elm.swallow.icon";
13101                   relative: 1.0  0.0;
13102                   offset:   4 4;
13103                }
13104                rel2 {
13105                   to_x:     "elm.swallow.end";
13106                   relative: 0.0  1.0;
13107                   offset:   -1 -5;
13108                }
13109                color: 0 0 0 255;
13110                color3: 0 0 0 0;
13111                text {
13112                   font: "Sans";
13113                   size: 10;
13114 //                  min: 1 1;
13115                   min: 0 1;
13116                   align: 0.0 0.5;
13117                   text_class: "list_item";
13118                }
13119             }
13120             description { state: "selected" 0.0;
13121                inherit: "default" 0.0;
13122                color: 224 224 224 255;
13123                color3: 0 0 0 64;
13124             }
13125          }
13126          part { name: "fg1";
13127             mouse_events: 0;
13128             description { state: "default" 0.0;
13129                visible: 0;
13130                color: 255 255 255 0;
13131                rel1.to: "bg";
13132                rel2.relative: 1.0 0.5;
13133                rel2.to: "bg";
13134                image {
13135                   normal: "bt_sm_hilight.png";
13136                   border: 6 6 6 0;
13137                }
13138             }
13139             description { state: "selected" 0.0;
13140                inherit: "default" 0.0;
13141                visible: 1;
13142                color: 255 255 255 255;
13143             }
13144          }
13145          part { name: "fg2";
13146             mouse_events: 0;
13147             description { state: "default" 0.0;
13148                visible: 0;
13149                color: 255 255 255 0;
13150                rel1.to: "bg";
13151                rel2.to: "bg";
13152                image {
13153                   normal: "bt_sm_shine.png";
13154                   border: 6 6 6 0;
13155                }
13156             }
13157             description { state: "selected" 0.0;
13158                inherit: "default" 0.0;
13159                visible: 1;
13160                color: 255 255 255 255;
13161             }
13162          }
13163       }
13164       programs {
13165          program {
13166             name:    "go_active";
13167             signal:  "elm,state,selected";
13168             source:  "elm";
13169             action:  STATE_SET "selected" 0.0;
13170             target:  "bg";
13171             target:  "fg1";
13172             target:  "fg2";
13173             target:  "elm.text";
13174          }
13175          program {
13176             name:    "go_passive";
13177             signal:  "elm,state,unselected";
13178             source:  "elm";
13179             action:  STATE_SET "default" 0.0;
13180             target:  "bg";
13181             target:  "fg1";
13182             target:  "fg2";
13183             target:  "elm.text";
13184             transition: LINEAR 0.1;
13185          }
13186       }
13187    }
13188
13189 ///////////////////////////////////////////////////////////////////////////////
13190    group { name: "elm/list/h_item/default";
13191       data.item: "stacking" "above";
13192       images {
13193          image: "bt_sm_base1.png" COMP;
13194          image: "bt_sm_shine.png" COMP;
13195          image: "bt_sm_hilight.png" COMP;
13196          image: "ilist_1_h.png" COMP;
13197          image: "ilist_item_shadow_h.png" COMP;
13198       }
13199       parts {
13200          part {
13201             name: "event";
13202             type: RECT;
13203             repeat_events: 1;
13204             description {
13205                state: "default" 0.0;
13206                color: 0 0 0 0;
13207             }
13208          }
13209          part {
13210             name: "base_sh";
13211             mouse_events: 0;
13212             description {
13213                state: "default" 0.0;
13214                align: 0.0 0.0;
13215                min: 10 0;
13216                fixed: 1 1;
13217                rel1 {
13218                   to: "base";
13219                   relative: 1.0 0.0;
13220                   offset: 0 0;
13221                }
13222                rel2 {
13223                   to: "base";
13224                   relative: 1.0 1.0;
13225                   offset: 0 -1;
13226                }
13227                image {
13228                   normal: "ilist_item_shadow_h.png";
13229                }
13230                fill.smooth: 0;
13231             }
13232          }
13233          part {
13234             name: "base";
13235             mouse_events: 0;
13236             description {
13237                state: "default" 0.0;
13238                image {
13239                   normal: "ilist_1_h.png";
13240                   border: 2 2 2 2;
13241                }
13242                fill.smooth: 0;
13243             }
13244          }
13245          part { name: "bg";
13246             mouse_events: 0;
13247             description { state: "default" 0.0;
13248                visible: 0;
13249                color: 255 255 255 0;
13250                rel1 {
13251                   relative: 0.0 0.0;
13252                   offset: -5 -5;
13253                }
13254                rel2 {
13255                   relative: 1.0 1.0;
13256                   offset: 4 4;
13257                }
13258                image {
13259                   normal: "bt_sm_base1.png";
13260                   border: 6 6 6 6;
13261                }
13262                image.middle: SOLID;
13263             }
13264             description { state: "selected" 0.0;
13265                inherit: "default" 0.0;
13266                visible: 1;
13267                color: 255 255 255 255;
13268                rel1 {
13269                   relative: 0.0 0.0;
13270                   offset: -2 -2;
13271                }
13272                rel2 {
13273                   relative: 1.0 1.0;
13274                   offset: 1 1;
13275                }
13276             }
13277          }
13278          part { name: "elm.swallow.icon";
13279             type: SWALLOW;
13280             description { state: "default" 0.0;
13281                fixed: 0 1;
13282                align: 0.5 0.0;
13283                rel1 {
13284                   relative: 0.0 0.0;
13285                   offset: 4 4;
13286                }
13287                rel2 {
13288                   relative: 1.0 0.0;
13289                   offset: -5 4;
13290                }
13291             }
13292          }
13293          part { name: "elm.swallow.end";
13294             type: SWALLOW;
13295             description { state: "default" 0.0;
13296                fixed: 0 1;
13297                align: 0.5 1.0;
13298                rel1 {
13299                   relative: 0.0 1.0;
13300                   offset: 4 -5;
13301                }
13302                rel2 {
13303                   relative: 1.0 1.0;
13304                   offset: -5 -5;
13305                }
13306             }
13307          }
13308          part { name: "elm.text";
13309             type: TEXT;
13310             effect: SOFT_SHADOW;
13311             mouse_events: 0;
13312             scale: 1;
13313             description {
13314                state: "default" 0.0;
13315                fixed: 0 1;
13316                rel1 {
13317                   to_x: "elm.swallow.icon";
13318                   relative: 0.0 1.0;
13319                   offset: 4 4;
13320                }
13321                rel2 {
13322                   to_x: "elm.swallow.end";
13323                   relative: 1.0 0.0;
13324                   offset: -5 -1;
13325                }
13326                color: 0 0 0 255;
13327                color3: 0 0 0 0;
13328                text {
13329                   font: "Sans";
13330                   size: 10;
13331                   min: 1 1;
13332                   align: 0.5 0.5;
13333                   text_class: "list_item";
13334                }
13335             }
13336             description { state: "selected" 0.0;
13337                inherit: "default" 0.0;
13338                color: 224 224 224 255;
13339                color3: 0 0 0 64;
13340             }
13341          }
13342          part { name: "fg1";
13343             mouse_events: 0;
13344             description { state: "default" 0.0;
13345                visible: 0;
13346                color: 255 255 255 0;
13347                rel1.to: "bg";
13348                rel2.relative: 1.0 0.5;
13349                rel2.to: "bg";
13350                image {
13351                   normal: "bt_sm_hilight.png";
13352                   border: 6 6 6 0;
13353                }
13354             }
13355             description { state: "selected" 0.0;
13356                inherit: "default" 0.0;
13357                visible: 1;
13358                color: 255 255 255 255;
13359             }
13360          }
13361          part { name: "fg2";
13362             mouse_events: 0;
13363             description { state: "default" 0.0;
13364                visible: 0;
13365                color: 255 255 255 0;
13366                rel1.to: "bg";
13367                rel2.to: "bg";
13368                image {
13369                   normal: "bt_sm_shine.png";
13370                   border: 6 6 6 0;
13371                }
13372             }
13373             description { state: "selected" 0.0;
13374                inherit: "default" 0.0;
13375                visible: 1;
13376                color: 255 255 255 255;
13377             }
13378          }
13379       }
13380       programs {
13381          program {
13382             name: "go_active";
13383             signal: "elm,state,selected";
13384             source: "elm";
13385             action: STATE_SET "selected" 0.0;
13386             target: "bg";
13387             target: "fg1";
13388             target: "fg2";
13389             target: "elm.text";
13390          }
13391          program {
13392             name: "go_passive";
13393             signal: "elm,state,unselected";
13394             source: "elm";
13395             action: STATE_SET "default" 0.0;
13396             target: "bg";
13397             target: "fg1";
13398             target: "fg2";
13399             target: "elm.text";
13400             transition: LINEAR 0.1;
13401          }
13402       }
13403    }
13404    group { name: "elm/list/h_item_odd/default";
13405       data.item: "stacking" "below";
13406       data.item: "selectraise" "on";
13407       images {
13408          image: "bt_sm_base1.png" COMP;
13409          image: "bt_sm_shine.png" COMP;
13410          image: "bt_sm_hilight.png" COMP;
13411          image: "ilist_2_h.png" COMP;
13412       }
13413       parts {
13414          part {
13415             name: "event";
13416             type: RECT;
13417             repeat_events: 1;
13418             description {
13419                state: "default" 0.0;
13420                color: 0 0 0 0;
13421             }
13422          }
13423          part {
13424             name: "base";
13425             mouse_events: 0;
13426             description {
13427                state: "default" 0.0;
13428                image {
13429                   normal: "ilist_2_h.png";
13430                   border: 2 2 2 2;
13431                }
13432                fill.smooth: 0;
13433             }
13434          }
13435          part { name: "bg";
13436             mouse_events: 0;
13437             description { state: "default" 0.0;
13438                visible: 0;
13439                color: 255 255 255 0;
13440                rel1 {
13441                   relative: 0.0 0.0;
13442                   offset: -5 -5;
13443                }
13444                rel2 {
13445                   relative: 1.0 1.0;
13446                   offset: 4 4;
13447                }
13448                image {
13449                   normal: "bt_sm_base1.png";
13450                   border: 6 6 6 6;
13451                }
13452                image.middle: SOLID;
13453             }
13454             description { state: "selected" 0.0;
13455                inherit: "default" 0.0;
13456                visible: 1;
13457                color: 255 255 255 255;
13458                rel1 {
13459                   relative: 0.0 0.0;
13460                   offset: -2 -2;
13461                }
13462                rel2 {
13463                   relative: 1.0 1.0;
13464                   offset: 1 1;
13465                }
13466             }
13467          }
13468          part {
13469             name: "elm.swallow.icon";
13470             type: SWALLOW;
13471             description { state: "default" 0.0;
13472                fixed: 0 1;
13473                align: 0.5 0.0;
13474                rel1 {
13475                   relative: 0.0 0.0;
13476                   offset: 4 4;
13477                }
13478                rel2 {
13479                   relative: 1.0 0.0;
13480                   offset: -5 4;
13481                }
13482             }
13483          }
13484          part {
13485             name: "elm.swallow.end";
13486             type: SWALLOW;
13487             description { state: "default" 0.0;
13488                fixed: 0 1;
13489                align: 0.5 1.0;
13490                rel1 {
13491                   relative: 0.0 1.0;
13492                   offset: 4 -5;
13493                }
13494                rel2 {
13495                   relative: 1.0 1.0;
13496                   offset: -5 -5;
13497                }
13498             }
13499          }
13500          part { name: "elm.text";
13501             type: TEXT;
13502             effect: SOFT_SHADOW;
13503             mouse_events: 0;
13504             scale: 1;
13505             description {
13506                state: "default" 0.0;
13507                fixed: 1 1;
13508                rel1 {
13509                   to_x: "elm.swallow.icon";
13510                   relative: 0.0 1.0;
13511                   offset: 4 4;
13512                }
13513                rel2 {
13514                   to_x: "elm.swallow.end";
13515                   relative: 1.0 0.0;
13516                   offset: -5 -1;
13517                }
13518                color: 0 0 0 255;
13519                color3: 0 0 0 0;
13520                text {
13521                   font: "Sans";
13522                   size: 10;
13523                   min: 1 1;
13524                   align: 0.5 0.5;
13525                   text_class: "list_item";
13526                }
13527             }
13528             description { state: "selected" 0.0;
13529                inherit: "default" 0.0;
13530                color: 224 224 224 255;
13531                color3: 0 0 0 64;
13532             }
13533          }
13534          part { name: "fg1";
13535             mouse_events: 0;
13536             description { state: "default" 0.0;
13537                visible: 0;
13538                color: 255 255 255 0;
13539                rel1.to: "bg";
13540                rel2.relative: 1.0 0.5;
13541                rel2.to: "bg";
13542                image {
13543                   normal: "bt_sm_hilight.png";
13544                   border: 6 6 6 0;
13545                }
13546             }
13547             description { state: "selected" 0.0;
13548                inherit: "default" 0.0;
13549                visible: 1;
13550                color: 255 255 255 255;
13551             }
13552          }
13553          part { name: "fg2";
13554             mouse_events: 0;
13555             description { state: "default" 0.0;
13556                visible: 0;
13557                color: 255 255 255 0;
13558                rel1.to: "bg";
13559                rel2.to: "bg";
13560                image {
13561                   normal: "bt_sm_shine.png";
13562                   border: 6 6 6 0;
13563                }
13564             }
13565             description { state: "selected" 0.0;
13566                inherit: "default" 0.0;
13567                visible: 1;
13568                color: 255 255 255 255;
13569             }
13570          }
13571       }
13572       programs {
13573          program {
13574             name: "go_active";
13575             signal: "elm,state,selected";
13576             source: "elm";
13577             action: STATE_SET "selected" 0.0;
13578             target: "bg";
13579             target: "fg1";
13580             target: "fg2";
13581             target: "elm.text";
13582          }
13583          program {
13584             name: "go_passive";
13585             signal: "elm,state,unselected";
13586             source: "elm";
13587             action: STATE_SET "default" 0.0;
13588             target: "bg";
13589             target: "fg1";
13590             target: "fg2";
13591             target: "elm.text";
13592             transition: LINEAR 0.1;
13593          }
13594       }
13595    }
13596    group { name: "elm/list/h_item_compress/default";
13597       data.item: "stacking" "above";
13598       data.item: "selectraise" "on";
13599       images {
13600          image: "bt_sm_base1.png" COMP;
13601          image: "bt_sm_shine.png" COMP;
13602          image: "bt_sm_hilight.png" COMP;
13603          image: "ilist_1_h.png" COMP;
13604          image: "ilist_item_shadow_h.png" COMP;
13605       }
13606       parts {
13607          part {
13608             name: "event";
13609             type: RECT;
13610             repeat_events: 1;
13611             description {
13612                state: "default" 0.0;
13613                color: 0 0 0 0;
13614             }
13615          }
13616          part {
13617             name: "base_sh";
13618             mouse_events: 0;
13619             description { state: "default" 0.0;
13620                fixed: 1 1;
13621                align: 0.0 0.0;
13622                min: 10 0;
13623                rel1 {
13624                   to: "base";
13625                   relative: 1.0 0.0;
13626                   offset: 0 0;
13627                }
13628                rel2 {
13629                   to: "base";
13630                   relative: 1.0 1.0;
13631                   offset: 0 -1;
13632                }
13633                image {
13634                   normal: "ilist_item_shadow_h.png";
13635                }
13636                fill.smooth: 0;
13637             }
13638          }
13639          part {
13640             name: "base";
13641             mouse_events: 0;
13642             description {
13643                state: "default" 0.0;
13644                image {
13645                   normal: "ilist_1_h.png";
13646                   border: 2 2 2 2;
13647                }
13648                fill.smooth: 0;
13649             }
13650          }
13651          part { name: "bg";
13652             mouse_events: 0;
13653             description { state: "default" 0.0;
13654                visible: 0;
13655                color: 255 255 255 0;
13656                rel1 {
13657                   relative: 0.0 0.0;
13658                   offset: -5 -5;
13659                }
13660                rel2 {
13661                   relative: 1.0 1.0;
13662                   offset: 4 4;
13663                }
13664                image {
13665                   normal: "bt_sm_base1.png";
13666                   border: 6 6 6 6;
13667                }
13668                image.middle: SOLID;
13669             }
13670             description { state: "selected" 0.0;
13671                inherit: "default" 0.0;
13672                visible: 1;
13673                color: 255 255 255 255;
13674                rel1 {
13675                   relative: 0.0 0.0;
13676                   offset: -2 -2;
13677                }
13678                rel2 {
13679                   relative: 1.0 1.0;
13680                   offset: 1 1;
13681                }
13682             }
13683          }
13684          part { name: "elm.swallow.icon";
13685             type: SWALLOW;
13686             description { state: "default" 0.0;
13687                fixed: 0 1;
13688                align: 0.5 0.0;
13689                rel1 {
13690                   relative: 0.0 0.0;
13691                   offset: 4 4;
13692                }
13693                rel2 {
13694                   relative: 1.0 0.0;
13695                   offset: -5 4;
13696                }
13697             }
13698          }
13699          part { name: "elm.swallow.end";
13700             type: SWALLOW;
13701             description { state: "default" 0.0;
13702                fixed: 0 1;
13703                align: 0.5 1.0;
13704                rel1 {
13705                   relative: 0.0 1.0;
13706                   offset: 4 -5;
13707                }
13708                rel2 {
13709                   relative: 1.0 1.0;
13710                   offset: -5 -5;
13711                }
13712             }
13713          }
13714          part {
13715             name: "elm.text";
13716             type: TEXT;
13717             effect: SOFT_SHADOW;
13718             mouse_events: 0;
13719             scale: 1;
13720             description { state: "default" 0.0;
13721                fixed: 1 1;
13722                rel1 {
13723                   to_x: "elm.swallow.icon";
13724                   relative: 0.0 1.0;
13725                   offset: 4 4;
13726                }
13727                rel2 {
13728                   to_x: "elm.swallow.end";
13729                   relative: 1.0 0.0;
13730                   offset: -5 -1;
13731                }
13732                color: 0 0 0 255;
13733                color3: 0 0 0 0;
13734                text {
13735                   font: "Sans";
13736                   size: 10;
13737                   min: 1 1;
13738                   align: 0.5 0.5;
13739                   text_class: "list_item";
13740                }
13741             }
13742             description { state: "selected" 0.0;
13743                inherit: "default" 0.0;
13744                color: 224 224 224 255;
13745                color3: 0 0 0 64;
13746             }
13747          }
13748          part { name: "fg1";
13749             mouse_events: 0;
13750             description { state: "default" 0.0;
13751                visible: 0;
13752                color: 255 255 255 0;
13753                rel1.to: "bg";
13754                rel2.relative: 1.0 0.5;
13755                rel2.to: "bg";
13756                image {
13757                   normal: "bt_sm_hilight.png";
13758                   border: 6 6 6 0;
13759                }
13760             }
13761             description { state: "selected" 0.0;
13762                inherit: "default" 0.0;
13763                visible: 1;
13764                color: 255 255 255 255;
13765             }
13766          }
13767          part { name: "fg2";
13768             mouse_events: 0;
13769             description { state: "default" 0.0;
13770                visible: 0;
13771                color: 255 255 255 0;
13772                rel1.to: "bg";
13773                rel2.to: "bg";
13774                image {
13775                   normal: "bt_sm_shine.png";
13776                   border: 6 6 6 0;
13777                }
13778             }
13779             description { state: "selected" 0.0;
13780                inherit: "default" 0.0;
13781                visible: 1;
13782                color: 255 255 255 255;
13783             }
13784          }
13785       }
13786       programs {
13787          program {
13788             name: "go_active";
13789             signal: "elm,state,selected";
13790             source: "elm";
13791             action: STATE_SET "selected" 0.0;
13792             target: "bg";
13793             target: "fg1";
13794             target: "fg2";
13795             target: "elm.text";
13796          }
13797          program {
13798             name: "go_passive";
13799             signal: "elm,state,unselected";
13800             source: "elm";
13801             action: STATE_SET "default" 0.0;
13802             target: "bg";
13803             target: "fg1";
13804             target: "fg2";
13805             target: "elm.text";
13806             transition: LINEAR 0.1;
13807          }
13808       }
13809    }
13810    group { name: "elm/list/h_item_compress_odd/default";
13811       data.item: "stacking" "below";
13812       data.item: "selectraise" "on";
13813       images {
13814          image: "bt_sm_base1.png" COMP;
13815          image: "bt_sm_shine.png" COMP;
13816          image: "bt_sm_hilight.png" COMP;
13817          image: "ilist_2_h.png" COMP;
13818       }
13819       parts {
13820          part {
13821             name: "event";
13822             type: RECT;
13823             repeat_events: 1;
13824             description {
13825                state: "default" 0.0;
13826                color: 0 0 0 0;
13827             }
13828          }
13829          part {
13830             name: "base";
13831             mouse_events: 0;
13832             description {
13833                state: "default" 0.0;
13834                image {
13835                   normal: "ilist_2_h.png";
13836                   border: 2 2 2 2;
13837                }
13838                fill.smooth: 0;
13839             }
13840          }
13841          part { name: "bg";
13842             mouse_events: 0;
13843             description { state: "default" 0.0;
13844                visible: 0;
13845                color: 255 255 255 0;
13846                rel1 {
13847                   relative: 0.0 0.0;
13848                   offset: -5 -5;
13849                }
13850                rel2 {
13851                   relative: 1.0 1.0;
13852                   offset: 4 4;
13853                }
13854                image {
13855                   normal: "bt_sm_base1.png";
13856                   border: 6 6 6 6;
13857                }
13858                image.middle: SOLID;
13859             }
13860             description { state: "selected" 0.0;
13861                inherit: "default" 0.0;
13862                visible: 1;
13863                color: 255 255 255 255;
13864                rel1 {
13865                   relative: 0.0 0.0;
13866                   offset: -2 -2;
13867                }
13868                rel2 {
13869                   relative: 1.0 1.0;
13870                   offset: 1 1;
13871                }
13872             }
13873          }
13874          part { name: "elm.swallow.icon";
13875             type: SWALLOW;
13876             description { state: "default" 0.0;
13877                fixed: 0 1;
13878                align: 0.5 0.0;
13879                rel1 {
13880                   relative: 0.0 0.0;
13881                   offset: 4 4;
13882                }
13883                rel2 {
13884                   relative: 1.0 0.0;
13885                   offset: -5 4;
13886                }
13887             }
13888          }
13889          part { name: "elm.swallow.end";
13890             type: SWALLOW;
13891             description { state: "default" 0.0;
13892                fixed: 0 1;
13893                align: 0.5 1.0;
13894                rel1 {
13895                   relative: 0.0 1.0;
13896                   offset: 4 -5;
13897                }
13898                rel2 {
13899                   relative: 1.0 1.0;
13900                   offset: -5 -5;
13901                }
13902             }
13903          }
13904          part { name: "elm.text";
13905             type: TEXT;
13906             effect: SOFT_SHADOW;
13907             mouse_events: 0;
13908             scale: 1;
13909             description {
13910                state: "default" 0.0;
13911                fixed: 1 1;
13912                rel1 {
13913                   to_x: "elm.swallow.icon";
13914                   relative: 0.0 1.0;
13915                   offset: 4 4;
13916                }
13917                rel2 {
13918                   to_x: "elm.swallow.end";
13919                   relative: 1.0 0.0;
13920                   offset: -5 -1;
13921                }
13922                color: 0 0 0 255;
13923                color3: 0 0 0 0;
13924                text {
13925                   font: "Sans";
13926                   size: 10;
13927                   min: 1 1;
13928                   align: 0.5 0.5;
13929                   text_class: "list_item";
13930                }
13931             }
13932             description { state: "selected" 0.0;
13933                inherit: "default" 0.0;
13934                color: 224 224 224 255;
13935                color3: 0 0 0 64;
13936             }
13937          }
13938          part { name: "fg1";
13939             mouse_events: 0;
13940             description { state: "default" 0.0;
13941                visible: 0;
13942                color: 255 255 255 0;
13943                rel1.to: "bg";
13944                rel2.relative: 1.0 0.5;
13945                rel2.to: "bg";
13946                image {
13947                   normal: "bt_sm_hilight.png";
13948                   border: 6 6 6 0;
13949                }
13950             }
13951             description { state: "selected" 0.0;
13952                inherit: "default" 0.0;
13953                visible: 1;
13954                color: 255 255 255 255;
13955             }
13956          }
13957          part { name: "fg2";
13958             mouse_events: 0;
13959             description { state: "default" 0.0;
13960                visible: 0;
13961                color: 255 255 255 0;
13962                rel1.to: "bg";
13963                rel2.to: "bg";
13964                image {
13965                   normal: "bt_sm_shine.png";
13966                   border: 6 6 6 0;
13967                }
13968             }
13969             description { state: "selected" 0.0;
13970                inherit: "default" 0.0;
13971                visible: 1;
13972                color: 255 255 255 255;
13973             }
13974          }
13975       }
13976       programs {
13977          program {
13978             name: "go_active";
13979             signal: "elm,state,selected";
13980             source: "elm";
13981             action: STATE_SET "selected" 0.0;
13982             target: "bg";
13983             target: "fg1";
13984             target: "fg2";
13985             target: "elm.text";
13986          }
13987          program {
13988             name: "go_passive";
13989             signal: "elm,state,unselected";
13990             source: "elm";
13991             action: STATE_SET "default" 0.0;
13992             target: "bg";
13993             target: "fg1";
13994             target: "fg2";
13995             target: "elm.text";
13996             transition: LINEAR 0.1;
13997          }
13998       }
13999    }
14000
14001 ///////////////////////////////////////////////////////////////////////////////
14002    group { name: "elm/slider/horizontal/default";
14003            alias: "elm/slider/horizontal/disabled";
14004       images {
14005          image: "sl_bg.png" COMP;
14006          image: "sl_bg_over.png" COMP;
14007          image: "sl_bt_0.png" COMP;
14008          image: "sl_bt_1.png" COMP;
14009          image: "sl_bt_2.png" COMP;
14010          image: "sl_bt_3.png" COMP;
14011          image: "sl_bt2_0_0.png" COMP;
14012          image: "sl_bt2_0_1.png" COMP;
14013          image: "sl_bt2_0_2.png" COMP;
14014          image: "sl_bt2_1.png" COMP;
14015          image: "sl_bt2_2.png" COMP;
14016          image: "sl_units.png" COMP;
14017       }
14018       script {
14019          public value_hide = 0;
14020          public set_value_show() {
14021             set_int(value_hide, 0);
14022          }
14023          public set_value_hide() {
14024             set_int(value_hide, 1);
14025          }
14026          public thumb_down() {
14027             if (get_int(value_hide) == 1) {
14028                set_state(PART:"elm.indicator", "default", 0.0);
14029                set_state(PART:"button3", "default", 0.0);
14030                set_state(PART:"button4", "default", 0.0);
14031                set_state(PART:"button5", "default", 0.0);
14032                set_state(PART:"button6", "default", 0.0);
14033                set_state(PART:"button7", "default", 0.0);
14034             } else {
14035                set_state(PART:"elm.indicator", "visible", 0.0);
14036                set_state(PART:"button3", "visible", 0.0);
14037                set_state(PART:"button4", "visible", 0.0);
14038                set_state(PART:"button5", "visible", 0.0);
14039                set_state(PART:"button6", "visible", 0.0);
14040                set_state(PART:"button7", "visible", 0.0);
14041             }
14042          }
14043          public thumb_up() {
14044             set_state(PART:"elm.indicator", "default", 0.0);
14045             set_state(PART:"button3", "default", 0.0);
14046             set_state(PART:"button4", "default", 0.0);
14047             set_state(PART:"button5", "default", 0.0);
14048             set_state(PART:"button6", "default", 0.0);
14049             set_state(PART:"button7", "default", 0.0);
14050          }
14051       }
14052       parts {
14053          part { name: "base";
14054             mouse_events: 0;
14055             description { state: "default" 0.0;
14056                max: 99999 6;
14057                min: 0 6;
14058                rel1 { to: "bg";
14059                   offset: 1 0;
14060                }
14061                rel2 { to: "bg";
14062                   offset: -2 -1;
14063                }
14064                image.normal: "sl_bg.png";
14065                fill.smooth: 0;
14066             }
14067          }
14068          part { name: "level";
14069             type: RECT;
14070             mouse_events: 0;
14071             description { state: "default" 0.0;
14072                fixed: 1 1;
14073                rel1.to: "base";
14074                rel2 {
14075                   to_y: "base";
14076                   to_x: "elm.dragable.slider";
14077                   relative: 0.5 1.0;
14078                }
14079                color: 255 0 0 200;
14080             }
14081             description { state: "inverted" 0.0;
14082                inherit: "default" 0.0;
14083                visible: 0;
14084             }
14085             description { state: "disabled" 0.0;
14086                inherit: "default" 0.0;
14087                color: 255 0 0 100;
14088             }
14089             description { state: "disabled_inverted" 0.0;
14090                inherit: "default" 0.0;
14091                visible: 0;
14092             }
14093          }
14094          part { name: "level2";
14095             type: RECT;
14096             mouse_events: 0;
14097             description { state: "default" 0.0;
14098                fixed: 1 1;
14099                visible: 0;
14100                rel1 {
14101                   to_y: "base";
14102                   to_x: "elm.dragable.slider";
14103                   relative: 0.5 0.0;
14104                }
14105                rel2.to: "base";
14106                color: 255 0 0 200;
14107             }
14108             description { state: "inverted" 0.0;
14109                inherit: "default" 0.0;
14110                visible: 1;
14111             }
14112             description { state: "disabled" 0.0;
14113                inherit: "default" 0.0;
14114             }
14115             description { state: "disabled_inverted" 0.0;
14116                inherit: "default" 0.0;
14117                color: 255 0 0 100;
14118                visible: 1;
14119             }
14120          }
14121          part {
14122             name: "base_over";
14123             mouse_events: 0;
14124             description { state: "default" 0.0;
14125                rel1.to: "base";
14126                rel1.offset: -1 -1;
14127                rel2.to: "base";
14128                rel2.offset: 0 0;
14129                image {
14130                   normal: "sl_bg_over.png";
14131                   border: 3 3 3 3;
14132                }
14133                fill.smooth: 0;
14134             }
14135          }
14136          part { name: "bg";
14137             type: RECT;
14138             mouse_events: 0;
14139             scale: 1;
14140             description { state: "default" 0.0;
14141                visible: 0;
14142                rel1.to: "elm.swallow.bar";
14143                rel2.to: "elm.swallow.bar";
14144                color: 0 0 0 0;
14145             }
14146          }
14147          part { name: "elm.swallow.bar";
14148             type: SWALLOW;
14149             scale: 1;
14150             description { state: "default" 0.0;
14151                min: 48 24;
14152                max: 99999 24;
14153                align: 1.0 0.5;
14154                rel1 {
14155                   to_x: "elm.text";
14156                   relative: 1.0 0.0;
14157                   offset: 8 0;
14158                }
14159                rel2 {
14160                   to_x: "elm.units";
14161                   relative: 0.0 1.0;
14162                   offset: -10 -1;
14163                }
14164             }
14165          }
14166          part { name: "elm.swallow.icon";
14167             type: SWALLOW;
14168             description { state: "default" 0.0;
14169                visible: 0;
14170                align: 0.0 0.5;
14171                rel1 {
14172                   offset: 4 0;
14173                   to_y: "elm.swallow.bar";
14174                }
14175                rel2 {
14176                   offset: 3 -1;
14177                   relative: 0.0 1.0;
14178                   to_y: "elm.swallow.bar";
14179                }
14180             }
14181             description { state: "visible" 0.0;
14182                inherit: "default" 0.0;
14183                visible: 1;
14184                aspect: 1.0 1.0;
14185                aspect_preference: VERTICAL;
14186                rel2.offset: 4 -1;
14187             }
14188          }
14189          part { name: "elm.text";
14190             type: TEXT;
14191             mouse_events: 0;
14192             scale: 1;
14193             description { state: "default" 0.0;
14194                visible: 0;
14195                fixed: 1 1;
14196                align: 0.0 0.5;
14197                rel1.to_x: "elm.swallow.icon";
14198                rel1.relative: 1.0 0.0;
14199                rel1.offset: -1 4;
14200                rel2.to_x: "elm.swallow.icon";
14201                rel2.relative: 1.0 1.0;
14202                rel2.offset: -1 -5;
14203                color: 0 0 0 255;
14204                text {
14205                   font: "Sans,Edje-Vera";
14206                   size: 10;
14207                   min: 0 0;
14208                   align: 0.0 0.5;
14209                }
14210             }
14211             description { state: "visible" 0.0;
14212                inherit: "default" 0.0;
14213                visible: 1;
14214                text.min: 1 1;
14215                rel1.offset: 0 4;
14216                rel2.offset: 0 -5;
14217             }
14218             description { state: "disabled" 0.0;
14219                inherit: "default" 0.0;
14220                color: 255 128 128 128;
14221                visible: 0;
14222             }
14223             description { state: "disabled_visible" 0.0;
14224                inherit: "default" 0.0;
14225                color: 0 0 0 128;
14226                color3: 0 0 0 0;
14227                visible: 1;
14228                text.min: 1 1;
14229             }
14230          }
14231          part {
14232             name: "elm.swallow.end";
14233             type: SWALLOW;
14234             description {
14235                state: "default" 0.0;
14236                visible: 0;
14237                align: 1.0 0.5;
14238                rel1 {
14239                   offset: -4 0;
14240                   relative: 1.0 0.0;
14241                   to_y: "elm.swallow.bar";
14242                }
14243                rel2 {
14244                   offset: -3 -1;
14245                   to_y: "elm.swallow.bar";
14246                }
14247             }
14248             description { state: "visible" 0.0;
14249                inherit: "default" 0.0;
14250                visible: 1;
14251                aspect: 1.0 1.0;
14252                aspect_preference: VERTICAL;
14253                rel2.offset: -4 -1;
14254             }
14255          }
14256          part { name: "units";
14257             mouse_events: 0;
14258             description { state: "default" 0.0;
14259                visible: 0;
14260                rel1 {
14261                   to_x: "elm.units";
14262                   offset: 0 5;
14263                }
14264                rel2 {
14265                   to_x: "elm.units";
14266                   offset: 5 -3;
14267                }
14268                image {
14269                   normal: "sl_units.png";
14270                   border: 0 5 3 8;
14271                }
14272                fill.smooth: 0;
14273             }
14274             description { state: "visible" 0.0;
14275                inherit: "default" 0.0;
14276                visible: 1;
14277             }
14278          }
14279          part { name: "elm.units";
14280             type: TEXT;
14281             mouse_events: 0;
14282             scale: 1;
14283             description { state: "default" 0.0;
14284                visible: 0;
14285                fixed: 1 1;
14286                align: 1.0 0.5;
14287                rel1.to_x: "elm.swallow.end";
14288                rel1.relative: 0.0 0.0;
14289                rel1.offset: 0 8;
14290                rel2.to_x: "elm.swallow.end";
14291                rel2.relative: 0.0 1.0;
14292                rel2.offset: 0 -9;
14293                color: 0 0 0 255;
14294                text {
14295                   font: "Sans,Edje-Vera";
14296                   size: 10;
14297                   min: 0 0;
14298                   align: 0.0 0.5;
14299                }
14300             }
14301             description { state: "visible" 0.0;
14302                inherit: "default" 0.0;
14303                fixed: 1 1;
14304                visible: 1;
14305                text.min: 1 1;
14306                rel1.offset: -5 0;
14307                rel2.offset: -5 -1;
14308             }
14309             description { state: "disabled" 0.0;
14310                inherit: "default" 0.0;
14311                color: 255 128 128 128;
14312                visible: 0;
14313             }
14314             description { state: "disabled_visible" 0.0;
14315                inherit: "default" 0.0;
14316                color: 0 0 0 128;
14317                color3: 0 0 0 0;
14318                visible: 1;
14319                text.min: 1 1;
14320             }
14321          }
14322          part { name: "elm.dragable.slider";
14323             type: RECT;
14324             mouse_events: 0;
14325             scale: 1;
14326             dragable {
14327                x: 1 1 0;
14328                y: 0 0 0;
14329                confine: "bg";
14330             }
14331             description { state: "default" 0.0;
14332                min: 0 24;
14333                max: 0 24;
14334                fixed: 1 1;
14335                rel1 {
14336                   relative: 0.5 0.0;
14337                   to_x: "bg";
14338                }
14339                rel2 {
14340                   relative: 0.5 1.0;
14341                   to_x: "bg";
14342                }
14343                color: 255 0 0 100;
14344             }
14345          }
14346          part { name: "button_events";
14347             type: RECT;
14348             dragable {
14349                events: "elm.dragable.slider";
14350             }
14351             mouse_events: 1;
14352             description { state: "default" 0.0;
14353                fixed: 1 1;
14354                min: 16 16;
14355                aspect: 1.0 1.0;
14356                aspect_preference: VERTICAL;
14357                rel1.to_x: "elm.dragable.slider";
14358                rel2.to_x: "elm.dragable.slider";
14359                color: 0 0 0 0;
14360             }
14361          }
14362          part { name: "button0";
14363             mouse_events: 0;
14364             description { state: "default" 0.0;
14365                fixed: 1 1;
14366                max: 17 999;
14367                min: 17 24;
14368                rel1.to: "elm.dragable.slider";
14369                rel2.to: "elm.dragable.slider";
14370                image {
14371                   normal: "sl_bt_0.png";
14372                   border: 5 5 5 10;
14373                }
14374                fill.smooth: 0;
14375             }
14376             description { state: "disabled" 0.0;
14377                inherit: "default" 0.0;
14378                image {
14379                   normal: "sl_bt_3.png";
14380                   border: 5 5 5 10;
14381                }
14382             }
14383          }
14384          part { name: "button1";
14385             mouse_events: 0;
14386             description { state: "default" 0.0;
14387                rel1.to: "button0";
14388                rel2 {
14389                   to: "button0";
14390                   relative: 1.0 0.5;
14391                   offset: -1 -5;
14392                }
14393                image {
14394                   normal: "sl_bt_1.png";
14395                   border: 5 5 5 0;
14396                }
14397             }
14398          }
14399          part { name: "button2";
14400             mouse_events: 0;
14401             description { state: "default" 0.0;
14402                rel1.to: "button0";
14403                rel2.to: "button0";
14404                image {
14405                   normal: "sl_bt_2.png";
14406                   border: 5 5 5 10;
14407                }
14408                fill.smooth: 0;
14409             }
14410          }
14411          part { name: "button3";
14412             mouse_events: 0;
14413             description { state: "default" 0.0;
14414                fixed: 1 1;
14415                visible: 0;
14416                min: 8 32;
14417                align: 1.0 0.5;
14418                rel1 {
14419                   to_x: "elm.indicator";
14420                   to_y: "button4";
14421                   relative: 0.0 0.0;
14422                   offset: -7 0;
14423                }
14424                rel2 {
14425                   to: "button4";
14426                   relative: 0.0 1.0;
14427                   offset: -1 -1;
14428                }
14429                image {
14430                   normal: "sl_bt2_0_0.png";
14431                   border: 6 0 6 12;
14432                }
14433                fill.smooth: 0;
14434             }
14435             description { state: "visible" 0.0;
14436                inherit: "default" 0.0;
14437                visible: 1;
14438             }
14439          }
14440          part { name: "button4";
14441             mouse_events: 0;
14442             description { state: "default" 0.0;
14443                visible: 0;
14444                max: 15 999;
14445                min: 15 32;
14446                rel1 {
14447                   to_x: "button0";
14448                   to_y: "elm.indicator";
14449                   offset: 0 0;
14450                }
14451                rel2.to: "button0";
14452                image {
14453                   normal: "sl_bt2_0_1.png";
14454                   border: 0 0 6 12;
14455                }
14456                fill.smooth: 0;
14457             }
14458             description { state: "visible" 0.0;
14459                inherit: "default" 0.0;
14460                visible: 1;
14461             }
14462          }
14463          part { name: "button5";
14464             mouse_events: 0;
14465             description { state: "default" 0.0;
14466                fixed: 1 1;
14467                visible: 0;
14468                min: 8 32;
14469                align: 0.0 0.5;
14470                rel1 {
14471                   to: "button4";
14472                   relative: 1.0 0.0;
14473                   offset: 0 0;
14474                }
14475                rel2 {
14476                   to_x: "elm.indicator";
14477                   to_y: "button4";
14478                   relative: 1.0 1.0;
14479                   offset: 6 -1;
14480                }
14481                image {
14482                   normal: "sl_bt2_0_2.png";
14483                   border: 0 6 6 12;
14484                }
14485                fill.smooth: 0;
14486             }
14487             description { state: "visible" 0.0;
14488                inherit: "default" 0.0;
14489                visible: 1;
14490             }
14491          }
14492          part { name: "elm.indicator";
14493             type: TEXT;
14494             mouse_events: 0;
14495             effect: SOFT_SHADOW;
14496             scale: 1;
14497             description { state: "default" 0.0;
14498                visible: 0;
14499                fixed: 1 1;
14500                align: 0.5 1.0;
14501                rel1 {
14502                   to: "button0";
14503                   relative: 0.0 -0.25;
14504                   offset: 0 0;
14505                }
14506                rel2 {
14507                   to_x: "button0";
14508                   relative: 1.0 -0.25;
14509                   offset: -1 0;
14510                }
14511                color: 224 224 224 255;
14512                color3: 0 0 0 64;
14513                text {
14514                   font:     "Sans,Edje-Vera";
14515                   size:     10;
14516                   min:      0 0;
14517                   align:    0.5 0.5;
14518                }
14519             }
14520             description { state: "visible" 0.0;
14521                inherit: "default" 0.0;
14522                visible: 1;
14523                text.min: 1 1;
14524                rel1.offset: 0 -1;
14525                rel2.offset: -1 -1;
14526             }
14527          }
14528          part { name: "button6";
14529             mouse_events: 0;
14530             description { state: "default" 0.0;
14531                visible: 0;
14532                rel1.to: "button3";
14533                rel2 {
14534                   to: "button5";
14535                   relative: 1.0 0.3;
14536                   offset: -1 -1;
14537                }
14538                image {
14539                   normal: "sl_bt2_1.png";
14540                   border: 5 5 5 0;
14541                }
14542                fill.smooth: 0;
14543             }
14544             description { state: "visible" 0.0;
14545                inherit: "default" 0.0;
14546                visible: 1;
14547             }
14548          }
14549          part { name: "button7";
14550             mouse_events: 0;
14551             description { state: "default" 0.0;
14552                visible: 0;
14553                rel1.to: "button3";
14554                rel2.to: "button5";
14555                image {
14556                   normal: "sl_bt2_2.png";
14557                   border: 5 5 5 0;
14558                   middle: 0;
14559                }
14560                fill.smooth: 0;
14561             }
14562             description { state: "visible" 0.0;
14563                inherit: "default" 0.0;
14564                visible: 1;
14565             }
14566          }
14567          part { name: "disabler";
14568             type: RECT;
14569             description { state: "default" 0.0;
14570                color: 0 0 0 0;
14571                visible: 0;
14572             }
14573             description { state: "disabled" 0.0;
14574                inherit: "default" 0.0;
14575                visible: 1;
14576             }
14577          }
14578       }
14579       programs {
14580          program { name: "text_show";
14581             signal: "elm,state,text,visible";
14582             source: "elm";
14583             action:  STATE_SET "visible" 0.0;
14584             target: "elm.text";
14585          }
14586          program { name: "text_hide";
14587             signal: "elm,state,text,hidden";
14588             source: "elm";
14589             action:  STATE_SET "default" 0.0;
14590             target: "elm.text";
14591          }
14592          program { name: "icon_show";
14593             signal: "elm,state,icon,visible";
14594             source: "elm";
14595             action:  STATE_SET "visible" 0.0;
14596             target: "elm.swallow.icon";
14597          }
14598          program { name: "icon_hide";
14599             signal: "elm,state,icon,hidden";
14600             source: "elm";
14601             action:  STATE_SET "default" 0.0;
14602             target: "elm.swallow.icon";
14603          }
14604          program { name: "end_show";
14605             signal: "elm,state,end,visible";
14606             source: "elm";
14607             action:  STATE_SET "visible" 0.0;
14608             target: "elm.swallow.end";
14609          }
14610          program { name: "end_hide";
14611             signal: "elm,state,end,hidden";
14612             source: "elm";
14613             action:  STATE_SET "default" 0.0;
14614             target: "elm.swallow.end";
14615          }
14616          program { name: "units_show";
14617             signal: "elm,state,units,visible";
14618             source: "elm";
14619             action:  STATE_SET "visible" 0.0;
14620             target: "elm.units";
14621             target: "units";
14622          }
14623          program { name: "units_hide";
14624             signal: "elm,state,units,hidden";
14625             source: "elm";
14626             action:  STATE_SET "default" 0.0;
14627             target: "elm.units";
14628             target: "units";
14629          }
14630          program { name: "invert_on";
14631             signal: "elm,state,inverted,on";
14632             source: "elm";
14633             action:  STATE_SET "inverted" 0.0;
14634             target: "level";
14635             target: "level2";
14636          }
14637          program { name: "invert_off";
14638             signal: "elm,state,inverted,off";
14639             source: "elm";
14640             action:  STATE_SET "default" 0.0;
14641             target: "level";
14642             target: "level2";
14643          }
14644          program { name: "set_val_show";
14645             signal: "elm,state,val,show";
14646             source: "elm";
14647             script {
14648                set_value_show();
14649             }
14650          }
14651          program { name: "set_val_hide";
14652             signal: "elm,state,val,hide";
14653             source: "elm";
14654             script {
14655                set_value_hide();
14656             }
14657          }
14658          program { name: "val_show";
14659             signal: "mouse,down,*";
14660             source: "elm.dragable.slider";
14661             script {
14662                thumb_down();
14663             }
14664
14665          }
14666          program { name: "val_hide";
14667             signal: "mouse,up,*";
14668             source: "elm.dragable.slider";
14669             script {
14670                thumb_up();
14671             }
14672          }
14673          program {
14674             name:    "go_disabled";
14675             signal:  "elm,state,disabled";
14676             source:  "elm";
14677             action:  STATE_SET "disabled" 0.0;
14678             target:  "button0";
14679             target:  "disabler";
14680             after: "disable_text";
14681          }
14682          program { name: "disable_text";
14683             script {
14684                new st[31];
14685                new Float:vl;
14686                get_state(PART:"elm.text", st, 30, vl);
14687                if (!strcmp(st, "visible"))
14688                   set_state(PART:"elm.text", "disabled_visible", 0.0);
14689                else
14690                   set_state(PART:"elm.text", "disabled", 0.0);
14691
14692                get_state(PART:"elm.units", st, 30, vl);
14693                if (!strcmp(st, "visible")) 
14694                   set_state(PART:"elm.units", "disabled_visible", 0.0);
14695                else 
14696                   set_state(PART:"elm.units", "disabled", 0.0);
14697
14698                get_state(PART:"level2", st, 30, vl);
14699                if (!strcmp(st, "inverted")) 
14700                {
14701                   set_state(PART:"level", "disabled_inverted", 0.0);
14702                   set_state(PART:"level2", "disabled_inverted", 0.0);
14703                }
14704                else 
14705                {
14706                   set_state(PART:"level", "disabled", 0.0);
14707                   set_state(PART:"level2", "disabled", 0.0);
14708                }
14709             }
14710          }
14711          program { name: "enable";
14712             signal: "elm,state,enabled";
14713             source: "elm";
14714             action: STATE_SET "default" 0.0;
14715             target: "button0";
14716             target: "disabler";
14717             after: "enable_text";
14718          }
14719          program { name: "enable_text";
14720             script {
14721                new st[31];
14722                new Float:vl;
14723                get_state(PART:"elm.text", st, 30, vl);
14724                if (!strcmp(st, "disabled_visible"))
14725                   set_state(PART:"elm.text", "visible", 0.0);
14726                else
14727                   set_state(PART:"elm.text", "default", 0.0);
14728
14729                get_state(PART:"elm.units", st, 30, vl);
14730                if (!strcmp(st, "disabled_visible"))
14731                   set_state(PART:"elm.units", "visible", 0.0);
14732                else
14733                   set_state(PART:"elm.units", "default", 0.0);
14734      
14735                get_state(PART:"level2", st, 30, vl);
14736                if (!strcmp(st, "disabled_inverted"))
14737                {
14738                   set_state(PART:"level", "inverted", 0.0);
14739                   set_state(PART:"level2", "inverted", 0.0);
14740                }
14741                else
14742                {
14743                   set_state(PART:"level", "default", 0.0);
14744                   set_state(PART:"level2", "default", 0.0);
14745                }
14746             }
14747          }
14748       }
14749    }
14750
14751    group { name: "elm/slider/vertical/default";
14752       images {
14753          image: "slv_bg.png" COMP;
14754          image: "slv_bg_over.png" COMP;
14755
14756          image: "sl_bt_0.png" COMP;
14757          image: "sl_bt_1.png" COMP;
14758          image: "sl_bt_2.png" COMP;
14759          image: "sl_bt_3.png" COMP;
14760          image: "sl_bt2_0_0.png" COMP;
14761          image: "sl_bt2_0_1.png" COMP;
14762          image: "sl_bt2_0_2.png" COMP;
14763          image: "sl_bt2_1.png" COMP;
14764          image: "sl_bt2_2.png" COMP;
14765
14766          image: "slv_units.png" COMP;
14767       }
14768       script {
14769          public value_hide = 0;
14770          public set_value_show() {
14771             set_int(value_hide, 0);
14772          }
14773          public set_value_hide() {
14774             set_int(value_hide, 1);
14775          }
14776          public thumb_down() {
14777             if (get_int(value_hide) == 1) {
14778                set_state(PART:"elm.indicator", "default", 0.0);
14779                set_state(PART:"button3", "default", 0.0);
14780                set_state(PART:"button4", "default", 0.0);
14781                set_state(PART:"button5", "default", 0.0);
14782                set_state(PART:"button6", "default", 0.0);
14783                set_state(PART:"button7", "default", 0.0);
14784             } else {
14785                set_state(PART:"elm.indicator", "visible", 0.0);
14786                set_state(PART:"button3", "visible", 0.0);
14787                set_state(PART:"button4", "visible", 0.0);
14788                set_state(PART:"button5", "visible", 0.0);
14789                set_state(PART:"button6", "visible", 0.0);
14790                set_state(PART:"button7", "visible", 0.0);
14791             }
14792          }
14793          public thumb_up() {
14794             set_state(PART:"elm.indicator", "default", 0.0);
14795             set_state(PART:"button3", "default", 0.0);
14796             set_state(PART:"button4", "default", 0.0);
14797             set_state(PART:"button5", "default", 0.0);
14798             set_state(PART:"button6", "default", 0.0);
14799             set_state(PART:"button7", "default", 0.0);
14800          }
14801       }
14802       parts {
14803          part { name: "base";
14804             mouse_events: 0;
14805             description { state: "default" 0.0;
14806                max: 6 99999;
14807                min: 6 0;
14808                rel1 { to: "bg";
14809                   offset: 1 0;
14810                }
14811                rel2 { to: "bg";
14812                   offset: -2 -1;
14813                }
14814                image.normal: "slv_bg.png";
14815                fill.smooth: 0;
14816             }
14817          }
14818          part { name: "level";
14819             type: RECT;
14820             mouse_events: 0;
14821             description { state: "default" 0.0;
14822                fixed: 1 1;
14823                rel1.to: "base";
14824                rel2 {
14825                   to_x: "base";
14826                   to_y: "elm.dragable.slider";
14827                   relative: 1.0 0.5;
14828                }
14829                color: 255 0 0 200;
14830             }
14831             description { state: "inverted" 0.0;
14832                inherit: "default" 0.0;
14833                visible: 0;
14834             }
14835             description { state: "disabled" 0.0;
14836                inherit: "default" 0.0;
14837                color: 255 0 0 100;
14838             }
14839             description { state: "disabled_inverted" 0.0;
14840                inherit: "default" 0.0;
14841                visible: 0;
14842             }
14843          }
14844          part { name: "level2";
14845             type: RECT;
14846             mouse_events: 0;
14847             description { state: "default" 0.0;
14848                fixed: 1 1;
14849                visible: 0;
14850                rel1 {
14851                   to_x: "base";
14852                   to_y: "elm.dragable.slider";
14853                   relative: 0.0 0.5;
14854                }
14855                rel2.to: "base";
14856                color: 255 0 0 200;
14857             }
14858             description { state: "inverted" 0.0;
14859                inherit: "default" 0.0;
14860                visible: 1;
14861             }
14862             description { state: "disabled" 0.0;
14863                inherit: "default" 0.0;
14864                color: 255 0 0 100;
14865             }
14866             description { state: "disabled_inverted" 0.0;
14867                inherit: "default" 0.0;
14868                color: 255 0 0 100;
14869                visible: 1;
14870             }
14871          }
14872          part {
14873             name: "base_over";
14874             mouse_events: 0;
14875             description { state: "default" 0.0;
14876                rel1.to: "base";
14877                rel1.offset: -1 -1;
14878                rel2.to: "base";
14879                rel2.offset: 0 0;
14880                image {
14881                   normal: "slv_bg_over.png";
14882                   border: 3 3 3 3;
14883                }
14884                fill.smooth: 0;
14885             }
14886          }
14887          part { name: "bg";
14888             type: RECT;
14889             mouse_events: 0;
14890             scale: 1;
14891             description { state: "default" 0.0;
14892                visible: 0;
14893                rel1.to: "elm.swallow.bar";
14894                rel2.to: "elm.swallow.bar";
14895                color: 0 0 0 0;
14896             }
14897          }
14898          part { name: "elm.swallow.bar";
14899             type: SWALLOW;
14900             scale: 1;
14901             description { state: "default" 0.0;
14902                min: 24 48;
14903                max: 24 9999;
14904                align: 0.5 1.0;
14905                rel1 {
14906                   to_y: "elm.text";
14907                   relative: 0.0 1.0;
14908                   offset: 0 10;
14909                }
14910                rel2 {
14911                   to_y: "elm.units";
14912                   relative: 1.0 0.0;
14913                   offset: -1 -8;
14914                }
14915             }
14916          }
14917          part { name: "elm.swallow.icon";
14918             type: SWALLOW;
14919             description { state: "default" 0.0;
14920                visible: 0;
14921                align: 0.5 0.0;
14922                rel1 {
14923                   offset: 0 4;
14924                   to_x: "elm.swallow.bar";
14925                }
14926                rel2 {
14927                   offset: -1 3;
14928                   relative: 1.0 0.0;
14929                   to_x: "elm.swallow.bar";
14930                }
14931             }
14932             description { state: "visible" 0.0;
14933                inherit: "default" 0.0;
14934                visible: 1;
14935                aspect: 1.0 1.0;
14936                aspect_preference: HORIZONTAL;
14937                rel2.offset: -1 4;
14938             }
14939          }
14940          part { name: "elm.text";
14941             type: TEXT;
14942             mouse_events: 0;
14943             scale: 1;
14944             description { state: "default" 0.0;
14945                visible: 0;
14946                fixed: 0 1;
14947                align: 0.5 0.0;
14948                rel1.to_y: "elm.swallow.icon";
14949                rel1.relative: 0.0 1.0;
14950                rel1.offset: 0 -1;
14951                rel2.to_y: "elm.swallow.icon";
14952                rel2.relative: 1.0 1.0;
14953                rel2.offset: -1 -1;
14954                color: 0 0 0 255;
14955                text {
14956                   font: "Sans,Edje-Vera";
14957                   size: 10;
14958                   min: 0 0;
14959                   align: 0.5 0.0;
14960                }
14961             }
14962             description { state: "visible" 0.0;
14963                inherit: "default" 0.0;
14964                visible: 1;
14965                text.min: 1 1;
14966                rel1.offset: 4 0;
14967                rel2.offset: -5 0;
14968             }
14969             description { state: "disabled" 0.0;
14970                inherit: "default" 0.0;
14971                color: 255 128 128 128;
14972                visible: 0;
14973             }
14974             description { state: "disabled_visible" 0.0;
14975                inherit: "default" 0.0;
14976                color: 0 0 0 128;
14977                color3: 0 0 0 0;
14978                visible: 1;
14979                text.min: 1 1;
14980             }
14981          }
14982          part {
14983             name: "elm.swallow.end";
14984             type: SWALLOW;
14985             description {
14986                state: "default" 0.0;
14987                visible: 0;
14988                align: 0.5 1.0;
14989                rel1 {
14990                   offset: 0 -4;
14991                   relative: 0.0 1.0;
14992                   to_x: "elm.swallow.bar";
14993                }
14994                rel2 {
14995                   offset: -1 -3;
14996                   to_x: "elm.swallow.bar";
14997                }
14998             }
14999             description { state: "visible" 0.0;
15000                inherit: "default" 0.0;
15001                visible: 1;
15002                aspect: 1.0 1.0;
15003                aspect_preference: HORIZONTAL;
15004                rel2.offset: -1 -4;
15005             }
15006          }
15007          part { name: "units";
15008             mouse_events: 0;
15009             description { state: "default" 0.0;
15010                visible: 0;
15011                rel1 {
15012                   to: "elm.units";
15013                   offset: -8 0;
15014                }
15015                rel2 {
15016                   to: "elm.units";
15017                   offset: 7 8;
15018                }
15019                image {
15020                   normal: "slv_units.png";
15021                   border: 8 8 0 9;
15022                }
15023                fill.smooth: 0;
15024             }
15025             description { state: "visible" 0.0;
15026                inherit: "default" 0.0;
15027                visible: 1;
15028             }
15029          }
15030          part { name: "elm.units";
15031             type: TEXT;
15032             mouse_events: 0;
15033             scale: 1;
15034             description { state: "default" 0.0;
15035                visible: 0;
15036                fixed: 1 1;
15037                align: 0.5 1.0;
15038                rel1.relative: 0.0 0.0;
15039                rel1.to_y: "elm.swallow.end";
15040                rel1.offset: 8 0;
15041                rel2.relative: 1.0 0.0;
15042                rel2.to_y: "elm.swallow.end";
15043                rel2.offset: -9 0;
15044                color: 0 0 0 255;
15045                text {
15046                   font: "Sans,Edje-Vera";
15047                   size: 10;
15048                   min: 0 0;
15049                   align: 0.5 0.0;
15050                }
15051             }
15052             description { state: "visible" 0.0;
15053                inherit: "default" 0.0;
15054                fixed: 1 1;
15055                visible: 1;
15056                text.min: 1 1;
15057                rel1.offset: 8 -9;
15058                rel2.offset: -9 -9;
15059             }
15060             description { state: "disabled" 0.0;
15061                inherit: "default" 0.0;
15062                color:  0 0 0 128;
15063                color3: 0 0 0 0;
15064                visible: 0;
15065             }
15066             description { state: "disabled_visible" 0.0;
15067                inherit: "default" 0.0;
15068                fixed: 1 1;
15069                visible: 1;
15070                text.min: 1 1;
15071                rel1.offset: 8 -9;
15072                rel2.offset: -9 -9;
15073                color: 0 0 0 128;
15074                color3: 0 0 0 0;
15075             }
15076          }
15077          part { name: "elm.dragable.slider";
15078             type: RECT;
15079             mouse_events: 0;
15080             scale: 1;
15081             dragable {
15082                x: 0 0 0;
15083                y: 1 1 0;
15084                confine: "bg";
15085             }
15086             description { state: "default" 0.0;
15087                min: 24 0;
15088                max: 24 0;
15089                fixed: 1 1;
15090                rel1 {
15091                   relative: 0.5  0.0;
15092                   to_y: "bg";
15093                }
15094                rel2 {
15095                   relative: 0.5  1.0;
15096                   to_y: "bg";
15097                }
15098                color: 0 0 0 0;
15099             }
15100          }
15101          part { name: "button_events";
15102             type: RECT;
15103             dragable {
15104                events: "elm.dragable.slider";
15105             }
15106             mouse_events: 1;
15107             description { state: "default" 0.0;
15108                fixed: 1 1;
15109                min: 16 16;
15110                aspect: 1.0 1.0;
15111                aspect_preference: HORIZONTAL;
15112                rel1.to_y: "elm.dragable.slider";
15113                rel2.to_y: "elm.dragable.slider";
15114                color: 0 0 0 0;
15115             }
15116          }
15117          part { name: "button0";
15118             mouse_events: 0;
15119             description { state: "default" 0.0;
15120                fixed: 1 1;
15121                max: 17 999;
15122                min: 17 24;
15123                rel1.to: "elm.dragable.slider";
15124                rel2.to: "elm.dragable.slider";
15125                image {
15126                   normal: "sl_bt_0.png";
15127                   border: 5 5 5 10;
15128                }
15129                fill.smooth: 0;
15130             }
15131             description { state: "disabled" 0.0;
15132                inherit: "default" 0.0;
15133                image {
15134                   normal: "sl_bt_3.png";
15135                   border: 5 5 5 10;
15136                }
15137             }
15138          }
15139          part { name: "button1";
15140             mouse_events: 0;
15141             description { state: "default" 0.0;
15142                rel1.to: "button0";
15143                rel2 {
15144                   to: "button0";
15145                   relative: 1.0 0.5;
15146                   offset: -1 -5;
15147                }
15148                image {
15149                   normal: "sl_bt_1.png";
15150                   border: 5 5 5 0;
15151                }
15152             }
15153          }
15154          part { name: "button2";
15155             mouse_events: 0;
15156             description { state: "default" 0.0;
15157                rel1.to: "button0";
15158                rel2.to: "button0";
15159                image {
15160                   normal: "sl_bt_2.png";
15161                   border: 5 5 5 10;
15162                }
15163                fill.smooth: 0;
15164             }
15165          }
15166          part { name: "button3";
15167             mouse_events: 0;
15168             description { state: "default" 0.0;
15169                visible: 0;
15170                min: 8 32;
15171                align: 1.0 0.5;
15172                rel1 {
15173                   to_x: "elm.indicator";
15174                   to_y: "button4";
15175                   relative: 0.0 0.0;
15176                   offset: -7 0;
15177                }
15178                rel2 {
15179                   to: "button4";
15180                   relative: 0.0 1.0;
15181                   offset: -1 -1;
15182                }
15183                image {
15184                   normal: "sl_bt2_0_0.png";
15185                   border: 6 0 6 12;
15186                }
15187                fill.smooth: 0;
15188             }
15189             description { state: "visible" 0.0;
15190                inherit: "default" 0.0;
15191                visible: 1;
15192             }
15193          }
15194          part { name: "button4";
15195             mouse_events: 0;
15196             description { state: "default" 0.0;
15197                visible: 0;
15198                max: 15 999;
15199                min: 15 32;
15200                fixed: 1 1;
15201                rel1 {
15202                   to_x: "button0";
15203                   to_y: "elm.indicator";
15204                   offset: 0 -7;
15205                }
15206                rel2.to: "button0";
15207                image {
15208                   normal: "sl_bt2_0_1.png";
15209                   border: 0 0 6 12;
15210                }
15211                fill.smooth: 0;
15212             }
15213             description { state: "visible" 0.0;
15214                inherit: "default" 0.0;
15215                visible: 1;
15216             }
15217          }
15218          part { name: "button5";
15219             mouse_events: 0;
15220             description { state: "default" 0.0;
15221                visible: 0;
15222                min: 8 32;
15223                align: 0.0 0.5;
15224                rel1 {
15225                   to: "button4";
15226                   relative: 1.0 0.0;
15227                   offset: 0 0;
15228                }
15229                rel2 {
15230                   to_x: "elm.indicator";
15231                   to_y: "button4";
15232                   relative: 1.0 1.0;
15233                   offset: 6 -1;
15234                }
15235                image {
15236                   normal: "sl_bt2_0_2.png";
15237                   border: 0 6 6 12;
15238                }
15239                fill.smooth: 0;
15240             }
15241             description { state: "visible" 0.0;
15242                inherit: "default" 0.0;
15243                visible: 1;
15244             }
15245          }
15246          part { name: "elm.indicator";
15247             type: TEXT;
15248             mouse_events: 0;
15249             effect: SOFT_SHADOW;
15250             scale: 1;
15251             description { state: "default" 0.0;
15252                visible: 0;
15253                fixed: 1 1;
15254                align: 0.5 1.0;
15255                rel1 {
15256                   to: "button0";
15257                   relative: 0.0 -1.0;
15258                   offset: 0 0;
15259                }
15260                rel2 {
15261                   to: "button0";
15262                   relative: 1.0 -1.0;
15263                   offset: -1 0;
15264                }
15265                color: 224 224 224 255;
15266                color3: 0 0 0 64;
15267                text {
15268                   font:     "Sans,Edje-Vera";
15269                   size:     10;
15270                   min:      0 0;
15271                   align:    0.5 0.5;
15272                }
15273             }
15274             description { state: "visible" 0.0;
15275                inherit: "default" 0.0;
15276                visible: 1;
15277                text.min: 1 1;
15278                rel1.offset: 0 -1;
15279                rel2.offset: -1 -1;
15280             }
15281          }
15282          part { name: "button6";
15283             mouse_events: 0;
15284             description { state: "default" 0.0;
15285                visible: 0;
15286                rel1.to: "button3";
15287                rel2 {
15288                   to: "button5";
15289                   relative: 1.0 0.3;
15290                   offset: -1 -1;
15291                }
15292                image {
15293                   normal: "sl_bt2_1.png";
15294                   border: 5 5 5 0;
15295                }
15296                fill.smooth: 0;
15297             }
15298             description { state: "visible" 0.0;
15299                inherit: "default" 0.0;
15300                visible: 1;
15301             }
15302          }
15303          part { name: "button7";
15304             mouse_events: 0;
15305             description { state: "default" 0.0;
15306                visible: 0;
15307                rel1.to: "button3";
15308                rel2.to: "button5";
15309                image {
15310                   normal: "sl_bt2_2.png";
15311                   border: 5 5 5 0;
15312                   middle: 0;
15313                }
15314                fill.smooth: 0;
15315             }
15316             description { state: "visible" 0.0;
15317                inherit: "default" 0.0;
15318                visible: 1;
15319             }
15320          }
15321              part { name: "disabler";
15322                 type: RECT;
15323                 description { state: "default" 0.0;
15324                    color: 0 0 0 0;
15325                    visible: 0;
15326                 }
15327                 description { state: "disabled" 0.0;
15328                    inherit: "default" 0.0;
15329                    visible: 1;
15330                 }
15331              }
15332           }
15333
15334       programs {
15335          program { name: "text_show";
15336             signal: "elm,state,text,visible";
15337             source: "elm";
15338             action:  STATE_SET "visible" 0.0;
15339             target: "elm.text";
15340          }
15341          program { name: "text_hide";
15342             signal: "elm,state,text,hidden";
15343             source: "elm";
15344             action:  STATE_SET "default" 0.0;
15345             target: "elm.text";
15346          }
15347          program { name: "icon_show";
15348             signal: "elm,state,icon,visible";
15349             source: "elm";
15350             action:  STATE_SET "visible" 0.0;
15351             target: "elm.swallow.icon";
15352          }
15353          program { name: "icon_hide";
15354             signal: "elm,state,icon,hidden";
15355             source: "elm";
15356             action:  STATE_SET "default" 0.0;
15357             target: "elm.swallow.icon";
15358          }
15359          program { name: "end_show";
15360             signal: "elm,state,end,visible";
15361             source: "elm";
15362             action:  STATE_SET "visible" 0.0;
15363             target: "elm.swallow.end";
15364          }
15365          program { name: "end_hide";
15366             signal: "elm,state,end,hidden";
15367             source: "elm";
15368             action:  STATE_SET "default" 0.0;
15369             target: "elm.swallow.end";
15370          }
15371          program { name: "units_show";
15372             signal: "elm,state,units,visible";
15373             source: "elm";
15374             action:  STATE_SET "visible" 0.0;
15375             target: "elm.units";
15376             target: "units";
15377          }
15378          program { name: "units_hide";
15379             signal: "elm,state,units,hidden";
15380             source: "elm";
15381             action:  STATE_SET "default" 0.0;
15382             target: "elm.units";
15383             target: "units";
15384          }
15385          program { name: "invert_on";
15386             signal: "elm,state,inverted,on";
15387             source: "elm";
15388             action:  STATE_SET "inverted" 0.0;
15389             target: "level";
15390             target: "level2";
15391          }
15392          program { name: "invert_off";
15393             signal: "elm,state,inverted,off";
15394             source: "elm";
15395             action:  STATE_SET "default" 0.0;
15396             target: "level";
15397             target: "level2";
15398          }
15399          program { name: "set_val_show";
15400             signal: "elm,state,val,show";
15401             source: "elm";
15402             script {
15403                set_value_show();
15404             }
15405          }
15406          program { name: "set_val_hide";
15407             signal: "elm,state,val,hide";
15408             source: "elm";
15409             script {
15410                set_value_hide();
15411             }
15412          }
15413          program { name: "val_show";
15414             signal: "mouse,down,*";
15415             source: "elm.dragable.slider";
15416             script {
15417                thumb_down();
15418             }
15419          }
15420          program { name: "val_hide";
15421             signal: "mouse,up,*";
15422             source: "elm.dragable.slider";
15423             script {
15424                thumb_up();
15425             }
15426          }
15427          program {
15428             name:   "go_disabled";
15429             signal: "elm,state,disabled";
15430             source: "elm";
15431             action: STATE_SET "disabled" 0.0;
15432             target: "button0";
15433             target: "disabler";
15434             after: "disable_text";
15435          }
15436          program { name: "disable_text";
15437             script {
15438             new st[31];
15439             new Float:vl;
15440                get_state(PART:"elm.text", st, 30, vl);
15441                if (!strcmp(st, "visible"))
15442                   set_state(PART:"elm.text", "disabled_visible", 0.0);
15443                else
15444                   set_state(PART:"elm.text", "disabled", 0.0);
15445
15446                get_state(PART:"elm.units", st, 30, vl);
15447                if (!strcmp(st, "visible")) 
15448                   set_state(PART:"elm.units", "disabled_visible", 0.0);
15449                else 
15450                   set_state(PART:"elm.units", "disabled", 0.0);
15451
15452                get_state(PART:"level2", st, 30, vl);
15453                if (!strcmp(st, "inverted")) 
15454                {
15455                   set_state(PART:"level", "disabled_inverted", 0.0);
15456                   set_state(PART:"level2", "disabled_inverted", 0.0);
15457                }
15458                else 
15459                {
15460                   set_state(PART:"level", "disabled", 0.0);
15461                   set_state(PART:"level2", "disabled", 0.0);
15462                }
15463             }
15464          }
15465
15466          program { name: "enable";
15467             signal: "elm,state,enabled";
15468             source: "elm";
15469             action: STATE_SET "default" 0.0;
15470             target: "button0";
15471             target: "disabler";
15472             after: "enable_text";
15473          }
15474          program { name: "enable_text";
15475             script {
15476                new st[31];
15477                new Float:vl;
15478                get_state(PART:"elm.text", st, 30, vl);
15479                if (!strcmp(st, "disabled_visible"))
15480                   set_state(PART:"elm.text", "visible", 0.0);
15481                else
15482                   set_state(PART:"elm.text", "default", 0.0);
15483
15484                get_state(PART:"elm.units", st, 30, vl);
15485                if (!strcmp(st, "disabled_visible"))
15486                   set_state(PART:"elm.units", "visible", 0.0);
15487                else
15488                   set_state(PART:"elm.units", "default", 0.0);
15489      
15490                get_state(PART:"level2", st, 30, vl);
15491                if (!strcmp(st, "disabled_inverted"))
15492                {
15493                   set_state(PART:"level", "inverted", 0.0);
15494                   set_state(PART:"level2", "inverted", 0.0);
15495                }
15496                else
15497                {
15498                   set_state(PART:"level", "default", 0.0);
15499                   set_state(PART:"level2", "default", 0.0);
15500                }
15501             }
15502          }
15503       }
15504    }
15505
15506 ////////////////////////////////////////////////////////////////////////////////
15507 // actionslider
15508 ////////////////////////////////////////////////////////////////////////////////
15509    group { name: "elm/actionslider/base/default";
15510
15511       images {
15512          image: "shelf_inset.png" COMP;
15513          image: "ilist_1.png" COMP;
15514          image: "bt_bases.png" COMP;
15515          image: "bt_basew.png" COMP;
15516          image: "bt_hilightw.png" COMP;
15517       }
15518
15519       parts {
15520          part {
15521             name: "base";
15522             mouse_events: 0;
15523             description {
15524                state: "default" 0.0;
15525                min: 75 25;
15526                rel1.offset: 1 1;
15527                rel2.offset: -2 -2;
15528                image {
15529                   normal: "ilist_1.png";
15530                   border: 2 2 2 2;
15531                }
15532                fill.smooth: 0;
15533             }
15534          }
15535          part { name: "conf_over";
15536             mouse_events:  0;
15537             description { state: "default" 0.0;
15538                rel1.to: "base";
15539                rel2.to: "base";
15540                image {
15541                   normal: "shelf_inset.png";
15542                   border: 7 7 7 7;
15543                   middle: 0;
15544                }
15545                fill.smooth : 0;
15546             }
15547          }
15548          part { name: "icon.dragable.area";
15549            type: RECT;
15550             mouse_events: 0;
15551             description { state: "default" 0.0;
15552                visible: 0;
15553                rel1.to: "base";
15554                rel2.to: "base";
15555             }
15556          }
15557          part { name: "elm.text.left";
15558             type: TEXT;
15559             mouse_events: 0;
15560             scale: 1;
15561             description { state: "default" 0.0;
15562                color: 0 0 0 255;
15563                text {
15564                   font: "Sans,Edje-Vera";
15565                   size: 10;
15566                   align: 0.05 0.5;
15567                   min: 1 1;
15568                }
15569             }
15570          }
15571          part { name: "elm.text.center";
15572             type: TEXT;
15573             mouse_events: 0;
15574             scale: 1;
15575             description { state: "default" 0.0;
15576                color: 0 0 0 255;
15577                text {
15578                   font: "Sans,Edje-Vera";
15579                   size: 10;
15580                   align: 0.5 0.5;
15581                   min: 1 1;
15582                }
15583             }
15584          }
15585          part { name: "elm.text.right";
15586             type: TEXT;
15587             mouse_events: 0;
15588             scale: 1;
15589             description { state: "default" 0.0;
15590                color: 0 0 0 255;
15591                text {
15592                   font: "Sans,Edje-Vera";
15593                   size: 10;
15594                   align: 0.95 0.5;
15595                   min: 1 1;
15596                }
15597             }
15598          }
15599          part { name: "elm.drag_button_base";
15600             type: SWALLOW;
15601             mouse_events: 0;
15602             scale: 1;
15603             description { state: "default" 0.0;
15604                fixed: 1 1;
15605                min: 50 25;
15606                align: 0.5 0.5;
15607                rel1.to: "icon.dragable.area";
15608                rel2 {
15609                   relative: 0.0 1.0;
15610                   to: "icon.dragable.area";
15611                }
15612             }
15613             dragable {
15614                confine: "icon.dragable.area";
15615                x: 1 1 0;
15616                y: 0 0 0;
15617             }
15618          }
15619          part { name: "elm.drag_button";
15620             type: RECT;
15621             mouse_events: 1;
15622             description { state: "default" 0.0;
15623                min: 50 25;
15624                color: 255 255 255 0;
15625                rel1.to_x: "elm.drag_button_base";
15626                rel1.to_y: "icon.dragable.area";
15627                rel2.to_x: "elm.drag_button_base";
15628                rel2.to_y: "icon.dragable.area";
15629             }
15630             dragable {
15631                events: "elm.drag_button_base";
15632             }
15633          }
15634          part { name: "button0";
15635             mouse_events: 0;
15636             description { state: "default" 0.0;
15637                rel1.to: "button2";
15638                rel1.offset: -4 -4;
15639                rel2.to: "button2";
15640                rel2.offset: 3 3;
15641                image {
15642                   normal: "bt_bases.png";
15643                   border: 11 11 11 11;
15644                   middle: SOLID;
15645                }
15646                color: 255 255 255 128;
15647             }
15648          }
15649          part { name: "button2";
15650             mouse_events: 0;
15651             description { state: "default" 0.0;
15652                rel1.to: "elm.drag_button";
15653                rel2.to: "elm.drag_button";
15654                image {
15655                   normal: "bt_basew.png";
15656                   border: 7 7 7 7;
15657                   middle: SOLID;
15658                }
15659                color: 255 255 255 210;
15660             }
15661          }
15662          part { name: "button3";
15663             mouse_events: 0;
15664             description { state: "default" 0.0;
15665                rel1.to: "button2";
15666                rel2.to: "button2";
15667                rel2.relative: 1.0 0.5;
15668                image {
15669                   normal: "bt_hilightw.png";
15670                   border: 4 4 4 0;
15671                }
15672                color: 255 255 255 190;
15673             }
15674          }
15675          part { name: "elm.text.indicator";
15676             type: TEXT;
15677             scale: 1;
15678             mouse_events: 0;
15679             description { state: "default" 0.0;
15680                rel1 {
15681                   to: "elm.drag_button";
15682                   offset: 5 0;
15683                }
15684                rel2 {
15685                   to: "elm.drag_button";
15686                   offset: -5 0;
15687                }
15688                color: 0 0 0 255;
15689                text {
15690                   font: "Sans,Edje-Vera";
15691                   size: 10;
15692                   align: 0.5 0.5;
15693                   min: 0 1;
15694                }
15695             }
15696          }
15697       }
15698       programs {
15699          program { name: "elm.drag_button,mouse,up";
15700             signal: "mouse,up,1";
15701             source: "elm.drag_button";
15702             action: SIGNAL_EMIT "elm.drag_button,mouse,up" "";
15703          }
15704          program { name: "elm.drag_button,mouse,down";
15705             signal: "mouse,down,1";
15706             source: "elm.drag_button";
15707             action: SIGNAL_EMIT "elm.drag_button,mouse,down" "";
15708          }
15709          program { name: "elm.drag_button,mouse,move";
15710             signal: "mouse,move";
15711             source: "elm.drag_button_base";
15712             action: SIGNAL_EMIT "elm.drag_button,mouse,move" "";
15713          }
15714       }
15715    }
15716
15717    group { name: "elm/actionslider/base/bar";
15718
15719       images {
15720          image: "shelf_inset.png" COMP;
15721          image: "ilist_1.png" COMP;
15722          image: "bt_bases.png" COMP;
15723          image: "bt_basew.png" COMP;
15724          image: "bt_hilightw.png" COMP;
15725       }
15726
15727       parts {
15728          part {
15729             name: "base";
15730             mouse_events: 0;
15731             description {
15732                state: "default" 0.0;
15733                min: 150 30;
15734                rel1.offset: 1 1;
15735                rel2.offset: -2 -2;
15736                image {
15737                   normal: "ilist_1.png";
15738                   border: 2 2 2 2;
15739                }
15740                fill.smooth: 0;
15741             }
15742          }
15743          part { name: "conf_over";
15744             mouse_events:  0;
15745             description { state: "default" 0.0;
15746                rel1.to: "base";
15747                rel2.to: "base";
15748                image {
15749                   normal: "shelf_inset.png";
15750                   border: 7 7 7 7;
15751                   middle: 0;
15752                }
15753                fill.smooth : 0;
15754             }
15755          }
15756          part { name: "icon.dragable.area";
15757            type: RECT;
15758             mouse_events: 0;
15759             description { state: "default" 0.0;
15760                visible: 0;
15761                rel1.to: "base";
15762                rel2.to: "base";
15763             }
15764          }
15765          part { name: "elm.text.left";
15766             type: TEXT;
15767             mouse_events: 0;
15768             scale: 1;
15769             description { state: "default" 0.0;
15770                color: 0 0 0 255;
15771                text {
15772                   font: "Sans,Edje-Vera";
15773                   size: 10;
15774                   align: 0.05 0.5;
15775                   min: 1 1;
15776                }
15777             }
15778          }
15779          part { name: "elm.text.center";
15780             type: TEXT;
15781             mouse_events: 0;
15782             scale: 1;
15783             description { state: "default" 0.0;
15784                color: 0 0 0 255;
15785                text {
15786                   font: "Sans,Edje-Vera";
15787                   size: 10;
15788                   align: 0.5 0.5;
15789                   min: 1 1;
15790                }
15791             }
15792          }
15793          part { name: "elm.text.right";
15794             type: TEXT;
15795             mouse_events: 0;
15796             scale: 1;
15797             description { state: "default" 0.0;
15798                color: 0 0 0 255;
15799                text {
15800                   font: "Sans,Edje-Vera";
15801                   size: 10;
15802                   align: 0.95 0.5;
15803                   min: 1 1;
15804                }
15805             }
15806          }
15807          part { name: "bar";
15808             type: RECT;
15809             mouse_events: 0;
15810             description { state: "default" 0.0;
15811                rel1.to: "base";
15812                rel1.offset: 0 2;
15813                rel2 {
15814                   relative: 0 1;
15815                   offset: 3 -3;
15816                   to_x: "elm.drag_button_base";
15817                   to_y: "base";
15818                }
15819                color: 0 0 0 180;
15820             }
15821          }
15822          part { name: "elm.drag_button_base";
15823             type: SWALLOW;
15824             mouse_events: 1;
15825             scale: 1;
15826             description { state: "default" 0.0;
15827                fixed: 1 1;
15828                min: 50 25;
15829                align: 0.5 0.5;
15830                rel1.to: "icon.dragable.area";
15831                rel2 {
15832                   relative: 0.0 1.0;
15833                   to: "icon.dragable.area";
15834                }
15835             }
15836             dragable {
15837                confine: "icon.dragable.area";
15838                x: 1 1 0;
15839                y: 0 0 0;
15840             }
15841          }
15842          part { name: "elm.drag_button";
15843             type: RECT;
15844             mouse_events: 1;
15845             description { state: "default" 0.0;
15846                min: 50 25;
15847                color: 255 255 255 0;
15848                rel1.to_x: "elm.drag_button_base";
15849                rel1.to_y: "icon.dragable.area";
15850                rel2.to_x: "elm.drag_button_base";
15851                rel2.to_y: "icon.dragable.area";
15852             }
15853             dragable {
15854                events: "elm.drag_button_base";
15855             }
15856          }
15857          part { name: "button0";
15858             mouse_events: 0;
15859             description { state: "default" 0.0;
15860                rel1.to: "button2";
15861                rel1.offset: -4 -4;
15862                rel2.to: "button2";
15863                rel2.offset: 3 3;
15864                image {
15865                   normal: "bt_bases.png";
15866                   border: 11 11 11 11;
15867                   middle: SOLID;
15868                }
15869                color: 255 255 255 128;
15870             }
15871          }
15872          part { name: "button2";
15873             mouse_events: 0;
15874             description { state: "default" 0.0;
15875                rel1.to: "elm.drag_button";
15876                rel2.to: "elm.drag_button";
15877                image {
15878                   normal: "bt_basew.png";
15879                   border: 7 7 7 7;
15880                   middle: SOLID;
15881                }
15882                color: 255 255 255 210;
15883             }
15884          }
15885          part { name: "button3";
15886             mouse_events: 0;
15887             description { state: "default" 0.0;
15888                rel1.to: "button2";
15889                rel2.to: "button2";
15890                rel2.relative: 1.0 0.5;
15891                image {
15892                   normal: "bt_hilightw.png";
15893                   border: 4 4 4 0;
15894                }
15895                color: 255 255 255 190;
15896             }
15897          }
15898          part { name: "elm.text.indicator";
15899             type: TEXT;
15900             scale: 1;
15901             mouse_events: 0;
15902             description { state: "default" 0.0;
15903                rel1 {
15904                   to: "elm.drag_button";
15905                   offset: 5 0;
15906                }
15907                rel2 {
15908                   to: "elm.drag_button";
15909                   offset: -5 0;
15910                }
15911                color: 0 0 0 255;
15912                text {
15913                   font: "Sans,Edje-Vera";
15914                   size: 10;
15915                   align: 0.5 0.5;
15916                   min: 0 1;
15917                }
15918             }
15919          }
15920       }
15921       programs {
15922          program { name: "elm.drag_button,mouse,up";
15923             signal: "mouse,up,1";
15924             source: "elm.drag_button";
15925             action: SIGNAL_EMIT "elm.drag_button,mouse,up" "";
15926          }
15927          program { name: "elm.drag_button,mouse,down";
15928             signal: "mouse,down,1";
15929             source: "elm.drag_button";
15930             action: SIGNAL_EMIT "elm.drag_button,mouse,down" "";
15931          }
15932          program { name: "elm.drag_button,mouse,move";
15933             signal: "mouse,move";
15934             source: "elm.drag_button_base";
15935             action: SIGNAL_EMIT "elm.drag_button,mouse,move" "";
15936          }
15937       }
15938    }
15939
15940 ///////////////////////////////////////////////////////////////////////////////
15941    group { name: "elm/genlist/item/default/default";
15942       data.item: "stacking" "above";
15943       data.item: "selectraise" "on";
15944       data.item: "labels" "elm.text";
15945       data.item: "icons" "elm.swallow.icon elm.swallow.end";
15946       data.item: "treesize" "20";
15947 //      data.item: "states" "";
15948       images {
15949          image: "bt_sm_base1.png" COMP;
15950          image: "bt_sm_shine.png" COMP;
15951          image: "bt_sm_hilight.png" COMP;
15952          image: "ilist_1.png" COMP;
15953          image: "ilist_item_shadow.png" COMP;
15954       }
15955       parts {
15956          part {
15957             name:           "event";
15958             type:           RECT;
15959             repeat_events: 1;
15960             description {
15961                state: "default" 0.0;
15962                color: 0 0 0 0;
15963             }
15964          }
15965          part {
15966             name: "base_sh";
15967             mouse_events: 0;
15968             description {
15969                state: "default" 0.0;
15970                align: 0.0 0.0;
15971                min: 0 10;
15972                fixed: 1 1;
15973                rel1 {
15974                   to: "base";
15975                   relative: 0.0 1.0;
15976                   offset: 0 0;
15977                }
15978                rel2 {
15979                   to: "base";
15980                   relative: 1.0 1.0;
15981                   offset: -1 0;
15982                }
15983                image {
15984                   normal: "ilist_item_shadow.png";
15985                }
15986                fill.smooth: 0;
15987             }
15988          }
15989          part {
15990             name: "base";
15991             mouse_events: 0;
15992             description {
15993                state: "default" 0.0;
15994                image {
15995                   normal: "ilist_1.png";
15996                   border: 2 2 2 2;
15997                }
15998                fill.smooth: 0;
15999             }
16000          }
16001          part { name: "bg";
16002             clip_to: "disclip";
16003             mouse_events: 0;
16004             description { state: "default" 0.0;
16005                visible: 0;
16006                color: 255 255 255 0;
16007                rel1 {
16008                   relative: 0.0 0.0;
16009                   offset: -5 -5;
16010                }
16011                rel2 {
16012                   relative: 1.0 1.0;
16013                   offset: 4 4;
16014                }
16015                image {
16016                   normal: "bt_sm_base1.png";
16017                   border: 6 6 6 6;
16018                }
16019                image.middle: SOLID;
16020             }
16021             description { state: "selected" 0.0;
16022                inherit: "default" 0.0;
16023                visible: 1;
16024                color: 255 255 255 255;
16025                rel1 {
16026                   relative: 0.0 0.0;
16027                   offset: -2 -2;
16028                }
16029                rel2 {
16030                   relative: 1.0 1.0;
16031                   offset: 1 1;
16032                }
16033             }
16034          }
16035          part { name: "elm.swallow.pad";
16036             type: SWALLOW;
16037             description { state: "default" 0.0;
16038                fixed: 1 0;
16039                align: 0.0 0.5;
16040                rel1 {
16041                   relative: 0.0  0.0;
16042                   offset:   4    4;
16043                }
16044                rel2 {
16045                   relative: 0.0  1.0;
16046                   offset:   4   -5;
16047                }
16048             }
16049          }
16050          part { name: "elm.swallow.icon";
16051             clip_to: "disclip";
16052             type: SWALLOW;
16053             description { state: "default" 0.0;
16054                fixed: 1 0;
16055                align: 0.0 0.5;
16056                rel1 {
16057                   to_x: "elm.swallow.pad";
16058                   relative: 1.0  0.0;
16059                   offset:   -1    4;
16060                }
16061                rel2 {
16062                   to_x: "elm.swallow.pad";
16063                   relative: 1.0  1.0;
16064                   offset:   -1   -5;
16065                }
16066             }
16067          }
16068          part { name: "elm.swallow.end";
16069             clip_to: "disclip";
16070             type: SWALLOW;
16071             description { state: "default" 0.0;
16072                fixed: 1 0;
16073                align: 1.0 0.5;
16074                aspect: 1.0 1.0;
16075                aspect_preference: VERTICAL;
16076                rel1 {
16077                   relative: 1.0  0.0;
16078                   offset:   -5    4;
16079                }
16080                rel2 {
16081                   relative: 1.0  1.0;
16082                   offset:   -5   -5;
16083                }
16084             }
16085          }
16086          part { name: "elm.text";
16087             clip_to: "disclip";
16088             type:           TEXT;
16089             effect:         SOFT_SHADOW;
16090             mouse_events:   0;
16091             scale: 1;
16092             description {
16093                state: "default" 0.0;
16094 //               min: 16 16;
16095                rel1 {
16096                   to_x:     "elm.swallow.icon";
16097                   relative: 1.0  0.0;
16098                   offset:   0 4;
16099                }
16100                rel2 {
16101                   to_x:     "elm.swallow.end";
16102                   relative: 0.0  1.0;
16103                   offset:   -1 -5;
16104                }
16105                color: 0 0 0 255;
16106                color3: 0 0 0 0;
16107                text {
16108                   font: "Sans";
16109                   size: 10;
16110                   min: 1 1;
16111 //                  min: 0 1;
16112                   align: 0.0 0.5;
16113                   text_class: "list_item";
16114                }
16115             }
16116             description { state: "selected" 0.0;
16117                inherit: "default" 0.0;
16118                color: 224 224 224 255;
16119                color3: 0 0 0 64;
16120             }
16121          }
16122          part { name: "fg1";
16123             clip_to: "disclip";
16124             mouse_events: 0;
16125             description { state: "default" 0.0;
16126                visible: 0;
16127                color: 255 255 255 0;
16128                rel1.to: "bg";
16129                rel2.relative: 1.0 0.5;
16130                rel2.to: "bg";
16131                image {
16132                   normal: "bt_sm_hilight.png";
16133                   border: 6 6 6 0;
16134                }
16135             }
16136             description { state: "selected" 0.0;
16137                inherit: "default" 0.0;
16138                visible: 1;
16139                color: 255 255 255 255;
16140             }
16141          }
16142          part { name: "fg2";
16143             clip_to: "disclip";
16144             mouse_events: 0;
16145             description { state: "default" 0.0;
16146                visible: 0;
16147                color: 255 255 255 0;
16148                rel1.to: "bg";
16149                rel2.to: "bg";
16150                image {
16151                   normal: "bt_sm_shine.png";
16152                   border: 6 6 6 0;
16153                }
16154             }
16155             description { state: "selected" 0.0;
16156                inherit: "default" 0.0;
16157                visible: 1;
16158                color: 255 255 255 255;
16159             }
16160          }
16161          part { name: "disclip";
16162             type: RECT;
16163             description { state: "default" 0.0;
16164                rel1.to: "bg";
16165                rel2.to: "bg";
16166             }
16167             description { state: "disabled" 0.0;
16168                inherit: "default" 0.0;
16169                color: 255 255 255 64;
16170             }
16171          }
16172       }
16173       programs {
16174          // signal: elm,state,%s,active
16175          //   a "check" item named %s went active
16176          // signal: elm,state,%s,passive
16177          //   a "check" item named %s went passive
16178          // default is passive
16179          program {
16180             name:    "go_active";
16181             signal:  "elm,state,selected";
16182             source:  "elm";
16183             action:  STATE_SET "selected" 0.0;
16184             target:  "bg";
16185             target:  "fg1";
16186             target:  "fg2";
16187             target:  "elm.text";
16188          }
16189          program {
16190             name:    "go_passive";
16191             signal:  "elm,state,unselected";
16192             source:  "elm";
16193             action:  STATE_SET "default" 0.0;
16194             target:  "bg";
16195             target:  "fg1";
16196             target:  "fg2";
16197             target:  "elm.text";
16198             transition: LINEAR 0.1;
16199          }
16200          program {
16201             name:    "go_disabled";
16202             signal:  "elm,state,disabled";
16203             source:  "elm";
16204             action:  STATE_SET "disabled" 0.0;
16205             target:  "disclip";
16206          }
16207          program {
16208             name:    "go_enabled";
16209             signal:  "elm,state,enabled";
16210             source:  "elm";
16211             action:  STATE_SET "default" 0.0;
16212             target:  "disclip";
16213          }
16214       }
16215    }
16216    group { name: "elm/genlist/item/group_index/default";
16217       alias: "elm/genlist/item_odd/group_index/default";
16218       data.item: "stacking" "above";
16219       data.item: "selectraise" "on";
16220       data.item: "labels" "elm.text";
16221       data.item: "icons" "elm.swallow.icon elm.swallow.end";
16222       data.item: "treesize" "20";
16223 //      data.item: "states" "";
16224       images {
16225          image: "bt_sm_base1.png" COMP;
16226          image: "bt_sm_shine.png" COMP;
16227          image: "bt_sm_hilight.png" COMP;
16228          image: "ilist_item_shadow.png" COMP;
16229          image: "group_index.png" COMP;
16230       }
16231       parts {
16232          part {
16233             name: "event";
16234             type: RECT;
16235             repeat_events: 0;
16236             description {
16237                state: "default" 0.0;
16238                color: 0 0 0 0;
16239             }
16240          }
16241          part {
16242             name: "base_sh";
16243             mouse_events: 0;
16244             description {
16245                state: "default" 0.0;
16246                align: 0.0 0.0;
16247                min: 0 10;
16248                fixed: 1 1;
16249                rel1 {
16250                   to: "base";
16251                   relative: 0.0 1.0;
16252                   offset: 0 0;
16253                }
16254                rel2 {
16255                   to: "base";
16256                   relative: 1.0 1.0;
16257                   offset: -1 0;
16258                }
16259                image {
16260                   normal: "ilist_item_shadow.png";
16261                }
16262                fill.smooth: 0;
16263             }
16264          }
16265          part {
16266             name: "base";
16267             mouse_events: 0;
16268             description {
16269                state: "default" 0.0;
16270                image {
16271                   normal: "group_index.png";
16272                   border: 2 2 2 2;
16273                }
16274                fill.smooth: 0;
16275             }
16276          }
16277          part { name: "bg";
16278             clip_to: "disclip";
16279             mouse_events: 0;
16280             description { state: "default" 0.0;
16281                visible: 0;
16282                color: 255 255 255 0;
16283                rel1 {
16284                   relative: 0.0 0.0;
16285                   offset: -5 -5;
16286                }
16287                rel2 {
16288                   relative: 1.0 1.0;
16289                   offset: 4 4;
16290                }
16291                image {
16292                   normal: "bt_sm_base1.png";
16293                   border: 6 6 6 6;
16294                }
16295                image.middle: SOLID;
16296             }
16297             description { state: "selected" 0.0;
16298                inherit: "default" 0.0;
16299                visible: 1;
16300                color: 255 255 255 255;
16301                rel1 {
16302                   relative: 0.0 0.0;
16303                   offset: -2 -2;
16304                }
16305                rel2 {
16306                   relative: 1.0 1.0;
16307                   offset: 1 1;
16308                }
16309             }
16310          }
16311          part { name: "elm.swallow.pad";
16312             type: SWALLOW;
16313             description { state: "default" 0.0;
16314                fixed: 1 0;
16315                align: 0.0 0.5;
16316                rel1 {
16317                   relative: 0.0  0.0;
16318                   offset: 4 4;
16319                }
16320                rel2 {
16321                   relative: 0.0  1.0;
16322                   offset: 4 -5;
16323                }
16324             }
16325          }
16326          part { name: "elm.swallow.icon";
16327             clip_to: "disclip";
16328             type: SWALLOW;
16329             description { state: "default" 0.0;
16330                fixed: 1 0;
16331                align: 0.0 0.5;
16332                rel1 {
16333                   to_x: "elm.swallow.pad";
16334                   relative: 1.0 0.0;
16335                   offset: -1 4;
16336                }
16337                rel2 {
16338                   to_x: "elm.swallow.pad";
16339                   relative: 1.0 1.0;
16340                   offset: -1 -5;
16341                }
16342             }
16343          }
16344          part { name: "elm.swallow.end";
16345             clip_to: "disclip";
16346             type: SWALLOW;
16347             description { state: "default" 0.0;
16348                fixed: 1 0;
16349                align: 1.0 0.5;
16350                aspect: 1.0 1.0;
16351                aspect_preference: VERTICAL;
16352                rel1 {
16353                   relative: 1.0 0.0;
16354                   offset: -5 4;
16355                }
16356                rel2 {
16357                   relative: 1.0 1.0;
16358                   offset: -5 -5;
16359                }
16360             }
16361          }
16362          part { name: "elm.text";
16363             clip_to: "disclip";
16364             type: TEXT;
16365             effect: SOFT_SHADOW;
16366             mouse_events: 0;
16367             scale: 1;
16368             description {
16369                state: "default" 0.0;
16370 //               min: 16 16;
16371                rel1 {
16372                   to_x: "elm.swallow.icon";
16373                   relative: 1.0  0.0;
16374                   offset: 0 4;
16375                }
16376                rel2 {
16377                   to_x: "elm.swallow.end";
16378                   relative: 0.0  1.0;
16379                   offset: -1 -5;
16380                }
16381                color: 0 0 0 255;
16382                color3: 0 0 0 0;
16383                text {
16384                   font: "Sans";
16385                   size: 10;
16386                   min: 1 1;
16387 //                  min: 0 1;
16388                   align: -1.0 0.5;
16389                   text_class: "list_item";
16390                }
16391             }
16392             description { state: "selected" 0.0;
16393                inherit: "default" 0.0;
16394                color: 224 224 224 255;
16395                color3: 0 0 0 64;
16396             }
16397          }
16398          part { name: "fg1";
16399             clip_to: "disclip";
16400             mouse_events: 0;
16401             description { state: "default" 0.0;
16402                visible: 0;
16403                color: 255 255 255 0;
16404                rel1.to: "bg";
16405                rel2.relative: 1.0 0.5;
16406                rel2.to: "bg";
16407                image {
16408                   normal: "bt_sm_hilight.png";
16409                   border: 6 6 6 0;
16410                }
16411             }
16412             description { state: "selected" 0.0;
16413                inherit: "default" 0.0;
16414                visible: 1;
16415                color: 255 255 255 255;
16416             }
16417          }
16418          part { name: "fg2";
16419             clip_to: "disclip";
16420             mouse_events: 0;
16421             description { state: "default" 0.0;
16422                visible: 0;
16423                color: 255 255 255 0;
16424                rel1.to: "bg";
16425                rel2.to: "bg";
16426                image {
16427                   normal: "bt_sm_shine.png";
16428                   border: 6 6 6 0;
16429                }
16430             }
16431             description { state: "selected" 0.0;
16432                inherit: "default" 0.0;
16433                visible: 1;
16434                color: 255 255 255 255;
16435             }
16436          }
16437          part { name: "disclip";
16438             type: RECT;
16439             description { state: "default" 0.0;
16440                rel1.to: "bg";
16441                rel2.to: "bg";
16442             }
16443             description { state: "disabled" 0.0;
16444                inherit: "default" 0.0;
16445                color: 255 255 255 64;
16446             }
16447          }
16448       }
16449       programs {
16450          // signal: elm,state,%s,active
16451          //   a "check" item named %s went active
16452          // signal: elm,state,%s,passive
16453          //   a "check" item named %s went passive
16454          // default is passive
16455          program {
16456             name:    "go_active";
16457             signal:  "elm,state,selected";
16458             source:  "elm";
16459             action:  STATE_SET "selected" 0.0;
16460             target:  "bg";
16461             target:  "fg1";
16462             target:  "fg2";
16463             target:  "elm.text";
16464          }
16465          program {
16466             name:    "go_passive";
16467             signal:  "elm,state,unselected";
16468             source:  "elm";
16469             action:  STATE_SET "default" 0.0;
16470             target:  "bg";
16471             target:  "fg1";
16472             target:  "fg2";
16473             target:  "elm.text";
16474             transition: LINEAR 0.1;
16475          }
16476          program {
16477             name:    "go_disabled";
16478             signal:  "elm,state,disabled";
16479             source:  "elm";
16480             action:  STATE_SET "disabled" 0.0;
16481             target:  "disclip";
16482          }
16483          program {
16484             name:    "go_enabled";
16485             signal:  "elm,state,enabled";
16486             source:  "elm";
16487             action:  STATE_SET "default" 0.0;
16488             target:  "disclip";
16489          }
16490       }
16491    }
16492    group { name: "elm/genlist/item_compress/message/default";
16493       data.item: "stacking" "above";
16494       data.item: "selectraise" "on";
16495       data.item: "labels" "elm.title.1 elm.title.2 elm.text";
16496 //      data.item: "icons" "elm.swallow.icon elm.swallow.end";
16497       data.item: "treesize" "20";
16498 //      data.item: "states" "";
16499       images {
16500          image: "bt_sm_base1.png" COMP;
16501          image: "bt_sm_shine.png" COMP;
16502          image: "bt_sm_hilight.png" COMP;
16503          image: "ilist_1.png" COMP;
16504          image: "ilist_item_shadow.png" COMP;
16505       }
16506       styles {
16507         style { name: "genlist_textblock_style";
16508           base: "font=Sans font_size=10 color=#000 wrap=char text_class=list_item";
16509           tag:  "br" "\n";
16510           tag:  "ps" "ps";
16511           tag:  "tab" "\t";
16512         }
16513         style { name: "genlist_textblock_style2";
16514           base: "font=Sans font_size=10 color=#fff wrap=char text_class=list_item";
16515           tag:  "br" "\n";
16516           tag:  "ps" "ps";
16517           tag:  "tab" "\t";
16518         }
16519       }
16520      parts {
16521          part {
16522             name:           "event";
16523             type:           RECT;
16524             repeat_events: 1;
16525             description {
16526                state: "default" 0.0;
16527                color: 0 0 0 0;
16528             }
16529          }
16530          part {
16531             name: "base_sh";
16532             mouse_events: 0;
16533             description {
16534                state: "default" 0.0;
16535                align: 0.0 0.0;
16536                min: 0 10;
16537                fixed: 1 1;
16538                rel1 {
16539                   to: "base";
16540                   relative: 0.0 1.0;
16541                   offset: 0 0;
16542                }
16543                rel2 {
16544                   to: "base";
16545                   relative: 1.0 1.0;
16546                   offset: -1 0;
16547                }
16548                image {
16549                   normal: "ilist_item_shadow.png";
16550                }
16551                fill.smooth: 0;
16552             }
16553          }
16554          part {
16555             name: "base";
16556             mouse_events: 0;
16557             description {
16558                state: "default" 0.0;
16559                image {
16560                   normal: "ilist_1.png";
16561                   border: 2 2 2 2;
16562                }
16563                fill.smooth: 0;
16564             }
16565          }
16566          part { name: "bg";
16567             clip_to: "disclip";
16568             mouse_events: 0;
16569             description { state: "default" 0.0;
16570                visible: 0;
16571                color: 255 255 255 0;
16572                rel1 {
16573                   relative: 0.0 0.0;
16574                   offset: -5 -5;
16575                }
16576                rel2 {
16577                   relative: 1.0 1.0;
16578                   offset: 4 4;
16579                }
16580                image {
16581                   normal: "bt_sm_base1.png";
16582                   border: 6 6 6 6;
16583                }
16584                image.middle: SOLID;
16585             }
16586             description { state: "selected" 0.0;
16587                inherit: "default" 0.0;
16588                visible: 1;
16589                color: 255 255 255 255;
16590                rel1 {
16591                   relative: 0.0 0.0;
16592                   offset: -2 -2;
16593                }
16594                rel2 {
16595                   relative: 1.0 1.0;
16596                   offset: 1 1;
16597                }
16598             }
16599          }
16600          part { name: "elm.title.1";
16601             clip_to: "disclip";
16602             type:           TEXT;
16603             effect:         SOFT_SHADOW;
16604             mouse_events:   0;
16605             scale: 1;
16606             description {
16607                state: "default" 0.0;
16608                fixed: 0 1;
16609 //               min: 16 16;
16610                rel1 {
16611                   relative: 0.0  0.0;
16612                   offset:   4 4;
16613                }
16614                rel2 {
16615                   relative: 1.0  0.0;
16616                   offset:   -5 4;
16617                }
16618                color: 0 0 0 255;
16619                color3: 0 0 0 0;
16620                align: 0.0 0.0;
16621                text {
16622                   font: "Sans";
16623                   size: 10;
16624                   min: 0 1;
16625 //                  min: 1 1;
16626                   align: 0.0 0.0;
16627                   text_class: "list_item";
16628                }
16629             }
16630             description { state: "selected" 0.0;
16631                inherit: "default" 0.0;
16632                color: 224 224 224 255;
16633                color3: 0 0 0 64;
16634             }
16635          }
16636          part { name: "elm.title.2";
16637             clip_to: "disclip";
16638             type:           TEXT;
16639             effect:         SOFT_SHADOW;
16640             mouse_events:   0;
16641             scale: 1;
16642             description {
16643                state: "default" 0.0;
16644                fixed: 0 1;
16645 //               min: 16 16;
16646                rel1 {
16647                   to_y:     "elm.title.1";
16648                   relative: 0.0  1.0;
16649                   offset:   4 0;
16650                }
16651                rel2 {
16652                   to_y:     "elm.title.1";
16653                   relative: 1.0  1.0;
16654                   offset:   -5 0;
16655                }
16656                color: 0 0 0 255;
16657                color3: 0 0 0 0;
16658                align: 0.0 0.0;
16659                text {
16660                   font: "Sans";
16661                   size: 10;
16662                   min: 0 1;
16663 //                  min: 1 1;
16664                   align: 0.0 0.0;
16665                   text_class: "list_item";
16666                }
16667             }
16668             description { state: "selected" 0.0;
16669                inherit: "default" 0.0;
16670                color: 224 224 224 255;
16671                color3: 0 0 0 64;
16672             }
16673          }
16674          part { name: "elm.text";
16675             clip_to: "disclip";
16676             type:           TEXTBLOCK;
16677             mouse_events:   0;
16678             scale: 1;
16679             description {
16680                state: "default" 0.0;
16681 //               fixed: 0 1;
16682 //               min: 16 16;
16683                rel1 {
16684                   to_y:     "elm.title.2";
16685                   relative: 0.0  1.0;
16686                   offset:   4 0;
16687                }
16688                rel2 {
16689                   relative: 1.0  1.0;
16690                   offset:   -5 -5;
16691                }
16692                align: 0.0 0.0;
16693                text {
16694                   style: "genlist_textblock_style";
16695                   min: 0 1;
16696 //                  min: 1 1;
16697                   align: 0.0 0.0;
16698                }
16699             }
16700             description { state: "selected" 0.0;
16701                inherit: "default" 0.0;
16702                text {
16703                   style: "genlist_textblock_style2";
16704                }
16705             }
16706          }
16707          part { name: "fg1";
16708             clip_to: "disclip";
16709             mouse_events: 0;
16710             description { state: "default" 0.0;
16711                visible: 0;
16712                color: 255 255 255 0;
16713                rel1.to: "bg";
16714                rel2.relative: 1.0 0.5;
16715                rel2.to: "bg";
16716                image {
16717                   normal: "bt_sm_hilight.png";
16718                   border: 6 6 6 0;
16719                }
16720             }
16721             description { state: "selected" 0.0;
16722                inherit: "default" 0.0;
16723                visible: 1;
16724                color: 255 255 255 255;
16725             }
16726          }
16727          part { name: "fg2";
16728             clip_to: "disclip";
16729             mouse_events: 0;
16730             description { state: "default" 0.0;
16731                visible: 0;
16732                color: 255 255 255 0;
16733                rel1.to: "bg";
16734                rel2.to: "bg";
16735                image {
16736                   normal: "bt_sm_shine.png";
16737                   border: 6 6 6 0;
16738                }
16739             }
16740             description { state: "selected" 0.0;
16741                inherit: "default" 0.0;
16742                visible: 1;
16743                color: 255 255 255 255;
16744             }
16745          }
16746          part { name: "disclip";
16747             type: RECT;
16748             description { state: "default" 0.0;
16749                rel1.to: "bg";
16750                rel2.to: "bg";
16751             }
16752             description { state: "disabled" 0.0;
16753                inherit: "default" 0.0;
16754                color: 255 255 255 64;
16755             }
16756          }
16757       }
16758       programs {
16759          // signal: elm,state,%s,active
16760          //   a "check" item named %s went active
16761          // signal: elm,state,%s,passive
16762          //   a "check" item named %s went passive
16763          // default is passive
16764          program {
16765             name:    "go_active";
16766             signal:  "elm,state,selected";
16767             source:  "elm";
16768             action:  STATE_SET "selected" 0.0;
16769             target:  "bg";
16770             target:  "fg1";
16771             target:  "fg2";
16772             target:  "elm.title.1";
16773             target:  "elm.title.2";
16774             target:  "elm.text";
16775          }
16776          program {
16777             name:    "go_passive";
16778             signal:  "elm,state,unselected";
16779             source:  "elm";
16780             action:  STATE_SET "default" 0.0;
16781             target:  "bg";
16782             target:  "fg1";
16783             target:  "fg2";
16784             target:  "elm.title.1";
16785             target:  "elm.title.2";
16786             target:  "elm.text";
16787             transition: LINEAR 0.1;
16788          }
16789          program {
16790             name:    "go_disabled";
16791             signal:  "elm,state,disabled";
16792             source:  "elm";
16793             action:  STATE_SET "disabled" 0.0;
16794             target:  "disclip";
16795          }
16796          program {
16797             name:    "go_enabled";
16798             signal:  "elm,state,enabled";
16799             source:  "elm";
16800             action:  STATE_SET "default" 0.0;
16801             target:  "disclip";
16802          }
16803       }
16804    }
16805    group { name: "elm/genlist/item_compress_odd/message/default";
16806       data.item: "stacking" "below";
16807       data.item: "selectraise" "on";
16808       data.item: "labels" "elm.title.1 elm.title.2 elm.text";
16809 //      data.item: "icons" "elm.swallow.icon elm.swallow.end";
16810       data.item: "treesize" "20";
16811 //      data.item: "states" "";
16812       images {
16813          image: "bt_sm_base1.png" COMP;
16814          image: "bt_sm_shine.png" COMP;
16815          image: "bt_sm_hilight.png" COMP;
16816          image: "ilist_2.png" COMP;
16817       }
16818       parts {
16819          part { name: "event";
16820             type: RECT;
16821             repeat_events: 1;
16822             description {
16823                state: "default" 0.0;
16824                color: 0 0 0 0;
16825             }
16826          }
16827          part {
16828             name: "base";
16829             mouse_events: 0;
16830             description {
16831                state: "default" 0.0;
16832                image {
16833                   normal: "ilist_2.png";
16834                   border: 2 2 2 2;
16835                }
16836                fill.smooth: 0;
16837             }
16838          }
16839          part { name: "bg";
16840             clip_to: "disclip";
16841             mouse_events: 0;
16842             description { state: "default" 0.0;
16843                visible: 0;
16844                color: 255 255 255 0;
16845                rel1 {
16846                   relative: 0.0 0.0;
16847                   offset: -5 -5;
16848                }
16849                rel2 {
16850                   relative: 1.0 1.0;
16851                   offset: 4 4;
16852                }
16853                image {
16854                   normal: "bt_sm_base1.png";
16855                   border: 6 6 6 6;
16856                }
16857                image.middle: SOLID;
16858             }
16859             description { state: "selected" 0.0;
16860                inherit: "default" 0.0;
16861                visible: 1;
16862                color: 255 255 255 255;
16863                rel1 {
16864                   relative: 0.0 0.0;
16865                   offset: -2 -2;
16866                }
16867                rel2 {
16868                   relative: 1.0 1.0;
16869                   offset: 1 1;
16870                }
16871             }
16872          }
16873          part { name: "elm.title.1";
16874             clip_to: "disclip";
16875             type:           TEXT;
16876             effect:         SOFT_SHADOW;
16877             mouse_events:   0;
16878             scale: 1;
16879             description {
16880                state: "default" 0.0;
16881                fixed: 0 1;
16882 //               min: 16 16;
16883                rel1 {
16884                   relative: 0.0  0.0;
16885                   offset:   4 4;
16886                }
16887                rel2 {
16888                   relative: 1.0  0.0;
16889                   offset:   -5 4;
16890                }
16891                color: 0 0 0 255;
16892                color3: 0 0 0 0;
16893                align: 0.0 0.0;
16894                text {
16895                   font: "Sans";
16896                   size: 10;
16897                   min: 0 1;
16898 //                  min: 1 1;
16899                   align: 0.0 0.0;
16900                   text_class: "list_item";
16901                }
16902             }
16903             description { state: "selected" 0.0;
16904                inherit: "default" 0.0;
16905                color: 224 224 224 255;
16906                color3: 0 0 0 64;
16907             }
16908          }
16909          part { name: "elm.title.2";
16910             clip_to: "disclip";
16911             type:           TEXT;
16912             effect:         SOFT_SHADOW;
16913             mouse_events:   0;
16914             scale: 1;
16915             description {
16916                state: "default" 0.0;
16917                fixed: 0 1;
16918 //               min: 16 16;
16919                rel1 {
16920                   to_y:     "elm.title.1";
16921                   relative: 0.0  1.0;
16922                   offset:   4 0;
16923                }
16924                rel2 {
16925                   to_y:     "elm.title.1";
16926                   relative: 1.0  1.0;
16927                   offset:   -5 0;
16928                }
16929                color: 0 0 0 255;
16930                color3: 0 0 0 0;
16931                align: 0.0 0.0;
16932                text {
16933                   font: "Sans";
16934                   size: 10;
16935                   min: 0 1;
16936 //                  min: 1 1;
16937                   align: 0.0 0.0;
16938                   text_class: "list_item";
16939                }
16940             }
16941             description { state: "selected" 0.0;
16942                inherit: "default" 0.0;
16943                color: 224 224 224 255;
16944                color3: 0 0 0 64;
16945             }
16946          }
16947          part { name: "elm.text";
16948             clip_to: "disclip";
16949             type:           TEXTBLOCK;
16950             mouse_events:   0;
16951             scale: 1;
16952             description {
16953                state: "default" 0.0;
16954 //               fixed: 0 1;
16955 //               min: 16 16;
16956                rel1 {
16957                   to_y:     "elm.title.2";
16958                   relative: 0.0  1.0;
16959                   offset:   4 0;
16960                }
16961                rel2 {
16962                   relative: 1.0  1.0;
16963                   offset:   -5 -5;
16964                }
16965                align: 0.0 0.0;
16966                text {
16967                   style: "genlist_textblock_style";
16968                   min: 0 1;
16969 //                  min: 1 1;
16970                   align: 0.0 0.0;
16971                }
16972             }
16973             description { state: "selected" 0.0;
16974                inherit: "default" 0.0;
16975                text {
16976                   style: "genlist_textblock_style2";
16977                }
16978             }
16979          }
16980          part { name: "fg1";
16981             clip_to: "disclip";
16982             mouse_events: 0;
16983             description { state: "default" 0.0;
16984                visible: 0;
16985                color: 255 255 255 0;
16986                rel1.to: "bg";
16987                rel2.relative: 1.0 0.5;
16988                rel2.to: "bg";
16989                image {
16990                   normal: "bt_sm_hilight.png";
16991                   border: 6 6 6 0;
16992                }
16993             }
16994             description { state: "selected" 0.0;
16995                inherit: "default" 0.0;
16996                visible: 1;
16997                color: 255 255 255 255;
16998             }
16999          }
17000          part { name: "fg2";
17001             clip_to: "disclip";
17002             mouse_events: 0;
17003             description { state: "default" 0.0;
17004                visible: 0;
17005                color: 255 255 255 0;
17006                rel1.to: "bg";
17007                rel2.to: "bg";
17008                image {
17009                   normal: "bt_sm_shine.png";
17010                   border: 6 6 6 0;
17011                }
17012             }
17013             description { state: "selected" 0.0;
17014                inherit: "default" 0.0;
17015                visible: 1;
17016                color: 255 255 255 255;
17017             }
17018          }
17019          part { name: "disclip";
17020             type: RECT;
17021             description { state: "default" 0.0;
17022                rel1.to: "bg";
17023                rel2.to: "bg";
17024             }
17025             description { state: "disabled" 0.0;
17026                inherit: "default" 0.0;
17027                color: 255 255 255 64;
17028             }
17029          }
17030       }
17031       programs {
17032          // signal: elm,state,%s,active
17033          //   a "check" item named %s went active
17034          // signal: elm,state,%s,passive
17035          //   a "check" item named %s went passive
17036          // default is passive
17037          program {
17038             name:    "go_active";
17039             signal:  "elm,state,selected";
17040             source:  "elm";
17041             action:  STATE_SET "selected" 0.0;
17042             target:  "bg";
17043             target:  "fg1";
17044             target:  "fg2";
17045             target:  "elm.title.1";
17046             target:  "elm.title.2";
17047             target:  "elm.text";
17048          }
17049          program {
17050             name:    "go_passive";
17051             signal:  "elm,state,unselected";
17052             source:  "elm";
17053             action:  STATE_SET "default" 0.0;
17054             target:  "bg";
17055             target:  "fg1";
17056             target:  "fg2";
17057             target:  "elm.title.1";
17058             target:  "elm.title.2";
17059             target:  "elm.text";
17060             transition: LINEAR 0.1;
17061          }
17062          program {
17063             name:    "go_disabled";
17064             signal:  "elm,state,disabled";
17065             source:  "elm";
17066             action:  STATE_SET "disabled" 0.0;
17067             target:  "disclip";
17068          }
17069          program {
17070             name:    "go_enabled";
17071             signal:  "elm,state,enabled";
17072             source:  "elm";
17073             action:  STATE_SET "default" 0.0;
17074             target:  "disclip";
17075          }
17076       }
17077    }
17078    group { name: "elm/genlist/item_compress/default/default";
17079       data.item: "stacking" "above";
17080       data.item: "selectraise" "on";
17081       data.item: "labels" "elm.text";
17082       data.item: "icons" "elm.swallow.icon elm.swallow.end";
17083       data.item: "treesize" "20";
17084 //      data.item: "states" "";
17085       images {
17086          image: "bt_sm_base1.png" COMP;
17087          image: "bt_sm_shine.png" COMP;
17088          image: "bt_sm_hilight.png" COMP;
17089          image: "ilist_1.png" COMP;
17090          image: "ilist_item_shadow.png" COMP;
17091       }
17092       parts {
17093          part {
17094             name:           "event";
17095             type:           RECT;
17096             repeat_events: 1;
17097             description {
17098                state: "default" 0.0;
17099                color: 0 0 0 0;
17100             }
17101          }
17102          part {
17103             name: "base_sh";
17104             mouse_events: 0;
17105             description {
17106                state: "default" 0.0;
17107                align: 0.0 0.0;
17108                min: 0 10;
17109                fixed: 1 1;
17110                rel1 {
17111                   to: "base";
17112                   relative: 0.0 1.0;
17113                   offset: 0 0;
17114                }
17115                rel2 {
17116                   to: "base";
17117                   relative: 1.0 1.0;
17118                   offset: -1 0;
17119                }
17120                image {
17121                   normal: "ilist_item_shadow.png";
17122                }
17123                fill.smooth: 0;
17124             }
17125          }
17126          part {
17127             name: "base";
17128             mouse_events: 0;
17129             description {
17130                state: "default" 0.0;
17131                image {
17132                   normal: "ilist_1.png";
17133                   border: 2 2 2 2;
17134                }
17135                fill.smooth: 0;
17136             }
17137          }
17138          part { name: "bg";
17139             clip_to: "disclip";
17140             mouse_events: 0;
17141             description { state: "default" 0.0;
17142                visible: 0;
17143                color: 255 255 255 0;
17144                rel1 {
17145                   relative: 0.0 0.0;
17146                   offset: -5 -5;
17147                }
17148                rel2 {
17149                   relative: 1.0 1.0;
17150                   offset: 4 4;
17151                }
17152                image {
17153                   normal: "bt_sm_base1.png";
17154                   border: 6 6 6 6;
17155                }
17156                image.middle: SOLID;
17157             }
17158             description { state: "selected" 0.0;
17159                inherit: "default" 0.0;
17160                visible: 1;
17161                color: 255 255 255 255;
17162                rel1 {
17163                   relative: 0.0 0.0;
17164                   offset: -2 -2;
17165                }
17166                rel2 {
17167                   relative: 1.0 1.0;
17168                   offset: 1 1;
17169                }
17170             }
17171          }
17172          part { name: "elm.swallow.pad";
17173             type: SWALLOW;
17174             description { state: "default" 0.0;
17175                fixed: 1 0;
17176                align: 0.0 0.5;
17177                rel1 {
17178                   relative: 0.0  0.0;
17179                   offset:   4    4;
17180                }
17181                rel2 {
17182                   relative: 0.0  1.0;
17183                   offset:   4   -5;
17184                }
17185             }
17186          }
17187          part { name: "elm.swallow.icon";
17188             clip_to: "disclip";
17189             type: SWALLOW;
17190             description { state: "default" 0.0;
17191                fixed: 1 0;
17192                align: 0.0 0.5;
17193                rel1 {
17194                   to_x: "elm.swallow.pad";
17195                   relative: 1.0  0.0;
17196                   offset:   -1    4;
17197                }
17198                rel2 {
17199                   to_x: "elm.swallow.pad";
17200                   relative: 1.0  1.0;
17201                   offset:   -1   -5;
17202                }
17203             }
17204          }
17205          part { name: "elm.swallow.end";
17206             clip_to: "disclip";
17207             type: SWALLOW;
17208             description { state: "default" 0.0;
17209                fixed: 1 0;
17210                align: 1.0 0.5;
17211                aspect: 1.0 1.0;
17212                aspect_preference: VERTICAL;
17213                rel1 {
17214                   relative: 1.0  0.0;
17215                   offset:   -5    4;
17216                }
17217                rel2 {
17218                   relative: 1.0  1.0;
17219                   offset:   -5   -5;
17220                }
17221             }
17222          }
17223          part { name: "elm.text";
17224             clip_to: "disclip";
17225             type:           TEXT;
17226             effect:         SOFT_SHADOW;
17227             mouse_events:   0;
17228             scale: 1;
17229             description {
17230                state: "default" 0.0;
17231 //               min: 16 16;
17232                rel1 {
17233                   to_x:     "elm.swallow.icon";
17234                   relative: 1.0  0.0;
17235                   offset:   0 4;
17236                }
17237                rel2 {
17238                   to_x:     "elm.swallow.end";
17239                   relative: 0.0  1.0;
17240                   offset:   -1 -5;
17241                }
17242                color: 0 0 0 255;
17243                color3: 0 0 0 0;
17244                text {
17245                   font: "Sans";
17246                   size: 10;
17247                   min: 0 1;
17248 //                  min: 1 1;
17249                   align: 0.0 0.5;
17250                   text_class: "list_item";
17251                }
17252             }
17253             description { state: "selected" 0.0;
17254                inherit: "default" 0.0;
17255                color: 224 224 224 255;
17256                color3: 0 0 0 64;
17257             }
17258          }
17259          part { name: "fg1";
17260             clip_to: "disclip";
17261             mouse_events: 0;
17262             description { state: "default" 0.0;
17263                visible: 0;
17264                color: 255 255 255 0;
17265                rel1.to: "bg";
17266                rel2.relative: 1.0 0.5;
17267                rel2.to: "bg";
17268                image {
17269                   normal: "bt_sm_hilight.png";
17270                   border: 6 6 6 0;
17271                }
17272             }
17273             description { state: "selected" 0.0;
17274                inherit: "default" 0.0;
17275                visible: 1;
17276                color: 255 255 255 255;
17277             }
17278          }
17279          part { name: "fg2";
17280             clip_to: "disclip";
17281             mouse_events: 0;
17282             description { state: "default" 0.0;
17283                visible: 0;
17284                color: 255 255 255 0;
17285                rel1.to: "bg";
17286                rel2.to: "bg";
17287                image {
17288                   normal: "bt_sm_shine.png";
17289                   border: 6 6 6 0;
17290                }
17291             }
17292             description { state: "selected" 0.0;
17293                inherit: "default" 0.0;
17294                visible: 1;
17295                color: 255 255 255 255;
17296             }
17297          }
17298          part { name: "disclip";
17299             type: RECT;
17300             description { state: "default" 0.0;
17301                rel1.to: "bg";
17302                rel2.to: "bg";
17303             }
17304             description { state: "disabled" 0.0;
17305                inherit: "default" 0.0;
17306                color: 255 255 255 64;
17307             }
17308          }
17309       }
17310       programs {
17311          // signal: elm,state,%s,active
17312          //   a "check" item named %s went active
17313          // signal: elm,state,%s,passive
17314          //   a "check" item named %s went passive
17315          // default is passive
17316          program {
17317             name:    "go_active";
17318             signal:  "elm,state,selected";
17319             source:  "elm";
17320             action:  STATE_SET "selected" 0.0;
17321             target:  "bg";
17322             target:  "fg1";
17323             target:  "fg2";
17324             target:  "elm.text";
17325          }
17326          program {
17327             name:    "go_passive";
17328             signal:  "elm,state,unselected";
17329             source:  "elm";
17330             action:  STATE_SET "default" 0.0;
17331             target:  "bg";
17332             target:  "fg1";
17333             target:  "fg2";
17334             target:  "elm.text";
17335             transition: LINEAR 0.1;
17336          }
17337          program {
17338             name:    "go_disabled";
17339             signal:  "elm,state,disabled";
17340             source:  "elm";
17341             action:  STATE_SET "disabled" 0.0;
17342             target:  "disclip";
17343          }
17344          program {
17345             name:    "go_enabled";
17346             signal:  "elm,state,enabled";
17347             source:  "elm";
17348             action:  STATE_SET "default" 0.0;
17349             target:  "disclip";
17350          }
17351       }
17352    }
17353    group { name: "elm/genlist/item_odd/default/default";
17354       data.item: "stacking" "below";
17355       data.item: "selectraise" "on";
17356       data.item: "labels" "elm.text";
17357       data.item: "icons" "elm.swallow.icon elm.swallow.end";
17358       data.item: "treesize" "20";
17359 //      data.item: "states" "";
17360       images {
17361          image: "bt_sm_base1.png" COMP;
17362          image: "bt_sm_shine.png" COMP;
17363          image: "bt_sm_hilight.png" COMP;
17364          image: "ilist_2.png" COMP;
17365       }
17366       parts {
17367          part { name: "event";
17368             type: RECT;
17369             repeat_events: 1;
17370             description {
17371                state: "default" 0.0;
17372                color: 0 0 0 0;
17373             }
17374          }
17375          part {
17376             name: "base";
17377             mouse_events: 0;
17378             description {
17379                state: "default" 0.0;
17380                image {
17381                   normal: "ilist_2.png";
17382                   border: 2 2 2 2;
17383                }
17384                fill.smooth: 0;
17385             }
17386          }
17387          part { name: "bg";
17388             clip_to: "disclip";
17389             mouse_events: 0;
17390             description { state: "default" 0.0;
17391                visible: 0;
17392                color: 255 255 255 0;
17393                rel1 {
17394                   relative: 0.0 0.0;
17395                   offset: -5 -5;
17396                }
17397                rel2 {
17398                   relative: 1.0 1.0;
17399                   offset: 4 4;
17400                }
17401                image {
17402                   normal: "bt_sm_base1.png";
17403                   border: 6 6 6 6;
17404                }
17405                image.middle: SOLID;
17406             }
17407             description { state: "selected" 0.0;
17408                inherit: "default" 0.0;
17409                visible: 1;
17410                color: 255 255 255 255;
17411                rel1 {
17412                   relative: 0.0 0.0;
17413                   offset: -2 -2;
17414                }
17415                rel2 {
17416                   relative: 1.0 1.0;
17417                   offset: 1 1;
17418                }
17419             }
17420          }
17421          part { name: "elm.swallow.pad";
17422             type: SWALLOW;
17423             description { state: "default" 0.0;
17424                fixed: 1 0;
17425                align: 0.0 0.5;
17426                rel1 {
17427                   relative: 0.0  0.0;
17428                   offset:   4    4;
17429                }
17430                rel2 {
17431                   relative: 0.0  1.0;
17432                   offset:   4   -5;
17433                }
17434             }
17435          }
17436          part { name: "elm.swallow.icon";
17437             clip_to: "disclip";
17438             type: SWALLOW;
17439             description { state: "default" 0.0;
17440                fixed: 1 0;
17441                align: 0.0 0.5;
17442                rel1 {
17443                   to_x: "elm.swallow.pad";
17444                   relative: 1.0  0.0;
17445                   offset:   -1    4;
17446                }
17447                rel2 {
17448                   to_x: "elm.swallow.pad";
17449                   relative: 1.0  1.0;
17450                   offset:   -1   -5;
17451                }
17452             }
17453          }
17454          part { name: "elm.swallow.end";
17455             clip_to: "disclip";
17456             type:          SWALLOW;
17457             description { state:    "default" 0.0;
17458                fixed: 1 0;
17459                align:    1.0 0.5;
17460                aspect: 1.0 1.0;
17461                aspect_preference: VERTICAL;
17462                rel1 {
17463                   relative: 1.0  0.0;
17464                   offset:   -5    4;
17465                }
17466                rel2 {
17467                   relative: 1.0  1.0;
17468                   offset:   -5   -5;
17469                }
17470             }
17471          }
17472          part { name: "elm.text";
17473             clip_to: "disclip";
17474             type:           TEXT;
17475             effect:         SOFT_SHADOW;
17476             mouse_events:   0;
17477             scale: 1;
17478             description {
17479                state: "default" 0.0;
17480 //               min:      16 16;
17481                rel1 {
17482                   to_x:     "elm.swallow.icon";
17483                   relative: 1.0  0.0;
17484                   offset:   0 4;
17485                }
17486                rel2 {
17487                   to_x:     "elm.swallow.end";
17488                   relative: 0.0  1.0;
17489                   offset:   -1 -5;
17490                }
17491                color: 0 0 0 255;
17492                color3: 0 0 0 0;
17493                text {
17494                   font: "Sans";
17495                   size: 10;
17496                   min: 1 1;
17497 //                  min: 0 1;
17498                   align: -1.0 0.5;
17499                   text_class: "list_item";
17500                }
17501             }
17502             description { state: "selected" 0.0;
17503                inherit: "default" 0.0;
17504                color: 224 224 224 255;
17505                color3: 0 0 0 64;
17506             }
17507          }
17508          part { name: "fg1";
17509             clip_to: "disclip";
17510             mouse_events: 0;
17511             description { state: "default" 0.0;
17512                visible: 0;
17513                color: 255 255 255 0;
17514                rel1.to: "bg";
17515                rel2.relative: 1.0 0.5;
17516                rel2.to: "bg";
17517                image {
17518                   normal: "bt_sm_hilight.png";
17519                   border: 6 6 6 0;
17520                }
17521             }
17522             description { state: "selected" 0.0;
17523                inherit: "default" 0.0;
17524                visible: 1;
17525                color: 255 255 255 255;
17526             }
17527          }
17528          part { name: "fg2";
17529             clip_to: "disclip";
17530             mouse_events: 0;
17531             description { state: "default" 0.0;
17532                visible: 0;
17533                color: 255 255 255 0;
17534                rel1.to: "bg";
17535                rel2.to: "bg";
17536                image {
17537                   normal: "bt_sm_shine.png";
17538                   border: 6 6 6 0;
17539                }
17540             }
17541             description { state: "selected" 0.0;
17542                inherit: "default" 0.0;
17543                visible: 1;
17544                color: 255 255 255 255;
17545             }
17546          }
17547          part { name: "disclip";
17548             type: RECT;
17549             description { state: "default" 0.0;
17550                rel1.to: "bg";
17551                rel2.to: "bg";
17552             }
17553             description { state: "disabled" 0.0;
17554                inherit: "default" 0.0;
17555                color: 255 255 255 64;
17556             }
17557          }
17558       }
17559       programs {
17560          // signal: elm,state,%s,active
17561          //   a "check" item named %s went active
17562          // signal: elm,state,%s,passive
17563          //   a "check" item named %s went passive
17564          // default is passive
17565          program {
17566             name:    "go_active";
17567             signal:  "elm,state,selected";
17568             source:  "elm";
17569             action:  STATE_SET "selected" 0.0;
17570             target:  "bg";
17571             target:  "fg1";
17572             target:  "fg2";
17573             target:  "elm.text";
17574          }
17575          program {
17576             name:    "go_passive";
17577             signal:  "elm,state,unselected";
17578             source:  "elm";
17579             action:  STATE_SET "default" 0.0;
17580             target:  "bg";
17581             target:  "fg1";
17582             target:  "fg2";
17583             target:  "elm.text";
17584             transition: LINEAR 0.1;
17585          }
17586          program {
17587             name:    "go_disabled";
17588             signal:  "elm,state,disabled";
17589             source:  "elm";
17590             action:  STATE_SET "disabled" 0.0;
17591             target:  "disclip";
17592          }
17593          program {
17594             name:    "go_enabled";
17595             signal:  "elm,state,enabled";
17596             source:  "elm";
17597             action:  STATE_SET "default" 0.0;
17598             target:  "disclip";
17599          }
17600       }
17601    }
17602    group { name: "elm/genlist/item_compress_odd/default/default";
17603       data.item: "stacking" "below";
17604       data.item: "selectraise" "on";
17605       data.item: "labels" "elm.text";
17606       data.item: "icons" "elm.swallow.icon elm.swallow.end";
17607       data.item: "treesize" "20";
17608 //      data.item: "states" "";
17609       images {
17610          image: "bt_sm_base1.png" COMP;
17611          image: "bt_sm_shine.png" COMP;
17612          image: "bt_sm_hilight.png" COMP;
17613          image: "ilist_2.png" COMP;
17614       }
17615       parts {
17616          part { name: "event";
17617             type: RECT;
17618             repeat_events: 1;
17619             description {
17620                state: "default" 0.0;
17621                color: 0 0 0 0;
17622             }
17623          }
17624          part {
17625             name: "base";
17626             mouse_events: 0;
17627             description {
17628                state: "default" 0.0;
17629                image {
17630                   normal: "ilist_2.png";
17631                   border: 2 2 2 2;
17632                }
17633                fill.smooth: 0;
17634             }
17635          }
17636          part { name: "bg";
17637             clip_to: "disclip";
17638             mouse_events: 0;
17639             description { state: "default" 0.0;
17640                visible: 0;
17641                color: 255 255 255 0;
17642                rel1 {
17643                   relative: 0.0 0.0;
17644                   offset: -5 -5;
17645                }
17646                rel2 {
17647                   relative: 1.0 1.0;
17648                   offset: 4 4;
17649                }
17650                image {
17651                   normal: "bt_sm_base1.png";
17652                   border: 6 6 6 6;
17653                }
17654                image.middle: SOLID;
17655             }
17656             description { state: "selected" 0.0;
17657                inherit: "default" 0.0;
17658                visible: 1;
17659                color: 255 255 255 255;
17660                rel1 {
17661                   relative: 0.0 0.0;
17662                   offset: -2 -2;
17663                }
17664                rel2 {
17665                   relative: 1.0 1.0;
17666                   offset: 1 1;
17667                }
17668             }
17669          }
17670          part { name: "elm.swallow.pad";
17671             type: SWALLOW;
17672             description { state: "default" 0.0;
17673                fixed: 1 0;
17674                align: 0.0 0.5;
17675                rel1 {
17676                   relative: 0.0  0.0;
17677                   offset:   4    4;
17678                }
17679                rel2 {
17680                   relative: 0.0  1.0;
17681                   offset:   4   -5;
17682                }
17683             }
17684          }
17685          part { name: "elm.swallow.icon";
17686             clip_to: "disclip";
17687             type: SWALLOW;
17688             description { state: "default" 0.0;
17689                fixed: 1 0;
17690                align: 0.0 0.5;
17691                rel1 {
17692                   to_x: "elm.swallow.pad";
17693                   relative: 1.0  0.0;
17694                   offset:   -1    4;
17695                }
17696                rel2 {
17697                   to_x: "elm.swallow.pad";
17698                   relative: 1.0  1.0;
17699                   offset:   -1   -5;
17700                }
17701             }
17702          }
17703          part { name: "elm.swallow.end";
17704             clip_to: "disclip";
17705             type:          SWALLOW;
17706             description { state:    "default" 0.0;
17707                fixed: 1 0;
17708                align:    1.0 0.5;
17709                aspect: 1.0 1.0;
17710                aspect_preference: VERTICAL;
17711                rel1 {
17712                   relative: 1.0  0.0;
17713                   offset:   -5    4;
17714                }
17715                rel2 {
17716                   relative: 1.0  1.0;
17717                   offset:   -5   -5;
17718                }
17719             }
17720          }
17721          part { name: "elm.text";
17722             clip_to: "disclip";
17723             type:           TEXT;
17724             effect:         SOFT_SHADOW;
17725             mouse_events:   0;
17726             scale: 1;
17727             description {
17728                state: "default" 0.0;
17729 //               min:      16 16;
17730                rel1 {
17731                   to_x:     "elm.swallow.icon";
17732                   relative: 1.0  0.0;
17733                   offset:   0 4;
17734                }
17735                rel2 {
17736                   to_x:     "elm.swallow.end";
17737                   relative: 0.0  1.0;
17738                   offset:   -1 -5;
17739                }
17740                color: 0 0 0 255;
17741                color3: 0 0 0 0;
17742                text {
17743                   font: "Sans";
17744                   size: 10;
17745                   min: 0 1;
17746 //                  min: 1 1;
17747                   align: 0.0 0.5;
17748                   text_class: "list_item";
17749                }
17750             }
17751             description { state: "selected" 0.0;
17752                inherit: "default" 0.0;
17753                color: 224 224 224 255;
17754                color3: 0 0 0 64;
17755             }
17756          }
17757          part { name: "fg1";
17758             clip_to: "disclip";
17759             mouse_events: 0;
17760             description { state: "default" 0.0;
17761                visible: 0;
17762                color: 255 255 255 0;
17763                rel1.to: "bg";
17764                rel2.relative: 1.0 0.5;
17765                rel2.to: "bg";
17766                image {
17767                   normal: "bt_sm_hilight.png";
17768                   border: 6 6 6 0;
17769                }
17770             }
17771             description { state: "selected" 0.0;
17772                inherit: "default" 0.0;
17773                visible: 1;
17774                color: 255 255 255 255;
17775             }
17776          }
17777          part { name: "fg2";
17778             clip_to: "disclip";
17779             mouse_events: 0;
17780             description { state: "default" 0.0;
17781                visible: 0;
17782                color: 255 255 255 0;
17783                rel1.to: "bg";
17784                rel2.to: "bg";
17785                image {
17786                   normal: "bt_sm_shine.png";
17787                   border: 6 6 6 0;
17788                }
17789             }
17790             description { state: "selected" 0.0;
17791                inherit: "default" 0.0;
17792                visible: 1;
17793                color: 255 255 255 255;
17794             }
17795          }
17796          part { name: "disclip";
17797             type: RECT;
17798             description { state: "default" 0.0;
17799                rel1.to: "bg";
17800                rel2.to: "bg";
17801             }
17802             description { state: "disabled" 0.0;
17803                inherit: "default" 0.0;
17804                color: 255 255 255 64;
17805             }
17806          }
17807       }
17808       programs {
17809          // signal: elm,state,%s,active
17810          //   a "check" item named %s went active
17811          // signal: elm,state,%s,passive
17812          //   a "check" item named %s went passive
17813          // default is passive
17814          program {
17815             name:    "go_active";
17816             signal:  "elm,state,selected";
17817             source:  "elm";
17818             action:  STATE_SET "selected" 0.0;
17819             target:  "bg";
17820             target:  "fg1";
17821             target:  "fg2";
17822             target:  "elm.text";
17823          }
17824          program {
17825             name:    "go_passive";
17826             signal:  "elm,state,unselected";
17827             source:  "elm";
17828             action:  STATE_SET "default" 0.0;
17829             target:  "bg";
17830             target:  "fg1";
17831             target:  "fg2";
17832             target:  "elm.text";
17833             transition: LINEAR 0.1;
17834          }
17835          program {
17836             name:    "go_disabled";
17837             signal:  "elm,state,disabled";
17838             source:  "elm";
17839             action:  STATE_SET "disabled" 0.0;
17840             target:  "disclip";
17841          }
17842          program {
17843             name:    "go_enabled";
17844             signal:  "elm,state,enabled";
17845             source:  "elm";
17846             action:  STATE_SET "default" 0.0;
17847             target:  "disclip";
17848          }
17849       }
17850    }
17851
17852    group { name: "elm/genlist/tree/default/default";
17853       data.item: "stacking" "above";
17854       data.item: "selectraise" "on";
17855       data.item: "labels" "elm.text";
17856       data.item: "icons" "elm.swallow.icon elm.swallow.end";
17857       data.item: "treesize" "20";
17858 //      data.item: "states" "";
17859       images {
17860          image: "bt_sm_base1.png" COMP;
17861          image: "bt_sm_shine.png" COMP;
17862          image: "bt_sm_hilight.png" COMP;
17863          image: "ilist_1.png" COMP;
17864          image: "ilist_item_shadow.png" COMP;
17865          image: "icon_arrow_right.png" COMP;
17866          image: "icon_arrow_down.png" COMP;
17867       }
17868       parts {
17869          part {
17870             name:           "event";
17871             type:           RECT;
17872             repeat_events: 1;
17873             description {
17874                state: "default" 0.0;
17875                color: 0 0 0 0;
17876             }
17877          }
17878          part {
17879             name: "base_sh";
17880             mouse_events: 0;
17881             description {
17882                state: "default" 0.0;
17883                align: 0.0 0.0;
17884                min: 0 10;
17885                fixed: 1 1;
17886                rel1 {
17887                   to: "base";
17888                   relative: 0.0 1.0;
17889                   offset: 0 0;
17890                }
17891                rel2 {
17892                   to: "base";
17893                   relative: 1.0 1.0;
17894                   offset: -1 0;
17895                }
17896                image {
17897                   normal: "ilist_item_shadow.png";
17898                }
17899                fill.smooth: 0;
17900             }
17901          }
17902          part {
17903             name: "base";
17904             mouse_events: 0;
17905             description {
17906                state: "default" 0.0;
17907                image {
17908                   normal: "ilist_1.png";
17909                   border: 2 2 2 2;
17910                }
17911                fill.smooth: 0;
17912             }
17913          }
17914          part { name: "bg";
17915             clip_to: "disclip";
17916             mouse_events: 0;
17917             description { state: "default" 0.0;
17918                visible: 0;
17919                color: 255 255 255 0;
17920                rel1 {
17921                   relative: 0.0 0.0;
17922                   offset: -5 -5;
17923                }
17924                rel2 {
17925                   relative: 1.0 1.0;
17926                   offset: 4 4;
17927                }
17928                image {
17929                   normal: "bt_sm_base1.png";
17930                   border: 6 6 6 6;
17931                }
17932                image.middle: SOLID;
17933             }
17934             description { state: "selected" 0.0;
17935                inherit: "default" 0.0;
17936                visible: 1;
17937                color: 255 255 255 255;
17938                rel1 {
17939                   relative: 0.0 0.0;
17940                   offset: -2 -2;
17941                }
17942                rel2 {
17943                   relative: 1.0 1.0;
17944                   offset: 1 1;
17945                }
17946             }
17947          }
17948          part { name: "elm.swallow.pad";
17949             type: SWALLOW;
17950             description { state: "default" 0.0;
17951                fixed: 1 0;
17952                align: 0.0 0.5;
17953                rel1 {
17954                   relative: 0.0  0.0;
17955                   offset:   4    4;
17956                }
17957                rel2 {
17958                   relative: 0.0  1.0;
17959                   offset:   4   -5;
17960                }
17961             }
17962          }
17963          part { name: "arrow";
17964             clip_to: "disclip";
17965             ignore_flags: ON_HOLD;
17966             description { state: "default" 0.0;
17967                fixed: 1 0;
17968                align: 0.0 0.5;
17969                aspect: 1.0 1.0;
17970                rel1 {
17971                   to_x: "elm.swallow.pad";
17972                   relative: 1.0  0.0;
17973                   offset:   -1    4;
17974                }
17975                rel2 {
17976                   to_x: "elm.swallow.pad";
17977                   relative: 1.0  1.0;
17978                   offset:   -1   -5;
17979                }
17980                image.normal: "icon_arrow_right.png";
17981             }
17982             description { state: "active" 0.0;
17983                inherit: "default" 0.0;
17984                image.normal: "icon_arrow_down.png";
17985             }
17986          }
17987          part { name: "elm.swallow.icon";
17988             clip_to: "disclip";
17989             type: SWALLOW;
17990             description { state: "default" 0.0;
17991                fixed: 1 0;
17992                align: 0.0 0.5;
17993                rel1 {
17994                   to_x: "arrow";
17995                   relative: 1.0  0.0;
17996                   offset:   4    4;
17997                }
17998                rel2 {
17999                   to_x: "arrow";
18000                   relative: 1.0  1.0;
18001                   offset:   4   -5;
18002                }
18003             }
18004          }
18005          part { name: "elm.swallow.end";
18006             clip_to: "disclip";
18007             type: SWALLOW;
18008             description { state: "default" 0.0;
18009                fixed: 1 0;
18010                align: 1.0 0.5;
18011                aspect: 1.0 1.0;
18012                aspect_preference: VERTICAL;
18013                rel1 {
18014                   relative: 1.0  0.0;
18015                   offset:   -5    4;
18016                }
18017                rel2 {
18018                   relative: 1.0  1.0;
18019                   offset:   -5   -5;
18020                }
18021             }
18022          }
18023          part { name: "elm.text";
18024             clip_to: "disclip";
18025             type:           TEXT;
18026             effect:         SOFT_SHADOW;
18027             mouse_events:   0;
18028             scale: 1;
18029             description {
18030                state: "default" 0.0;
18031 //               min: 16 16;
18032                rel1 {
18033                   to_x:     "elm.swallow.icon";
18034                   relative: 1.0  0.0;
18035                   offset:   0 4;
18036                }
18037                rel2 {
18038                   to_x:     "elm.swallow.end";
18039                   relative: 0.0  1.0;
18040                   offset:   -1 -5;
18041                }
18042                color: 0 0 0 255;
18043                color3: 0 0 0 0;
18044                text {
18045                   font: "Sans";
18046                   size: 10;
18047                   min: 1 1;
18048 //                  min: 0 1;
18049                   align: -1.0 0.5;
18050                   text_class: "list_item";
18051                }
18052             }
18053             description { state: "selected" 0.0;
18054                inherit: "default" 0.0;
18055                color: 224 224 224 255;
18056                color3: 0 0 0 64;
18057             }
18058          }
18059          part { name: "fg1";
18060             clip_to: "disclip";
18061             mouse_events: 0;
18062             description { state: "default" 0.0;
18063                visible: 0;
18064                color: 255 255 255 0;
18065                rel1.to: "bg";
18066                rel2.relative: 1.0 0.5;
18067                rel2.to: "bg";
18068                image {
18069                   normal: "bt_sm_hilight.png";
18070                   border: 6 6 6 0;
18071                }
18072             }
18073             description { state: "selected" 0.0;
18074                inherit: "default" 0.0;
18075                visible: 1;
18076                color: 255 255 255 255;
18077             }
18078          }
18079          part { name: "fg2";
18080             clip_to: "disclip";
18081             mouse_events: 0;
18082             description { state: "default" 0.0;
18083                visible: 0;
18084                color: 255 255 255 0;
18085                rel1.to: "bg";
18086                rel2.to: "bg";
18087                image {
18088                   normal: "bt_sm_shine.png";
18089                   border: 6 6 6 0;
18090                }
18091             }
18092             description { state: "selected" 0.0;
18093                inherit: "default" 0.0;
18094                visible: 1;
18095                color: 255 255 255 255;
18096             }
18097          }
18098          part { name: "disclip";
18099             type: RECT;
18100             description { state: "default" 0.0;
18101                rel1.to: "bg";
18102                rel2.to: "bg";
18103             }
18104             description { state: "disabled" 0.0;
18105                inherit: "default" 0.0;
18106                color: 255 255 255 64;
18107             }
18108          }
18109       }
18110       programs {
18111          // signal: elm,state,%s,active
18112          //   a "check" item named %s went active
18113          // signal: elm,state,%s,passive
18114          //   a "check" item named %s went passive
18115          // default is passive
18116          program {
18117             name:    "go_active";
18118             signal:  "elm,state,selected";
18119             source:  "elm";
18120             action:  STATE_SET "selected" 0.0;
18121             target:  "bg";
18122             target:  "fg1";
18123             target:  "fg2";
18124             target:  "elm.text";
18125          }
18126          program {
18127             name:    "go_passive";
18128             signal:  "elm,state,unselected";
18129             source:  "elm";
18130             action:  STATE_SET "default" 0.0;
18131             target:  "bg";
18132             target:  "fg1";
18133             target:  "fg2";
18134             target:  "elm.text";
18135             transition: LINEAR 0.1;
18136          }
18137          program {
18138             name:    "go_disabled";
18139             signal:  "elm,state,disabled";
18140             source:  "elm";
18141             action:  STATE_SET "disabled" 0.0;
18142             target:  "disclip";
18143          }
18144          program {
18145             name:    "go_enabled";
18146             signal:  "elm,state,enabled";
18147             source:  "elm";
18148             action:  STATE_SET "default" 0.0;
18149             target:  "disclip";
18150          }
18151          program {
18152             name:    "expand";
18153             signal:  "mouse,up,1";
18154             source:  "arrow";
18155             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
18156          }
18157          program {
18158             name:    "go_expanded";
18159             signal:  "elm,state,expanded";
18160             source:  "elm";
18161             action:  STATE_SET "active" 0.0;
18162             target:  "arrow";
18163          }
18164          program {
18165             name:    "go_contracted";
18166             signal:  "elm,state,contracted";
18167             source:  "elm";
18168             action:  STATE_SET "default" 0.0;
18169             target:  "arrow";
18170          }
18171       }
18172    }
18173    group { name: "elm/genlist/tree_compress/default/default";
18174       data.item: "stacking" "above";
18175       data.item: "selectraise" "on";
18176       data.item: "labels" "elm.text";
18177       data.item: "icons" "elm.swallow.icon elm.swallow.end";
18178       data.item: "treesize" "20";
18179 //      data.item: "states" "";
18180       images {
18181          image: "bt_sm_base1.png" COMP;
18182          image: "bt_sm_shine.png" COMP;
18183          image: "bt_sm_hilight.png" COMP;
18184          image: "ilist_1.png" COMP;
18185          image: "ilist_item_shadow.png" COMP;
18186          image: "icon_arrow_right.png" COMP;
18187          image: "icon_arrow_down.png" COMP;
18188       }
18189       parts {
18190          part {
18191             name:           "event";
18192             type:           RECT;
18193             repeat_events: 1;
18194             description {
18195                state: "default" 0.0;
18196                color: 0 0 0 0;
18197             }
18198          }
18199          part {
18200             name: "base_sh";
18201             mouse_events: 0;
18202             description {
18203                state: "default" 0.0;
18204                align: 0.0 0.0;
18205                min: 0 10;
18206                fixed: 1 1;
18207                rel1 {
18208                   to: "base";
18209                   relative: 0.0 1.0;
18210                   offset: 0 0;
18211                }
18212                rel2 {
18213                   to: "base";
18214                   relative: 1.0 1.0;
18215                   offset: -1 0;
18216                }
18217                image {
18218                   normal: "ilist_item_shadow.png";
18219                }
18220                fill.smooth: 0;
18221             }
18222          }
18223          part {
18224             name: "base";
18225             mouse_events: 0;
18226             description {
18227                state: "default" 0.0;
18228                image {
18229                   normal: "ilist_1.png";
18230                   border: 2 2 2 2;
18231                }
18232                fill.smooth: 0;
18233             }
18234          }
18235          part { name: "bg";
18236             clip_to: "disclip";
18237             mouse_events: 0;
18238             description { state: "default" 0.0;
18239                visible: 0;
18240                color: 255 255 255 0;
18241                rel1 {
18242                   relative: 0.0 0.0;
18243                   offset: -5 -5;
18244                }
18245                rel2 {
18246                   relative: 1.0 1.0;
18247                   offset: 4 4;
18248                }
18249                image {
18250                   normal: "bt_sm_base1.png";
18251                   border: 6 6 6 6;
18252                }
18253                image.middle: SOLID;
18254             }
18255             description { state: "selected" 0.0;
18256                inherit: "default" 0.0;
18257                visible: 1;
18258                color: 255 255 255 255;
18259                rel1 {
18260                   relative: 0.0 0.0;
18261                   offset: -2 -2;
18262                }
18263                rel2 {
18264                   relative: 1.0 1.0;
18265                   offset: 1 1;
18266                }
18267             }
18268          }
18269          part { name: "elm.swallow.pad";
18270             type: SWALLOW;
18271             description { state: "default" 0.0;
18272                fixed: 1 0;
18273                align: 0.0 0.5;
18274                rel1 {
18275                   relative: 0.0  0.0;
18276                   offset:   4    4;
18277                }
18278                rel2 {
18279                   relative: 0.0  1.0;
18280                   offset:   4   -5;
18281                }
18282             }
18283          }
18284          part { name: "arrow";
18285             clip_to: "disclip";
18286             ignore_flags: ON_HOLD;
18287             description { state: "default" 0.0;
18288                fixed: 1 0;
18289                align: 0.0 0.5;
18290                aspect: 1.0 1.0;
18291                rel1 {
18292                   to_x: "elm.swallow.pad";
18293                   relative: 1.0  0.0;
18294                   offset:   -1    4;
18295                }
18296                rel2 {
18297                   to_x: "elm.swallow.pad";
18298                   relative: 1.0  1.0;
18299                   offset:   -1   -5;
18300                }
18301                image.normal: "icon_arrow_right.png";
18302             }
18303             description { state: "active" 0.0;
18304                inherit: "default" 0.0;
18305                image.normal: "icon_arrow_down.png";
18306             }
18307          }
18308          part { name: "elm.swallow.icon";
18309             clip_to: "disclip";
18310             type: SWALLOW;
18311             description { state: "default" 0.0;
18312                fixed: 1 0;
18313                align: 0.0 0.5;
18314                rel1 {
18315                   to_x: "arrow";
18316                   relative: 1.0  0.0;
18317                   offset:   4    4;
18318                }
18319                rel2 {
18320                   to_x: "arrow";
18321                   relative: 1.0  1.0;
18322                   offset:   4   -5;
18323                }
18324             }
18325          }
18326          part { name: "elm.swallow.end";
18327             clip_to: "disclip";
18328             type: SWALLOW;
18329             description { state: "default" 0.0;
18330                fixed: 1 0;
18331                align: 1.0 0.5;
18332                aspect: 1.0 1.0;
18333                aspect_preference: VERTICAL;
18334                rel1 {
18335                   relative: 1.0  0.0;
18336                   offset:   -5    4;
18337                }
18338                rel2 {
18339                   relative: 1.0  1.0;
18340                   offset:   -5   -5;
18341                }
18342             }
18343          }
18344          part { name: "elm.text";
18345             clip_to: "disclip";
18346             type:           TEXT;
18347             effect:         SOFT_SHADOW;
18348             mouse_events:   0;
18349             scale: 1;
18350             description {
18351                state: "default" 0.0;
18352 //               min: 16 16;
18353                rel1 {
18354                   to_x:     "elm.swallow.icon";
18355                   relative: 1.0  0.0;
18356                   offset:   0 4;
18357                }
18358                rel2 {
18359                   to_x:     "elm.swallow.end";
18360                   relative: 0.0  1.0;
18361                   offset:   -1 -5;
18362                }
18363                color: 0 0 0 255;
18364                color3: 0 0 0 0;
18365                text {
18366                   font: "Sans";
18367                   size: 10;
18368 //                  min: 1 1;
18369                   min: 0 1;
18370                   align: 0.0 0.5;
18371                   text_class: "list_item";
18372                }
18373             }
18374             description { state: "selected" 0.0;
18375                inherit: "default" 0.0;
18376                color: 224 224 224 255;
18377                color3: 0 0 0 64;
18378             }
18379          }
18380          part { name: "fg1";
18381             clip_to: "disclip";
18382             mouse_events: 0;
18383             description { state: "default" 0.0;
18384                visible: 0;
18385                color: 255 255 255 0;
18386                rel1.to: "bg";
18387                rel2.relative: 1.0 0.5;
18388                rel2.to: "bg";
18389                image {
18390                   normal: "bt_sm_hilight.png";
18391                   border: 6 6 6 0;
18392                }
18393             }
18394             description { state: "selected" 0.0;
18395                inherit: "default" 0.0;
18396                visible: 1;
18397                color: 255 255 255 255;
18398             }
18399          }
18400          part { name: "fg2";
18401             clip_to: "disclip";
18402             mouse_events: 0;
18403             description { state: "default" 0.0;
18404                visible: 0;
18405                color: 255 255 255 0;
18406                rel1.to: "bg";
18407                rel2.to: "bg";
18408                image {
18409                   normal: "bt_sm_shine.png";
18410                   border: 6 6 6 0;
18411                }
18412             }
18413             description { state: "selected" 0.0;
18414                inherit: "default" 0.0;
18415                visible: 1;
18416                color: 255 255 255 255;
18417             }
18418          }
18419          part { name: "disclip";
18420             type: RECT;
18421             description { state: "default" 0.0;
18422                rel1.to: "bg";
18423                rel2.to: "bg";
18424             }
18425             description { state: "disabled" 0.0;
18426                inherit: "default" 0.0;
18427                color: 255 255 255 64;
18428             }
18429          }
18430       }
18431       programs {
18432          // signal: elm,state,%s,active
18433          //   a "check" item named %s went active
18434          // signal: elm,state,%s,passive
18435          //   a "check" item named %s went passive
18436          // default is passive
18437          program {
18438             name:    "go_active";
18439             signal:  "elm,state,selected";
18440             source:  "elm";
18441             action:  STATE_SET "selected" 0.0;
18442             target:  "bg";
18443             target:  "fg1";
18444             target:  "fg2";
18445             target:  "elm.text";
18446          }
18447          program {
18448             name:    "go_passive";
18449             signal:  "elm,state,unselected";
18450             source:  "elm";
18451             action:  STATE_SET "default" 0.0;
18452             target:  "bg";
18453             target:  "fg1";
18454             target:  "fg2";
18455             target:  "elm.text";
18456             transition: LINEAR 0.1;
18457          }
18458          program {
18459             name:    "go_disabled";
18460             signal:  "elm,state,disabled";
18461             source:  "elm";
18462             action:  STATE_SET "disabled" 0.0;
18463             target:  "disclip";
18464          }
18465          program {
18466             name:    "go_enabled";
18467             signal:  "elm,state,enabled";
18468             source:  "elm";
18469             action:  STATE_SET "default" 0.0;
18470             target:  "disclip";
18471          }
18472          program {
18473             name:    "expand";
18474             signal:  "mouse,up,1";
18475             source:  "arrow";
18476             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
18477          }
18478          program {
18479             name:    "go_expanded";
18480             signal:  "elm,state,expanded";
18481             source:  "elm";
18482             action:  STATE_SET "active" 0.0;
18483             target:  "arrow";
18484          }
18485          program {
18486             name:    "go_contracted";
18487             signal:  "elm,state,contracted";
18488             source:  "elm";
18489             action:  STATE_SET "default" 0.0;
18490             target:  "arrow";
18491          }
18492       }
18493    }
18494    group { name: "elm/genlist/tree_odd/default/default";
18495       data.item: "stacking" "below";
18496       data.item: "selectraise" "on";
18497       data.item: "labels" "elm.text";
18498       data.item: "icons" "elm.swallow.icon elm.swallow.end";
18499       data.item: "treesize" "20";
18500 //      data.item: "states" "";
18501       images {
18502          image: "bt_sm_base1.png" COMP;
18503          image: "bt_sm_shine.png" COMP;
18504          image: "bt_sm_hilight.png" COMP;
18505          image: "ilist_2.png" COMP;
18506          image: "icon_arrow_right.png" COMP;
18507          image: "icon_arrow_down.png" COMP;
18508       }
18509       parts {
18510          part {
18511             name:           "event";
18512             type:           RECT;
18513             repeat_events: 1;
18514             description {
18515                state: "default" 0.0;
18516                color: 0 0 0 0;
18517             }
18518          }
18519          part {
18520             name: "base";
18521             mouse_events: 0;
18522             description {
18523                state: "default" 0.0;
18524                image {
18525                   normal: "ilist_2.png";
18526                   border: 2 2 2 2;
18527                }
18528                fill.smooth: 0;
18529             }
18530          }
18531          part { name: "bg";
18532             clip_to: "disclip";
18533             mouse_events: 0;
18534             description { state: "default" 0.0;
18535                visible: 0;
18536                color: 255 255 255 0;
18537                rel1 {
18538                   relative: 0.0 0.0;
18539                   offset: -5 -5;
18540                }
18541                rel2 {
18542                   relative: 1.0 1.0;
18543                   offset: 4 4;
18544                }
18545                image {
18546                   normal: "bt_sm_base1.png";
18547                   border: 6 6 6 6;
18548                }
18549                image.middle: SOLID;
18550             }
18551             description { state: "selected" 0.0;
18552                inherit: "default" 0.0;
18553                visible: 1;
18554                color: 255 255 255 255;
18555                rel1 {
18556                   relative: 0.0 0.0;
18557                   offset: -2 -2;
18558                }
18559                rel2 {
18560                   relative: 1.0 1.0;
18561                   offset: 1 1;
18562                }
18563             }
18564          }
18565          part { name: "elm.swallow.pad";
18566             type: SWALLOW;
18567             description { state: "default" 0.0;
18568                fixed: 1 0;
18569                align: 0.0 0.5;
18570                rel1 {
18571                   relative: 0.0  0.0;
18572                   offset:   4    4;
18573                }
18574                rel2 {
18575                   relative: 0.0  1.0;
18576                   offset:   4   -5;
18577                }
18578             }
18579          }
18580          part { name: "arrow";
18581             clip_to: "disclip";
18582             ignore_flags: ON_HOLD;
18583             description { state: "default" 0.0;
18584                fixed: 1 0;
18585                align: 0.0 0.5;
18586                aspect: 1.0 1.0;
18587                rel1 {
18588                   to_x: "elm.swallow.pad";
18589                   relative: 1.0  0.0;
18590                   offset:   -1    4;
18591                }
18592                rel2 {
18593                   to_x: "elm.swallow.pad";
18594                   relative: 1.0  1.0;
18595                   offset:   -1   -5;
18596                }
18597                image.normal: "icon_arrow_right.png";
18598             }
18599             description { state: "active" 0.0;
18600                inherit: "default" 0.0;
18601                image.normal: "icon_arrow_down.png";
18602             }
18603          }
18604          part { name: "elm.swallow.icon";
18605             clip_to: "disclip";
18606             type: SWALLOW;
18607             description { state: "default" 0.0;
18608                fixed: 1 0;
18609                align: 0.0 0.5;
18610                rel1 {
18611                   to_x: "arrow";
18612                   relative: 1.0  0.0;
18613                   offset:   4    4;
18614                }
18615                rel2 {
18616                   to_x: "arrow";
18617                   relative: 1.0  1.0;
18618                   offset:   4   -5;
18619                }
18620             }
18621          }
18622          part { name: "elm.swallow.end";
18623             clip_to: "disclip";
18624             type: SWALLOW;
18625             description { state: "default" 0.0;
18626                fixed: 1 0;
18627                align: 1.0 0.5;
18628                aspect: 1.0 1.0;
18629                aspect_preference: VERTICAL;
18630                rel1 {
18631                   relative: 1.0  0.0;
18632                   offset:   -5    4;
18633                }
18634                rel2 {
18635                   relative: 1.0  1.0;
18636                   offset:   -5   -5;
18637                }
18638             }
18639          }
18640          part { name: "elm.text";
18641             clip_to: "disclip";
18642             type:           TEXT;
18643             effect:         SOFT_SHADOW;
18644             mouse_events:   0;
18645             scale: 1;
18646             description {
18647                state: "default" 0.0;
18648 //               min: 16 16;
18649                rel1 {
18650                   to_x:     "elm.swallow.icon";
18651                   relative: 1.0  0.0;
18652                   offset:   0 4;
18653                }
18654                rel2 {
18655                   to_x:     "elm.swallow.end";
18656                   relative: 0.0  1.0;
18657                   offset:   -1 -5;
18658                }
18659                color: 0 0 0 255;
18660                color3: 0 0 0 0;
18661                text {
18662                   font: "Sans";
18663                   size: 10;
18664                   min: 1 1;
18665 //                  min: 0 1;
18666                   align: -1.0 0.5;
18667                   text_class: "list_item";
18668                }
18669             }
18670             description { state: "selected" 0.0;
18671                inherit: "default" 0.0;
18672                color: 224 224 224 255;
18673                color3: 0 0 0 64;
18674             }
18675          }
18676          part { name: "fg1";
18677             clip_to: "disclip";
18678             mouse_events: 0;
18679             description { state: "default" 0.0;
18680                visible: 0;
18681                color: 255 255 255 0;
18682                rel1.to: "bg";
18683                rel2.relative: 1.0 0.5;
18684                rel2.to: "bg";
18685                image {
18686                   normal: "bt_sm_hilight.png";
18687                   border: 6 6 6 0;
18688                }
18689             }
18690             description { state: "selected" 0.0;
18691                inherit: "default" 0.0;
18692                visible: 1;
18693                color: 255 255 255 255;
18694             }
18695          }
18696          part { name: "fg2";
18697             clip_to: "disclip";
18698             mouse_events: 0;
18699             description { state: "default" 0.0;
18700                visible: 0;
18701                color: 255 255 255 0;
18702                rel1.to: "bg";
18703                rel2.to: "bg";
18704                image {
18705                   normal: "bt_sm_shine.png";
18706                   border: 6 6 6 0;
18707                }
18708             }
18709             description { state: "selected" 0.0;
18710                inherit: "default" 0.0;
18711                visible: 1;
18712                color: 255 255 255 255;
18713             }
18714          }
18715          part { name: "disclip";
18716             type: RECT;
18717             description { state: "default" 0.0;
18718                rel1.to: "bg";
18719                rel2.to: "bg";
18720             }
18721             description { state: "disabled" 0.0;
18722                inherit: "default" 0.0;
18723                color: 255 255 255 64;
18724             }
18725          }
18726       }
18727       programs {
18728          // signal: elm,state,%s,active
18729          //   a "check" item named %s went active
18730          // signal: elm,state,%s,passive
18731          //   a "check" item named %s went passive
18732          // default is passive
18733          program {
18734             name:    "go_active";
18735             signal:  "elm,state,selected";
18736             source:  "elm";
18737             action:  STATE_SET "selected" 0.0;
18738             target:  "bg";
18739             target:  "fg1";
18740             target:  "fg2";
18741             target:  "elm.text";
18742          }
18743          program {
18744             name:    "go_passive";
18745             signal:  "elm,state,unselected";
18746             source:  "elm";
18747             action:  STATE_SET "default" 0.0;
18748             target:  "bg";
18749             target:  "fg1";
18750             target:  "fg2";
18751             target:  "elm.text";
18752             transition: LINEAR 0.1;
18753          }
18754          program {
18755             name:    "go_disabled";
18756             signal:  "elm,state,disabled";
18757             source:  "elm";
18758             action:  STATE_SET "disabled" 0.0;
18759             target:  "disclip";
18760          }
18761          program {
18762             name:    "go_enabled";
18763             signal:  "elm,state,enabled";
18764             source:  "elm";
18765             action:  STATE_SET "default" 0.0;
18766             target:  "disclip";
18767          }
18768          program {
18769             name:    "expand";
18770             signal:  "mouse,up,1";
18771             source:  "arrow";
18772             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
18773          }
18774          program {
18775             name:    "go_expanded";
18776             signal:  "elm,state,expanded";
18777             source:  "elm";
18778             action:  STATE_SET "active" 0.0;
18779             target:  "arrow";
18780          }
18781          program {
18782             name:    "go_contracted";
18783             signal:  "elm,state,contracted";
18784             source:  "elm";
18785             action:  STATE_SET "default" 0.0;
18786             target:  "arrow";
18787          }
18788       }
18789    }
18790    group { name: "elm/genlist/tree_compress_odd/default/default";
18791       data.item: "stacking" "below";
18792       data.item: "selectraise" "on";
18793       data.item: "labels" "elm.text";
18794       data.item: "icons" "elm.swallow.icon elm.swallow.end";
18795       data.item: "treesize" "20";
18796 //      data.item: "states" "";
18797       images {
18798          image: "bt_sm_base1.png" COMP;
18799          image: "bt_sm_shine.png" COMP;
18800          image: "bt_sm_hilight.png" COMP;
18801          image: "ilist_2.png" COMP;
18802          image: "icon_arrow_right.png" COMP;
18803          image: "icon_arrow_down.png" COMP;
18804       }
18805       parts {
18806          part {
18807             name:           "event";
18808             type:           RECT;
18809             repeat_events: 1;
18810             description {
18811                state: "default" 0.0;
18812                color: 0 0 0 0;
18813             }
18814          }
18815          part {
18816             name: "base";
18817             mouse_events: 0;
18818             description {
18819                state: "default" 0.0;
18820                image {
18821                   normal: "ilist_2.png";
18822                   border: 2 2 2 2;
18823                }
18824                fill.smooth: 0;
18825             }
18826          }
18827          part { name: "bg";
18828             clip_to: "disclip";
18829             mouse_events: 0;
18830             description { state: "default" 0.0;
18831                visible: 0;
18832                color: 255 255 255 0;
18833                rel1 {
18834                   relative: 0.0 0.0;
18835                   offset: -5 -5;
18836                }
18837                rel2 {
18838                   relative: 1.0 1.0;
18839                   offset: 4 4;
18840                }
18841                image {
18842                   normal: "bt_sm_base1.png";
18843                   border: 6 6 6 6;
18844                }
18845                image.middle: SOLID;
18846             }
18847             description { state: "selected" 0.0;
18848                inherit: "default" 0.0;
18849                visible: 1;
18850                color: 255 255 255 255;
18851                rel1 {
18852                   relative: 0.0 0.0;
18853                   offset: -2 -2;
18854                }
18855                rel2 {
18856                   relative: 1.0 1.0;
18857                   offset: 1 1;
18858                }
18859             }
18860          }
18861          part { name: "elm.swallow.pad";
18862             type: SWALLOW;
18863             description { state: "default" 0.0;
18864                fixed: 1 0;
18865                align: 0.0 0.5;
18866                rel1 {
18867                   relative: 0.0  0.0;
18868                   offset:   4    4;
18869                }
18870                rel2 {
18871                   relative: 0.0  1.0;
18872                   offset:   4   -5;
18873                }
18874             }
18875          }
18876          part { name: "arrow";
18877             clip_to: "disclip";
18878             ignore_flags: ON_HOLD;
18879             description { state: "default" 0.0;
18880                fixed: 1 0;
18881                align: 0.0 0.5;
18882                aspect: 1.0 1.0;
18883                rel1 {
18884                   to_x: "elm.swallow.pad";
18885                   relative: 1.0  0.0;
18886                   offset:   -1    4;
18887                }
18888                rel2 {
18889                   to_x: "elm.swallow.pad";
18890                   relative: 1.0  1.0;
18891                   offset:   -1   -5;
18892                }
18893                image.normal: "icon_arrow_right.png";
18894             }
18895             description { state: "active" 0.0;
18896                inherit: "default" 0.0;
18897                image.normal: "icon_arrow_down.png";
18898             }
18899          }
18900          part { name: "elm.swallow.icon";
18901             clip_to: "disclip";
18902             type: SWALLOW;
18903             description { state: "default" 0.0;
18904                fixed: 1 0;
18905                align: 0.0 0.5;
18906                rel1 {
18907                   to_x: "arrow";
18908                   relative: 1.0  0.0;
18909                   offset:   4    4;
18910                }
18911                rel2 {
18912                   to_x: "arrow";
18913                   relative: 1.0  1.0;
18914                   offset:   4   -5;
18915                }
18916             }
18917          }
18918          part { name: "elm.swallow.end";
18919             clip_to: "disclip";
18920             type: SWALLOW;
18921             description { state: "default" 0.0;
18922                fixed: 1 0;
18923                align: 1.0 0.5;
18924                aspect: 1.0 1.0;
18925                aspect_preference: VERTICAL;
18926                rel1 {
18927                   relative: 1.0  0.0;
18928                   offset:   -5    4;
18929                }
18930                rel2 {
18931                   relative: 1.0  1.0;
18932                   offset:   -5   -5;
18933                }
18934             }
18935          }
18936          part { name: "elm.text";
18937             clip_to: "disclip";
18938             type:           TEXT;
18939             effect:         SOFT_SHADOW;
18940             mouse_events:   0;
18941             scale: 1;
18942             description {
18943                state: "default" 0.0;
18944 //               min: 16 16;
18945                rel1 {
18946                   to_x:     "elm.swallow.icon";
18947                   relative: 1.0  0.0;
18948                   offset:   0 4;
18949                }
18950                rel2 {
18951                   to_x:     "elm.swallow.end";
18952                   relative: 0.0  1.0;
18953                   offset:   -1 -5;
18954                }
18955                color: 0 0 0 255;
18956                color3: 0 0 0 0;
18957                text {
18958                   font: "Sans";
18959                   size: 10;
18960 //                  min: 1 1;
18961                   min: 0 1;
18962                   align: 0.0 0.5;
18963                   text_class: "list_item";
18964                }
18965             }
18966             description { state: "selected" 0.0;
18967                inherit: "default" 0.0;
18968                color: 224 224 224 255;
18969                color3: 0 0 0 64;
18970             }
18971          }
18972          part { name: "fg1";
18973             clip_to: "disclip";
18974             mouse_events: 0;
18975             description { state: "default" 0.0;
18976                visible: 0;
18977                color: 255 255 255 0;
18978                rel1.to: "bg";
18979                rel2.relative: 1.0 0.5;
18980                rel2.to: "bg";
18981                image {
18982                   normal: "bt_sm_hilight.png";
18983                   border: 6 6 6 0;
18984                }
18985             }
18986             description { state: "selected" 0.0;
18987                inherit: "default" 0.0;
18988                visible: 1;
18989                color: 255 255 255 255;
18990             }
18991          }
18992          part { name: "fg2";
18993             clip_to: "disclip";
18994             mouse_events: 0;
18995             description { state: "default" 0.0;
18996                visible: 0;
18997                color: 255 255 255 0;
18998                rel1.to: "bg";
18999                rel2.to: "bg";
19000                image {
19001                   normal: "bt_sm_shine.png";
19002                   border: 6 6 6 0;
19003                }
19004             }
19005             description { state: "selected" 0.0;
19006                inherit: "default" 0.0;
19007                visible: 1;
19008                color: 255 255 255 255;
19009             }
19010          }
19011          part { name: "disclip";
19012             type: RECT;
19013             description { state: "default" 0.0;
19014                rel1.to: "bg";
19015                rel2.to: "bg";
19016             }
19017             description { state: "disabled" 0.0;
19018                inherit: "default" 0.0;
19019                color: 255 255 255 64;
19020             }
19021          }
19022       }
19023       programs {
19024          // signal: elm,state,%s,active
19025          //   a "check" item named %s went active
19026          // signal: elm,state,%s,passive
19027          //   a "check" item named %s went passive
19028          // default is passive
19029          program {
19030             name:    "go_active";
19031             signal:  "elm,state,selected";
19032             source:  "elm";
19033             action:  STATE_SET "selected" 0.0;
19034             target:  "bg";
19035             target:  "fg1";
19036             target:  "fg2";
19037             target:  "elm.text";
19038          }
19039          program {
19040             name:    "go_passive";
19041             signal:  "elm,state,unselected";
19042             source:  "elm";
19043             action:  STATE_SET "default" 0.0;
19044             target:  "bg";
19045             target:  "fg1";
19046             target:  "fg2";
19047             target:  "elm.text";
19048             transition: LINEAR 0.1;
19049          }
19050          program {
19051             name:    "go_disabled";
19052             signal:  "elm,state,disabled";
19053             source:  "elm";
19054             action:  STATE_SET "disabled" 0.0;
19055             target:  "disclip";
19056          }
19057          program {
19058             name:    "go_enabled";
19059             signal:  "elm,state,enabled";
19060             source:  "elm";
19061             action:  STATE_SET "default" 0.0;
19062             target:  "disclip";
19063          }
19064          program {
19065             name:    "expand";
19066             signal:  "mouse,up,1";
19067             source:  "arrow";
19068             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
19069          }
19070          program {
19071             name:    "go_expanded";
19072             signal:  "elm,state,expanded";
19073             source:  "elm";
19074             action:  STATE_SET "active" 0.0;
19075             target:  "arrow";
19076          }
19077          program {
19078             name:    "go_contracted";
19079             signal:  "elm,state,contracted";
19080             source:  "elm";
19081             action:  STATE_SET "default" 0.0;
19082             target:  "arrow";
19083          }
19084       }
19085    }
19086
19087    group { name: "elm/genlist/item/default_style/default";
19088        styles
19089        {
19090            style { name: "genlist_style";
19091                base: "font=Sans font_size=10 align=left valign=0.5 color=#000 text_class=list_item";
19092                tag:  "br" "\n";
19093                tag:  "ps" "ps";
19094                tag:  "hilight" "+ font=Sans:style=Bold";
19095                tag:  "b" "+ font=Sans:style=Bold";
19096                tag:  "tab" "\t";
19097            }
19098            style { name: "genlist_selected_style";
19099                base: "font=Sans font_size=10 align=left valign=0.5 color=#fff text_class=list_item";
19100                tag:  "br" "\n";
19101                tag:  "ps" "ps";
19102                tag:  "hilight" "+ font=Sans:style=Bold";
19103                tag:  "b" "+ font=Sans:style=Bold";
19104                tag:  "tab" "\t";
19105            }
19106        }
19107        data.item: "stacking" "above";
19108        data.item: "selectraise" "on";
19109        data.item: "labels" "elm.text";
19110        data.item: "icons" "elm.swallow.icon elm.swallow.end";
19111        data.item: "treesize" "20";
19112        images {
19113            image: "bt_sm_base1.png" COMP;
19114            image: "bt_sm_shine.png" COMP;
19115            image: "bt_sm_hilight.png" COMP;
19116            image: "ilist_1.png" COMP;
19117            image: "ilist_item_shadow.png" COMP;
19118        }
19119        parts {
19120            part {
19121                name:           "event";
19122                type:           RECT;
19123                repeat_events: 1;
19124                description {
19125                    state: "default" 0.0;
19126                    color: 0 0 0 0;
19127                }
19128            }
19129            part {
19130                name: "base_sh";
19131                mouse_events: 0;
19132                description {
19133                    state: "default" 0.0;
19134                    align: 0.0 0.0;
19135                    min: 0 10;
19136                    fixed: 1 1;
19137                    rel1 {
19138                        to: "base";
19139                        relative: 0.0 1.0;
19140                        offset: 0 0;
19141                    }
19142                    rel2 {
19143                        to: "base";
19144                        relative: 1.0 1.0;
19145                        offset: -1 0;
19146                    }
19147                    image {
19148                        normal: "ilist_item_shadow.png";
19149                    }
19150                    fill.smooth: 0;
19151                }
19152            }
19153            part {
19154                name: "base";
19155                mouse_events: 0;
19156                description {
19157                    state: "default" 0.0;
19158                    min: 16 28;
19159                    image {
19160                        normal: "ilist_1.png";
19161                        border: 2 2 2 2;
19162                    }
19163                    fill.smooth: 0;
19164                }
19165            }
19166            part { name: "bg";
19167                clip_to: "disclip";
19168                mouse_events: 0;
19169                description { state: "default" 0.0;
19170                    visible: 0;
19171                    color: 255 255 255 0;
19172                    rel1 {
19173                        relative: 0.0 0.0;
19174                        offset: -5 -5;
19175                    }
19176                    rel2 {
19177                        relative: 1.0 1.0;
19178                        offset: 4 4;
19179                    }
19180                    image {
19181                        normal: "bt_sm_base1.png";
19182                        border: 6 6 6 6;
19183                    }
19184                    image.middle: SOLID;
19185                }
19186                description { state: "selected" 0.0;
19187                    inherit: "default" 0.0;
19188                    visible: 1;
19189                    color: 255 255 255 255;
19190                    rel1 {
19191                        relative: 0.0 0.0;
19192                        offset: -2 -2;
19193                    }
19194                    rel2 {
19195                        relative: 1.0 1.0;
19196                        offset: 1 1;
19197                    }
19198                }
19199            }
19200            part { name: "elm.swallow.pad";
19201                type: SWALLOW;
19202                description { state: "default" 0.0;
19203                    fixed: 1 0;
19204                    align: 0.0 0.5;
19205                    rel1 {
19206                        relative: 0.0  0.0;
19207                        offset:   4    4;
19208                    }
19209                    rel2 {
19210                        relative: 0.0  1.0;
19211                        offset:   4   -5;
19212                    }
19213                }
19214            }
19215            part { name: "elm.swallow.icon";
19216                clip_to: "disclip";
19217                type: SWALLOW;
19218                description { state: "default" 0.0;
19219                    fixed: 1 0;
19220                    align: 0.0 0.5;
19221                    rel1 {
19222                        to_x: "elm.swallow.pad";
19223                        relative: 1.0  0.0;
19224                        offset:   -1    4;
19225                    }
19226                    rel2 {
19227                        to_x: "elm.swallow.pad";
19228                        relative: 1.0  1.0;
19229                        offset:   -1   -5;
19230                    }
19231                }
19232            }
19233            part { name: "elm.swallow.end";
19234                clip_to: "disclip";
19235                type: SWALLOW;
19236                description { state: "default" 0.0;
19237                    fixed: 1 0;
19238                    align: 1.0 0.5;
19239                    aspect: 1.0 1.0;
19240                    aspect_preference: VERTICAL;
19241                    rel1 {
19242                        relative: 1.0  0.0;
19243                        offset:   -5    4;
19244                    }
19245                    rel2 {
19246                        relative: 1.0  1.0;
19247                        offset:   -5   -5;
19248                    }
19249                }
19250            }
19251            part { name: "elm.text";
19252                clip_to: "disclip";
19253                type: TEXTBLOCK;
19254                mouse_events: 0;
19255                scale: 1;
19256                description {
19257                    state: "default" 0.0;
19258                    align: 0.0 0.5;
19259                    fixed: 0 1;
19260                    rel1 {
19261                        to_x: "elm.swallow.icon";
19262                        to_y: "base";
19263                        relative: 1.0  0.5;
19264                        offset:   0 4;
19265                    }
19266                    rel2 {
19267                        to_x: "elm.swallow.end";
19268                        to_y: "base";
19269                        relative: 0.0  0.5;
19270                        offset:   -1 -5;
19271                    }
19272                    text {
19273                        style: "genlist_style";
19274                        min: 1 1;
19275                    }
19276                }
19277                description { state: "selected" 0.0;
19278                    inherit: "default" 0.0;
19279                    text {
19280                        style: "genlist_selected_style";
19281                    }
19282                }
19283            }
19284            part { name: "fg1";
19285                clip_to: "disclip";
19286                mouse_events: 0;
19287                description { state: "default" 0.0;
19288                    visible: 0;
19289                    color: 255 255 255 0;
19290                    rel1.to: "bg";
19291                    rel2.relative: 1.0 0.5;
19292                    rel2.to: "bg";
19293                    image {
19294                        normal: "bt_sm_hilight.png";
19295                        border: 6 6 6 0;
19296                    }
19297                }
19298                description { state: "selected" 0.0;
19299                    inherit: "default" 0.0;
19300                    visible: 1;
19301                    color: 255 255 255 255;
19302                }
19303            }
19304            part { name: "fg2";
19305                clip_to: "disclip";
19306                mouse_events: 0;
19307                description { state: "default" 0.0;
19308                    visible: 0;
19309                    color: 255 255 255 0;
19310                    rel1.to: "bg";
19311                    rel2.to: "bg";
19312                    image {
19313                        normal: "bt_sm_shine.png";
19314                        border: 6 6 6 0;
19315                    }
19316                }
19317                description { state: "selected" 0.0;
19318                    inherit: "default" 0.0;
19319                    visible: 1;
19320                    color: 255 255 255 255;
19321                }
19322            }
19323            part { name: "disclip";
19324                type: RECT;
19325                description { state: "default" 0.0;
19326                    rel1.to: "bg";
19327                    rel2.to: "bg";
19328                }
19329                description { state: "disabled" 0.0;
19330                    inherit: "default" 0.0;
19331                    color: 255 255 255 64;
19332                }
19333            }
19334        }
19335        programs {
19336            // signal: elm,state,%s,active
19337            //   a "check" item named %s went active
19338            // signal: elm,state,%s,passive
19339            //   a "check" item named %s went passive
19340            // default is passive
19341            program {
19342                name:    "go_active";
19343                signal:  "elm,state,selected";
19344                source:  "elm";
19345                action:  STATE_SET "selected" 0.0;
19346                target:  "bg";
19347                target:  "fg1";
19348                target:  "fg2";
19349                target:  "elm.text";
19350            }
19351            program {
19352                name:    "go_passive";
19353                signal:  "elm,state,unselected";
19354                source:  "elm";
19355                action:  STATE_SET "default" 0.0;
19356                target:  "bg";
19357                target:  "fg1";
19358                target:  "fg2";
19359                target:  "elm.text";
19360                transition: LINEAR 0.1;
19361            }
19362            program {
19363                name:    "go_disabled";
19364                signal:  "elm,state,disabled";
19365                source:  "elm";
19366                action:  STATE_SET "disabled" 0.0;
19367                target:  "disclip";
19368            }
19369            program {
19370                name:    "go_enabled";
19371                signal:  "elm,state,enabled";
19372                source:  "elm";
19373                action:  STATE_SET "default" 0.0;
19374                target:  "disclip";
19375            }
19376        }
19377    }
19378    group { name: "elm/genlist/item_odd/default_style/default";
19379        data.item: "stacking" "below";
19380        data.item: "selectraise" "on";
19381        data.item: "labels" "elm.text";
19382        data.item: "icons" "elm.swallow.icon elm.swallow.end";
19383        data.item: "treesize" "20";
19384        images {
19385            image: "bt_sm_base1.png" COMP;
19386            image: "bt_sm_shine.png" COMP;
19387            image: "bt_sm_hilight.png" COMP;
19388            image: "ilist_2.png" COMP;
19389        }
19390        parts {
19391            part { name: "event";
19392                type: RECT;
19393                repeat_events: 1;
19394                description {
19395                    state: "default" 0.0;
19396                    color: 0 0 0 0;
19397                }
19398            }
19399            part {
19400                name: "base";
19401                mouse_events: 0;
19402                description {
19403                    state: "default" 0.0;
19404                    min: 16 28;
19405                    image {
19406                        normal: "ilist_2.png";
19407                        border: 2 2 2 2;
19408                    }
19409                    fill.smooth: 0;
19410                }
19411            }
19412            part { name: "bg";
19413                clip_to: "disclip";
19414                mouse_events: 0;
19415                description { state: "default" 0.0;
19416                    visible: 0;
19417                    color: 255 255 255 0;
19418                    rel1 {
19419                        relative: 0.0 0.0;
19420                        offset: -5 -5;
19421                    }
19422                    rel2 {
19423                        relative: 1.0 1.0;
19424                        offset: 4 4;
19425                    }
19426                    image {
19427                        normal: "bt_sm_base1.png";
19428                        border: 6 6 6 6;
19429                    }
19430                    image.middle: SOLID;
19431                }
19432                description { state: "selected" 0.0;
19433                    inherit: "default" 0.0;
19434                    visible: 1;
19435                    color: 255 255 255 255;
19436                    rel1 {
19437                        relative: 0.0 0.0;
19438                        offset: -2 -2;
19439                    }
19440                    rel2 {
19441                        relative: 1.0 1.0;
19442                        offset: 1 1;
19443                    }
19444                }
19445            }
19446            part { name: "elm.swallow.pad";
19447                type: SWALLOW;
19448                description { state: "default" 0.0;
19449                    fixed: 1 0;
19450                    align: 0.0 0.5;
19451                    rel1 {
19452                        relative: 0.0  0.0;
19453                        offset:   4    4;
19454                    }
19455                    rel2 {
19456                        relative: 0.0  1.0;
19457                        offset:   4   -5;
19458                    }
19459                }
19460            }
19461            part { name: "elm.swallow.icon";
19462                clip_to: "disclip";
19463                type: SWALLOW;
19464                description { state: "default" 0.0;
19465                    fixed: 1 0;
19466                    align: 0.0 0.5;
19467                    rel1 {
19468                        to_x: "elm.swallow.pad";
19469                        relative: 1.0  0.0;
19470                        offset:   -1    4;
19471                    }
19472                    rel2 {
19473                        to_x: "elm.swallow.pad";
19474                        relative: 1.0  1.0;
19475                        offset:   -1   -5;
19476                    }
19477                }
19478            }
19479            part { name: "elm.swallow.end";
19480                clip_to: "disclip";
19481                type:          SWALLOW;
19482                description { state:    "default" 0.0;
19483                    fixed: 1 0;
19484                    align:    1.0 0.5;
19485                    aspect: 1.0 1.0;
19486                    aspect_preference: VERTICAL;
19487                    rel1 {
19488                        relative: 1.0  0.0;
19489                        offset:   -5    4;
19490                    }
19491                    rel2 {
19492                        relative: 1.0  1.0;
19493                        offset:   -5   -5;
19494                    }
19495                }
19496            }
19497            part { name: "elm.text";
19498                clip_to: "disclip";
19499                type:           TEXTBLOCK;
19500                mouse_events:   0;
19501                scale: 1;
19502                description {
19503                    state: "default" 0.0;
19504                    align: 0.0 0.5;
19505                    fixed: 0 1;
19506                    rel1 {
19507                        to_x: "elm.swallow.icon";
19508                        to_y: "base";
19509                        relative: 1.0  0.5;
19510                        offset:   0 4;
19511                    }
19512                    rel2 {
19513                        to_x: "elm.swallow.end";
19514                        to_y: "base";
19515                        relative: 0.0  0.5;
19516                        offset:   -1 -5;
19517                    }
19518                    text {
19519                        style: "genlist_style";
19520                        min: 1 1;
19521                    }
19522                }
19523                description { state: "selected" 0.0;
19524                    inherit: "default" 0.0;
19525                    text {
19526                        style: "genlist_selected_style";
19527                    }
19528                }
19529            }
19530            part { name: "fg1";
19531                clip_to: "disclip";
19532                mouse_events: 0;
19533                description { state: "default" 0.0;
19534                    visible: 0;
19535                    color: 255 255 255 0;
19536                    rel1.to: "bg";
19537                    rel2.relative: 1.0 0.5;
19538                    rel2.to: "bg";
19539                    image {
19540                        normal: "bt_sm_hilight.png";
19541                        border: 6 6 6 0;
19542                    }
19543                }
19544                description { state: "selected" 0.0;
19545                    inherit: "default" 0.0;
19546                    visible: 1;
19547                    color: 255 255 255 255;
19548                }
19549            }
19550            part { name: "fg2";
19551                clip_to: "disclip";
19552                mouse_events: 0;
19553                description { state: "default" 0.0;
19554                    visible: 0;
19555                    color: 255 255 255 0;
19556                    rel1.to: "bg";
19557                    rel2.to: "bg";
19558                    image {
19559                        normal: "bt_sm_shine.png";
19560                        border: 6 6 6 0;
19561                    }
19562                }
19563                description { state: "selected" 0.0;
19564                    inherit: "default" 0.0;
19565                    visible: 1;
19566                    color: 255 255 255 255;
19567                }
19568            }
19569            part { name: "disclip";
19570                type: RECT;
19571                description { state: "default" 0.0;
19572                    rel1.to: "bg";
19573                    rel2.to: "bg";
19574                }
19575                description { state: "disabled" 0.0;
19576                    inherit: "default" 0.0;
19577                    color: 255 255 255 64;
19578                }
19579            }
19580        }
19581        programs {
19582            // signal: elm,state,%s,active
19583            //   a "check" item named %s went active
19584            // signal: elm,state,%s,passive
19585            //   a "check" item named %s went passive
19586            // default is passive
19587            program {
19588                name:    "go_active";
19589                signal:  "elm,state,selected";
19590                source:  "elm";
19591                action:  STATE_SET "selected" 0.0;
19592                target:  "bg";
19593                target:  "fg1";
19594                target:  "fg2";
19595                target:  "elm.text";
19596            }
19597            program {
19598                name:    "go_passive";
19599                signal:  "elm,state,unselected";
19600                source:  "elm";
19601                action:  STATE_SET "default" 0.0;
19602                target:  "bg";
19603                target:  "fg1";
19604                target:  "fg2";
19605                target:  "elm.text";
19606                transition: LINEAR 0.1;
19607            }
19608            program {
19609                name:    "go_disabled";
19610                signal:  "elm,state,disabled";
19611                source:  "elm";
19612                action:  STATE_SET "disabled" 0.0;
19613                target:  "disclip";
19614            }
19615            program {
19616                name:    "go_enabled";
19617                signal:  "elm,state,enabled";
19618                source:  "elm";
19619                action:  STATE_SET "default" 0.0;
19620                target:  "disclip";
19621            }
19622        }
19623    }
19624
19625    group { name: "elm/genlist/tree/default_style/default";
19626        data.item: "stacking" "above";
19627        data.item: "selectraise" "on";
19628        data.item: "labels" "elm.text";
19629        data.item: "icons" "elm.swallow.icon elm.swallow.end";
19630        data.item: "treesize" "20";
19631        images {
19632            image: "bt_sm_base1.png" COMP;
19633            image: "bt_sm_shine.png" COMP;
19634            image: "bt_sm_hilight.png" COMP;
19635            image: "ilist_1.png" COMP;
19636            image: "ilist_item_shadow.png" COMP;
19637            image: "icon_arrow_right.png" COMP;
19638            image: "icon_arrow_down.png" COMP;
19639        }
19640        parts {
19641            part {
19642                name:           "event";
19643                type:           RECT;
19644                repeat_events: 1;
19645                description {
19646                    state: "default" 0.0;
19647                    color: 0 0 0 0;
19648                }
19649            }
19650            part {
19651                name: "base_sh";
19652                mouse_events: 0;
19653                description {
19654                    state: "default" 0.0;
19655                    align: 0.0 0.0;
19656                    min: 0 10;
19657                    fixed: 1 1;
19658                    rel1 {
19659                        to: "base";
19660                        relative: 0.0 1.0;
19661                        offset: 0 0;
19662                    }
19663                    rel2 {
19664                        to: "base";
19665                        relative: 1.0 1.0;
19666                        offset: -1 0;
19667                    }
19668                    image {
19669                        normal: "ilist_item_shadow.png";
19670                    }
19671                    fill.smooth: 0;
19672                }
19673            }
19674            part {
19675                name: "base";
19676                mouse_events: 0;
19677                description {
19678                    state: "default" 0.0;
19679                    min: 16 28;
19680                    image {
19681                        normal: "ilist_1.png";
19682                        border: 2 2 2 2;
19683                    }
19684                    fill.smooth: 0;
19685                }
19686            }
19687            part { name: "bg";
19688                clip_to: "disclip";
19689                mouse_events: 0;
19690                description { state: "default" 0.0;
19691                    visible: 0;
19692                    color: 255 255 255 0;
19693                    rel1 {
19694                        relative: 0.0 0.0;
19695                        offset: -5 -5;
19696                    }
19697                    rel2 {
19698                        relative: 1.0 1.0;
19699                        offset: 4 4;
19700                    }
19701                    image {
19702                        normal: "bt_sm_base1.png";
19703                        border: 6 6 6 6;
19704                    }
19705                    image.middle: SOLID;
19706                }
19707                description { state: "selected" 0.0;
19708                    inherit: "default" 0.0;
19709                    visible: 1;
19710                    color: 255 255 255 255;
19711                    rel1 {
19712                        relative: 0.0 0.0;
19713                        offset: -2 -2;
19714                    }
19715                    rel2 {
19716                        relative: 1.0 1.0;
19717                        offset: 1 1;
19718                    }
19719                }
19720            }
19721            part { name: "elm.swallow.pad";
19722                type: SWALLOW;
19723                description { state: "default" 0.0;
19724                    fixed: 1 0;
19725                    align: 0.0 0.5;
19726                    rel1 {
19727                        relative: 0.0  0.0;
19728                        offset:   4    4;
19729                    }
19730                    rel2 {
19731                        relative: 0.0  1.0;
19732                        offset:   4   -5;
19733                    }
19734                }
19735            }
19736            part { name: "arrow";
19737                clip_to: "disclip";
19738                ignore_flags: ON_HOLD;
19739                description { state: "default" 0.0;
19740                    fixed: 1 0;
19741                    align: 0.0 0.5;
19742                    aspect: 1.0 1.0;
19743                    rel1 {
19744                        to_x: "elm.swallow.pad";
19745                        relative: 1.0  0.0;
19746                        offset:   -1    4;
19747                    }
19748                    rel2 {
19749                        to_x: "elm.swallow.pad";
19750                        relative: 1.0  1.0;
19751                        offset:   -1   -5;
19752                    }
19753                    image.normal: "icon_arrow_right.png";
19754                }
19755                description { state: "active" 0.0;
19756                    inherit: "default" 0.0;
19757                    image.normal: "icon_arrow_down.png";
19758                }
19759            }
19760            part { name: "elm.swallow.icon";
19761                clip_to: "disclip";
19762                type: SWALLOW;
19763                description { state: "default" 0.0;
19764                    fixed: 1 0;
19765                    align: 0.0 0.5;
19766                    rel1 {
19767                        to_x: "arrow";
19768                        relative: 1.0  0.0;
19769                        offset:   4    4;
19770                    }
19771                    rel2 {
19772                        to_x: "arrow";
19773                        relative: 1.0  1.0;
19774                        offset:   4   -5;
19775                    }
19776                }
19777            }
19778            part { name: "elm.swallow.end";
19779                clip_to: "disclip";
19780                type: SWALLOW;
19781                description { state: "default" 0.0;
19782                    fixed: 1 0;
19783                    align: 1.0 0.5;
19784                    aspect: 1.0 1.0;
19785                    aspect_preference: VERTICAL;
19786                    rel1 {
19787                        relative: 1.0  0.0;
19788                        offset:   -5    4;
19789                    }
19790                    rel2 {
19791                        relative: 1.0  1.0;
19792                        offset:   -5   -5;
19793                    }
19794                }
19795            }
19796            part { name: "elm.text";
19797                clip_to: "disclip";
19798                type:           TEXTBLOCK;
19799                effect:         SOFT_SHADOW;
19800                mouse_events:   0;
19801                scale: 1;
19802                description {
19803                    state: "default" 0.0;
19804                    align: 0.0 0.5;
19805                    fixed: 0 1;
19806                    rel1 {
19807                        to_x:     "elm.swallow.icon";
19808                        to_y: "base";
19809                        relative: 1.0  0.5;
19810                        offset:   0 4;
19811                    }
19812                    rel2 {
19813                        to_x:     "elm.swallow.end";
19814                        to_y: "base";
19815                        relative: 0.0  0.5;
19816                        offset:   -1 -5;
19817                    }
19818                    text {
19819                        style: "genlist_style";
19820                        min: 1 1;
19821                    }
19822                }
19823                description { state: "selected" 0.0;
19824                    inherit: "default" 0.0;
19825                    text {
19826                        style: "genlist_selected_style";
19827                    }
19828                }
19829            }
19830            part { name: "fg1";
19831                clip_to: "disclip";
19832                mouse_events: 0;
19833                description { state: "default" 0.0;
19834                    visible: 0;
19835                    color: 255 255 255 0;
19836                    rel1.to: "bg";
19837                    rel2.relative: 1.0 0.5;
19838                    rel2.to: "bg";
19839                    image {
19840                        normal: "bt_sm_hilight.png";
19841                        border: 6 6 6 0;
19842                    }
19843                }
19844                description { state: "selected" 0.0;
19845                    inherit: "default" 0.0;
19846                    visible: 1;
19847                    color: 255 255 255 255;
19848                }
19849            }
19850            part { name: "fg2";
19851                clip_to: "disclip";
19852                mouse_events: 0;
19853                description { state: "default" 0.0;
19854                    visible: 0;
19855                    color: 255 255 255 0;
19856                    rel1.to: "bg";
19857                    rel2.to: "bg";
19858                    image {
19859                        normal: "bt_sm_shine.png";
19860                        border: 6 6 6 0;
19861                    }
19862                }
19863                description { state: "selected" 0.0;
19864                    inherit: "default" 0.0;
19865                    visible: 1;
19866                    color: 255 255 255 255;
19867                }
19868            }
19869            part { name: "disclip";
19870                type: RECT;
19871                description { state: "default" 0.0;
19872                    rel1.to: "bg";
19873                    rel2.to: "bg";
19874                }
19875                description { state: "disabled" 0.0;
19876                    inherit: "default" 0.0;
19877                    color: 255 255 255 64;
19878                }
19879            }
19880        }
19881        programs {
19882            // signal: elm,state,%s,active
19883            //   a "check" item named %s went active
19884            // signal: elm,state,%s,passive
19885            //   a "check" item named %s went passive
19886            // default is passive
19887            program {
19888                name:    "go_active";
19889                signal:  "elm,state,selected";
19890                source:  "elm";
19891                action:  STATE_SET "selected" 0.0;
19892                target:  "bg";
19893                target:  "fg1";
19894                target:  "fg2";
19895                target:  "elm.text";
19896            }
19897            program {
19898                name:    "go_passive";
19899                signal:  "elm,state,unselected";
19900                source:  "elm";
19901                action:  STATE_SET "default" 0.0;
19902                target:  "bg";
19903                target:  "fg1";
19904                target:  "fg2";
19905                target:  "elm.text";
19906                transition: LINEAR 0.1;
19907            }
19908            program {
19909                name:    "go_disabled";
19910                signal:  "elm,state,disabled";
19911                source:  "elm";
19912                action:  STATE_SET "disabled" 0.0;
19913                target:  "disclip";
19914            }
19915            program {
19916                name:    "go_enabled";
19917                signal:  "elm,state,enabled";
19918                source:  "elm";
19919                action:  STATE_SET "default" 0.0;
19920                target:  "disclip";
19921            }
19922            program {
19923                name:    "expand";
19924                signal:  "mouse,up,1";
19925                source:  "arrow";
19926                action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
19927            }
19928            program {
19929                name:    "go_expanded";
19930                signal:  "elm,state,expanded";
19931                source:  "elm";
19932                action:  STATE_SET "active" 0.0;
19933                target:  "arrow";
19934            }
19935            program {
19936                name:    "go_contracted";
19937                signal:  "elm,state,contracted";
19938                source:  "elm";
19939                action:  STATE_SET "default" 0.0;
19940                target:  "arrow";
19941            }
19942        }
19943    }
19944    group { name: "elm/genlist/tree_odd/default_style/default";
19945        data.item: "stacking" "below";
19946        data.item: "selectraise" "on";
19947        data.item: "labels" "elm.text";
19948        data.item: "icons" "elm.swallow.icon elm.swallow.end";
19949        data.item: "treesize" "20";
19950        images {
19951            image: "bt_sm_base1.png" COMP;
19952            image: "bt_sm_shine.png" COMP;
19953            image: "bt_sm_hilight.png" COMP;
19954            image: "ilist_2.png" COMP;
19955            image: "icon_arrow_right.png" COMP;
19956            image: "icon_arrow_down.png" COMP;
19957        }
19958        parts {
19959            part {
19960                name:           "event";
19961                type:           RECT;
19962                repeat_events: 1;
19963                description {
19964                    state: "default" 0.0;
19965                    color: 0 0 0 0;
19966                }
19967            }
19968            part {
19969                name: "base";
19970                mouse_events: 0;
19971                description {
19972                    state: "default" 0.0;
19973                    min: 16 28;
19974                    image {
19975                        normal: "ilist_2.png";
19976                        border: 2 2 2 2;
19977                    }
19978                    fill.smooth: 0;
19979                }
19980            }
19981            part { name: "bg";
19982                clip_to: "disclip";
19983                mouse_events: 0;
19984                description { state: "default" 0.0;
19985                    visible: 0;
19986                    color: 255 255 255 0;
19987                    rel1 {
19988                        relative: 0.0 0.0;
19989                        offset: -5 -5;
19990                    }
19991                    rel2 {
19992                        relative: 1.0 1.0;
19993                        offset: 4 4;
19994                    }
19995                    image {
19996                        normal: "bt_sm_base1.png";
19997                        border: 6 6 6 6;
19998                    }
19999                    image.middle: SOLID;
20000                }
20001                description { state: "selected" 0.0;
20002                    inherit: "default" 0.0;
20003                    visible: 1;
20004                    color: 255 255 255 255;
20005                    rel1 {
20006                        relative: 0.0 0.0;
20007                        offset: -2 -2;
20008                    }
20009                    rel2 {
20010                        relative: 1.0 1.0;
20011                        offset: 1 1;
20012                    }
20013                }
20014            }
20015            part { name: "elm.swallow.pad";
20016                type: SWALLOW;
20017                description { state: "default" 0.0;
20018                    fixed: 1 0;
20019                    align: 0.0 0.5;
20020                    rel1 {
20021                        relative: 0.0  0.0;
20022                        offset:   4    4;
20023                    }
20024                    rel2 {
20025                        relative: 0.0  1.0;
20026                        offset:   4   -5;
20027                    }
20028                }
20029            }
20030            part { name: "arrow";
20031                clip_to: "disclip";
20032                ignore_flags: ON_HOLD;
20033                description { state: "default" 0.0;
20034                    fixed: 1 0;
20035                    align: 0.0 0.5;
20036                    aspect: 1.0 1.0;
20037                    rel1 {
20038                        to_x: "elm.swallow.pad";
20039                        relative: 1.0  0.0;
20040                        offset:   -1    4;
20041                    }
20042                    rel2 {
20043                        to_x: "elm.swallow.pad";
20044                        relative: 1.0  1.0;
20045                        offset:   -1   -5;
20046                    }
20047                    image.normal: "icon_arrow_right.png";
20048                }
20049                description { state: "active" 0.0;
20050                    inherit: "default" 0.0;
20051                    image.normal: "icon_arrow_down.png";
20052                }
20053            }
20054            part { name: "elm.swallow.icon";
20055                clip_to: "disclip";
20056                type: SWALLOW;
20057                description { state: "default" 0.0;
20058                    fixed: 1 0;
20059                    align: 0.0 0.5;
20060                    rel1 {
20061                        to_x: "arrow";
20062                        relative: 1.0  0.0;
20063                        offset:   4    4;
20064                    }
20065                    rel2 {
20066                        to_x: "arrow";
20067                        relative: 1.0  1.0;
20068                        offset:   4   -5;
20069                    }
20070                }
20071            }
20072            part { name: "elm.swallow.end";
20073                clip_to: "disclip";
20074                type: SWALLOW;
20075                description { state: "default" 0.0;
20076                    fixed: 1 0;
20077                    align: 1.0 0.5;
20078                    aspect: 1.0 1.0;
20079                    aspect_preference: VERTICAL;
20080                    rel1 {
20081                        relative: 1.0  0.0;
20082                        offset:   -5    4;
20083                    }
20084                    rel2 {
20085                        relative: 1.0  1.0;
20086                        offset:   -5   -5;
20087                    }
20088                }
20089            }
20090            part { name: "elm.text";
20091                clip_to: "disclip";
20092                type:           TEXTBLOCK;
20093                effect:         SOFT_SHADOW;
20094                mouse_events:   0;
20095                scale: 1;
20096                description {
20097                    state: "default" 0.0;
20098                    align: 0.0 0.5;
20099                    fixed: 0 1;
20100                    rel1 {
20101                        to_x:     "elm.swallow.icon";
20102                        to_y: "base";
20103                        relative: 1.0  0.5;
20104                        offset:   0 4;
20105                    }
20106                    rel2 {
20107                        to_x:     "elm.swallow.end";
20108                        to_y: "base";
20109                        relative: 0.0  0.5;
20110                        offset:   -1 -5;
20111                    }
20112                    text {
20113                        style: "genlist_style";
20114                        min: 1 1;
20115                    }
20116                }
20117                description { state: "selected" 0.0;
20118                    inherit: "default" 0.0;
20119                    text {
20120                        style: "genlist_selected_style";
20121                    }
20122                }
20123            }
20124            part { name: "fg1";
20125                clip_to: "disclip";
20126                mouse_events: 0;
20127                description { state: "default" 0.0;
20128                    visible: 0;
20129                    color: 255 255 255 0;
20130                    rel1.to: "bg";
20131                    rel2.relative: 1.0 0.5;
20132                    rel2.to: "bg";
20133                    image {
20134                        normal: "bt_sm_hilight.png";
20135                        border: 6 6 6 0;
20136                    }
20137                }
20138                description { state: "selected" 0.0;
20139                    inherit: "default" 0.0;
20140                    visible: 1;
20141                    color: 255 255 255 255;
20142                }
20143            }
20144            part { name: "fg2";
20145                clip_to: "disclip";
20146                mouse_events: 0;
20147                description { state: "default" 0.0;
20148                    visible: 0;
20149                    color: 255 255 255 0;
20150                    rel1.to: "bg";
20151                    rel2.to: "bg";
20152                    image {
20153                        normal: "bt_sm_shine.png";
20154                        border: 6 6 6 0;
20155                    }
20156                }
20157                description { state: "selected" 0.0;
20158                    inherit: "default" 0.0;
20159                    visible: 1;
20160                    color: 255 255 255 255;
20161                }
20162            }
20163            part { name: "disclip";
20164                type: RECT;
20165                description { state: "default" 0.0;
20166                    rel1.to: "bg";
20167                    rel2.to: "bg";
20168                }
20169                description { state: "disabled" 0.0;
20170                    inherit: "default" 0.0;
20171                    color: 255 255 255 64;
20172                }
20173            }
20174        }
20175        programs {
20176            // signal: elm,state,%s,active
20177            //   a "check" item named %s went active
20178            // signal: elm,state,%s,passive
20179            //   a "check" item named %s went passive
20180            // default is passive
20181            program {
20182                name:    "go_active";
20183                signal:  "elm,state,selected";
20184                source:  "elm";
20185                action:  STATE_SET "selected" 0.0;
20186                target:  "bg";
20187                target:  "fg1";
20188                target:  "fg2";
20189                target:  "elm.text";
20190            }
20191            program {
20192                name:    "go_passive";
20193                signal:  "elm,state,unselected";
20194                source:  "elm";
20195                action:  STATE_SET "default" 0.0;
20196                target:  "bg";
20197                target:  "fg1";
20198                target:  "fg2";
20199                target:  "elm.text";
20200                transition: LINEAR 0.1;
20201            }
20202            program {
20203                name:    "go_disabled";
20204                signal:  "elm,state,disabled";
20205                source:  "elm";
20206                action:  STATE_SET "disabled" 0.0;
20207                target:  "disclip";
20208            }
20209            program {
20210                name:    "go_enabled";
20211                signal:  "elm,state,enabled";
20212                source:  "elm";
20213                action:  STATE_SET "default" 0.0;
20214                target:  "disclip";
20215            }
20216            program {
20217                name:    "expand";
20218                signal:  "mouse,up,1";
20219                source:  "arrow";
20220                action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
20221            }
20222            program {
20223                name:    "go_expanded";
20224                signal:  "elm,state,expanded";
20225                source:  "elm";
20226                action:  STATE_SET "active" 0.0;
20227                target:  "arrow";
20228            }
20229            program {
20230                name:    "go_contracted";
20231                signal:  "elm,state,contracted";
20232                source:  "elm";
20233                action:  STATE_SET "default" 0.0;
20234                target:  "arrow";
20235            }
20236        }
20237    }
20238
20239
20240    group { name: "elm/genlist/item/double_label/default";
20241       data.item: "stacking" "above";
20242       data.item: "selectraise" "on";
20243       data.item: "labels" "elm.text elm.text.sub";
20244       data.item: "icons" "elm.swallow.icon elm.swallow.end";
20245       data.item: "treesize" "20";
20246 //      data.item: "states" "";
20247       images {
20248          image: "bt_sm_base1.png" COMP;
20249          image: "bt_sm_shine.png" COMP;
20250          image: "bt_sm_hilight.png" COMP;
20251          image: "ilist_1.png" COMP;
20252          image: "ilist_item_shadow.png" COMP;
20253       }
20254       parts {
20255          part {
20256             name:           "event";
20257             type:           RECT;
20258             repeat_events: 1;
20259             description {
20260                state: "default" 0.0;
20261                color: 0 0 0 0;
20262             }
20263          }
20264          part {
20265             name: "base_sh";
20266             mouse_events: 0;
20267             description {
20268                state: "default" 0.0;
20269                align: 0.0 0.0;
20270                min: 0 10;
20271                fixed: 1 1;
20272                rel1 {
20273                   to: "base";
20274                   relative: 0.0 1.0;
20275                   offset: 0 0;
20276                }
20277                rel2 {
20278                   to: "base";
20279                   relative: 1.0 1.0;
20280                   offset: -1 0;
20281                }
20282                image {
20283                   normal: "ilist_item_shadow.png";
20284                }
20285                fill.smooth: 0;
20286             }
20287          }
20288          part {
20289             name: "base";
20290             mouse_events: 0;
20291             description {
20292                state: "default" 0.0;
20293                image {
20294                   normal: "ilist_1.png";
20295                   border: 2 2 2 2;
20296                }
20297                fill.smooth: 0;
20298             }
20299          }
20300          part { name: "bg";
20301             clip_to: "disclip";
20302             mouse_events: 0;
20303             description { state: "default" 0.0;
20304                visible: 0;
20305                color: 255 255 255 0;
20306                rel1 {
20307                   relative: 0.0 0.0;
20308                   offset: -5 -5;
20309                }
20310                rel2 {
20311                   relative: 1.0 1.0;
20312                   offset: 4 4;
20313                }
20314                image {
20315                   normal: "bt_sm_base1.png";
20316                   border: 6 6 6 6;
20317                }
20318                image.middle: SOLID;
20319             }
20320             description { state: "selected" 0.0;
20321                inherit: "default" 0.0;
20322                visible: 1;
20323                color: 255 255 255 255;
20324                rel1 {
20325                   relative: 0.0 0.0;
20326                   offset: -2 -2;
20327                }
20328                rel2 {
20329                   relative: 1.0 1.0;
20330                   offset: 1 1;
20331                }
20332             }
20333          }
20334          part { name: "elm.swallow.pad";
20335             type: SWALLOW;
20336             description { state: "default" 0.0;
20337                fixed: 1 0;
20338                align: 0.0 0.5;
20339                rel1 {
20340                   relative: 0.0  0.0;
20341                   offset:   4    4;
20342                }
20343                rel2 {
20344                   relative: 0.0  1.0;
20345                   offset:   4   -5;
20346                }
20347             }
20348          }
20349          part { name: "elm.swallow.icon";
20350             clip_to: "disclip";
20351             type: SWALLOW;
20352             description { state: "default" 0.0;
20353                fixed: 1 0;
20354                align: 0.0 0.5;
20355                rel1 {
20356                   to_x: "elm.swallow.pad";
20357                   relative: 1.0  0.0;
20358                   offset:   -1    4;
20359                }
20360                rel2 {
20361                   to_x: "elm.swallow.pad";
20362                   relative: 1.0  1.0;
20363                   offset:   -1   -5;
20364                }
20365             }
20366          }
20367          part { name: "elm.swallow.end";
20368             clip_to: "disclip";
20369             type: SWALLOW;
20370             description { state: "default" 0.0;
20371                fixed: 1 0;
20372                align: 1.0 0.5;
20373                aspect: 1.0 1.0;
20374                aspect_preference: VERTICAL;
20375                rel1 {
20376                   relative: 1.0  0.0;
20377                   offset:   -5    4;
20378                }
20379                rel2 {
20380                   relative: 1.0  1.0;
20381                   offset:   -5   -5;
20382                }
20383             }
20384          }
20385          part { name: "elm.text";
20386             clip_to: "disclip";
20387             type:           TEXT;
20388             effect:         SOFT_SHADOW;
20389             mouse_events:   0;
20390             scale: 1;
20391             description {
20392                state: "default" 0.0;
20393 //               min: 16 16;
20394                rel1 {
20395                   to_x:     "elm.swallow.icon";
20396                   relative: 1.0  0.0;
20397                   offset:   0 4;
20398                }
20399                rel2 {
20400                   to_x:     "elm.swallow.end";
20401                   relative: 0.0  0.5;
20402                   offset:   -1 -5;
20403                }
20404                color: 0 0 0 255;
20405                color3: 0 0 0 0;
20406                text {
20407                   font: "Sans";
20408                   size: 10;
20409                   min: 1 1;
20410 //                  min: 0 1;
20411                   align: 0.0 0.5;
20412                   text_class: "list_item";
20413                }
20414             }
20415             description { state: "selected" 0.0;
20416                inherit: "default" 0.0;
20417                color: 224 224 224 255;
20418                color3: 0 0 0 64;
20419             }
20420          }
20421          part { name: "elm.text.sub";
20422             clip_to: "disclip";
20423             type:           TEXT;
20424             mouse_events:   0;
20425             scale: 1;
20426             description {
20427                state: "default" 0.0;
20428 //               min: 16 16;
20429                rel1 {
20430                   to_x:     "elm.swallow.icon";
20431                   relative: 1.0  0.5;
20432                   offset:   0 4;
20433                }
20434                rel2 {
20435                   to_x:     "elm.swallow.end";
20436                   relative: 0.0  1.0;
20437                   offset:   -1 -5;
20438                }
20439                color: 0 0 0 128;
20440                color3: 0 0 0 0;
20441                text {
20442                   font: "Sans";
20443                   size: 8;
20444                   min: 1 1;
20445 //                  min: 0 1;
20446                   align: 0.0 0.5;
20447                   text_class: "list_item";
20448                }
20449             }
20450             description { state: "selected" 0.0;
20451                inherit: "default" 0.0;
20452                color: 128 128 128 255;
20453                color3: 0 0 0 32;
20454             }
20455          }
20456          part { name: "fg1";
20457             clip_to: "disclip";
20458             mouse_events: 0;
20459             description { state: "default" 0.0;
20460                visible: 0;
20461                color: 255 255 255 0;
20462                rel1.to: "bg";
20463                rel2.relative: 1.0 0.5;
20464                rel2.to: "bg";
20465                image {
20466                   normal: "bt_sm_hilight.png";
20467                   border: 6 6 6 0;
20468                }
20469             }
20470             description { state: "selected" 0.0;
20471                inherit: "default" 0.0;
20472                visible: 1;
20473                color: 255 255 255 255;
20474             }
20475          }
20476          part { name: "fg2";
20477             clip_to: "disclip";
20478             mouse_events: 0;
20479             description { state: "default" 0.0;
20480                visible: 0;
20481                color: 255 255 255 0;
20482                rel1.to: "bg";
20483                rel2.to: "bg";
20484                image {
20485                   normal: "bt_sm_shine.png";
20486                   border: 6 6 6 0;
20487                }
20488             }
20489             description { state: "selected" 0.0;
20490                inherit: "default" 0.0;
20491                visible: 1;
20492                color: 255 255 255 255;
20493             }
20494          }
20495          part { name: "disclip";
20496             type: RECT;
20497             description { state: "default" 0.0;
20498                rel1.to: "bg";
20499                rel2.to: "bg";
20500             }
20501             description { state: "disabled" 0.0;
20502                inherit: "default" 0.0;
20503                color: 255 255 255 64;
20504             }
20505          }
20506       }
20507       programs {
20508          // signal: elm,state,%s,active
20509          //   a "check" item named %s went active
20510          // signal: elm,state,%s,passive
20511          //   a "check" item named %s went passive
20512          // default is passive
20513          program {
20514             name:    "go_active";
20515             signal:  "elm,state,selected";
20516             source:  "elm";
20517             action:  STATE_SET "selected" 0.0;
20518             target:  "bg";
20519             target:  "fg1";
20520             target:  "fg2";
20521             target:  "elm.text";
20522             target:  "elm.text.sub";
20523          }
20524          program {
20525             name:    "go_passive";
20526             signal:  "elm,state,unselected";
20527             source:  "elm";
20528             action:  STATE_SET "default" 0.0;
20529             target:  "bg";
20530             target:  "fg1";
20531             target:  "fg2";
20532             target:  "elm.text";
20533             target:  "elm.text.sub";
20534             transition: LINEAR 0.1;
20535          }
20536          program {
20537             name:    "go_disabled";
20538             signal:  "elm,state,disabled";
20539             source:  "elm";
20540             action:  STATE_SET "disabled" 0.0;
20541             target:  "disclip";
20542          }
20543          program {
20544             name:    "go_enabled";
20545             signal:  "elm,state,enabled";
20546             source:  "elm";
20547             action:  STATE_SET "default" 0.0;
20548             target:  "disclip";
20549          }
20550       }
20551    }
20552    group { name: "elm/genlist/item_compress/double_label/default";
20553       data.item: "stacking" "above";
20554       data.item: "selectraise" "on";
20555       data.item: "labels" "elm.text elm.text.sub";
20556       data.item: "icons" "elm.swallow.icon elm.swallow.end";
20557       data.item: "treesize" "20";
20558 //      data.item: "states" "";
20559       images {
20560          image: "bt_sm_base1.png" COMP;
20561          image: "bt_sm_shine.png" COMP;
20562          image: "bt_sm_hilight.png" COMP;
20563          image: "ilist_1.png" COMP;
20564          image: "ilist_item_shadow.png" COMP;
20565       }
20566       parts {
20567          part {
20568             name:           "event";
20569             type:           RECT;
20570             repeat_events: 1;
20571             description {
20572                state: "default" 0.0;
20573                color: 0 0 0 0;
20574             }
20575          }
20576          part {
20577             name: "base_sh";
20578             mouse_events: 0;
20579             description {
20580                state: "default" 0.0;
20581                align: 0.0 0.0;
20582                min: 0 10;
20583                fixed: 1 1;
20584                rel1 {
20585                   to: "base";
20586                   relative: 0.0 1.0;
20587                   offset: 0 0;
20588                }
20589                rel2 {
20590                   to: "base";
20591                   relative: 1.0 1.0;
20592                   offset: -1 0;
20593                }
20594                image {
20595                   normal: "ilist_item_shadow.png";
20596                }
20597                fill.smooth: 0;
20598             }
20599          }
20600          part {
20601             name: "base";
20602             mouse_events: 0;
20603             description {
20604                state: "default" 0.0;
20605                image {
20606                   normal: "ilist_1.png";
20607                   border: 2 2 2 2;
20608                }
20609                fill.smooth: 0;
20610             }
20611          }
20612          part { name: "bg";
20613             clip_to: "disclip";
20614             mouse_events: 0;
20615             description { state: "default" 0.0;
20616                visible: 0;
20617                color: 255 255 255 0;
20618                rel1 {
20619                   relative: 0.0 0.0;
20620                   offset: -5 -5;
20621                }
20622                rel2 {
20623                   relative: 1.0 1.0;
20624                   offset: 4 4;
20625                }
20626                image {
20627                   normal: "bt_sm_base1.png";
20628                   border: 6 6 6 6;
20629                }
20630                image.middle: SOLID;
20631             }
20632             description { state: "selected" 0.0;
20633                inherit: "default" 0.0;
20634                visible: 1;
20635                color: 255 255 255 255;
20636                rel1 {
20637                   relative: 0.0 0.0;
20638                   offset: -2 -2;
20639                }
20640                rel2 {
20641                   relative: 1.0 1.0;
20642                   offset: 1 1;
20643                }
20644             }
20645          }
20646          part { name: "elm.swallow.pad";
20647             type: SWALLOW;
20648             description { state: "default" 0.0;
20649                fixed: 1 0;
20650                align: 0.0 0.5;
20651                rel1 {
20652                   relative: 0.0  0.0;
20653                   offset:   4    4;
20654                }
20655                rel2 {
20656                   relative: 0.0  1.0;
20657                   offset:   4   -5;
20658                }
20659             }
20660          }
20661          part { name: "elm.swallow.icon";
20662             clip_to: "disclip";
20663             type: SWALLOW;
20664             description { state: "default" 0.0;
20665                fixed: 1 0;
20666                align: 0.0 0.5;
20667                rel1 {
20668                   to_x: "elm.swallow.pad";
20669                   relative: 1.0  0.0;
20670                   offset:   -1    4;
20671                }
20672                rel2 {
20673                   to_x: "elm.swallow.pad";
20674                   relative: 1.0  1.0;
20675                   offset:   -1   -5;
20676                }
20677             }
20678          }
20679          part { name: "elm.swallow.end";
20680             clip_to: "disclip";
20681             type: SWALLOW;
20682             description { state: "default" 0.0;
20683                fixed: 1 0;
20684                align: 1.0 0.5;
20685                aspect: 1.0 1.0;
20686                aspect_preference: VERTICAL;
20687                rel1 {
20688                   relative: 1.0  0.0;
20689                   offset:   -5    4;
20690                }
20691                rel2 {
20692                   relative: 1.0  1.0;
20693                   offset:   -5   -5;
20694                }
20695             }
20696          }
20697          part { name: "elm.text";
20698             clip_to: "disclip";
20699             type:           TEXT;
20700             effect:         SOFT_SHADOW;
20701             mouse_events:   0;
20702             scale: 1;
20703             description {
20704                state: "default" 0.0;
20705 //               min: 16 16;
20706                rel1 {
20707                   to_x:     "elm.swallow.icon";
20708                   relative: 1.0  0.0;
20709                   offset:   0 4;
20710                }
20711                rel2 {
20712                   to_x:     "elm.swallow.end";
20713                   relative: 0.0  0.5;
20714                   offset:   -1 -5;
20715                }
20716                color: 0 0 0 255;
20717                color3: 0 0 0 0;
20718                text {
20719                   font: "Sans";
20720                   size: 10;
20721 //                  min: 1 1;
20722                   min: 0 1;
20723                   align: 0.0 0.5;
20724                   text_class: "list_item";
20725                }
20726             }
20727             description { state: "selected" 0.0;
20728                inherit: "default" 0.0;
20729                color: 224 224 224 255;
20730                color3: 0 0 0 64;
20731             }
20732          }
20733          part { name: "elm.text.sub";
20734             clip_to: "disclip";
20735             type:           TEXT;
20736             mouse_events:   0;
20737             scale: 1;
20738             description {
20739                state: "default" 0.0;
20740 //               min: 16 16;
20741                rel1 {
20742                   to_x:     "elm.swallow.icon";
20743                   relative: 1.0  0.5;
20744                   offset:   0 4;
20745                }
20746                rel2 {
20747                   to_x:     "elm.swallow.end";
20748                   relative: 0.0  1.0;
20749                   offset:   -1 -5;
20750                }
20751                color: 0 0 0 128;
20752                color3: 0 0 0 0;
20753                text {
20754                   font: "Sans";
20755                   size: 8;
20756 //                  min: 1 1;
20757                   min: 0 1;
20758                   align: 0.0 0.5;
20759                   text_class: "list_item";
20760                }
20761             }
20762             description { state: "selected" 0.0;
20763                inherit: "default" 0.0;
20764                color: 128 128 128 255;
20765                color3: 0 0 0 32;
20766             }
20767          }
20768          part { name: "fg1";
20769             clip_to: "disclip";
20770             mouse_events: 0;
20771             description { state: "default" 0.0;
20772                visible: 0;
20773                color: 255 255 255 0;
20774                rel1.to: "bg";
20775                rel2.relative: 1.0 0.5;
20776                rel2.to: "bg";
20777                image {
20778                   normal: "bt_sm_hilight.png";
20779                   border: 6 6 6 0;
20780                }
20781             }
20782             description { state: "selected" 0.0;
20783                inherit: "default" 0.0;
20784                visible: 1;
20785                color: 255 255 255 255;
20786             }
20787          }
20788          part { name: "fg2";
20789             clip_to: "disclip";
20790             mouse_events: 0;
20791             description { state: "default" 0.0;
20792                visible: 0;
20793                color: 255 255 255 0;
20794                rel1.to: "bg";
20795                rel2.to: "bg";
20796                image {
20797                   normal: "bt_sm_shine.png";
20798                   border: 6 6 6 0;
20799                }
20800             }
20801             description { state: "selected" 0.0;
20802                inherit: "default" 0.0;
20803                visible: 1;
20804                color: 255 255 255 255;
20805             }
20806          }
20807          part { name: "disclip";
20808             type: RECT;
20809             description { state: "default" 0.0;
20810                rel1.to: "bg";
20811                rel2.to: "bg";
20812             }
20813             description { state: "disabled" 0.0;
20814                inherit: "default" 0.0;
20815                color: 255 255 255 64;
20816             }
20817          }
20818       }
20819       programs {
20820          // signal: elm,state,%s,active
20821          //   a "check" item named %s went active
20822          // signal: elm,state,%s,passive
20823          //   a "check" item named %s went passive
20824          // default is passive
20825          program {
20826             name:    "go_active";
20827             signal:  "elm,state,selected";
20828             source:  "elm";
20829             action:  STATE_SET "selected" 0.0;
20830             target:  "bg";
20831             target:  "fg1";
20832             target:  "fg2";
20833             target:  "elm.text";
20834             target:  "elm.text.sub";
20835          }
20836          program {
20837             name:    "go_passive";
20838             signal:  "elm,state,unselected";
20839             source:  "elm";
20840             action:  STATE_SET "default" 0.0;
20841             target:  "bg";
20842             target:  "fg1";
20843             target:  "fg2";
20844             target:  "elm.text";
20845             target:  "elm.text.sub";
20846             transition: LINEAR 0.1;
20847          }
20848          program {
20849             name:    "go_disabled";
20850             signal:  "elm,state,disabled";
20851             source:  "elm";
20852             action:  STATE_SET "disabled" 0.0;
20853             target:  "disclip";
20854          }
20855          program {
20856             name:    "go_enabled";
20857             signal:  "elm,state,enabled";
20858             source:  "elm";
20859             action:  STATE_SET "default" 0.0;
20860             target:  "disclip";
20861          }
20862       }
20863    }
20864    group { name: "elm/genlist/item_odd/double_label/default";
20865       data.item: "stacking" "below";
20866       data.item: "selectraise" "on";
20867       data.item: "labels" "elm.text elm.text.sub";
20868       data.item: "icons" "elm.swallow.icon elm.swallow.end";
20869       data.item: "treesize" "20";
20870 //      data.item: "states" "";
20871       images {
20872          image: "bt_sm_base1.png" COMP;
20873          image: "bt_sm_shine.png" COMP;
20874          image: "bt_sm_hilight.png" COMP;
20875          image: "ilist_2.png" COMP;
20876       }
20877       parts {
20878          part { name: "event";
20879             type: RECT;
20880             repeat_events: 1;
20881             description {
20882                state: "default" 0.0;
20883                color: 0 0 0 0;
20884             }
20885          }
20886          part {
20887             name: "base";
20888             mouse_events: 0;
20889             description {
20890                state: "default" 0.0;
20891                image {
20892                   normal: "ilist_2.png";
20893                   border: 2 2 2 2;
20894                }
20895                fill.smooth: 0;
20896             }
20897          }
20898          part { name: "bg";
20899             clip_to: "disclip";
20900             mouse_events: 0;
20901             description { state: "default" 0.0;
20902                visible: 0;
20903                color: 255 255 255 0;
20904                rel1 {
20905                   relative: 0.0 0.0;
20906                   offset: -5 -5;
20907                }
20908                rel2 {
20909                   relative: 1.0 1.0;
20910                   offset: 4 4;
20911                }
20912                image {
20913                   normal: "bt_sm_base1.png";
20914                   border: 6 6 6 6;
20915                }
20916                image.middle: SOLID;
20917             }
20918             description { state: "selected" 0.0;
20919                inherit: "default" 0.0;
20920                visible: 1;
20921                color: 255 255 255 255;
20922                rel1 {
20923                   relative: 0.0 0.0;
20924                   offset: -2 -2;
20925                }
20926                rel2 {
20927                   relative: 1.0 1.0;
20928                   offset: 1 1;
20929                }
20930             }
20931          }
20932          part { name: "elm.swallow.pad";
20933             type: SWALLOW;
20934             description { state: "default" 0.0;
20935                fixed: 1 0;
20936                align: 0.0 0.5;
20937                rel1 {
20938                   relative: 0.0  0.0;
20939                   offset:   4    4;
20940                }
20941                rel2 {
20942                   relative: 0.0  1.0;
20943                   offset:   4   -5;
20944                }
20945             }
20946          }
20947          part { name: "elm.swallow.icon";
20948             clip_to: "disclip";
20949             type: SWALLOW;
20950             description { state: "default" 0.0;
20951                fixed: 1 0;
20952                align: 0.0 0.5;
20953                rel1 {
20954                   to_x: "elm.swallow.pad";
20955                   relative: 1.0  0.0;
20956                   offset:   -1    4;
20957                }
20958                rel2 {
20959                   to_x: "elm.swallow.pad";
20960                   relative: 1.0  1.0;
20961                   offset:   -1   -5;
20962                }
20963             }
20964          }
20965          part { name: "elm.swallow.end";
20966             clip_to: "disclip";
20967             type:          SWALLOW;
20968             description { state:    "default" 0.0;
20969                fixed: 1 0;
20970                align:    1.0 0.5;
20971                aspect: 1.0 1.0;
20972                aspect_preference: VERTICAL;
20973                rel1 {
20974                   relative: 1.0  0.0;
20975                   offset:   -5    4;
20976                }
20977                rel2 {
20978                   relative: 1.0  1.0;
20979                   offset:   -5   -5;
20980                }
20981             }
20982          }
20983          part { name: "elm.text";
20984             clip_to: "disclip";
20985             type:           TEXT;
20986             effect:         SOFT_SHADOW;
20987             mouse_events:   0;
20988             scale: 1;
20989             description {
20990                state: "default" 0.0;
20991 //               min: 16 16;
20992                rel1 {
20993                   to_x:     "elm.swallow.icon";
20994                   relative: 1.0  0.0;
20995                   offset:   0 4;
20996                }
20997                rel2 {
20998                   to_x:     "elm.swallow.end";
20999                   relative: 0.0  0.5;
21000                   offset:   -1 -5;
21001                }
21002                color: 0 0 0 255;
21003                color3: 0 0 0 0;
21004                text {
21005                   font: "Sans";
21006                   size: 10;
21007                   min: 1 1;
21008 //                  min: 0 1;
21009                   align: 0.0 0.5;
21010                   text_class: "list_item";
21011                }
21012             }
21013             description { state: "selected" 0.0;
21014                inherit: "default" 0.0;
21015                color: 224 224 224 255;
21016                color3: 0 0 0 64;
21017             }
21018          }
21019          part { name: "elm.text.sub";
21020             clip_to: "disclip";
21021             type:           TEXT;
21022             mouse_events:   0;
21023             scale: 1;
21024             description {
21025                state: "default" 0.0;
21026 //               min: 16 16;
21027                rel1 {
21028                   to_x:     "elm.swallow.icon";
21029                   relative: 1.0  0.5;
21030                   offset:   0 4;
21031                }
21032                rel2 {
21033                   to_x:     "elm.swallow.end";
21034                   relative: 0.0  1.0;
21035                   offset:   -1 -5;
21036                }
21037                color: 0 0 0 128;
21038                color3: 0 0 0 0;
21039                text {
21040                   font: "Sans";
21041                   size: 8;
21042                   min: 1 1;
21043 //                  min: 0 1;
21044                   align: 0.0 0.5;
21045                   text_class: "list_item";
21046                }
21047             }
21048             description { state: "selected" 0.0;
21049                inherit: "default" 0.0;
21050                color: 128 128 128 255;
21051                color3: 0 0 0 32;
21052             }
21053          }
21054          part { name: "fg1";
21055             clip_to: "disclip";
21056             mouse_events: 0;
21057             description { state: "default" 0.0;
21058                visible: 0;
21059                color: 255 255 255 0;
21060                rel1.to: "bg";
21061                rel2.relative: 1.0 0.5;
21062                rel2.to: "bg";
21063                image {
21064                   normal: "bt_sm_hilight.png";
21065                   border: 6 6 6 0;
21066                }
21067             }
21068             description { state: "selected" 0.0;
21069                inherit: "default" 0.0;
21070                visible: 1;
21071                color: 255 255 255 255;
21072             }
21073          }
21074          part { name: "fg2";
21075             clip_to: "disclip";
21076             mouse_events: 0;
21077             description { state: "default" 0.0;
21078                visible: 0;
21079                color: 255 255 255 0;
21080                rel1.to: "bg";
21081                rel2.to: "bg";
21082                image {
21083                   normal: "bt_sm_shine.png";
21084                   border: 6 6 6 0;
21085                }
21086             }
21087             description { state: "selected" 0.0;
21088                inherit: "default" 0.0;
21089                visible: 1;
21090                color: 255 255 255 255;
21091             }
21092          }
21093          part { name: "disclip";
21094             type: RECT;
21095             description { state: "default" 0.0;
21096                rel1.to: "bg";
21097                rel2.to: "bg";
21098             }
21099             description { state: "disabled" 0.0;
21100                inherit: "default" 0.0;
21101                color: 255 255 255 64;
21102             }
21103          }
21104       }
21105       programs {
21106          // signal: elm,state,%s,active
21107          //   a "check" item named %s went active
21108          // signal: elm,state,%s,passive
21109          //   a "check" item named %s went passive
21110          // default is passive
21111          program {
21112             name:    "go_active";
21113             signal:  "elm,state,selected";
21114             source:  "elm";
21115             action:  STATE_SET "selected" 0.0;
21116             target:  "bg";
21117             target:  "fg1";
21118             target:  "fg2";
21119             target:  "elm.text";
21120             target:  "elm.text.sub";
21121          }
21122          program {
21123             name:    "go_passive";
21124             signal:  "elm,state,unselected";
21125             source:  "elm";
21126             action:  STATE_SET "default" 0.0;
21127             target:  "bg";
21128             target:  "fg1";
21129             target:  "fg2";
21130             target:  "elm.text";
21131             target:  "elm.text.sub";
21132             transition: LINEAR 0.1;
21133          }
21134          program {
21135             name:    "go_disabled";
21136             signal:  "elm,state,disabled";
21137             source:  "elm";
21138             action:  STATE_SET "disabled" 0.0;
21139             target:  "disclip";
21140          }
21141          program {
21142             name:    "go_enabled";
21143             signal:  "elm,state,enabled";
21144             source:  "elm";
21145             action:  STATE_SET "default" 0.0;
21146             target:  "disclip";
21147          }
21148       }
21149    }
21150    group { name: "elm/genlist/item_compress_odd/double_label/default";
21151       data.item: "stacking" "below";
21152       data.item: "selectraise" "on";
21153       data.item: "labels" "elm.text elm.text.sub";
21154       data.item: "icons" "elm.swallow.icon elm.swallow.end";
21155       data.item: "treesize" "20";
21156 //      data.item: "states" "";
21157       images {
21158          image: "bt_sm_base1.png" COMP;
21159          image: "bt_sm_shine.png" COMP;
21160          image: "bt_sm_hilight.png" COMP;
21161          image: "ilist_2.png" COMP;
21162       }
21163       parts {
21164          part { name: "event";
21165             type: RECT;
21166             repeat_events: 1;
21167             description {
21168                state: "default" 0.0;
21169                color: 0 0 0 0;
21170             }
21171          }
21172          part {
21173             name: "base";
21174             mouse_events: 0;
21175             description {
21176                state: "default" 0.0;
21177                image {
21178                   normal: "ilist_2.png";
21179                   border: 2 2 2 2;
21180                }
21181                fill.smooth: 0;
21182             }
21183          }
21184          part { name: "bg";
21185             clip_to: "disclip";
21186             mouse_events: 0;
21187             description { state: "default" 0.0;
21188                visible: 0;
21189                color: 255 255 255 0;
21190                rel1 {
21191                   relative: 0.0 0.0;
21192                   offset: -5 -5;
21193                }
21194                rel2 {
21195                   relative: 1.0 1.0;
21196                   offset: 4 4;
21197                }
21198                image {
21199                   normal: "bt_sm_base1.png";
21200                   border: 6 6 6 6;
21201                }
21202                image.middle: SOLID;
21203             }
21204             description { state: "selected" 0.0;
21205                inherit: "default" 0.0;
21206                visible: 1;
21207                color: 255 255 255 255;
21208                rel1 {
21209                   relative: 0.0 0.0;
21210                   offset: -2 -2;
21211                }
21212                rel2 {
21213                   relative: 1.0 1.0;
21214                   offset: 1 1;
21215                }
21216             }
21217          }
21218          part { name: "elm.swallow.pad";
21219             type: SWALLOW;
21220             description { state: "default" 0.0;
21221                fixed: 1 0;
21222                align: 0.0 0.5;
21223                rel1 {
21224                   relative: 0.0  0.0;
21225                   offset:   4    4;
21226                }
21227                rel2 {
21228                   relative: 0.0  1.0;
21229                   offset:   4   -5;
21230                }
21231             }
21232          }
21233          part { name: "elm.swallow.icon";
21234             clip_to: "disclip";
21235             type: SWALLOW;
21236             description { state: "default" 0.0;
21237                fixed: 1 0;
21238                align: 0.0 0.5;
21239                rel1 {
21240                   to_x: "elm.swallow.pad";
21241                   relative: 1.0  0.0;
21242                   offset:   -1    4;
21243                }
21244                rel2 {
21245                   to_x: "elm.swallow.pad";
21246                   relative: 1.0  1.0;
21247                   offset:   -1   -5;
21248                }
21249             }
21250          }
21251          part { name: "elm.swallow.end";
21252             clip_to: "disclip";
21253             type:          SWALLOW;
21254             description { state:    "default" 0.0;
21255                fixed: 1 0;
21256                align:    1.0 0.5;
21257                aspect: 1.0 1.0;
21258                aspect_preference: VERTICAL;
21259                rel1 {
21260                   relative: 1.0  0.0;
21261                   offset:   -5    4;
21262                }
21263                rel2 {
21264                   relative: 1.0  1.0;
21265                   offset:   -5   -5;
21266                }
21267             }
21268          }
21269          part { name: "elm.text";
21270             clip_to: "disclip";
21271             type:           TEXT;
21272             effect:         SOFT_SHADOW;
21273             mouse_events:   0;
21274             scale: 1;
21275             description {
21276                state: "default" 0.0;
21277 //               min: 16 16;
21278                rel1 {
21279                   to_x:     "elm.swallow.icon";
21280                   relative: 1.0  0.0;
21281                   offset:   0 4;
21282                }
21283                rel2 {
21284                   to_x:     "elm.swallow.end";
21285                   relative: 0.0  0.5;
21286                   offset:   -1 -5;
21287                }
21288                color: 0 0 0 255;
21289                color3: 0 0 0 0;
21290                text {
21291                   font: "Sans";
21292                   size: 10;
21293 //                  min: 1 1;
21294                   min: 0 1;
21295                   align: 0.0 0.5;
21296                   text_class: "list_item";
21297                }
21298             }
21299             description { state: "selected" 0.0;
21300                inherit: "default" 0.0;
21301                color: 224 224 224 255;
21302                color3: 0 0 0 64;
21303             }
21304          }
21305          part { name: "elm.text.sub";
21306             clip_to: "disclip";
21307             type:           TEXT;
21308             mouse_events:   0;
21309             scale: 1;
21310             description {
21311                state: "default" 0.0;
21312 //               min: 16 16;
21313                rel1 {
21314                   to_x:     "elm.swallow.icon";
21315                   relative: 1.0  0.5;
21316                   offset:   0 4;
21317                }
21318                rel2 {
21319                   to_x:     "elm.swallow.end";
21320                   relative: 0.0  1.0;
21321                   offset:   -1 -5;
21322                }
21323                color: 0 0 0 128;
21324                color3: 0 0 0 0;
21325                text {
21326                   font: "Sans";
21327                   size: 8;
21328 //                  min: 1 1;
21329                   min: 0 1;
21330                   align: 0.0 0.5;
21331                   text_class: "list_item";
21332                }
21333             }
21334             description { state: "selected" 0.0;
21335                inherit: "default" 0.0;
21336                color: 128 128 128 255;
21337                color3: 0 0 0 32;
21338             }
21339          }
21340          part { name: "fg1";
21341             clip_to: "disclip";
21342             mouse_events: 0;
21343             description { state: "default" 0.0;
21344                visible: 0;
21345                color: 255 255 255 0;
21346                rel1.to: "bg";
21347                rel2.relative: 1.0 0.5;
21348                rel2.to: "bg";
21349                image {
21350                   normal: "bt_sm_hilight.png";
21351                   border: 6 6 6 0;
21352                }
21353             }
21354             description { state: "selected" 0.0;
21355                inherit: "default" 0.0;
21356                visible: 1;
21357                color: 255 255 255 255;
21358             }
21359          }
21360          part { name: "fg2";
21361             clip_to: "disclip";
21362             mouse_events: 0;
21363             description { state: "default" 0.0;
21364                visible: 0;
21365                color: 255 255 255 0;
21366                rel1.to: "bg";
21367                rel2.to: "bg";
21368                image {
21369                   normal: "bt_sm_shine.png";
21370                   border: 6 6 6 0;
21371                }
21372             }
21373             description { state: "selected" 0.0;
21374                inherit: "default" 0.0;
21375                visible: 1;
21376                color: 255 255 255 255;
21377             }
21378          }
21379          part { name: "disclip";
21380             type: RECT;
21381             description { state: "default" 0.0;
21382                rel1.to: "bg";
21383                rel2.to: "bg";
21384             }
21385             description { state: "disabled" 0.0;
21386                inherit: "default" 0.0;
21387                color: 255 255 255 64;
21388             }
21389          }
21390       }
21391       programs {
21392          // signal: elm,state,%s,active
21393          //   a "check" item named %s went active
21394          // signal: elm,state,%s,passive
21395          //   a "check" item named %s went passive
21396          // default is passive
21397          program {
21398             name:    "go_active";
21399             signal:  "elm,state,selected";
21400             source:  "elm";
21401             action:  STATE_SET "selected" 0.0;
21402             target:  "bg";
21403             target:  "fg1";
21404             target:  "fg2";
21405             target:  "elm.text";
21406             target:  "elm.text.sub";
21407          }
21408          program {
21409             name:    "go_passive";
21410             signal:  "elm,state,unselected";
21411             source:  "elm";
21412             action:  STATE_SET "default" 0.0;
21413             target:  "bg";
21414             target:  "fg1";
21415             target:  "fg2";
21416             target:  "elm.text";
21417             target:  "elm.text.sub";
21418             transition: LINEAR 0.1;
21419          }
21420          program {
21421             name:    "go_disabled";
21422             signal:  "elm,state,disabled";
21423             source:  "elm";
21424             action:  STATE_SET "disabled" 0.0;
21425             target:  "disclip";
21426          }
21427          program {
21428             name:    "go_enabled";
21429             signal:  "elm,state,enabled";
21430             source:  "elm";
21431             action:  STATE_SET "default" 0.0;
21432             target:  "disclip";
21433          }
21434       }
21435    }
21436
21437    group { name: "elm/genlist/tree/double_label/default";
21438       data.item: "stacking" "above";
21439       data.item: "selectraise" "on";
21440       data.item: "labels" "elm.text elm.text.sub";
21441       data.item: "icons" "elm.swallow.icon elm.swallow.end";
21442       data.item: "treesize" "20";
21443 //      data.item: "states" "";
21444       images {
21445          image: "bt_sm_base1.png" COMP;
21446          image: "bt_sm_shine.png" COMP;
21447          image: "bt_sm_hilight.png" COMP;
21448          image: "ilist_1.png" COMP;
21449          image: "ilist_item_shadow.png" COMP;
21450          image: "icon_arrow_right.png" COMP;
21451          image: "icon_arrow_down.png" COMP;
21452       }
21453       parts {
21454          part {
21455             name:           "event";
21456             type:           RECT;
21457             repeat_events: 1;
21458             description {
21459                state: "default" 0.0;
21460                color: 0 0 0 0;
21461             }
21462          }
21463          part {
21464             name: "base_sh";
21465             mouse_events: 0;
21466             description {
21467                state: "default" 0.0;
21468                align: 0.0 0.0;
21469                min: 0 10;
21470                fixed: 1 1;
21471                rel1 {
21472                   to: "base";
21473                   relative: 0.0 1.0;
21474                   offset: 0 0;
21475                }
21476                rel2 {
21477                   to: "base";
21478                   relative: 1.0 1.0;
21479                   offset: -1 0;
21480                }
21481                image {
21482                   normal: "ilist_item_shadow.png";
21483                }
21484                fill.smooth: 0;
21485             }
21486          }
21487          part {
21488             name: "base";
21489             mouse_events: 0;
21490             description {
21491                state: "default" 0.0;
21492                image {
21493                   normal: "ilist_1.png";
21494                   border: 2 2 2 2;
21495                }
21496                fill.smooth: 0;
21497             }
21498          }
21499          part { name: "bg";
21500             clip_to: "disclip";
21501             mouse_events: 0;
21502             description { state: "default" 0.0;
21503                visible: 0;
21504                color: 255 255 255 0;
21505                rel1 {
21506                   relative: 0.0 0.0;
21507                   offset: -5 -5;
21508                }
21509                rel2 {
21510                   relative: 1.0 1.0;
21511                   offset: 4 4;
21512                }
21513                image {
21514                   normal: "bt_sm_base1.png";
21515                   border: 6 6 6 6;
21516                }
21517                image.middle: SOLID;
21518             }
21519             description { state: "selected" 0.0;
21520                inherit: "default" 0.0;
21521                visible: 1;
21522                color: 255 255 255 255;
21523                rel1 {
21524                   relative: 0.0 0.0;
21525                   offset: -2 -2;
21526                }
21527                rel2 {
21528                   relative: 1.0 1.0;
21529                   offset: 1 1;
21530                }
21531             }
21532          }
21533          part { name: "elm.swallow.pad";
21534             type: SWALLOW;
21535             description { state: "default" 0.0;
21536                fixed: 1 0;
21537                align: 0.0 0.5;
21538                rel1 {
21539                   relative: 0.0  0.0;
21540                   offset:   4    4;
21541                }
21542                rel2 {
21543                   relative: 0.0  1.0;
21544                   offset:   4   -5;
21545                }
21546             }
21547          }
21548          part { name: "arrow";
21549             clip_to: "disclip";
21550             ignore_flags: ON_HOLD;
21551             description { state: "default" 0.0;
21552                fixed: 1 0;
21553                align: 0.0 0.5;
21554                aspect: 1.0 1.0;
21555                rel1 {
21556                   to_x: "elm.swallow.pad";
21557                   relative: 1.0  0.0;
21558                   offset:   -1    4;
21559                }
21560                rel2 {
21561                   to_x: "elm.swallow.pad";
21562                   relative: 1.0  1.0;
21563                   offset:   -1   -5;
21564                }
21565                image.normal: "icon_arrow_right.png";
21566             }
21567             description { state: "active" 0.0;
21568                inherit: "default" 0.0;
21569                image.normal: "icon_arrow_down.png";
21570             }
21571          }
21572          part { name: "elm.swallow.icon";
21573             clip_to: "disclip";
21574             type: SWALLOW;
21575             description { state: "default" 0.0;
21576                fixed: 1 0;
21577                align: 0.0 0.5;
21578                rel1 {
21579                   to_x: "arrow";
21580                   relative: 1.0  0.0;
21581                   offset:   4    4;
21582                }
21583                rel2 {
21584                   to_x: "arrow";
21585                   relative: 1.0  1.0;
21586                   offset:   4   -5;
21587                }
21588             }
21589          }
21590          part { name: "elm.swallow.end";
21591             clip_to: "disclip";
21592             type: SWALLOW;
21593             description { state: "default" 0.0;
21594                fixed: 1 0;
21595                align: 1.0 0.5;
21596                aspect: 1.0 1.0;
21597                aspect_preference: VERTICAL;
21598                rel1 {
21599                   relative: 1.0  0.0;
21600                   offset:   -5    4;
21601                }
21602                rel2 {
21603                   relative: 1.0  1.0;
21604                   offset:   -5   -5;
21605                }
21606             }
21607          }
21608          part { name: "elm.text";
21609             clip_to: "disclip";
21610             type:           TEXT;
21611             effect:         SOFT_SHADOW;
21612             mouse_events:   0;
21613             scale: 1;
21614             description {
21615                state: "default" 0.0;
21616 //               min: 16 16;
21617                rel1 {
21618                   to_x:     "elm.swallow.icon";
21619                   relative: 1.0  0.0;
21620                   offset:   0 4;
21621                }
21622                rel2 {
21623                   to_x:     "elm.swallow.end";
21624                   relative: 0.0  0.5;
21625                   offset:   -1 -5;
21626                }
21627                color: 0 0 0 255;
21628                color3: 0 0 0 0;
21629                text {
21630                   font: "Sans";
21631                   size: 10;
21632                   min: 1 1;
21633 //                  min: 0 1;
21634                   align: 0.0 0.5;
21635                   text_class: "list_item";
21636                }
21637             }
21638             description { state: "selected" 0.0;
21639                inherit: "default" 0.0;
21640                color: 224 224 224 255;
21641                color3: 0 0 0 64;
21642             }
21643          }
21644          part { name: "elm.text.sub";
21645             clip_to: "disclip";
21646             type:           TEXT;
21647             mouse_events:   0;
21648             scale: 1;
21649             description {
21650                state: "default" 0.0;
21651 //               min: 16 16;
21652                rel1 {
21653                   to_x:     "elm.swallow.icon";
21654                   relative: 1.0  0.5;
21655                   offset:   0 4;
21656                }
21657                rel2 {
21658                   to_x:     "elm.swallow.end";
21659                   relative: 0.0  1.0;
21660                   offset:   -1 -5;
21661                }
21662                color: 0 0 0 128;
21663                color3: 0 0 0 0;
21664                text {
21665                   font: "Sans";
21666                   size: 8;
21667                   min: 1 1;
21668 //                  min: 0 1;
21669                   align: 0.0 0.5;
21670                   text_class: "list_item";
21671                }
21672             }
21673             description { state: "selected" 0.0;
21674                inherit: "default" 0.0;
21675                color: 128 128 128 255;
21676                color3: 0 0 0 32;
21677             }
21678          }
21679          part { name: "fg1";
21680             clip_to: "disclip";
21681             mouse_events: 0;
21682             description { state: "default" 0.0;
21683                visible: 0;
21684                color: 255 255 255 0;
21685                rel1.to: "bg";
21686                rel2.relative: 1.0 0.5;
21687                rel2.to: "bg";
21688                image {
21689                   normal: "bt_sm_hilight.png";
21690                   border: 6 6 6 0;
21691                }
21692             }
21693             description { state: "selected" 0.0;
21694                inherit: "default" 0.0;
21695                visible: 1;
21696                color: 255 255 255 255;
21697             }
21698          }
21699          part { name: "fg2";
21700             clip_to: "disclip";
21701             mouse_events: 0;
21702             description { state: "default" 0.0;
21703                visible: 0;
21704                color: 255 255 255 0;
21705                rel1.to: "bg";
21706                rel2.to: "bg";
21707                image {
21708                   normal: "bt_sm_shine.png";
21709                   border: 6 6 6 0;
21710                }
21711             }
21712             description { state: "selected" 0.0;
21713                inherit: "default" 0.0;
21714                visible: 1;
21715                color: 255 255 255 255;
21716             }
21717          }
21718          part { name: "disclip";
21719             type: RECT;
21720             description { state: "default" 0.0;
21721                rel1.to: "bg";
21722                rel2.to: "bg";
21723             }
21724             description { state: "disabled" 0.0;
21725                inherit: "default" 0.0;
21726                color: 255 255 255 64;
21727             }
21728          }
21729       }
21730       programs {
21731          // signal: elm,state,%s,active
21732          //   a "check" item named %s went active
21733          // signal: elm,state,%s,passive
21734          //   a "check" item named %s went passive
21735          // default is passive
21736          program {
21737             name:    "go_active";
21738             signal:  "elm,state,selected";
21739             source:  "elm";
21740             action:  STATE_SET "selected" 0.0;
21741             target:  "bg";
21742             target:  "fg1";
21743             target:  "fg2";
21744             target:  "elm.text";
21745             target:  "elm.text.sub";
21746          }
21747          program {
21748             name:    "go_passive";
21749             signal:  "elm,state,unselected";
21750             source:  "elm";
21751             action:  STATE_SET "default" 0.0;
21752             target:  "bg";
21753             target:  "fg1";
21754             target:  "fg2";
21755             target:  "elm.text";
21756             target:  "elm.text.sub";
21757             transition: LINEAR 0.1;
21758          }
21759          program {
21760             name:    "go_disabled";
21761             signal:  "elm,state,disabled";
21762             source:  "elm";
21763             action:  STATE_SET "disabled" 0.0;
21764             target:  "disclip";
21765          }
21766          program {
21767             name:    "go_enabled";
21768             signal:  "elm,state,enabled";
21769             source:  "elm";
21770             action:  STATE_SET "default" 0.0;
21771             target:  "disclip";
21772          }
21773          program {
21774             name:    "expand";
21775             signal:  "mouse,up,1";
21776             source:  "arrow";
21777             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
21778          }
21779          program {
21780             name:    "go_expanded";
21781             signal:  "elm,state,expanded";
21782             source:  "elm";
21783             action:  STATE_SET "active" 0.0;
21784             target:  "arrow";
21785          }
21786          program {
21787             name:    "go_contracted";
21788             signal:  "elm,state,contracted";
21789             source:  "elm";
21790             action:  STATE_SET "default" 0.0;
21791             target:  "arrow";
21792          }
21793       }
21794    }
21795    group { name: "elm/genlist/tree_compress/double_label/default";
21796       data.item: "stacking" "above";
21797       data.item: "selectraise" "on";
21798       data.item: "labels" "elm.text elm.text.sub";
21799       data.item: "icons" "elm.swallow.icon elm.swallow.end";
21800       data.item: "treesize" "20";
21801 //      data.item: "states" "";
21802       images {
21803          image: "bt_sm_base1.png" COMP;
21804          image: "bt_sm_shine.png" COMP;
21805          image: "bt_sm_hilight.png" COMP;
21806          image: "ilist_1.png" COMP;
21807          image: "ilist_item_shadow.png" COMP;
21808          image: "icon_arrow_right.png" COMP;
21809          image: "icon_arrow_down.png" COMP;
21810       }
21811       parts {
21812          part {
21813             name:           "event";
21814             type:           RECT;
21815             repeat_events: 1;
21816             description {
21817                state: "default" 0.0;
21818                color: 0 0 0 0;
21819             }
21820          }
21821          part {
21822             name: "base_sh";
21823             mouse_events: 0;
21824             description {
21825                state: "default" 0.0;
21826                align: 0.0 0.0;
21827                min: 0 10;
21828                fixed: 1 1;
21829                rel1 {
21830                   to: "base";
21831                   relative: 0.0 1.0;
21832                   offset: 0 0;
21833                }
21834                rel2 {
21835                   to: "base";
21836                   relative: 1.0 1.0;
21837                   offset: -1 0;
21838                }
21839                image {
21840                   normal: "ilist_item_shadow.png";
21841                }
21842                fill.smooth: 0;
21843             }
21844          }
21845          part {
21846             name: "base";
21847             mouse_events: 0;
21848             description {
21849                state: "default" 0.0;
21850                image {
21851                   normal: "ilist_1.png";
21852                   border: 2 2 2 2;
21853                }
21854                fill.smooth: 0;
21855             }
21856          }
21857          part { name: "bg";
21858             clip_to: "disclip";
21859             mouse_events: 0;
21860             description { state: "default" 0.0;
21861                visible: 0;
21862                color: 255 255 255 0;
21863                rel1 {
21864                   relative: 0.0 0.0;
21865                   offset: -5 -5;
21866                }
21867                rel2 {
21868                   relative: 1.0 1.0;
21869                   offset: 4 4;
21870                }
21871                image {
21872                   normal: "bt_sm_base1.png";
21873                   border: 6 6 6 6;
21874                }
21875                image.middle: SOLID;
21876             }
21877             description { state: "selected" 0.0;
21878                inherit: "default" 0.0;
21879                visible: 1;
21880                color: 255 255 255 255;
21881                rel1 {
21882                   relative: 0.0 0.0;
21883                   offset: -2 -2;
21884                }
21885                rel2 {
21886                   relative: 1.0 1.0;
21887                   offset: 1 1;
21888                }
21889             }
21890          }
21891          part { name: "elm.swallow.pad";
21892             type: SWALLOW;
21893             description { state: "default" 0.0;
21894                fixed: 1 0;
21895                align: 0.0 0.5;
21896                rel1 {
21897                   relative: 0.0  0.0;
21898                   offset:   4    4;
21899                }
21900                rel2 {
21901                   relative: 0.0  1.0;
21902                   offset:   4   -5;
21903                }
21904             }
21905          }
21906          part { name: "arrow";
21907             clip_to: "disclip";
21908             ignore_flags: ON_HOLD;
21909             description { state: "default" 0.0;
21910                fixed: 1 0;
21911                align: 0.0 0.5;
21912                aspect: 1.0 1.0;
21913                rel1 {
21914                   to_x: "elm.swallow.pad";
21915                   relative: 1.0  0.0;
21916                   offset:   -1    4;
21917                }
21918                rel2 {
21919                   to_x: "elm.swallow.pad";
21920                   relative: 1.0  1.0;
21921                   offset:   -1   -5;
21922                }
21923                image.normal: "icon_arrow_right.png";
21924             }
21925             description { state: "active" 0.0;
21926                inherit: "default" 0.0;
21927                image.normal: "icon_arrow_down.png";
21928             }
21929          }
21930          part { name: "elm.swallow.icon";
21931             clip_to: "disclip";
21932             type: SWALLOW;
21933             description { state: "default" 0.0;
21934                fixed: 1 0;
21935                align: 0.0 0.5;
21936                rel1 {
21937                   to_x: "arrow";
21938                   relative: 1.0  0.0;
21939                   offset:   4    4;
21940                }
21941                rel2 {
21942                   to_x: "arrow";
21943                   relative: 1.0  1.0;
21944                   offset:   4   -5;
21945                }
21946             }
21947          }
21948          part { name: "elm.swallow.end";
21949             clip_to: "disclip";
21950             type: SWALLOW;
21951             description { state: "default" 0.0;
21952                fixed: 1 0;
21953                align: 1.0 0.5;
21954                aspect: 1.0 1.0;
21955                aspect_preference: VERTICAL;
21956                rel1 {
21957                   relative: 1.0  0.0;
21958                   offset:   -5    4;
21959                }
21960                rel2 {
21961                   relative: 1.0  1.0;
21962                   offset:   -5   -5;
21963                }
21964             }
21965          }
21966          part { name: "elm.text";
21967             clip_to: "disclip";
21968             type:           TEXT;
21969             effect:         SOFT_SHADOW;
21970             mouse_events:   0;
21971             scale: 1;
21972             description {
21973                state: "default" 0.0;
21974 //               min: 16 16;
21975                rel1 {
21976                   to_x:     "elm.swallow.icon";
21977                   relative: 1.0  0.0;
21978                   offset:   0 4;
21979                }
21980                rel2 {
21981                   to_x:     "elm.swallow.end";
21982                   relative: 0.0  0.5;
21983                   offset:   -1 -5;
21984                }
21985                color: 0 0 0 255;
21986                color3: 0 0 0 0;
21987                text {
21988                   font: "Sans";
21989                   size: 10;
21990 //                  min: 1 1;
21991                   min: 0 1;
21992                   align: 0.0 0.5;
21993                   text_class: "list_item";
21994                }
21995             }
21996             description { state: "selected" 0.0;
21997                inherit: "default" 0.0;
21998                color: 224 224 224 255;
21999                color3: 0 0 0 64;
22000             }
22001          }
22002          part { name: "elm.text.sub";
22003             clip_to: "disclip";
22004             type:           TEXT;
22005             mouse_events:   0;
22006             scale: 1;
22007             description {
22008                state: "default" 0.0;
22009 //               min: 16 16;
22010                rel1 {
22011                   to_x:     "elm.swallow.icon";
22012                   relative: 1.0  0.5;
22013                   offset:   0 4;
22014                }
22015                rel2 {
22016                   to_x:     "elm.swallow.end";
22017                   relative: 0.0  1.0;
22018                   offset:   -1 -5;
22019                }
22020                color: 0 0 0 128;
22021                color3: 0 0 0 0;
22022                text {
22023                   font: "Sans";
22024                   size: 8;
22025 //                  min: 1 1;
22026                   min: 0 1;
22027                   align: 0.0 0.5;
22028                   text_class: "list_item";
22029                }
22030             }
22031             description { state: "selected" 0.0;
22032                inherit: "default" 0.0;
22033                color: 128 128 128 255;
22034                color3: 0 0 0 32;
22035             }
22036          }
22037          part { name: "fg1";
22038             clip_to: "disclip";
22039             mouse_events: 0;
22040             description { state: "default" 0.0;
22041                visible: 0;
22042                color: 255 255 255 0;
22043                rel1.to: "bg";
22044                rel2.relative: 1.0 0.5;
22045                rel2.to: "bg";
22046                image {
22047                   normal: "bt_sm_hilight.png";
22048                   border: 6 6 6 0;
22049                }
22050             }
22051             description { state: "selected" 0.0;
22052                inherit: "default" 0.0;
22053                visible: 1;
22054                color: 255 255 255 255;
22055             }
22056          }
22057          part { name: "fg2";
22058             clip_to: "disclip";
22059             mouse_events: 0;
22060             description { state: "default" 0.0;
22061                visible: 0;
22062                color: 255 255 255 0;
22063                rel1.to: "bg";
22064                rel2.to: "bg";
22065                image {
22066                   normal: "bt_sm_shine.png";
22067                   border: 6 6 6 0;
22068                }
22069             }
22070             description { state: "selected" 0.0;
22071                inherit: "default" 0.0;
22072                visible: 1;
22073                color: 255 255 255 255;
22074             }
22075          }
22076          part { name: "disclip";
22077             type: RECT;
22078             description { state: "default" 0.0;
22079                rel1.to: "bg";
22080                rel2.to: "bg";
22081             }
22082             description { state: "disabled" 0.0;
22083                inherit: "default" 0.0;
22084                color: 255 255 255 64;
22085             }
22086          }
22087       }
22088       programs {
22089          // signal: elm,state,%s,active
22090          //   a "check" item named %s went active
22091          // signal: elm,state,%s,passive
22092          //   a "check" item named %s went passive
22093          // default is passive
22094          program {
22095             name:    "go_active";
22096             signal:  "elm,state,selected";
22097             source:  "elm";
22098             action:  STATE_SET "selected" 0.0;
22099             target:  "bg";
22100             target:  "fg1";
22101             target:  "fg2";
22102             target:  "elm.text";
22103             target:  "elm.text.sub";
22104          }
22105          program {
22106             name:    "go_passive";
22107             signal:  "elm,state,unselected";
22108             source:  "elm";
22109             action:  STATE_SET "default" 0.0;
22110             target:  "bg";
22111             target:  "fg1";
22112             target:  "fg2";
22113             target:  "elm.text";
22114             target:  "elm.text.sub";
22115             transition: LINEAR 0.1;
22116          }
22117          program {
22118             name:    "go_disabled";
22119             signal:  "elm,state,disabled";
22120             source:  "elm";
22121             action:  STATE_SET "disabled" 0.0;
22122             target:  "disclip";
22123          }
22124          program {
22125             name:    "go_enabled";
22126             signal:  "elm,state,enabled";
22127             source:  "elm";
22128             action:  STATE_SET "default" 0.0;
22129             target:  "disclip";
22130          }
22131          program {
22132             name:    "expand";
22133             signal:  "mouse,up,1";
22134             source:  "arrow";
22135             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
22136          }
22137          program {
22138             name:    "go_expanded";
22139             signal:  "elm,state,expanded";
22140             source:  "elm";
22141             action:  STATE_SET "active" 0.0;
22142             target:  "arrow";
22143          }
22144          program {
22145             name:    "go_contracted";
22146             signal:  "elm,state,contracted";
22147             source:  "elm";
22148             action:  STATE_SET "default" 0.0;
22149             target:  "arrow";
22150          }
22151       }
22152    }
22153    group { name: "elm/genlist/tree_odd/double_label/default";
22154       data.item: "stacking" "below";
22155       data.item: "selectraise" "on";
22156       data.item: "labels" "elm.text elm.text.sub";
22157       data.item: "icons" "elm.swallow.icon elm.swallow.end";
22158       data.item: "treesize" "20";
22159 //      data.item: "states" "";
22160       images {
22161          image: "bt_sm_base1.png" COMP;
22162          image: "bt_sm_shine.png" COMP;
22163          image: "bt_sm_hilight.png" COMP;
22164          image: "ilist_2.png" COMP;
22165          image: "icon_arrow_right.png" COMP;
22166          image: "icon_arrow_down.png" COMP;
22167       }
22168       parts {
22169          part {
22170             name:           "event";
22171             type:           RECT;
22172             repeat_events: 1;
22173             description {
22174                state: "default" 0.0;
22175                color: 0 0 0 0;
22176             }
22177          }
22178          part {
22179             name: "base";
22180             mouse_events: 0;
22181             description {
22182                state: "default" 0.0;
22183                image {
22184                   normal: "ilist_2.png";
22185                   border: 2 2 2 2;
22186                }
22187                fill.smooth: 0;
22188             }
22189          }
22190          part { name: "bg";
22191             clip_to: "disclip";
22192             mouse_events: 0;
22193             description { state: "default" 0.0;
22194                visible: 0;
22195                color: 255 255 255 0;
22196                rel1 {
22197                   relative: 0.0 0.0;
22198                   offset: -5 -5;
22199                }
22200                rel2 {
22201                   relative: 1.0 1.0;
22202                   offset: 4 4;
22203                }
22204                image {
22205                   normal: "bt_sm_base1.png";
22206                   border: 6 6 6 6;
22207                }
22208                image.middle: SOLID;
22209             }
22210             description { state: "selected" 0.0;
22211                inherit: "default" 0.0;
22212                visible: 1;
22213                color: 255 255 255 255;
22214                rel1 {
22215                   relative: 0.0 0.0;
22216                   offset: -2 -2;
22217                }
22218                rel2 {
22219                   relative: 1.0 1.0;
22220                   offset: 1 1;
22221                }
22222             }
22223          }
22224          part { name: "elm.swallow.pad";
22225             type: SWALLOW;
22226             description { state: "default" 0.0;
22227                fixed: 1 0;
22228                align: 0.0 0.5;
22229                rel1 {
22230                   relative: 0.0  0.0;
22231                   offset:   4    4;
22232                }
22233                rel2 {
22234                   relative: 0.0  1.0;
22235                   offset:   4   -5;
22236                }
22237             }
22238          }
22239          part { name: "arrow";
22240             clip_to: "disclip";
22241             ignore_flags: ON_HOLD;
22242             description { state: "default" 0.0;
22243                fixed: 1 0;
22244                align: 0.0 0.5;
22245                aspect: 1.0 1.0;
22246                rel1 {
22247                   to_x: "elm.swallow.pad";
22248                   relative: 1.0  0.0;
22249                   offset:   -1    4;
22250                }
22251                rel2 {
22252                   to_x: "elm.swallow.pad";
22253                   relative: 1.0  1.0;
22254                   offset:   -1   -5;
22255                }
22256                image.normal: "icon_arrow_right.png";
22257             }
22258             description { state: "active" 0.0;
22259                inherit: "default" 0.0;
22260                image.normal: "icon_arrow_down.png";
22261             }
22262          }
22263          part { name: "elm.swallow.icon";
22264             clip_to: "disclip";
22265             type: SWALLOW;
22266             description { state: "default" 0.0;
22267                fixed: 1 0;
22268                align: 0.0 0.5;
22269                rel1 {
22270                   to_x: "arrow";
22271                   relative: 1.0  0.0;
22272                   offset:   4    4;
22273                }
22274                rel2 {
22275                   to_x: "arrow";
22276                   relative: 1.0  1.0;
22277                   offset:   4   -5;
22278                }
22279             }
22280          }
22281          part { name: "elm.swallow.end";
22282             clip_to: "disclip";
22283             type: SWALLOW;
22284             description { state: "default" 0.0;
22285                fixed: 1 0;
22286                align: 1.0 0.5;
22287                aspect: 1.0 1.0;
22288                aspect_preference: VERTICAL;
22289                rel1 {
22290                   relative: 1.0  0.0;
22291                   offset:   -5    4;
22292                }
22293                rel2 {
22294                   relative: 1.0  1.0;
22295                   offset:   -5   -5;
22296                }
22297             }
22298          }
22299          part { name: "elm.text";
22300             clip_to: "disclip";
22301             type:           TEXT;
22302             effect:         SOFT_SHADOW;
22303             mouse_events:   0;
22304             scale: 1;
22305             description {
22306                state: "default" 0.0;
22307 //               min: 16 16;
22308                rel1 {
22309                   to_x:     "elm.swallow.icon";
22310                   relative: 1.0  0.0;
22311                   offset:   0 4;
22312                }
22313                rel2 {
22314                   to_x:     "elm.swallow.end";
22315                   relative: 0.0  0.5;
22316                   offset:   -1 -5;
22317                }
22318                color: 0 0 0 255;
22319                color3: 0 0 0 0;
22320                text {
22321                   font: "Sans";
22322                   size: 10;
22323                   min: 1 1;
22324 //                  min: 0 1;
22325                   align: 0.0 0.5;
22326                   text_class: "list_item";
22327                }
22328             }
22329             description { state: "selected" 0.0;
22330                inherit: "default" 0.0;
22331                color: 224 224 224 255;
22332                color3: 0 0 0 64;
22333             }
22334          }
22335          part { name: "elm.text.sub";
22336             clip_to: "disclip";
22337             type:           TEXT;
22338             mouse_events:   0;
22339             scale: 1;
22340             description {
22341                state: "default" 0.0;
22342 //               min: 16 16;
22343                rel1 {
22344                   to_x:     "elm.swallow.icon";
22345                   relative: 1.0  0.5;
22346                   offset:   0 4;
22347                }
22348                rel2 {
22349                   to_x:     "elm.swallow.end";
22350                   relative: 0.0  1.0;
22351                   offset:   -1 -5;
22352                }
22353                color: 0 0 0 128;
22354                color3: 0 0 0 0;
22355                text {
22356                   font: "Sans";
22357                   size: 8;
22358                   min: 1 1;
22359 //                  min: 0 1;
22360                   align: 0.0 0.5;
22361                   text_class: "list_item";
22362                }
22363             }
22364             description { state: "selected" 0.0;
22365                inherit: "default" 0.0;
22366                color: 128 128 128 255;
22367                color3: 0 0 0 32;
22368             }
22369          }
22370          part { name: "fg1";
22371             clip_to: "disclip";
22372             mouse_events: 0;
22373             description { state: "default" 0.0;
22374                visible: 0;
22375                color: 255 255 255 0;
22376                rel1.to: "bg";
22377                rel2.relative: 1.0 0.5;
22378                rel2.to: "bg";
22379                image {
22380                   normal: "bt_sm_hilight.png";
22381                   border: 6 6 6 0;
22382                }
22383             }
22384             description { state: "selected" 0.0;
22385                inherit: "default" 0.0;
22386                visible: 1;
22387                color: 255 255 255 255;
22388             }
22389          }
22390          part { name: "fg2";
22391             clip_to: "disclip";
22392             mouse_events: 0;
22393             description { state: "default" 0.0;
22394                visible: 0;
22395                color: 255 255 255 0;
22396                rel1.to: "bg";
22397                rel2.to: "bg";
22398                image {
22399                   normal: "bt_sm_shine.png";
22400                   border: 6 6 6 0;
22401                }
22402             }
22403             description { state: "selected" 0.0;
22404                inherit: "default" 0.0;
22405                visible: 1;
22406                color: 255 255 255 255;
22407             }
22408          }
22409          part { name: "disclip";
22410             type: RECT;
22411             description { state: "default" 0.0;
22412                rel1.to: "bg";
22413                rel2.to: "bg";
22414             }
22415             description { state: "disabled" 0.0;
22416                inherit: "default" 0.0;
22417                color: 255 255 255 64;
22418             }
22419          }
22420       }
22421       programs {
22422          // signal: elm,state,%s,active
22423          //   a "check" item named %s went active
22424          // signal: elm,state,%s,passive
22425          //   a "check" item named %s went passive
22426          // default is passive
22427          program {
22428             name:    "go_active";
22429             signal:  "elm,state,selected";
22430             source:  "elm";
22431             action:  STATE_SET "selected" 0.0;
22432             target:  "bg";
22433             target:  "fg1";
22434             target:  "fg2";
22435             target:  "elm.text";
22436             target:  "elm.text.sub";
22437          }
22438          program {
22439             name:    "go_passive";
22440             signal:  "elm,state,unselected";
22441             source:  "elm";
22442             action:  STATE_SET "default" 0.0;
22443             target:  "bg";
22444             target:  "fg1";
22445             target:  "fg2";
22446             target:  "elm.text";
22447             target:  "elm.text.sub";
22448             transition: LINEAR 0.1;
22449          }
22450          program {
22451             name:    "go_disabled";
22452             signal:  "elm,state,disabled";
22453             source:  "elm";
22454             action:  STATE_SET "disabled" 0.0;
22455             target:  "disclip";
22456          }
22457          program {
22458             name:    "go_enabled";
22459             signal:  "elm,state,enabled";
22460             source:  "elm";
22461             action:  STATE_SET "default" 0.0;
22462             target:  "disclip";
22463          }
22464          program {
22465             name:    "expand";
22466             signal:  "mouse,up,1";
22467             source:  "arrow";
22468             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
22469          }
22470          program {
22471             name:    "go_expanded";
22472             signal:  "elm,state,expanded";
22473             source:  "elm";
22474             action:  STATE_SET "active" 0.0;
22475             target:  "arrow";
22476          }
22477          program {
22478             name:    "go_contracted";
22479             signal:  "elm,state,contracted";
22480             source:  "elm";
22481             action:  STATE_SET "default" 0.0;
22482             target:  "arrow";
22483          }
22484       }
22485    }
22486
22487    group { name: "elm/genlist/item/icon_top_text_bottom/default";
22488       data.item: "stacking" "above";
22489       data.item: "selectraise" "on";
22490       data.item: "labels" "elm.text";
22491       data.item: "icons" "elm.swallow.icon";
22492       data.item: "treesize" "20";
22493 //      data.item: "states" "";
22494       images {
22495          image: "bt_sm_base1.png" COMP;
22496          image: "bt_sm_shine.png" COMP;
22497          image: "bt_sm_hilight.png" COMP;
22498          image: "ilist_1.png" COMP;
22499          image: "ilist_item_shadow.png" COMP;
22500       }
22501       parts {
22502          part {
22503             name:           "event";
22504             type:           RECT;
22505             repeat_events: 1;
22506             description {
22507                state: "default" 0.0;
22508                color: 0 0 0 0;
22509             }
22510          }
22511          part {
22512             name: "base_sh";
22513             mouse_events: 0;
22514             description {
22515                state: "default" 0.0;
22516                align: 0.0 0.0;
22517                min: 0 10;
22518                fixed: 1 1;
22519                rel1 {
22520                   to: "base";
22521                   relative: 0.0 1.0;
22522                   offset: 0 0;
22523                }
22524                rel2 {
22525                   to: "base";
22526                   relative: 1.0 1.0;
22527                   offset: -1 0;
22528                }
22529                image {
22530                   normal: "ilist_item_shadow.png";
22531                }
22532                fill.smooth: 0;
22533             }
22534          }
22535          part {
22536             name: "base";
22537             mouse_events: 0;
22538             description {
22539                state: "default" 0.0;
22540                image {
22541                   normal: "ilist_1.png";
22542                   border: 2 2 2 2;
22543                }
22544                fill.smooth: 0;
22545             }
22546          }
22547          part { name: "bg";
22548             clip_to: "disclip";
22549             mouse_events: 0;
22550             description { state: "default" 0.0;
22551                visible: 0;
22552                color: 255 255 255 0;
22553                rel1 {
22554                   relative: 0.0 0.0;
22555                   offset: -5 -5;
22556                }
22557                rel2 {
22558                   relative: 1.0 1.0;
22559                   offset: 4 4;
22560                }
22561                image {
22562                   normal: "bt_sm_base1.png";
22563                   border: 6 6 6 6;
22564                }
22565                image.middle: SOLID;
22566             }
22567             description { state: "selected" 0.0;
22568                inherit: "default" 0.0;
22569                visible: 1;
22570                color: 255 255 255 255;
22571                rel1 {
22572                   relative: 0.0 0.0;
22573                   offset: -2 -2;
22574                }
22575                rel2 {
22576                   relative: 1.0 1.0;
22577                   offset: 1 1;
22578                }
22579             }
22580          }
22581          part { name: "elm.swallow.pad";
22582             type: SWALLOW;
22583             description { state: "default" 0.0;
22584                fixed: 1 0;
22585                align: 0.0 0.5;
22586                rel1 {
22587                   relative: 0.0  0.0;
22588                   offset:   4    4;
22589                }
22590                rel2 {
22591                   relative: 1.0  1.0;
22592                   offset:   -4   -5;
22593                }
22594             }
22595          }
22596          part { name: "elm.swallow.icon";
22597             clip_to: "disclip";
22598             type: SWALLOW;
22599             description { state: "default" 0.0;
22600                fixed: 1 0;
22601                align: 0.5 0.5;
22602                rel1 {
22603                   to_x: "elm.swallow.pad";
22604                   relative: 0.0  0.0;
22605                   offset:   -1    4;
22606                }
22607                rel2 {
22608                   to_x: "elm.swallow.pad";
22609                   relative: 1.0  1.0;
22610                   offset:   -1   -5;
22611                }
22612             }
22613          }
22614          part { name: "elm.text";
22615             clip_to: "disclip";
22616             type:           TEXT;
22617             effect:         SOFT_SHADOW;
22618             mouse_events:   0;
22619             scale: 1;
22620             description {
22621                state: "default" 0.0;
22622 //               min: 16 16;
22623                rel1 {
22624                   to_y:     "elm.swallow.icon";
22625                   relative: 0.0  1.0;
22626                   offset:   0 4;
22627                }
22628                rel2 {
22629                   relative: 1.0  1.0;
22630                   offset:   -5 -5;
22631                }
22632                color: 0 0 0 255;
22633                color3: 0 0 0 0;
22634                text {
22635                   font: "Sans";
22636                   size: 10;
22637                   min: 1 1;
22638 //                  min: 0 1;
22639                   align: 0.5 0.5;
22640                   text_class: "list_item";
22641                }
22642             }
22643             description { state: "selected" 0.0;
22644                inherit: "default" 0.0;
22645                color: 224 224 224 255;
22646                color3: 0 0 0 64;
22647             }
22648          }
22649          part { name: "fg1";
22650             clip_to: "disclip";
22651             mouse_events: 0;
22652             description { state: "default" 0.0;
22653                visible: 0;
22654                color: 255 255 255 0;
22655                rel1.to: "bg";
22656                rel2.relative: 1.0 0.5;
22657                rel2.to: "bg";
22658                image {
22659                   normal: "bt_sm_hilight.png";
22660                   border: 6 6 6 0;
22661                }
22662             }
22663             description { state: "selected" 0.0;
22664                inherit: "default" 0.0;
22665                visible: 1;
22666                color: 255 255 255 255;
22667             }
22668          }
22669          part { name: "fg2";
22670             clip_to: "disclip";
22671             mouse_events: 0;
22672             description { state: "default" 0.0;
22673                visible: 0;
22674                color: 255 255 255 0;
22675                rel1.to: "bg";
22676                rel2.to: "bg";
22677                image {
22678                   normal: "bt_sm_shine.png";
22679                   border: 6 6 6 0;
22680                }
22681             }
22682             description { state: "selected" 0.0;
22683                inherit: "default" 0.0;
22684                visible: 1;
22685                color: 255 255 255 255;
22686             }
22687          }
22688          part { name: "disclip";
22689             type: RECT;
22690             description { state: "default" 0.0;
22691                rel1.to: "bg";
22692                rel2.to: "bg";
22693             }
22694             description { state: "disabled" 0.0;
22695                inherit: "default" 0.0;
22696                color: 255 255 255 64;
22697             }
22698          }
22699       }
22700       programs {
22701          // signal: elm,state,%s,active
22702          //   a "check" item named %s went active
22703          // signal: elm,state,%s,passive
22704          //   a "check" item named %s went passive
22705          // default is passive
22706          program {
22707             name:    "go_active";
22708             signal:  "elm,state,selected";
22709             source:  "elm";
22710             action:  STATE_SET "selected" 0.0;
22711             target:  "bg";
22712             target:  "fg1";
22713             target:  "fg2";
22714             target:  "elm.text";
22715          }
22716          program {
22717             name:    "go_passive";
22718             signal:  "elm,state,unselected";
22719             source:  "elm";
22720             action:  STATE_SET "default" 0.0;
22721             target:  "bg";
22722             target:  "fg1";
22723             target:  "fg2";
22724             target:  "elm.text";
22725             transition: LINEAR 0.1;
22726          }
22727          program {
22728             name:    "go_disabled";
22729             signal:  "elm,state,disabled";
22730             source:  "elm";
22731             action:  STATE_SET "disabled" 0.0;
22732             target:  "disclip";
22733          }
22734          program {
22735             name:    "go_enabled";
22736             signal:  "elm,state,enabled";
22737             source:  "elm";
22738             action:  STATE_SET "default" 0.0;
22739             target:  "disclip";
22740          }
22741       }
22742    }
22743    group { name: "elm/genlist/item_odd/icon_top_text_bottom/default";
22744       data.item: "stacking" "below";
22745       data.item: "selectraise" "on";
22746       data.item: "labels" "elm.text";
22747       data.item: "icons" "elm.swallow.icon";
22748       data.item: "treesize" "20";
22749 //      data.item: "states" "";
22750       images {
22751          image: "bt_sm_base1.png" COMP;
22752          image: "bt_sm_shine.png" COMP;
22753          image: "bt_sm_hilight.png" COMP;
22754          image: "ilist_2.png" COMP;
22755       }
22756       parts {
22757          part { name: "event";
22758             type: RECT;
22759             repeat_events: 1;
22760             description {
22761                state: "default" 0.0;
22762                color: 0 0 0 0;
22763             }
22764          }
22765          part {
22766             name: "base";
22767             mouse_events: 0;
22768             description {
22769                state: "default" 0.0;
22770                image {
22771                   normal: "ilist_2.png";
22772                   border: 2 2 2 2;
22773                }
22774                fill.smooth: 0;
22775             }
22776          }
22777          part { name: "bg";
22778             clip_to: "disclip";
22779             mouse_events: 0;
22780             description { state: "default" 0.0;
22781                visible: 0;
22782                color: 255 255 255 0;
22783                rel1 {
22784                   relative: 0.0 0.0;
22785                   offset: -5 -5;
22786                }
22787                rel2 {
22788                   relative: 1.0 1.0;
22789                   offset: 4 4;
22790                }
22791                image {
22792                   normal: "bt_sm_base1.png";
22793                   border: 6 6 6 6;
22794                }
22795                image.middle: SOLID;
22796             }
22797             description { state: "selected" 0.0;
22798                inherit: "default" 0.0;
22799                visible: 1;
22800                color: 255 255 255 255;
22801                rel1 {
22802                   relative: 0.0 0.0;
22803                   offset: -2 -2;
22804                }
22805                rel2 {
22806                   relative: 1.0 1.0;
22807                   offset: 1 1;
22808                }
22809             }
22810          }
22811          part { name: "elm.swallow.pad";
22812             type: SWALLOW;
22813             description { state: "default" 0.0;
22814                fixed: 1 0;
22815                align: 0.0 0.5;
22816                rel1 {
22817                   relative: 0.0  0.0;
22818                   offset:   4    4;
22819                }
22820                rel2 {
22821                   relative: 1.0  1.0;
22822                   offset:   -4   -5;
22823                }
22824             }
22825          }
22826          part { name: "elm.swallow.icon";
22827             clip_to: "disclip";
22828             type: SWALLOW;
22829             description { state: "default" 0.0;
22830                fixed: 1 0;
22831                align: 0.5 0.5;
22832                rel1 {
22833                   to_x: "elm.swallow.pad";
22834                   relative: 0.0  0.0;
22835                   offset:   -1    4;
22836                }
22837                rel2 {
22838                   to_x: "elm.swallow.pad";
22839                   relative: 1.0  1.0;
22840                   offset:   -1   -5;
22841                }
22842             }
22843          }
22844          part { name: "elm.text";
22845             clip_to: "disclip";
22846             type:           TEXT;
22847             effect:         SOFT_SHADOW;
22848             mouse_events:   0;
22849             scale: 1;
22850             description {
22851                state: "default" 0.0;
22852 //               min:      16 16;
22853                rel1 {
22854                   to_y:     "elm.swallow.icon";
22855                   relative: 0.0  1.0;
22856                   offset:   0 4;
22857                }
22858                rel2 {
22859                   relative: 1.0  1.0;
22860                   offset:   -5 -5;
22861                }
22862                color: 0 0 0 255;
22863                color3: 0 0 0 0;
22864                text {
22865                   font: "Sans";
22866                   size: 10;
22867                   min: 1 1;
22868 //                  min: 0 1;
22869                   align: 0.5 0.5;
22870                   text_class: "list_item";
22871                }
22872             }
22873             description { state: "selected" 0.0;
22874                inherit: "default" 0.0;
22875                color: 224 224 224 255;
22876                color3: 0 0 0 64;
22877             }
22878          }
22879          part { name: "fg1";
22880             clip_to: "disclip";
22881             mouse_events: 0;
22882             description { state: "default" 0.0;
22883                visible: 0;
22884                color: 255 255 255 0;
22885                rel1.to: "bg";
22886                rel2.relative: 1.0 0.5;
22887                rel2.to: "bg";
22888                image {
22889                   normal: "bt_sm_hilight.png";
22890                   border: 6 6 6 0;
22891                }
22892             }
22893             description { state: "selected" 0.0;
22894                inherit: "default" 0.0;
22895                visible: 1;
22896                color: 255 255 255 255;
22897             }
22898          }
22899          part { name: "fg2";
22900             clip_to: "disclip";
22901             mouse_events: 0;
22902             description { state: "default" 0.0;
22903                visible: 0;
22904                color: 255 255 255 0;
22905                rel1.to: "bg";
22906                rel2.to: "bg";
22907                image {
22908                   normal: "bt_sm_shine.png";
22909                   border: 6 6 6 0;
22910                }
22911             }
22912             description { state: "selected" 0.0;
22913                inherit: "default" 0.0;
22914                visible: 1;
22915                color: 255 255 255 255;
22916             }
22917          }
22918          part { name: "disclip";
22919             type: RECT;
22920             description { state: "default" 0.0;
22921                rel1.to: "bg";
22922                rel2.to: "bg";
22923             }
22924             description { state: "disabled" 0.0;
22925                inherit: "default" 0.0;
22926                color: 255 255 255 64;
22927             }
22928          }
22929       }
22930       programs {
22931          // signal: elm,state,%s,active
22932          //   a "check" item named %s went active
22933          // signal: elm,state,%s,passive
22934          //   a "check" item named %s went passive
22935          // default is passive
22936          program {
22937             name:    "go_active";
22938             signal:  "elm,state,selected";
22939             source:  "elm";
22940             action:  STATE_SET "selected" 0.0;
22941             target:  "bg";
22942             target:  "fg1";
22943             target:  "fg2";
22944             target:  "elm.text";
22945          }
22946          program {
22947             name:    "go_passive";
22948             signal:  "elm,state,unselected";
22949             source:  "elm";
22950             action:  STATE_SET "default" 0.0;
22951             target:  "bg";
22952             target:  "fg1";
22953             target:  "fg2";
22954             target:  "elm.text";
22955             transition: LINEAR 0.1;
22956          }
22957          program {
22958             name:    "go_disabled";
22959             signal:  "elm,state,disabled";
22960             source:  "elm";
22961             action:  STATE_SET "disabled" 0.0;
22962             target:  "disclip";
22963          }
22964          program {
22965             name:    "go_enabled";
22966             signal:  "elm,state,enabled";
22967             source:  "elm";
22968             action:  STATE_SET "default" 0.0;
22969             target:  "disclip";
22970          }
22971       }
22972    }
22973
22974    group { name: "elm/genlist/tree/icon_top_text_bottom/default";
22975       data.item: "stacking" "above";
22976       data.item: "selectraise" "on";
22977       data.item: "labels" "elm.text";
22978       data.item: "icons" "elm.swallow.icon";
22979       data.item: "treesize" "20";
22980 //      data.item: "states" "";
22981       images {
22982          image: "bt_sm_base1.png" COMP;
22983          image: "bt_sm_shine.png" COMP;
22984          image: "bt_sm_hilight.png" COMP;
22985          image: "ilist_1.png" COMP;
22986          image: "ilist_item_shadow.png" COMP;
22987          image: "icon_arrow_right.png" COMP;
22988          image: "icon_arrow_down.png" COMP;
22989       }
22990       parts {
22991          part {
22992             name:           "event";
22993             type:           RECT;
22994             repeat_events: 1;
22995             description {
22996                state: "default" 0.0;
22997                color: 0 0 0 0;
22998             }
22999          }
23000          part {
23001             name: "base_sh";
23002             mouse_events: 0;
23003             description {
23004                state: "default" 0.0;
23005                align: 0.0 0.0;
23006                min: 0 10;
23007                fixed: 1 1;
23008                rel1 {
23009                   to: "base";
23010                   relative: 0.0 1.0;
23011                   offset: 0 0;
23012                }
23013                rel2 {
23014                   to: "base";
23015                   relative: 1.0 1.0;
23016                   offset: -1 0;
23017                }
23018                image {
23019                   normal: "ilist_item_shadow.png";
23020                }
23021                fill.smooth: 0;
23022             }
23023          }
23024          part {
23025             name: "base";
23026             mouse_events: 0;
23027             description {
23028                state: "default" 0.0;
23029                image {
23030                   normal: "ilist_1.png";
23031                   border: 2 2 2 2;
23032                }
23033                fill.smooth: 0;
23034             }
23035          }
23036          part { name: "bg";
23037             clip_to: "disclip";
23038             mouse_events: 0;
23039             description { state: "default" 0.0;
23040                visible: 0;
23041                color: 255 255 255 0;
23042                rel1 {
23043                   relative: 0.0 0.0;
23044                   offset: -5 -5;
23045                }
23046                rel2 {
23047                   relative: 1.0 1.0;
23048                   offset: 4 4;
23049                }
23050                image {
23051                   normal: "bt_sm_base1.png";
23052                   border: 6 6 6 6;
23053                }
23054                image.middle: SOLID;
23055             }
23056             description { state: "selected" 0.0;
23057                inherit: "default" 0.0;
23058                visible: 1;
23059                color: 255 255 255 255;
23060                rel1 {
23061                   relative: 0.0 0.0;
23062                   offset: -2 -2;
23063                }
23064                rel2 {
23065                   relative: 1.0 1.0;
23066                   offset: 1 1;
23067                }
23068             }
23069          }
23070          part { name: "elm.swallow.pad";
23071             type: SWALLOW;
23072             description { state: "default" 0.0;
23073                fixed: 1 0;
23074                align: 0.0 0.5;
23075                rel1 {
23076                   relative: 0.0  0.0;
23077                   offset:   4    4;
23078                }
23079                rel2 {
23080                   relative: 0.0  1.0;
23081                   offset:   4   -5;
23082                }
23083             }
23084          }
23085          part { name: "arrow";
23086             clip_to: "disclip";
23087             ignore_flags: ON_HOLD;
23088             description { state: "default" 0.0;
23089                fixed: 1 0;
23090                align: 0.0 0.5;
23091                aspect: 1.0 1.0;
23092                rel1 {
23093                   to_x: "elm.swallow.pad";
23094                   relative: 1.0  0.0;
23095                   offset:   -1    4;
23096                }
23097                rel2 {
23098                   to_x: "elm.swallow.pad";
23099                   relative: 1.0  1.0;
23100                   offset:   -1   -5;
23101                }
23102                image.normal: "icon_arrow_right.png";
23103             }
23104             description { state: "active" 0.0;
23105                inherit: "default" 0.0;
23106                image.normal: "icon_arrow_down.png";
23107             }
23108          }
23109          part { name: "elm.swallow.icon";
23110             clip_to: "disclip";
23111             type: SWALLOW;
23112             description { state: "default" 0.0;
23113                fixed: 1 0;
23114                align: 0.5 0.5;
23115                rel1 {
23116                   to_x: "arrow";
23117                   relative: 1.0  0.0;
23118                   offset:   4    4;
23119                }
23120                rel2 {
23121                   relative: 1.0  1.0;
23122                   offset:   -4   -5;
23123                }
23124             }
23125          }
23126          part { name: "elm.text";
23127             clip_to: "disclip";
23128             type:           TEXT;
23129             effect:         SOFT_SHADOW;
23130             mouse_events:   0;
23131             scale: 1;
23132             description {
23133                state: "default" 0.0;
23134 //               min: 16 16;
23135                rel1 {
23136                   to_y:     "elm.swallow.icon";
23137                   relative: 0.0  1.0;
23138                   offset:   0 4;
23139                }
23140                rel2 {
23141                   relative: 1.0  1.0;
23142                   offset:   -5 -5;
23143                }
23144                color: 0 0 0 255;
23145                color3: 0 0 0 0;
23146                text {
23147                   font: "Sans";
23148                   size: 10;
23149                   min: 1 1;
23150 //                  min: 0 1;
23151                   align: 0.5 0.5;
23152                   text_class: "list_item";
23153                }
23154             }
23155             description { state: "selected" 0.0;
23156                inherit: "default" 0.0;
23157                color: 224 224 224 255;
23158                color3: 0 0 0 64;
23159             }
23160          }
23161          part { name: "fg1";
23162             clip_to: "disclip";
23163             mouse_events: 0;
23164             description { state: "default" 0.0;
23165                visible: 0;
23166                color: 255 255 255 0;
23167                rel1.to: "bg";
23168                rel2.relative: 1.0 0.5;
23169                rel2.to: "bg";
23170                image {
23171                   normal: "bt_sm_hilight.png";
23172                   border: 6 6 6 0;
23173                }
23174             }
23175             description { state: "selected" 0.0;
23176                inherit: "default" 0.0;
23177                visible: 1;
23178                color: 255 255 255 255;
23179             }
23180          }
23181          part { name: "fg2";
23182             clip_to: "disclip";
23183             mouse_events: 0;
23184             description { state: "default" 0.0;
23185                visible: 0;
23186                color: 255 255 255 0;
23187                rel1.to: "bg";
23188                rel2.to: "bg";
23189                image {
23190                   normal: "bt_sm_shine.png";
23191                   border: 6 6 6 0;
23192                }
23193             }
23194             description { state: "selected" 0.0;
23195                inherit: "default" 0.0;
23196                visible: 1;
23197                color: 255 255 255 255;
23198             }
23199          }
23200          part { name: "disclip";
23201             type: RECT;
23202             description { state: "default" 0.0;
23203                rel1.to: "bg";
23204                rel2.to: "bg";
23205             }
23206             description { state: "disabled" 0.0;
23207                inherit: "default" 0.0;
23208                color: 255 255 255 64;
23209             }
23210          }
23211       }
23212       programs {
23213          // signal: elm,state,%s,active
23214          //   a "check" item named %s went active
23215          // signal: elm,state,%s,passive
23216          //   a "check" item named %s went passive
23217          // default is passive
23218          program {
23219             name:    "go_active";
23220             signal:  "elm,state,selected";
23221             source:  "elm";
23222             action:  STATE_SET "selected" 0.0;
23223             target:  "bg";
23224             target:  "fg1";
23225             target:  "fg2";
23226             target:  "elm.text";
23227          }
23228          program {
23229             name:    "go_passive";
23230             signal:  "elm,state,unselected";
23231             source:  "elm";
23232             action:  STATE_SET "default" 0.0;
23233             target:  "bg";
23234             target:  "fg1";
23235             target:  "fg2";
23236             target:  "elm.text";
23237             transition: LINEAR 0.1;
23238          }
23239          program {
23240             name:    "go_disabled";
23241             signal:  "elm,state,disabled";
23242             source:  "elm";
23243             action:  STATE_SET "disabled" 0.0;
23244             target:  "disclip";
23245          }
23246          program {
23247             name:    "go_enabled";
23248             signal:  "elm,state,enabled";
23249             source:  "elm";
23250             action:  STATE_SET "default" 0.0;
23251             target:  "disclip";
23252          }
23253          program {
23254             name:    "expand";
23255             signal:  "mouse,up,1";
23256             source:  "arrow";
23257             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
23258          }
23259          program {
23260             name:    "go_expanded";
23261             signal:  "elm,state,expanded";
23262             source:  "elm";
23263             action:  STATE_SET "active" 0.0;
23264             target:  "arrow";
23265          }
23266          program {
23267             name:    "go_contracted";
23268             signal:  "elm,state,contracted";
23269             source:  "elm";
23270             action:  STATE_SET "default" 0.0;
23271             target:  "arrow";
23272          }
23273       }
23274    }
23275    group { name: "elm/genlist/tree_odd/icon_top_text_bottom/default";
23276       data.item: "stacking" "below";
23277       data.item: "selectraise" "on";
23278       data.item: "labels" "elm.text";
23279       data.item: "icons" "elm.swallow.icon";
23280       data.item: "treesize" "20";
23281 //      data.item: "states" "";
23282       images {
23283          image: "bt_sm_base1.png" COMP;
23284          image: "bt_sm_shine.png" COMP;
23285          image: "bt_sm_hilight.png" COMP;
23286          image: "ilist_2.png" COMP;
23287          image: "icon_arrow_right.png" COMP;
23288          image: "icon_arrow_down.png" COMP;
23289       }
23290       parts {
23291          part {
23292             name:           "event";
23293             type:           RECT;
23294             repeat_events: 1;
23295             description {
23296                state: "default" 0.0;
23297                color: 0 0 0 0;
23298             }
23299          }
23300          part {
23301             name: "base";
23302             mouse_events: 0;
23303             description {
23304                state: "default" 0.0;
23305                image {
23306                   normal: "ilist_2.png";
23307                   border: 2 2 2 2;
23308                }
23309                fill.smooth: 0;
23310             }
23311          }
23312          part { name: "bg";
23313             clip_to: "disclip";
23314             mouse_events: 0;
23315             description { state: "default" 0.0;
23316                visible: 0;
23317                color: 255 255 255 0;
23318                rel1 {
23319                   relative: 0.0 0.0;
23320                   offset: -5 -5;
23321                }
23322                rel2 {
23323                   relative: 1.0 1.0;
23324                   offset: 4 4;
23325                }
23326                image {
23327                   normal: "bt_sm_base1.png";
23328                   border: 6 6 6 6;
23329                }
23330                image.middle: SOLID;
23331             }
23332             description { state: "selected" 0.0;
23333                inherit: "default" 0.0;
23334                visible: 1;
23335                color: 255 255 255 255;
23336                rel1 {
23337                   relative: 0.0 0.0;
23338                   offset: -2 -2;
23339                }
23340                rel2 {
23341                   relative: 1.0 1.0;
23342                   offset: 1 1;
23343                }
23344             }
23345          }
23346          part { name: "elm.swallow.pad";
23347             type: SWALLOW;
23348             description { state: "default" 0.0;
23349                fixed: 1 0;
23350                align: 0.0 0.5;
23351                rel1 {
23352                   relative: 0.0  0.0;
23353                   offset:   4    4;
23354                }
23355                rel2 {
23356                   relative: 0.0  1.0;
23357                   offset:   4   -5;
23358                }
23359             }
23360          }
23361          part { name: "arrow";
23362             clip_to: "disclip";
23363             ignore_flags: ON_HOLD;
23364             description { state: "default" 0.0;
23365                fixed: 1 0;
23366                align: 0.0 0.5;
23367                aspect: 1.0 1.0;
23368                rel1 {
23369                   to_x: "elm.swallow.pad";
23370                   relative: 1.0  0.0;
23371                   offset:   -1    4;
23372                }
23373                rel2 {
23374                   to_x: "elm.swallow.pad";
23375                   relative: 1.0  1.0;
23376                   offset:   -1   -5;
23377                }
23378                image.normal: "icon_arrow_right.png";
23379             }
23380             description { state: "active" 0.0;
23381                inherit: "default" 0.0;
23382                image.normal: "icon_arrow_down.png";
23383             }
23384          }
23385          part { name: "elm.swallow.icon";
23386             clip_to: "disclip";
23387             type: SWALLOW;
23388             description { state: "default" 0.0;
23389                fixed: 1 0;
23390                align: 0.5 0.5;
23391                rel1 {
23392                   to_x: "arrow";
23393                   relative: 1.0  0.0;
23394                   offset:   4    4;
23395                }
23396                rel2 {
23397                   relative: 1.0  1.0;
23398                   offset:   -4   -5;
23399                }
23400             }
23401          }
23402          part { name: "elm.text";
23403             clip_to: "disclip";
23404             type:           TEXT;
23405             effect:         SOFT_SHADOW;
23406             mouse_events:   0;
23407             scale: 1;
23408             description {
23409                state: "default" 0.0;
23410 //               min: 16 16;
23411                rel1 {
23412                   to_y:     "elm.swallow.icon";
23413                   relative: 0.0  1.0;
23414                   offset:   0 4;
23415                }
23416                rel2 {
23417                   relative: 1.0  1.0;
23418                   offset:   -5 -5;
23419                }
23420                color: 0 0 0 255;
23421                color3: 0 0 0 0;
23422                text {
23423                   font: "Sans";
23424                   size: 10;
23425                   min: 1 1;
23426 //                  min: 0 1;
23427                   align: 0.5 0.5;
23428                   text_class: "list_item";
23429                }
23430             }
23431             description { state: "selected" 0.0;
23432                inherit: "default" 0.0;
23433                color: 224 224 224 255;
23434                color3: 0 0 0 64;
23435             }
23436          }
23437          part { name: "fg1";
23438             clip_to: "disclip";
23439             mouse_events: 0;
23440             description { state: "default" 0.0;
23441                visible: 0;
23442                color: 255 255 255 0;
23443                rel1.to: "bg";
23444                rel2.relative: 1.0 0.5;
23445                rel2.to: "bg";
23446                image {
23447                   normal: "bt_sm_hilight.png";
23448                   border: 6 6 6 0;
23449                }
23450             }
23451             description { state: "selected" 0.0;
23452                inherit: "default" 0.0;
23453                visible: 1;
23454                color: 255 255 255 255;
23455             }
23456          }
23457          part { name: "fg2";
23458             clip_to: "disclip";
23459             mouse_events: 0;
23460             description { state: "default" 0.0;
23461                visible: 0;
23462                color: 255 255 255 0;
23463                rel1.to: "bg";
23464                rel2.to: "bg";
23465                image {
23466                   normal: "bt_sm_shine.png";
23467                   border: 6 6 6 0;
23468                }
23469             }
23470             description { state: "selected" 0.0;
23471                inherit: "default" 0.0;
23472                visible: 1;
23473                color: 255 255 255 255;
23474             }
23475          }
23476          part { name: "disclip";
23477             type: RECT;
23478             description { state: "default" 0.0;
23479                rel1.to: "bg";
23480                rel2.to: "bg";
23481             }
23482             description { state: "disabled" 0.0;
23483                inherit: "default" 0.0;
23484                color: 255 255 255 64;
23485             }
23486          }
23487       }
23488       programs {
23489          // signal: elm,state,%s,active
23490          //   a "check" item named %s went active
23491          // signal: elm,state,%s,passive
23492          //   a "check" item named %s went passive
23493          // default is passive
23494          program {
23495             name:    "go_active";
23496             signal:  "elm,state,selected";
23497             source:  "elm";
23498             action:  STATE_SET "selected" 0.0;
23499             target:  "bg";
23500             target:  "fg1";
23501             target:  "fg2";
23502             target:  "elm.text";
23503          }
23504          program {
23505             name:    "go_passive";
23506             signal:  "elm,state,unselected";
23507             source:  "elm";
23508             action:  STATE_SET "default" 0.0;
23509             target:  "bg";
23510             target:  "fg1";
23511             target:  "fg2";
23512             target:  "elm.text";
23513             transition: LINEAR 0.1;
23514          }
23515          program {
23516             name:    "go_disabled";
23517             signal:  "elm,state,disabled";
23518             source:  "elm";
23519             action:  STATE_SET "disabled" 0.0;
23520             target:  "disclip";
23521          }
23522          program {
23523             name:    "go_enabled";
23524             signal:  "elm,state,enabled";
23525             source:  "elm";
23526             action:  STATE_SET "default" 0.0;
23527             target:  "disclip";
23528          }
23529          program {
23530             name:    "expand";
23531             signal:  "mouse,up,1";
23532             source:  "arrow";
23533             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
23534          }
23535          program {
23536             name:    "go_expanded";
23537             signal:  "elm,state,expanded";
23538             source:  "elm";
23539             action:  STATE_SET "active" 0.0;
23540             target:  "arrow";
23541          }
23542          program {
23543             name:    "go_contracted";
23544             signal:  "elm,state,contracted";
23545             source:  "elm";
23546             action:  STATE_SET "default" 0.0;
23547             target:  "arrow";
23548          }
23549       }
23550    }
23551
23552
23553 ///////////////////////////////////////////////////////////////////////////////
23554    group { name: "elm/check/base/default";
23555       images {
23556          image: "check_base.png" COMP;
23557          image: "check.png" COMP;
23558          image: "check2.png" COMP;
23559       }
23560       parts {
23561          part { name: "bg";
23562             mouse_events: 0;
23563             scale: 1;
23564             description { state: "default" 0.0;
23565                rel1.offset: 1 1;
23566                rel2.relative: 0.0 1.0;
23567                rel2.offset: 1 -2;
23568                align: 0.0 0.5;
23569                min: 16 16;
23570                max: 16 16;
23571                aspect: 1.0 1.0;
23572                aspect_preference: VERTICAL;
23573                image {
23574                   normal: "check_base.png";
23575                   border: 5 5 5 5;
23576                   middle: 0;
23577                }
23578                fill.smooth : 0;
23579             }
23580          }
23581          part { name: "check";
23582             mouse_events: 0;
23583             scale: 1;
23584             description { state: "default" 0.0;
23585                rel1 {
23586                   to: "bg";
23587                   offset: 1 1;
23588                }
23589                rel2 {
23590                   to: "bg";
23591                   offset: -2 -2;
23592                }
23593                visible: 0;
23594                color: 255 255 255 255;
23595                image.normal: "check.png";
23596             }
23597             description { state: "visible" 0.0;
23598                inherit: "default" 0.0;
23599                visible: 1;
23600             }
23601             description { state: "disabled" 0.0;
23602                inherit: "default" 0.0;
23603                visible: 0;
23604                color: 128 128 128 128;
23605             }
23606             description { state: "disabled_visible" 0.0;
23607                inherit: "default" 0.0;
23608                color: 128 128 128 128;
23609                visible: 1;
23610             }
23611          }
23612          part { name: "elm.swallow.content";
23613             type: SWALLOW;
23614             description { state: "default" 0.0;
23615                fixed: 1 0;
23616                visible: 0;
23617                align: 0.0 0.5;
23618           rel1.to_x: "bg";
23619                rel1.relative: 1.0 0.0;
23620                rel1.offset: 1 1;
23621           rel2.to_x: "bg";
23622                rel2.offset: 1 -2;
23623                rel2.relative: 1.0 1.0;
23624             }
23625             description { state: "visible" 0.0;
23626                inherit: "default" 0.0;
23627           fixed: 1 0;
23628                visible: 1;
23629                aspect: 1.0 1.0;
23630             }
23631             description { state: "disabled" 0.0;
23632                inherit: "default" 0.0;
23633                color: 128 128 128 128;
23634             }
23635             description { state: "disabled_visible" 0.0;
23636                inherit: "default" 0.0;
23637                color: 128 128 128 128;
23638           fixed: 1 0;
23639                visible: 1;
23640                aspect: 1.0 1.0;
23641             }
23642          }
23643          part { name: "elm.text";
23644             type: TEXT;
23645             mouse_events: 0;
23646             scale: 1;
23647             description { state: "default" 0.0;
23648                visible: 0;
23649                rel1.to_x: "elm.swallow.content";
23650                rel1.relative: 1.0 0.0;
23651                rel1.offset: 1 1;
23652                rel2.relative: 1.0 1.0;
23653                rel2.offset: -2 -2;
23654                color: 0 0 0 255;
23655                text {
23656                   font: "Sans,Edje-Vera";
23657                   size: 10;
23658                   min: 0 1;
23659                   align: 0.0 0.5;
23660                }
23661             }
23662             description { state: "visible" 0.0;
23663                inherit: "default" 0.0;
23664                visible: 1;
23665                text.min: 1 1;
23666             }
23667             description { state: "disabled" 0.0;
23668                inherit: "default" 0.0;
23669                color: 0 0 0 128;
23670                color3: 0 0 0 0;
23671             }
23672             description { state: "disabled_visible" 0.0;
23673                inherit: "default" 0.0;
23674                color: 0 0 0 128;
23675                color3: 0 0 0 0;
23676                visible: 1;
23677                text.min: 1 1;
23678             }
23679          }
23680          part { name: "events";
23681             type: RECT;
23682             ignore_flags: ON_HOLD;
23683             description { state: "default" 0.0;
23684                color: 0 0 0 0;
23685             }
23686          }
23687          part { name: "disabler";
23688             type: RECT;
23689             description { state: "default" 0.0;
23690                color: 0 0 0 0;
23691                visible: 0;
23692             }
23693             description { state: "disabled" 0.0;
23694                inherit: "default" 0.0;
23695                visible: 1;
23696             }
23697          }
23698       }
23699       programs {
23700          program { name: "click";
23701             signal: "mouse,up,1";
23702             source: "events";
23703             action: SIGNAL_EMIT "elm,action,check,toggle" "";
23704          }
23705          program { name: "check_on";
23706             signal: "elm,state,check,on";
23707             source: "elm";
23708             action:  STATE_SET "visible" 0.0;
23709             target: "check";
23710          }
23711          program { name: "check_off";
23712             signal: "elm,state,check,off";
23713             source: "elm";
23714             action:  STATE_SET "default" 0.0;
23715             target: "check";
23716          }
23717          program { name: "text_show";
23718             signal: "elm,state,text,visible";
23719             source: "elm";
23720             action:  STATE_SET "visible" 0.0;
23721             target: "elm.text";
23722          }
23723          program { name: "text_hide";
23724             signal: "elm,state,text,hidden";
23725             source: "elm";
23726             action:  STATE_SET "default" 0.0;
23727             target: "elm.text";
23728          }
23729          program { name: "icon_show";
23730             signal: "elm,state,icon,visible";
23731             source: "elm";
23732             action:  STATE_SET "visible" 0.0;
23733             target: "elm.swallow.content";
23734          }
23735          program { name: "icon_hide";
23736             signal: "elm,state,icon,hidden";
23737             source: "elm";
23738             action:  STATE_SET "default" 0.0;
23739             target: "elm.swallow.content";
23740          }
23741          program { name: "disable";
23742             signal: "elm,state,disabled";
23743             source: "elm";
23744             action: STATE_SET "disabled" 0.0;
23745             target: "disabler";
23746             after: "disable_text";
23747          }
23748          program { name: "disable_text";
23749             script {
23750                new st[31];
23751                new Float:vl;
23752                get_state(PART:"elm.text", st, 30, vl);
23753                if (!strcmp(st, "visible"))
23754                  set_state(PART:"elm.text", "disabled_visible", 0.0);
23755                else
23756                  set_state(PART:"elm.text", "disabled", 0.0);
23757
23758                get_state(PART:"elm.swallow.content", st, 30, vl);
23759                if (!strcmp(st, "visible"))
23760                  set_state(PART:"elm.swallow.content", "disabled_visible", 0.0);
23761                else
23762                  set_state(PART:"elm.swallow.content", "disabled", 0.0);
23763
23764                get_state(PART:"check", st, 30, vl);
23765                if (!strcmp(st, "visible"))
23766                  set_state(PART:"check", "disabled_visible", 0.0);
23767                else
23768                  set_state(PART:"check", "disabled", 0.0);
23769             }
23770          }
23771          program { name: "enable";
23772             signal: "elm,state,enabled";
23773             source: "elm";
23774             action: STATE_SET "default" 0.0;
23775             target: "disabler";
23776             after: "enable_text";
23777          }
23778          program { name: "enable_text";
23779             script {
23780                new st[31];
23781                new Float:vl;
23782                get_state(PART:"elm.text", st, 30, vl);
23783                if (!strcmp(st, "disabled_visible"))
23784                  set_state(PART:"elm.text", "visible", 0.0);
23785                else
23786                  set_state(PART:"elm.text", "default", 0.0);
23787
23788                get_state(PART:"elm.swallow.content", st, 30, vl);
23789                if (!strcmp(st, "visible"))
23790                  set_state(PART:"elm.swallow.content", "visible", 0.0);
23791                else
23792                  set_state(PART:"elm.swallow.content", "default", 0.0);
23793
23794                get_state(PART:"check", st, 30, vl);
23795                if (!strcmp(st, "visible"))
23796                  set_state(PART:"check", "visible", 0.0);
23797                else
23798                  set_state(PART:"check", "default", 0.0);
23799             }
23800          }
23801       }
23802    }
23803 ///////////////////////////////////////////////////////////////////////////////
23804    group { name: "elm/radio/base/default";
23805       images {
23806          image: "radio_base.png" COMP;
23807          image: "radio.png" COMP;
23808          image: "radio2.png" COMP;
23809       }
23810       parts {
23811          part { name: "bg";
23812             mouse_events: 0;
23813             scale: 1;
23814             description { state: "default" 0.0;
23815                rel1.offset: 1 1;
23816                rel2.relative: 0.0 1.0;
23817                rel2.offset: 1 -2;
23818                align: 0.0 0.5;
23819                min: 16 16;
23820                max: 16 16;
23821                aspect: 1.0 1.0;
23822                aspect_preference: VERTICAL;
23823                image.normal: "radio_base.png";
23824             }
23825          }
23826          part { name: "radio";
23827             mouse_events: 0;
23828             scale: 1;
23829             description { state: "default" 0.0;
23830                rel1.to: "bg";
23831                rel2.to: "bg";
23832                visible: 0;
23833                image.normal: "radio.png";
23834             }
23835             description { state: "visible" 0.0;
23836                inherit: "default" 0.0;
23837                visible: 1;
23838             }
23839          }
23840          part { name: "elm.swallow.content";
23841             type: SWALLOW;
23842             description { state: "default" 0.0;
23843                fixed: 1 0;
23844                visible: 0;
23845                align: 0.0 0.5;
23846                color: 0 0 0 0;
23847                rel1.to_x: "bg";
23848                rel1.relative: 1.0 0.0;
23849                rel1.offset: 1 1;
23850                rel2.to_x: "bg";
23851                rel2.relative: 1.0 1.0;
23852                rel2.offset: 2 -2;
23853             }
23854             description { state: "visible" 0.0;
23855                inherit: "default" 0.0;
23856                visible: 1;
23857                color: 255 255 255 255;
23858                aspect: 1.0 1.0;
23859             }
23860             description { state: "disabled" 0.0;
23861                inherit: "default" 0.0;
23862                color: 128 128 128 128;
23863             }
23864             description { state: "disabled_visible" 0.0;
23865                inherit: "default" 0.0;
23866                color: 128 128 128 128;
23867                visible: 1;
23868                aspect: 1.0 1.0;
23869             }
23870          }
23871          part { name: "elm.text";
23872             type: TEXT;
23873             mouse_events: 0;
23874             scale: 1;
23875             description { state: "default" 0.0;
23876                visible: 0;
23877                rel1.to_x: "elm.swallow.content";
23878                rel1.relative: 1.0 0.0;
23879                rel1.offset: 1 1;
23880                rel2.relative: 1.0 1.0;
23881                rel2.offset: -2 -2;
23882                color: 0 0 0 255;
23883                text {
23884                   font: "Sans,Edje-Vera";
23885                   size: 10;
23886                   min: 0 0;
23887                   align: 0.0 0.5;
23888                }
23889             }
23890             description { state: "visible" 0.0;
23891                inherit: "default" 0.0;
23892                visible: 1;
23893                text.min: 1 1;
23894             }
23895             description { state: "disabled" 0.0;
23896                inherit: "default" 0.0;
23897                color: 0 0 0 128;
23898                color3: 0 0 0 0;
23899             }
23900             description { state: "disabled_visible" 0.0;
23901                inherit: "default" 0.0;
23902                color: 0 0 0 128;
23903                color3: 0 0 0 0;
23904                visible: 1;
23905                text.min: 1 1;
23906             }
23907          }
23908          part { name: "events";
23909             type: RECT;
23910             ignore_flags: ON_HOLD;
23911             description { state: "default" 0.0;
23912                color: 0 0 0 0;
23913             }
23914          }
23915          part { name: "disabler";
23916             type: RECT;
23917             description { state: "default" 0.0;
23918                color: 0 0 0 0;
23919                visible: 0;
23920             }
23921             description { state: "disabled" 0.0;
23922                inherit: "default" 0.0;
23923                visible: 1;
23924             }
23925          }
23926       }
23927       programs {
23928          program { name: "click";
23929             signal: "mouse,up,1";
23930             source: "events";
23931             action: SIGNAL_EMIT "elm,action,radio,toggle" "";
23932          }
23933          program { name: "radio_on";
23934             signal: "elm,state,radio,on";
23935             source: "elm";
23936             action:  STATE_SET "visible" 0.0;
23937             target: "radio";
23938          }
23939          program { name: "radio_off";
23940             signal: "elm,state,radio,off";
23941             source: "elm";
23942             action:  STATE_SET "default" 0.0;
23943             target: "radio";
23944          }
23945          program { name: "text_show";
23946             signal: "elm,state,text,visible";
23947             source: "elm";
23948             action:  STATE_SET "visible" 0.0;
23949             target: "elm.text";
23950          }
23951          program { name: "text_hide";
23952             signal: "elm,state,text,hidden";
23953             source: "elm";
23954             action:  STATE_SET "default" 0.0;
23955             target: "elm.text";
23956          }
23957          program { name: "icon_show";
23958             signal: "elm,state,icon,visible";
23959             source: "elm";
23960             action:  STATE_SET "visible" 0.0;
23961             target: "elm.swallow.content";
23962          }
23963          program { name: "icon_hide";
23964             signal: "elm,state,icon,hidden";
23965             source: "elm";
23966             action:  STATE_SET "default" 0.0;
23967             target: "elm.swallow.content";
23968          }
23969          program { name: "disable";
23970             signal: "elm,state,disabled";
23971             source: "elm";
23972             action: STATE_SET "disabled" 0.0;
23973             target: "disabler";
23974             after: "disable_text";
23975          }
23976          program { name: "disable_text";
23977             script {
23978                new st[31];
23979                new Float:vl;
23980                get_state(PART:"elm.text", st, 30, vl);
23981                if (!strcmp(st, "visible"))
23982                  set_state(PART:"elm.text", "disabled_visible", 0.0);
23983                else
23984                  set_state(PART:"elm.text", "disabled", 0.0);
23985
23986                get_state(PART:"elm.swallow.content", st, 30, vl);
23987                if (!strcmp(st, "visible"))
23988                  set_state(PART:"elm.swallow.content", "disabled_visible", 0.0);
23989                else
23990                  set_state(PART:"elm.swallow.content", "disabled", 0.0);
23991             }
23992          }
23993          program { name: "enable";
23994             signal: "elm,state,enabled";
23995             source: "elm";
23996             action: STATE_SET "default" 0.0;
23997             target: "disabler";
23998             after: "enable_text";
23999          }
24000          program { name: "enable_text";
24001             script {
24002                new st[31];
24003                new Float:vl;
24004                get_state(PART:"elm.text", st, 30, vl);
24005                if (!strcmp(st, "disabled_visible"))
24006                  set_state(PART:"elm.text", "visible", 0.0);
24007                else
24008                  set_state(PART:"elm.text", "default", 0.0);
24009
24010                get_state(PART:"elm.swallow.content", st, 30, vl);
24011                if (!strcmp(st, "visible"))
24012                  set_state(PART:"elm.swallow.content", "visible", 0.0);
24013                else
24014                  set_state(PART:"elm.swallow.content", "default", 0.0);
24015             }
24016          }
24017       }
24018    }
24019    group { name: "elm/genlist/tree_compress_odd/double_label/default";
24020       data.item: "stacking" "below";
24021       data.item: "selectraise" "on";
24022       data.item: "labels" "elm.text elm.text.sub";
24023       data.item: "icons" "elm.swallow.icon elm.swallow.end";
24024       data.item: "treesize" "20";
24025 //      data.item: "states" "";
24026       images {
24027          image: "bt_sm_base1.png" COMP;
24028          image: "bt_sm_shine.png" COMP;
24029          image: "bt_sm_hilight.png" COMP;
24030          image: "ilist_2.png" COMP;
24031          image: "icon_arrow_right.png" COMP;
24032          image: "icon_arrow_down.png" COMP;
24033       }
24034       parts {
24035          part {
24036             name:           "event";
24037             type:           RECT;
24038             repeat_events: 1;
24039             description {
24040                state: "default" 0.0;
24041                color: 0 0 0 0;
24042             }
24043          }
24044          part {
24045             name: "base";
24046             mouse_events: 0;
24047             description {
24048                state: "default" 0.0;
24049                image {
24050                   normal: "ilist_2.png";
24051                   border: 2 2 2 2;
24052                }
24053                fill.smooth: 0;
24054             }
24055          }
24056          part { name: "bg";
24057             clip_to: "disclip";
24058             mouse_events: 0;
24059             description { state: "default" 0.0;
24060                visible: 0;
24061                color: 255 255 255 0;
24062                rel1 {
24063                   relative: 0.0 0.0;
24064                   offset: -5 -5;
24065                }
24066                rel2 {
24067                   relative: 1.0 1.0;
24068                   offset: 4 4;
24069                }
24070                image {
24071                   normal: "bt_sm_base1.png";
24072                   border: 6 6 6 6;
24073                }
24074                image.middle: SOLID;
24075             }
24076             description { state: "selected" 0.0;
24077                inherit: "default" 0.0;
24078                visible: 1;
24079                color: 255 255 255 255;
24080                rel1 {
24081                   relative: 0.0 0.0;
24082                   offset: -2 -2;
24083                }
24084                rel2 {
24085                   relative: 1.0 1.0;
24086                   offset: 1 1;
24087                }
24088             }
24089          }
24090          part { name: "elm.swallow.pad";
24091             type: SWALLOW;
24092             description { state: "default" 0.0;
24093                fixed: 1 0;
24094                align: 0.0 0.5;
24095                rel1 {
24096                   relative: 0.0  0.0;
24097                   offset:   4    4;
24098                }
24099                rel2 {
24100                   relative: 0.0  1.0;
24101                   offset:   4   -5;
24102                }
24103             }
24104          }
24105          part { name: "arrow";
24106             clip_to: "disclip";
24107             ignore_flags: ON_HOLD;
24108             description { state: "default" 0.0;
24109                fixed: 1 0;
24110                align: 0.0 0.5;
24111                aspect: 1.0 1.0;
24112                rel1 {
24113                   to_x: "elm.swallow.pad";
24114                   relative: 1.0  0.0;
24115                   offset:   -1    4;
24116                }
24117                rel2 {
24118                   to_x: "elm.swallow.pad";
24119                   relative: 1.0  1.0;
24120                   offset:   -1   -5;
24121                }
24122                image.normal: "icon_arrow_right.png";
24123             }
24124             description { state: "active" 0.0;
24125                inherit: "default" 0.0;
24126                image.normal: "icon_arrow_down.png";
24127             }
24128          }
24129          part { name: "elm.swallow.icon";
24130             clip_to: "disclip";
24131             type: SWALLOW;
24132             description { state: "default" 0.0;
24133                fixed: 1 0;
24134                align: 0.0 0.5;
24135                rel1 {
24136                   to_x: "arrow";
24137                   relative: 1.0  0.0;
24138                   offset:   4    4;
24139                }
24140                rel2 {
24141                   to_x: "arrow";
24142                   relative: 1.0  1.0;
24143                   offset:   4   -5;
24144                }
24145             }
24146          }
24147          part { name: "elm.swallow.end";
24148             clip_to: "disclip";
24149             type: SWALLOW;
24150             description { state: "default" 0.0;
24151                fixed: 1 0;
24152                align: 1.0 0.5;
24153                aspect: 1.0 1.0;
24154                aspect_preference: VERTICAL;
24155                rel1 {
24156                   relative: 1.0  0.0;
24157                   offset:   -5    4;
24158                }
24159                rel2 {
24160                   relative: 1.0  1.0;
24161                   offset:   -5   -5;
24162                }
24163             }
24164          }
24165          part { name: "elm.text";
24166             clip_to: "disclip";
24167             type:           TEXT;
24168             effect:         SOFT_SHADOW;
24169             mouse_events:   0;
24170             scale: 1;
24171             description {
24172                state: "default" 0.0;
24173 //               min: 16 16;
24174                rel1 {
24175                   to_x:     "elm.swallow.icon";
24176                   relative: 1.0  0.0;
24177                   offset:   0 4;
24178                }
24179                rel2 {
24180                   to_x:     "elm.swallow.end";
24181                   relative: 0.0  0.5;
24182                   offset:   -1 -5;
24183                }
24184                color: 0 0 0 255;
24185                color3: 0 0 0 0;
24186                text {
24187                   font: "Sans";
24188                   size: 10;
24189 //                  min: 1 1;
24190                   min: 0 1;
24191                   align: 0.0 0.5;
24192                   text_class: "list_item";
24193                }
24194             }
24195             description { state: "selected" 0.0;
24196                inherit: "default" 0.0;
24197                color: 224 224 224 255;
24198                color3: 0 0 0 64;
24199             }
24200          }
24201          part { name: "elm.text.sub";
24202             clip_to: "disclip";
24203             type:           TEXT;
24204             mouse_events:   0;
24205             scale: 1;
24206             description {
24207                state: "default" 0.0;
24208 //               min: 16 16;
24209                rel1 {
24210                   to_x:     "elm.swallow.icon";
24211                   relative: 1.0  0.5;
24212                   offset:   0 4;
24213                }
24214                rel2 {
24215                   to_x:     "elm.swallow.end";
24216                   relative: 0.0  1.0;
24217                   offset:   -1 -5;
24218                }
24219                color: 0 0 0 128;
24220                color3: 0 0 0 0;
24221                text {
24222                   font: "Sans";
24223                   size: 8;
24224 //                  min: 1 1;
24225                   min: 0 1;
24226                   align: 0.0 0.5;
24227                   text_class: "list_item";
24228                }
24229             }
24230             description { state: "selected" 0.0;
24231                inherit: "default" 0.0;
24232                color: 128 128 128 255;
24233                color3: 0 0 0 32;
24234             }
24235          }
24236          part { name: "fg1";
24237             clip_to: "disclip";
24238             mouse_events: 0;
24239             description { state: "default" 0.0;
24240                visible: 0;
24241                color: 255 255 255 0;
24242                rel1.to: "bg";
24243                rel2.relative: 1.0 0.5;
24244                rel2.to: "bg";
24245                image {
24246                   normal: "bt_sm_hilight.png";
24247                   border: 6 6 6 0;
24248                }
24249             }
24250             description { state: "selected" 0.0;
24251                inherit: "default" 0.0;
24252                visible: 1;
24253                color: 255 255 255 255;
24254             }
24255          }
24256          part { name: "fg2";
24257             clip_to: "disclip";
24258             mouse_events: 0;
24259             description { state: "default" 0.0;
24260                visible: 0;
24261                color: 255 255 255 0;
24262                rel1.to: "bg";
24263                rel2.to: "bg";
24264                image {
24265                   normal: "bt_sm_shine.png";
24266                   border: 6 6 6 0;
24267                }
24268             }
24269             description { state: "selected" 0.0;
24270                inherit: "default" 0.0;
24271                visible: 1;
24272                color: 255 255 255 255;
24273             }
24274          }
24275          part { name: "disclip";
24276             type: RECT;
24277             description { state: "default" 0.0;
24278                rel1.to: "bg";
24279                rel2.to: "bg";
24280             }
24281             description { state: "disabled" 0.0;
24282                inherit: "default" 0.0;
24283                color: 255 255 255 64;
24284             }
24285          }
24286       }
24287       programs {
24288          // signal: elm,state,%s,active
24289          //   a "check" item named %s went active
24290          // signal: elm,state,%s,passive
24291          //   a "check" item named %s went passive
24292          // default is passive
24293          program {
24294             name:    "go_active";
24295             signal:  "elm,state,selected";
24296             source:  "elm";
24297             action:  STATE_SET "selected" 0.0;
24298             target:  "bg";
24299             target:  "fg1";
24300             target:  "fg2";
24301             target:  "elm.text";
24302             target:  "elm.text.sub";
24303          }
24304          program {
24305             name:    "go_passive";
24306             signal:  "elm,state,unselected";
24307             source:  "elm";
24308             action:  STATE_SET "default" 0.0;
24309             target:  "bg";
24310             target:  "fg1";
24311             target:  "fg2";
24312             target:  "elm.text";
24313             target:  "elm.text.sub";
24314             transition: LINEAR 0.1;
24315          }
24316          program {
24317             name:    "go_disabled";
24318             signal:  "elm,state,disabled";
24319             source:  "elm";
24320             action:  STATE_SET "disabled" 0.0;
24321             target:  "disclip";
24322          }
24323          program {
24324             name:    "go_enabled";
24325             signal:  "elm,state,enabled";
24326             source:  "elm";
24327             action:  STATE_SET "default" 0.0;
24328             target:  "disclip";
24329          }
24330          program {
24331             name:    "expand";
24332             signal:  "mouse,up,1";
24333             source:  "arrow";
24334             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
24335          }
24336          program {
24337             name:    "go_expanded";
24338             signal:  "elm,state,expanded";
24339             source:  "elm";
24340             action:  STATE_SET "active" 0.0;
24341             target:  "arrow";
24342          }
24343          program {
24344             name:    "go_contracted";
24345             signal:  "elm,state,contracted";
24346             source:  "elm";
24347             action:  STATE_SET "default" 0.0;
24348             target:  "arrow";
24349          }
24350       }
24351    }
24352
24353    group { name: "elm/genlist/item_compress/media/default";
24354       data.item: "stacking" "above";
24355       data.item: "selectraise" "on";
24356       data.item: "labels" "elm.text.title elm.text.album-artist";
24357       data.item: "treesize" "20";
24358       images {
24359          image: "bt_sm_base1.png" COMP;
24360          image: "bt_sm_shine.png" COMP;
24361          image: "bt_sm_hilight.png" COMP;
24362          image: "ilist_1.png" COMP;
24363          image: "ilist_item_shadow.png" COMP;
24364       }
24365       parts {
24366          part {
24367             name:           "event";
24368             type:           RECT;
24369             repeat_events: 1;
24370             description {
24371                state: "default" 0.0;
24372                color: 0 0 0 0;
24373             }
24374          }
24375          part {
24376             name: "base_sh";
24377             mouse_events: 0;
24378             description {
24379                state: "default" 0.0;
24380                align: 0.0 0.0;
24381                min: 0 10;
24382                fixed: 1 1;
24383                rel1 {
24384                   to: "base";
24385                   relative: 0.0 1.0;
24386                   offset: 0 0;
24387                }
24388                rel2 {
24389                   to: "base";
24390                   relative: 1.0 1.0;
24391                   offset: -1 0;
24392                }
24393                image {
24394                   normal: "ilist_item_shadow.png";
24395                }
24396                fill.smooth: 0;
24397             }
24398          }
24399          part {
24400             name: "base";
24401             mouse_events: 0;
24402             description {
24403                state: "default" 0.0;
24404                image {
24405                   normal: "ilist_1.png";
24406                   border: 2 2 2 2;
24407                }
24408                fill.smooth: 0;
24409             }
24410          }
24411          part { name: "bg";
24412             clip_to: "disclip";
24413             mouse_events: 0;
24414             description { state: "default" 0.0;
24415                visible: 0;
24416                color: 255 255 255 0;
24417                rel1 {
24418                   relative: 0.0 0.0;
24419                   offset: -5 -5;
24420                }
24421                rel2 {
24422                   relative: 1.0 1.0;
24423                   offset: 4 4;
24424                }
24425                image {
24426                   normal: "bt_sm_base1.png";
24427                   border: 6 6 6 6;
24428                }
24429                image.middle: SOLID;
24430             }
24431             description { state: "selected" 0.0;
24432                inherit: "default" 0.0;
24433                visible: 1;
24434                color: 255 255 255 255;
24435                rel1 {
24436                   relative: 0.0 0.0;
24437                   offset: -2 -2;
24438                }
24439                rel2 {
24440                   relative: 1.0 1.0;
24441                   offset: 1 1;
24442                }
24443             }
24444          }
24445          part { name: "elm.swallow.pad";
24446             type: SWALLOW;
24447             description { state: "default" 0.0;
24448                fixed: 1 0;
24449                align: 0.0 0.5;
24450                rel1 {
24451                   relative: 0.0  0.0;
24452                   offset:   4    4;
24453                }
24454                rel2 {
24455                   relative: 0.0  1.0;
24456                   offset:   4   -5;
24457                }
24458             }
24459          }
24460          part { name: "elm.text.title";
24461             clip_to: "disclip";
24462             type:           TEXT;
24463             effect:         SOFT_SHADOW;
24464             mouse_events:   0;
24465             scale: 1;
24466             description {
24467                state: "default" 0.0;
24468                rel1 {
24469                   relative: 0.0  0.0;
24470                   offset:   4 4;
24471                }
24472                rel2 {
24473                   relative: 1.0  0.5;
24474                   offset:   -1 -5;
24475                }
24476                color: 0 0 0 255;
24477                color3: 0 0 0 0;
24478                text {
24479                   font: "Sans";
24480                   size: 10;
24481                   min: 0 1;
24482                   align: 0.0 0.5;
24483                }
24484             }
24485             description { state: "selected" 0.0;
24486                inherit: "default" 0.0;
24487                color: 224 224 224 255;
24488                color3: 0 0 0 64;
24489             }
24490          }
24491          part { name: "elm.text.album-artist";
24492             clip_to: "disclip";
24493             type:           TEXT;
24494             mouse_events:   0;
24495             scale: 1;
24496             description {
24497                state: "default" 0.0;
24498                rel1 {
24499                   relative: 0.0  0.5;
24500                   offset:   4 4;
24501                }
24502                rel2 {
24503                   relative: 1.0  1.0;
24504                   offset:   -1 -5;
24505                }
24506                color: 0 0 0 128;
24507                color3: 0 0 0 0;
24508                text {
24509                   font: "Sans";
24510                   size: 8;
24511                   min: 0 1;
24512                   align: 0.0 0.5;
24513                }
24514             }
24515             description { state: "selected" 0.0;
24516                inherit: "default" 0.0;
24517                color: 128 128 128 255;
24518                color3: 0 0 0 32;
24519             }
24520          }
24521          part { name: "fg1";
24522             clip_to: "disclip";
24523             mouse_events: 0;
24524             description { state: "default" 0.0;
24525                visible: 0;
24526                color: 255 255 255 0;
24527                rel1.to: "bg";
24528                rel2.relative: 1.0 0.5;
24529                rel2.to: "bg";
24530                image {
24531                   normal: "bt_sm_hilight.png";
24532                   border: 6 6 6 0;
24533                }
24534             }
24535             description { state: "selected" 0.0;
24536                inherit: "default" 0.0;
24537                visible: 1;
24538                color: 255 255 255 255;
24539             }
24540          }
24541          part { name: "fg2";
24542             clip_to: "disclip";
24543             mouse_events: 0;
24544             description { state: "default" 0.0;
24545                visible: 0;
24546                color: 255 255 255 0;
24547                rel1.to: "bg";
24548                rel2.to: "bg";
24549                image {
24550                   normal: "bt_sm_shine.png";
24551                   border: 6 6 6 0;
24552                }
24553             }
24554             description { state: "selected" 0.0;
24555                inherit: "default" 0.0;
24556                visible: 1;
24557                color: 255 255 255 255;
24558             }
24559          }
24560          part { name: "disclip";
24561             type: RECT;
24562             description { state: "default" 0.0;
24563                rel1.to: "bg";
24564                rel2.to: "bg";
24565             }
24566             description { state: "disabled" 0.0;
24567                inherit: "default" 0.0;
24568                color: 255 255 255 64;
24569             }
24570          }
24571       }
24572       programs {
24573          // signal: elm,state,%s,active
24574          //   a "check" item named %s went active
24575          // signal: elm,state,%s,passive
24576          //   a "check" item named %s went passive
24577          // default is passive
24578          program {
24579             name:    "go_active";
24580             signal:  "elm,state,selected";
24581             source:  "elm";
24582             action:  STATE_SET "selected" 0.0;
24583             target:  "bg";
24584             target:  "fg1";
24585             target:  "fg2";
24586             target:  "elm.text.title";
24587             target:  "elm.text.album-artist";
24588          }
24589          program {
24590             name:    "go_passive";
24591             signal:  "elm,state,unselected";
24592             source:  "elm";
24593             action:  STATE_SET "default" 0.0;
24594             target:  "bg";
24595             target:  "fg1";
24596             target:  "fg2";
24597             target:  "elm.text.title";
24598             target:  "elm.text.album-artist";
24599             transition: LINEAR 0.1;
24600          }
24601          program {
24602             name:    "go_disabled";
24603             signal:  "elm,state,disabled";
24604             source:  "elm";
24605             action:  STATE_SET "disabled" 0.0;
24606             target:  "disclip";
24607          }
24608          program {
24609             name:    "go_enabled";
24610             signal:  "elm,state,enabled";
24611             source:  "elm";
24612             action:  STATE_SET "default" 0.0;
24613             target:  "disclip";
24614          }
24615       }
24616    }
24617    group { name: "elm/genlist/item_compress_odd/media/default";
24618       data.item: "stacking" "below";
24619       data.item: "selectraise" "on";
24620       data.item: "labels" "elm.text.title elm.text.album-artist";
24621       data.item: "treesize" "20";
24622       images {
24623          image: "bt_sm_base1.png" COMP;
24624          image: "bt_sm_shine.png" COMP;
24625          image: "bt_sm_hilight.png" COMP;
24626          image: "ilist_2.png" COMP;
24627       }
24628       parts {
24629          part { name: "event";
24630             type: RECT;
24631             repeat_events: 1;
24632             description {
24633                state: "default" 0.0;
24634                color: 0 0 0 0;
24635             }
24636          }
24637          part {
24638             name: "base";
24639             mouse_events: 0;
24640             description {
24641                state: "default" 0.0;
24642                image {
24643                   normal: "ilist_2.png";
24644                   border: 2 2 2 2;
24645                }
24646                fill.smooth: 0;
24647             }
24648          }
24649          part { name: "bg";
24650             clip_to: "disclip";
24651             mouse_events: 0;
24652             description { state: "default" 0.0;
24653                visible: 0;
24654                color: 255 255 255 0;
24655                rel1 {
24656                   relative: 0.0 0.0;
24657                   offset: -5 -5;
24658                }
24659                rel2 {
24660                   relative: 1.0 1.0;
24661                   offset: 4 4;
24662                }
24663                image {
24664                   normal: "bt_sm_base1.png";
24665                   border: 6 6 6 6;
24666                }
24667                image.middle: SOLID;
24668             }
24669             description { state: "selected" 0.0;
24670                inherit: "default" 0.0;
24671                visible: 1;
24672                color: 255 255 255 255;
24673                rel1 {
24674                   relative: 0.0 0.0;
24675                   offset: -2 -2;
24676                }
24677                rel2 {
24678                   relative: 1.0 1.0;
24679                   offset: 1 1;
24680                }
24681             }
24682          }
24683          part { name: "elm.swallow.pad";
24684             type: SWALLOW;
24685             description { state: "default" 0.0;
24686                fixed: 1 0;
24687                align: 0.0 0.5;
24688                rel1 {
24689                   relative: 0.0  0.0;
24690                   offset:   4    4;
24691                }
24692                rel2 {
24693                   relative: 0.0  1.0;
24694                   offset:   4   -5;
24695                }
24696             }
24697          }
24698          part { name: "elm.text.title";
24699             clip_to: "disclip";
24700             type:           TEXT;
24701             effect:         SOFT_SHADOW;
24702             mouse_events:   0;
24703             scale: 1;
24704             description {
24705                state: "default" 0.0;
24706                rel1 {
24707                   relative: 0.0  0.0;
24708                   offset:   4 4;
24709                }
24710                rel2 {
24711                   relative: 1.0  0.5;
24712                   offset:   -1 -5;
24713                }
24714                color: 0 0 0 255;
24715                color3: 0 0 0 0;
24716                text {
24717                   font: "Sans";
24718                   size: 10;
24719                   min: 0 1;
24720                   align: 0.0 0.5;
24721                }
24722             }
24723             description { state: "selected" 0.0;
24724                inherit: "default" 0.0;
24725                color: 224 224 224 255;
24726                color3: 0 0 0 64;
24727             }
24728          }
24729          part { name: "elm.text.album-artist";
24730             clip_to: "disclip";
24731             type:           TEXT;
24732             mouse_events:   0;
24733             scale: 1;
24734             description {
24735                state: "default" 0.0;
24736                rel1 {
24737                   relative: 0.0  0.5;
24738                   offset:   4 4;
24739                }
24740                rel2 {
24741                   relative: 1.0  1.0;
24742                   offset:   -1 -5;
24743                }
24744                color: 0 0 0 128;
24745                color3: 0 0 0 0;
24746                text {
24747                   font: "Sans";
24748                   size: 8;
24749                   min: 0 1;
24750                   align: 0.0 0.5;
24751                }
24752             }
24753             description { state: "selected" 0.0;
24754                inherit: "default" 0.0;
24755                color: 128 128 128 255;
24756                color3: 0 0 0 32;
24757             }
24758          }
24759          part { name: "fg1";
24760             clip_to: "disclip";
24761             mouse_events: 0;
24762             description { state: "default" 0.0;
24763                visible: 0;
24764                color: 255 255 255 0;
24765                rel1.to: "bg";
24766                rel2.relative: 1.0 0.5;
24767                rel2.to: "bg";
24768                image {
24769                   normal: "bt_sm_hilight.png";
24770                   border: 6 6 6 0;
24771                }
24772             }
24773             description { state: "selected" 0.0;
24774                inherit: "default" 0.0;
24775                visible: 1;
24776                color: 255 255 255 255;
24777             }
24778          }
24779          part { name: "fg2";
24780             clip_to: "disclip";
24781             mouse_events: 0;
24782             description { state: "default" 0.0;
24783                visible: 0;
24784                color: 255 255 255 0;
24785                rel1.to: "bg";
24786                rel2.to: "bg";
24787                image {
24788                   normal: "bt_sm_shine.png";
24789                   border: 6 6 6 0;
24790                }
24791             }
24792             description { state: "selected" 0.0;
24793                inherit: "default" 0.0;
24794                visible: 1;
24795                color: 255 255 255 255;
24796             }
24797          }
24798          part { name: "disclip";
24799             type: RECT;
24800             description { state: "default" 0.0;
24801                rel1.to: "bg";
24802                rel2.to: "bg";
24803             }
24804             description { state: "disabled" 0.0;
24805                inherit: "default" 0.0;
24806                color: 255 255 255 64;
24807             }
24808          }
24809       }
24810       programs {
24811          // signal: elm,state,%s,active
24812          //   a "check" item named %s went active
24813          // signal: elm,state,%s,passive
24814          //   a "check" item named %s went passive
24815          // default is passive
24816          program {
24817             name:    "go_active";
24818             signal:  "elm,state,selected";
24819             source:  "elm";
24820             action:  STATE_SET "selected" 0.0;
24821             target:  "bg";
24822             target:  "fg1";
24823             target:  "fg2";
24824             target:  "elm.text.title";
24825             target:  "elm.text.album-artist";
24826          }
24827          program {
24828             name:    "go_passive";
24829             signal:  "elm,state,unselected";
24830             source:  "elm";
24831             action:  STATE_SET "default" 0.0;
24832             target:  "bg";
24833             target:  "fg1";
24834             target:  "fg2";
24835             target:  "elm.text.title";
24836             target:  "elm.text.album-artist";
24837             transition: LINEAR 0.1;
24838          }
24839          program {
24840             name:    "go_disabled";
24841             signal:  "elm,state,disabled";
24842             source:  "elm";
24843             action:  STATE_SET "disabled" 0.0;
24844             target:  "disclip";
24845          }
24846          program {
24847             name:    "go_enabled";
24848             signal:  "elm,state,enabled";
24849             source:  "elm";
24850             action:  STATE_SET "default" 0.0;
24851             target:  "disclip";
24852          }
24853       }
24854    }
24855
24856    group { name: "elm/genlist/item_compress/media-album/default";
24857       data.item: "stacking" "above";
24858       data.item: "selectraise" "on";
24859       data.item: "labels" "elm.text.title elm.text.trackno elm.text.length";
24860       data.item: "states" "elm.state.trackno";
24861       data.item: "treesize" "20";
24862       images {
24863          image: "bt_sm_base1.png" COMP;
24864          image: "bt_sm_shine.png" COMP;
24865          image: "bt_sm_hilight.png" COMP;
24866          image: "ilist_1.png" COMP;
24867          image: "ilist_item_shadow.png" COMP;
24868       }
24869       script {
24870          public dot_visible;
24871       }
24872       parts {
24873          part {
24874             name: "event";
24875             type: RECT;
24876             repeat_events: 1;
24877             description {
24878                state: "default" 0.0;
24879                color: 0 0 0 0;
24880             }
24881          }
24882          part {
24883             name: "base_sh";
24884             mouse_events: 0;
24885             description {
24886                state: "default" 0.0;
24887                align: 0.0 0.0;
24888                min: 0 10;
24889                fixed: 1 1;
24890                rel1 {
24891                   to: "base";
24892                   relative: 0.0 1.0;
24893                   offset: 0 0;
24894                }
24895                rel2 {
24896                   to: "base";
24897                   relative: 1.0 1.0;
24898                   offset: -1 0;
24899                }
24900                image {
24901                   normal: "ilist_item_shadow.png";
24902                }
24903                fill.smooth: 0;
24904             }
24905          }
24906          part {
24907             name: "base";
24908             mouse_events: 0;
24909             description {
24910                state: "default" 0.0;
24911                image {
24912                   normal: "ilist_1.png";
24913                   border: 2 2 2 2;
24914                }
24915                fill.smooth: 0;
24916             }
24917          }
24918          part { name: "bg";
24919             clip_to: "disclip";
24920             mouse_events: 0;
24921             description { state: "default" 0.0;
24922                visible: 0;
24923                color: 255 255 255 0;
24924                rel1 {
24925                   relative: 0.0 0.0;
24926                   offset: -5 -5;
24927                }
24928                rel2 {
24929                   relative: 1.0 1.0;
24930                   offset: 4 4;
24931                }
24932                image {
24933                   normal: "bt_sm_base1.png";
24934                   border: 6 6 6 6;
24935                }
24936                image.middle: SOLID;
24937             }
24938             description { state: "selected" 0.0;
24939                inherit: "default" 0.0;
24940                visible: 1;
24941                color: 255 255 255 255;
24942                rel1 {
24943                   relative: 0.0 0.0;
24944                   offset: -2 -2;
24945                }
24946                rel2 {
24947                   relative: 1.0 1.0;
24948                   offset: 1 1;
24949                }
24950             }
24951          }
24952          part { name: "elm.swallow.pad";
24953             type: SWALLOW;
24954             description { state: "default" 0.0;
24955                fixed: 1 0;
24956                align: 0.0 0.5;
24957                rel1 {
24958                   relative: 0.0  0.0;
24959                   offset:   4    4;
24960                }
24961                rel2 {
24962                   relative: 0.0  1.0;
24963                   offset:   4   -5;
24964                }
24965             }
24966          }
24967          part {
24968             name: "elm.text.trackno";
24969             type: TEXT;
24970             scale: 1;
24971             mouse_events: 0;
24972             description {
24973                state: "default" 0.0;
24974                color: 255 255 255 255;
24975                align: 0.0 0.0;
24976                fixed: 1 0;
24977                rel1 {
24978                   to_y: "elm.text.title";
24979                   relative: 0.0 0.0;
24980                   offset: 5 0;
24981                }
24982                rel2 {
24983                   to_y: "elm.text.title";
24984                   relative: 0.0 1.0;
24985                   offset: 20 0;
24986                }
24987                color: 0 0 0 255;
24988                color3: 0 0 0 0;
24989                text {
24990                   font: "Sans";
24991                   size: 10;
24992                   min: 1 1;
24993                   align: 1.0 0.5;
24994                }
24995             }
24996             description { state: "selected" 0.0;
24997                inherit: "default" 0.0;
24998                color: 224 224 224 255;
24999                color3: 0 0 0 64;
25000             }
25001          }
25002          part {
25003             name: "dot";
25004             type: TEXT;
25005             scale: 1;
25006             mouse_events: 0;
25007             description {
25008                state: "default" 0.0;
25009                color: 255 255 255 255;
25010                visible: 0;
25011                fixed: 1 1;
25012                align: 0.0 0.0;
25013                rel1 {
25014                   to_x: "elm.text.trackno";
25015                   to_y: "elm.text.title";
25016                   relative: 1.0 0.0;
25017                   offset: 1 0;
25018                }
25019                rel2 {
25020                   to_x: "elm.text.trackno";
25021                   to_y: "elm.text.title";
25022                   relative: 1.0 1.0;
25023                   offset: 1 0;
25024
25025                }
25026                color: 0 0 0 255;
25027                color3: 0 0 0 0;
25028                text {
25029                   font: "Sans";
25030                   size: 10;
25031                   min: 1 1;
25032                   align: 0.0 0.5;
25033                   text: ".";
25034                }
25035             }
25036             description {
25037                state: "visible" 0.0;
25038                inherit: "default" 0.0;
25039                visible: 1;
25040             }
25041             description { state: "selected" 0.0;
25042                inherit: "default" 0.0;
25043                color: 224 224 224 255;
25044                color3: 0 0 0 64;
25045                visible: 1;
25046             }
25047          }
25048          programs {
25049             program {
25050                signal: "elm,state,elm.state.trackno,active";
25051                source: "elm";
25052                script {
25053                   set_state(PART:"dot", "visible", 0.0);
25054                   set_int(dot_visible, 1);
25055                }
25056             }
25057          }
25058          part { name: "elm.text.title";
25059             clip_to: "disclip";
25060             type:           TEXT;
25061             effect:         SOFT_SHADOW;
25062             mouse_events:   0;
25063             scale: 1;
25064             description {
25065                state: "default" 0.0;
25066                rel1 {
25067                   to_x: "dot";
25068                   relative: 0.0  0.0;
25069                   offset:   4 4;
25070                }
25071                rel2 {
25072                   relative: 1.0  0.5;
25073                   offset:   -1 -5;
25074                }
25075                color: 0 0 0 255;
25076                color3: 0 0 0 0;
25077                text {
25078                   font: "Sans";
25079                   size: 10;
25080                   min: 0 1;
25081                   align: 0.0 0.5;
25082                }
25083             }
25084             description { state: "selected" 0.0;
25085                inherit: "default" 0.0;
25086                color: 224 224 224 255;
25087                color3: 0 0 0 64;
25088             }
25089          }
25090          part { name: "elm.text.length";
25091             clip_to: "disclip";
25092             type:           TEXT;
25093             mouse_events:   0;
25094             scale: 1;
25095             description {
25096                state: "default" 0.0;
25097                rel1 {
25098                   relative: 0.0  0.5;
25099                   offset:   4 4;
25100                }
25101                rel2 {
25102                   relative: 1.0  1.0;
25103                   offset:   -1 -5;
25104                }
25105                color: 0 0 0 128;
25106                color3: 0 0 0 0;
25107                text {
25108                   font: "Sans";
25109                   size: 8;
25110                   min: 0 1;
25111                   align: 0.0 0.5;
25112                }
25113             }
25114             description { state: "selected" 0.0;
25115                inherit: "default" 0.0;
25116                color: 128 128 128 255;
25117                color3: 0 0 0 32;
25118             }
25119          }
25120          part { name: "fg1";
25121             clip_to: "disclip";
25122             mouse_events: 0;
25123             description { state: "default" 0.0;
25124                visible: 0;
25125                color: 255 255 255 0;
25126                rel1.to: "bg";
25127                rel2.relative: 1.0 0.5;
25128                rel2.to: "bg";
25129                image {
25130                   normal: "bt_sm_hilight.png";
25131                   border: 6 6 6 0;
25132                }
25133             }
25134             description { state: "selected" 0.0;
25135                inherit: "default" 0.0;
25136                visible: 1;
25137                color: 255 255 255 255;
25138             }
25139          }
25140          part { name: "fg2";
25141             clip_to: "disclip";
25142             mouse_events: 0;
25143             description { state: "default" 0.0;
25144                visible: 0;
25145                color: 255 255 255 0;
25146                rel1.to: "bg";
25147                rel2.to: "bg";
25148                image {
25149                   normal: "bt_sm_shine.png";
25150                   border: 6 6 6 0;
25151                }
25152             }
25153             description { state: "selected" 0.0;
25154                inherit: "default" 0.0;
25155                visible: 1;
25156                color: 255 255 255 255;
25157             }
25158          }
25159          part { name: "disclip";
25160             type: RECT;
25161             description { state: "default" 0.0;
25162                rel1.to: "bg";
25163                rel2.to: "bg";
25164             }
25165             description { state: "disabled" 0.0;
25166                inherit: "default" 0.0;
25167                color: 255 255 255 64;
25168             }
25169          }
25170       }
25171       programs {
25172          // signal: elm,state,%s,active
25173          //   a "check" item named %s went active
25174          // signal: elm,state,%s,passive
25175          //   a "check" item named %s went passive
25176          // default is passive
25177          program {
25178             name:    "go_active";
25179             signal:  "elm,state,selected";
25180             source:  "elm";
25181             action:  STATE_SET "selected" 0.0;
25182             target:  "bg";
25183             target:  "fg1";
25184             target:  "fg2";
25185             target:  "elm.text.title";
25186             target:  "elm.text.trackno";
25187             target:  "elm.text.length";
25188             after:   "dot_active";
25189          }
25190          program {
25191             name: "dot_active";
25192             script {
25193                if (get_int(dot_visible) == 1)
25194                   set_state(PART:"dot", "selected", 0.0);
25195             }
25196          }
25197          program {
25198             name:    "go_passive";
25199             signal:  "elm,state,unselected";
25200             source:  "elm";
25201             action:  STATE_SET "default" 0.0;
25202             target:  "bg";
25203             target:  "fg1";
25204             target:  "fg2";
25205             target:  "elm.text.title";
25206             target:  "elm.text.length";
25207             target:  "elm.text.trackno";
25208             transition: LINEAR 0.1;
25209             after:   "dot_passive";
25210          }
25211          program {
25212             name: "dot_passive";
25213             script {
25214                if (get_int(dot_visible) == 1)
25215                   set_state(PART:"dot", "visible", 0.0);
25216             }
25217          }
25218          program {
25219             name:    "go_disabled";
25220             signal:  "elm,state,disabled";
25221             source:  "elm";
25222             action:  STATE_SET "disabled" 0.0;
25223             target:  "disclip";
25224          }
25225          program {
25226             name:    "go_enabled";
25227             signal:  "elm,state,enabled";
25228             source:  "elm";
25229             action:  STATE_SET "default" 0.0;
25230             target:  "disclip";
25231          }
25232       }
25233    }
25234    group { name: "elm/genlist/item_compress_odd/media-album/default";
25235       data.item: "stacking" "below";
25236       data.item: "selectraise" "on";
25237       data.item: "labels" "elm.text.title elm.text.trackno elm.text.length";
25238       data.item: "states" "elm.state.trackno";
25239       data.item: "treesize" "20";
25240       images {
25241          image: "bt_sm_base1.png" COMP;
25242          image: "bt_sm_shine.png" COMP;
25243          image: "bt_sm_hilight.png" COMP;
25244          image: "ilist_2.png" COMP;
25245       }
25246       script {
25247          public dot_visible;
25248       }
25249       parts {
25250          part { name: "event";
25251             type: RECT;
25252             repeat_events: 1;
25253             description {
25254                state: "default" 0.0;
25255                color: 0 0 0 0;
25256             }
25257          }
25258          part {
25259             name: "base";
25260             mouse_events: 0;
25261             description {
25262                state: "default" 0.0;
25263                image {
25264                   normal: "ilist_2.png";
25265                   border: 2 2 2 2;
25266                }
25267                fill.smooth: 0;
25268             }
25269          }
25270          part { name: "bg";
25271             clip_to: "disclip";
25272             mouse_events: 0;
25273             description { state: "default" 0.0;
25274                visible: 0;
25275                color: 255 255 255 0;
25276                rel1 {
25277                   relative: 0.0 0.0;
25278                   offset: -5 -5;
25279                }
25280                rel2 {
25281                   relative: 1.0 1.0;
25282                   offset: 4 4;
25283                }
25284                image {
25285                   normal: "bt_sm_base1.png";
25286                   border: 6 6 6 6;
25287                }
25288                image.middle: SOLID;
25289             }
25290             description { state: "selected" 0.0;
25291                inherit: "default" 0.0;
25292                visible: 1;
25293                color: 255 255 255 255;
25294                rel1 {
25295                   relative: 0.0 0.0;
25296                   offset: -2 -2;
25297                }
25298                rel2 {
25299                   relative: 1.0 1.0;
25300                   offset: 1 1;
25301                }
25302             }
25303          }
25304          part { name: "elm.swallow.pad";
25305             type: SWALLOW;
25306             description { state: "default" 0.0;
25307                fixed: 1 0;
25308                align: 0.0 0.5;
25309                rel1 {
25310                   relative: 0.0  0.0;
25311                   offset:   4    4;
25312                }
25313                rel2 {
25314                   relative: 0.0  1.0;
25315                   offset:   4   -5;
25316                }
25317             }
25318          }
25319          part {
25320             name: "elm.text.trackno";
25321             type: TEXT;
25322             scale: 1;
25323             mouse_events: 0;
25324             description {
25325                state: "default" 0.0;
25326                color: 255 255 255 255;
25327                align: 0.0 0.0;
25328                fixed: 1 0;
25329                rel1 {
25330                   to_y: "elm.text.title";
25331                   relative: 0.0 0.0;
25332                   offset: 5 0;
25333                }
25334                rel2 {
25335                   to_y: "elm.text.title";
25336                   relative: 0.0 1.0;
25337                   offset: 20 0;
25338                }
25339                color: 0 0 0 255;
25340                color3: 0 0 0 0;
25341                text {
25342                   font: "Sans";
25343                   size: 10;
25344                   min: 1 1;
25345                   align: 1.0 0.5;
25346                }
25347             }
25348             description { state: "selected" 0.0;
25349                inherit: "default" 0.0;
25350                color: 224 224 224 255;
25351                color3: 0 0 0 64;
25352             }
25353          }
25354          part {
25355             name: "dot";
25356             type: TEXT;
25357             scale: 1;
25358             mouse_events: 0;
25359             description {
25360                state: "default" 0.0;
25361                color: 255 255 255 255;
25362                visible: 0;
25363                fixed: 1 1;
25364                align: 0.0 0.0;
25365                rel1 {
25366                   to_x: "elm.text.trackno";
25367                   to_y: "elm.text.title";
25368                   relative: 1.0 0.0;
25369                   offset: 1 0;
25370                }
25371                rel2 {
25372                   to_x: "elm.text.trackno";
25373                   to_y: "elm.text.title";
25374                   relative: 1.0 1.0;
25375                   offset: 1 0;
25376
25377                }
25378                color: 0 0 0 255;
25379                color3: 0 0 0 0;
25380                text {
25381                   font: "Sans";
25382                   size: 10;
25383                   min: 1 1;
25384                   align: 0.0 0.5;
25385                   text: ".";
25386                }
25387             }
25388             description {
25389                state: "visible" 0.0;
25390                inherit: "default" 0.0;
25391                visible: 1;
25392             }
25393             description { state: "selected" 0.0;
25394                inherit: "default" 0.0;
25395                color: 224 224 224 255;
25396                color3: 0 0 0 64;
25397                visible: 1;
25398             }
25399          }
25400          programs {
25401             program {
25402                signal: "elm,state,elm.state.trackno,active";
25403                source: "elm";
25404                script {
25405                   set_state(PART:"dot", "visible", 0.0);
25406                   set_int(dot_visible, 1);
25407                }
25408             }
25409          }
25410          part { name: "elm.text.title";
25411             clip_to: "disclip";
25412             type:           TEXT;
25413             effect:         SOFT_SHADOW;
25414             mouse_events:   0;
25415             scale: 1;
25416             description {
25417                state: "default" 0.0;
25418                rel1 {
25419                   to_x: "dot";
25420                   relative: 1.0  0.0;
25421                   offset:   4 4;
25422                }
25423                rel2 {
25424                   relative: 1.0  0.5;
25425                   offset:   -1 -5;
25426                }
25427                color: 0 0 0 255;
25428                color3: 0 0 0 0;
25429                text {
25430                   font: "Sans";
25431                   size: 10;
25432                   min: 0 1;
25433                   align: 0.0 0.5;
25434                }
25435             }
25436             description { state: "selected" 0.0;
25437                inherit: "default" 0.0;
25438                color: 224 224 224 255;
25439                color3: 0 0 0 64;
25440             }
25441          }
25442          part { name: "elm.text.length";
25443             clip_to: "disclip";
25444             type:           TEXT;
25445             mouse_events:   0;
25446             scale: 1;
25447             description {
25448                state: "default" 0.0;
25449                rel1 {
25450                   relative: 0.0  0.5;
25451                   offset:   4 4;
25452                }
25453                rel2 {
25454                   relative: 1.0  1.0;
25455                   offset:   -1 -5;
25456                }
25457                color: 0 0 0 128;
25458                color3: 0 0 0 0;
25459                text {
25460                   font: "Sans";
25461                   size: 8;
25462                   min: 0 1;
25463                   align: 0.0 0.5;
25464                }
25465             }
25466             description { state: "selected" 0.0;
25467                inherit: "default" 0.0;
25468                color: 128 128 128 255;
25469                color3: 0 0 0 32;
25470             }
25471          }
25472          part { name: "fg1";
25473             clip_to: "disclip";
25474             mouse_events: 0;
25475             description { state: "default" 0.0;
25476                visible: 0;
25477                color: 255 255 255 0;
25478                rel1.to: "bg";
25479                rel2.relative: 1.0 0.5;
25480                rel2.to: "bg";
25481                image {
25482                   normal: "bt_sm_hilight.png";
25483                   border: 6 6 6 0;
25484                }
25485             }
25486             description { state: "selected" 0.0;
25487                inherit: "default" 0.0;
25488                visible: 1;
25489                color: 255 255 255 255;
25490             }
25491          }
25492          part { name: "fg2";
25493             clip_to: "disclip";
25494             mouse_events: 0;
25495             description { state: "default" 0.0;
25496                visible: 0;
25497                color: 255 255 255 0;
25498                rel1.to: "bg";
25499                rel2.to: "bg";
25500                image {
25501                   normal: "bt_sm_shine.png";
25502                   border: 6 6 6 0;
25503                }
25504             }
25505             description { state: "selected" 0.0;
25506                inherit: "default" 0.0;
25507                visible: 1;
25508                color: 255 255 255 255;
25509             }
25510          }
25511          part { name: "disclip";
25512             type: RECT;
25513             description { state: "default" 0.0;
25514                rel1.to: "bg";
25515                rel2.to: "bg";
25516             }
25517             description { state: "disabled" 0.0;
25518                inherit: "default" 0.0;
25519                color: 255 255 255 64;
25520             }
25521          }
25522       }
25523       programs {
25524          // signal: elm,state,%s,active
25525          //   a "check" item named %s went active
25526          // signal: elm,state,%s,passive
25527          //   a "check" item named %s went passive
25528          // default is passive
25529          program {
25530             name:    "go_active";
25531             signal:  "elm,state,selected";
25532             source:  "elm";
25533             action:  STATE_SET "selected" 0.0;
25534             target:  "bg";
25535             target:  "fg1";
25536             target:  "fg2";
25537             target:  "elm.text.title";
25538             target:  "elm.text.length";
25539             target:  "elm.text.trackno";
25540             after:   "dot_active";
25541          }
25542          program {
25543             name: "dot_active";
25544             script {
25545                if (get_int(dot_visible) == 1)
25546                   set_state(PART:"dot", "selected", 0.0);
25547             }
25548          }
25549          program {
25550             name:    "go_passive";
25551             signal:  "elm,state,unselected";
25552             source:  "elm";
25553             action:  STATE_SET "default" 0.0;
25554             target:  "bg";
25555             target:  "fg1";
25556             target:  "fg2";
25557             target:  "elm.text.title";
25558             target:  "elm.text.length";
25559             target:  "elm.text.trackno";
25560             transition: LINEAR 0.1;
25561             after:   "dot_passive";
25562          }
25563          program {
25564             name: "dot_passive";
25565             script {
25566                if (get_int(dot_visible) == 1)
25567                   set_state(PART:"dot", "visible", 0.0);
25568             }
25569          }
25570          program {
25571             name:    "go_disabled";
25572             signal:  "elm,state,disabled";
25573             source:  "elm";
25574             action:  STATE_SET "disabled" 0.0;
25575             target:  "disclip";
25576          }
25577          program {
25578             name:    "go_enabled";
25579             signal:  "elm,state,enabled";
25580             source:  "elm";
25581             action:  STATE_SET "default" 0.0;
25582             target:  "disclip";
25583          }
25584       }
25585    }
25586
25587    group { name: "elm/genlist/item_compress/media-preview/default";
25588       data.item: "stacking" "above";
25589       data.item: "selectraise" "on";
25590       data.item: "labels" "elm.text.title elm.text.artist";
25591       data.item: "icons" "elm.swallow.preview";
25592       data.item: "treesize" "20";
25593       images {
25594          image: "bt_sm_base1.png" COMP;
25595          image: "bt_sm_shine.png" COMP;
25596          image: "bt_sm_hilight.png" COMP;
25597          image: "ilist_1.png" COMP;
25598          image: "ilist_item_shadow.png" COMP;
25599       }
25600       parts {
25601          part {
25602             name: "event";
25603             type: RECT;
25604             repeat_events: 1;
25605             description {
25606                state: "default" 0.0;
25607                color: 0 0 0 0;
25608             }
25609          }
25610          part {
25611             name: "base_sh";
25612             mouse_events: 0;
25613             description {
25614                state: "default" 0.0;
25615                align: 0.0 0.0;
25616                min: 0 10;
25617                fixed: 1 1;
25618                rel1 {
25619                   to: "base";
25620                   relative: 0.0 1.0;
25621                   offset: 0 0;
25622                }
25623                rel2 {
25624                   to: "base";
25625                   relative: 1.0 1.0;
25626                   offset: -1 0;
25627                }
25628                image {
25629                   normal: "ilist_item_shadow.png";
25630                }
25631                fill.smooth: 0;
25632             }
25633          }
25634          part {
25635             name: "base";
25636             mouse_events: 0;
25637             description {
25638                state: "default" 0.0;
25639                image {
25640                   normal: "ilist_1.png";
25641                   border: 2 2 2 2;
25642                }
25643                fill.smooth: 0;
25644             }
25645          }
25646          part { name: "bg";
25647             clip_to: "disclip";
25648             mouse_events: 0;
25649             description { state: "default" 0.0;
25650                visible: 0;
25651                color: 255 255 255 0;
25652                rel1 {
25653                   relative: 0.0 0.0;
25654                   offset: -5 -5;
25655                }
25656                rel2 {
25657                   relative: 1.0 1.0;
25658                   offset: 4 4;
25659                }
25660                image {
25661                   normal: "bt_sm_base1.png";
25662                   border: 6 6 6 6;
25663                }
25664                image.middle: SOLID;
25665             }
25666             description { state: "selected" 0.0;
25667                inherit: "default" 0.0;
25668                visible: 1;
25669                color: 255 255 255 255;
25670                rel1 {
25671                   relative: 0.0 0.0;
25672                   offset: -2 -2;
25673                }
25674                rel2 {
25675                   relative: 1.0 1.0;
25676                   offset: 1 1;
25677                }
25678             }
25679          }
25680          part { name: "elm.swallow.pad";
25681             type: SWALLOW;
25682             description { state: "default" 0.0;
25683                fixed: 1 0;
25684                align: 0.0 0.5;
25685                rel1 {
25686                   relative: 0.0  0.0;
25687                   offset:   4    4;
25688                }
25689                rel2 {
25690                   relative: 0.0  1.0;
25691                   offset:   4   -5;
25692                }
25693             }
25694          }
25695          part { name: "elm.swallow.preview";
25696             clip_to: "disclip";
25697             type: SWALLOW;
25698             description { state: "default" 0.0;
25699                fixed: 1 0;
25700                align: 0.0 0.5;
25701                min: 68 68;
25702                max: 68 68;
25703                rel1 {
25704                   to_x: "elm.swallow.pad";
25705                   relative: 1.0  0.0;
25706                   offset:   -1    4;
25707                }
25708                rel2 {
25709                   to_x: "elm.swallow.pad";
25710                   relative: 1.0  1.0;
25711                   offset:   -1   -5;
25712                }
25713             }
25714          }
25715          part { name: "elm.text.title";
25716             clip_to: "disclip";
25717             type:           TEXT;
25718             effect:         SOFT_SHADOW;
25719             mouse_events:   0;
25720             scale: 1;
25721             description {
25722                state: "default" 0.0;
25723                rel1 {
25724                   to_x:     "elm.swallow.preview";
25725                   relative: 1.0  0.0;
25726                   offset:   4 4;
25727                }
25728                rel2 {
25729                   relative: 1.0  0.5;
25730                   offset:   -1 -5;
25731                }
25732                color: 0 0 0 255;
25733                color3: 0 0 0 0;
25734                text {
25735                   font: "Sans";
25736                   size: 10;
25737                   min: 0 1;
25738                   align: 0.0 0.5;
25739                }
25740             }
25741             description { state: "selected" 0.0;
25742                inherit: "default" 0.0;
25743                color: 224 224 224 255;
25744                color3: 0 0 0 64;
25745             }
25746          }
25747          part { name: "elm.text.artist";
25748             clip_to: "disclip";
25749             type:           TEXT;
25750             mouse_events:   0;
25751             scale: 1;
25752             description {
25753                state: "default" 0.0;
25754                rel1 {
25755                   to_x:     "elm.swallow.preview";
25756                   relative: 1.0  0.5;
25757                   offset:   4 4;
25758                }
25759                rel2 {
25760                   relative: 1.0  1.0;
25761                   offset:   -1 -5;
25762                }
25763                color: 0 0 0 128;
25764                color3: 0 0 0 0;
25765                text {
25766                   font: "Sans";
25767                   size: 8;
25768                   min: 0 1;
25769                   align: 0.0 0.5;
25770                }
25771             }
25772             description { state: "selected" 0.0;
25773                inherit: "default" 0.0;
25774                color: 128 128 128 255;
25775                color3: 0 0 0 32;
25776             }
25777          }
25778          part { name: "fg1";
25779             clip_to: "disclip";
25780             mouse_events: 0;
25781             description { state: "default" 0.0;
25782                visible: 0;
25783                color: 255 255 255 0;
25784                rel1.to: "bg";
25785                rel2.relative: 1.0 0.5;
25786                rel2.to: "bg";
25787                image {
25788                   normal: "bt_sm_hilight.png";
25789                   border: 6 6 6 0;
25790                }
25791             }
25792             description { state: "selected" 0.0;
25793                inherit: "default" 0.0;
25794                visible: 1;
25795                color: 255 255 255 255;
25796             }
25797          }
25798          part { name: "fg2";
25799             clip_to: "disclip";
25800             mouse_events: 0;
25801             description { state: "default" 0.0;
25802                visible: 0;
25803                color: 255 255 255 0;
25804                rel1.to: "bg";
25805                rel2.to: "bg";
25806                image {
25807                   normal: "bt_sm_shine.png";
25808                   border: 6 6 6 0;
25809                }
25810             }
25811             description { state: "selected" 0.0;
25812                inherit: "default" 0.0;
25813                visible: 1;
25814                color: 255 255 255 255;
25815             }
25816          }
25817          part { name: "disclip";
25818             type: RECT;
25819             description { state: "default" 0.0;
25820                rel1.to: "bg";
25821                rel2.to: "bg";
25822             }
25823             description { state: "disabled" 0.0;
25824                inherit: "default" 0.0;
25825                color: 255 255 255 64;
25826             }
25827          }
25828       }
25829       programs {
25830          // signal: elm,state,%s,active
25831          //   a "check" item named %s went active
25832          // signal: elm,state,%s,passive
25833          //   a "check" item named %s went passive
25834          // default is passive
25835          program {
25836             name:    "go_active";
25837             signal:  "elm,state,selected";
25838             source:  "elm";
25839             action:  STATE_SET "selected" 0.0;
25840             target:  "bg";
25841             target:  "fg1";
25842             target:  "fg2";
25843             target:  "elm.text.title";
25844             target:  "elm.text.artist";
25845          }
25846          program {
25847             name:    "go_passive";
25848             signal:  "elm,state,unselected";
25849             source:  "elm";
25850             action:  STATE_SET "default" 0.0;
25851             target:  "bg";
25852             target:  "fg1";
25853             target:  "fg2";
25854             target:  "elm.text.title";
25855             target:  "elm.text.artist";
25856             transition: LINEAR 0.1;
25857          }
25858          program {
25859             name:    "go_disabled";
25860             signal:  "elm,state,disabled";
25861             source:  "elm";
25862             action:  STATE_SET "disabled" 0.0;
25863             target:  "disclip";
25864          }
25865          program {
25866             name:    "go_enabled";
25867             signal:  "elm,state,enabled";
25868             source:  "elm";
25869             action:  STATE_SET "default" 0.0;
25870             target:  "disclip";
25871          }
25872       }
25873    }
25874    group { name: "elm/genlist/item_compress_odd/media-preview/default";
25875       data.item: "stacking" "below";
25876       data.item: "selectraise" "on";
25877       data.item: "labels" "elm.text.title elm.text.artist";
25878       data.item: "icons" "elm.swallow.preview";
25879       data.item: "treesize" "20";
25880       images {
25881          image: "bt_sm_base1.png" COMP;
25882          image: "bt_sm_shine.png" COMP;
25883          image: "bt_sm_hilight.png" COMP;
25884          image: "ilist_2.png" COMP;
25885       }
25886       parts {
25887          part { name: "event";
25888             type: RECT;
25889             repeat_events: 1;
25890             description {
25891                state: "default" 0.0;
25892                color: 0 0 0 0;
25893             }
25894          }
25895          part {
25896             name: "base";
25897             mouse_events: 0;
25898             description {
25899                state: "default" 0.0;
25900                image {
25901                   normal: "ilist_2.png";
25902                   border: 2 2 2 2;
25903                }
25904                fill.smooth: 0;
25905             }
25906          }
25907          part { name: "bg";
25908             clip_to: "disclip";
25909             mouse_events: 0;
25910             description { state: "default" 0.0;
25911                visible: 0;
25912                color: 255 255 255 0;
25913                rel1 {
25914                   relative: 0.0 0.0;
25915                   offset: -5 -5;
25916                }
25917                rel2 {
25918                   relative: 1.0 1.0;
25919                   offset: 4 4;
25920                }
25921                image {
25922                   normal: "bt_sm_base1.png";
25923                   border: 6 6 6 6;
25924                }
25925                image.middle: SOLID;
25926             }
25927             description { state: "selected" 0.0;
25928                inherit: "default" 0.0;
25929                visible: 1;
25930                color: 255 255 255 255;
25931                rel1 {
25932                   relative: 0.0 0.0;
25933                   offset: -2 -2;
25934                }
25935                rel2 {
25936                   relative: 1.0 1.0;
25937                   offset: 1 1;
25938                }
25939             }
25940          }
25941          part { name: "elm.swallow.pad";
25942             type: SWALLOW;
25943             description { state: "default" 0.0;
25944                fixed: 1 0;
25945                align: 0.0 0.5;
25946                rel1 {
25947                   relative: 0.0  0.0;
25948                   offset:   4    4;
25949                }
25950                rel2 {
25951                   relative: 0.0  1.0;
25952                   offset:   4   -5;
25953                }
25954             }
25955          }
25956          part { name: "elm.swallow.preview";
25957             clip_to: "disclip";
25958             type: SWALLOW;
25959             description { state: "default" 0.0;
25960                fixed: 1 0;
25961                align: 0.0 0.5;
25962                min: 68 68;
25963                max: 68 68;
25964                rel1 {
25965                   to_x: "elm.swallow.pad";
25966                   relative: 1.0  0.0;
25967                   offset:   -1    4;
25968                }
25969                rel2 {
25970                   to_x: "elm.swallow.pad";
25971                   relative: 1.0  1.0;
25972                   offset:   -1   -5;
25973                }
25974             }
25975          }
25976          part { name: "elm.text.title";
25977             clip_to: "disclip";
25978             type:           TEXT;
25979             effect:         SOFT_SHADOW;
25980             mouse_events:   0;
25981             scale: 1;
25982             description {
25983                state: "default" 0.0;
25984                rel1 {
25985                   to_x:     "elm.swallow.preview";
25986                   relative: 1.0  0.0;
25987                   offset:   4 4;
25988                }
25989                rel2 {
25990                   relative: 1.0  0.5;
25991                   offset:   -1 -5;
25992                }
25993                color: 0 0 0 255;
25994                color3: 0 0 0 0;
25995                text {
25996                   font: "Sans";
25997                   size: 10;
25998                   min: 0 1;
25999                   align: 0.0 0.5;
26000                }
26001             }
26002             description { state: "selected" 0.0;
26003                inherit: "default" 0.0;
26004                color: 224 224 224 255;
26005                color3: 0 0 0 64;
26006             }
26007          }
26008          part { name: "elm.text.artist";
26009             clip_to: "disclip";
26010             type:           TEXT;
26011             mouse_events:   0;
26012             scale: 1;
26013             description {
26014                state: "default" 0.0;
26015                rel1 {
26016                   to_x:     "elm.swallow.preview";
26017                   relative: 1.0  0.5;
26018                   offset:   4 4;
26019                }
26020                rel2 {
26021                   relative: 1.0  1.0;
26022                   offset:   -1 -5;
26023                }
26024                color: 0 0 0 128;
26025                color3: 0 0 0 0;
26026                text {
26027                   font: "Sans";
26028                   size: 8;
26029                   min: 0 1;
26030                   align: 0.0 0.5;
26031                }
26032             }
26033             description { state: "selected" 0.0;
26034                inherit: "default" 0.0;
26035                color: 128 128 128 255;
26036                color3: 0 0 0 32;
26037             }
26038          }
26039          part { name: "fg1";
26040             clip_to: "disclip";
26041             mouse_events: 0;
26042             description { state: "default" 0.0;
26043                visible: 0;
26044                color: 255 255 255 0;
26045                rel1.to: "bg";
26046                rel2.relative: 1.0 0.5;
26047                rel2.to: "bg";
26048                image {
26049                   normal: "bt_sm_hilight.png";
26050                   border: 6 6 6 0;
26051                }
26052             }
26053             description { state: "selected" 0.0;
26054                inherit: "default" 0.0;
26055                visible: 1;
26056                color: 255 255 255 255;
26057             }
26058          }
26059          part { name: "fg2";
26060             clip_to: "disclip";
26061             mouse_events: 0;
26062             description { state: "default" 0.0;
26063                visible: 0;
26064                color: 255 255 255 0;
26065                rel1.to: "bg";
26066                rel2.to: "bg";
26067                image {
26068                   normal: "bt_sm_shine.png";
26069                   border: 6 6 6 0;
26070                }
26071             }
26072             description { state: "selected" 0.0;
26073                inherit: "default" 0.0;
26074                visible: 1;
26075                color: 255 255 255 255;
26076             }
26077          }
26078          part { name: "disclip";
26079             type: RECT;
26080             description { state: "default" 0.0;
26081                rel1.to: "bg";
26082                rel2.to: "bg";
26083             }
26084             description { state: "disabled" 0.0;
26085                inherit: "default" 0.0;
26086                color: 255 255 255 64;
26087             }
26088          }
26089       }
26090       programs {
26091          // signal: elm,state,%s,active
26092          //   a "check" item named %s went active
26093          // signal: elm,state,%s,passive
26094          //   a "check" item named %s went passive
26095          // default is passive
26096          program {
26097             name:    "go_active";
26098             signal:  "elm,state,selected";
26099             source:  "elm";
26100             action:  STATE_SET "selected" 0.0;
26101             target:  "bg";
26102             target:  "fg1";
26103             target:  "fg2";
26104             target:  "elm.text.title";
26105             target:  "elm.text.artist";
26106          }
26107          program {
26108             name:    "go_passive";
26109             signal:  "elm,state,unselected";
26110             source:  "elm";
26111             action:  STATE_SET "default" 0.0;
26112             target:  "bg";
26113             target:  "fg1";
26114             target:  "fg2";
26115             target:  "elm.text.title";
26116             target:  "elm.text.artist";
26117             transition: LINEAR 0.1;
26118          }
26119          program {
26120             name:    "go_disabled";
26121             signal:  "elm,state,disabled";
26122             source:  "elm";
26123             action:  STATE_SET "disabled" 0.0;
26124             target:  "disclip";
26125          }
26126          program {
26127             name:    "go_enabled";
26128             signal:  "elm,state,enabled";
26129             source:  "elm";
26130             action:  STATE_SET "default" 0.0;
26131             target:  "disclip";
26132          }
26133       }
26134    }
26135
26136 ///////////////////////////////////////////////////////////////////////////////
26137    group { name: "elm/pager/base/default";
26138       data.item: "onshow" "raise";
26139 // other options
26140 //      data.item: "onhide" "lower";
26141 //      data.item: "onshow" "lower";
26142       images {
26143          image: "frame_1.png" COMP;
26144          image: "frame_2.png" COMP;
26145          image: "dia_grad.png" COMP;
26146       }
26147       parts {
26148          part { name: "clip";
26149             type: RECT;
26150             mouse_events: 0;
26151             description { state: "default" 0.0;
26152                rel1 {
26153                   to: "base";
26154                   offset: -9999 -9999;
26155                }
26156                rel2 {
26157                   to: "base";
26158                   offset: 9999 9999;
26159                }
26160                color: 255 255 255 255;
26161             }
26162             description { state: "visible" 0.0;
26163                inherit: "default" 0.0;
26164             }
26165             description { state: "hidden" 0.0;
26166                inherit: "default" 0.0;
26167                color: 255 255 255 0;
26168                visible: 0;
26169             }
26170          }
26171          part { name: "base0";
26172             mouse_events:  0;
26173             clip_to: "clip";
26174             description { state: "default" 0.0;
26175                image.normal: "dia_grad.png";
26176                rel1.to: "over";
26177                rel2.to: "over";
26178                fill {
26179                   smooth: 0;
26180                   size {
26181                      relative: 0.0 1.0;
26182                      offset: 64 0;
26183                   }
26184                }
26185             }
26186          }
26187          part { name: "base";
26188             mouse_events:  0;
26189             clip_to: "clip";
26190             description { state: "default" 0.0;
26191                image {
26192                   normal: "frame_2.png";
26193                   border: 5 5 32 26;
26194                   middle: 0;
26195                }
26196                fill.smooth : 0;
26197             }
26198             description { state: "hidden" 0.0;
26199                inherit: "default" 0.0;
26200                rel1.relative: -1.0 0.0;
26201                rel2.relative: 0.0 1.0;
26202             }
26203             description { state: "visible" 0.0;
26204                inherit: "default" 0.0;
26205                rel1.relative: 0.0 0.0;
26206                rel2.relative: 1.0 1.0;
26207             }
26208          }
26209          part { name: "over";
26210             mouse_events:  0;
26211             clip_to: "clip";
26212             description { state:    "default" 0.0;
26213                rel1 {
26214                   to: "base";
26215                   offset: 4 4;
26216                }
26217                rel2 {
26218                   to: "base";
26219                   offset: -5 -5;
26220                }
26221                image {
26222                   normal: "frame_1.png";
26223                   border: 2 2 28 22;
26224                   middle: 0;
26225                }
26226                fill.smooth : 0;
26227             }
26228          }
26229          part { name: "elm.swallow.content";
26230             type: SWALLOW;
26231             clip_to: "clip";
26232             description { state: "default" 0.0;
26233                rel1 {
26234                   to: "base";
26235                   offset: 8 8;
26236                }
26237                rel2 {
26238                   to: "base";
26239                   offset: -9 -9;
26240                }
26241             }
26242          }
26243       }
26244       programs {
26245          program { name: "push_start";
26246             signal: "elm,action,push";
26247             source: "elm";
26248             action:  STATE_SET "hidden" 0.0;
26249             target: "base";
26250             target: "clip";
26251             after: "show_start2";
26252          }
26253          program { name: "show_start";
26254             signal: "elm,action,show";
26255             source: "elm";
26256             action:  STATE_SET "hidden" 0.0;
26257             target: "base";
26258             target: "clip";
26259             after: "show_start2";
26260          }
26261          program { name: "show_start2";
26262             action:  STATE_SET "visible" 0.0;
26263             transition: DECELERATE 0.5;
26264             target: "base";
26265             target: "clip";
26266             after: "show_end";
26267          }
26268          program { name: "show_end";
26269             action: SIGNAL_EMIT "elm,action,show,finished" "";
26270          }
26271          program { name: "pop_start";
26272             signal: "elm,action,pop";
26273             source: "elm";
26274             action:  STATE_SET "visible" 0.0;
26275             target: "base";
26276             target: "clip";
26277             after: "hide_start2";
26278          }
26279          program { name: "hide_start";
26280             signal: "elm,action,hide";
26281             source: "elm";
26282             action:  STATE_SET "visible" 0.0;
26283             target: "base";
26284             target: "clip";
26285             after: "hide_start2";
26286          }
26287          program { name: "hide_start2";
26288             action:  STATE_SET "hidden" 0.0;
26289             transition: DECELERATE 0.5;
26290             target: "base";
26291             target: "clip";
26292             after: "hide_end";
26293          }
26294          program { name: "hide_end";
26295             action: SIGNAL_EMIT "elm,action,hide,finished" "";
26296          }
26297          program { name: "reset";
26298             signal: "elm,action,reset";
26299             source: "elm";
26300             action:  STATE_SET "default" 0.0;
26301             target: "base";
26302             target: "clip";
26303          }
26304       }
26305    }
26306
26307    group { name: "elm/pager/base/slide";
26308       images {
26309          image: "frame_1.png" COMP;
26310          image: "frame_2.png" COMP;
26311          image: "dia_grad.png" COMP;
26312       }
26313       parts {
26314          part { name: "clip";
26315             type: RECT;
26316             mouse_events: 0;
26317             description { state: "default" 0.0;
26318                rel1 {
26319                   to: "base";
26320                   offset: -9999 -9999;
26321                }
26322                rel2 {
26323                   to: "base";
26324                   offset: 9999 9999;
26325                }
26326                color: 255 255 255 255;
26327             }
26328             description { state: "visible" 0.0;
26329                inherit: "default" 0.0;
26330             }
26331             description { state: "hidden" 0.0;
26332                inherit: "default" 0.0;
26333                color: 255 255 255 0;
26334                visible: 0;
26335             }
26336             description { state: "hidden2" 0.0;
26337                inherit: "default" 0.0;
26338                color: 255 255 255 0;
26339                visible: 0;
26340             }
26341          }
26342          part { name: "base0";
26343             mouse_events:  0;
26344             clip_to: "clip";
26345             description { state: "default" 0.0;
26346                image.normal: "dia_grad.png";
26347                rel1.to: "over";
26348                rel2.to: "over";
26349                fill {
26350                   smooth: 0;
26351                   size {
26352                      relative: 0.0 1.0;
26353                      offset: 64 0;
26354                   }
26355                }
26356             }
26357          }
26358          part { name: "base";
26359             mouse_events:  0;
26360             clip_to: "clip";
26361             description { state: "default" 0.0;
26362                image {
26363                   normal: "frame_2.png";
26364                   border: 5 5 32 26;
26365                   middle: 0;
26366                }
26367                fill.smooth : 0;
26368             }
26369             description { state: "hidden" 0.0;
26370                inherit: "default" 0.0;
26371                rel1.relative: -1.0 0.0;
26372                rel2.relative: 0.0 1.0;
26373             }
26374             description { state: "hidden2" 0.0;
26375                inherit: "default" 0.0;
26376                rel1.relative: 1.0 0.0;
26377                rel2.relative: 2.0 1.0;
26378             }
26379             description { state: "visible" 0.0;
26380                inherit: "default" 0.0;
26381                rel1.relative: 0.0 0.0;
26382                rel2.relative: 1.0 1.0;
26383             }
26384          }
26385          part { name: "over";
26386             mouse_events:  0;
26387             clip_to: "clip";
26388             description { state:    "default" 0.0;
26389                rel1 {
26390                   to: "base";
26391                   offset: 4 4;
26392                }
26393                rel2 {
26394                   to: "base";
26395                   offset: -5 -5;
26396                }
26397                image {
26398                   normal: "frame_1.png";
26399                   border: 2 2 28 22;
26400                   middle: 0;
26401                }
26402                fill.smooth : 0;
26403             }
26404          }
26405          part { name: "elm.swallow.content";
26406             type: SWALLOW;
26407             clip_to: "clip";
26408             description { state: "default" 0.0;
26409                rel1 {
26410                   to: "base";
26411                   offset: 8 8;
26412                }
26413                rel2 {
26414                   to: "base";
26415                   offset: -9 -9;
26416                }
26417             }
26418          }
26419       }
26420       programs {
26421          program { name: "push_start";
26422             signal: "elm,action,push";
26423             source: "elm";
26424             action:  STATE_SET "hidden2" 0.0;
26425             target: "base";
26426             target: "clip";
26427             after: "show_start2";
26428          }
26429          program { name: "show_start";
26430             signal: "elm,action,show";
26431             source: "elm";
26432             action:  STATE_SET "hidden" 0.0;
26433             target: "base";
26434             target: "clip";
26435             after: "show_start2";
26436          }
26437          program { name: "show_start2";
26438             action:  STATE_SET "visible" 0.0;
26439             transition: DECELERATE 0.5;
26440             target: "base";
26441             target: "clip";
26442             after: "show_end";
26443          }
26444          program { name: "show_end";
26445             action: SIGNAL_EMIT "elm,action,show,finished" "";
26446          }
26447          program { name: "pop_start";
26448             signal: "elm,action,pop";
26449             source: "elm";
26450             action:  STATE_SET "visible" 0.0;
26451             target: "base";
26452             target: "clip";
26453             after: "pop_start2";
26454          }
26455          program { name: "pop_start2";
26456             action:  STATE_SET "hidden2" 0.0;
26457             transition: DECELERATE 0.5;
26458             target: "base";
26459             target: "clip";
26460             after: "hide_end";
26461          }
26462          program { name: "hide_start";
26463             signal: "elm,action,hide";
26464             source: "elm";
26465             action:  STATE_SET "visible" 0.0;
26466             target: "base";
26467             target: "clip";
26468             after: "hide_start2";
26469          }
26470          program { name: "hide_start2";
26471             action:  STATE_SET "hidden" 0.0;
26472             transition: DECELERATE 0.5;
26473             target: "base";
26474             target: "clip";
26475             after: "hide_end";
26476          }
26477          program { name: "hide_end";
26478             action: SIGNAL_EMIT "elm,action,hide,finished" "";
26479          }
26480          program { name: "reset";
26481             signal: "elm,action,reset";
26482             source: "elm";
26483             action:  STATE_SET "default" 0.0;
26484             target: "base";
26485             target: "clip";
26486          }
26487       }
26488    }
26489    group { name: "elm/pager/base/slide_invisible";
26490       parts {
26491          part { name: "clip";
26492             type: RECT;
26493             mouse_events: 0;
26494             description { state: "default" 0.0;
26495                rel1 {
26496                   to: "base";
26497                   offset: -9999 -9999;
26498             }
26499                rel2 {
26500                   to: "base";
26501                   offset: 9999 9999;
26502                }
26503                color: 255 255 255 255;
26504             }
26505             description { state: "visible" 0.0;
26506                inherit: "default" 0.0;
26507             }
26508             description { state: "hidden" 0.0;
26509                inherit: "default" 0.0;
26510                color: 255 255 255 0;
26511                visible: 0;
26512             }
26513             description { state: "hidden2" 0.0;
26514                inherit: "default" 0.0;
26515                color: 255 255 255 0;
26516                visible: 0;
26517             }
26518          }
26519          part { name: "base";
26520             type: RECT;
26521             mouse_events:  0;
26522             clip_to: "clip";
26523             description { state: "default" 0.0;
26524                color: 0 0 0 0;
26525             }
26526             description { state: "hidden" 0.0;
26527                color: 0 0 0 0;
26528                rel1.relative: -1.0 0.0;
26529                rel2.relative: 0.0 1.0;
26530             }
26531             description { state: "hidden2" 0.0;
26532                color: 0 0 0 0;
26533                rel1.relative: 1.0 0.0;
26534                rel2.relative: 2.0 1.0;
26535             }
26536             description { state: "visible" 0.0;
26537                color: 0 0 0 0;
26538                rel1.relative: 0.0 0.0;
26539                rel2.relative: 1.0 1.0;
26540             }
26541          }
26542          part { name: "elm.swallow.content";
26543             type: SWALLOW;
26544             clip_to: "clip";
26545             description { state: "default" 0.0;
26546                rel1.to: "base";
26547                rel2.to: "base";
26548             }
26549          }
26550       }
26551       programs {
26552          program { name: "push_start";
26553             signal: "elm,action,push";
26554             source: "elm";
26555             action:  STATE_SET "hidden2" 0.0;
26556             target: "base";
26557             target: "clip";
26558             after: "show_start2";
26559          }
26560          program { name: "show_start";
26561             signal: "elm,action,show";
26562             source: "elm";
26563             action:  STATE_SET "hidden" 0.0;
26564             target: "base";
26565             target: "clip";
26566             after: "show_start2";
26567          }
26568          program { name: "show_start2";
26569             action:  STATE_SET "visible" 0.0;
26570             transition: DECELERATE 0.5;
26571             target: "base";
26572             target: "clip";
26573             after: "show_end";
26574          }
26575          program { name: "show_end";
26576             action: SIGNAL_EMIT "elm,action,show,finished" "";
26577          }
26578          program { name: "pop_start";
26579             signal: "elm,action,pop";
26580             source: "elm";
26581             action:  STATE_SET "visible" 0.0;
26582             target: "base";
26583             target: "clip";
26584             after: "pop_start2";
26585          }
26586          program { name: "pop_start2";
26587             action:  STATE_SET "hidden2" 0.0;
26588             transition: DECELERATE 0.5;
26589             target: "base";
26590             target: "clip";
26591             after: "hide_end";
26592          }
26593          program { name: "hide_start";
26594             signal: "elm,action,hide";
26595             source: "elm";
26596             action:  STATE_SET "visible" 0.0;
26597             target: "base";
26598             target: "clip";
26599             after: "hide_start2";
26600          }
26601          program { name: "hide_start2";
26602             action:  STATE_SET "hidden" 0.0;
26603             transition: DECELERATE 0.5;
26604             target: "base";
26605             target: "clip";
26606             after: "hide_end";
26607          }
26608          program { name: "hide_end";
26609             action: SIGNAL_EMIT "elm,action,hide,finished" "";
26610          }
26611          program { name: "reset";
26612             signal: "elm,action,reset";
26613             source: "elm";
26614             action:  STATE_SET "default" 0.0;
26615             target: "base";
26616             target: "clip";
26617          }
26618       }
26619    }
26620
26621    group { name: "elm/pager/base/fade";
26622        data.item: "onshow" "raise";
26623        // other options
26624        //      data.item: "onhide" "lower";
26625        //      data.item: "onshow" "lower";
26626        images {
26627            image: "frame_1.png" COMP;
26628            image: "frame_2.png" COMP;
26629            image: "dia_grad.png" COMP;
26630        }
26631        parts {
26632            part { name: "clip_base";
26633                type: RECT;
26634                mouse_events: 0;
26635                description { state: "default" 0.0;
26636                    rel1 {
26637                        to: "base";
26638                        offset: -9999 -9999;
26639                    }
26640                    rel2 {
26641                        to: "base";
26642                        offset: 9999 9999;
26643                    }
26644                    color: 255 255 255 120;
26645                }
26646                description { state: "visible" 0.0;
26647                    inherit: "default" 0.0;
26648                }
26649                description { state: "hidden" 0.0;
26650                    inherit: "default" 0.0;
26651                    color: 255 255 255 0;
26652                    visible: 0;
26653                }
26654            }
26655            part { name: "clip";
26656                type: RECT;
26657                mouse_events: 0;
26658                description { state: "default" 0.0;
26659                    rel1 {
26660                        to: "base";
26661                        offset: -9999 -9999;
26662                    }
26663                    rel2 {
26664                        to: "base";
26665                        offset: 9999 9999;
26666                    }
26667                    color: 255 255 255 255;
26668                }
26669                description { state: "visible" 0.0;
26670                    inherit: "default" 0.0;
26671                }
26672                description { state: "hidden" 0.0;
26673                    inherit: "default" 0.0;
26674                    color: 255 255 255 0;
26675                    visible: 0;
26676                }
26677            }
26678            part { name: "base0";
26679                mouse_events:  0;
26680                clip_to: "clip_base";
26681                description { state: "default" 0.0;
26682                    image.normal: "dia_grad.png";
26683                    rel1.to: "over";
26684                    rel2.to: "over";
26685                    fill {
26686                        smooth: 0;
26687                        size {
26688                            relative: 0.0 1.0;
26689                            offset: 64 0;
26690                        }
26691                    }
26692                }
26693            }
26694            part { name: "base";
26695                mouse_events:  0;
26696                clip_to: "clip_base";
26697                description { state: "default" 0.0;
26698                    image {
26699                        normal: "frame_2.png";
26700                        border: 5 5 32 26;
26701                        middle: 0;
26702                    }
26703                    fill.smooth : 0;
26704                }
26705            }
26706            part { name: "over";
26707                mouse_events:  0;
26708                clip_to: "clip";
26709                description { state:    "default" 0.0;
26710                    rel1 {
26711                        to: "base";
26712                        offset: 4 4;
26713                    }
26714                    rel2 {
26715                        to: "base";
26716                        offset: -5 -5;
26717                    }
26718                    image {
26719                        normal: "frame_1.png";
26720                        border: 2 2 28 22;
26721                        middle: 0;
26722                    }
26723                    fill.smooth : 0;
26724                }
26725            }
26726            part { name: "elm.swallow.content";
26727                type: SWALLOW;
26728                clip_to: "clip";
26729                description { state: "default" 0.0;
26730                    rel1 {
26731                        to: "base";
26732                        offset: 8 8;
26733                    }
26734                    rel2 {
26735                        to: "base";
26736                        offset: -9 -9;
26737                    }
26738                }
26739            }
26740        }
26741        programs {
26742            program { name: "push_start";
26743                signal: "elm,action,push";
26744                source: "elm";
26745                action:  STATE_SET "hidden" 0.0;
26746                target: "clip";
26747                target: "clip_base";
26748                after: "show_start2";
26749            }
26750            program { name: "show_start";
26751                signal: "elm,action,show";
26752                source: "elm";
26753                action:  STATE_SET "hidden" 0.0;
26754                target: "clip";
26755                target: "clip_base";
26756                after: "show_start2";
26757            }
26758            program { name: "show_start2";
26759                action:  STATE_SET "visible" 0.0;
26760                transition: DECELERATE 0.5;
26761                target: "clip";
26762                target: "clip_base";
26763                after: "show_end";
26764            }
26765            program { name: "show_end";
26766                action: SIGNAL_EMIT "elm,action,show,finished" "";
26767            }
26768            program { name: "pop_start";
26769                signal: "elm,action,pop";
26770                source: "elm";
26771                action:  STATE_SET "visible" 0.0;
26772                target: "clip";
26773                target: "clip_base";
26774                after: "hide_start2";
26775            }
26776            program { name: "hide_start";
26777                signal: "elm,action,hide";
26778                source: "elm";
26779                action:  STATE_SET "visible" 0.0;
26780                target: "clip";
26781                target: "clip_base";
26782                after: "hide_start2";
26783            }
26784            program { name: "hide_start2";
26785                action:  STATE_SET "hidden" 0.0;
26786                transition: DECELERATE 0.5;
26787                target: "clip";
26788                target: "clip_base";
26789                after: "hide_end";
26790            }
26791            program { name: "hide_end";
26792                action: SIGNAL_EMIT "elm,action,hide,finished" "";
26793            }
26794            program { name: "reset";
26795                signal: "elm,action,reset";
26796                source: "elm";
26797                action:  STATE_SET "default" 0.0;
26798                target: "clip_base";
26799                target: "clip";
26800            }
26801        }
26802    }
26803    group { name: "elm/pager/base/fade_translucide";
26804        data.item: "onshow" "raise";
26805        // other options
26806        //      data.item: "onhide" "lower";
26807        //      data.item: "onshow" "lower";
26808        images {
26809            image: "frame_1.png" COMP;
26810            image: "frame_2.png" COMP;
26811            image: "dia_grad.png" COMP;
26812        }
26813        parts {
26814            part { name: "clip_base";
26815                type: RECT;
26816                mouse_events: 0;
26817                description { state: "default" 0.0;
26818                    rel1 {
26819                        to: "base";
26820                        offset: -9999 -9999;
26821                    }
26822                    rel2 {
26823                        to: "base";
26824                        offset: 9999 9999;
26825                    }
26826                    color: 255 255 255 120;
26827                }
26828                description { state: "visible" 0.0;
26829                    inherit: "default" 0.0;
26830                }
26831                description { state: "hidden" 0.0;
26832                    inherit: "default" 0.0;
26833                    color: 255 255 255 0;
26834                    visible: 0;
26835                }
26836            }
26837            part { name: "clip";
26838                type: RECT;
26839                mouse_events: 0;
26840                description { state: "default" 0.0;
26841                    rel1 {
26842                        to: "base";
26843                        offset: -9999 -9999;
26844                    }
26845                    rel2 {
26846                        to: "base";
26847                        offset: 9999 9999;
26848                    }
26849                    color: 255 255 255 255;
26850                }
26851                description { state: "visible" 0.0;
26852                    inherit: "default" 0.0;
26853                }
26854                description { state: "hidden" 0.0;
26855                    inherit: "default" 0.0;
26856                    color: 255 255 255 0;
26857                    visible: 0;
26858                }
26859            }
26860            part { name: "base0";
26861                mouse_events:  0;
26862                clip_to: "clip_base";
26863                description { state: "default" 0.0;
26864                    image.normal: "dia_grad.png";
26865                    rel1.to: "over";
26866                    rel2.to: "over";
26867                    fill {
26868                        smooth: 0;
26869                        size {
26870                            relative: 0.0 1.0;
26871                            offset: 64 0;
26872                        }
26873                    }
26874                }
26875            }
26876            part { name: "base";
26877                mouse_events:  0;
26878                clip_to: "clip_base";
26879                description { state: "default" 0.0;
26880                    image {
26881                        normal: "frame_2.png";
26882                        border: 5 5 32 26;
26883                        middle: 0;
26884                    }
26885                    fill.smooth : 0;
26886                }
26887            }
26888            part { name: "over";
26889                mouse_events:  0;
26890                clip_to: "clip";
26891                description { state:    "default" 0.0;
26892                    rel1 {
26893                        to: "base";
26894                        offset: 4 4;
26895                    }
26896                    rel2 {
26897                        to: "base";
26898                        offset: -5 -5;
26899                    }
26900                    image {
26901                        normal: "frame_1.png";
26902                        border: 2 2 28 22;
26903                        middle: 0;
26904                    }
26905                    fill.smooth : 0;
26906                }
26907            }
26908            part { name: "elm.swallow.content";
26909                type: SWALLOW;
26910                clip_to: "clip";
26911                description { state: "default" 0.0;
26912                    rel1 {
26913                        to: "base";
26914                        offset: 8 8;
26915                    }
26916                    rel2 {
26917                        to: "base";
26918                        offset: -9 -9;
26919                    }
26920                }
26921            }
26922        }
26923        programs {
26924            program { name: "push_start";
26925                signal: "elm,action,push";
26926                source: "elm";
26927                action:  STATE_SET "hidden" 0.0;
26928                target: "clip";
26929                target: "clip_base";
26930                after: "show_start2";
26931            }
26932            program { name: "show_start";
26933                signal: "elm,action,show";
26934                source: "elm";
26935                action:  STATE_SET "hidden" 0.0;
26936                target: "clip";
26937                target: "clip_base";
26938                after: "show_start2";
26939            }
26940            program { name: "show_start2";
26941                action:  STATE_SET "visible" 0.0;
26942                transition: DECELERATE 0.5;
26943                target: "clip";
26944                target: "clip_base";
26945                after: "show_end";
26946            }
26947            program { name: "show_end";
26948                action: SIGNAL_EMIT "elm,action,show,finished" "";
26949            }
26950            program { name: "pop_start";
26951                signal: "elm,action,pop";
26952                source: "elm";
26953                action:  STATE_SET "visible" 0.0;
26954                target: "clip";
26955                target: "clip_base";
26956                after: "hide_start2";
26957            }
26958            program { name: "hide_start";
26959                signal: "elm,action,hide";
26960                source: "elm";
26961                action:  STATE_SET "visible" 0.0;
26962                target: "clip";
26963                target: "clip_base";
26964                after: "hide_start2";
26965            }
26966            program { name: "hide_start2";
26967                action:  STATE_SET "hidden" 0.0;
26968                transition: DECELERATE 0.5;
26969                target: "clip";
26970                target: "clip_base";
26971                after: "hide_end";
26972            }
26973            program { name: "hide_end";
26974                action: SIGNAL_EMIT "elm,action,hide,finished" "";
26975            }
26976            program { name: "reset";
26977                signal: "elm,action,reset";
26978                source: "elm";
26979                action:  STATE_SET "default" 0.0;
26980                target: "clip_base";
26981                target: "clip";
26982            }
26983        }
26984    }
26985    group { name: "elm/pager/base/fade_invisible";
26986        data.item: "onshow" "raise";
26987        // other options
26988        //      data.item: "onhide" "lower";
26989        //      data.item: "onshow" "lower";
26990        parts {
26991            part { name: "clip";
26992                type: RECT;
26993                mouse_events: 0;
26994                description { state: "default" 0.0;
26995                    rel1 {
26996                        offset: -9999 -9999;
26997                    }
26998                    rel2 {
26999                        offset: 9999 9999;
27000                    }
27001                    color: 255 255 255 255;
27002                }
27003                description { state: "visible" 0.0;
27004                    inherit: "default" 0.0;
27005                }
27006                description { state: "hidden" 0.0;
27007                    inherit: "default" 0.0;
27008                    color: 255 255 255 0;
27009                    visible: 0;
27010                }
27011            }
27012            part { name: "elm.swallow.content";
27013                type: SWALLOW;
27014                clip_to: "clip";
27015                description { state: "default" 0.0;
27016                    rel1 {
27017                        offset: 8 8;
27018                    }
27019                    rel2 {
27020                        offset: -9 -9;
27021                    }
27022                }
27023            }
27024        }
27025        programs {
27026            program { name: "push_start";
27027                signal: "elm,action,push";
27028                source: "elm";
27029                action:  STATE_SET "hidden" 0.0;
27030                target: "clip";
27031                after: "show_start2";
27032            }
27033            program { name: "show_start";
27034                signal: "elm,action,show";
27035                source: "elm";
27036                action:  STATE_SET "hidden" 0.0;
27037                target: "clip";
27038                after: "show_start2";
27039            }
27040            program { name: "show_start2";
27041                action:  STATE_SET "visible" 0.0;
27042                transition: DECELERATE 0.5;
27043                target: "clip";
27044                after: "show_end";
27045            }
27046            program { name: "show_end";
27047                action: SIGNAL_EMIT "elm,action,show,finished" "";
27048            }
27049            program { name: "pop_start";
27050                signal: "elm,action,pop";
27051                source: "elm";
27052                action:  STATE_SET "visible" 0.0;
27053                target: "clip";
27054                after: "hide_start2";
27055            }
27056            program { name: "hide_start";
27057                signal: "elm,action,hide";
27058                source: "elm";
27059                action:  STATE_SET "visible" 0.0;
27060                target: "clip";
27061                after: "hide_start2";
27062            }
27063            program { name: "hide_start2";
27064                action:  STATE_SET "hidden" 0.0;
27065                transition: DECELERATE 0.5;
27066                target: "clip";
27067                after: "hide_end";
27068            }
27069            program { name: "hide_end";
27070                action: SIGNAL_EMIT "elm,action,hide,finished" "";
27071            }
27072            program { name: "reset";
27073                signal: "elm,action,reset";
27074                source: "elm";
27075                action:  STATE_SET "default" 0.0;
27076                target: "clip";
27077            }
27078        }
27079    }
27080
27081    group { name: "elm/pager/base/flip";
27082       data.item: "onshow" "raise";
27083       images {
27084          image: "frame_1.png" COMP;
27085          image: "frame_2.png" COMP;
27086          image: "dia_grad.png" COMP;
27087       }
27088       parts {
27089          part { name: "elm.swallow.content";
27090             type: SWALLOW;
27091             description { state: "default" 0.0;
27092                map {
27093                   on: 1;
27094                   smooth: 1;
27095                   backface_cull: 1;
27096                   perspective_on: 1;
27097                }
27098                perspective {
27099                   zplane: 0;
27100                   focal: 1000;
27101                }
27102             }
27103             description { state: "hidden" 0.0;
27104                inherit: "default" 0.0;
27105                visible: 0;
27106                map.rotation.y: 90.0;
27107             }
27108             description { state: "before_hidden" 0.0;
27109                inherit: "default" 0.0;
27110                visible: 0;
27111                map.rotation.y: -90.0;
27112             }
27113          }
27114       }
27115       programs {
27116          program { name: "push_start";
27117             signal: "elm,action,push";
27118             source: "elm";
27119             after: "push1";
27120          }
27121          program { name: "push1";
27122             action:  STATE_SET "hidden" 0.0;
27123             target: "elm.swallow.content";
27124             after: "push2";
27125          }
27126          program { name: "push2";
27127             action:  STATE_SET "default" 0.0;
27128             in: 0.5 0.0;
27129             transition: LINEAR 0.5;
27130             target: "elm.swallow.content";
27131             after: "push3";
27132          }
27133          program { name: "push3";
27134             action: SIGNAL_EMIT "elm,action,show,finished" "";
27135          }
27136
27137          program { name: "show_start";
27138             signal: "elm,action,show";
27139             source: "elm";
27140             after: "show1";
27141          }
27142          program { name: "show1";
27143             action:  STATE_SET "before_hidden" 0.0;
27144             target: "elm.swallow.content";
27145             after: "show2";
27146          }
27147          program { name: "show2";
27148             action:  STATE_SET "default" 0.0;
27149             in: 0.5 0.0;
27150             transition: LINEAR 0.5;
27151             target: "elm.swallow.content";
27152             after: "show3";
27153          }
27154          program { name: "show3";
27155             action: SIGNAL_EMIT "elm,action,show,finished" "";
27156          }
27157
27158          program { name: "pop_start";
27159             signal: "elm,action,pop";
27160             source: "elm";
27161             after: "pop1";
27162          }
27163          program { name: "pop1";
27164             action:  STATE_SET "default" 0.0;
27165             target: "elm.swallow.content";
27166             after: "pop2";
27167          }
27168          program { name: "pop2";
27169             action:  STATE_SET "hidden" 0.0;
27170             transition: LINEAR 0.5;
27171             target: "elm.swallow.content";
27172             after: "pop3";
27173          }
27174          program { name: "pop3";
27175             action: SIGNAL_EMIT "elm,action,hide,finished" "";
27176          }
27177
27178          program { name: "hide_start";
27179             signal: "elm,action,hide";
27180             source: "elm";
27181             after: "hide1";
27182          }
27183          program { name: "hide1";
27184             action:  STATE_SET "default" 0.0;
27185             target: "elm.swallow.content";
27186             after: "hide2";
27187          }
27188          program { name: "hide2";
27189             action:  STATE_SET "before_hidden" 0.0;
27190             transition: LINEAR 0.5;
27191             target: "elm.swallow.content";
27192             after: "hide3";
27193          }
27194          program { name: "hide3";
27195             action: SIGNAL_EMIT "elm,action,hide,finished" "";
27196          }
27197
27198          program { name: "reset";
27199             signal: "elm,action,reset";
27200             source: "elm";
27201             action:  STATE_SET "default" 0.0;
27202             target: "elm.swallow.content";
27203          }
27204       }
27205    }
27206
27207
27208
27209 ///////////////////////////////////////////////////////////////////////////////
27210 // FIXME: this doesn't look too hot. need to fix it up
27211    group { name: "elm/progressbar/horizontal/default";
27212       images {
27213          image: "shelf_inset.png" COMP;
27214          image: "bt_sm_base2.png" COMP;
27215          image: "bt_sm_hilight.png" COMP;
27216          image: "bt_sm_shine.png" COMP;
27217       }
27218       parts {
27219          part { name: "elm.background.progressbar";
27220             mouse_events: 0;
27221             description {
27222                state: "default" 0.0;
27223                rel1 {
27224                   relative: 0.0 0.0;
27225                   offset: 0 0;
27226                }
27227                rel2 {
27228                   relative: 1.0 1.0;
27229                }
27230             }
27231          }
27232          part { name: "elm.swallow.bar";
27233             mouse_events: 0;
27234             type: SWALLOW;
27235             description {
27236                min: 48 28;
27237                max: 99999 28;
27238                state: "default" 0.0;
27239                rel1 {
27240                   to_x: "elm.text";
27241                   to_y: "elm.background.progressbar";
27242                   relative: 1.0 0.0;
27243                }
27244                rel2 {
27245                   to: "elm.background.progressbar";
27246                   relative: 1.0 1.0;
27247                }
27248             }
27249          }
27250          part { name: "elm.swallow.content";
27251             type: SWALLOW;
27252             description { state: "default" 0.0;
27253                visible: 0;
27254                align: 0.0 0.5;
27255                rel1 {
27256                   offset: 4 0;
27257                   to_y: "elm.background.progressbar";
27258                }
27259                rel2 {
27260                   offset: 3 -1;
27261                   relative: 0.0 1.0;
27262                   to_y: "elm.background.progressbar";
27263                }
27264             }
27265             description { state: "visible" 0.0;
27266                inherit: "default" 0.0;
27267                visible: 1;
27268                aspect: 1.0 1.0;
27269                aspect_preference: VERTICAL;
27270                rel2.offset: 4 -1;
27271             }
27272          }
27273          part { name: "elm.text";
27274             type: TEXT;
27275             mouse_events: 0;
27276             scale: 1;
27277             description { state: "default" 0.0;
27278                visible: 0;
27279                fixed: 1 1;
27280                align: 0.0 0.5;
27281                rel1.to_x: "elm.swallow.content";
27282                rel1.relative: 1.0 0.0;
27283                rel1.offset: -1 4;
27284                rel2.to_x: "elm.swallow.content";
27285                rel2.relative: 1.0 1.0;
27286                rel2.offset: -1 -5;
27287                color: 0 0 0 255;
27288                text {
27289                   font: "Sans,Edje-Vera";
27290                   size: 10;
27291                   min: 0 0;
27292                   align: 0.0 0.5;
27293                }
27294             }
27295             description { state: "visible" 0.0;
27296                inherit: "default" 0.0;
27297                visible: 1;
27298                text.min: 1 1;
27299                rel1.offset: 0 4;
27300                rel2.offset: 0 -5;
27301             }
27302          }
27303
27304          part { name: "background";
27305             mouse_events: 0;
27306             clip_to: "elm.background.progressbar";
27307             description {
27308                state: "default" 0.0;
27309                rel1 {
27310                   to: "elm.swallow.bar";
27311                   relative: 0.0 0.0;
27312                }
27313                rel2 {
27314                   to: "elm.swallow.bar";
27315                   relative: 1.0 1.0;
27316                   offset: -1 -1;
27317                }
27318                image {
27319                   normal: "shelf_inset.png";
27320                   border: 7 7 7 7;
27321                }
27322             }
27323          }
27324
27325          part { name: "elm.text.status";
27326             type: TEXT;
27327             mouse_events: 0;
27328             description { state: "default" 0.0;
27329                fixed: 1 1;
27330                visible: 1;
27331                rel1 {
27332                   to: "background";
27333                   relative: 0.5 0.5;
27334                }
27335                rel2 {
27336                   to: "background";
27337                   relative: 0.5 0.5;
27338                }
27339                text {
27340                   font: "Sans:style=Bold,Edje-Vera-Bold";
27341                   size: 10;
27342                   min: 1 1;
27343                   align: 0.5 0.0;
27344                }
27345                color: 0 0 0 255;
27346             }
27347             description { state: "hidden" 0.0;
27348                inherit: "default" 0.0;
27349                visible: 0;
27350                text.min: 0 0;
27351             }
27352          }
27353
27354          part { name: "elm.progress.progressbar";
27355             mouse_events: 0;
27356             clip_to: "elm.background.progressbar";
27357             description {
27358                state: "default" 0.0;
27359                min: 14 28;
27360                fixed: 1 1;
27361                rel1 {
27362                   to: "elm.swallow.bar";
27363                   relative: 0.0 0.0;
27364                }
27365                rel2 {
27366                   to_y: "elm.swallow.bar";
27367                   to_x: "elm.cur.progressbar";
27368                   offset: -1 -1;
27369                }
27370                image {
27371                   normal: "bt_sm_base2.png";
27372                   border: 6 6 6 6;
27373                }
27374             }
27375             description {
27376                state: "invert" 0.0;
27377                inherit: "default" 0.0;
27378                rel1 {
27379                   to_y: "elm.swallow.bar";
27380                   to_x: "elm.cur.progressbar";
27381                }
27382                rel2 {
27383                   to: "elm.swallow.bar";
27384                   relative: 1.0 1.0;
27385                }
27386             }
27387             description {
27388                state: "state_begin" 0.0;
27389                inherit: "default" 0.0;
27390                rel1 {
27391                   to: "elm.swallow.bar";
27392                   relative: 0.0 0.0;
27393                }
27394                rel2 {
27395                   to: "elm.swallow.bar";
27396                   relative: 0.1 1.0;
27397                }
27398             }
27399             description {
27400                state: "state_end" 0.0;
27401                inherit: "default" 0.0;
27402                rel1 {
27403                   to: "elm.swallow.bar";
27404                   relative: 0.9 0.0;
27405                }
27406                rel2 {
27407                   to: "elm.swallow.bar";
27408                   relative: 1.0 1.0;
27409                }
27410             }
27411          }
27412          part { name: "text-bar";
27413             type: TEXT;
27414             mouse_events: 0;
27415             clip_to: "progress-rect";
27416             effect: SOFT_SHADOW;
27417             scale: 1;
27418             description { state: "default" 0.0;
27419                align: 0.0 0.0;
27420                fixed: 1 1;
27421                visible: 1;
27422                rel1.to: "elm.text.status";
27423                rel1.offset: -1 -1;
27424                rel2.to: "elm.text.status";
27425                text {
27426                   text_source: "elm.text.status";
27427                   font: "Sans:style=Bold,Edje-Vera-Bold";
27428                   size: 10;
27429                   min: 1 1;
27430                   align: 0.0 0.0;
27431                }
27432                color: 224 224 224 255;
27433                color3: 0 0 0 64;
27434             }
27435             description { state: "hidden" 0.0;
27436                inherit: "default" 0.0;
27437                visible: 0;
27438                text.min: 0 0;
27439             }
27440          }
27441
27442          part { name: "over1";
27443             mouse_events: 0;
27444             description { state: "default" 0.0;
27445                rel1.to: "elm.progress.progressbar";
27446                rel2.to: "elm.progress.progressbar";
27447                rel2.relative: 1.0 0.5;
27448                image {
27449                   normal: "bt_sm_hilight.png";
27450                   border: 6 6 6 0;
27451                }
27452             }
27453          }
27454
27455          part { name: "over2";
27456             mouse_events: 1;
27457             repeat_events: 1;
27458             description { state: "default" 0.0;
27459                rel1.to: "elm.progress.progressbar";
27460                rel2.to: "elm.progress.progressbar";
27461                image {
27462                   normal: "bt_sm_shine.png";
27463                   border: 6 6 6 0;
27464                }
27465             }
27466          }
27467
27468          part { name: "elm.cur.progressbar";
27469             mouse_events: 0;
27470             dragable {
27471                confine: "background";
27472                x: 1 1 1;
27473                y: 0 0 0;
27474             }
27475             description { state: "default" 0.0;
27476                min: 14 28;
27477                fixed: 1 1;
27478                visible: 0;
27479                rel1 {
27480                   to: "background";
27481                   relative: 0 0;
27482                }
27483                rel2.to: "background";
27484            }
27485          }
27486          part { name: "progress-rect";
27487             mouse_events: 0;
27488             description {
27489                state: "default" 0.0;
27490                rel1.to: "elm.progress.progressbar";
27491                rel2.to: "elm.progress.progressbar";
27492             }
27493          }
27494       }
27495       programs {
27496          program { name: "label_show";
27497             signal: "elm,state,text,visible";
27498             source: "elm";
27499             action:  STATE_SET "visible" 0.0;
27500             target: "elm.text";
27501          }
27502          program { name: "label_hide";
27503             signal: "elm,state,text,hidden";
27504             source: "elm";
27505             action:  STATE_SET "default" 0.0;
27506             target: "elm.text";
27507          }
27508          program { name: "icon_show";
27509             signal: "elm,state,icon,visible";
27510             source: "elm";
27511             action:  STATE_SET "visible" 0.0;
27512             target: "elm.swallow.content";
27513          }
27514          program { name: "icon_hide";
27515             signal: "elm,state,icon,hidden";
27516             source: "elm";
27517             action:  STATE_SET "default" 0.0;
27518             target: "elm.swallow.content";
27519          }
27520          program { name: "units_show";
27521             signal: "elm,state,units,visible";
27522             source: "elm";
27523             action:  STATE_SET "default" 0.0;
27524             target: "text-bar";
27525             target: "elm.text.status";
27526          }
27527          program { name: "units_hide";
27528             signal: "elm,state,units,hidden";
27529             source: "elm";
27530             action:  STATE_SET "hidden" 0.0;
27531             target: "text-bar";
27532             target: "elm.text.status";
27533          }
27534          program { name: "slide_to_end";
27535             action:  STATE_SET "state_end" 0.0;
27536             transition: LINEAR 0.5;
27537             target: "elm.progress.progressbar";
27538             after: "slide_to_begin";
27539          }
27540          program { name: "slide_to_begin";
27541             signal: "elm,state,slide,begin";
27542             action: STATE_SET "state_begin" 0.0;
27543             target: "elm.progress.progressbar";
27544             transition: LINEAR 0.5;
27545             after: "slide_to_end";
27546          }
27547          program { name: "start_pulse";
27548             signal: "elm,state,pulse,start";
27549             source: "elm";
27550             after: "slide_to_end";
27551          }
27552          program { name: "stop_pulse";
27553             signal: "elm,state,pulse,stop";
27554             source: "elm";
27555             action: ACTION_STOP;
27556             target: "slide_to_begin";
27557             target: "slide_to_end";
27558             target: "start_pulse";
27559             after: "state_pulse";
27560          }
27561          program { name: "state_pulse";
27562             signal: "elm,state,pulse";
27563             source: "elm";
27564             action: STATE_SET "state_begin" 0.0;
27565             target: "elm.progress.progressbar";
27566             after: "units_hide";
27567          }
27568          program { name: "state_fraction";
27569             signal: "elm,state,fraction";
27570             source: "elm";
27571             action: ACTION_STOP;
27572             target: "slide_to_begin";
27573             target: "slide_to_end";
27574             target: "start_pulse";
27575             action: STATE_SET "default" 0.0;
27576             target: "elm.progress.progressbar";
27577          }
27578          program { name: "set_invert_on";
27579             signal: "elm,state,inverted,on";
27580             source: "elm";
27581             action:  STATE_SET "invert" 0.0;
27582             target: "elm.progress.progressbar";
27583          }
27584          program { name: "set_invert_off";
27585             signal: "elm,state,inverted,off";
27586             source: "elm";
27587             action:  STATE_SET "default" 0.0;
27588             target: "elm.progress.progressbar";
27589          }
27590       }
27591    }
27592
27593 ///////////////////////////////////////////////////////////////////////////////
27594    group { name: "elm/progressbar/vertical/default";
27595       images {
27596          image: "shelf_inset.png" COMP;
27597          image: "bt_sm_base2.png" COMP;
27598          image: "bt_sm_hilight.png" COMP;
27599          image: "bt_sm_shine.png" COMP;
27600       }
27601       parts {
27602          part { name: "elm.background.progressbar";
27603             type: RECT;
27604             mouse_events: 0;
27605             description {
27606                state: "default" 0.0;
27607                rel1 {
27608                   relative: 0.0 0.0;
27609                   offset: 0 0;
27610                }
27611                rel2 {
27612                   relative: 1.0 1.0;
27613                   offset: -1 -1;
27614                }
27615             }
27616          }
27617          part { name: "elm.swallow.bar";
27618             type: SWALLOW;
27619             scale: 1;
27620             description { state: "default" 0.0;
27621                min: 28 48;
27622                max: 28 9999;
27623                align: 0.5 1.0;
27624                rel1 {
27625                   to_y: "elm.text";
27626                   relative: 0.0 1.0;
27627                   offset: 0 2;
27628                }
27629                rel2 {
27630                   to_y: "elm.text.box";
27631                   relative: 1.0 0.0;
27632                   offset: -1 -3;
27633                }
27634             }
27635          }
27636          part { name: "elm.swallow.content";
27637             type: SWALLOW;
27638             description { state: "default" 0.0;
27639                visible: 0;
27640                align: 0.5 0.0;
27641                rel1 {
27642                   offset: 0 4;
27643                   to_x: "elm.swallow.bar";
27644                }
27645                rel2 {
27646                   offset: -1 3;
27647                   relative: 1.0 0.0;
27648                   to_x: "elm.swallow.bar";
27649                }
27650             }
27651             description { state: "visible" 0.0;
27652                inherit: "default" 0.0;
27653                visible: 1;
27654                aspect: 1.0 1.0;
27655                aspect_preference: HORIZONTAL;
27656                rel2.offset: -1 4;
27657             }
27658          }
27659          part { name: "elm.text";
27660             type: TEXT;
27661             mouse_events: 0;
27662             scale: 1;
27663             description { state: "default" 0.0;
27664                visible: 0;
27665                fixed: 1 1;
27666                align: 0.5 0.0;
27667                rel1.to_y: "elm.swallow.content";
27668                rel1.relative: 0.5 1.0;
27669                rel1.offset: 0 -1;
27670                rel2.to_y: "elm.swallow.content";
27671                rel2.relative: 0.5 1.0;
27672                rel2.offset: -1 -1;
27673                color: 0 0 0 255;
27674                text {
27675                   font: "Sans,Edje-Vera";
27676                   size: 10;
27677                   min: 0 0;
27678                   align: 0.5 0.0;
27679                }
27680             }
27681             description { state: "visible" 0.0;
27682                inherit: "default" 0.0;
27683                visible: 1;
27684                text.min: 1 1;
27685                rel1.offset: 4 0;
27686                rel2.offset: -5 0;
27687             }
27688          }
27689
27690          part { name: "background";
27691             mouse_events: 0;
27692             clip_to: "elm.background.progressbar";
27693             description {
27694                state: "default" 0.0;
27695                rel1 {
27696                   to: "elm.swallow.bar";
27697                   relative: 0.0 0.0;
27698                }
27699                rel2 {
27700                   to: "elm.swallow.bar";
27701                   relative: 1.0 1.0;
27702                   offset: -1 -1;
27703                }
27704                image {
27705                   normal: "shelf_inset.png";
27706                   border: 7 7 7 7;
27707                }
27708             }
27709          }
27710
27711          part { name: "elm.progress.progressbar";
27712             mouse_events: 0;
27713             clip_to: "elm.background.progressbar";
27714             description {
27715                state: "default" 0.0;
27716                min: 28 14;
27717                fixed: 1 1;
27718                rel1 {
27719                   to: "elm.swallow.bar";
27720                   relative: 0.0 0.0;
27721                }
27722                rel2 {
27723                   to_x: "elm.swallow.bar";
27724                   to_y: "elm.cur.progressbar";
27725                   offset: -1 -1;
27726                }
27727                image {
27728                   normal: "bt_sm_base2.png";
27729                   border: 6 6 6 6;
27730                }
27731             }
27732             description {
27733                state: "invert" 0.0;
27734                inherit: "default" 0.0;
27735                rel1 {
27736                   to_x: "elm.swallow.bar";
27737                   to_y: "elm.cur.progressbar";
27738                }
27739                rel2 {
27740                   to: "elm.swallow.bar";
27741                   relative: 1.0 1.0;
27742                }
27743             }
27744             description {
27745                state: "state_begin" 0.0;
27746                inherit: "default" 0.0;
27747                rel1 {
27748                   to: "elm.swallow.bar";
27749                   relative: 0.0 0.0;
27750                }
27751                rel2 {
27752                   to: "elm.swallow.bar";
27753                   relative: 1.0 0.1;
27754                }
27755             }
27756             description {
27757                state: "state_end" 0.0;
27758                inherit: "default" 0.0;
27759                rel1 {
27760                   to: "elm.swallow.bar";
27761                   relative: 0.0 0.9;
27762                }
27763                rel2 {
27764                   to: "elm.swallow.bar";
27765                   relative: 1.0 1.0;
27766                }
27767             }
27768          }
27769
27770          part { name: "over1";
27771             mouse_events: 0;
27772             description { state: "default" 0.0;
27773                rel1.to: "elm.progress.progressbar";
27774                rel2.to: "elm.progress.progressbar";
27775                rel2.relative: 1.0 0.5;
27776                image {
27777                   normal: "bt_sm_hilight.png";
27778                   border: 6 6 6 0;
27779                }
27780             }
27781          }
27782
27783          part { name: "over2";
27784             mouse_events: 1;
27785             repeat_events: 1;
27786             description { state: "default" 0.0;
27787                rel1.to: "elm.progress.progressbar";
27788                rel2.to: "elm.progress.progressbar";
27789                image {
27790                   normal: "bt_sm_shine.png";
27791                   border: 6 6 6 0;
27792                }
27793             }
27794          }
27795
27796          part { name: "elm.cur.progressbar";
27797             mouse_events: 0;
27798             dragable {
27799                confine: "background";
27800                x: 0 0 0;
27801                y: 1 1 1;
27802             }
27803             description { state: "default" 0.0;
27804                min: 28 14;
27805                fixed: 1 1;
27806                visible: 0;
27807                rel1 {
27808                   to: "background";
27809                   relative: 0 0;
27810                }
27811                rel2.to: "background";
27812            }
27813          }
27814
27815          part { name: "elm.text.box";
27816             mouse_events: 0;
27817             type: RECT;
27818             description { state: "default" 0.0;
27819                visible: 0;
27820                rel1 {
27821                   to: "elm.text.status";
27822                   offset: -2 -2;
27823                }
27824                rel2 {
27825                   to: "elm.text.status";
27826                   offset: 2 2;
27827                }
27828                color: 255 255 255 0;
27829             }
27830             description { state: "visible" 0.0;
27831                inherit: "default" 0.0;
27832                visible: 1;
27833             }
27834          }
27835          part { name: "elm.text.status";
27836             type: TEXT;
27837             mouse_events: 0;
27838             scale: 1;
27839             description { state: "default" 0.0;
27840                visible: 0;
27841                fixed: 1 1;
27842                align: 0.5 1.0;
27843                rel1.relative: 0.0 1.0;
27844                rel1.offset: 2 0;
27845                rel2.relative: 1.0 1.0;
27846                rel2.offset: -2 0;
27847                color: 0 0 0 255;
27848                text {
27849                   font: "Sans:style=Bold,Edje-Vera-Bold";
27850                   size: 10;
27851                   min: 0 0;
27852                   align: 0.5 0.0;
27853                }
27854             }
27855             description { state: "visible" 0.0;
27856                inherit: "default" 0.0;
27857                fixed: 1 1;
27858                visible: 1;
27859                text.min: 1 1;
27860                rel1.offset: 8 -9;
27861                rel2.offset: -9 -9;
27862             }
27863          }
27864       }
27865       programs {
27866          program { name: "label_show";
27867             signal: "elm,state,text,visible";
27868             source: "elm";
27869             action:  STATE_SET "visible" 0.0;
27870             target: "elm.text";
27871          }
27872          program { name: "label_hide";
27873             signal: "elm,state,text,hidden";
27874             source: "elm";
27875             action:  STATE_SET "default" 0.0;
27876             target: "elm.text";
27877          }
27878          program { name: "icon_show";
27879             signal: "elm,state,icon,visible";
27880             source: "elm";
27881             action:  STATE_SET "visible" 0.0;
27882             target: "elm.swallow.content";
27883          }
27884          program { name: "icon_hide";
27885             signal: "elm,state,icon,hidden";
27886             source: "elm";
27887             action:  STATE_SET "default" 0.0;
27888             target: "elm.swallow.content";
27889          }
27890          program { name: "units_show";
27891             signal: "elm,state,units,visible";
27892             source: "elm";
27893             action:  STATE_SET "visible" 0.0;
27894             target: "elm.text.status";
27895             target: "elm.text.box";
27896          }
27897          program { name: "units_hide";
27898             signal: "elm,state,units,hidden";
27899             source: "elm";
27900             action:  STATE_SET "default" 0.0;
27901             target: "elm.text.status";
27902             target: "elm.text.box";
27903          }
27904          program { name: "slide_to_end";
27905             action:  STATE_SET "state_end" 0.0;
27906             transition: LINEAR 0.5;
27907             target: "elm.progress.progressbar";
27908             after: "slide_to_begin";
27909          }
27910          program { name: "slide_to_begin";
27911             action:  STATE_SET "state_begin" 0.0;
27912             target: "elm.progress.progressbar";
27913             transition: LINEAR 0.5;
27914             after: "slide_to_end";
27915          }
27916          program { name: "start_pulse";
27917             signal: "elm,state,pulse,start";
27918             source: "elm";
27919             action: STATE_SET "state_begin" 0.0;
27920             target: "elm.progress.progressbar";
27921             after: "slide_to_end";
27922          }
27923          program { name: "stop_pulse";
27924             signal: "elm,state,pulse,stop";
27925             source: "elm";
27926             action: ACTION_STOP;
27927             target: "slide_to_begin";
27928             target: "slide_to_end";
27929             target: "start_pulse";
27930             after: "state_pulse";
27931          }
27932          program { name: "state_pulse";
27933             signal: "elm,state,pulse";
27934             source: "elm";
27935             action: STATE_SET "state_begin" 0.0;
27936             target: "elm.progress.progressbar";
27937             after: "units_hide";
27938          }
27939          program { name: "state_fraction";
27940             signal: "elm,state,fraction";
27941             source: "elm";
27942             action: ACTION_STOP;
27943             target: "slide_to_begin";
27944             target: "slide_to_end";
27945             target: "start_pulse";
27946             action: STATE_SET "default" 0.0;
27947             target: "elm.progress.progressbar";
27948          }
27949          program { name: "set_invert_on";
27950             signal: "elm,state,inverted,on";
27951             source: "elm";
27952             action:  STATE_SET "invert" 0.0;
27953             target: "elm.progress.progressbar";
27954             target: "elm.cur.progressbar";
27955          }
27956          program { name: "set_invert_off";
27957             signal: "elm,state,inverted,off";
27958             source: "elm";
27959             action:  STATE_SET "default" 0.0;
27960             target: "elm.progress.progressbar";
27961             target: "elm.cur.progressbar";
27962          }
27963       }
27964    }
27965
27966 ///////////////////////////////////////////////////////////////////////////////
27967    group { name: "elm/separator/horizontal/default";
27968        images {
27969            image: "separator_h.png" COMP;
27970        }
27971        parts {
27972            part { name: "separator"; // separator group
27973                description { state: "default" 0.0;
27974                    min: 2 2;
27975                    rel1.offset: 4 4;
27976                    rel2.offset: -5 -5;
27977                    image {
27978                        normal: "separator_h.png";
27979                    }
27980                    fill {
27981                        smooth: 0;
27982                    }
27983                }
27984            }
27985        }
27986    }
27987
27988    ///////////////////////////////////////////////////////////////////////////////
27989    group { name: "elm/separator/vertical/default";
27990        images {
27991            image: "separator_v.png" COMP;
27992        }
27993        parts {
27994            part { name: "separator"; // separator group
27995                description { state: "default" 0.0;
27996                    min: 2 2;
27997                    rel1.offset: 4 4;
27998                    rel2.offset: -5 -5;
27999                    image {
28000                        normal: "separator_v.png";
28001                    }
28002                    fill {
28003                        smooth: 0;
28004                    }
28005                }
28006            }
28007        }
28008    }
28009
28010    group { name: "elm/progressbar/horizontal/wheel";
28011        images {
28012            image: "busy-1.png" COMP;
28013            image: "busy-2.png" COMP;
28014            image: "busy-3.png" COMP;
28015            image: "busy-4.png" COMP;
28016            image: "busy-5.png" COMP;
28017            image: "busy-6.png" COMP;
28018            image: "busy-7.png" COMP;
28019            image: "busy-8.png" COMP;
28020            image: "busy-9.png" COMP;
28021        }
28022        parts {
28023            part { name: "elm.background.progressbar";
28024                mouse_events: 0;
28025                type: RECT;
28026                description {
28027                    state: "default" 0.0;
28028                }
28029            }
28030            part { name: "elm.swallow.bar";
28031                mouse_events: 0;
28032                type: SWALLOW;
28033                description { state: "default" 0.0;
28034                    min: 0 0;
28035                    max: 0 0;
28036                    visible: 0;
28037                }
28038            }
28039            part { name: "elm.swallow.content";
28040                type: SWALLOW;
28041                description { state: "default" 0.0;
28042                    min: 0 0;
28043                    max: 0 0;
28044                    visible: 0;
28045                }
28046            }
28047            part { name: "background";
28048                mouse_events: 0;
28049                clip_to: "elm.background.progressbar";
28050                description {
28051                    state: "default" 0.0;
28052                    min: 32 32;
28053                    max: 32 32;
28054                    visible: 1;
28055                    aspect: 1.0 1.0;
28056                    aspect_preference: BOTH;
28057                    image {
28058                        normal: "busy-9.png";
28059                        border: 7 7 7 7;
28060                    }
28061                }
28062                description {
28063                    state: "pulse" 0.0;
28064                    inherit: "default" 0.0;
28065                    image {
28066                        normal: "busy-9.png";
28067                        tween:  "busy-1.png";
28068                        tween:  "busy-2.png";
28069                        tween:  "busy-3.png";
28070                        tween:  "busy-4.png";
28071                        tween:  "busy-5.png";
28072                        tween:  "busy-6.png";
28073                        tween:  "busy-7.png";
28074                        tween:  "busy-8.png";
28075                        border: 7 7 7 7;
28076                    }
28077                }
28078            }
28079        }
28080        programs {
28081            program { name: "start_pulse";
28082                signal: "elm,state,pulse,start";
28083                source: "elm";
28084                action: STATE_SET "pulse" 0.0;
28085                target: "background";
28086                transition: LINEAR 0.5;
28087                after: "start_pulse";
28088            }
28089            program { name: "stop_pulse";
28090                signal: "elm,state,pulse,stop";
28091                source: "elm";
28092                action: STATE_SET "default" 0.0;
28093                target: "background";
28094            }
28095        }
28096    }
28097
28098
28099 ///////////////////////////////////////////////////////////////////////////////
28100    group { name: "elm/spinner/base/default";
28101        images {
28102            image: "shelf_inset.png" COMP;
28103            image: "bt_base1.png" COMP;
28104            image: "bt_hilight.png" COMP;
28105            image: "bt_shine.png" COMP;
28106            image: "bt_glow.png" COMP;
28107            image: "bt_dis_base.png" COMP;
28108            image: "bt_dis_hilight.png" COMP;
28109            image: "sp_bt_l.png" COMP;
28110            image: "sp_bt_r.png" COMP;
28111        }
28112        parts {
28113            part { name: "bg";
28114                type: RECT;
28115                description { state: "default" 0.0;
28116                    min: 0 30;
28117                    rel1.offset: 1 1;
28118                    rel2.offset: -2 -2;
28119                    color: 255 255 255 0;
28120                }
28121            }
28122            part { name: "conf_over";
28123                mouse_events:  0;
28124                description { state: "default" 0.0;
28125                    rel1.to: "bg";
28126                    rel2.to: "bg";
28127                    image {
28128                        normal: "shelf_inset.png";
28129                        border: 7 7 7 7;
28130                        middle: 0;
28131                    }
28132                    fill.smooth : 0;
28133                }
28134            }
28135            part { name: "left_bt";
28136                mouse_events:  1;
28137                description { state: "default" 0.0;
28138                    rel1 { to: "bg";
28139                        offset: 3 3;
28140                    }
28141                    rel2 { to: "bg";
28142                        offset: -4 -4;
28143                    }
28144                    align: 0.0 0.5;
28145                    min: 24 24;
28146                    aspect: 1.0 1.0;
28147                    aspect_preference: VERTICAL;
28148                    image {
28149                        normal: "bt_base1.png";
28150                        border: 6 6 6 6;
28151                    }
28152                    fill.smooth : 0;
28153                }
28154                description { state: "clicked" 0.0;
28155                    inherit: "default" 0.0;
28156                    image.normal: "bt_base1.png";
28157                    image.middle: SOLID;
28158                }
28159                description { state: "disabled" 0.0;
28160                    inherit:  "default" 0.0;
28161                    image {
28162                        normal: "bt_dis_base.png";
28163                        border: 4 4 4 4;
28164                    }
28165                }
28166            }
28167            part {         name: "left_over1";
28168                mouse_events: 0;
28169                description { state: "default" 0.0;
28170                    rel1.to: "left_bt";
28171                    rel2 { to: "left_bt";
28172                        relative: 1.0 0.5;
28173                    }
28174                    image {
28175                        normal: "bt_hilight.png";
28176                        border: 7 7 7 0;
28177                    }
28178                }
28179                description { state: "disabled" 0.0;
28180                    inherit:  "default" 0.0;
28181                    image {
28182                        normal: "bt_dis_hilight.png";
28183                        border: 4 4 4 0;
28184                    }
28185                }
28186            }
28187            part { name: "left_over2";
28188                mouse_events: 1;
28189                repeat_events: 1;
28190                ignore_flags: ON_HOLD;
28191                description { state: "default" 0.0;
28192                    rel1.to: "left_bt";
28193                    rel2.to: "left_bt";
28194                    image {
28195                        normal: "bt_shine.png";
28196                        border: 7 7 7 7;
28197                    }
28198                }
28199                description { state: "disabled" 0.0;
28200                    inherit:  "default" 0.0;
28201                    visible: 0;
28202                }
28203            }
28204            part { name: "left_over3";
28205                mouse_events: 1;
28206                repeat_events: 1;
28207                description { state: "default" 0.0;
28208                    color: 255 255 255 0;
28209                    rel1.to: "left_bt";
28210                    rel2.to: "left_bt";
28211                    image {
28212                        normal: "bt_glow.png";
28213                        border: 12 12 12 12;
28214                    }
28215                    fill.smooth : 0;
28216                }
28217                description { state: "clicked" 0.0;
28218                    inherit:  "default" 0.0;
28219                    visible: 1;
28220                    color: 255 255 255 255;
28221                }
28222            }
28223            part { name: "right_bt";
28224                mouse_events:  1;
28225                description { state: "default" 0.0;
28226                    rel1 { to: "bg";
28227                        offset: -26 3;
28228                    }
28229                    rel2 { to: "bg";
28230                        offset: -4 -4;
28231                    }
28232                    align: 1.0 0.5;
28233                    min: 24 24;
28234                    aspect: 1.0 1.0;
28235                    aspect_preference: VERTICAL;
28236                    image {
28237                        normal: "bt_base1.png";
28238                        border: 5 5 4 12;
28239                    }
28240                    fill.smooth : 0;
28241                }
28242                description { state: "clicked" 0.0;
28243                    inherit: "default" 0.0;
28244                    image.normal: "bt_base1.png";
28245                    image.middle: SOLID;
28246                }
28247                description { state: "disabled" 0.0;
28248                    inherit:  "default" 0.0;
28249                    image {
28250                        normal: "bt_dis_base.png";
28251                        border: 4 4 4 4;
28252                    }
28253                }
28254            }
28255            part { name: "right_over1";
28256                mouse_events: 0;
28257                description { state: "default" 0.0;
28258                    rel1.to: "right_bt";
28259                    rel2 { to: "right_bt";
28260                        relative: 1.0 0.5;
28261                    }
28262                    image {
28263                        normal: "bt_hilight.png";
28264                        border: 7 7 7 0;
28265                    }
28266                }
28267                description { state: "disabled" 0.0;
28268                    inherit:  "default" 0.0;
28269                    image {
28270                        normal: "bt_dis_hilight.png";
28271                        border: 4 4 4 0;
28272                    }
28273                }
28274            }
28275            part { name: "right_over2";
28276                mouse_events: 1;
28277                repeat_events: 1;
28278                ignore_flags: ON_HOLD;
28279                description { state: "default" 0.0;
28280                    rel1.to: "right_bt";
28281                    rel2.to: "right_bt";
28282                    image {
28283                        normal: "bt_shine.png";
28284                        border: 7 7 7 7;
28285                    }
28286                }
28287                description { state: "disabled" 0.0;
28288                    inherit:  "default" 0.0;
28289                    visible: 0;
28290                }
28291            }
28292            part { name: "right_over3";
28293                mouse_events: 1;
28294                repeat_events: 1;
28295                description { state: "default" 0.0;
28296                    color: 255 255 255 0;
28297                    rel1.to: "right_bt";
28298                    rel2.to: "right_bt";
28299                    image {
28300                        normal: "bt_glow.png";
28301                        border: 12 12 12 12;
28302                    }
28303                    fill.smooth : 0;
28304                }
28305                description { state: "clicked" 0.0;
28306                    inherit:  "default" 0.0;
28307                    visible: 1;
28308                    color: 255 255 255 255;
28309                }
28310            }
28311            part { name: "left_bt_icon";
28312                repeat_events: 1;
28313                description { state: "default" 0.0;
28314                    rel1.to: "left_bt";
28315                    rel1.offset: 4 4;
28316                    rel2.to: "left_bt";
28317                    rel2.offset: -5 -5;
28318                    align: 0.5 0.5;
28319                    min: 16 16;
28320                    aspect: 1.0 1.0;
28321                    aspect_preference: BOTH;
28322                    image.normal: "sp_bt_l.png";
28323                }
28324            }
28325            part { name: "right_bt_icon";
28326                repeat_events: 1;
28327                description { state: "default" 0.0;
28328                    rel1.to: "right_bt";
28329                    rel1.offset: 4 4;
28330                    rel2.to: "right_bt";
28331                    rel2.offset: -5 -5;
28332                    align: 0.5 0.5;
28333                    min: 16 16;
28334                    aspect: 1.0 1.0;
28335                    aspect_preference: BOTH;
28336                    image.normal: "sp_bt_r.png";
28337                }
28338            }
28339            part { name: "elm.text";
28340                type: TEXT;
28341                mouse_events: 0;
28342                scale: 1;
28343                description { state: "default" 0.0;
28344                    visible: 1;
28345                    align: 0.0 0.5;
28346                    rel1 { relative: 1.0 0.0;
28347                        offset: 3 2;
28348                        to_x: "left_bt";
28349                        to_y: "bg";
28350                    }
28351                    rel2 { relative: 0.0 1.0;
28352                        offset: -3 -2;
28353                        to_x: "right_bt";
28354                        to_y: "bg";
28355                    }
28356                    color: 0 0 0 255;
28357                    text {
28358                        font: "Sans,Edje-Vera";
28359                        size: 10;
28360                        min: 1 1;
28361                        align: 0.5 0.5;
28362                    }
28363                }
28364                description { state: "active" 0.0;
28365                    inherit: "default" 0.0;
28366                    visible: 0;
28367                }
28368                description { state: "disabled_active" 0.0;
28369                    inherit: "default" 0.0;
28370                    color: 0 0 0 128;
28371                    color3: 0 0 0 0;
28372                }
28373                description { state: "disabled" 0.0;
28374                    inherit: "default" 0.0;
28375                    color: 0 0 0 128;
28376                    color3: 0 0 0 0;
28377                }
28378            }
28379            part { name: "elm.dragable.slider";
28380                type: RECT;
28381                mouse_events: 0;
28382                scale: 1;
28383                dragable {
28384                    x: 1 1 0;
28385                    y: 0 0 0;
28386                }
28387                description { state: "default" 0.0;
28388                    rel1.to: "bg";
28389                    rel2.to: "bg";
28390                    fixed: 1 1;
28391                    color: 0 0 0 0;
28392                }
28393            }
28394            part { name: "button_events";
28395                type: RECT;
28396                dragable {
28397                    events: "elm.dragable.slider";
28398                }
28399                mouse_events: 1;
28400                description { state: "default" 0.0;
28401                    rel1.to: "elm.text";
28402                    rel2.to: "elm.text";
28403                    color: 0 0 0 0;
28404                }
28405            }
28406            part { name: "elm.swallow.entry";
28407                type: SWALLOW;
28408                description { state: "default" 0.0;
28409                    visible: 0;
28410                    align: 0.5 0.5;
28411                    rel1 { relative: 1.0 0.5;
28412                        offset: 3 2;
28413                        to_x: "left_bt";
28414                        to_y: "bg";
28415                    }
28416                    rel2 { relative: 0.0 0.5;
28417                        offset: -3 -2;
28418                        to_x: "right_bt";
28419                        to_y: "bg";
28420                    }
28421                    fixed: 1 1;
28422                    color: 0 0 0 0;
28423                }
28424                description { state: "active" 0.0;
28425                    inherit: "default" 0.0;
28426                    visible: 1;
28427                    color: 255 255 255 255;
28428                }
28429                description { state: "disabled_active" 0.0;
28430                    inherit: "default" 0.0;
28431                    visible: 0;
28432                }
28433                description { state: "disabled" 0.0;
28434                    inherit: "default" 0.0;
28435                    visible: 0;
28436                }
28437            }
28438            part { name: "disabler";
28439                type: RECT;
28440                description { state: "default" 0.0;
28441                    color: 0 0 0 0;
28442                    visible: 0;
28443                }
28444                description { state: "disabled" 0.0;
28445                    inherit: "default" 0.0;
28446                    visible: 1;
28447                }
28448            }
28449        }
28450        programs {
28451            program { name: "text_show";
28452                signal: "elm,state,text,visible";
28453                source: "elm";
28454                action:  STATE_SET "visible" 0.0;
28455                target: "elm.text";
28456            }
28457            program { name: "text_hide";
28458                signal: "elm,state,text,hidden";
28459                source: "elm";
28460                action:  STATE_SET "default" 0.0;
28461                target: "elm.text";
28462            }
28463            program { name: "dec";
28464                signal: "mouse,down,1";
28465                source: "left_bt";
28466                action: SIGNAL_EMIT "elm,action,decrement,start" "";
28467            }
28468            program { name: "dec2";
28469                signal: "mouse,up,1";
28470                source: "left_bt";
28471                action: SIGNAL_EMIT "elm,action,decrement,stop" "";
28472            }
28473            program { name: "inc";
28474                signal: "mouse,down,1";
28475                source: "right_bt";
28476                action: SIGNAL_EMIT "elm,action,increment,start" "";
28477            }
28478            program { name: "inc2";
28479                signal: "mouse,up,1";
28480                source: "right_bt";
28481                action: SIGNAL_EMIT "elm,action,increment,stop" "";
28482            }
28483            program {
28484                name:   "left_bt_click";
28485                signal: "mouse,down,1";
28486                source: "left_over2";
28487                action: STATE_SET "clicked" 0.0;
28488                target: "left_bt";
28489            }
28490            program {
28491                name:   "left_bt_unclick";
28492                signal: "mouse,up,1";
28493                source: "left_over2";
28494                action: STATE_SET "default" 0.0;
28495                target: "left_bt";
28496            }
28497            program {
28498                name:   "left_bt_click2";
28499                signal: "mouse,down,1";
28500                source: "left_over3";
28501                action: STATE_SET "clicked" 0.0;
28502                target: "left_over3";
28503            }
28504            program {
28505                name:   "left_bt_unclick2";
28506                signal: "mouse,up,1";
28507                source: "left_over3";
28508                action: STATE_SET "default" 0.0;
28509                transition: DECELERATE 0.5;
28510                target: "left_over3";
28511            }
28512            program {
28513                name:   "left_bt_unclick3";
28514                signal: "mouse,up,1";
28515                source: "left_over2";
28516                action: SIGNAL_EMIT "elm,action,click" "";
28517            }
28518            program {
28519                name:   "left_bt_pressed_anim";
28520                signal: "elm,left,anim,activate";
28521                source: "elm";
28522                action: STATE_SET "clicked" 0.0;
28523                target: "left_bt";
28524                target: "left_over3";
28525                after: "left_bt_unpressed_anim";
28526            }
28527            program {
28528                name:   "left_bt_unpressed_anim";
28529                action: STATE_SET "default" 0.0;
28530                transition: DECELERATE 0.5;
28531                target: "left_bt";
28532                target: "left_over3";
28533            }
28534
28535            program {
28536                name:   "right_bt_click";
28537                signal: "mouse,down,1";
28538                source: "right_over2";
28539                action: STATE_SET "clicked" 0.0;
28540                target: "right_bt";
28541            }
28542            program {
28543                name:   "right_bt_unclick";
28544                signal: "mouse,up,1";
28545                source: "right_over2";
28546                action: STATE_SET "default" 0.0;
28547                target: "right_bt";
28548            }
28549            program {
28550                name:   "right_bt_click2";
28551                signal: "mouse,down,1";
28552                source: "right_over3";
28553                action: STATE_SET "clicked" 0.0;
28554                target: "right_over3";
28555            }
28556            program {
28557                name:   "right_bt_unclick2";
28558                signal: "mouse,up,1";
28559                source: "right_over3";
28560                action: STATE_SET "default" 0.0;
28561                transition: DECELERATE 0.5;
28562                target: "right_over3";
28563            }
28564            program {
28565                name:   "right_bt_unclick3";
28566                signal: "mouse,up,1";
28567                source: "right_over2";
28568                action: SIGNAL_EMIT "elm,action,click" "";
28569            }
28570            program {
28571                name:   "right_bt_pressed_anim";
28572                signal: "elm,right,anim,activate";
28573                source: "elm";
28574                action: STATE_SET "clicked" 0.0;
28575                target: "right_bt";
28576                target: "right_over3";
28577                after: "right_bt_unpressed_anim";
28578            }
28579            program {
28580                name:   "right_bt_unpressed_anim";
28581                action: STATE_SET "default" 0.0;
28582                transition: DECELERATE 0.5;
28583                target: "right_bt";
28584                target: "right_over3";
28585            }
28586
28587            program { name: "disable";
28588                signal: "elm,state,disabled";
28589                source: "elm";
28590                action: STATE_SET "disabled" 0.0;
28591                target: "left_bt";
28592                target: "left_over1";
28593                target: "left_over2";
28594                target: "right_bt";
28595                target: "right_over1";
28596                target: "right_over2";
28597                target: "disabler";
28598                after: "disable_text";
28599            }
28600            program { name: "disable_text";
28601                script {
28602                    new st[31];
28603                    new Float:vl;
28604                    get_state(PART:"elm.text", st, 30, vl);
28605                    if (!strcmp(st, "active"))
28606                    set_state(PART:"elm.text", "disabled_active", 0.0);
28607                    else
28608                    set_state(PART:"elm.text", "disabled", 0.0);
28609
28610                    get_state(PART:"elm.swallow.entry", st, 30, vl);
28611                    if (!strcmp(st, "active"))
28612                    set_state(PART:"elm.swallow.entry", "disabled_active", 0.0);
28613                    else
28614                    set_state(PART:"elm.swallow.entry", "disabled", 0.0);
28615                }
28616            }
28617            program { name: "enable";
28618                signal: "elm,state,enabled";
28619                source: "elm";
28620                action: STATE_SET "default" 0.0;
28621                target: "left_bt";
28622                target: "left_over1";
28623                target: "left_over2";
28624                target: "right_bt";
28625                target: "right_over1";
28626                target: "right_over2";
28627                target: "disabler";
28628                after: "enable_text";
28629            }
28630            program { name: "enable_text";
28631                script {
28632                    new st[31];
28633                    new Float:vl;
28634                    get_state(PART:"elm.text", st, 30, vl);
28635                    if (!strcmp(st, "disabled_active"))
28636                    set_state(PART:"elm.text", "active", 0.0);
28637                    else
28638                    set_state(PART:"elm.text", "default", 0.0);
28639
28640                    get_state(PART:"elm.swallow.entry", st, 30, vl);
28641                    if (!strcmp(st, "disabled_active"))
28642                    set_state(PART:"elm.swallow.entry", "active", 0.0);
28643                    else
28644                    set_state(PART:"elm.swallow.entry", "default", 0.0);
28645                }
28646            }
28647            program { name: "active";
28648                signal: "elm,state,active";
28649                source: "elm";
28650                action: STATE_SET "active" 0.0;
28651                target: "elm.text";
28652                target: "elm.swallow.entry";
28653            }
28654            program { name: "inactive";
28655                signal: "elm,state,inactive";
28656                source: "elm";
28657                action: STATE_SET "default" 0.0;
28658                target: "elm.text";
28659                target: "elm.swallow.entry";
28660            }
28661            program { name: "toggle_text";
28662                signal: "mouse,up,1";
28663                source: "button_events";
28664                action: SIGNAL_EMIT "elm,action,entry,toggle" "";
28665            }
28666        }
28667    }
28668
28669 ///////////////////////////////////////////////////////////////////////////////
28670    group { name: "elm/spinner/base/vertical";
28671        images {
28672            image: "shelf_inset.png" COMP;
28673            image: "bt_hilight.png" COMP;
28674            image: "bt_shine.png" COMP;
28675            image: "bt_glow.png" COMP;
28676            image: "bt_dis_base.png" COMP;
28677            image: "bt_dis_hilight.png" COMP;
28678            image: "up.png" COMP;
28679            image: "down.png" COMP;
28680            image: "bt_spinner_up.png" COMP;
28681            image: "bt_spinner_down.png" COMP;
28682            image: "bt_spinner_hilight.png" COMP;
28683        }
28684        parts {
28685            part { name: "bg";
28686                type: RECT;
28687                description { state: "default" 0.0;
28688                    min: 0 30;
28689                    rel1.offset: 1 1;
28690                    rel2.offset: -2 -2;
28691                    color: 255 255 255 0;
28692                }
28693            }
28694            part { name: "conf_over";
28695                mouse_events:  0;
28696                description { state: "default" 0.0;
28697                    rel1 {
28698                      to: "bg";
28699                      relative: 0.0 0.0;
28700                    }
28701                    rel2 {
28702                       to: "bg";
28703                    }
28704                    image {
28705                        normal: "shelf_inset.png";
28706                        border: 7 7 7 7;
28707                        middle: 0;
28708                    }
28709                    fill.smooth : 0;
28710                }
28711            }
28712            part { name: "down_bt";
28713                mouse_events:  1;
28714                description { state: "default" 0.0;
28715                    fixed: 1 1;
28716                    rel1 {
28717                        to: "up_bt";
28718                        relative: 0 1;
28719                        offset: 0 1;
28720                    }
28721                    rel2 {
28722                        to_y: "bg";
28723                        to_x: "up_bt";
28724                        relative: 1 1;
28725                        offset: -1 -4;
28726                    }
28727                    align: 1.0 0.5;
28728                    min: 24 16;
28729                    image {
28730                        normal: "bt_spinner_down.png";
28731                        border: 6 6 6 6;
28732                    }
28733                    fill.smooth : 0;
28734                }
28735                description { state: "clicked" 0.0;
28736                    inherit: "default" 0.0;
28737                    image.normal: "bt_spinner_down.png";
28738                    image.middle: SOLID;
28739                }
28740                description { state: "disabled" 0.0;
28741                    inherit:  "default" 0.0;
28742                    image {
28743                        normal: "bt_dis_base.png";
28744                        border: 4 4 4 4;
28745                    }
28746                }
28747            }
28748            part { name: "down_over3";
28749                mouse_events: 1;
28750                repeat_events: 1;
28751                description { state: "default" 0.0;
28752                    color: 255 255 255 0;
28753                    rel1.to: "down_bt";
28754                    rel2.to: "down_bt";
28755                    image {
28756                        normal: "bt_glow.png";
28757                        border: 12 12 12 12;
28758                    }
28759                    fill.smooth : 0;
28760                }
28761                description { state: "clicked" 0.0;
28762                    inherit:  "default" 0.0;
28763                    visible: 1;
28764                    color: 255 255 255 255;
28765                }
28766            }
28767            part { name: "up_bt";
28768                mouse_events:  1;
28769                description { state: "default" 0.0;
28770                    fixed: 1 0;
28771                    rel1 { to: "bg";
28772                        relative: 0 0;
28773                        offset: 0 2;
28774                    }
28775                    rel2 { to: "bg";
28776                        relative: 1 0.5;
28777                        offset: -3 0;
28778                    }
28779                    align: 1.0 0.5;
28780                    min: 24 16;
28781                    aspect: 1.5 1.0;
28782                    aspect_preference: BOTH;
28783                    image {
28784                        normal: "bt_spinner_up.png";
28785                        border: 6 6 6 6;
28786                    }
28787                    fill.smooth : 0;
28788                }
28789                description { state: "clicked" 0.0;
28790                    inherit: "default" 0.0;
28791                    image.normal: "bt_spinner_up.png";
28792                    image.middle: SOLID;
28793                }
28794                description { state: "disabled" 0.0;
28795                    inherit:  "default" 0.0;
28796                    image {
28797                        normal: "bt_dis_base.png";
28798                        border: 4 4 4 4;
28799                    }
28800                }
28801            }
28802            part { name: "up_over1";
28803                mouse_events: 0;
28804                description { state: "default" 0.0;
28805                    rel1.to: "up_bt";
28806                    rel2 { to: "up_bt";
28807                        relative: 1.0 0.5;
28808                    }
28809                    image {
28810                        normal: "bt_spinner_hilight.png";
28811                        border: 7 7 7 0;
28812                    }
28813                }
28814                description { state: "disabled" 0.0;
28815                    inherit:  "default" 0.0;
28816                    image {
28817                        normal: "bt_dis_hilight.png";
28818                        border: 4 4 4 0;
28819                    }
28820                }
28821            }
28822            part { name: "up_over3";
28823                mouse_events: 1;
28824                repeat_events: 1;
28825                description { state: "default" 0.0;
28826                    color: 255 255 255 0;
28827                    rel1.to: "up_bt";
28828                    rel2.to: "up_bt";
28829                    image {
28830                        normal: "bt_glow.png";
28831                        border: 12 12 12 12;
28832                    }
28833                    fill.smooth : 0;
28834                }
28835                description { state: "clicked" 0.0;
28836                    inherit:  "default" 0.0;
28837                    visible: 1;
28838                    color: 255 255 255 255;
28839                }
28840            }
28841            part { name: "down_bt_icon";
28842                repeat_events: 1;
28843                description { state: "default" 0.0;
28844                    rel1.to: "down_bt";
28845                    rel1.offset: 5 3;
28846                    rel2.to: "down_bt";
28847                    rel2.offset: -6 -3;
28848                    align: 0.5 0.5;
28849                    image.normal: "down.png";
28850                }
28851            }
28852            part { name: "up_bt_icon";
28853                repeat_events: 1;
28854                description { state: "default" 0.0;
28855                    rel1.to: "up_bt";
28856                    rel1.offset: 5 3;
28857                    rel2.to: "up_bt";
28858                    rel2.offset: -6 -3;
28859                    align: 0.5 0.5;
28860                    image.normal: "up.png";
28861                }
28862            }
28863            part { name: "elm.text";
28864                type: TEXT;
28865                mouse_events: 0;
28866                scale: 1;
28867                description { state: "default" 0.0;
28868                    visible: 1;
28869                    align: 0.0 0.5;
28870                    rel1 { relative: 0.0 0.0;
28871                        offset: 3 2;
28872                        to_x: "bg";
28873                        to_y: "bg";
28874                    }
28875                    rel2 { relative: 0.0 1.0;
28876                        offset: -3 -2;
28877                        to_x: "down_bt";
28878                        to_y: "bg";
28879                    }
28880                    color: 0 0 0 255;
28881                    text {
28882                        font: "Sans,Edje-Vera";
28883                        size: 10;
28884                        min: 1 1;
28885                        align: 0.5 0.5;
28886                    }
28887                }
28888                description { state: "active" 0.0;
28889                    inherit: "default" 0.0;
28890                    visible: 0;
28891                }
28892                description { state: "disabled_active" 0.0;
28893                    inherit: "default" 0.0;
28894                    color: 0 0 0 128;
28895                    color3: 0 0 0 0;
28896                }
28897                description { state: "disabled" 0.0;
28898                    inherit: "default" 0.0;
28899                    color: 0 0 0 128;
28900                    color3: 0 0 0 0;
28901                }
28902            }
28903            part { name: "elm.dragable.slider";
28904                type: RECT;
28905                mouse_events: 0;
28906                scale: 1;
28907                dragable {
28908                    x: 1 1 0;
28909                    y: 0 0 0;
28910                }
28911                description { state: "default" 0.0;
28912                    rel1.to: "bg";
28913                    rel2.to: "bg";
28914                    fixed: 1 1;
28915                    color: 0 0 0 0;
28916                }
28917            }
28918            part { name: "button_events";
28919                type: RECT;
28920                dragable {
28921                    events: "elm.dragable.slider";
28922                }
28923                mouse_events: 1;
28924                description { state: "default" 0.0;
28925                    rel1.to: "elm.text";
28926                    rel2.to: "elm.text";
28927                    color: 0 0 0 0;
28928                }
28929            }
28930            part { name: "elm.swallow.entry";
28931                type: SWALLOW;
28932                description { state: "default" 0.0;
28933                    visible: 0;
28934                    align: 0.5 0.5;
28935                    rel1 { relative: 0.0 0.5;
28936                        offset: 3 2;
28937                        to: "bg";
28938                    }
28939                    rel2 { relative: 1.0 0.5;
28940                        offset: -3 -2;
28941                        to: "bg";
28942                    }
28943                    fixed: 1 1;
28944                    color: 0 0 0 0;
28945                }
28946                description { state: "active" 0.0;
28947                    inherit: "default" 0.0;
28948                    visible: 1;
28949                    color: 255 255 255 255;
28950                }
28951                description { state: "disabled_active" 0.0;
28952                    inherit: "default" 0.0;
28953                    visible: 0;
28954                }
28955                description { state: "disabled" 0.0;
28956                    inherit: "default" 0.0;
28957                    visible: 0;
28958                }
28959            }
28960            part { name: "disabler";
28961                type: RECT;
28962                description { state: "default" 0.0;
28963                    color: 0 0 0 0;
28964                    visible: 0;
28965                }
28966                description { state: "disabled" 0.0;
28967                    inherit: "default" 0.0;
28968                    visible: 1;
28969                }
28970            }
28971        }
28972        programs {
28973            program { name: "text_show";
28974                signal: "elm,state,text,visible";
28975                source: "elm";
28976                action:  STATE_SET "visible" 0.0;
28977                target: "elm.text";
28978            }
28979            program { name: "text_hide";
28980                signal: "elm,state,text,hidden";
28981                source: "elm";
28982                action:  STATE_SET "default" 0.0;
28983                target: "elm.text";
28984            }
28985            program { name: "dec";
28986                signal: "mouse,down,1";
28987                source: "down_bt";
28988                action: SIGNAL_EMIT "elm,action,decrement,start" "";
28989            }
28990            program { name: "dec2";
28991                signal: "mouse,up,1";
28992                source: "down_bt";
28993                action: SIGNAL_EMIT "elm,action,decrement,stop" "";
28994            }
28995            program { name: "inc";
28996                signal: "mouse,down,1";
28997                source: "up_bt";
28998                action: SIGNAL_EMIT "elm,action,increment,start" "";
28999            }
29000            program { name: "inc2";
29001                signal: "mouse,up,1";
29002                source: "up_bt";
29003                action: SIGNAL_EMIT "elm,action,increment,stop" "";
29004            }
29005            program {
29006                name:   "down_bt_click2";
29007                signal: "mouse,down,1";
29008                source: "down_over3";
29009                action: STATE_SET "clicked" 0.0;
29010                target: "down_over3";
29011            }
29012            program {
29013                name:   "down_bt_unclick2";
29014                signal: "mouse,up,1";
29015                source: "down_over3";
29016                action: STATE_SET "default" 0.0;
29017                transition: DECELERATE 0.5;
29018                target: "down_over3";
29019            }
29020            program {
29021                name:   "up_bt_click2";
29022                signal: "mouse,down,1";
29023                source: "up_over3";
29024                action: STATE_SET "clicked" 0.0;
29025                target: "up_over3";
29026            }
29027            program {
29028                name:   "up_bt_unclick2";
29029                signal: "mouse,up,1";
29030                source: "up_over3";
29031                action: STATE_SET "default" 0.0;
29032                transition: DECELERATE 0.5;
29033                target: "up_over3";
29034            }
29035            program { name: "disable";
29036                signal: "elm,state,disabled";
29037                source: "elm";
29038                action: STATE_SET "disabled" 0.0;
29039                target: "down_bt";
29040                target: "up_bt";
29041                target: "disabler";
29042                after: "disable_text";
29043            }
29044            program { name: "disable_text";
29045                script {
29046                    new st[31];
29047                    new Float:vl;
29048                    get_state(PART:"elm.text", st, 30, vl);
29049                    if (!strcmp(st, "active"))
29050                    set_state(PART:"elm.text", "disabled_active", 0.0);
29051                    else
29052                    set_state(PART:"elm.text", "disabled", 0.0);
29053
29054                    get_state(PART:"elm.swallow.entry", st, 30, vl);
29055                    if (!strcmp(st, "active"))
29056                    set_state(PART:"elm.swallow.entry", "disabled_active", 0.0);
29057                    else
29058                    set_state(PART:"elm.swallow.entry", "disabled", 0.0);
29059                }
29060            }
29061            program { name: "enable";
29062                signal: "elm,state,enabled";
29063                source: "elm";
29064                action: STATE_SET "default" 0.0;
29065                target: "down_bt";
29066                target: "up_bt";
29067                target: "disabler";
29068                after: "enable_text";
29069            }
29070            program { name: "enable_text";
29071                script {
29072                    new st[31];
29073                    new Float:vl;
29074                    get_state(PART:"elm.text", st, 30, vl);
29075                    if (!strcmp(st, "disabled_active"))
29076                    set_state(PART:"elm.text", "active", 0.0);
29077                    else
29078                    set_state(PART:"elm.text", "default", 0.0);
29079
29080                    get_state(PART:"elm.swallow.entry", st, 30, vl);
29081                    if (!strcmp(st, "disabled_active"))
29082                    set_state(PART:"elm.swallow.entry", "active", 0.0);
29083                    else
29084                    set_state(PART:"elm.swallow.entry", "default", 0.0);
29085                }
29086            }
29087            program { name: "active";
29088                signal: "elm,state,active";
29089                source: "elm";
29090                action: STATE_SET "active" 0.0;
29091                target: "elm.text";
29092                target: "elm.swallow.entry";
29093            }
29094            program { name: "inactive";
29095                signal: "elm,state,inactive";
29096                source: "elm";
29097                action: STATE_SET "default" 0.0;
29098                target: "elm.text";
29099                target: "elm.swallow.entry";
29100            }
29101            program { name: "toggle_text";
29102                signal: "mouse,up,1";
29103                source: "button_events";
29104                action: SIGNAL_EMIT "elm,action,entry,toggle" "";
29105            }
29106        }
29107    }
29108
29109
29110    ///////////////////////////////////////////////////////////////////////////////
29111    group { name: "elm/index/base/vertical/default";
29112        images {
29113            image: "bt_base1.png" COMP;
29114            image: "bt_base2.png" COMP;
29115            image: "bt_hilight.png" COMP;
29116            image: "bt_shine.png" COMP;
29117        }
29118        parts {
29119            part { name: "clip";
29120                type: RECT;
29121                mouse_events:  0;
29122                description { state: "default" 0.0;
29123                    visible:  0;
29124                    color: 255 255 255 0;
29125                }
29126                description { state: "active" 0.0;
29127                    visible:  1;
29128                    color: 255 255 255 255;
29129                }
29130            }
29131            part { name: "clip2";
29132                type: RECT;
29133                mouse_events:  0;
29134                clip_to: "clip";
29135                description { state: "default" 0.0;
29136                    visible: 0;
29137                    color: 255 255 255 0;
29138                }
29139                description { state: "active" 0.0;
29140                    visible:  1;
29141                    color: 255 255 255 255;
29142                }
29143            }
29144            part { name: "elm.swallow.index.0";
29145                type: SWALLOW;
29146                clip_to: "clip";
29147                description { state: "default" 0.0;
29148                    align: 1.0 0.5;
29149                    fixed: 1 1;
29150                    rel1 {
29151                        relative: 1.0 0.5;
29152                        offset: -1 5;
29153                    }
29154                    rel2 {
29155                        relative: 1.0 0.5;
29156                        offset: -1 -6;
29157                    }
29158                }
29159            }
29160            part { name: "button_image";
29161                mouse_events: 1;
29162                clip_to: "clip";
29163                description { state: "default" 0.0;
29164                    rel1 {
29165                        to: "elm.text.body";
29166                        offset: -5 -5;
29167                    }
29168                    rel2 {
29169                        to: "elm.text";
29170                        offset: 4 4;
29171                    }
29172                    image {
29173                        normal: "bt_base2.png";
29174                        border: 7 7 7 7;
29175                    }
29176                    image.middle: SOLID;
29177                }
29178            }
29179            part { name: "elm.text.body";
29180                type: TEXT;
29181                effect: SOFT_SHADOW;
29182                mouse_events: 0;
29183                scale: 1;
29184                clip_to: "clip";
29185                description { state: "default" 0.0;
29186                    align: 1.0 0.5;
29187                    fixed: 1 1;
29188                    rel1 {
29189                        to: "elm.text";
29190                        relative: 0.0 0.0;
29191                        offset: 5 0;
29192                    }
29193                    rel2 {
29194                        to: "elm.text";
29195                        relative: 0.0 1.0;
29196                        offset: 5 -1;
29197                    }
29198                    color: 224 224 224 255;
29199                    color3: 0 0 0 64;
29200                    text {
29201                        font:     "Sans,Edje-Vera";
29202                        size:     20;
29203                        min:      1 1;
29204                        align:    1.0 0.5;
29205                    }
29206                }
29207            }
29208            part { name: "elm.text";
29209                type: TEXT;
29210                effect: SOFT_SHADOW;
29211                mouse_events: 0;
29212                scale: 1;
29213                clip_to: "clip";
29214                description { state: "default" 0.0;
29215                    align: 1.0 0.5;
29216                    fixed: 1 1;
29217                    rel1 {
29218                        to_x: "elm.swallow.event.0";
29219                        to_y: "elm.dragable.pointer";
29220                        relative: 0.0 0.5;
29221                        offset: -16 0;
29222                    }
29223                    rel2 {
29224                        to_x: "elm.swallow.event.0";
29225                        to_y: "elm.dragable.pointer";
29226                        relative: 0.0 0.5;
29227                        offset: -16 -1;
29228                    }
29229                    color: 255 0 0 255;
29230                    color3: 0 0 0 64;
29231                    text {
29232                        font:     "Sans,Edje-Vera";
29233                        size:     20;
29234                        min:      1 1;
29235                        align:    1.0 0.5;
29236                    }
29237                }
29238            }
29239            part {       name: "over1";
29240                mouse_events: 0;
29241                clip_to: "clip";
29242                description { state: "default" 0.0;
29243                    rel1 {
29244                        to: "button_image";
29245                    }
29246                    rel2 {
29247                        to: "button_image";
29248                        relative: 1.0 0.5;
29249                    }
29250                    image {
29251                        normal: "bt_hilight.png";
29252                        border: 7 7 7 0;
29253                    }
29254                }
29255            }
29256            part { name: "over2";
29257                mouse_events: 1;
29258                repeat_events: 1;
29259                ignore_flags: ON_HOLD;
29260                clip_to: "clip";
29261                description { state: "default" 0.0;
29262                    rel1 {
29263                        to: "button_image";
29264                    }
29265                    rel2 {
29266                        to: "button_image";
29267                    }
29268                    image {
29269                        normal: "bt_shine.png";
29270                        border: 7 7 7 7;
29271                    }
29272                }
29273            }
29274            part { name: "elm.dragable.pointer";
29275                type: RECT;
29276                mouse_events: 0;
29277                dragable {
29278                    x: 1 1 0;
29279                    y: 1 1 0;
29280                }
29281                clip_to: "clip";
29282                description { state: "default" 0.0;
29283                    fixed: 1 1;
29284                    min: 8 8;
29285                    max: 8 8;
29286                    rel1 {
29287                        relative: 0.0 0.0;
29288                        offset:   0 0;
29289                    }
29290                    rel2 {
29291                        relative: 0.0 0.0;
29292                        offset:   0 0;
29293                    }
29294                    color: 0 0 255 128;
29295                }
29296            }
29297            part { name: "elm.swallow.event.0";
29298                type: SWALLOW;
29299                description { state: "default" 0.0;
29300                    align: 1.0 0.5;
29301                    fixed: 1 1;
29302                    rel1 {
29303                        relative: 1.0 0.0;
29304                        offset: -1 0;
29305                    }
29306                    rel2 {
29307                        relative: 1.0 1.0;
29308                        offset: -1 -1;
29309                    }
29310                }
29311            }
29312        }
29313        programs {
29314            program { name: "active";
29315                signal: "elm,state,active";
29316                source: "elm";
29317                action: STATE_SET "active" 0.0;
29318                transition: DECELERATE 0.5;
29319                target: "clip";
29320            }
29321            program { name: "inactive";
29322                signal: "elm,state,inactive";
29323                source: "elm";
29324                action: STATE_SET "default" 0.0;
29325                transition: DECELERATE 0.5;
29326                target: "clip";
29327            }
29328        }
29329    }
29330
29331    group { name: "elm/index/item/vertical/default";
29332        data.item: "stacking" "above";
29333        data.item: "selectraise" "on";
29334        images {
29335            image: "ilist_1.png" COMP;
29336            image: "ilist_item_shadow.png" COMP;
29337        }
29338        parts {
29339            part {
29340                name: "base_sh";
29341                mouse_events: 0;
29342                description {
29343                    state: "default" 0.0;
29344                    align: 0.0 0.0;
29345                    min: 0 10;
29346                    fixed: 1 1;
29347                    rel1 {
29348                        to: "base";
29349                        relative: 0.0 1.0;
29350                        offset: 0 0;
29351                    }
29352                    rel2 {
29353                        to: "base";
29354                        relative: 1.0 1.0;
29355                        offset: -1 0;
29356                    }
29357                    image {
29358                        normal: "ilist_item_shadow.png";
29359                    }
29360                    fill.smooth: 0;
29361                }
29362            }
29363            part {
29364                name: "base";
29365                mouse_events: 0;
29366                description {
29367                    state: "default" 0.0;
29368                    image {
29369                        normal: "ilist_1.png";
29370                        border: 2 2 2 2;
29371                    }
29372                    fill.smooth: 0;
29373                }
29374                description { state: "active" 0.0;
29375                    inherit: "default" 0.0;
29376                    rel1 {
29377                        offset: -16 0;
29378                    }
29379                }
29380            }
29381            part { name: "elm.text";
29382                type:           TEXT;
29383                mouse_events:   0;
29384                scale: 1;
29385                description {
29386                    state: "default" 0.0;
29387                           //               min: 16 16;
29388                    rel1 {
29389                        to: "base";
29390                        relative: 0.0  0.0;
29391                        offset:   4 4;
29392                    }
29393                    rel2 {
29394                        to: "base";
29395                        relative: 1.0  1.0;
29396                        offset:   -5 -5;
29397                    }
29398                    color: 0 0 0 128;
29399                    text {
29400                        font: "Sans";
29401                        size: 10;
29402                        min: 1 1;
29403                             //                  min: 0 1;
29404                        align: 0.0 0.5;
29405                    }
29406                }
29407                description { state: "active" 0.0;
29408                    inherit: "default" 0.0;
29409                    color: 0 0 0 255;
29410                }
29411            }
29412        }
29413        programs {
29414            program { name: "active";
29415                signal: "elm,state,active";
29416                source: "elm";
29417                action: STATE_SET "active" 0.0;
29418                transition: DECELERATE 0.5;
29419                target: "elm.text";
29420                target: "base";
29421            }
29422            program { name: "inactive";
29423                signal: "elm,state,inactive";
29424                source: "elm";
29425                action: STATE_SET "default" 0.0;
29426                transition: DECELERATE 0.5;
29427                target: "elm.text";
29428                target: "base";
29429            }
29430        }
29431    }
29432
29433    group { name: "elm/index/item_odd/vertical/default";
29434        data.item: "stacking" "below";
29435        images {
29436            image: "ilist_2.png" COMP;
29437        }
29438        parts {
29439            part {
29440                name: "base";
29441                mouse_events: 0;
29442                description {
29443                    state: "default" 0.0;
29444                    image {
29445                        normal: "ilist_2.png";
29446                        border: 2 2 2 2;
29447                    }
29448                    fill.smooth: 0;
29449                }
29450                description { state: "active" 0.0;
29451                    inherit: "default" 0.0;
29452                    rel1 {
29453                        offset: -16 0;
29454                    }
29455                }
29456            }
29457            part { name: "elm.text";
29458                type:           TEXT;
29459                mouse_events:   0;
29460                scale: 1;
29461                description {
29462                    state: "default" 0.0;
29463                           //               min: 16 16;
29464                    rel1 {
29465                        to: "base";
29466                        relative: 0.0  0.0;
29467                        offset:   4 4;
29468                    }
29469                    rel2 {
29470                        to: "base";
29471                        relative: 1.0  1.0;
29472                        offset:   -5 -5;
29473                    }
29474                    color: 0 0 0 128;
29475                    text {
29476                        font: "Sans";
29477                        size: 10;
29478                        min: 1 1;
29479                             //                  min: 0 1;
29480                        align: 0.0 0.5;
29481                    }
29482                }
29483                description { state: "active" 0.0;
29484                    inherit: "default" 0.0;
29485                    color: 0 0 0 255;
29486                }
29487            }
29488        }
29489        programs {
29490            program { name: "active";
29491                signal: "elm,state,active";
29492                source: "elm";
29493                action: STATE_SET "active" 0.0;
29494                transition: DECELERATE 0.5;
29495                target: "elm.text";
29496                target: "base";
29497            }
29498            program { name: "inactive";
29499                signal: "elm,state,inactive";
29500                source: "elm";
29501                action: STATE_SET "default" 0.0;
29502                transition: DECELERATE 0.5;
29503                target: "elm.text";
29504                target: "base";
29505            }
29506        }
29507    }
29508
29509 ///////////////////////////////////////////////////////////////////////////////
29510    group { name: "elm/gengrid/item/default/default";
29511       data.item: "labels" "elm.text";
29512       data.item: "icons" "elm.swallow.icon elm.swallow.end";
29513       images {
29514          image: "bt_sm_base1.png" COMP;
29515          image: "bt_sm_shine.png" COMP;
29516          image: "bt_sm_hilight.png" COMP;
29517          image: "ilist_1.png" COMP;
29518          image: "ilist_item_shadow.png" COMP;
29519       }
29520       parts {
29521          part { name: "event";
29522             type: RECT;
29523             repeat_events: 1;
29524             description {
29525                state: "default" 0.0;
29526                color: 0 0 0 0;
29527             }
29528          }
29529          part { name: "base_sh";
29530             mouse_events: 0;
29531             description { state: "default" 0.0;
29532                align: 0.0 0.0;
29533                min: 0 10;
29534                fixed: 1 1;
29535                rel1 {
29536                   to: "base";
29537                   relative: 0.0 1.0;
29538                   offset: 0 0;
29539                }
29540                rel2 {
29541                   to: "base";
29542                   relative: 1.0 1.0;
29543                   offset: -1 0;
29544                }
29545                image {
29546                   normal: "ilist_item_shadow.png";
29547                }
29548                fill.smooth: 0;
29549             }
29550          }
29551          part { name: "base";
29552             mouse_events: 0;
29553             description { state: "default" 0.0;
29554                image {
29555                   normal: "ilist_1.png";
29556                   border: 2 2 2 2;
29557                }
29558                fill.smooth: 0;
29559             }
29560          }
29561          part { name: "bg";
29562             clip_to: "disclip";
29563             mouse_events: 0;
29564             description { state: "default" 0.0;
29565                visible: 0;
29566                color: 255 255 255 0;
29567                rel1 {
29568                   relative: 0.0 0.0;
29569                   offset: -5 -5;
29570                }
29571                rel2 {
29572                   relative: 1.0 1.0;
29573                   offset: 4 4;
29574                }
29575                image {
29576                   normal: "bt_sm_base1.png";
29577                   border: 6 6 6 6;
29578                }
29579                image.middle: SOLID;
29580             }
29581             description { state: "selected" 0.0;
29582                inherit: "default" 0.0;
29583                visible: 1;
29584                color: 255 255 255 255;
29585                rel1 {
29586                   relative: 0.0 0.0;
29587                   offset: -2 -2;
29588                }
29589                rel2 {
29590                   relative: 1.0 1.0;
29591                   offset: 1 1;
29592                }
29593             }
29594          }
29595          part { name: "elm.swallow.pad";
29596             type: SWALLOW;
29597             description { state: "default" 0.0;
29598                fixed: 1 0;
29599                align: 0.0 0.5;
29600                rel1 {
29601                   relative: 0.0  1.0;
29602                   offset:   0    -10;
29603                }
29604                rel2 {
29605                   to_y: "elm.text";
29606                   relative: 0.0  0.0;
29607                   offset:   -1   -1;
29608                }
29609             }
29610          }
29611          part { name: "elm.swallow.icon";
29612             clip_to: "disclip";
29613             type: SWALLOW;
29614             description { state: "default" 0.0;
29615                fixed: 1 0;
29616                align: 0.5 0.5;
29617                rel1 {
29618                   relative: 0.0  0.0;
29619                   offset:   -1    4;
29620                }
29621                rel2 {
29622                   to_y: "elm.swallow.pad";
29623                   relative: 1.0  0.0;
29624                   offset:   -1   -5;
29625                }
29626             }
29627          }
29628          part { name: "elm.swallow.end";
29629             clip_to: "disclip";
29630             type: SWALLOW;
29631             description { state: "default" 0.0;
29632                fixed: 1 0;
29633                align: 1.0 0.0;
29634                aspect: 1.0 1.0;
29635                aspect_preference: HORIZONTAL;
29636                rel1 {
29637                   relative: 1.0 0.0;
29638                   offset: -5 -5;
29639                }
29640                rel2 {
29641                   relative: 1.0 1.0;
29642                   offset: 5 5;
29643                }
29644             }
29645          }
29646          part { name: "elm.text";
29647             clip_to: "disclip";
29648             type: TEXT;
29649             effect: SOFT_SHADOW;
29650             mouse_events: 0;
29651             scale: 1;
29652             description { state: "default" 0.0;
29653                rel1 {
29654                   relative: 0.0  1.0;
29655                   offset: 0 0;
29656                }
29657                rel2 {
29658                   relative: 1.0  1.0;
29659                   offset: -5 -5;
29660                }
29661                color: 0 0 0 255;
29662                color3: 0 0 0 0;
29663                text {
29664                   font: "Sans";
29665                   size: 10;
29666                   min: 0 1;
29667                   align: 0.5 0.0;
29668                   text_class: "grid_item";
29669                }
29670             }
29671             description { state: "selected" 0.0;
29672                inherit: "default" 0.0;
29673                color: 224 224 224 255;
29674                color3: 0 0 0 64;
29675             }
29676          }
29677          part { name: "fg1";
29678             clip_to: "disclip";
29679             mouse_events: 0;
29680             description { state: "default" 0.0;
29681                visible: 0;
29682                color: 255 255 255 0;
29683                rel1.to: "bg";
29684                rel2.relative: 1.0 0.5;
29685                rel2.to: "bg";
29686                image {
29687                   normal: "bt_sm_hilight.png";
29688                   border: 6 6 6 0;
29689                }
29690             }
29691             description { state: "selected" 0.0;
29692                inherit: "default" 0.0;
29693                visible: 1;
29694                color: 255 255 255 255;
29695             }
29696          }
29697          part { name: "fg2";
29698             clip_to: "disclip";
29699             mouse_events: 0;
29700             description { state: "default" 0.0;
29701                visible: 0;
29702                color: 255 255 255 0;
29703                rel1.to: "bg";
29704                rel2.to: "bg";
29705                image {
29706                   normal: "bt_sm_shine.png";
29707                   border: 6 6 6 0;
29708                }
29709             }
29710             description { state: "selected" 0.0;
29711                inherit: "default" 0.0;
29712                visible: 1;
29713                color: 255 255 255 255;
29714             }
29715          }
29716          part { name: "disclip";
29717             type: RECT;
29718             description { state: "default" 0.0;
29719                rel1.to: "bg";
29720                rel2.to: "bg";
29721             }
29722             description { state: "disabled" 0.0;
29723                inherit: "default" 0.0;
29724                color: 255 255 255 64;
29725             }
29726          }
29727       }
29728       programs {
29729          // signal: elm,state,%s,active
29730          //   a "check" item named %s went active
29731          // signal: elm,state,%s,passive
29732          //   a "check" item named %s went passive
29733          // default is passive
29734          program { name:    "go_active";
29735             signal:  "elm,state,selected";
29736             source:  "elm";
29737             action:  STATE_SET "selected" 0.0;
29738             target:  "bg";
29739             target:  "fg1";
29740             target:  "fg2";
29741             target:  "elm.text";
29742          }
29743          program { name:    "go_passive";
29744             signal:  "elm,state,unselected";
29745             source:  "elm";
29746             action:  STATE_SET "default" 0.0;
29747             target:  "bg";
29748             target:  "fg1";
29749             target:  "fg2";
29750             target:  "elm.text";
29751             transition: LINEAR 0.1;
29752          }
29753          program { name:    "go_disabled";
29754             signal:  "elm,state,disabled";
29755             source:  "elm";
29756             action:  STATE_SET "disabled" 0.0;
29757             target:  "disclip";
29758          }
29759          program { name:    "go_enabled";
29760             signal:  "elm,state,enabled";
29761             source:  "elm";
29762             action:  STATE_SET "default" 0.0;
29763             target:  "disclip";
29764          }
29765       }
29766    }
29767    group { name: "elm/gengrid/item/default_style/default";
29768        styles
29769        {
29770            style { name: "gengrid_style";
29771                base: "font=Sans font_size=10 align=left valign=0.5 color=#000 text_class=grid_item";
29772                tag:  "br" "\n";
29773                tag:  "ps" "ps";
29774                tag:  "hilight" "+ font=Sans:style=Bold";
29775                tag:  "b" "+ font=Sans:style=Bold";
29776                tag:  "tab" "\t";
29777            }
29778            style { name: "gengrid_selected_style";
29779                base: "font=Sans font_size=10 align=left valign=0.5 color=#fff text_class=grid_item";
29780                tag:  "br" "\n";
29781                tag:  "ps" "ps";
29782                tag:  "hilight" "+ font=Sans:style=Bold";
29783                tag:  "b" "+ font=Sans:style=Bold";
29784                tag:  "tab" "\t";
29785            }
29786        }
29787        data.item: "labels" "elm.text";
29788        data.item: "icons" "elm.swallow.icon elm.swallow.end";
29789        images {
29790            image: "bt_sm_base1.png" COMP;
29791            image: "bt_sm_shine.png" COMP;
29792            image: "bt_sm_hilight.png" COMP;
29793            image: "ilist_1.png" COMP;
29794            image: "ilist_item_shadow.png" COMP;
29795        }
29796        parts {
29797            part { name: "event";
29798                type: RECT;
29799                repeat_events: 1;
29800                description { state: "default" 0.0;
29801                    color: 0 0 0 0;
29802                }
29803            }
29804            part { name: "base_sh";
29805                mouse_events: 0;
29806                description { state: "default" 0.0;
29807                    align: 0.0 0.0;
29808                    min: 0 10;
29809                    fixed: 1 1;
29810                    rel1 {
29811                        to: "base";
29812                        relative: 0.0 1.0;
29813                        offset: 0 0;
29814                    }
29815                    rel2 {
29816                        to: "base";
29817                        relative: 1.0 1.0;
29818                        offset: -1 0;
29819                    }
29820                    image {
29821                        normal: "ilist_item_shadow.png";
29822                    }
29823                    fill.smooth: 0;
29824                }
29825            }
29826            part { name: "base";
29827                mouse_events: 0;
29828                description { state: "default" 0.0;
29829                    min: 16 28;
29830                    image {
29831                        normal: "ilist_1.png";
29832                        border: 2 2 2 2;
29833                    }
29834                    fill.smooth: 0;
29835                }
29836            }
29837            part { name: "bg";
29838                clip_to: "disclip";
29839                mouse_events: 0;
29840                description { state: "default" 0.0;
29841                    visible: 0;
29842                    color: 255 255 255 0;
29843                    rel1 {
29844                        relative: 0.0 0.0;
29845                        offset: -5 -5;
29846                    }
29847                    rel2 {
29848                        relative: 1.0 1.0;
29849                        offset: 4 4;
29850                    }
29851                    image {
29852                        normal: "bt_sm_base1.png";
29853                        border: 6 6 6 6;
29854                    }
29855                    image.middle: SOLID;
29856                }
29857                description { state: "selected" 0.0;
29858                    inherit: "default" 0.0;
29859                    visible: 1;
29860                    color: 255 255 255 255;
29861                    rel1 {
29862                        relative: 0.0 0.0;
29863                        offset: -2 -2;
29864                    }
29865                    rel2 {
29866                        relative: 1.0 1.0;
29867                        offset: 1 1;
29868                    }
29869                }
29870            }
29871            part { name: "elm.swallow.pad";
29872                type: SWALLOW;
29873                description { state: "default" 0.0;
29874                    fixed: 1 0;
29875                    align: 0.0 0.5;
29876                    rel1 {
29877                        relative: 0.0  0.0;
29878                        offset:   4    4;
29879                    }
29880                    rel2 {
29881                        relative: 0.0  1.0;
29882                        offset:   4   -5;
29883                    }
29884                }
29885            }
29886            part { name: "elm.swallow.icon";
29887                clip_to: "disclip";
29888                type: SWALLOW;
29889                description { state: "default" 0.0;
29890                    fixed: 1 0;
29891                    align: 0.0 0.5;
29892                    rel1 {
29893                        to_x: "elm.swallow.pad";
29894                        relative: 1.0  0.0;
29895                        offset:   -1    4;
29896                    }
29897                    rel2 {
29898                        to_x: "elm.swallow.pad";
29899                        relative: 1.0  1.0;
29900                        offset:   -1   -5;
29901                    }
29902                }
29903            }
29904            part { name: "elm.swallow.end";
29905                clip_to: "disclip";
29906                type: SWALLOW;
29907                description { state: "default" 0.0;
29908                    fixed: 1 0;
29909                    align: 1.0 0.5;
29910                    aspect: 1.0 1.0;
29911                    aspect_preference: VERTICAL;
29912                    rel1 {
29913                        relative: 1.0  0.0;
29914                        offset:   -5    4;
29915                    }
29916                    rel2 {
29917                        relative: 1.0  1.0;
29918                        offset:   -5   -5;
29919                    }
29920                }
29921            }
29922            part { name: "elm.text";
29923                clip_to: "disclip";
29924                type: TEXTBLOCK;
29925                mouse_events: 0;
29926                scale: 1;
29927                description {
29928                    state: "default" 0.0;
29929                    align: 0.0 0.5;
29930                    fixed: 0 1;
29931                    rel1 {
29932                        to_x: "elm.swallow.icon";
29933                        to_y: "base";
29934                        relative: 1.0  0.5;
29935                        offset:   0 4;
29936                    }
29937                    rel2 {
29938                        to_x: "elm.swallow.end";
29939                        to_y: "base";
29940                        relative: 0.0  0.5;
29941                        offset:   -1 -5;
29942                    }
29943                    text {
29944                        style: "gengrid_style";
29945                        min: 1 1;
29946                    }
29947                }
29948                description { state: "selected" 0.0;
29949                    inherit: "default" 0.0;
29950                    text {
29951                        style: "gengrid_selected_style";
29952                    }
29953                }
29954            }
29955            part { name: "fg1";
29956                clip_to: "disclip";
29957                mouse_events: 0;
29958                description { state: "default" 0.0;
29959                    visible: 0;
29960                    color: 255 255 255 0;
29961                    rel1.to: "bg";
29962                    rel2.relative: 1.0 0.5;
29963                    rel2.to: "bg";
29964                    image {
29965                        normal: "bt_sm_hilight.png";
29966                        border: 6 6 6 0;
29967                    }
29968                }
29969                description { state: "selected" 0.0;
29970                    inherit: "default" 0.0;
29971                    visible: 1;
29972                    color: 255 255 255 255;
29973                }
29974            }
29975            part { name: "fg2";
29976                clip_to: "disclip";
29977                mouse_events: 0;
29978                description { state: "default" 0.0;
29979                    visible: 0;
29980                    color: 255 255 255 0;
29981                    rel1.to: "bg";
29982                    rel2.to: "bg";
29983                    image {
29984                        normal: "bt_sm_shine.png";
29985                        border: 6 6 6 0;
29986                    }
29987                }
29988                description { state: "selected" 0.0;
29989                    inherit: "default" 0.0;
29990                    visible: 1;
29991                    color: 255 255 255 255;
29992                }
29993            }
29994            part { name: "disclip";
29995                type: RECT;
29996                description { state: "default" 0.0;
29997                    rel1.to: "bg";
29998                    rel2.to: "bg";
29999                }
30000                description { state: "disabled" 0.0;
30001                    inherit: "default" 0.0;
30002                    color: 255 255 255 64;
30003                }
30004            }
30005        }
30006        programs {
30007            // signal: elm,state,%s,active
30008            //   a "check" item named %s went active
30009            // signal: elm,state,%s,passive
30010            //   a "check" item named %s went passive
30011            // default is passive
30012            program { name:    "go_active";
30013                signal:  "elm,state,selected";
30014                source:  "elm";
30015                action:  STATE_SET "selected" 0.0;
30016                target:  "bg";
30017                target:  "fg1";
30018                target:  "fg2";
30019                target:  "elm.text";
30020            }
30021            program { name:    "go_passive";
30022                signal:  "elm,state,unselected";
30023                source:  "elm";
30024                action:  STATE_SET "default" 0.0;
30025                target:  "bg";
30026                target:  "fg1";
30027                target:  "fg2";
30028                target:  "elm.text";
30029                transition: LINEAR 0.1;
30030            }
30031            program { name:    "go_disabled";
30032                signal:  "elm,state,disabled";
30033                source:  "elm";
30034                action:  STATE_SET "disabled" 0.0;
30035                target:  "disclip";
30036            }
30037            program { name:    "go_enabled";
30038                signal:  "elm,state,enabled";
30039                source:  "elm";
30040                action:  STATE_SET "default" 0.0;
30041                target:  "disclip";
30042            }
30043        }
30044    }
30045
30046    group { name: "elm/gengrid/item/up/default";
30047       data.item: "labels" "elm.text";
30048       images {
30049           image: "bt_sm_base1.png" COMP;
30050           image: "bt_sm_shine.png" COMP;
30051           image: "bt_sm_hilight.png" COMP;
30052           image: "arrow_up.png" COMP;
30053       }
30054       parts {
30055          part { name: "event";
30056             type: RECT;
30057             repeat_events: 1;
30058             description { state: "default" 0.0;
30059                color: 0 0 0 0;
30060             }
30061          }
30062          part { name: "bg";
30063             clip_to: "disclip";
30064             mouse_events: 0;
30065             description { state: "default" 0.0;
30066                visible: 0;
30067                color: 255 255 255 0;
30068                rel1.offset: -3 -3;
30069                rel2.offset: 2 2;
30070                image { normal: "bt_sm_base1.png";
30071                   border: 6 6 6 6;
30072                   middle: SOLID;
30073                }
30074             }
30075             description { state: "selected" 0.0;
30076                inherit: "default" 0.0;
30077                visible: 1;
30078                color: 255 255 255 255;
30079             }
30080          }
30081          part { name: "image";
30082              type: IMAGE;
30083              mouse_events: 0;
30084              description { state: "default" 0.0;
30085                  aspect_preference: BOTH;
30086                  aspect: 1.0 1.0;
30087                  image.normal: "arrow_up.png";
30088                  rel2 {
30089                      to_y: "elm.text";
30090                      relative: 1.0 0.0;
30091                      offset: -1 -2;
30092                  }
30093              }
30094          }
30095          part { name: "elm.text";
30096             clip_to: "disclip";
30097             type: TEXT;
30098             effect: SOFT_SHADOW;
30099             mouse_events: 0;
30100             scale: 1;
30101             description { state: "default" 0.0;
30102                rel1 {
30103                   relative: 0.0  1.0;
30104                   offset: 20 -25;
30105                }
30106                rel2 {
30107                   relative: 1.0  1.0;
30108                   offset: -21 -3;
30109                }
30110                color: 0 0 0 255;
30111                color3: 0 0 0 0;
30112                text {
30113                   font: "Sans";
30114                   size: 10;
30115                   min: 0 1;
30116                   align: 0.5 0.0;
30117                   text_class: "grid_item";
30118                }
30119             }
30120             description { state: "selected" 0.0;
30121                inherit: "default" 0.0;
30122                color: 224 224 224 255;
30123                color3: 0 0 0 64;
30124             }
30125          }
30126          part { name: "fg1";
30127             clip_to: "disclip";
30128             mouse_events: 0;
30129             description { state: "default" 0.0;
30130                visible: 0;
30131                color: 255 255 255 0;
30132                rel1.offset: -3 -3;
30133                rel2 {
30134                    relative: 1.0 0.5;
30135                    offset: 2 -1;
30136                }
30137                image {
30138                   normal: "bt_sm_hilight.png";
30139                   border: 6 6 6 0;
30140                }
30141             }
30142             description { state: "selected" 0.0;
30143                inherit: "default" 0.0;
30144                visible: 1;
30145                color: 255 255 255 255;
30146             }
30147          }
30148          part { name: "fg2";
30149             clip_to: "disclip";
30150             mouse_events: 0;
30151             description { state: "default" 0.0;
30152                visible: 0;
30153                color: 255 255 255 0;
30154                rel1.offset: -3 -3;
30155                rel2.offset: 2 2;
30156                image {
30157                   normal: "bt_sm_shine.png";
30158                   border: 6 6 6 0;
30159                }
30160             }
30161             description { state: "selected" 0.0;
30162                inherit: "default" 0.0;
30163                visible: 1;
30164                color: 255 255 255 255;
30165             }
30166          }
30167          part { name: "disclip";
30168             type: RECT;
30169             description { state: "default" 0.0;
30170                rel1.to: "bg";
30171                rel2.to: "bg";
30172             }
30173             description { state: "disabled" 0.0;
30174                inherit: "default" 0.0;
30175                color: 255 255 255 64;
30176             }
30177          }
30178       }
30179       programs {
30180          program { name:    "go_active";
30181             signal:  "elm,state,selected";
30182             source:  "elm";
30183             action:  STATE_SET "selected" 0.0;
30184             target:  "bg";
30185             target:  "fg1";
30186             target:  "fg2";
30187             target:  "elm.text";
30188          }
30189          program { name:    "go_passive";
30190             signal:  "elm,state,unselected";
30191             source:  "elm";
30192             action:  STATE_SET "default" 0.0;
30193             target:  "bg";
30194             target:  "fg1";
30195             target:  "fg2";
30196             target:  "elm.text";
30197             transition: LINEAR 0.1;
30198          }
30199          program { name:    "go_disabled";
30200             signal:  "elm,state,disabled";
30201             source:  "elm";
30202             action:  STATE_SET "disabled" 0.0;
30203             target:  "disclip";
30204          }
30205          program { name:    "go_enabled";
30206             signal:  "elm,state,enabled";
30207             source:  "elm";
30208             action:  STATE_SET "default" 0.0;
30209             target:  "disclip";
30210          }
30211       }
30212    }
30213
30214    group { name: "elm/gengrid/item/album-preview/default";
30215       data.item: "labels" "elm.text";
30216       data.item: "icons" "elm.swallow.icon.1 elm.swallow.icon.2 elm.swallow.icon.3 elm.swallow.icon.4";
30217       data.item: "states" "have_files";
30218       images {
30219          image: "bt_sm_base1.png" COMP;
30220          image: "bt_sm_shine.png" COMP;
30221          image: "bt_sm_hilight.png" COMP;
30222          image: "icon_folder.png" COMP;
30223       }
30224       parts {
30225          part { name: "event";
30226             type: RECT;
30227             repeat_events: 1;
30228             description { state: "default" 0.0;
30229                color: 0 0 0 0;
30230             }
30231          }
30232          part { name: "bg";
30233             clip_to: "disclip";
30234             mouse_events: 0;
30235             description { state: "default" 0.0;
30236                visible: 0;
30237                color: 255 255 255 0;
30238                rel1.offset: -3 -3;
30239                rel2.offset: 2 2;
30240                image {
30241                   normal: "bt_sm_base1.png";
30242                   border: 6 6 6 6;
30243                   middle: SOLID;
30244                }
30245             }
30246             description { state: "selected" 0.0;
30247                inherit: "default" 0.0;
30248                visible: 1;
30249                color: 255 255 255 255;
30250             }
30251          }
30252          part { name: "image";
30253              type: IMAGE;
30254              mouse_events: 0;
30255              description { state: "default" 0.0;
30256                  aspect_preference: BOTH;
30257                  aspect: 1.0 1.0;
30258                  image.normal: "icon_folder.png";
30259                  rel2 {
30260                      to_y: "elm.text";
30261                      relative: 1.0 0.0;
30262                      offset: -1 -2;
30263                  }
30264              }
30265          }
30266          part { name: "have-files-clipper";
30267              type: RECT;
30268              description { state: "default" 0.0;
30269                  color: 255 255 255 0;
30270                  visible: 0;
30271              }
30272              description { state: "visible" 0.0;
30273                  inherit: "default" 0.0;
30274                  color: 255 255 255 255;
30275                  visible: 1;
30276              }
30277          }
30278          part { name: "icon_box_margin";
30279              type: RECT;
30280              mouse_events: 0;
30281              clip_to: "have-files-clipper";
30282              description { state: "default" 0.0;
30283                  color: 0 0 0 255;
30284                  rel1 {
30285                      to: "icon_box";
30286                      offset: -1 -1;
30287                  }
30288                  rel2 {
30289                      to: "icon_box";
30290                      offset: 0 0;
30291                  }
30292              }
30293          }
30294          part { name: "icon_box";
30295              type: RECT;
30296              mouse_events: 0;
30297              clip_to: "have-files-clipper";
30298              description { state: "default" 0.0;
30299                  color: 255 255 255 255;
30300                  align: 1.0 1.0;
30301                  min: 32 32;
30302                  rel1 {
30303                      relative: 0.25 0.25;
30304                      offset: 0 0;
30305                  }
30306                  rel2 {
30307                      relative: 1.0 0.0;
30308                      offset: -11 -4;
30309                      to_y: "elm.text";
30310                  }
30311              }
30312          }
30313          part { name: "elm.swallow.icon.1";
30314              type: SWALLOW;
30315              mouse_events: 0;
30316              clip_to: "have-files-clipper";
30317              description { state: "default" 0.0;
30318                rel1 {
30319                   relative: 0.0  0.0;
30320                   to: "icon_box";
30321                }
30322                rel2 {
30323                   relative: 0.5  0.5;
30324                   offset: -1 -1;
30325                   to: "icon_box";
30326                }
30327             }
30328          }
30329          part { name: "elm.swallow.icon.2";
30330              type: SWALLOW;
30331              mouse_events: 0;
30332              clip_to: "have-files-clipper";
30333              description { state: "default" 0.0;
30334                rel1 {
30335                   relative: 0.5  0.0;
30336                   to: "icon_box";
30337                }
30338                rel2 {
30339                   relative: 1.0  0.5;
30340                   offset: -1 -1;
30341                   to: "icon_box";
30342                }
30343             }
30344          }
30345          part { name: "elm.swallow.icon.3";
30346              type: SWALLOW;
30347              mouse_events: 0;
30348              clip_to: "have-files-clipper";
30349              description { state: "default" 0.0;
30350                rel1 {
30351                   relative: 0.0  0.5;
30352                   to: "icon_box";
30353                }
30354                rel2 {
30355                   relative: 0.5  1.0;
30356                   offset: -1 -1;
30357                   to: "icon_box";
30358                }
30359             }
30360          }
30361          part { name: "elm.swallow.icon.4";
30362              type: SWALLOW;
30363              mouse_events: 0;
30364              clip_to: "have-files-clipper";
30365              description { state: "default" 0.0;
30366                rel1 {
30367                   relative: 0.5  0.5;
30368                   to: "icon_box";
30369                }
30370                rel2 {
30371                   relative: 1.0  1.0;
30372                   offset: -1 -1;
30373                   to: "icon_box";
30374                }
30375             }
30376          }
30377          part { name: "elm.text";
30378             clip_to: "disclip";
30379             type: TEXT;
30380             effect: SOFT_SHADOW;
30381             mouse_events: 0;
30382             scale: 1;
30383             description { state: "default" 0.0;
30384                rel1 {
30385                   relative: 0.0  1.0;
30386                   offset: 20 -30;
30387                }
30388                rel2 {
30389                   relative: 1.0  1.0;
30390                   offset: -21 -15;
30391                }
30392                color: 0 0 0 255;
30393                color3: 0 0 0 0;
30394                text {
30395                   font: "Sans";
30396                   size: 10;
30397                   min: 0 1;
30398                   align: 0.5 0.0;
30399                   text_class: "grid_item";
30400                }
30401             }
30402             description { state: "selected" 0.0;
30403                 inherit: "default" 0.0;
30404                 color: 255 255 255 255;
30405             }
30406          }
30407          part { name: "fg1";
30408             clip_to: "disclip";
30409             mouse_events: 0;
30410             description { state: "default" 0.0;
30411                visible: 0;
30412                color: 255 255 255 0;
30413                rel1.offset: -3 -3;
30414                rel2 {
30415                    relative: 1.0 0.5;
30416                    offset: 2 -1;
30417                }
30418                image {
30419                   normal: "bt_sm_hilight.png";
30420                   border: 6 6 6 0;
30421                }
30422             }
30423             description { state: "selected" 0.0;
30424                inherit: "default" 0.0;
30425                visible: 1;
30426                color: 255 255 255 255;
30427             }
30428          }
30429          part { name: "fg2";
30430             clip_to: "disclip";
30431             mouse_events: 0;
30432             description { state: "default" 0.0;
30433                visible: 0;
30434                color: 255 255 255 0;
30435                rel1.offset: -3 -3;
30436                rel2.offset: 2 2;
30437                image {
30438                   normal: "bt_sm_shine.png";
30439                   border: 6 6 6 0;
30440                }
30441             }
30442             description { state: "selected" 0.0;
30443                inherit: "default" 0.0;
30444                visible: 1;
30445                color: 255 255 255 255;
30446             }
30447          }
30448          part { name: "disclip";
30449             type: RECT;
30450             description { state: "default" 0.0;
30451                rel1.to: "bg";
30452                rel2.to: "bg";
30453             }
30454             description { state: "disabled" 0.0;
30455                inherit: "default" 0.0;
30456                color: 255 255 255 64;
30457             }
30458          }
30459       }
30460       programs {
30461          program { name:    "go_active";
30462             signal:  "elm,state,selected";
30463             source:  "elm";
30464             action:  STATE_SET "selected" 0.0;
30465             target:  "bg";
30466             target:  "fg1";
30467             target:  "fg2";
30468             target:  "elm.text";
30469          }
30470          program { name:    "go_passive";
30471             signal:  "elm,state,unselected";
30472             source:  "elm";
30473             action:  STATE_SET "default" 0.0;
30474             target:  "bg";
30475             target:  "fg1";
30476             target:  "fg2";
30477             target:  "elm.text";
30478             transition: LINEAR 0.1;
30479          }
30480          program { name:    "go_disabled";
30481             signal:  "elm,state,disabled";
30482             source:  "elm";
30483             action:  STATE_SET "disabled" 0.0;
30484             target:  "disclip";
30485          }
30486          program { name:    "go_enabled";
30487             signal:  "elm,state,enabled";
30488             source:  "elm";
30489             action:  STATE_SET "default" 0.0;
30490             target:  "disclip";
30491          }
30492          program {
30493              signal: "elm,state,have_files,active";
30494              source: "elm";
30495              action: STATE_SET "visible" 0.0;
30496              target: "have-files-clipper";
30497          }
30498       }
30499    }
30500
30501    group { name: "elm/gengrid/item/thumb/default";
30502        data {
30503            item: "icons" "elm.swallow.icon";
30504            item: "labels" "elm.text";
30505        }
30506        images {
30507            image: "bt_sm_base1.png" COMP;
30508            image: "bt_sm_shine.png" COMP;
30509            image: "bt_sm_hilight.png" COMP;
30510            image: "thumb_shadow.png" COMP;
30511        }
30512        parts {
30513            part { name: "event";
30514                type: RECT;
30515                repeat_events: 1;
30516                description { state: "default" 0.0;
30517                    color: 0 0 0 0;
30518                }
30519            }
30520            part { name: "bg";
30521                mouse_events: 0;
30522                description { state: "default" 0.0;
30523                    visible: 0;
30524                    color: 255 255 255 0;
30525                    rel1.offset: -3 -3;
30526                    rel2.offset: 2 2;
30527                    image {
30528                        normal: "bt_sm_base1.png";
30529                        border: 6 6 6 6;
30530                        middle: SOLID;
30531                    }
30532                }
30533                description { state: "selected" 0.0;
30534                    inherit: "default" 0.0;
30535                    visible: 1;
30536                    color: 255 255 255 255;
30537                }
30538            }
30539            part { name: "border-shadow";
30540                type: IMAGE;
30541                mouse_events: 0;
30542                description { state: "default" 0.0;
30543                    rel1 {
30544                        to: "elm.swallow.icon";
30545                        offset: -18 -18;
30546                    }
30547                    rel2 {
30548                        to_x: "elm.swallow.icon";
30549                        to_y: "elm.text";
30550                        offset: 17 17;
30551                    }
30552                    image {
30553                        normal: "thumb_shadow.png";
30554                        border: 17 17 17 17;
30555                        middle: NONE;
30556                    }
30557                }
30558            }
30559            part { name: "border";
30560                type: RECT;
30561                mouse_events: 0;
30562                description { state: "default" 0.0;
30563                    rel1 {
30564                        to: "border-shadow";
30565                        offset: 16 16;
30566                    }
30567                    rel2 {
30568                        to: "border-shadow";
30569                        offset: -15 -15;
30570                    }
30571                }
30572            }
30573            part { name: "elm.swallow.icon";
30574                type: SWALLOW;
30575                mouse_events: 0;
30576                description { state: "default" 0.0;
30577                    aspect_preference: BOTH;
30578                    aspect: 1.0 1.0;
30579                    rel1.offset: 0 8;
30580                    rel2 {
30581                        to_y: "elm.text";
30582                        relative: 1.0 0.0;
30583                        offset: -1 -2;
30584                    }
30585                }
30586            }
30587            part { name: "elm.text";
30588                type: TEXT;
30589                effect: SOFT_SHADOW;
30590                mouse_events: 0;
30591                scale: 1;
30592                description { state: "default" 0.0;
30593                    color: 0 0 0 255;
30594                    color3: 0 0 0 0;
30595                    align: 0.5 1.0;
30596                    rel1 {
30597                        relative: 0.0 1.0;
30598                        offset: 20 -30;
30599                    }
30600                    rel2 {
30601                        relative: 1.0 1.0;
30602                        offset: -21 -15;
30603                    }
30604                    text {
30605                        font: "Sans";
30606                        size: 10;
30607                        min: 0 1;
30608                        align: 0.5 0.0;
30609                        text_class: "grid_item";
30610                    }
30611                }
30612            }
30613            part { name: "fg1";
30614                mouse_events: 0;
30615                description { state: "default" 0.0;
30616                    visible: 0;
30617                    color: 255 255 255 0;
30618                    rel1.offset: -3 -3;
30619                    rel2 {
30620                        relative: 1.0 0.5;
30621                        offset: 2 -1;
30622                    }
30623                    image {
30624                        normal: "bt_sm_hilight.png";
30625                        border: 6 6 6 0;
30626                    }
30627                }
30628                description { state: "selected" 0.0;
30629                    inherit: "default" 0.0;
30630                    visible: 1;
30631                    color: 255 255 255 255;
30632                }
30633            }
30634            part { name: "fg2";
30635                mouse_events: 0;
30636                description { state: "default" 0.0;
30637                    visible: 0;
30638                    color: 255 255 255 0;
30639                    rel1.offset: -3 -3;
30640                    rel2.offset: 2 2;
30641                    image {
30642                        image: "bt_sm_shine.png";
30643                        border: 6 6 6 0;
30644                    }
30645                }
30646                description { state: "selected" 0.0;
30647                    inherit: "default" 0.0;
30648                    visible: 1;
30649                    color: 255 255 255 255;
30650                }
30651            }
30652        }
30653        programs {
30654            program {
30655                signal: "elm,state,selected";
30656                source: "elm";
30657                action: STATE_SET "selected" 0.0;
30658                target: "bg";
30659                target: "fg1";
30660                target: "fg2";
30661            }
30662            program {
30663                signal: "elm,state,unselected";
30664                source: "elm";
30665                action:  STATE_SET "default" 0.0;
30666                target: "bg";
30667                target: "fg1";
30668                target: "fg2";
30669                transition: LINEAR 0.1;
30670            }
30671        }
30672    }
30673
30674 ///////////////////////////////////////////////////////////////////////////////
30675    group { name: "elm/photocam/base/default";
30676        script {
30677            public sbvis_v, sbvis_h, sbalways_v, sbalways_h, sbvis_timer;
30678            public timer0(val) {
30679                new v;
30680                v = get_int(sbvis_v);
30681                if (v) {
30682                    v = get_int(sbalways_v);
30683                    if (!v) {
30684                        emit("do-hide-vbar", "");
30685                        set_int(sbvis_v, 0);
30686                    }
30687                }
30688                v = get_int(sbvis_h);
30689                if (v) {
30690                    v = get_int(sbalways_h);
30691                    if (!v) {
30692                        emit("do-hide-hbar", "");
30693                        set_int(sbvis_h, 0);
30694                    }
30695                }
30696                set_int(sbvis_timer, 0);
30697                return 0;
30698            }
30699        }
30700        images {
30701            image: "shelf_inset.png" COMP;
30702            image: "bt_sm_base2.png" COMP;
30703            image: "bt_sm_shine.png" COMP;
30704            image: "bt_sm_hilight.png" COMP;
30705            image: "busy-1.png" COMP;
30706            image: "busy-2.png" COMP;
30707            image: "busy-3.png" COMP;
30708            image: "busy-4.png" COMP;
30709            image: "busy-5.png" COMP;
30710            image: "busy-6.png" COMP;
30711            image: "busy-7.png" COMP;
30712            image: "busy-8.png" COMP;
30713            image: "busy-9.png" COMP;
30714        }
30715        parts {
30716            part { name: "bg";
30717                type: RECT;
30718                description { state: "default" 0.0;
30719                    rel1.offset: 1 1;
30720                    rel2.offset: -2 -2;
30721                    color: 255 255 255 0;
30722                }
30723            }
30724            part { name: "clipper";
30725                type: RECT;
30726                mouse_events: 0;
30727                description { state: "default" 0.0;
30728                    rel1.to: "bg";
30729                    rel2.to: "bg";
30730                }
30731            }
30732            part { name: "elm.swallow.content";
30733                clip_to: "clipper";
30734                type: SWALLOW;
30735                description { state: "default" 0.0;
30736                    rel1.offset: 1 1;
30737                    rel2.offset: -2 -2;
30738                }
30739            }
30740            part { name: "busy_clip";
30741                type: RECT;
30742                mouse_events: 0;
30743                description { state: "default" 0.0;
30744                    visible: 0;
30745                    color: 255 255 255 0;
30746                }
30747                description { state: "active" 0.0;
30748                    visible: 1;
30749                    color: 255 255 255 255;
30750                }
30751            }
30752            part { name: "busy";
30753                clip_to: "busy_clip";
30754                mouse_events: 0;
30755                description { state: "default" 0.0;
30756                    fixed: 1 1;
30757                    min: 32 32;
30758                    aspect: 1.0 1.0;
30759                    align: 1.0 1.0;
30760                    aspect_preference: BOTH;
30761                    rel1 {
30762                        relative: 0.9 0.9;
30763                        offset:   -9 -9;
30764                    }
30765                    rel2 {
30766                        relative: 0.9 0.9;
30767                        offset:   -9 -9;
30768                    }
30769                    image {
30770                        normal: "busy-9.png";
30771                        tween:  "busy-1.png";
30772                        tween:  "busy-2.png";
30773                        tween:  "busy-3.png";
30774                        tween:  "busy-4.png";
30775                        tween:  "busy-5.png";
30776                        tween:  "busy-6.png";
30777                        tween:  "busy-7.png";
30778                        tween:  "busy-8.png";
30779                    }
30780                }
30781            }
30782            part { name: "conf_over";
30783                mouse_events:  0;
30784                description { state: "default" 0.0;
30785                    rel1.offset: 0 0;
30786                    rel2.offset: -1 -1;
30787                    image {
30788                        normal: "shelf_inset.png";
30789                        border: 7 7 7 7;
30790                        middle: 0;
30791                    }
30792                    fill.smooth : 0;
30793                }
30794            }
30795            part { name: "sb_vbar_clip_master";
30796                type: RECT;
30797                mouse_events: 0;
30798                description { state: "default" 0.0;
30799                }
30800                description { state: "hidden" 0.0;
30801                    visible: 0;
30802                    color: 255 255 255 0;
30803                }
30804            }
30805            part { name: "sb_vbar_clip";
30806                clip_to: "sb_vbar_clip_master";
30807                type: RECT;
30808                mouse_events: 0;
30809                description { state: "default" 0.0;
30810                }
30811                description { state: "hidden" 0.0;
30812                    visible: 0;
30813                    color: 255 255 255 0;
30814                }
30815            }
30816            part { name: "sb_vbar";
30817                type: RECT;
30818                mouse_events: 0;
30819                description { state: "default" 0.0;
30820                    fixed: 1 1;
30821                    visible: 0;
30822                    min: 10 17;
30823                    align: 1.0 0.0;
30824                    rel1 {
30825                        relative: 1.0 0.0;
30826                        offset:   -2 0;
30827                    }
30828                    rel2 {
30829                        relative: 1.0 0.0;
30830                        offset:   -2 -1;
30831                        to_y:     "sb_hbar";
30832                    }
30833                }
30834            }
30835            part { name: "elm.dragable.vbar";
30836                clip_to: "sb_vbar_clip";
30837                mouse_events: 0;
30838                dragable {
30839                    x: 0 0 0;
30840                    y: 1 1 0;
30841                    confine: "sb_vbar";
30842                }
30843                description { state: "default" 0.0;
30844                    fixed: 1 1;
30845                    min: 10 17;
30846                    max: 10 99999;
30847                    rel1 {
30848                        relative: 0.5  0.5;
30849                        offset:   0    0;
30850                        to: "sb_vbar";
30851                    }
30852                    rel2 {
30853                        relative: 0.5  0.5;
30854                        offset:   0    0;
30855                        to: "sb_vbar";
30856                    }
30857                    image {
30858                        normal: "bt_sm_base2.png";
30859                        border: 6 6 6 6;
30860                        middle: SOLID;
30861                    }
30862                }
30863            }
30864            part { name: "sb_vbar_over1";
30865                clip_to: "sb_vbar_clip";
30866                mouse_events: 0;
30867                description { state: "default" 0.0;
30868                    rel1.to: "elm.dragable.vbar";
30869                    rel2.relative: 1.0 0.5;
30870                    rel2.to: "elm.dragable.vbar";
30871                    image {
30872                        normal: "bt_sm_hilight.png";
30873                        border: 6 6 6 0;
30874                    }
30875                }
30876            }
30877            part { name: "sb_vbar_over2";
30878                clip_to: "sb_vbar_clip";
30879                mouse_events: 0;
30880                description { state: "default" 0.0;
30881                    rel1.to: "elm.dragable.vbar";
30882                    rel2.to: "elm.dragable.vbar";
30883                    image {
30884                        normal: "bt_sm_shine.png";
30885                        border: 6 6 6 0;
30886                    }
30887                }
30888            }
30889
30890            part { name: "sb_hbar_clip_master";
30891                type: RECT;
30892                mouse_events: 0;
30893                description { state: "default" 0.0;
30894                }
30895                description { state: "hidden" 0.0;
30896                    visible: 0;
30897                    color: 255 255 255 0;
30898                }
30899            }
30900            part { name: "sb_hbar_clip";
30901                clip_to: "sb_hbar_clip_master";
30902                type: RECT;
30903                mouse_events: 0;
30904                description { state: "default" 0.0;
30905                }
30906                description { state: "hidden" 0.0;
30907                    visible: 0;
30908                    color: 255 255 255 0;
30909                }
30910            }
30911            part { name: "sb_hbar";
30912                type: RECT;
30913                mouse_events: 0;
30914                description { state: "default" 0.0;
30915                    fixed: 1 1;
30916                    visible: 0;
30917                    min: 17 10;
30918                    align: 0.0 1.0;
30919                    rel1 {
30920                        relative: 0.0 1.0;
30921                        offset:   0 -2;
30922                    }
30923                    rel2 {
30924                        relative: 0.0 1.0;
30925                        offset:   -1 -2;
30926                        to_x:     "sb_vbar";
30927                    }
30928                }
30929            }
30930            part { name: "elm.dragable.hbar";
30931                clip_to: "sb_hbar_clip";
30932                mouse_events: 0;
30933                dragable {
30934                    x: 1 1 0;
30935                    y: 0 0 0;
30936                    confine: "sb_hbar";
30937                }
30938                description { state: "default" 0.0;
30939                    fixed: 1 1;
30940                    min: 17 10;
30941                    max: 99999 10;
30942                    rel1 {
30943                        relative: 0.5  0.5;
30944                        offset:   0    0;
30945                        to: "sb_hbar";
30946                    }
30947                    rel2 {
30948                        relative: 0.5  0.5;
30949                        offset:   0    0;
30950                        to: "sb_hbar";
30951                    }
30952                    image {
30953                        normal: "bt_sm_base2.png";
30954                        border: 4 4 4 4;
30955                        middle: SOLID;
30956                    }
30957                }
30958            }
30959            part { name: "sb_hbar_over1";
30960                clip_to: "sb_hbar_clip";
30961                mouse_events: 0;
30962                description { state: "default" 0.0;
30963                    rel1.to: "elm.dragable.hbar";
30964                    rel2.relative: 1.0 0.5;
30965                    rel2.to: "elm.dragable.hbar";
30966                    image {
30967                        normal: "bt_sm_hilight.png";
30968                        border: 4 4 4 0;
30969                    }
30970                }
30971            }
30972            part { name: "sb_hbar_over2";
30973                clip_to: "sb_hbar_clip";
30974                mouse_events: 0;
30975                description { state: "default" 0.0;
30976                    rel1.to: "elm.dragable.hbar";
30977                    rel2.to: "elm.dragable.hbar";
30978                    image {
30979                        normal: "bt_sm_shine.png";
30980                        border: 4 4 4 0;
30981                    }
30982                }
30983            }
30984        }
30985        programs {
30986            program { name: "load";
30987                signal: "load";
30988                source: "";
30989                script {
30990                    set_state(PART:"sb_hbar_clip", "hidden", 0.0);
30991                    set_state(PART:"sb_vbar_clip", "hidden", 0.0);
30992                    set_int(sbvis_h, 0);
30993                    set_int(sbvis_v, 0);
30994                    set_int(sbalways_v, 0);
30995                    set_int(sbalways_h, 0);
30996                    set_int(sbvis_timer, 0);
30997                }
30998            }
30999
31000            program { name: "vbar_show";
31001                signal: "elm,action,show,vbar";
31002                source: "elm";
31003                action:  STATE_SET "default" 0.0;
31004                target: "sb_vbar_clip_master";
31005            }
31006            program { name: "vbar_hide";
31007                signal: "elm,action,hide,vbar";
31008                source: "elm";
31009                action:  STATE_SET "hidden" 0.0;
31010                target: "sb_vbar_clip_master";
31011            }
31012            program { name: "vbar_show_always";
31013                signal: "elm,action,show_always,vbar";
31014                source: "elm";
31015                script {
31016                    new v;
31017                    v = get_int(sbvis_v);
31018                    v |= get_int(sbalways_v);
31019                    if (!v) {
31020                        set_int(sbalways_v, 1);
31021                        emit("do-show-vbar", "");
31022                        set_int(sbvis_v, 1);
31023                    }
31024                }
31025            }
31026            program { name: "vbar_show_notalways";
31027                signal: "elm,action,show_notalways,vbar";
31028                source: "elm";
31029                script {
31030                    new v;
31031                    v = get_int(sbalways_v);
31032                    if (v) {
31033                        set_int(sbalways_v, 0);
31034                        v = get_int(sbvis_v);
31035                        if (!v) {
31036                            emit("do-hide-vbar", "");
31037                            set_int(sbvis_v, 0);
31038                        }
31039                    }
31040                }
31041            }
31042            program { name: "sb_vbar_show";
31043                signal: "do-show-vbar";
31044                source: "";
31045                action:  STATE_SET "default" 0.0;
31046                transition: LINEAR 0.5;
31047                target: "sb_vbar_clip";
31048            }
31049            program { name: "sb_vbar_hide";
31050                signal: "do-hide-vbar";
31051                source: "";
31052                action:  STATE_SET "hidden" 0.0;
31053                transition: LINEAR 0.5;
31054                target: "sb_vbar_clip";
31055            }
31056
31057            program { name: "hbar_show";
31058                signal: "elm,action,show,hbar";
31059                source: "elm";
31060                action:  STATE_SET "default" 0.0;
31061                target: "sb_hbar_clip_master";
31062            }
31063            program { name: "hbar_hide";
31064                signal: "elm,action,hide,hbar";
31065                source: "elm";
31066                action:  STATE_SET "hidden" 0.0;
31067                target: "sb_hbar_clip_master";
31068            }
31069            program { name: "hbar_show_always";
31070                signal: "elm,action,show_always,hbar";
31071                source: "elm";
31072                script {
31073                    new v;
31074                    v = get_int(sbvis_h);
31075                    v |= get_int(sbalways_h);
31076                    if (!v) {
31077                        set_int(sbalways_h, 1);
31078                        emit("do-show-hbar", "");
31079                        set_int(sbvis_h, 1);
31080                    }
31081                }
31082            }
31083            program { name: "hbar_show_notalways";
31084                signal: "elm,action,show_notalways,hbar";
31085                source: "elm";
31086                script {
31087                    new v;
31088                    v = get_int(sbalways_h);
31089                    if (v) {
31090                        set_int(sbalways_h, 0);
31091                        v = get_int(sbvis_h);
31092                        if (!v) {
31093                            emit("do-hide-hbar", "");
31094                            set_int(sbvis_h, 0);
31095                        }
31096                    }
31097                }
31098            }
31099            program { name: "sb_hbar_show";
31100                signal: "do-show-hbar";
31101                source: "";
31102                action:  STATE_SET "default" 0.0;
31103                transition: LINEAR 0.5;
31104                target: "sb_hbar_clip";
31105            }
31106            program { name: "sb_hbar_hide";
31107                signal: "do-hide-hbar";
31108                source: "";
31109                action:  STATE_SET "hidden" 0.0;
31110                transition: LINEAR 0.5;
31111                target: "sb_hbar_clip";
31112            }
31113
31114            program { name: "scroll";
31115                signal: "elm,action,scroll";
31116                source: "elm";
31117                script {
31118                    new v;
31119                    v = get_int(sbvis_v);
31120                    v |= get_int(sbalways_v);
31121                    if (!v) {
31122                        emit("do-show-vbar", "");
31123                        set_int(sbvis_v, 1);
31124                    }
31125                    v = get_int(sbvis_h);
31126                    v |= get_int(sbalways_h);
31127                    if (!v) {
31128                        emit("do-show-hbar", "");
31129                        set_int(sbvis_h, 1);
31130                    }
31131                    v = get_int(sbvis_timer);
31132                    if (v > 0) cancel_timer(v);
31133                    v = timer(1.0, "timer0", 0);
31134                    set_int(sbvis_timer, v);
31135                }
31136            }
31137            program { name: "go1";
31138                signal: "elm,state,busy,start";
31139                source: "elm";
31140                action: STATE_SET "active" 0.0;
31141                transition: SINUSOIDAL 1.0;
31142                target:  "busy_clip";
31143            }
31144            program { name: "go2";
31145                signal: "elm,state,busy,start";
31146                source: "elm";
31147                action: STATE_SET "default" 0.0;
31148                transition: LINEAR 0.5;
31149                target: "busy";
31150                after:  "go2";
31151            }
31152            program { name: "stop1";
31153                signal: "elm,state,busy,stop";
31154                source: "elm";
31155                action: STATE_SET "default" 0.0;
31156                transition: SINUSOIDAL 1.0;
31157                target: "busy_clip";
31158                after: "stop2";
31159            }
31160          program { name: "stop2";
31161             action: ACTION_STOP;
31162             target: "go2";
31163          }
31164       }
31165    }
31166
31167    ///////////////////////////////////////////////////////////////////////////////
31168    group { name: "elm/map/base/default";
31169        script {
31170            public sbvis_v, sbvis_h, sbalways_v, sbalways_h, sbvis_timer;
31171            public timer0(val) {
31172                new v;
31173                v = get_int(sbvis_v);
31174                if (v) {
31175                    v = get_int(sbalways_v);
31176                    if (!v) {
31177                        emit("do-hide-vbar", "");
31178                        set_int(sbvis_v, 0);
31179                    }
31180                }
31181                v = get_int(sbvis_h);
31182                if (v) {
31183                    v = get_int(sbalways_h);
31184                    if (!v) {
31185                        emit("do-hide-hbar", "");
31186                        set_int(sbvis_h, 0);
31187                    }
31188                }
31189                set_int(sbvis_timer, 0);
31190                return 0;
31191            }
31192        }
31193        images {
31194            image: "shelf_inset.png" COMP;
31195            image: "bt_sm_base2.png" COMP;
31196            image: "bt_sm_shine.png" COMP;
31197            image: "bt_sm_hilight.png" COMP;
31198            image: "busy-1.png" COMP;
31199            image: "busy-2.png" COMP;
31200            image: "busy-3.png" COMP;
31201            image: "busy-4.png" COMP;
31202            image: "busy-5.png" COMP;
31203            image: "busy-6.png" COMP;
31204            image: "busy-7.png" COMP;
31205            image: "busy-8.png" COMP;
31206            image: "busy-9.png" COMP;
31207        }
31208        parts {
31209            part { name: "bg";
31210                type: RECT;
31211                description { state: "default" 0.0;
31212                    rel1.offset: 1 1;
31213                    rel2.offset: -2 -2;
31214                    color: 255 255 255 0;
31215                }
31216            }
31217            part { name: "clipper";
31218                type: RECT;
31219                mouse_events: 0;
31220                description { state: "default" 0.0;
31221                    rel1.to: "bg";
31222                    rel2.to: "bg";
31223                }
31224            }
31225            part { name: "elm.swallow.content";
31226                clip_to: "clipper";
31227                type: SWALLOW;
31228                description { state: "default" 0.0;
31229                    rel1.offset: 1 1;
31230                    rel2.offset: -2 -2;
31231                }
31232            }
31233            part { name: "busy_clip";
31234                type: RECT;
31235                mouse_events: 0;
31236                description { state: "default" 0.0;
31237                    visible: 0;
31238                    color: 255 255 255 0;
31239                }
31240                description { state: "active" 0.0;
31241                    visible: 1;
31242                    color: 255 255 255 255;
31243                }
31244            }
31245            part { name: "busy";
31246                clip_to: "busy_clip";
31247                mouse_events: 0;
31248                description { state: "default" 0.0;
31249                    fixed: 1 1;
31250                    min: 32 32;
31251                    aspect: 1.0 1.0;
31252                    align: 1.0 1.0;
31253                    aspect_preference: BOTH;
31254                    rel1 {
31255                        relative: 0.9 0.9;
31256                        offset:   -9 -9;
31257                    }
31258                    rel2 {
31259                        relative: 0.9 0.9;
31260                        offset:   -9 -9;
31261                    }
31262                    image {
31263                        normal: "busy-9.png";
31264                        tween:  "busy-1.png";
31265                        tween:  "busy-2.png";
31266                        tween:  "busy-3.png";
31267                        tween:  "busy-4.png";
31268                        tween:  "busy-5.png";
31269                        tween:  "busy-6.png";
31270                        tween:  "busy-7.png";
31271                        tween:  "busy-8.png";
31272                    }
31273                }
31274            }
31275            part { name: "conf_over";
31276                mouse_events:  0;
31277                description { state: "default" 0.0;
31278                    rel1.offset: 0 0;
31279                    rel2.offset: -1 -1;
31280                    image {
31281                        normal: "shelf_inset.png";
31282                        border: 7 7 7 7;
31283                        middle: 0;
31284                    }
31285                    fill.smooth : 0;
31286                }
31287            }
31288            part { name: "sb_vbar_clip_master";
31289                type: RECT;
31290                mouse_events: 0;
31291                description { state: "default" 0.0;
31292                }
31293                description { state: "hidden" 0.0;
31294                    visible: 0;
31295                    color: 255 255 255 0;
31296                }
31297            }
31298            part { name: "sb_vbar_clip";
31299                clip_to: "sb_vbar_clip_master";
31300                type: RECT;
31301                mouse_events: 0;
31302                description { state: "default" 0.0;
31303                }
31304                description { state: "hidden" 0.0;
31305                    visible: 0;
31306                    color: 255 255 255 0;
31307                }
31308            }
31309            part { name: "sb_vbar";
31310                type: RECT;
31311                mouse_events: 0;
31312                description { state: "default" 0.0;
31313                    fixed: 1 1;
31314                    visible: 0;
31315                    min: 10 17;
31316                    align: 1.0 0.0;
31317                    rel1 {
31318                        relative: 1.0 0.0;
31319                        offset:   -2 0;
31320                    }
31321                    rel2 {
31322                        relative: 1.0 0.0;
31323                        offset:   -2 -1;
31324                        to_y:     "sb_hbar";
31325                    }
31326                }
31327            }
31328            part { name: "elm.dragable.vbar";
31329                clip_to: "sb_vbar_clip";
31330                mouse_events: 0;
31331                dragable {
31332                    x: 0 0 0;
31333                    y: 1 1 0;
31334                    confine: "sb_vbar";
31335                }
31336                description { state: "default" 0.0;
31337                    fixed: 1 1;
31338                    min: 10 17;
31339                    max: 10 99999;
31340                    rel1 {
31341                        relative: 0.5  0.5;
31342                        offset:   0    0;
31343                        to: "sb_vbar";
31344                    }
31345                    rel2 {
31346                        relative: 0.5  0.5;
31347                        offset:   0    0;
31348                        to: "sb_vbar";
31349                    }
31350                    image {
31351                        normal: "bt_sm_base2.png";
31352                        border: 6 6 6 6;
31353                        middle: SOLID;
31354                    }
31355                }
31356            }
31357            part { name: "sb_vbar_over1";
31358                clip_to: "sb_vbar_clip";
31359                mouse_events: 0;
31360                description { state: "default" 0.0;
31361                    rel1.to: "elm.dragable.vbar";
31362                    rel2.relative: 1.0 0.5;
31363                    rel2.to: "elm.dragable.vbar";
31364                    image {
31365                        normal: "bt_sm_hilight.png";
31366                        border: 6 6 6 0;
31367                    }
31368                }
31369            }
31370            part { name: "sb_vbar_over2";
31371                clip_to: "sb_vbar_clip";
31372                mouse_events: 0;
31373                description { state: "default" 0.0;
31374                    rel1.to: "elm.dragable.vbar";
31375                    rel2.to: "elm.dragable.vbar";
31376                    image {
31377                        normal: "bt_sm_shine.png";
31378                        border: 6 6 6 0;
31379                    }
31380                }
31381            }
31382
31383            part { name: "sb_hbar_clip_master";
31384                type: RECT;
31385                mouse_events: 0;
31386                description { state: "default" 0.0;
31387                }
31388                description { state: "hidden" 0.0;
31389                    visible: 0;
31390                    color: 255 255 255 0;
31391                }
31392            }
31393            part { name: "sb_hbar_clip";
31394                clip_to: "sb_hbar_clip_master";
31395                type: RECT;
31396                mouse_events: 0;
31397                description { state: "default" 0.0;
31398                }
31399                description { state: "hidden" 0.0;
31400                    visible: 0;
31401                    color: 255 255 255 0;
31402                }
31403            }
31404            part { name: "sb_hbar";
31405                type: RECT;
31406                mouse_events: 0;
31407                description { state: "default" 0.0;
31408                    fixed: 1 1;
31409                    visible: 0;
31410                    min: 17 10;
31411                    align: 0.0 1.0;
31412                    rel1 {
31413                        relative: 0.0 1.0;
31414                        offset:   0 -2;
31415                    }
31416                    rel2 {
31417                        relative: 0.0 1.0;
31418                        offset:   -1 -2;
31419                        to_x:     "sb_vbar";
31420                    }
31421                }
31422            }
31423            part { name: "elm.dragable.hbar";
31424                clip_to: "sb_hbar_clip";
31425                mouse_events: 0;
31426                dragable {
31427                    x: 1 1 0;
31428                    y: 0 0 0;
31429                    confine: "sb_hbar";
31430                }
31431                description { state: "default" 0.0;
31432                    fixed: 1 1;
31433                    min: 17 10;
31434                    max: 99999 10;
31435                    rel1 {
31436                        relative: 0.5  0.5;
31437                        offset:   0    0;
31438                        to: "sb_hbar";
31439                    }
31440                    rel2 {
31441                        relative: 0.5  0.5;
31442                        offset:   0    0;
31443                        to: "sb_hbar";
31444                    }
31445                    image {
31446                        normal: "bt_sm_base2.png";
31447                        border: 4 4 4 4;
31448                        middle: SOLID;
31449                    }
31450                }
31451            }
31452            part { name: "sb_hbar_over1";
31453                clip_to: "sb_hbar_clip";
31454                mouse_events: 0;
31455                description { state: "default" 0.0;
31456                    rel1.to: "elm.dragable.hbar";
31457                    rel2.relative: 1.0 0.5;
31458                    rel2.to: "elm.dragable.hbar";
31459                    image {
31460                        normal: "bt_sm_hilight.png";
31461                        border: 4 4 4 0;
31462                    }
31463                }
31464            }
31465            part { name: "sb_hbar_over2";
31466                clip_to: "sb_hbar_clip";
31467                mouse_events: 0;
31468                description { state: "default" 0.0;
31469                    rel1.to: "elm.dragable.hbar";
31470                    rel2.to: "elm.dragable.hbar";
31471                    image {
31472                        normal: "bt_sm_shine.png";
31473                        border: 4 4 4 0;
31474                    }
31475                }
31476            }
31477        }
31478        programs {
31479            program { name: "load";
31480                signal: "load";
31481                source: "";
31482                script {
31483                    set_state(PART:"sb_hbar_clip", "hidden", 0.0);
31484                    set_state(PART:"sb_vbar_clip", "hidden", 0.0);
31485                    set_int(sbvis_h, 0);
31486                    set_int(sbvis_v, 0);
31487                    set_int(sbalways_v, 0);
31488                    set_int(sbalways_h, 0);
31489                    set_int(sbvis_timer, 0);
31490                }
31491            }
31492
31493            program { name: "vbar_show";
31494                signal: "elm,action,show,vbar";
31495                source: "elm";
31496                action:  STATE_SET "default" 0.0;
31497                target: "sb_vbar_clip_master";
31498            }
31499            program { name: "vbar_hide";
31500                signal: "elm,action,hide,vbar";
31501                source: "elm";
31502                action:  STATE_SET "hidden" 0.0;
31503                target: "sb_vbar_clip_master";
31504            }
31505            program { name: "vbar_show_always";
31506                signal: "elm,action,show_always,vbar";
31507                source: "elm";
31508                script {
31509                    new v;
31510                    v = get_int(sbvis_v);
31511                    v |= get_int(sbalways_v);
31512                    if (!v) {
31513                        set_int(sbalways_v, 1);
31514                        emit("do-show-vbar", "");
31515                        set_int(sbvis_v, 1);
31516                    }
31517                }
31518            }
31519            program { name: "vbar_show_notalways";
31520                signal: "elm,action,show_notalways,vbar";
31521                source: "elm";
31522                script {
31523                    new v;
31524                    v = get_int(sbalways_v);
31525                    if (v) {
31526                        set_int(sbalways_v, 0);
31527                        v = get_int(sbvis_v);
31528                        if (!v) {
31529                            emit("do-hide-vbar", "");
31530                            set_int(sbvis_v, 0);
31531                        }
31532                    }
31533                }
31534            }
31535            program { name: "sb_vbar_show";
31536                signal: "do-show-vbar";
31537                source: "";
31538                action:  STATE_SET "default" 0.0;
31539                transition: LINEAR 0.5;
31540                target: "sb_vbar_clip";
31541            }
31542            program { name: "sb_vbar_hide";
31543                signal: "do-hide-vbar";
31544                source: "";
31545                action:  STATE_SET "hidden" 0.0;
31546                transition: LINEAR 0.5;
31547                target: "sb_vbar_clip";
31548            }
31549
31550            program { name: "hbar_show";
31551                signal: "elm,action,show,hbar";
31552                source: "elm";
31553                action:  STATE_SET "default" 0.0;
31554                target: "sb_hbar_clip_master";
31555            }
31556            program { name: "hbar_hide";
31557                signal: "elm,action,hide,hbar";
31558                source: "elm";
31559                action:  STATE_SET "hidden" 0.0;
31560                target: "sb_hbar_clip_master";
31561            }
31562            program { name: "hbar_show_always";
31563                signal: "elm,action,show_always,hbar";
31564                source: "elm";
31565                script {
31566                    new v;
31567                    v = get_int(sbvis_h);
31568                    v |= get_int(sbalways_h);
31569                    if (!v) {
31570                        set_int(sbalways_h, 1);
31571                        emit("do-show-hbar", "");
31572                        set_int(sbvis_h, 1);
31573                    }
31574                }
31575            }
31576            program { name: "hbar_show_notalways";
31577                signal: "elm,action,show_notalways,hbar";
31578                source: "elm";
31579                script {
31580                    new v;
31581                    v = get_int(sbalways_h);
31582                    if (v) {
31583                        set_int(sbalways_h, 0);
31584                        v = get_int(sbvis_h);
31585                        if (!v) {
31586                            emit("do-hide-hbar", "");
31587                            set_int(sbvis_h, 0);
31588                        }
31589                    }
31590                }
31591            }
31592            program { name: "sb_hbar_show";
31593                signal: "do-show-hbar";
31594                source: "";
31595                action:  STATE_SET "default" 0.0;
31596                transition: LINEAR 0.5;
31597                target: "sb_hbar_clip";
31598            }
31599            program { name: "sb_hbar_hide";
31600                signal: "do-hide-hbar";
31601                source: "";
31602                action:  STATE_SET "hidden" 0.0;
31603                transition: LINEAR 0.5;
31604                target: "sb_hbar_clip";
31605            }
31606
31607            program { name: "scroll";
31608                signal: "elm,action,scroll";
31609                source: "elm";
31610                script {
31611                    new v;
31612                    v = get_int(sbvis_v);
31613                    v |= get_int(sbalways_v);
31614                    if (!v) {
31615                        emit("do-show-vbar", "");
31616                        set_int(sbvis_v, 1);
31617                    }
31618                    v = get_int(sbvis_h);
31619                    v |= get_int(sbalways_h);
31620                    if (!v) {
31621                        emit("do-show-hbar", "");
31622                        set_int(sbvis_h, 1);
31623                    }
31624                    v = get_int(sbvis_timer);
31625                    if (v > 0) cancel_timer(v);
31626                    v = timer(1.0, "timer0", 0);
31627                    set_int(sbvis_timer, v);
31628                }
31629            }
31630            program { name: "go1";
31631                signal: "elm,state,busy,start";
31632                source: "elm";
31633                action: STATE_SET "active" 0.0;
31634                transition: SINUSOIDAL 1.0;
31635                target:  "busy_clip";
31636            }
31637            program { name: "go2";
31638                signal: "elm,state,busy,start";
31639                source: "elm";
31640                action: STATE_SET "default" 0.0;
31641                transition: LINEAR 0.5;
31642                target: "busy";
31643                after:  "go2";
31644            }
31645            program { name: "stop1";
31646                signal: "elm,state,busy,stop";
31647                source: "elm";
31648                action: STATE_SET "default" 0.0;
31649                transition: SINUSOIDAL 1.0;
31650                target: "busy_clip";
31651                after: "stop2";
31652            }
31653          program { name: "stop2";
31654             action: ACTION_STOP;
31655             target: "go2";
31656          }
31657       }
31658    }
31659    group { name: "elm/map/marker/radio/default";
31660         data {
31661             item: size_w 24;
31662             item: size_h 24;
31663             item: size_max_w 58;
31664             item: size_max_h 58;
31665         }
31666         images {
31667                 image: "map_item.png" COMP;
31668         }
31669         parts {
31670             part { name: "whole";
31671                 description { state: "default" 0.0;
31672                 }
31673             }
31674             part { name: "base";
31675                 ignore_flags: ON_HOLD;
31676                 description { state: "default" 0.0;
31677                     image.normal: "map_item.png";
31678                 }
31679             }
31680             part { name: "elm.icon";
31681                 type: SWALLOW;
31682                 clip_to: "whole";
31683                 mouse_events:  0;
31684                 description { state: "default" 0.0;
31685                     rel1.relative: 0.27 0.27;
31686                     rel2.relative: 0.73 0.73;
31687                 }
31688             }
31689             part { name: "elm.text";
31690                 type:          TEXT;
31691                 effect:        SOFT_SHADOW;
31692                 mouse_events:  0;
31693                 scale: 1;
31694                 description { state: "default" 0.0;
31695                     align:    0.5 0.5;
31696                     color: 224 224 224 255;
31697                     color3: 0 0 0 64;
31698                     rel1.relative: 0.28 0.25;
31699                     rel2.relative: 0.75 0.75;
31700                     text {
31701                         font:     "Sans,Edje-Vera";
31702                         size:     10;
31703                         min:      0 0;
31704                         align:    0.5 0.5;
31705                     }
31706                 }
31707             }
31708        }
31709        programs {
31710             program { name: "open";
31711                 signal: "mouse,clicked,1";
31712                 source: "base";
31713                 action: SIGNAL_EMIT "open" "elm";
31714             }
31715             program { name: "bringin";
31716                 signal: "mouse,down,1,double";
31717                 source: "base";
31718                 action: SIGNAL_EMIT "bringin" "elm";
31719             }
31720        }
31721    }
31722    group { name: "elm/map/marker/radio2/default";
31723         data {
31724             item: size_w 24;
31725             item: size_h 24;
31726             item: size_max_w 58;
31727             item: size_max_h 58;
31728         }
31729         images {
31730                 image: "map_item_2.png" COMP;
31731         }
31732         parts {
31733             part { name: "base";
31734                 ignore_flags: ON_HOLD;
31735                 description { state: "default" 0.0;
31736                     image.normal: "map_item_2.png";
31737                 }
31738             }
31739             part { name: "elm.text";
31740                 type:          TEXT;
31741                 effect:        SOFT_SHADOW;
31742                 mouse_events:  0;
31743                 scale: 1;
31744                 description { state: "default" 0.0;
31745                     align:    0.5 0.5;
31746                     color: 224 224 224 255;
31747                     color3: 0 0 0 64;
31748                     rel1.relative: 0.28 0.25;
31749                     rel2.relative: 0.75 0.75;
31750                     text {
31751                         font:     "Sans,Edje-Vera";
31752                         size:     10;
31753                         min:      0 0;
31754                         align:    0.5 0.5;
31755                     }
31756                 }
31757             }
31758        }
31759        programs {
31760             program { name: "open";
31761                 signal: "mouse,clicked,1";
31762                 source: "base";
31763                 action: SIGNAL_EMIT "open" "elm";
31764             }
31765             program { name: "bringin";
31766                 signal: "mouse,down,1,double";
31767                 source: "base";
31768                 action: SIGNAL_EMIT "bringin" "elm";
31769             }
31770        }
31771    }
31772    group { name: "elm/map/marker/empty/default";
31773         data {
31774             item: size_w 22;
31775             item: size_h 22;
31776             item: size_max_w 64;
31777             item: size_max_h 64;
31778         }
31779         parts {
31780             part { name: "whole";
31781                 description { state: "default" 0.0;
31782                 }
31783             }
31784             part { name: "base";
31785                 ignore_flags: ON_HOLD;
31786                 description { state: "default" 0.0;
31787                 }
31788             }
31789             part { name: "elm.icon";
31790                 type: SWALLOW;
31791                 clip_to: "whole";
31792                 mouse_events:  0;
31793                 description { state: "default" 0.0;
31794                 }
31795             }
31796             part { name: "elm.text";
31797                 type:          TEXT;
31798                 effect:        SOFT_SHADOW;
31799                 mouse_events:  0;
31800                 scale: 1;
31801                 description { state: "default" 0.0;
31802                     align:    0.5 0.5;
31803                     color: 224 224 224 255;
31804                     color3: 0 0 0 64;
31805                     rel1.relative: 0.28 0.25;
31806                     rel2.relative: 0.75 0.75;
31807                     text {
31808                         font:     "Sans,Edje-Vera";
31809                         size:     10;
31810                         min:      0 0;
31811                         align:    0.5 0.5;
31812                     }
31813                 }
31814             }
31815        }
31816        programs {
31817             program { name: "open";
31818                 signal: "mouse,clicked,1";
31819                 source: "base";
31820                 action: SIGNAL_EMIT "open" "elm";
31821             }
31822             program { name: "bringin";
31823                 signal: "mouse,down,1,double";
31824                 source: "base";
31825                 action: SIGNAL_EMIT "bringin" "elm";
31826             }
31827        }
31828    }
31829    group { name: "elm/map/marker_bubble/default";
31830     images {
31831       image: "bubble.png" COMP;
31832       image: "bubble_shine.png" COMP;
31833     }
31834     data {
31835             item: size_w 400;
31836             item: size_h 100;
31837         }
31838     parts {
31839     part { name: "clipper";
31840         mouse_events:  1;
31841         description { state: "default" 0.0;
31842           color: 255 255 255 0;
31843         }
31844         description { state: "show" 0.0;
31845             inherit: "default" 0.0;
31846             color: 255 255 255 255;
31847         }
31848       }
31849      part { name: "base0";
31850         mouse_events:  0;
31851         clip_to: "clipper";
31852         description { state: "default" 0.0;
31853           image {
31854             normal: "bubble.png";
31855             border: 11 36 10 19;
31856           }
31857           image.middle: SOLID;
31858           fill.smooth: 0;
31859         }
31860       }
31861       part { name: "elm.swallow.content";
31862         type: SWALLOW;
31863         clip_to: "clipper";
31864         description { state: "default" 0.0;
31865             align: 0.5 0.5;
31866           rel1 {
31867             offset: 9 8;
31868           }
31869           rel2 {
31870             offset: -10 -17;
31871           }
31872         }
31873       }
31874       part { name: "shine";
31875         mouse_events:  0;
31876         clip_to: "clipper";
31877         description { state:    "default" 0.0;
31878           rel1 {
31879             to: "base0";
31880           }
31881           rel2 {
31882             to: "base0";
31883             relative: 1.0 0.5;
31884           }
31885           image {
31886             normal: "bubble_shine.png";
31887             border: 5 5 5 0;
31888           }
31889           fill.smooth: 0;
31890         }
31891         }
31892     }
31893     programs {
31894         program { name: "show";
31895             signal: "show";
31896             action: STATE_SET "show" 0.0;
31897             target: "clipper";
31898             transition: ACCELERATE 0.5;
31899         }
31900     }
31901   }
31902
31903 /////////////////////////////////////////////////////////////////////////////
31904 // PANES
31905 /////////////////////////////////////////////////////////////////////////////
31906   group {
31907      name: "elm/panes/vertical/default";
31908       images {
31909          image: "bt_base1.png" COMP;
31910          image: "bt_base2.png" COMP;
31911          image: "bt_hilight.png" COMP;
31912          image: "bt_shine.png" COMP;
31913          image: "bt_glow.png" COMP;
31914          image: "bt_dis_base.png" COMP;
31915          image: "bt_dis_hilight.png" COMP;
31916          image: "arrow_right.png" COMP;
31917          image: "arrow_left.png" COMP;
31918       }
31919      parts
31920        {
31921           part
31922             {
31923                name: "whole";
31924                type: RECT;
31925                mouse_events: 0;
31926                description
31927                  {
31928                     state: "default" 0.0;
31929                     visible: 0;
31930                  }
31931             }
31932
31933          //2 contents
31934           part
31935             {
31936                name: "whole_left";
31937                type: RECT;
31938                mouse_events: 0;
31939                description
31940                  {
31941                     state: "default" 0.0;
31942                     rel2.to_x: "elm.bar";
31943                     rel2.relative: 0.0 1.0;
31944                     visible: 1;
31945                  }
31946             }
31947           part
31948             {
31949                name: "elm.swallow.left";
31950                type: SWALLOW;
31951                clip_to: "whole_left";
31952                description
31953                  {
31954                     state: "default" 0.0;
31955                     rel1.to: "whole_left";
31956                     rel2.to: "whole_left";
31957                  }
31958             }
31959
31960             part
31961             {
31962                name: "whole_right";
31963                type: RECT;
31964                mouse_events: 0;
31965                description
31966                  {
31967                     state: "default" 0.0;
31968                     rel1.to_x: "elm.bar";
31969                     rel1.relative: 1.0 0.0;
31970                     visible: 1;
31971                  }
31972             }
31973           part
31974             {
31975                name: "elm.swallow.right";
31976                type: SWALLOW;
31977                clip_to: "whole_right";
31978                description
31979                  {
31980                     state: "default" 0.0;
31981                     rel1.to: "whole_right";
31982                     rel2.to: "whole_right";
31983                  }
31984             }
31985          //BAR
31986          part { name: "elm.bar";
31987             mouse_events: 1;
31988             dragable {
31989                confine: "whole";
31990                x: 1 1 1;
31991                y: 0 0 0;
31992             }
31993             description { state: "default" 0.0;
31994                max: 15 9999;
31995                min: 15 100;
31996                rel1.relative: 0.0 0.5;
31997                rel2.relative: 1.0 0.5;
31998                image {
31999                   normal: "bt_base2.png";
32000                   border: 7 7 7 7;
32001                }
32002                image.middle: SOLID;
32003             }
32004             description { state: "clicked" 0.0;
32005                inherit: "default" 0.0;
32006                image.normal: "bt_base1.png";
32007                image.middle: SOLID;
32008             }
32009             description { state: "disabled" 0.0;
32010                inherit:  "default" 0.0;
32011                image {
32012                   normal: "bt_dis_base.png";
32013                   border: 4 4 4 4;
32014                }
32015             }
32016          }
32017          part {   name: "over1";
32018             mouse_events: 0;
32019             description { state: "default" 0.0;
32020             rel1.to: "elm.bar";
32021             rel2.to: "elm.bar";
32022                rel2.relative: 1.0 0.5;
32023                image {
32024                   normal: "bt_hilight.png";
32025                   border: 7 7 7 0;
32026                }
32027             }
32028             description { state: "disabled" 0.0;
32029                inherit:  "default" 0.0;
32030                image {
32031                   normal: "bt_dis_hilight.png";
32032                   border: 4 4 4 0;
32033                }
32034             }
32035          }
32036          part { name: "over2";
32037             mouse_events: 1;
32038             repeat_events: 1;
32039             ignore_flags: ON_HOLD;
32040             description { state: "default" 0.0;
32041             rel1.to: "elm.bar";
32042             rel2.to: "elm.bar";
32043                image {
32044                   normal: "bt_shine.png";
32045                   border: 7 7 7 7;
32046                }
32047             }
32048             description { state: "disabled" 0.0;
32049                inherit:  "default" 0.0;
32050                visible: 0;
32051             }
32052          }
32053          part { name: "over3";
32054             mouse_events: 1;
32055             repeat_events: 1;
32056             description { state: "default" 0.0;
32057                color: 255 255 255 0;
32058             rel1.to: "elm.bar";
32059             rel2.to: "elm.bar";
32060                image {
32061                   normal: "bt_glow.png";
32062                   border: 12 12 12 12;
32063                }
32064                fill.smooth : 0;
32065             }
32066             description { state: "clicked" 0.0;
32067                inherit:  "default" 0.0;
32068                visible: 1;
32069                color: 255 255 255 255;
32070             }
32071          }
32072
32073          //Arrow
32074          part {
32075             name: "arrow_right";
32076             description { state: "default" 0.0;
32077                 min: 45 45;
32078                 max: 45 45;
32079                 color: 255 255 255 0;
32080
32081                 rel1.relative: 1.0 0.5;
32082                 rel1.to_x: "elm.bar";
32083                 rel1.offset: 45/2 -45/2;
32084
32085                 rel2.relative: 1.0 0.5;
32086                 rel2.to_x: "elm.bar";
32087                 rel2.offset: 45/2 45/2;
32088
32089                 image.normal: "arrow_right.png";
32090
32091                 fixed: 1 1;
32092             }
32093             description { state: "anim_1" 0.0;
32094                 inherit: "default" 0.0;
32095                 color: 255 255 255 200;
32096                 rel1.offset: (45/2 + 10) -45/2;
32097                 rel2.offset: (45/2 +10) 45/2;
32098             }
32099             description { state: "anim_2" 0.0;
32100                 inherit: "default" 0.0;
32101                 color: 255 255 255 0;
32102                 rel1.offset: (45/2 + 20) -45/2;
32103                 rel2.offset: (45/2 + 20) 45/2;
32104             }
32105          }
32106         part {
32107             name: "arrow_left";
32108             description { state: "default" 0.0;
32109                 min: 45 45;
32110                 max: 45 45;
32111                 color: 255 255 255 0;
32112
32113                 rel1.relative: 0.0 0.5;
32114                 rel1.to_x: "elm.bar";
32115                 rel1.offset: -45/2 -45/2;
32116
32117                 rel2.relative: 0.0 0.5;
32118                 rel2.to_x: "elm.bar";
32119                 rel2.offset: -45/2 45/2;
32120
32121                 image.normal: "arrow_left.png";
32122
32123                 fixed: 1 1;
32124             }
32125             description { state: "anim_1" 0.0;
32126                 inherit: "default" 0.0;
32127                 color: 255 255 255 200;
32128                 rel1.offset: (-45/2 - 10) -45/2;
32129                 rel2.offset: (-45/2 - 10) 45/2;
32130             }
32131             description { state: "anim_2" 0.0;
32132                 inherit: "default" 0.0;
32133                 color: 255 255 255 0;
32134                 rel1.offset: (-45/2 - 20) -45/2;
32135                 rel2.offset: (-45/2 - 20) 45/2;
32136             }
32137          }
32138
32139        }
32140         programs {
32141          program {
32142             name:   "button_click";
32143             signal: "mouse,down,1";
32144             source: "over2";
32145             action: SIGNAL_EMIT "elm,action,press" "";
32146             after: "button_click_anim";
32147             after: "arrow_anim_start";
32148          }
32149          program {
32150             name:   "button_click_anim";
32151             action: STATE_SET "clicked" 0.0;
32152             target: "elm.bar";
32153          }
32154          program {
32155             name:   "button_unclick";
32156             signal: "mouse,up,1";
32157             source: "over2";
32158             action: SIGNAL_EMIT "elm,action,unpress" "";
32159             after: "button_unclick_anim";
32160             after: "arrow_anim_stop";
32161          }
32162          program {
32163             name:   "button_unclick_anim";
32164             action: STATE_SET "default" 0.0;
32165             target: "elm.bar";
32166          }
32167          program {
32168             name:   "button_click2";
32169             signal: "mouse,down,1";
32170             source: "over3";
32171             action: STATE_SET "clicked" 0.0;
32172             target: "over3";
32173          }
32174          program {
32175             name:   "button_unclick2";
32176             signal: "mouse,up,1";
32177             source: "over3";
32178             action: STATE_SET "default" 0.0;
32179             transition: DECELERATE 0.5;
32180             target: "over3";
32181          }
32182          program {
32183             name:   "button_unclick3";
32184             signal: "mouse,up,1";
32185             source: "over2";
32186             action: SIGNAL_EMIT "elm,action,click" "";
32187          }
32188          program {
32189             name:   "button_down_double";
32190             signal: "mouse,down,1,double";
32191             source: "over3";
32192             action: SIGNAL_EMIT "elm,action,click,double" "";
32193          }
32194
32195          //arrows animation
32196          program {
32197             name: "arrow_anim_start";
32198             action: STATE_SET "anim_1" 0.0;
32199             target: "arrow_right";
32200             target: "arrow_left";
32201             transition: LINEAR 0.6;
32202             after: "arrow_anim_1";
32203          }
32204          program {
32205             name: "arrow_anim_1";
32206             action: STATE_SET "anim_2" 0.0;
32207             target: "arrow_right";
32208             target: "arrow_left";
32209             transition: LINEAR 0.6;
32210             after: "arrow_anim_2";
32211          }
32212          program {
32213             name: "arrow_anim_2";
32214             action: STATE_SET "default" 0.0;
32215             target: "arrow_right";
32216             target: "arrow_left";
32217             after: "arrow_anim_start";
32218          }
32219          program {
32220             name: "arrow_anim_stop";
32221             action: ACTION_STOP;
32222             target: "arrow_anim_start";
32223             target: "arrow_anim_1";
32224             target: "arrow_anim_2";
32225             after: "arrow_anim_stop_1";
32226          }
32227          program {
32228             name: "arrow_anim_stop_1";
32229             action: STATE_SET "default" 0.0;
32230             target: "arrow_right";
32231             target: "arrow_left";
32232             transition: DECELERATE 0.4;
32233         }
32234       }
32235   }
32236
32237   group {
32238      name: "elm/panes/horizontal/default";
32239       images {
32240          image: "bt_base1.png" COMP;
32241          image: "bt_base2.png" COMP;
32242          image: "bt_hilight.png" COMP;
32243          image: "bt_shine.png" COMP;
32244          image: "bt_glow.png" COMP;
32245          image: "bt_dis_base.png" COMP;
32246          image: "bt_dis_hilight.png" COMP;
32247          image: "arrow_up.png" COMP;
32248          image: "arrow_down.png" COMP;
32249       }
32250      parts
32251        {
32252           part
32253             {
32254                name: "whole";
32255                type: RECT;
32256                mouse_events: 0;
32257                description
32258                  {
32259                     state: "default" 0.0;
32260                     visible: 0;
32261                  }
32262             }
32263
32264          //2 contents
32265           part
32266             {
32267                name: "whole_left";
32268                type: RECT;
32269                mouse_events: 0;
32270                description
32271                  {
32272                     state: "default" 0.0;
32273                     rel2.to_y: "elm.bar";
32274                     rel2.relative: 1.0 0.0;
32275                     visible: 1;
32276                  }
32277             }
32278           part
32279             {
32280                name: "elm.swallow.left";
32281                type: SWALLOW;
32282                clip_to: "whole_left";
32283                description
32284                  {
32285                     state: "default" 0.0;
32286                     rel1.to: "whole_left";
32287                     rel2.to: "whole_left";
32288                  }
32289             }
32290
32291             part
32292             {
32293                name: "whole_right";
32294                type: RECT;
32295                mouse_events: 0;
32296                description
32297                  {
32298                     state: "default" 0.0;
32299                     rel1.to_y: "elm.bar";
32300                     rel1.relative: 0.0 1.0;
32301                     visible: 1;
32302                  }
32303             }
32304           part
32305             {
32306                name: "elm.swallow.right";
32307                type: SWALLOW;
32308                clip_to: "whole_right";
32309                description
32310                  {
32311                     state: "default" 0.0;
32312                     rel1.to: "whole_right";
32313                     rel2.to: "whole_right";
32314                  }
32315             }
32316          //BAR
32317          part { name: "elm.bar";
32318             mouse_events: 1;
32319             dragable {
32320                confine: "whole";
32321                x: 0 0 0;
32322                y: 1 1 1;
32323             }
32324             description { state: "default" 0.0;
32325                max: 999 15;
32326                min: 100 15;
32327                rel1.relative: 0.5 0.0;
32328                rel2.relative: 0.5 1.0;
32329                image {
32330                   normal: "bt_base2.png";
32331                   border: 7 7 7 7;
32332                }
32333                image.middle: SOLID;
32334             }
32335             description { state: "clicked" 0.0;
32336                inherit: "default" 0.0;
32337                image.normal: "bt_base1.png";
32338                image.middle: SOLID;
32339             }
32340             description { state: "disabled" 0.0;
32341                inherit:  "default" 0.0;
32342                image {
32343                   normal: "bt_dis_base.png";
32344                   border: 4 4 4 4;
32345                }
32346             }
32347          }
32348          part {   name: "over1";
32349             mouse_events: 0;
32350             description { state: "default" 0.0;
32351             rel1.to: "elm.bar";
32352             rel2.to: "elm.bar";
32353                rel2.relative: 1.0 0.5;
32354                image {
32355                   normal: "bt_hilight.png";
32356                   border: 7 7 7 0;
32357                }
32358             }
32359             description { state: "disabled" 0.0;
32360                inherit:  "default" 0.0;
32361                image {
32362                   normal: "bt_dis_hilight.png";
32363                   border: 4 4 4 0;
32364                }
32365             }
32366          }
32367          part { name: "over2";
32368             mouse_events: 1;
32369             repeat_events: 1;
32370             ignore_flags: ON_HOLD;
32371             description { state: "default" 0.0;
32372             rel1.to: "elm.bar";
32373             rel2.to: "elm.bar";
32374                image {
32375                   normal: "bt_shine.png";
32376                   border: 7 7 7 7;
32377                }
32378             }
32379             description { state: "disabled" 0.0;
32380                inherit:  "default" 0.0;
32381                visible: 0;
32382             }
32383          }
32384          part { name: "over3";
32385             mouse_events: 1;
32386             repeat_events: 1;
32387             description { state: "default" 0.0;
32388                color: 255 255 255 0;
32389             rel1.to: "elm.bar";
32390             rel2.to: "elm.bar";
32391                image {
32392                   normal: "bt_glow.png";
32393                   border: 12 12 12 12;
32394                }
32395                fill.smooth : 0;
32396             }
32397             description { state: "clicked" 0.0;
32398                inherit:  "default" 0.0;
32399                visible: 1;
32400                color: 255 255 255 255;
32401             }
32402          }
32403
32404          //Arrow
32405          part {
32406             name: "arrow_right";
32407             description { state: "default" 0.0;
32408                 min: 45 45;
32409                 max: 45 45;
32410                 color: 255 255 255 0;
32411
32412                 rel1.relative: 0.5 1.0;
32413                 rel1.to_y: "elm.bar";
32414                 rel1.offset: -45/2 45/2;
32415
32416                 rel2.relative: 0.5 1.0;
32417                 rel2.to_y: "elm.bar";
32418                 rel2.offset: 45/2 45/2;
32419
32420                 image.normal: "arrow_down.png";
32421
32422                 fixed: 1 1;
32423             }
32424             description { state: "anim_1" 0.0;
32425                 inherit: "default" 0.0;
32426                 color: 255 255 255 200;
32427                 rel1.offset: -45/2 (45/2 +10);
32428                 rel2.offset: 45/2 (45/2 +10);
32429             }
32430             description { state: "anim_2" 0.0;
32431                 inherit: "default" 0.0;
32432                 color: 255 255 255 0;
32433                 rel1.offset: -45/2 (45/2 + 20);
32434                 rel2.offset: 45/2 (45/2 + 20);
32435             }
32436          }
32437         part {
32438             name: "arrow_left";
32439             description { state: "default" 0.0;
32440                 min: 45 45;
32441                 max: 45 45;
32442                 color: 255 255 255 0;
32443
32444                 rel1.relative: 0.5 0.0;
32445                 rel1.to_y: "elm.bar";
32446                 rel1.offset: -45/2 -45/2;
32447
32448                 rel2.relative: 0.5 0.0;
32449                 rel2.to_y: "elm.bar";
32450                 rel2.offset: 45/2 -45/2;
32451
32452                 image.normal: "arrow_up.png";
32453
32454                 fixed: 1 1;
32455             }
32456             description { state: "anim_1" 0.0;
32457                 inherit: "default" 0.0;
32458                 color: 255 255 255 200;
32459                 rel1.offset: -45/2 (-45/2 - 10);
32460                 rel2.offset: 45/2 (-45/2 - 10);
32461             }
32462             description { state: "anim_2" 0.0;
32463                 inherit: "default" 0.0;
32464                 color: 255 255 255 0;
32465                 rel1.offset: -45/2 (-45/2 - 20);
32466                 rel2.offset: 45/2 (-45/2 - 20);
32467             }
32468          }
32469
32470        }
32471         programs {
32472          program {
32473             name:   "button_click";
32474             signal: "mouse,down,1";
32475             source: "over2";
32476             action: SIGNAL_EMIT "elm,action,press" "";
32477             after: "button_click_anim";
32478             after: "arrow_anim_start";
32479          }
32480          program {
32481             name:   "button_click_anim";
32482             action: STATE_SET "clicked" 0.0;
32483             target: "elm.bar";
32484          }
32485          program {
32486             name:   "button_unclick";
32487             signal: "mouse,up,1";
32488             source: "over2";
32489             action: SIGNAL_EMIT "elm,action,unpress" "";
32490             after: "button_unclick_anim";
32491             after: "arrow_anim_stop";
32492          }
32493          program {
32494             name:   "button_unclick_anim";
32495             action: STATE_SET "default" 0.0;
32496             target: "elm.bar";
32497          }
32498          program {
32499             name:   "button_click2";
32500             signal: "mouse,down,1";
32501             source: "over3";
32502             action: STATE_SET "clicked" 0.0;
32503             target: "over3";
32504          }
32505          program {
32506             name:   "button_unclick2";
32507             signal: "mouse,up,1";
32508             source: "over3";
32509             action: STATE_SET "default" 0.0;
32510             transition: DECELERATE 0.5;
32511             target: "over3";
32512          }
32513          program {
32514             name:   "button_unclick3";
32515             signal: "mouse,up,1";
32516             source: "over2";
32517             action: SIGNAL_EMIT "elm,action,click" "";
32518          }
32519          program {
32520             name:   "button_down_double";
32521             signal: "mouse,down,1,double";
32522             source: "over3";
32523             action: SIGNAL_EMIT "elm,action,click,double" "";
32524          }
32525
32526          //arrows animation
32527          program {
32528             name: "arrow_anim_start";
32529             action: STATE_SET "anim_1" 0.0;
32530             target: "arrow_right";
32531             target: "arrow_left";
32532             transition: LINEAR 0.6;
32533             after: "arrow_anim_1";
32534          }
32535          program {
32536             name: "arrow_anim_1";
32537             action: STATE_SET "anim_2" 0.0;
32538             target: "arrow_right";
32539             target: "arrow_left";
32540             transition: LINEAR 0.6;
32541             after: "arrow_anim_2";
32542          }
32543          program {
32544             name: "arrow_anim_2";
32545             action: STATE_SET "default" 0.0;
32546             target: "arrow_right";
32547             target: "arrow_left";
32548             after: "arrow_anim_start";
32549          }
32550          program {
32551             name: "arrow_anim_stop";
32552             action: ACTION_STOP;
32553             target: "arrow_anim_start";
32554             target: "arrow_anim_1";
32555             target: "arrow_anim_2";
32556             after: "arrow_anim_stop_1";
32557          }
32558          program {
32559             name: "arrow_anim_stop_1";
32560             action: STATE_SET "default" 0.0;
32561             target: "arrow_right";
32562             target: "arrow_left";
32563             transition: DECELERATE 0.4;
32564         }
32565       }
32566   }
32567
32568
32569
32570 /////////////////////////////////////////////////////////////////////////////
32571 // PANEL
32572 /////////////////////////////////////////////////////////////////////////////
32573   group {
32574      name: "elm/panel/base/left";
32575      alias: "elm/panel/base/top";
32576      images
32577        {
32578           image: "bt_base1.png" COMP;
32579           image: "bt_hilight.png" COMP;
32580           image: "bt_shine.png" COMP;
32581           image: "bt_glow.png" COMP;
32582           image: "bt_dis_base.png" COMP;
32583           image: "icon_arrow_left.png" COMP;
32584           image: "icon_arrow_right.png" COMP;
32585        }
32586        data {
32587           item: "focus_highlight" "on";
32588        }
32589      parts
32590        {
32591             part { name: "focus_highlight";
32592                description { state: "default" 0.0;
32593                   visible: 0;
32594                   color: 255 255 255 0;
32595                   rel1 {
32596                      to: "btn";
32597                      offset: -8 -8;
32598                   }
32599                   rel2 {
32600                      to: "btn";
32601                      offset: 7 7;
32602                   }
32603                   image {
32604                      normal: "frame_2.png";
32605                      border: 5 5 32 26;
32606                      middle: 0;
32607                   }
32608                }
32609                description { state: "enabled" 0.0;
32610                   inherit: "default" 0.0;
32611                   visible: 1;
32612                   color: 255 255 255 255;
32613                }
32614             }
32615           part
32616             {
32617                name: "bg";
32618                type: RECT;
32619                mouse_events: 0;
32620                description
32621                  {
32622                     state: "default" 0.0;
32623                     color: 255 255 255 0;
32624                     rel1.relative: 0.0 0.0;
32625                     rel1.offset: 0 0;
32626                     rel2.relative: 1.0 1.0;
32627                     rel2.offset: -1 -1;
32628                  }
32629                description
32630                  {
32631                     state: "hidden" 0.0;
32632                     inherit: "default" 0.0;
32633                     rel1.relative: -1.0 0.0;
32634                     rel1.offset: 21 0;
32635                     rel2.relative: 0.0 1.0;
32636                     rel2.offset: 20 -1;
32637                  }
32638             }
32639           part
32640             {
32641                name: "base";
32642                type: IMAGE;
32643                mouse_events: 0;
32644                description
32645                  {
32646                     state: "default" 0.0;
32647                     rel1.to: "bg";
32648                     rel2.to: "bg";
32649                     rel2.offset: -20 -1;
32650                     image
32651                       {
32652                          normal: "bt_dis_base.png";
32653                          border: 4 4 4 4;
32654                       }
32655                  }
32656             }
32657           part
32658             {
32659                name: "clipper";
32660                type: RECT;
32661                mouse_events: 0;
32662                description
32663                  {
32664                     state: "default" 0.0;
32665                     rel1
32666                       {
32667                          offset: 4 4;
32668                          to: "base";
32669                       }
32670                     rel2
32671                       {
32672                          offset: -5 -5;
32673                          to: "base";
32674                       }
32675                  }
32676             }
32677           part
32678             {
32679                name: "elm.swallow.content";
32680                type: SWALLOW;
32681                clip_to: "clipper";
32682                description
32683                  {
32684                     state: "default" 0.0;
32685                     rel1.to: "clipper";
32686                     rel2.to: "clipper";
32687                  }
32688             }
32689           part
32690             {
32691                name: "btn";
32692                type: IMAGE;
32693                mouse_events: 1;
32694                description
32695                  {
32696                     state: "default" 0.0;
32697                     max: 32 48;
32698                     fixed: 1 1;
32699                     align: 0.0 0.5;
32700                     rel1
32701                       {
32702                          relative: 1.0 0.0;
32703                          offset: -3 0;
32704                          to_x: "base";
32705                       }
32706                     rel2.to_x: "bg";
32707                     image
32708                       {
32709                          normal: "bt_base1.png";
32710                          border: 0 5 4 12;
32711                       }
32712                     fill.smooth: 0;
32713                  }
32714                description
32715                  {
32716                     state: "clicked" 0.0;
32717                     inherit: "default" 0.0;
32718                  }
32719             }
32720           part
32721             {
32722                name: "btn_over";
32723                type: IMAGE;
32724                mouse_events: 0;
32725                description
32726                  {
32727                     state: "default" 0.0;
32728                     rel1.to: "btn";
32729                     rel2
32730                       {
32731                          relative: 1.0 0.5;
32732                          to: "btn";
32733                       }
32734                     image
32735                       {
32736                          normal: "bt_hilight.png";
32737                          border: 0 7 7 0;
32738                       }
32739                  }
32740             }
32741           part
32742             {
32743                name: "btn_over2";
32744                type: IMAGE;
32745                mouse_events: 1;
32746                repeat_events: 1;
32747                ignore_flags: ON_HOLD;
32748                description
32749                  {
32750                     state: "default" 0.0;
32751                     rel1.to: "btn";
32752                     rel2.to: "btn";
32753                     image
32754                       {
32755                          normal: "bt_shine.png";
32756                          border: 0 7 7 7;
32757                     }
32758                  }
32759             }
32760           part
32761             {
32762                name: "btn_over3";
32763                type: IMAGE;
32764                mouse_events: 1;
32765                repeat_events: 1;
32766                description
32767                  {
32768                     state: "default" 0.0;
32769                     color: 255 255 255 0;
32770                     rel1.to: "btn";
32771                     rel2.to: "btn";
32772                     image
32773                       {
32774                        normal: "bt_glow.png";
32775                        border: 12 12 12 12;
32776                     }
32777                   fill.smooth: 0;
32778                }
32779              description
32780                {
32781                   state: "clicked" 0.0;
32782                   inherit: "default" 0.0;
32783                   visible: 1;
32784                   color: 255 255 255 255;
32785                }
32786             }
32787           part
32788             {
32789                name: "btn_icon";
32790                type: IMAGE;
32791                repeat_events: 1;
32792                description
32793                  {
32794                     state: "default" 0.0;
32795                     rel1.to: "btn";
32796                     rel2.to: "btn";
32797                     align: 0.5 0.5;
32798                     min: 16 16;
32799                     max: 16 16;
32800                     image.normal: "icon_arrow_left.png";
32801                  }
32802                description
32803                  {
32804                     state: "hidden" 0.0;
32805                     inherit: "default" 0.0;
32806                     image.normal: "icon_arrow_right.png";
32807                  }
32808             }
32809        }
32810      programs
32811        {
32812           program
32813             {
32814                name: "show";
32815                signal: "elm,action,show";
32816                source: "elm";
32817                action: STATE_SET "default" 0.0;
32818                target: "bg";
32819                target: "btn_icon";
32820                transition: LINEAR 0.5;
32821             }
32822           program
32823             {
32824                name: "hide";
32825                signal: "elm,action,hide";
32826                source: "elm";
32827                action: STATE_SET "hidden" 0.0;
32828                target: "bg";
32829                target: "btn_icon";
32830                transition: LINEAR 0.5;
32831             }
32832           program
32833             {
32834                name: "btn_click";
32835                signal: "mouse,down,1";
32836                source: "btn_over2";
32837                action: STATE_SET "clicked" 0.0;
32838                target: "btn";
32839             }
32840           program
32841             {
32842                name: "btn_unclick";
32843                signal: "mouse,up,1";
32844                source: "btn_over2";
32845                action: STATE_SET "default" 0.0;
32846                target: "btn";
32847             }
32848           program
32849             {
32850                name: "btn_click2";
32851                signal: "mouse,down,1";
32852                source: "btn_over3";
32853                action: STATE_SET "clicked" 0.0;
32854                target: "btn_over3";
32855             }
32856           program
32857             {
32858                name: "btn_unclick2";
32859                signal: "mouse,up,1";
32860                source: "btn_over3";
32861                action: STATE_SET "default" 0.0;
32862                transition: DECELERATE 0.5;
32863                target: "btn_over3";
32864             }
32865           program
32866             {
32867                name: "btn_unclick3";
32868                signal: "mouse,clicked,1";
32869                source: "btn_over2";
32870                action: SIGNAL_EMIT "elm,action,panel,toggle" "";
32871             }
32872          program { name: "highlight_show";
32873             signal: "elm,action,focus_highlight,show";
32874             source: "elm";
32875             action: STATE_SET "enabled" 0.0;
32876             transition: ACCELERATE 0.3;
32877             target: "focus_highlight";
32878          }
32879          program { name: "highlight_hide";
32880             signal: "elm,action,focus_highlight,hide";
32881             source: "elm";
32882             action: STATE_SET "default" 0.0;
32883             transition: DECELERATE 0.3;
32884             target: "focus_highlight";
32885          }
32886        }
32887   }
32888
32889   group {
32890      name: "elm/panel/base/right";
32891      alias: "elm/panel/base/bottom";
32892      images
32893        {
32894           image: "bt_base1.png" COMP;
32895           image: "bt_hilight.png" COMP;
32896           image: "bt_shine.png" COMP;
32897           image: "bt_glow.png" COMP;
32898           image: "bt_dis_base.png" COMP;
32899           image: "icon_arrow_left.png" COMP;
32900           image: "icon_arrow_right.png" COMP;
32901        }
32902      parts
32903        {
32904             part { name: "focus_highlight";
32905                description { state: "default" 0.0;
32906                   visible: 0;
32907                   color: 255 255 255 0;
32908                   rel1 {
32909                      to: "btn";
32910                      offset: -8 -8;
32911                   }
32912                   rel2 {
32913                      to: "btn";
32914                      offset: 7 7;
32915                   }
32916                   image {
32917                      normal: "frame_2.png";
32918                      border: 5 5 32 26;
32919                      middle: 0;
32920                   }
32921                }
32922                description { state: "enabled" 0.0;
32923                   inherit: "default" 0.0;
32924                   visible: 1;
32925                   color: 255 255 255 255;
32926                }
32927             }
32928           part
32929             {
32930                name: "bg";
32931                type: RECT;
32932                mouse_events: 0;
32933                description
32934                  {
32935                     state: "default" 0.0;
32936                     color: 255 255 255 0;
32937                     rel1.relative: 0.0 0.0;
32938                     rel1.offset: 0 0;
32939                     rel2.relative: 1.0 1.0;
32940                     rel2.offset: -1 -1;
32941                  }
32942                description
32943                  {
32944                     state: "hidden" 0.0;
32945                     inherit: "default" 0.0;
32946                     rel1.relative: 1.0 0.0;
32947                     rel1.offset: -22 0;
32948                     rel2.relative: 2.0 1.0;
32949                     rel2.offset: -23 -1;
32950                  }
32951             }
32952           part
32953             {
32954                name: "base";
32955                type: IMAGE;
32956                mouse_events: 0;
32957                description
32958                  {
32959                     state: "default" 0.0;
32960                     rel1.to: "bg";
32961                     rel1.offset: 20 0;
32962                     rel2.to: "bg";
32963                     image
32964                       {
32965                          normal: "bt_dis_base.png";
32966                          border: 4 4 4 4;
32967                       }
32968                  }
32969             }
32970           part
32971             {
32972                name: "clipper";
32973                type: RECT;
32974                mouse_events: 0;
32975                description
32976                  {
32977                     state: "default" 0.0;
32978                     rel1
32979                       {
32980                          offset: 4 4;
32981                          to: "base";
32982                       }
32983                     rel2
32984                       {
32985                          offset: -5 -5;
32986                          to: "base";
32987                       }
32988                  }
32989             }
32990           part
32991             {
32992                name: "elm.swallow.content";
32993                type: SWALLOW;
32994                clip_to: "clipper";
32995                description
32996                  {
32997                     state: "default" 0.0;
32998                     rel1.to: "clipper";
32999                     rel2.to: "clipper";
33000                  }
33001             }
33002           part
33003             {
33004                name: "btn";
33005                type: IMAGE;
33006                mouse_events: 1;
33007                description
33008                  {
33009                     state: "default" 0.0;
33010                     max: 32 48;
33011                     fixed: 1 1;
33012                     align: 1 0.5;
33013                     rel1
33014                       {
33015                          to_x: "bg";
33016                       }
33017                     rel2
33018                       {
33019                          offset: 2 0;
33020                          relative: 0.0 1;
33021                          to_x: "base";
33022                       }
33023                     image
33024                       {
33025                          normal: "bt_base1.png";
33026                          border: 5 0 4 12;
33027                       }
33028                     fill.smooth: 0;
33029                  }
33030                description
33031                  {
33032                     state: "clicked" 0.0;
33033                     inherit: "default" 0.0;
33034                  }
33035             }
33036           part
33037             {
33038                name: "btn_over";
33039                type: IMAGE;
33040                mouse_events: 0;
33041                description
33042                  {
33043                     state: "default" 0.0;
33044                     rel1.to: "btn";
33045                     rel2
33046                       {
33047                          relative: 1.0 0.5;
33048                          to: "btn";
33049                       }
33050                     image
33051                       {
33052                          normal: "bt_hilight.png";
33053                          border: 7 0 7 0;
33054                       }
33055                  }
33056             }
33057           part
33058             {
33059                name: "btn_over2";
33060                type: IMAGE;
33061                mouse_events: 1;
33062                repeat_events: 1;
33063                ignore_flags: ON_HOLD;
33064                description
33065                  {
33066                     state: "default" 0.0;
33067                     rel1.to: "btn";
33068                     rel2.to: "btn";
33069                     image
33070                       {
33071                          normal: "bt_shine.png";
33072                          border: 7 0 7 7;
33073                     }
33074                  }
33075             }
33076           part
33077             {
33078                name: "btn_over3";
33079                type: IMAGE;
33080                mouse_events: 1;
33081                repeat_events: 1;
33082                description
33083                  {
33084                     state: "default" 0.0;
33085                     color: 255 255 255 0;
33086                     rel1.to: "btn";
33087                     rel2.to: "btn";
33088                     image
33089                       {
33090                        normal: "bt_glow.png";
33091                        border: 12 12 12 12;
33092                     }
33093                   fill.smooth: 0;
33094                }
33095              description
33096                {
33097                   state: "clicked" 0.0;
33098                   inherit: "default" 0.0;
33099                   visible: 1;
33100                   color: 255 255 255 255;
33101                }
33102             }
33103           part
33104             {
33105                name: "btn_icon";
33106                type: IMAGE;
33107                repeat_events: 1;
33108                description
33109                  {
33110                     state: "default" 0.0;
33111                     rel1.to: "btn";
33112                     rel2.to: "btn";
33113                     align: 0.5 0.5;
33114                     min: 16 16;
33115                     max: 16 16;
33116                     image.normal: "icon_arrow_right.png";
33117                  }
33118                description
33119                  {
33120                     state: "hidden" 0.0;
33121                     inherit: "default" 0.0;
33122                     image.normal: "icon_arrow_left.png";
33123                  }
33124             }
33125        }
33126      programs
33127        {
33128           program
33129             {
33130                name: "show";
33131                signal: "elm,action,show";
33132                source: "elm";
33133                action: STATE_SET "default" 0.0;
33134                target: "bg";
33135                target: "btn_icon";
33136                transition: LINEAR 0.5;
33137             }
33138           program
33139             {
33140                name: "hide";
33141                signal: "elm,action,hide";
33142                source: "elm";
33143                action: STATE_SET "hidden" 0.0;
33144                target: "bg";
33145                target: "btn_icon";
33146                transition: LINEAR 0.5;
33147             }
33148           program
33149             {
33150                name: "btn_click";
33151                signal: "mouse,down,1";
33152                source: "btn_over2";
33153                action: STATE_SET "clicked" 0.0;
33154                target: "btn";
33155             }
33156           program
33157             {
33158                name: "btn_unclick";
33159                signal: "mouse,up,1";
33160                source: "btn_over2";
33161                action: STATE_SET "default" 0.0;
33162                target: "btn";
33163             }
33164           program
33165             {
33166                name: "btn_click2";
33167                signal: "mouse,down,1";
33168                source: "btn_over3";
33169                action: STATE_SET "clicked" 0.0;
33170                target: "btn_over3";
33171             }
33172           program
33173             {
33174                name: "btn_unclick2";
33175                signal: "mouse,up,1";
33176                source: "btn_over3";
33177                action: STATE_SET "default" 0.0;
33178                transition: DECELERATE 0.5;
33179                target: "btn_over3";
33180             }
33181           program
33182             {
33183                name: "btn_unclick3";
33184                signal: "mouse,up,1";
33185                source: "btn_over2";
33186                action: SIGNAL_EMIT "elm,action,panel,toggle" "";
33187             }
33188          program { name: "highlight_show";
33189             signal: "elm,action,focus";
33190             source: "elm";
33191             action: STATE_SET "enabled" 0.0;
33192             transition: ACCELERATE 0.3;
33193             target: "focus_highlight";
33194          }
33195          program { name: "highlight_hide";
33196             signal: "elm,action,unfocus";
33197             source: "elm";
33198             action: STATE_SET "default" 0.0;
33199             transition: DECELERATE 0.3;
33200             target: "focus_highlight";
33201          }
33202        }
33203   }
33204
33205 ///////////////////////////////////////////////////////////////////////////////
33206   group { name: "elm/conformant/base/default";
33207      parts {
33208         part { name: "elm.swallow.shelf";
33209            type: SWALLOW;
33210            description { state: "default" 0.0;
33211               fixed: 1 1;
33212               align: 0.0 0.0;
33213               rel2.relative: 1.0 0.0;
33214            }
33215         }
33216         part { name: "elm.swallow.content";
33217            type: SWALLOW;
33218            description { state: "default" 0.0;
33219               align: 0.5 0.5;
33220               rel1.relative: 0.0 1.0;
33221               rel1.to_y: "elm.swallow.shelf";
33222               rel2.relative: 1.0 0.0;
33223               rel2.to_y: "elm.swallow.panel";
33224            }
33225         }
33226         part { name: "elm.swallow.panel";
33227            type: SWALLOW;
33228            description { state: "default" 0.0;
33229               fixed: 1 1;
33230               align: 0.0 1.0;
33231               rel1.relative: 0.0 1.0;
33232            }
33233         }
33234      }
33235   }
33236
33237 /////////////////////////////////////////////////////////////////////////////
33238 // CALENDAR
33239 /////////////////////////////////////////////////////////////////////////////
33240 #define CH(_pos) \
33241          part { name: "ch_"#_pos".base"; \
33242             type: RECT; \
33243             description { state: "default" 0.0; \
33244                rel1 { \
33245                   relative: (_pos % 7 * 7 / 8 / 6) 0; \
33246                   to: "header"; \
33247                } \
33248                rel2 { \
33249                   relative: (_pos % 7 * 7 / 8 / 6 + 1 / 8) 1; \
33250                   to: "header"; \
33251                } \
33252                color: 0 0 0 0; \
33253                visible: 0; \
33254             } \
33255          } \
33256          part { name: "ch_"#_pos".text"; \
33257             type: TEXT; \
33258             effect: SOFT_SHADOW; \
33259             mouse_events: 0; \
33260             scale: 1; \
33261             clip_to: "ch_"#_pos".clipper"; \
33262             description { \
33263                state: "default" 0.0; \
33264                rel1.to: "ch_"#_pos".base"; \
33265                rel2.to: "ch_"#_pos".base"; \
33266                color: 0 0 0 255; \
33267                color3: 0 0 0 0; \
33268                text { \
33269                   font: "Sans"; \
33270                   size: 10; \
33271                   min: 1 1; \
33272                   align: 0.5 0.5; \
33273                } \
33274             } \
33275          } \
33276          part { name: "ch_"#_pos".clipper"; \
33277             type: RECT; \
33278             description { state: "default" 0.0; \
33279                rel1.to: "ch_"#_pos".base"; \
33280                rel2.to: "ch_"#_pos".base"; \
33281             } \
33282          }
33283
33284 #define CIT(_pos) \
33285          part { name: "cit_"#_pos".rect"; \
33286             type: RECT; \
33287             description { state: "default" 0.0; \
33288                rel1 { \
33289                   relative: (_pos % 7 * 7 / 8 / 6) \
33290                             (_pos / 8 / 5 - _pos % 7 / 8 / 5); \
33291                   to: "base"; \
33292                } \
33293                rel2 { \
33294                   relative: (_pos % 7 * 7 / 8 / 6 + 1 / 8) \
33295                             (_pos / 8 / 5 - _pos % 7 / 8 / 5 + 1 / 8); \
33296                   to: "base"; \
33297                } \
33298                color: 0 0 0 0; \
33299                visible: 0; \
33300             } \
33301          } \
33302          part { \
33303             name: "cit_"#_pos".event"; \
33304             type: RECT; \
33305             repeat_events: 1; \
33306             description { \
33307                rel1.to: "cit_"#_pos".rect"; \
33308                rel2.to: "cit_"#_pos".rect"; \
33309                state: "default" 0.0; \
33310                color: 0 0 0 0; \
33311             } \
33312          } \
33313          part { name: "cit_"#_pos".shelf"; \
33314             type: RECT; \
33315             mouse_events: 0; \
33316             description { state: "default" 0.0; \
33317                rel1 { \
33318                   to: "cit_"#_pos".bg"; \
33319                   offset: -1 -1; \
33320                } \
33321                rel2 { \
33322                   to: "cit_"#_pos".bg"; \
33323                } \
33324                color: 200 200 200 255; \
33325             } \
33326          } \
33327          part { name: "cit_"#_pos".hd"; \
33328             type: RECT; \
33329             mouse_events: 0; \
33330             description { state: "default" 0.0; \
33331                rel1 { \
33332                   to: "cit_"#_pos".bg"; \
33333                   offset: -1 -1; \
33334                } \
33335                rel2 { \
33336                   to: "cit_"#_pos".bg"; \
33337                } \
33338                visible: 0; \
33339                color: 160 0 0 255; \
33340             } \
33341             description { state: "visible" 0.0; \
33342                inherit: "default" 0.0; \
33343                visible: 1; \
33344             } \
33345          } \
33346          part { \
33347             name: "cit_"#_pos".base_sh"; \
33348             mouse_events: 0; \
33349             description { \
33350                state: "default" 0.0; \
33351                align: 0.0 0.0; \
33352                min: 0 1; \
33353                rel1 { \
33354                   to: "cit_"#_pos".base"; \
33355                   relative: 0.0 1.0; \
33356                   offset: 0 0; \
33357                } \
33358                rel2 { \
33359                   to: "cit_"#_pos".base"; \
33360                   relative: 1.0 1.05; \
33361                   offset: -1 0; \
33362                } \
33363                image { \
33364                   normal: "ilist_item_shadow.png"; \
33365                } \
33366                fill.smooth: 0; \
33367             } \
33368          } \
33369          part { \
33370             name: "cit_"#_pos".base"; \
33371             mouse_events: 0; \
33372             description { \
33373                state: "default" 0.0; \
33374                rel1.to: "cit_"#_pos".rect"; \
33375                rel2.to: "cit_"#_pos".rect"; \
33376                rel2.offset: -1 -1; \
33377                image { \
33378                   normal: "ilist_1.png"; \
33379                   border: 2 2 2 2; \
33380                } \
33381                fill.smooth: 0; \
33382             } \
33383             description { \
33384                state: "today" 0.0; \
33385                inherit: "default" 0.0; \
33386                image.normal: "ilist_2.png"; \
33387                color: 240 240 240 255; \
33388             } \
33389          } \
33390          part { name: "cit_"#_pos".bg"; \
33391             mouse_events: 0; \
33392             description { state: "default" 0.0; \
33393                visible: 0; \
33394                color: 255 255 255 0; \
33395                rel1 { \
33396                   to: "cit_"#_pos".rect"; \
33397                   relative: 0.0 0.0; \
33398                } \
33399                rel2 { \
33400                   to: "cit_"#_pos".rect"; \
33401                   relative: 1.0 1.0; \
33402                   offset: -1 -1; \
33403                } \
33404                image { \
33405                   normal: "bt_sm_base1.png"; \
33406                   border: 6 6 6 6; \
33407                } \
33408                image.middle: SOLID; \
33409             } \
33410             description { state: "selected" 0.0; \
33411                inherit: "default" 0.0; \
33412                visible: 1; \
33413                color: 255 255 255 255; \
33414             } \
33415          } \
33416          part { name: "cit_"#_pos".text"; \
33417             type: TEXT; \
33418             effect: SOFT_SHADOW; \
33419             mouse_events: 0; \
33420             scale: 1; \
33421             description { \
33422                state: "default" 0.0; \
33423                rel1.to: "cit_"#_pos".bg"; \
33424                rel2.to: "cit_"#_pos".bg"; \
33425                color: 0 0 0 255; \
33426                color3: 0 0 0 0; \
33427                text { \
33428                   font: "Sans"; \
33429                   size: 10; \
33430                   min: 1 1; \
33431                   align: 0.5 0.5; \
33432                } \
33433             } \
33434             description { state: "selected" 0.0; \
33435                inherit: "default" 0.0; \
33436                color: 224 224 224 255; \
33437                color3: 0 0 0 64; \
33438             } \
33439          } \
33440          part { name: "cit_"#_pos".fg1"; \
33441             mouse_events: 0; \
33442             description { state: "default" 0.0; \
33443                visible: 0; \
33444                color: 255 255 255 0; \
33445                rel1.to: "cit_"#_pos".bg"; \
33446                rel2.relative: 1.0 0.5; \
33447                rel2.to: "cit_"#_pos".bg"; \
33448                image { \
33449                   normal: "bt_sm_hilight.png"; \
33450                   border: 6 6 6 0; \
33451                } \
33452             } \
33453             description { state: "selected" 0.0; \
33454                inherit: "default" 0.0; \
33455                visible: 1; \
33456                color: 255 255 255 255; \
33457             } \
33458          } \
33459          part { name: "cit_"#_pos".fg2"; \
33460             mouse_events: 0; \
33461             description { state: "default" 0.0; \
33462                visible: 0; \
33463                color: 255 255 255 0; \
33464                rel1.to: "cit_"#_pos".bg"; \
33465                rel2.to: "cit_"#_pos".bg"; \
33466                image { \
33467                   normal: "bt_sm_shine.png"; \
33468                   border: 6 6 6 0; \
33469                } \
33470             } \
33471             description { state: "selected" 0.0; \
33472                inherit: "default" 0.0; \
33473                visible: 1; \
33474                color: 255 255 255 255; \
33475             } \
33476          } \
33477          part { name: "cit_"#_pos".check"; \
33478             mouse_events: 0; \
33479             description { state: "default" 0.0; \
33480                rel1 { \
33481                   to: "cit_"#_pos".bg"; \
33482                   relative: 0.7 0.6; \
33483                   offset: 1 1; \
33484                } \
33485                rel2 { \
33486                   to: "cit_"#_pos".bg"; \
33487                   relative: 1.1 1.2; \
33488                   offset: -2 -2; \
33489                } \
33490                aspect: 1 1; \
33491                visible: 0; \
33492                color: 255 0 0 255; \
33493                image.normal: "check.png"; \
33494             } \
33495             description { state: "visible" 0.0; \
33496                inherit: "default" 0.0; \
33497                visible: 1; \
33498             } \
33499          } \
33500       programs { \
33501          program { \
33502             name:    "cit_"#_pos".go_active"; \
33503             signal:  "cit_"#_pos",selected"; \
33504             source:  "elm"; \
33505             action:  STATE_SET "selected" 0.0; \
33506             target:  "cit_"#_pos".bg"; \
33507             target:  "cit_"#_pos".fg1"; \
33508             target:  "cit_"#_pos".fg2"; \
33509             target:  "cit_"#_pos".text"; \
33510          } \
33511          program { \
33512             name:    "cit_"#_pos".go_passive"; \
33513             signal:  "cit_"#_pos",unselected"; \
33514             source:  "elm"; \
33515             action:  STATE_SET "default" 0.0; \
33516             target:  "cit_"#_pos".bg"; \
33517             target:  "cit_"#_pos".fg1"; \
33518             target:  "cit_"#_pos".fg2"; \
33519             target:  "cit_"#_pos".text"; \
33520          } \
33521          program { \
33522             name:    "cit_"#_pos".is_today"; \
33523             signal:  "cit_"#_pos",today"; \
33524             source:  "elm"; \
33525             action:  STATE_SET "today" 0.0; \
33526             target: "cit_"#_pos".base"; \
33527          } \
33528          program { \
33529             name:    "cit_"#_pos".not_today"; \
33530             signal:  "cit_"#_pos",not_today"; \
33531             source:  "elm"; \
33532             action:  STATE_SET "default" 0.0; \
33533             target: "cit_"#_pos".base"; \
33534          } \
33535          program { \
33536             source: "cit_"#_pos".clicked"; \
33537             signal: "mouse,clicked,1"; \
33538             source: "cit_"#_pos".event"; \
33539             action: SIGNAL_EMIT "elm,action,selected" #_pos; \
33540          } \
33541          program { \
33542             name:    "cit_"#_pos".clear"; \
33543             signal:  "cit_"#_pos",clear"; \
33544             source:  "elm"; \
33545             action:  STATE_SET "default" 0.0; \
33546             target: "cit_"#_pos".check"; \
33547             target: "cit_"#_pos".hd"; \
33548          } \
33549          program { \
33550             name:    "cit_"#_pos".checked"; \
33551             signal:  "cit_"#_pos",checked"; \
33552             source:  "elm"; \
33553             action:  STATE_SET "visible" 0.0; \
33554             target: "cit_"#_pos".check"; \
33555          } \
33556          program { \
33557             name:    "cit_"#_pos".holiday"; \
33558             signal:  "cit_"#_pos",holiday"; \
33559             source:  "elm"; \
33560             action:  STATE_SET "visible" 0.0; \
33561             target: "cit_"#_pos".hd"; \
33562          } \
33563       }
33564
33565    group { name: "elm/calendar/base/default";
33566        images {
33567            image: "shelf_inset.png" COMP;
33568            image: "bt_base1.png" COMP;
33569            image: "bt_hilight.png" COMP;
33570            image: "bt_shine.png" COMP;
33571            image: "bt_glow.png" COMP;
33572            image: "bt_dis_base.png" COMP;
33573            image: "bt_dis_hilight.png" COMP;
33574            image: "sp_bt_l.png" COMP;
33575            image: "sp_bt_r.png" COMP;
33576            image: "bt_sm_base1.png" COMP;
33577            image: "bt_sm_shine.png" COMP;
33578            image: "bt_sm_hilight.png" COMP;
33579            image: "ilist_1.png" COMP;
33580            image: "ilist_2.png" COMP;
33581            image: "ilist_item_shadow.png" COMP;
33582            image: "check.png" COMP;
33583        }
33584        parts {
33585            part { name: "bg";
33586                type: RECT;
33587                description { state: "default" 0.0;
33588                    min: 0 30;
33589                    rel1.offset: 1 1;
33590                    rel2.offset: -2 -2;
33591                    color: 255 255 255 0;
33592                    align: 0.0 0.5;
33593                }
33594            }
33595            part { name: "spinner-base";
33596                type: RECT;
33597                mouse_events: 0;
33598                description { state: "default" 0.0;
33599                    min: 24 24;
33600                    max: 999999 24;
33601                    rel1.to: "bg";
33602                    rel1.offset: 6 6;
33603                    rel2.to: "bg";
33604                    rel2.offset: -7 -7;
33605                    color: 255 255 255 0;
33606                    align: 0.0 0.0;
33607                }
33608            }
33609            part { name: "conf_over_spinner";
33610                mouse_events:  0;
33611                description { state: "default" 0.0;
33612                    rel1.to: "spinner-base";
33613                    rel1.offset: -3 -3;
33614                    rel2.to: "spinner-base";
33615                    rel2.offset: 2 2;
33616                    image {
33617                        normal: "shelf_inset.png";
33618                        border: 7 7 7 7;
33619                        middle: 0;
33620                    }
33621                    fill.smooth : 0;
33622                }
33623            }
33624            part { name: "table-base";
33625                type: RECT;
33626                mouse_events: 0;
33627                description { state: "default" 0.0;
33628                    min: 256 220;
33629                    rel1.to_x: "bg";
33630                    rel1.to_y: "spinner-base";
33631                    rel1.offset: 6 6;
33632                    rel1.relative: 0 1;
33633                    rel2.to: "bg";
33634                    rel2.offset: -7 -7;
33635                    color: 255 255 255 0;
33636                }
33637            }
33638            part { name: "conf_over_table";
33639                mouse_events:  0;
33640                description { state: "default" 0.0;
33641                    rel1.to: "table-base";
33642                    rel1.offset: -3 -3;
33643                    rel2.to: "table-base";
33644                    rel2.offset: 2 2;
33645                    image {
33646                        normal: "shelf_inset.png";
33647                        border: 7 7 7 7;
33648                        middle: 0;
33649                    }
33650                    fill.smooth : 0;
33651                }
33652            }
33653            part { name: "header";
33654                type: RECT;
33655                mouse_events: 0;
33656                description { state: "default" 0.0;
33657                    rel1.to: "table-base";
33658                    rel1.relative: 0 0;
33659                    rel2.to: "table-base";
33660                    rel2.relative: 1 0.1;
33661                    color: 255 255 255 0;
33662                }
33663            }
33664            part { name: "base";
33665                type: RECT;
33666                mouse_events: 0;
33667                description { state: "default" 0.0;
33668                    rel1.to_x: "table-base";
33669                    rel1.to_y: "header";
33670                    rel1.relative: 0 1;
33671                    rel1.offset: 3 0;
33672                    rel2.to: "table-base";
33673                    rel2.offset: -3 0;
33674                    color: 255 255 255 0;
33675                }
33676            }
33677            part { name: "left_bt";
33678                mouse_events:  1;
33679                description { state: "default" 0.0;
33680                    rel1 { to: "spinner-base";
33681                        offset: 2 2;
33682                    }
33683                    rel2 { to: "spinner-base";
33684                        offset: -3 -3;
33685                    }
33686                    align: 0.0 0.5;
33687                    min: 24 24;
33688                    max: 24 24;
33689                    fixed: 1 1;
33690                    image {
33691                        normal: "bt_base1.png";
33692                        border: 6 6 6 6;
33693                    }
33694                    fill.smooth : 0;
33695                }
33696                description { state: "clicked" 0.0;
33697                    inherit: "default" 0.0;
33698                    image.normal: "bt_base1.png";
33699                    image.middle: SOLID;
33700                }
33701            }
33702            part { name: "left_over1";
33703                mouse_events: 0;
33704                description { state: "default" 0.0;
33705                    rel1.to: "left_bt";
33706                    rel2 { to: "left_bt";
33707                        relative: 1.0 0.5;
33708                    }
33709                    image {
33710                        normal: "bt_hilight.png";
33711                        border: 7 7 7 0;
33712                    }
33713                }
33714            }
33715            part { name: "left_over2";
33716                mouse_events: 1;
33717                repeat_events: 1;
33718                description { state: "default" 0.0;
33719                    rel1.to: "left_bt";
33720                    rel2.to: "left_bt";
33721                    image {
33722                        normal: "bt_shine.png";
33723                        border: 7 7 7 7;
33724                    }
33725                }
33726            }
33727            part { name: "left_over3";
33728                mouse_events: 1;
33729                repeat_events: 1;
33730                description { state: "default" 0.0;
33731                    color: 255 255 255 0;
33732                    rel1.to: "left_bt";
33733                    rel2.to: "left_bt";
33734                    image {
33735                        normal: "bt_glow.png";
33736                        border: 12 12 12 12;
33737                    }
33738                    fill.smooth : 0;
33739                }
33740                description { state: "clicked" 0.0;
33741                    inherit:  "default" 0.0;
33742                    visible: 1;
33743                    color: 255 255 255 255;
33744                }
33745            }
33746            part { name: "right_bt";
33747                mouse_events:  1;
33748                description { state: "default" 0.0;
33749                    rel1 { to: "spinner-base";
33750                        offset: -27 3;
33751                    }
33752                    rel2 { to: "spinner-base";
33753                        offset: -3 -3;
33754                    }
33755                    align: 1.0 0.5;
33756                    min: 24 24;
33757                    max: 24 24;
33758                    fixed: 1 1;
33759                    image {
33760                        normal: "bt_base1.png";
33761                        border: 5 5 4 12;
33762                    }
33763                    fill.smooth : 0;
33764                }
33765                description { state: "clicked" 0.0;
33766                    inherit: "default" 0.0;
33767                    image.normal: "bt_base1.png";
33768                    image.middle: SOLID;
33769                }
33770            }
33771            part { name: "right_over1";
33772                mouse_events: 0;
33773                description { state: "default" 0.0;
33774                    rel1.to: "right_bt";
33775                    rel2 { to: "right_bt";
33776                        relative: 1.0 0.5;
33777                    }
33778                    image {
33779                        normal: "bt_hilight.png";
33780                        border: 7 7 7 0;
33781                    }
33782                }
33783            }
33784            part { name: "right_over2";
33785                mouse_events: 1;
33786                repeat_events: 1;
33787                description { state: "default" 0.0;
33788                    rel1.to: "right_bt";
33789                    rel2.to: "right_bt";
33790                    image {
33791                        normal: "bt_shine.png";
33792                        border: 7 7 7 7;
33793                    }
33794                }
33795            }
33796            part { name: "right_over3";
33797                mouse_events: 1;
33798                repeat_events: 1;
33799                description { state: "default" 0.0;
33800                    color: 255 255 255 0;
33801                    rel1.to: "right_bt";
33802                    rel2.to: "right_bt";
33803                    image {
33804                        normal: "bt_glow.png";
33805                        border: 12 12 12 12;
33806                    }
33807                    fill.smooth : 0;
33808                }
33809                description { state: "clicked" 0.0;
33810                    inherit:  "default" 0.0;
33811                    visible: 1;
33812                    color: 255 255 255 255;
33813                }
33814            }
33815            part { name: "left_bt_icon";
33816                repeat_events: 1;
33817                description { state: "default" 0.0;
33818                    rel1.to: "left_bt";
33819                    rel2.to: "left_bt";
33820                    align: 0.5 0.5;
33821                    min: 16 16;
33822                    max: 16 16;
33823                    image.normal: "sp_bt_l.png";
33824                }
33825            }
33826            part { name: "right_bt_icon";
33827                repeat_events: 1;
33828                description { state: "default" 0.0;
33829                    rel1.to: "right_bt";
33830                    rel2.to: "right_bt";
33831                    align: 0.5 0.5;
33832                    min: 16 16;
33833                    max: 16 16;
33834                    image.normal: "sp_bt_r.png";
33835                }
33836            }
33837            part { name: "month_text";
33838                type: TEXT;
33839                mouse_events: 0;
33840                scale: 1;
33841                description { state: "default" 0.0;
33842                    align: 0 0.5;
33843                    fixed: 1 1;
33844                    rel1 { relative: 1.0 0.0;
33845                        offset: 3 2;
33846                        to: "left_bt";
33847                        to_y: "spinner-base";
33848                    }
33849                    rel2 { relative: 0.0 1.0;
33850                        offset: -3 -2;
33851                        to_x: "right_bt";
33852                        to_y: "spinner-base";
33853                    }
33854                    color: 0 0 0 255;
33855                    text {
33856                        font: "Sans,Edje-Vera";
33857                        size: 12;
33858                        min: 1 1;
33859                        align: 0.5 0.5;
33860                    }
33861                }
33862            }
33863            CH(0)   CH(1)   CH(2)   CH(3)   CH(4)   CH(5)   CH(6)
33864            CIT(0)  CIT(1)  CIT(2)  CIT(3)  CIT(4)  CIT(5)  CIT(6)
33865            CIT(7)  CIT(8)  CIT(9)  CIT(10) CIT(11) CIT(12) CIT(13)
33866            CIT(14) CIT(15) CIT(16) CIT(17) CIT(18) CIT(19) CIT(20)
33867            CIT(21) CIT(22) CIT(23) CIT(24) CIT(25) CIT(26) CIT(27)
33868            CIT(28) CIT(29) CIT(30) CIT(31) CIT(32) CIT(33) CIT(34)
33869            CIT(35) CIT(36) CIT(37) CIT(38) CIT(39) CIT(40) CIT(41)
33870        }
33871        programs {
33872            program { name: "dec_start";
33873                signal: "mouse,down,1";
33874                source: "left_bt";
33875                action: SIGNAL_EMIT "elm,action,decrement,start" "";
33876            }
33877            program { name: "dec_stop";
33878                signal: "mouse,up,1";
33879                source: "left_bt";
33880                action: SIGNAL_EMIT "elm,action,stop" "";
33881            }
33882            program { name: "inc_start";
33883                signal: "mouse,down,1";
33884                source: "right_bt";
33885                action: SIGNAL_EMIT "elm,action,increment,start" "";
33886            }
33887            program { name: "inc_stop";
33888                signal: "mouse,up,1";
33889                source: "right_bt";
33890                action: SIGNAL_EMIT "elm,action,stop" "";
33891            }
33892            program {
33893                name:   "left_bt_click";
33894                signal: "mouse,down,1";
33895                source: "left_over2";
33896                action: STATE_SET "clicked" 0.0;
33897                target: "left_bt";
33898            }
33899            program {
33900                name:   "left_bt_unclick";
33901                signal: "mouse,up,1";
33902                source: "left_over2";
33903                action: STATE_SET "default" 0.0;
33904                target: "left_bt";
33905            }
33906            program {
33907                name:   "left_bt_click2";
33908                signal: "mouse,down,1";
33909                source: "left_over3";
33910                action: STATE_SET "clicked" 0.0;
33911                target: "left_over3";
33912            }
33913            program {
33914                name:   "left_bt_unclick2";
33915                signal: "mouse,up,1";
33916                source: "left_over3";
33917                action: STATE_SET "default" 0.0;
33918                transition: DECELERATE 0.5;
33919                target: "left_over3";
33920            }
33921            program {
33922                name:   "right_bt_click";
33923                signal: "mouse,down,1";
33924                source: "right_over2";
33925                action: STATE_SET "clicked" 0.0;
33926                target: "right_bt";
33927            }
33928            program {
33929                name:   "right_bt_unclick";
33930                signal: "mouse,up,1";
33931                source: "right_over2";
33932                action: STATE_SET "default" 0.0;
33933                target: "right_bt";
33934            }
33935            program {
33936                name:   "right_bt_click2";
33937                signal: "mouse,down,1";
33938                source: "right_over3";
33939                action: STATE_SET "clicked" 0.0;
33940                target: "right_over3";
33941            }
33942            program {
33943                name:   "right_bt_unclick2";
33944                signal: "mouse,up,1";
33945                source: "right_over3";
33946                action: STATE_SET "default" 0.0;
33947                transition: DECELERATE 0.5;
33948                target: "right_over3";
33949            }
33950        }
33951    }
33952
33953 #undef CIT
33954 #undef CH
33955
33956 ////////////////////////////////////////////////////////////////////////////////
33957 // colorselector
33958 ////////////////////////////////////////////////////////////////////////////////
33959    group { name: "elm/colorselector/bg/default";
33960       parts {
33961          part { name: "elm.colorbar_0";
33962             type: SWALLOW;
33963             mouse_events: 1;
33964             description { state: "default" 0.0;
33965                min: 120 30;
33966                rel1.relative: 0.0 0.00653594771;
33967                rel2.relative: 1.0 0.254901961;
33968             }
33969          }
33970          part { name: "elm.colorbar_1";
33971             type: SWALLOW;
33972             mouse_events: 1;
33973             description { state: "default" 0.0;
33974                min: 120 30;
33975                rel1.relative: 0.0 0.254901961;
33976                rel2.relative: 1.0 0.503267974;
33977             }
33978          }
33979          part { name: "elm.colorbar_2";
33980             type: SWALLOW;
33981             mouse_events: 1;
33982             description { state: "default" 0.0;
33983                min: 120 30;
33984                rel1.relative: 0.0 0.503267974;
33985                rel2.relative: 1.0 0.751633987;
33986             }
33987          }
33988          part { name: "elm.colorbar_3";
33989             type: SWALLOW;
33990             mouse_events: 1;
33991             description { state: "default" 0.0;
33992                min: 120 30;
33993                rel1.relative: 0.0 0.751633987;
33994                rel2.relative: 1.0 1.0;
33995             }
33996          }
33997       }
33998    }
33999
34000    group { name: "elm/colorselector/base/default";
34001       parts {
34002          part { name: "elm.bar_bg";
34003             type: SWALLOW;
34004             mouse_events: 0;
34005             description { state: "default" 0.0;
34006                min: 60 22;
34007                rel1 {
34008                   relative: 0.0 0.8;
34009                   to_x: "elm.arrow_bg";
34010                   to_y: "elm.arrow_icon";
34011                   offset: 0 0;
34012                }
34013                rel2 {
34014                   relative: 1.0 0.83;
34015                   to_x: "elm.arrow_bg";
34016                   offset: 0 0;
34017                }
34018             }
34019          }
34020          part { name: "elm.bar";
34021             type: SWALLOW;
34022             mouse_events: 0;
34023             description { state: "default" 0.0;
34024                rel1.to: "elm.bar_bg";
34025                rel2.to: "elm.bar_bg";
34026             }
34027          }
34028          part { name: "elm.arrow_bg";
34029             type: SWALLOW;
34030             mouse_events: 1;
34031             description { state: "default" 0.0;
34032                rel1 {
34033                   relative: 1.0 0.17;
34034                   offset: 3 0;
34035                   to_x: "elm.l_button";
34036                }
34037                rel2 {
34038                   relative: 0.0 0.83;
34039                      offset: -4 0;
34040                   to_x: "elm.r_button";
34041                }
34042             }
34043          }
34044          part { name: "elm.arrow";
34045             type: RECT;
34046             mouse_events: 1;
34047             scale: 1;
34048             description { state: "default" 0.0;
34049                min: 1 1;
34050                fixed: 1 1;
34051                align: 0 0;
34052                rel1 {
34053                   to_x: "elm.arrow_bg";
34054                }
34055                rel2 {
34056                   relative: 0.0 0.17;
34057                   to_x: "elm.arrow_bg";
34058                }
34059                color: 0 0 0 0;
34060                visible: 0;
34061             }
34062             dragable {
34063                confine: "elm.arrow_bg";
34064                x: 1 1 0;
34065                y: 0 0 0;
34066             }
34067          }
34068          part { name: "elm.arrow_icon";
34069             type: SWALLOW;
34070             mouse_events: 0;
34071             description { state: "default" 0.0;
34072                min: 25 15;
34073                max: 25 15;
34074                fixed: 1 1;
34075                align: 0.5 0;
34076                rel1 {
34077                   to_x: "elm.arrow";
34078                }
34079                rel2 {
34080                   relative: 1.0 0.0;
34081                   offset: 0 10;
34082                   to_x: "elm.arrow";
34083                }
34084             }
34085          }
34086          part { name: "event";
34087             type: RECT;
34088             mouse_events: 1;
34089             description { state: "default" 0.0;
34090                rel1 {
34091                   to: "elm.arrow_icon";
34092                }
34093                rel2 {
34094                   to_x: "elm.arrow_icon";
34095                   to_y: "elm.arrow_bg";
34096                   offset: 0 0;
34097                }
34098                color: 0 0 0 0;
34099             }
34100             dragable {
34101                events: "elm.arrow";
34102             }
34103          }
34104          part { name: "elm.l_button";
34105             type: SWALLOW;
34106             mouse_events: 1;
34107             scale: 1;
34108             description { state: "default" 0.0;
34109                min: 24 24;
34110                fixed: 1 1;
34111                rel1 {
34112                   relative: 0.0 0.0;
34113                   to_y: "elm.bar_bg";
34114                }
34115                rel2 {
34116                   relative: 0.0 1.0;
34117                   to_y: "elm.bar_bg";
34118                }
34119                align: 0.0 0.5;
34120             }
34121          }
34122          part { name: "elm.r_button";
34123             type: SWALLOW;
34124             mouse_events: 1;
34125             scale: 1;
34126             description {
34127                state: "default" 0.0;
34128                min: 24 24;
34129                fixed: 1 1;
34130                rel1 {
34131                   relative: 1.0 0.0;
34132                   to_y: "elm.bar_bg";
34133                }
34134                rel2 {
34135                   relative: 1.0 1.0;
34136                   to_y: "elm.bar_bg";
34137                }
34138                align: 1.0 0.5;
34139             }
34140          }
34141       }
34142    }
34143
34144    group{ name: "elm/colorselector/image/colorbar_0";
34145       images {
34146          image: "color_picker_color.png" COMP;
34147       }
34148       parts {
34149          part { name: "colorbar_0_image";
34150             type: IMAGE;
34151             mouse_events: 1;
34152             description { state: "default" 0.0;
34153                rel2.offset: -1 -1;
34154                image.normal: "color_picker_color.png";
34155             }
34156          }
34157       }
34158    }
34159
34160    group { name: "elm/colorselector/image/colorbar_1";
34161       images {
34162          image: "color_picker_opacity.png" COMP;
34163       }
34164       parts {
34165          part { name: "colorbar_1_image";
34166             type: IMAGE;
34167             mouse_events: 1;
34168             description { state: "default" 0.0;
34169                rel2.offset: -1 -1;
34170                image.normal: "color_picker_opacity.png";
34171             }
34172          }
34173       }
34174    }
34175
34176    group { name: "elm/colorselector/image/colorbar_2";
34177       images {
34178          image: "color_picker_brightness.png" COMP;
34179       }
34180       parts {
34181          part { name: "colorbar_2_image";
34182             type: IMAGE;
34183             mouse_events: 1;
34184             description { state: "default" 0.0;
34185                rel2.offset: -1 -1;
34186                image.normal: "color_picker_brightness.png";
34187             }
34188          }
34189       }
34190    }
34191
34192    group { name: "elm/colorselector/image/colorbar_3";
34193       images {
34194          image: "color_picker_alpha.png" COMP;
34195       }
34196       parts {
34197          part { name: "colorbar_3_image";
34198             type: IMAGE;
34199             mouse_events: 1;
34200             description { state: "default" 0.0;
34201                rel2.offset: -1 -1;
34202                image.normal: "color_picker_alpha.png";
34203             }
34204          }
34205       }
34206    }
34207
34208    group { name: "elm/colorselector/bg_image/colorbar_3";
34209       images {
34210          image: "color_picker_alpha_bg.png" COMP;
34211       }
34212       parts {
34213          part { name: "colorbar_3_image";
34214             type: IMAGE;
34215             mouse_events: 1;
34216             description { state: "default" 0.0;
34217                rel2.offset: -1 -1;
34218                image.normal: "color_picker_alpha_bg.png";
34219             }
34220          }
34221       }
34222    }
34223
34224    group { name: "elm/colorselector/image/updown";
34225       images {
34226          image: "icon_arrow_down.png" COMP;
34227       }
34228       parts {
34229          part { name: "bg";
34230             type: RECT;
34231             mouse_events: 1;
34232             description { state: "default" 0.0;
34233                color: 0 0 0 0;
34234             }
34235          }
34236          part { name: "arrow_image";
34237             type: IMAGE;
34238             mouse_events: 1;
34239             description { state: "default" 0.0;
34240                image.normal: "icon_arrow_down.png";
34241             }
34242          }
34243       }
34244    }
34245
34246    group { name: "elm/colorselector/button/left";
34247       images {
34248          image: "bt_base1.png" COMP;
34249          image: "bt_shine.png" COMP;
34250          image: "sp_bt_l.png" COMP;
34251       }
34252       parts {
34253          part { name: "button_image";
34254             mouse_events: 1;
34255             description { state: "default" 0.0;
34256                image.normal: "bt_base1.png";
34257                image.border: 6 6 6 6;
34258                image.middle: SOLID;
34259             }
34260
34261             description { state: "clicked" 0.0;
34262                inherit: "default" 0.0;
34263                image.normal: "bt_shine.png";
34264                image.border: 6 6 6 6;
34265                image.middle: SOLID;
34266             }
34267          }
34268          part { name: "btn_over";
34269             type: IMAGE;
34270             mouse_events: 0;
34271             description { state: "default" 0.0;
34272                rel1.to: "button_image";
34273                rel2 {
34274                   relative: 1.0 0.5;
34275                   to: "button_image";
34276                }
34277                image {
34278                   normal: "bt_hilight.png";
34279                   border: 7 7 7 0;
34280                }
34281             }
34282          }
34283          part { name: "btn_over2";
34284             type: IMAGE;
34285             mouse_events: 1;
34286             repeat_events: 1;
34287             ignore_flags: ON_HOLD;
34288             description { state: "default" 0.0;
34289                rel1.to: "button_image";
34290                rel2.to: "button_image";
34291                image {
34292                   normal: "bt_shine.png";
34293                   border: 7 7 7 7;
34294                }
34295             }
34296          }
34297          part { name: "focus_image";
34298             type: IMAGE;
34299             description { state: "default" 0.0;
34300                color: 255 255 255 0;
34301                rel1.to: "button_image";
34302                rel2.to: "button_image";
34303                image {
34304                   normal: "bt_glow.png";
34305                   border: 12 12 12 12;
34306                }
34307                fill.smooth: 0;
34308
34309             }
34310             description { state: "clicked" 0.0;
34311                inherit: "default" 0.0;
34312                visible: 1;
34313                color: 255 255 255 255;
34314             }
34315          }
34316          part { name: "left_arrow";
34317             mouse_events: 1;
34318             description { state: "default" 0.0;
34319                min: 16 16;
34320                max: 16 16;
34321                image.normal: "sp_bt_l.png";
34322             }
34323          }
34324       }
34325
34326       programs {
34327          program {
34328             name:   "button_down";
34329             signal: "elm,state,left,button,down";
34330             source: "left_button";
34331             action: STATE_SET "clicked" 0.0;
34332             target: "button_image";
34333             target: "focus_image";
34334          }
34335          program {
34336             name:   "button_up";
34337             signal: "elm,state,left,button,up";
34338             source: "left_button";
34339             action: STATE_SET "default" 0.0;
34340             target: "button_image";
34341             target: "focus_image";
34342          }
34343       }
34344    }
34345
34346    group { name: "elm/colorselector/button/right";
34347       images {
34348          image: "bt_base1.png" COMP;
34349          image: "bt_shine.png" COMP;
34350          image: "sp_bt_r.png" COMP;
34351       }
34352       parts {
34353          part { name: "button_image";
34354             mouse_events: 1;
34355             description { state: "default" 0.0;
34356                image.normal: "bt_base1.png";
34357                image.border: 6 6 6 6;
34358                image.middle: SOLID;
34359             }
34360
34361             description { state: "clicked" 0.0;
34362                inherit: "default" 0.0;
34363                image.normal: "bt_shine.png";
34364                image.border: 6 6 6 6;
34365                image.middle: SOLID;
34366             }
34367          }
34368          part { name: "btn_over";
34369             type: IMAGE;
34370             mouse_events: 0;
34371             description { state: "default" 0.0;
34372                rel1.to: "button_image";
34373                rel2 {
34374                   relative: 1.0 0.5;
34375                   to: "button_image";
34376                }
34377                image {
34378                   normal: "bt_hilight.png";
34379                   border: 7 7 7 0;
34380                }
34381             }
34382          }
34383          part { name: "btn_over2";
34384             type: IMAGE;
34385             mouse_events: 1;
34386             repeat_events: 1;
34387             ignore_flags: ON_HOLD;
34388             description { state: "default" 0.0;
34389                rel1.to: "button_image";
34390                rel2.to: "button_image";
34391                image {
34392                   normal: "bt_shine.png";
34393                   border: 7 7 7 7;
34394                }
34395             }
34396          }
34397          part { name: "focus_image";
34398             type: IMAGE;
34399             description { state: "default" 0.0;
34400                color: 255 255 255 0;
34401                rel1.to: "button_image";
34402                rel2.to: "button_image";
34403                image {
34404                   normal: "bt_glow.png";
34405                   border: 12 12 12 12;
34406                }
34407                fill.smooth: 0;
34408
34409             }
34410             description { state: "clicked" 0.0;
34411                inherit: "default" 0.0;
34412                visible: 1;
34413                color: 255 255 255 255;
34414             }
34415          }
34416          part { name: "right_arrow";
34417             mouse_events: 1;
34418             description { state: "default" 0.0;
34419                min: 16 16;
34420                max: 16 16;
34421                image.normal: "sp_bt_r.png";
34422             }
34423          }
34424       }
34425
34426       programs {
34427          program {
34428             name:   "button_down";
34429             signal: "elm,state,right,button,down";
34430             source: "right_button";
34431             action: STATE_SET "clicked" 0.0;
34432             target: "button_image";
34433             target: "focus_image";
34434          }
34435          program {
34436             name:   "button_up";
34437             signal: "elm,state,right,button,up";
34438             source: "right_button";
34439             action: STATE_SET "default" 0.0;
34440             target: "button_image";
34441             target: "focus_image";
34442          }
34443       }
34444    }
34445
34446 ///////////////////////////////////////////////////////////////////////////////
34447 #define FLIP_PICKER_MAX_LEN (50)
34448 #define FLIP_PICKER_MAX_LEN_STR "50"
34449
34450    group { name: "elm/flipselector/base/default";
34451       images {
34452          image: "flip_base.png" COMP;
34453          image: "flip_base_shad.png" COMP;
34454          image: "flip_shad.png" COMP;
34455          image: "arrow_up.png" COMP;
34456          image: "arrow_down.png" COMP;
34457          image: "flip_t.png" COMP;
34458          image: "flip_b.png" COMP;
34459       }
34460
34461       data {
34462          item: "max_len" FLIP_PICKER_MAX_LEN_STR;
34463       }
34464
34465       //FIXME: quick successive clicks on, say, up, lead to nastiness
34466       script {
34467          public cur, prev, next, lock;
34468
34469          public animator_bottom_down(val, Float:pos) {
34470             new tmp[FLIP_PICKER_MAX_LEN];
34471
34472             set_tween_state(PART:"bottom", pos, "shrink", 0.0, "default", 0.0);
34473             set_tween_state(PART:"bottom_sheet", pos, "shrink", 0.0, "default",
34474                             0.0);
34475             set_tween_state(PART:"shadow", pos, "half", 0.0, "full",
34476                             0.0);
34477
34478             if (pos >= 1.0) {
34479                set_state(PART:"shadow", "default", 0.0);
34480                set_int(lock, 0);
34481
34482                fetch_str(next, 0, tmp, FLIP_PICKER_MAX_LEN);
34483                if (strncmp(tmp, "", FLIP_PICKER_MAX_LEN) != 0) {
34484                   replace_str(next, 0, "");
34485                   message(MSG_STRING, 1, tmp);
34486                }
34487             }
34488          }
34489
34490          public animator_top_down(val, Float:pos) {
34491             set_tween_state(PART:"top", pos, "default", 0.0, "shrink", 0.0);
34492             set_tween_state(PART:"top_sheet", pos, "default", 0.0, "shrink",
34493                             0.0);
34494             set_tween_state(PART:"shadow", pos, "default", 0.0, "half",
34495                             0.0);
34496
34497             if (pos >= 1.0)
34498                anim(0.2, "animator_bottom_down", val);
34499          }
34500
34501          public animator_bottom_up(val, Float:pos) {
34502             set_tween_state(PART:"bottom", pos, "default", 0.0, "shrink", 0.0);
34503             set_tween_state(PART:"bottom_sheet", pos, "default", 0.0, "shrink",
34504                             0.0);
34505             set_tween_state(PART:"shadow", pos, "full", 0.0, "half",
34506                             0.0);
34507
34508             if (pos >= 1.0)
34509                anim(0.2, "animator_top_up", val);
34510          }
34511
34512          public animator_top_up(val, Float:pos) {
34513             new tmp[FLIP_PICKER_MAX_LEN];
34514
34515             set_tween_state(PART:"top", pos, "shrink", 0.0, "default", 0.0);
34516             set_tween_state(PART:"top_sheet", pos, "shrink", 0.0, "default",
34517                             0.0);
34518             set_tween_state(PART:"shadow", pos, "half", 0.0, "default",
34519                             0.0);
34520
34521             if (pos >= 1.0) {
34522                set_state(PART:"shadow", "default", 0.0);
34523                set_int(lock, 0);
34524
34525                fetch_str(next, 0, tmp, FLIP_PICKER_MAX_LEN);
34526                if (strncmp(tmp, "", FLIP_PICKER_MAX_LEN) != 0) {
34527                   replace_str(next, 0, "");
34528                   message(MSG_STRING, 2, tmp);
34529                }
34530             }
34531          }
34532
34533          public message(Msg_Type:type, id, ...) {
34534             /* flip down */
34535             if ((type == MSG_STRING) && (id == 1)) {
34536                new value[FLIP_PICKER_MAX_LEN], tmp[FLIP_PICKER_MAX_LEN];
34537
34538                snprintf(value, FLIP_PICKER_MAX_LEN, "%s", getarg(2));
34539
34540                if (get_int(lock) == 1) {
34541                   replace_str(next, 0, value);
34542                   return;
34543                }
34544
34545                fetch_str(cur, 0, tmp, FLIP_PICKER_MAX_LEN);
34546
34547                set_text(PART:"bottom_b", tmp);
34548
34549                set_state(PART:"top", "shrink", 0.0);
34550                set_text(PART:"top", tmp);
34551                set_state(PART:"top", "default", 0.0);
34552                set_text(PART:"top", tmp);
34553
34554                replace_str(prev, 0, tmp);
34555
34556                set_state(PART:"bottom", "default", 0.0);
34557                set_text(PART:"bottom", value);
34558                set_state(PART:"bottom", "shrink", 0.0);
34559                set_text(PART:"bottom", value);
34560
34561                set_text(PART:"top_b", value);
34562
34563                replace_str(cur, 0, value);
34564
34565                set_state(PART:"bottom_sheet", "shrink", 0.0);
34566                set_state(PART:"top_sheet", "default", 0.0);
34567
34568                set_int(lock, 1);
34569                set_state(PART:"shadow", "default", 0.0);
34570                anim(0.2, "animator_top_down", 1);
34571             }
34572
34573             /* flip up */
34574             if ((type == MSG_STRING) && (id == 2)) {
34575                new value[FLIP_PICKER_MAX_LEN], tmp[FLIP_PICKER_MAX_LEN];
34576
34577                snprintf(value, FLIP_PICKER_MAX_LEN, "%s", getarg(2));
34578
34579                if (get_int(lock) == 1) {
34580                   replace_str(next, 0, value);
34581                   return;
34582                }
34583
34584                fetch_str(cur, 0, tmp, FLIP_PICKER_MAX_LEN);
34585
34586                set_text(PART:"top_b", tmp);
34587
34588                set_state(PART:"bottom", "shrink", 0.0);
34589                set_text(PART:"bottom", tmp);
34590                set_state(PART:"bottom", "default", 0.0);
34591                set_text(PART:"bottom", tmp);
34592
34593                replace_str(prev, 0, tmp);
34594
34595                set_state(PART:"top", "default", 0.0);
34596                set_text(PART:"top", value);
34597                set_state(PART:"top", "shrink", 0.0);
34598                set_text(PART:"top", value);
34599
34600                set_text(PART:"bottom_b", value);
34601
34602                replace_str(cur, 0, value);
34603
34604                set_state(PART:"bottom_sheet", "default", 0.0);
34605                set_state(PART:"top_sheet", "shrink", 0.0);
34606
34607                set_int(lock, 1);
34608                set_state(PART:"shadow", "full", 0.0);
34609                anim(0.2, "animator_bottom_up", 1);
34610             }
34611          }
34612       }
34613
34614       parts {
34615          part { name: "shad";
34616             mouse_events: 0;
34617             description { state: "default" 0.0;
34618                rel1.offset: -4 -4;
34619                rel1.to: "base";
34620                rel2.offset: 3 3;
34621                rel2.to: "base";
34622                image {
34623                   normal: "flip_base_shad.png";
34624                   border: 8 8 8 8;
34625                }
34626             }
34627          }
34628
34629          part { name: "base";
34630             scale: 1;
34631             description { state: "default" 0.0;
34632                rel1.offset: 4 4;
34633                rel2.offset: -5 -5;
34634                min: 24 48;
34635                image.normal: "flip_base.png";
34636             }
34637          }
34638
34639          part { name: "b";
34640             type: RECT;
34641             mouse_events: 1;
34642             description { state: "default" 0.0;
34643                rel1.to: "base";
34644                rel1.relative: 0.0 0.5;
34645                rel2.to: "base";
34646                color: 0 0 0 0;
34647             }
34648             description { state: "hidden" 0.0;
34649                inherit: "default" 0.0;
34650                visible: 0;
34651             }
34652          }
34653
34654          part { name: "t";
34655             type: RECT;
34656             mouse_events: 1;
34657             description { state: "default" 0.0;
34658                rel1.to: "base";
34659                rel2.to: "base";
34660                rel2.relative: 1.0 0.5;
34661                color: 0 0 0 0;
34662             }
34663             description { state: "hidden" 0.0;
34664                inherit: "default" 0.0;
34665                visible: 0;
34666             }
34667          }
34668
34669          part { name: "bottom_sheet_static";
34670             mouse_events: 0;
34671             description { state: "default" 0.0;
34672                visible: 1;
34673                rel1.to: "b";
34674                rel2.to: "b";
34675                image.normal: "flip_b.png";
34676             }
34677          }
34678
34679          part { name: "bottom_b";
34680             mouse_events: 0;
34681             clip_to: "bottom_clipper";
34682             type: TEXT;
34683             scale: 1;
34684             description { state: "default" 0.0;
34685                rel1.to: "base";
34686                rel2.to: "base";
34687                color: 0 0 0 255;
34688                color2: 0 0 0 255;
34689                text {
34690                   font: "Sans:style=Bold,Edje-Vera-Bold";
34691                   size: 30;
34692                   min: 1 1;
34693                   align: 0.5 0.5;
34694                }
34695             }
34696          }
34697
34698          part { name: "shadow";
34699             mouse_events: 0;
34700             description { state: "default" 0.0;
34701                rel1.to: "b";
34702                rel2.to: "b";
34703                rel2.relative: 1.0 0.0;
34704                image.normal: "flip_shad.png";
34705             }
34706             description { state: "half" 0.0;
34707                inherit: "default" 0.0;
34708                rel2.relative: 1.0 0.5;
34709             }
34710             description { state: "full" 0.0;
34711                inherit: "default" 0.0;
34712                rel2.relative: 1.0 1.0;
34713             }
34714          }
34715
34716          part { name: "bottom_sheet";
34717             mouse_events: 0;
34718             description { state: "default" 0.0;
34719                visible: 1;
34720                rel1.to: "b";
34721                rel2.to: "b";
34722                image.normal: "flip_b.png";
34723             }
34724             description { state: "shrink" 0.0;
34725                inherit: "default" 0.0;
34726                visible: 0;
34727                rel2.relative: 1.0 0.0;
34728             }
34729          }
34730
34731          part { name: "bottom";
34732             mouse_events: 0;
34733             clip_to: "bottom_clipper";
34734             type: TEXT;
34735             scale: 1;
34736             description { state: "default" 0.0;
34737                rel1.to: "base";
34738                rel2.to: "base";
34739                color: 0 0 0 255;
34740                color2: 0 0 0 255;
34741                text {
34742                   font: "Sans:style=Bold,Edje-Vera-Bold";
34743                   size: 30;
34744                   min: 1 1;
34745                   align: 0.5 0.5;
34746                }
34747             }
34748             description { state: "shrink" 0.0;
34749                inherit: "default" 0.0;
34750                color: 128 128 128 255;
34751                visible: 0;
34752                rel2.relative: 1.0 0.5; /* FIXME: same visual effect? --> MAP! */
34753             }
34754          }
34755
34756          part { name: "top_sheet_static";
34757             mouse_events: 0;
34758             description { state: "default" 0.0;
34759                visible: 1;
34760                rel1.to: "t";
34761                rel2.to: "t";
34762                image.normal: "flip_t.png";
34763             }
34764          }
34765
34766          part { name: "top_b";
34767             mouse_events: 0;
34768             clip_to: "top_clipper";
34769             type: TEXT;
34770             scale: 1;
34771             description { state: "default" 0.0;
34772                rel1.to: "base";
34773                rel2.to: "base";
34774                color: 0 0 0 255;
34775                color2: 0 0 0 255;
34776                text {
34777                   font: "Sans:style=Bold,Edje-Vera-Bold";
34778                   size: 30;
34779                   min: 1 1;
34780                   align: 0.5 0.5;
34781                   source: "top";
34782                }
34783             }
34784          }
34785
34786          part { name: "top_sheet";
34787             mouse_events: 0;
34788             description { state: "default" 0.0;
34789                visible: 1;
34790                rel1.to: "t";
34791                rel2.to: "t";
34792                image.normal: "flip_t.png";
34793             }
34794             description { state: "shrink" 0.0;
34795                inherit: "default" 0.0;
34796                color: 128 128 128 255;
34797                visible: 0;
34798                rel1.relative: 0.0 1.0;
34799             }
34800          }
34801
34802          part { name: "top";
34803             mouse_events: 0;
34804             clip_to: "top_clipper";
34805             type: TEXT;
34806             scale: 1;
34807             description { state: "default" 0.0;
34808                rel1.to: "base";
34809                rel2.to: "base";
34810                color: 0 0 0 255;
34811                color2: 0 0 0 255;
34812                text {
34813                   font: "Sans:style=Bold,Edje-Vera-Bold";
34814                   size: 30;
34815                   min: 1 1;
34816                   align: 0.5 0.5;
34817                }
34818             }
34819             description { state: "shrink" 0.0;
34820                inherit: "default" 0.0;
34821                visible: 0;
34822                rel1.relative: 0.0 0.5;
34823             }
34824          }
34825
34826          part { name: "arrow_top";
34827             mouse_events: 0;
34828             scale: 1;
34829             description { state: "default" 0.0;
34830                min: 15 15;
34831                max: 15 15;
34832                align: 0.5 0.0;
34833                rel1.to: "t";
34834                rel2.to: "t";
34835                image.normal: "arrow_up.png";
34836             }
34837             description { state: "hidden" 0.0;
34838                inherit: "default" 0.0;
34839                visible: 0;
34840             }
34841          }
34842          part { name: "arrow_bottom";
34843             mouse_events: 0;
34844             scale: 1;
34845             description { state: "default" 0.0;
34846                min: 15 15;
34847                max: 15 15;
34848                align: 0.5 1.0;
34849                rel1.to: "b";
34850                rel2.to: "b";
34851                image.normal: "arrow_down.png";
34852             }
34853             description { state: "hidden" 0.0;
34854                inherit: "default" 0.0;
34855                visible: 0;
34856             }
34857          }
34858
34859          part {
34860             type: RECT;
34861             mouse_events: 0;
34862             name: "top_clipper";
34863             description {
34864                state: "default" 0.0;
34865                rel1.to: "t";
34866                rel2.to: "t";
34867                visible: 1;
34868             }
34869          }
34870
34871          part {
34872             type: RECT;
34873             mouse_events: 0;
34874             name: "bottom_clipper";
34875             description {
34876                state: "default" 0.0;
34877                rel1.to: "b";
34878                rel2.to: "b";
34879                visible: 1;
34880             }
34881          }
34882       }
34883
34884       programs {
34885          program { name: "load";
34886             signal: "load";
34887             source: "";
34888             script {
34889                append_str(cur, "");
34890                append_str(prev, "");
34891                append_str(next, "");
34892                set_int(lock, 0);
34893             }
34894          }
34895
34896          program { name: "hide_arrows";
34897             signal: "elm,state,button,hidden";
34898             source: "elm";
34899             action: STATE_SET "hidden" 0.0;
34900             target: "arrow_top";
34901             target: "arrow_bottom";
34902             target: "t";
34903             target: "b";
34904          }
34905
34906          program { name: "show_arrows";
34907             signal: "elm,state,button,visible";
34908             source: "elm";
34909             action: STATE_SET "default" 0.0;
34910             target: "arrow_top";
34911             target: "arrow_bottom";
34912             target: "t";
34913             target: "b";
34914          }
34915
34916          program { name: "up";
34917             signal: "mouse,down,1";
34918             source: "t";
34919             action: SIGNAL_EMIT "elm,action,up,start" "";
34920          }
34921          program { name: "up,stop";
34922             signal: "mouse,up,1";
34923             source: "t";
34924             action: SIGNAL_EMIT "elm,action,up,stop" "";
34925          }
34926          program { name: "down";
34927             signal: "mouse,down,1";
34928             source: "b";
34929             action: SIGNAL_EMIT "elm,action,down,start" "";
34930          }
34931          program { name: "down,stop";
34932             signal: "mouse,up,1";
34933             source: "b";
34934             action: SIGNAL_EMIT "elm,action,down,stop" "";
34935          }
34936       }
34937    }
34938
34939 ////////////////////////////////////////////////////////////////////////////////
34940 // diskselector
34941 ////////////////////////////////////////////////////////////////////////////////
34942    group { name: "elm/diskselector/base/default";
34943       images {
34944          image: "bar_shine.png" COMP;
34945       }
34946
34947       parts {
34948          part { name: "bg";
34949             type: RECT;
34950             mouse_events: 0;
34951             description { state: "default" 0.0;
34952                color: 0 0 0 255;
34953             }
34954          }
34955          part { name: "shine_left";
34956             mouse_events:  0;
34957             description { state: "default" 0.0;
34958                rel1.to: "bg";
34959                rel1.relative: -0.1 0;
34960                rel2.to: "bg";
34961                rel2.relative: 0.1 1;
34962                image.normal: "bar_shine.png";
34963                color: 255 255 255 120;
34964             }
34965          }
34966          part { name: "shine_center";
34967             mouse_events:  0;
34968             description { state: "default" 0.0;
34969                rel1.to: "bg";
34970                rel1.relative: 0.2 0;
34971                rel2.to: "bg";
34972                rel2.relative: 0.8 1;
34973                image.normal: "bar_shine.png";
34974                color: 255 255 255 180;
34975             }
34976          }
34977          part { name: "shine_right";
34978             mouse_events:  0;
34979             description { state: "default" 0.0;
34980                rel1.to: "bg";
34981                rel1.relative: 0.9 0;
34982                rel2.to: "bg";
34983                rel2.relative: 1.1 1;
34984                image.normal: "bar_shine.png";
34985                color: 255 255 255 120;
34986             }
34987          }
34988          part { name: "clipper";
34989             type: RECT;
34990             mouse_events: 0;
34991             description { state: "default" 0.0;
34992                rel1.to: "bg";
34993                rel2.to: "bg";
34994                rel1.offset: 2 2;
34995                rel2.offset: -3 -3;
34996             }
34997          }
34998          part { name: "elm.swallow.content";
34999             clip_to: "clipper";
35000             type: SWALLOW;
35001             description { state: "default" 0.0;
35002                rel1.to: "bg";
35003                rel2.to: "bg";
35004             }
35005          }
35006       }
35007    }
35008
35009    group { name: "elm/diskselector/item/default";
35010
35011       data {
35012          item: "len_threshold" "14";
35013       }
35014
35015       parts {
35016          part { name: "elm.swallow.icon";
35017             type: SWALLOW;
35018             description { state: "default" 0.0;
35019                fixed: 1 0;
35020                align: 0.0 0.5;
35021                rel1 {
35022                   relative: 0 0;
35023                   offset: 4 4;
35024                }
35025                rel2 {
35026                   relative: 0 1;
35027                   offset: 4 -5;
35028                }
35029             }
35030             description { state: "show" 0.0;
35031                inherit: "default" 0.0;
35032             }
35033             description { state: "default_small" 0.0;
35034                inherit: "default" 0.0;
35035                rel1.relative: 0 0.2;
35036                rel2.relative: 0 0.8;
35037             }
35038             description { state: "left_side" 0.0;
35039                inherit: "default" 0.0;
35040                rel1.relative: 0 0.2;
35041                rel2.relative: 0 0.8;
35042                color: 255 255 255 160;
35043             }
35044             description { state: "right_side" 0.0;
35045                inherit: "left_side" 0.0;
35046                rel1.relative: 0.4 0.2;
35047                rel2.relative: 0.4 0.8;
35048                color: 255 255 255 160;
35049             }
35050          }
35051          part { name: "elm.text";
35052             type: TEXT;
35053             mouse_events: 0;
35054             scale: 1;
35055             description { state: "default" 0.0;
35056                rel1.relative: 1 0.0;
35057                rel1.to_x: "elm.swallow.icon";
35058                rel2.relative: 1.0 1.0;
35059                color: 255 255 255 255;
35060                visible: 0;
35061                text {
35062                   font: "Sans,Edje-Vera";
35063                   size: 13;
35064                   align: 0.5 0.5;
35065                   min: 0 1;
35066                }
35067             }
35068             description { state: "show" 0.0;
35069                inherit: "default" 0.0;
35070                visible: 1;
35071             }
35072             description { state: "default_small" 0.0;
35073                inherit: "default" 0.0;
35074                visible: 1;
35075                text.size: 10;
35076             }
35077             description { state: "left_side" 0.0;
35078                inherit: "default" 0.0;
35079                color: 172 172 172 255;
35080                text.size: 10;
35081                visible: 1;
35082                text.align: 0.2 0.5;
35083             }
35084             description { state: "right_side" 0.0;
35085                inherit: "default" 0.0;
35086                color: 172 172 172 255;
35087                visible: 1;
35088                text.size: 10;
35089                text.align: 0.8 0.5;
35090             }
35091          }
35092       }
35093
35094       programs {
35095          program { name: "center_text";
35096             signal: "elm,state,center";
35097             source: "elm";
35098             action: STATE_SET "show" 0.0;
35099             target: "elm.text";
35100             target: "elm.swallow.icon";
35101          }
35102          program { name: "center_small_text";
35103             signal: "elm,state,center_small";
35104             source: "elm";
35105             action: STATE_SET "default_small" 0.0;
35106             target: "elm.text";
35107             target: "elm.swallow.icon";
35108          }
35109          program { name: "l_side_text";
35110             signal: "elm,state,left_side";
35111             source: "elm";
35112             action: STATE_SET "left_side" 0.0;
35113             target: "elm.text";
35114             target: "elm.swallow.icon";
35115          }
35116          program { name: "r_side_text";
35117             signal: "elm,state,right_side";
35118             source: "elm";
35119             action: STATE_SET "right_side" 0.0;
35120             target: "elm.text";
35121             target: "elm.swallow.icon";
35122          }
35123       }
35124    }
35125
35126    group { name: "elm/entry/path/separator/default";
35127       images.image: "arrow_right.png" COMP;
35128       parts {
35129          part { name: "icon";
35130             mouse_events: 0;
35131             description { state: "default" 0.0;
35132                image.normal: "arrow_right.png";
35133                max: 64 64;
35134                aspect: 1.0 1.0;
35135             }
35136          }
35137       }
35138    }
35139
35140    group { name: "elm/fileselector/base/default";
35141       data {
35142          item: "path_separator" "<item relsize=16x16 vsize=full href=path/separator></item>";
35143       }
35144       parts {
35145          part { name: "elm.swallow.up";
35146             type: SWALLOW;
35147             description { state: "default" 0.0;
35148                align: 0.0 0.0;
35149                min: 10 10;
35150                fixed: 1 1;
35151                rel2 {
35152                   relative: 0.0 0.0;
35153                   offset: 0 0;
35154                }
35155             }
35156          }
35157          part { name: "elm.swallow.home";
35158             type: SWALLOW;
35159             description { state: "default" 0.0;
35160                align: 0.0 0.0;
35161                min: 10 10;
35162                fixed: 1 1;
35163                rel1 {
35164                   to: "elm.swallow.up";
35165                   relative: 1.0 0.0;
35166                   offset: 5 0;
35167                }
35168                rel2 {
35169                   to: "elm.swallow.up";
35170                   relative: 1.0 1.0;
35171                   offset: 20 -1;
35172                }
35173             }
35174          }
35175          part { name: "elm.swallow.files";
35176             type: SWALLOW;
35177             description { state: "default" 0.0;
35178                align: 1.0 0.0;
35179                min: 10 10;
35180                fixed: 1 1;
35181                rel1 {
35182                   to_y: "elm.swallow.home";
35183                   relative: 0.0 1.0;
35184                   offset: 0 0;
35185                }
35186                rel2 {
35187                   to_y: "elm.swallow.path";
35188                   relative: 1.0 0.0;
35189                   offset: -1 -1;
35190                }
35191             }
35192          }
35193          part { name: "elm.swallow.path";
35194             type: SWALLOW;
35195             description { state: "default" 0.0;
35196                align: 0.5 1.0;
35197                fixed: 1 1;
35198                rel1 {
35199                   to_y: "elm.swallow.filename";
35200                   relative: 0.0 0.0;
35201                   offset: 0 -1;
35202                }
35203                rel2 {
35204                   to_y: "elm.swallow.filename";
35205                   relative: 1.0 0.0;
35206                   offset: -1 -1;
35207                }
35208             }
35209          }
35210          part { name: "elm.swallow.filename";
35211             type: SWALLOW;
35212             description { state: "default" 0.0;
35213                align: 0.5 1.0;
35214                fixed: 1 1;
35215                rel1 {
35216                   to_y: "elm.swallow.ok";
35217                   relative: 0.0 0.0;
35218                   offset: 0 -1;
35219                }
35220                rel2 {
35221                   to_y: "elm.swallow.ok";
35222                   relative: 1.0 0.0;
35223                   offset: -1 -1;
35224                }
35225             }
35226          }
35227          part { name: "elm.swallow.cancel";
35228             type: SWALLOW;
35229             description { state: "default" 0.0;
35230                align: 1.0 1.0;
35231                fixed: 1 1;
35232                rel1 {
35233                   to: "elm.swallow.ok";
35234                   relative: 0.0 0.0;
35235                   offset: -3 0;
35236                }
35237                rel2 {
35238                   to: "elm.swallow.ok";
35239                   relative: 0.0 1.0;
35240                   offset: -3 -1;
35241                }
35242             }
35243          }
35244          part { name: "elm.swallow.ok";
35245             type: SWALLOW;
35246             description { state: "default" 0.0;
35247                align: 1.0 1.0;
35248                fixed: 1 1;
35249                rel1 {
35250                   relative: 1.0 1.0;
35251                   offset: -1 -1;
35252                }
35253             }
35254          }
35255       }
35256    }
35257
35258    group { name: "elm/fileselector_entry/base/default";
35259       parts {
35260          part { name: "elm.swallow.entry";
35261             type: SWALLOW;
35262             description { state: "default" 0.0;
35263                align: 0.0 0.0;
35264                min: 50 10;
35265                rel2 { to_x: "elm.swallow.button";
35266                   relative: 0.0 1.0;
35267                   offset: -1 -1;
35268                }
35269             }
35270          }
35271          part { name: "elm.swallow.button";
35272             type: SWALLOW;
35273             description { state: "default" 0.0;
35274                align: 1.0 0.0;
35275                min: 10 10;
35276                fixed: 1 1;
35277                rel1 {
35278                   relative: 1.0 0.0;
35279                   offset: -21 0;
35280                }
35281             }
35282          }
35283       }
35284    }
35285
35286 ////////////////////////////////////////////////////////////////////////
35287 // Standard layouts to be used                                        //
35288 ////////////////////////////////////////////////////////////////////////
35289    /* application with toolbar and main content area */
35290    group { name: "elm/layout/application/toolbar-content";
35291       parts {
35292          part { name: "elm.swallow.content";
35293             type: SWALLOW;
35294             description { state: "default" 0.0;
35295                rel1 { to_y: "elm.external.toolbar";
35296                   relative: 0.0 1.0;
35297                   offset: -1 1;
35298                }
35299             }
35300          }
35301
35302          part { name: "elm.external.toolbar";
35303             type: EXTERNAL;
35304             source: "elm/toolbar";
35305             description { state: "default" 0.0;
35306                align: 0.5 0.0;
35307                fixed: 0 1;
35308                rel2 {
35309                   relative: 1.0 0.0;
35310                   offset: -1 47;
35311                }
35312             }
35313          }
35314       }
35315    }
35316
35317    /* application with toolbar and main content area with a back button and title area */
35318    group { name: "elm/layout/application/toolbar-content-back";
35319       parts {
35320          part { name: "elm.swallow.content";
35321             type: SWALLOW;
35322             description { state: "default" 0.0;
35323                rel1 { to_y: "title_clipper";
35324                   relative: 0.0 1.0;
35325                   offset: -1 1;
35326                }
35327             }
35328          }
35329
35330          part { name: "elm.external.toolbar";
35331             type: EXTERNAL;
35332             source: "elm/toolbar";
35333             description { state: "default" 0.0;
35334                fixed: 0 1;
35335                align: 0.5 0.0;
35336                rel2 {
35337                   relative: 1.0 0.0;
35338                   offset: -1 47;
35339                }
35340             }
35341          }
35342          part { name: "title_clipper";
35343             type: RECT;
35344             description { state: "default" 0.0;
35345                visible: 1;
35346                rel1 {
35347                   to_y: "back";
35348                }
35349                rel2 {
35350                   to_y: "back";
35351                }
35352             }
35353             description { state: "hidden" 0.0;
35354                inherit: "default" 0.0;
35355                visible: 0;
35356                rel2 {
35357                   relative: 1.0 0.0;
35358                }
35359             }
35360          }
35361          part { name: "back_clipper";
35362             type: RECT;
35363             clip_to: "title_clipper";
35364             description { state: "default" 0.0;
35365                visible: 1;
35366             }
35367             description { state: "hidden" 0.0;
35368                visible: 0;
35369             }
35370          }
35371          part { name: "back";
35372             type: EXTERNAL;
35373             source: "elm/button";
35374             clip_to: "back_clipper";
35375             description { state: "default" 0.0;
35376                align: 0.0 0.0;
35377                fixed: 1 1;
35378                rel1 { to_y: "elm.external.toolbar";
35379                   relative: 0.0 1.0;
35380                   offset: 0 1;
35381                }
35382                rel2 { to_y: "elm.external.toolbar";
35383                   relative: 0.0 1.0;
35384                   offset: 50 32;
35385                }
35386                params.string: "label" "Back";
35387             }
35388          }
35389          programs {
35390             program {
35391                signal: "clicked";
35392                source: "back";
35393                action: SIGNAL_EMIT "elm,action,back" "";
35394             }
35395             program {
35396                signal: "elm,back,hide";
35397                source: "elm";
35398                action: STATE_SET "hidden" 0.0;
35399                target: "back_clipper";
35400             }
35401             program {
35402                signal: "elm,back,show";
35403                source: "elm";
35404                action: STATE_SET "default" 0.0;
35405                target: "back_clipper";
35406             }
35407             program {
35408                signal: "elm,title,hide";
35409                source: "elm";
35410                action: STATE_SET "hidden" 0.0;
35411                transition: LINEAR 0.1;
35412                target: "title_clipper";
35413             }
35414             program {
35415                signal: "elm,title,show";
35416                source: "elm";
35417                action: STATE_SET "default" 0.0;
35418                target: "title_clipper";
35419             }
35420          }
35421
35422          part { name: "elm.swallow.end";
35423             type: SWALLOW;
35424             description { state: "default" 0.0;
35425                align: 1.0 0.0;
35426                fixed: 1 1;
35427                rel1 { to_y: "elm.external.toolbar";
35428                   relative: 1.0 1.0;
35429                   offset: -2 1;
35430                }
35431                rel2 { to_y: "elm.external.toolbar";
35432                   relative: 1.0 1.0;
35433                   offset: -1 32;
35434                }
35435             }
35436          }
35437
35438          part { name: "elm.text.title";
35439             type: TEXT;
35440             effect: SOFT_SHADOW;
35441             scale: 1;
35442             description { state: "default" 0.0;
35443                rel1 { to_y: "elm.external.toolbar";
35444                   to_x: "back";
35445                   relative: 1.0 1.0;
35446                   offset: 2 1;
35447                }
35448                rel2 { to_y: "back";
35449                   to_x: "elm.swallow.end";
35450                   relative: 0.0 1.0;
35451                   offset: -3 -1;
35452                }
35453                text {
35454                   font: "Sans:style=Bold";
35455                   size: 12;
35456                }
35457             }
35458          }
35459       }
35460    }
35461
35462    /* application with toolbar and main content area with a back and next buttons and title area */
35463    group { name: "elm/layout/application/toolbar-content-back-next";
35464       parts {
35465          part { name: "elm.swallow.content";
35466             type: SWALLOW;
35467             description { state: "default" 0.0;
35468                rel1 { to_y: "title_clipper";
35469                   relative: 0.0 1.0;
35470                   offset: -1 1;
35471                }
35472             }
35473          }
35474
35475          part { name: "elm.external.toolbar";
35476             type: EXTERNAL;
35477             source: "elm/toolbar";
35478             description { state: "default" 0.0;
35479                fixed: 0 1;
35480                align: 0.5 0.0;
35481                rel2 {
35482                   relative: 1.0 0.0;
35483                   offset: -1 47;
35484                }
35485             }
35486          }
35487          part { name: "title_clipper";
35488             type: RECT;
35489             description { state: "default" 0.0;
35490                visible: 1;
35491                rel1 {
35492                   to_y: "back";
35493                }
35494                rel2 {
35495                   to_y: "back";
35496                }
35497             }
35498             description { state: "hidden" 0.0;
35499                inherit: "default" 0.0;
35500                visible: 0;
35501                rel2 {
35502                   relative: 1.0 0.0;
35503                }
35504             }
35505          }
35506          part { name: "back";
35507             type: EXTERNAL;
35508             source: "elm/button";
35509             clip_to: "back_clipper";
35510             description { state: "default" 0.0;
35511                align: 0.0 0.0;
35512                fixed: 1 1;
35513                rel1 { to_y: "elm.external.toolbar";
35514                   relative: 0.0 1.0;
35515                   offset: 0 1;
35516                }
35517                rel2 { to_y: "elm.external.toolbar";
35518                   relative: 0.0 1.0;
35519                   offset: 50 32;
35520                }
35521                params.string: "label" "Back";
35522             }
35523          }
35524          part { name: "back_clipper";
35525             type: RECT;
35526             clip_to: "title_clipper";
35527             description { state: "default" 0.0;
35528                visible: 1;
35529             }
35530             description { state: "hidden" 0.0;
35531                visible: 0;
35532             }
35533          }
35534          part { name: "next";
35535             type: EXTERNAL;
35536             source: "elm/button";
35537             clip_to: "next_clipper";
35538             description { state: "default" 0.0;
35539                align: 1.0 0.0;
35540                fixed: 1 1;
35541                rel1 { to_y: "elm.external.toolbar";
35542                   relative: 1.0 1.0;
35543                   offset: -2 1;
35544                }
35545                rel2 { to_y: "elm.external.toolbar";
35546                   relative: 1.0 1.0;
35547                   offset: -1 32;
35548                }
35549                params.string: "label" "Next";
35550            }
35551          }
35552          part { name: "next_clipper";
35553             type: RECT;
35554             clip_to: "title_clipper";
35555             description { state: "default" 0.0;
35556                visible: 1;
35557             }
35558             description { state: "hidden" 0.0;
35559                visible: 0;
35560             }
35561          }
35562          programs {
35563             program {
35564                signal: "clicked";
35565                source: "back";
35566                action: SIGNAL_EMIT "elm,action,back" "";
35567             }
35568             program {
35569                signal: "elm,title,hide";
35570                source: "elm";
35571                action: STATE_SET "hidden" 0.0;
35572                transition: LINEAR 0.1;
35573                target: "title_clipper";
35574             }
35575             program {
35576                signal: "elm,title,show";
35577                source: "elm";
35578                action: STATE_SET "default" 0.0;
35579                target: "title_clipper";
35580             }
35581             program {
35582                signal: "elm,back,hide";
35583                source: "elm";
35584                action: STATE_SET "hidden" 0.0;
35585                target: "back_clipper";
35586             }
35587             program {
35588                signal: "elm,back,show";
35589                source: "elm";
35590                action: STATE_SET "default" 0.0;
35591                target: "back_clipper";
35592             }
35593             program {
35594                signal: "clicked";
35595                source: "next";
35596                action: SIGNAL_EMIT "elm,action,next" "";
35597             }
35598             program {
35599                signal: "elm,next,hide";
35600                source: "elm";
35601                action: STATE_SET "hidden" 0.0;
35602                target: "next_clipper";
35603             }
35604             program {
35605                signal: "elm,next,show";
35606                source: "elm";
35607                action: STATE_SET "default" 0.0;
35608                target: "next_clipper";
35609             }
35610          }
35611          part { name: "elm.text.title";
35612             type: TEXT;
35613             effect: SOFT_SHADOW;
35614             scale: 1;
35615             clip_to: "title_clipper";
35616             description { state: "default" 0.0;
35617                rel1 { to_y: "elm.external.toolbar";
35618                   to_x: "back";
35619                   relative: 1.0 1.0;
35620                   offset: 2 1;
35621                }
35622                rel2 { to_y: "back";
35623                   to_x: "next";
35624                   relative: 0.0 1.0;
35625                   offset: -3 -1;
35626                }
35627                text {
35628                   font: "Sans:style=Bold";
35629                   size: 12;
35630                }
35631             }
35632          }
35633       }
35634    }
35635    /* application with a main content area with a back button and title area */
35636    group { name: "elm/layout/application/content-back";
35637       parts {
35638          part { name: "elm.swallow.content";
35639             type: SWALLOW;
35640             description { state: "default" 0.0;
35641                rel1 { to_y: "title_clipper";
35642                   relative: 0.0 1.0;
35643                   offset: -1 1;
35644                }
35645             }
35646          }
35647          part { name: "title_clipper";
35648             type: RECT;
35649             description { state: "default" 0.0;
35650                visible: 1;
35651                rel1 {
35652                   to_y: "back";
35653                }
35654                rel2 {
35655                   to_y: "back";
35656                }
35657             }
35658             description { state: "hidden" 0.0;
35659                inherit: "default" 0.0;
35660                visible: 0;
35661                rel2 {
35662                   relative: 1.0 0.0;
35663                }
35664             }
35665          }
35666          part { name: "back_clipper";
35667             type: RECT;
35668             clip_to: "title_clipper";
35669             description { state: "default" 0.0;
35670                visible: 1;
35671             }
35672             description { state: "hidden" 0.0;
35673                visible: 0;
35674             }
35675          }
35676          part { name: "back";
35677             type: EXTERNAL;
35678             source: "elm/button";
35679             clip_to: "back_clipper";
35680             description { state: "default" 0.0;
35681                align: 0.0 0.0;
35682                fixed: 1 1;
35683                rel1 {
35684                   relative: 0.0 0.0;
35685                   offset: 0 1;
35686                }
35687                rel2 {
35688                   relative: 0.0 0.0;
35689                   offset: 50 32;
35690                }
35691                params.string: "label" "Back";
35692             }
35693          }
35694          programs {
35695             program {
35696                signal: "clicked";
35697                source: "back";
35698                action: SIGNAL_EMIT "elm,action,back" "";
35699             }
35700             program {
35701                signal: "elm,back,hide";
35702                source: "elm";
35703                action: STATE_SET "hidden" 0.0;
35704                target: "back_clipper";
35705             }
35706             program {
35707                signal: "elm,back,show";
35708                source: "elm";
35709                action: STATE_SET "default" 0.0;
35710                target: "back_clipper";
35711             }
35712             program {
35713                signal: "elm,title,hide";
35714                source: "elm";
35715                action: STATE_SET "hidden" 0.0;
35716                transition: LINEAR 0.1;
35717                target: "title_clipper";
35718             }
35719             program {
35720                signal: "elm,title,show";
35721                source: "elm";
35722                action: STATE_SET "default" 0.0;
35723                target: "title_clipper";
35724             }
35725          }
35726
35727          part { name: "elm.swallow.end";
35728             type: SWALLOW;
35729             description { state: "default" 0.0;
35730                align: 1.0 0.0;
35731                fixed: 1 1;
35732                rel1 {
35733                   relative: 1.0 0.0;
35734                   offset: -2 1;
35735                }
35736                rel2 {
35737                   relative: 1.0 1.0;
35738                   offset: -1 32;
35739                }
35740             }
35741          }
35742
35743          part { name: "elm.text.title";
35744             type: TEXT;
35745             effect: SOFT_SHADOW;
35746             scale: 1;
35747             description { state: "default" 0.0;
35748                rel1 {
35749                   to_x: "back";
35750                   relative: 1.0 0.0;
35751                   offset: 2 1;
35752                }
35753                rel2 { to_y: "back";
35754                   to_x: "elm.swallow.end";
35755                   relative: 0.0 1.0;
35756                   offset: -3 -1;
35757                }
35758                text {
35759                   font: "Sans:style=Bold";
35760                   size: 12;
35761                }
35762             }
35763          }
35764       }
35765    }
35766
35767    /* application with a main content area with a back and next buttons and title area */
35768    group { name: "elm/layout/application/content-back-next";
35769       parts {
35770          part { name: "elm.swallow.content";
35771             type: SWALLOW;
35772             description { state: "default" 0.0;
35773                rel1 { to_y: "title_clipper";
35774                   relative: 0.0 1.0;
35775                   offset: -1 1;
35776                }
35777             }
35778          }
35779
35780          part { name: "title_clipper";
35781             type: RECT;
35782             description { state: "default" 0.0;
35783                visible: 1;
35784                rel1 {
35785                   to_y: "back";
35786                }
35787                rel2 {
35788                   to_y: "back";
35789                }
35790             }
35791             description { state: "hidden" 0.0;
35792                inherit: "default" 0.0;
35793                visible: 0;
35794                rel2 {
35795                   relative: 1.0 0.0;
35796                }
35797             }
35798          }
35799          part { name: "back";
35800             type: EXTERNAL;
35801             source: "elm/button";
35802             clip_to: "back_clipper";
35803             description { state: "default" 0.0;
35804                align: 0.0 0.0;
35805                fixed: 1 1;
35806                rel1 {
35807                   relative: 0.0 0.0;
35808                   offset: 0 1;
35809                }
35810                rel2 {
35811                   relative: 0.0 0.0;
35812                   offset: 50 32;
35813                }
35814                params.string: "label" "Back";
35815             }
35816          }
35817          part { name: "back_clipper";
35818             type: RECT;
35819             clip_to: "title_clipper";
35820             description { state: "default" 0.0;
35821                visible: 1;
35822             }
35823             description { state: "hidden" 0.0;
35824                visible: 0;
35825             }
35826          }
35827          part { name: "next";
35828             type: EXTERNAL;
35829             source: "elm/button";
35830             clip_to: "next_clipper";
35831             description { state: "default" 0.0;
35832                align: 1.0 0.0;
35833                fixed: 1 1;
35834                rel1 {
35835                   relative: 1.0 0.0;
35836                   offset: -2 1;
35837                }
35838                rel2 {
35839                   relative: 1.0 0.0;
35840                   offset: -1 32;
35841                }
35842                params.string: "label" "Next";
35843            }
35844          }
35845          part { name: "next_clipper";
35846             type: RECT;
35847             clip_to: "title_clipper";
35848             description { state: "default" 0.0;
35849                visible: 1;
35850             }
35851             description { state: "hidden" 0.0;
35852                visible: 0;
35853             }
35854          }
35855          programs {
35856             program {
35857                signal: "clicked";
35858                source: "back";
35859                action: SIGNAL_EMIT "elm,action,back" "";
35860             }
35861             program {
35862                signal: "elm,title,hide";
35863                source: "elm";
35864                action: STATE_SET "hidden" 0.0;
35865                transition: LINEAR 0.1;
35866                target: "title_clipper";
35867             }
35868             program {
35869                signal: "elm,title,show";
35870                source: "elm";
35871                action: STATE_SET "default" 0.0;
35872                target: "title_clipper";
35873             }
35874             program {
35875                signal: "elm,back,hide";
35876                source: "elm";
35877                action: STATE_SET "hidden" 0.0;
35878                target: "back_clipper";
35879             }
35880             program {
35881                signal: "elm,back,show";
35882                source: "elm";
35883                action: STATE_SET "default" 0.0;
35884                target: "back_clipper";
35885             }
35886             program {
35887                signal: "clicked";
35888                source: "next";
35889                action: SIGNAL_EMIT "elm,action,next" "";
35890             }
35891             program {
35892                signal: "elm,next,hide";
35893                source: "elm";
35894                action: STATE_SET "hidden" 0.0;
35895                target: "next_clipper";
35896             }
35897             program {
35898                signal: "elm,next,show";
35899                source: "elm";
35900                action: STATE_SET "default" 0.0;
35901                target: "next_clipper";
35902             }
35903          }
35904          part { name: "elm.text.title";
35905             type: TEXT;
35906             effect: SOFT_SHADOW;
35907             scale: 1;
35908             clip_to: "title_clipper";
35909             description { state: "default" 0.0;
35910                rel1 {
35911                   to_x: "back";
35912                   relative: 1.0 0.0;
35913                   offset: 2 1;
35914                }
35915                rel2 { to_y: "back";
35916                   to_x: "next";
35917                   relative: 0.0 1.0;
35918                   offset: -3 -1;
35919                }
35920                text {
35921                   font: "Sans:style=Bold";
35922                   size: 12;
35923                }
35924             }
35925          }
35926       }
35927    }
35928
35929    /* application with toolbar and main content area as a vertical box */
35930    group { name: "elm/layout/application/toolbar-vbox";
35931       parts {
35932          part { name: "elm.box.content";
35933             type: BOX;
35934             description { state: "default" 0.0;
35935                rel1 { to_y: "elm.external.toolbar";
35936                   relative: 0.0 1.0;
35937                   offset: -1 1;
35938                }
35939                box.layout: "vertical";
35940             }
35941          }
35942
35943          part { name: "elm.external.toolbar";
35944             type: EXTERNAL;
35945             source: "elm/toolbar";
35946             description { state: "default" 0.0;
35947                align: 0.5 0.0;
35948                fixed: 0 1;
35949                rel2 {
35950                   relative: 1.0 0.0;
35951                   offset: -1 47;
35952                }
35953             }
35954          }
35955       }
35956    }
35957
35958    /* application with toolbar and main content area as a table */
35959    group { name: "elm/layout/application/toolbar-table";
35960       parts {
35961          part { name: "elm.table.content";
35962             type: TABLE;
35963             description { state: "default" 0.0;
35964                rel1 { to_y: "elm.external.toolbar";
35965                   relative: 0.0 1.0;
35966                   offset: -1 1;
35967                }
35968             }
35969          }
35970
35971          part { name: "elm.external.toolbar";
35972             type: EXTERNAL;
35973             source: "elm/toolbar";
35974             description { state: "default" 0.0;
35975                align: 0.5 0.0;
35976                fixed: 0 1;
35977                rel2 {
35978                   relative: 1.0 0.0;
35979                   offset: -1 47;
35980                }
35981             }
35982          }
35983       }
35984    }
35985
35986    /* a simple title layout, with a label and two icons */
35987    group { name: "elm/layout/application/titlebar";
35988       images {
35989          image: "toolbar_sel.png" COMP;
35990       }
35991       parts {
35992          part { name: "base";
35993             mouse_events: 0;
35994             scale: 1;
35995             description { state: "default" 0.0;
35996                min: 0 33;
35997                max: 99999 33;
35998                align: 0.5 0.0;
35999                rel1.offset: -1 0;
36000                rel2.offset: 1 0;
36001                image {
36002                   normal: "toolbar_sel.png";
36003                   border: 3 3 0 0;
36004                }
36005             }
36006          }
36007          part { name: "elm.swallow.content";
36008             type: SWALLOW;
36009             description { state: "default" 0.0;
36010                visible: 1;
36011                rel1 {
36012                   to: "base";
36013                   relative: 0.0 1.0;
36014                }
36015             }
36016          }
36017          part { name: "elm.swallow.icon";
36018             type: SWALLOW;
36019             scale: 1;
36020             description { state: "default" 0.0;
36021                visible: 0;
36022                fixed: 1 1;
36023                align: 0.0 0.0;
36024                rel1 {
36025                   to: "base";
36026                   relative: 0.0 0.0;
36027                   offset: 4 0;
36028                }
36029                rel2 {
36030                   to: "base";
36031                   relative: 0.0 1.0;
36032                }
36033             }
36034             description { state: "visible" 0.0;
36035                inherit: "default" 0.0;
36036                visible: 1;
36037             }
36038          }
36039          part { name: "elm.swallow.end";
36040             type: SWALLOW;
36041             scale: 1;
36042             description { state: "default" 0.0;
36043                visible: 0;
36044                fixed: 1 1;
36045                align: 1.0 0.0;
36046                rel1 {
36047                   to: "base";
36048                   relative: 1.0 0.0;
36049                   offset: 0 0;
36050                }
36051                rel2 {
36052                   to: "base";
36053                   relative: 1.0 1.0;
36054                   offset: -5 -1;
36055                }
36056             }
36057             description { state: "visible" 0.0;
36058                inherit: "default" 0.0;
36059                visible: 1;
36060             }
36061          }
36062          part { name: "elm.text";
36063             type: TEXT;
36064             effect: SOFT_SHADOW;
36065             mouse_events: 0;
36066             scale: 1;
36067             description { state: "default" 0.0;
36068                fixed: 1 1;
36069                rel1 {
36070                   to_x: "elm.swallow.icon";
36071                   to_y: "base";
36072                   relative: 1.0 0.0;
36073                }
36074                rel2 {
36075                   to_x: "elm.swallow.end";
36076                   to_y: "base";
36077                   relative: 0.0 1.0;
36078                }
36079                text {
36080                   font: "Sans";
36081                   size: 12;
36082                   min: 0 0;
36083                   align: 0.5 0.5;
36084                   text_class: "title_bar";
36085                }
36086             }
36087          }
36088       }
36089       programs {
36090          program { name: "show_icon";
36091             signal: "elm,state,icon,visible";
36092             source: "elm";
36093             action: STATE_SET "visible" 0.0;
36094             target: "elm.swallow.icon";
36095          }
36096          program { name: "hide_icon";
36097             signal: "elm,state,icon,hidden";
36098             source: "elm";
36099             action: STATE_SET "default" 0.0;
36100             target: "elm.swallow.icon";
36101          }
36102          program { name: "show_end";
36103             signal: "elm,state,end,visible";
36104             source: "elm";
36105             action: STATE_SET "visible" 0.0;
36106             target: "elm.swallow.end";
36107          }
36108          program { name: "hide_end";
36109             signal: "elm,state,end,hidden";
36110             source: "elm";
36111             action: STATE_SET "default" 0.0;
36112             target: "elm.swallow.end";
36113          }
36114       }
36115    }
36116 }
36117
36118
36119
36120