8799f6cb5ae47e09d09878a45e6ebba1f12d601b
[framework/uifw/elementary.git] / data / themes / default.edc
1 // LICENSE NOTE:
2 // This file (and only this one) is licenses under public-domain. The reason
3 // is that this is meant to serve as a template for making your own themes and
4 // Elementary's LGPL license is not intended to follow. The images used do come
5 // under LGPL, but this file specifically for the structure of your theme is
6 // public-domain. This means you can take, use, re-license and otherwise
7 // have zero restrictions on using this file as a base for your theme.
8
9 externals.external: "elm";
10
11 collections {
12
13 ///////////////////////////////////////////////////////////////////////////////
14    group { name: "elm/focus_highlight/top/default";
15       images {
16          image: "emo-unhappy.png" COMP;
17       }
18
19       data {
20          item: "animate" "on";
21       }
22
23       script {
24          public s_x, s_y, s_w, s_h; /* source */
25          public difx, dify, difw, difh;
26          public rot_dir;
27
28          public animator1(val, Float:pos) {
29             new x, y, w, h, dx, dy, dw, dh, Float:rot;
30
31             dx = round(float_mul(float(get_int(difx)), pos));
32             x = get_int(s_x) + dx;
33             dy = round(float_mul(float(get_int(dify)), pos));
34             y = get_int(s_y) + dy;
35             dw = round(float_mul(float(get_int(difw)), pos));
36             w = get_int(s_w) + dw;
37             dy = round(float_mul(float(get_int(difh)), pos));
38             h = get_int(s_h) + dh;
39
40             update_offset(x, y, w, h);
41
42             rot = 360.0 * pos * float(get_int(rot_dir));
43             set_state_val(PART:"shine", STATE_MAP_ROT_Z, rot);
44
45             if (pos >= 1.0) {
46                emit("elm,action,focus,anim,end", "");
47                set_state(PART:"shine", "default", 0.0);
48             }
49          }
50
51          public update_offset(x, y, w, h) {
52             new x1, y1, x2, y2;
53             x1 = x + w - 15;
54             y1 = y - 15;
55             x2 = x + w + 14;
56             y2 = y + 14;
57             set_state_val(PART:"shine", STATE_REL1_OFFSET, x1, y1);
58             set_state_val(PART:"shine", STATE_REL2_OFFSET, x2, y2);
59          }
60
61          public message(Msg_Type:type, id, ...) {
62             if ((type == MSG_INT_SET) && (id == 1)) {
63                new x1, y1, w1, h1;
64                new x2, y2, w2, h2;
65                new px1, px2, py1, py2;
66                new rd;
67
68                x1 = getarg(2);
69                y1 = getarg(3);
70                w1 = getarg(4);
71                h1 = getarg(5);
72                x2 = getarg(6);
73                y2 = getarg(7);
74                w2 = getarg(8);
75                h2 = getarg(9);
76
77                set_int(s_x, x1);
78                set_int(s_y, y1);
79                set_int(s_w, w1);
80                set_int(s_h, h1);
81                set_int(difx, x2 - x1);
82                set_int(dify, y2 - y1);
83                set_int(difw, w2 - w1);
84                set_int(difh, h2 - h1);
85
86                px1 = x1 + w1;
87                px2 = x2 + w2;
88                py1 = y1 + h1;
89                py2 = y2 + h2;
90                if (px2 > px1) {
91                   rd = 1;
92                } else if (px1 > px2) {
93                   rd = -1;
94                } else {
95                   if (py2 > py1) {
96                      rd = 1;
97                   } else {
98                      rd = -1;
99                   }
100                }
101                set_int(rot_dir, rd);
102
103                custom_state(PART:"shine", "default", 0.0);
104                set_state_val(PART:"shine", STATE_REL1, 0.0, 0.0);
105                set_state_val(PART:"shine", STATE_REL2, 0.0, 0.0);
106                set_state_val(PART:"shine", STATE_MAP_ON, 1);
107                set_state_val(PART:"shine", STATE_MAP_ROT_Z, 0.0);
108                update_offset(x1, y1, w1, h1);
109                set_state(PART:"shine", "custom", 0.0);
110
111                anim(0.2, "animator1", 1);
112             }
113          }
114       }
115
116       parts {
117          part { name: "base";
118             type: RECT;
119             repeat_events: 1;
120             description { state: "default" 0.0;
121                rel1.relative: 0.0 0.0;
122                rel2.relative: 1.0 1.0;
123                visible: 0;
124             }
125          }
126          part { name: "shine";
127             type: IMAGE;
128             mouse_events: 1;
129             repeat_events: 1;
130             ignore_flags: ON_HOLD;
131             description { state: "default" 0.0;
132                image {
133                   normal: "emo-unhappy.png";
134                }
135                rel1.to: "base";
136                rel1.relative: 1.0 0.0;
137                rel1.offset: -15 -15;
138                rel2.to: "base";
139                rel2.relative: 1.0 0.0;
140                rel2.offset: 14 14;
141             }
142             description { state: "disabled" 0.0;
143                inherit:  "default" 0.0;
144                color: 0 0 0 0;
145             }
146          }
147
148          program { name: "show";
149             signal: "elm,action,focus,show";
150             source: "elm";
151             action: ACTION_STOP;
152             target: "hide";
153             target: "hide_start";
154             target: "hide_end";
155             after: "show_start";
156          }
157          program { name: "show_start";
158             action:  STATE_SET "default" 0.0;
159             transition: LINEAR 0.2;
160             target: "shine";
161             after: "show_end";
162          }
163          program { name: "show_end";
164             action: SIGNAL_EMIT "elm,action,focus,show,end" "";
165          }
166          program { name: "hide";
167             signal: "elm,action,focus,hide";
168             source: "elm";
169             action: ACTION_STOP;
170             target: "show";
171             target: "show_start";
172             target: "show_end";
173             after: "hide_start";
174          }
175          program { name: "hide_start";
176             action:  STATE_SET "disabled" 0.0;
177             transition: LINEAR 0.2;
178             target: "shine";
179             after: "hide_end";
180          }
181          program { name: "hide_end";
182             action: SIGNAL_EMIT "elm,action,focus,hide,end" "";
183          }
184       }
185    }
186
187 ///////////////////////////////////////////////////////////////////////////////
188    group { name: "elm/focus_highlight/bottom/default";
189       parts {
190          part { name: "shine";
191             type: RECT;
192             mouse_events: 1;
193             repeat_events: 1;
194             ignore_flags: ON_HOLD;
195             description { state: "default" 0.0;
196                color: 0 255 0 50;
197                rel1.offset: 0 0;
198                rel2.offset: 0 0;
199             }
200             description { state: "disabled" 0.0;
201                inherit:  "default" 0.0;
202                color: 0 0 0 0;
203             }
204          }
205
206          program { name: "show";
207             signal: "elm,action,focus,show";
208             source: "elm";
209             action: ACTION_STOP;
210             target: "hide";
211             target: "hide_start";
212             target: "hide_end";
213             after: "show_start";
214          }
215          program { name: "show_start";
216             action:  STATE_SET "default" 0.0;
217             transition: LINEAR 0.2;
218             target: "shine";
219             after: "show_end";
220          }
221          program { name: "show_end";
222             action: SIGNAL_EMIT "elm,action,focus,show,end" "";
223          }
224          program { name: "hide";
225             signal: "elm,action,focus,hide";
226             source: "elm";
227             action: ACTION_STOP;
228             target: "show";
229             target: "show_start";
230             target: "show_end";
231             after: "hide_start";
232          }
233          program { name: "hide_start";
234             action:  STATE_SET "disabled" 0.0;
235             transition: LINEAR 0.2;
236             target: "shine";
237             after: "hide_end";
238          }
239          program { name: "hide_end";
240             action: SIGNAL_EMIT "elm,action,focus,hide,end" "";
241          }
242       }
243    }
244
245 ///////////////////////////////////////////////////////////////////////////////
246    group { name: "elm/bg/base/default";
247       images {
248          image: "dia_grad.png" COMP;
249          image: "dia_topshad.png" COMP;
250          image: "dia_botshad.png" COMP;
251       }
252       parts {
253          part { name: "base";
254             mouse_events:  0;
255             description { state: "default" 0.0;
256                image.normal: "dia_grad.png";
257                fill {
258                   smooth: 0;
259                   size {
260                      relative: 0.0 1.0;
261                      offset: 64 0;
262                   }
263                }
264             }
265          }
266          part { name: "elm.swallow.rectangle";
267             type: SWALLOW;
268             description { state: "default" 0.0;
269             }
270          }
271          part { name: "elm.swallow.background";
272             type: SWALLOW;
273             description { state: "default" 0.0;
274             }
275          }
276          part { name: "shadow";
277             mouse_events:  0;
278             description { state: "default" 0.0;
279                rel2.relative: 1.0 0.0;
280                rel2.offset: -1 31;
281                image.normal: "dia_topshad.png";
282                fill {
283                   smooth: 0;
284                   size {
285                      relative: 0.0 1.0;
286                      offset: 64 0;
287                   }
288                }
289             }
290          }
291          part { name: "shadow2";
292             mouse_events:  0;
293             description { state: "default" 0.0;
294                rel1.relative: 0.0 1.0;
295                rel1.offset: 0 -9;
296                image.normal: "dia_botshad.png";
297                fill {
298                   smooth: 0;
299                   size {
300                      relative: 0.0 1.0;
301                      offset: 64 0;
302                   }
303                }
304             }
305          }
306          part { name: "elm.swallow.content";
307             type: SWALLOW;
308             description { state: "default" 0.0;
309             }
310          }
311       }
312    }
313
314 ///////////////////////////////////////////////////////////////////////////////
315    group { name: "elm/scroller/base/default";
316
317       alias: "elm/list/base/default";
318       alias: "elm/genlist/base/default";
319       alias: "elm/carousel/base/default";
320       alias: "elm/gengrid/base/default";
321
322       data {
323          item: "focus_highlight" "on";
324       }
325
326       script {
327          public sbvis_v, sbvis_h, sbalways_v, sbalways_h, sbvis_timer;
328          public timer0(val) {
329             new v;
330             v = get_int(sbvis_v);
331             if (v) {
332                v = get_int(sbalways_v);
333                if (!v) {
334                   emit("do-hide-vbar", "");
335                   set_int(sbvis_v, 0);
336                }
337             }
338             v = get_int(sbvis_h);
339             if (v) {
340                v = get_int(sbalways_h);
341                if (!v) {
342                   emit("do-hide-hbar", "");
343                   set_int(sbvis_h, 0);
344                }
345             }
346             set_int(sbvis_timer, 0);
347             return 0;
348          }
349       }
350       images {
351          image: "shelf_inset.png" COMP;
352          image: "bt_sm_base2.png" COMP;
353          image: "bt_sm_shine.png" COMP;
354          image: "bt_sm_hilight.png" COMP;
355          image: "sl_bt2_2.png" COMP;
356       }
357       parts {
358          part { name: "bg";
359             type: RECT;
360             description { state: "default" 0.0;
361                rel1.offset: 2 2;
362                rel2.offset: -3 -3;
363                color: 255 255 255 0;
364             }
365          }
366          part { name: "clipper";
367             type: RECT;
368             mouse_events: 0;
369             description { state: "default" 0.0;
370                rel1.to: "bg";
371                rel2.to: "bg";
372                rel1.offset: 2 2;
373                rel2.offset: -3 -3;
374             }
375          }
376          part { name: "elm.swallow.content";
377             clip_to: "clipper";
378             type: SWALLOW;
379             description { state: "default" 0.0;
380                rel1.to: "bg";
381                rel2.to: "bg";
382                rel1.offset: 2 2;
383                rel2.offset: -3 -3;
384             }
385          }
386          part { name: "conf_over";
387             mouse_events:  0;
388             description { state: "default" 0.0;
389                rel1.to: "bg";
390                rel2.to: "bg";
391                image {
392                   normal: "shelf_inset.png";
393                   border: 7 7 7 7;
394                   middle: 0;
395                }
396                fill.smooth : 0;
397             }
398             description { state: "enabled" 0.0;
399                inherit: "default" 0.0;
400                color: 200 155 0 255;
401             }
402          }
403          part { name: "focus_highlight";
404             mouse_events: 0;
405             description { state: "default" 0.0;
406                rel1.offset: -1 -1;
407                rel2.offset: 0 0;
408                image {
409                   normal: "sl_bt2_2.png";
410                   border: 7 7 7 7;
411                   middle: 0;
412                }
413                fill.smooth : 0;
414                color: 200 155 0 0;
415             }
416             description { state: "enabled" 0.0;
417                inherit: "default" 0.0;
418                color: 200 155 0 255;
419             }
420          }
421          part { name: "sb_vbar_clip_master";
422             type: RECT;
423             mouse_events: 0;
424             description { state: "default" 0.0;
425             }
426             description { state: "hidden" 0.0;
427                visible: 0;
428                color: 255 255 255 0;
429             }
430          }
431          part { name: "sb_vbar_clip";
432             clip_to: "sb_vbar_clip_master";
433             type: RECT;
434             mouse_events: 0;
435             description { state: "default" 0.0;
436             }
437             description { state: "hidden" 0.0;
438                visible: 0;
439                color: 255 255 255 0;
440             }
441          }
442          part { name: "sb_vbar";
443             type: RECT;
444             mouse_events: 0;
445             description { state: "default" 0.0;
446                fixed: 1 1;
447                visible: 0;
448                min: 10 17;
449                align: 1.0 0.0;
450                rel1 {
451                   relative: 1.0 0.0;
452                   offset:   0 2;
453                   to_y:     "elm.swallow.content";
454                   to_x:     "elm.swallow.content";
455                }
456                rel2 {
457                   relative: 1.0 0.0;
458                   offset:   -1 -1;
459                   to_y:     "sb_hbar";
460                   to_x:     "elm.swallow.content";
461                }
462             }
463          }
464          part { name: "elm.dragable.vbar";
465             clip_to: "sb_vbar_clip";
466             mouse_events: 0;
467             dragable {
468                x: 0 0 0;
469                y: 1 1 0;
470                confine: "sb_vbar";
471             }
472             description { state: "default" 0.0;
473                fixed: 1 1;
474                min: 10 17;
475                max: 10 99999;
476                rel1 {
477                   relative: 0.5  0.5;
478                   offset:   0    0;
479                   to: "sb_vbar";
480                }
481                rel2 {
482                   relative: 0.5  0.5;
483                   offset:   0    0;
484                   to: "sb_vbar";
485                }
486                image {
487                   normal: "bt_sm_base2.png";
488                   border: 6 6 6 6;
489                   middle: SOLID;
490                }
491             }
492          }
493          part { name: "sb_vbar_over1";
494             clip_to: "sb_vbar_clip";
495             mouse_events: 0;
496             description { state: "default" 0.0;
497                rel1.to: "elm.dragable.vbar";
498                rel2.relative: 1.0 0.5;
499                rel2.to: "elm.dragable.vbar";
500                image {
501                   normal: "bt_sm_hilight.png";
502                   border: 6 6 6 0;
503                }
504             }
505          }
506          part { name: "sb_vbar_over2";
507             clip_to: "sb_vbar_clip";
508             mouse_events: 0;
509             description { state: "default" 0.0;
510                rel1.to: "elm.dragable.vbar";
511                rel2.to: "elm.dragable.vbar";
512                image {
513                   normal: "bt_sm_shine.png";
514                   border: 6 6 6 0;
515                }
516             }
517          }
518
519          part { name: "sb_hbar_clip_master";
520             type: RECT;
521             mouse_events: 0;
522             description { state: "default" 0.0;
523             }
524             description { state: "hidden" 0.0;
525                visible: 0;
526                color: 255 255 255 0;
527             }
528          }
529          part { name: "sb_hbar_clip";
530             clip_to: "sb_hbar_clip_master";
531             type: RECT;
532             mouse_events: 0;
533             description { state: "default" 0.0;
534             }
535             description { state: "hidden" 0.0;
536                visible: 0;
537                color: 255 255 255 0;
538             }
539          }
540          part { name: "sb_hbar";
541             type: RECT;
542             mouse_events: 0;
543             description { state: "default" 0.0;
544                fixed: 1 1;
545                visible: 0;
546                min: 17 10;
547                align: 0.0 1.0;
548                rel1 {
549                   relative: 0.0 1.0;
550                   offset:   2 0;
551                   to_x:     "elm.swallow.content";
552                   to_y:     "elm.swallow.content";
553                }
554                rel2 {
555                   relative: 0.0 1.0;
556                   offset:   -1 -1;
557                   to_x:     "sb_vbar";
558                   to_y:     "elm.swallow.content";
559                }
560             }
561          }
562          part { name: "elm.dragable.hbar";
563             clip_to: "sb_hbar_clip";
564             mouse_events: 0;
565             dragable {
566                x: 1 1 0;
567                y: 0 0 0;
568                confine: "sb_hbar";
569             }
570             description { state: "default" 0.0;
571                fixed: 1 1;
572                min: 17 10;
573                max: 99999 10;
574                rel1 {
575                   relative: 0.5  0.5;
576                   offset:   0    0;
577                   to: "sb_hbar";
578                }
579                rel2 {
580                   relative: 0.5  0.5;
581                   offset:   0    0;
582                   to: "sb_hbar";
583                }
584                image {
585                   normal: "bt_sm_base2.png";
586                   border: 4 4 4 4;
587                   middle: SOLID;
588                }
589             }
590          }
591          part { name: "sb_hbar_over1";
592             clip_to: "sb_hbar_clip";
593             mouse_events: 0;
594             description { state: "default" 0.0;
595                rel1.to: "elm.dragable.hbar";
596                rel2.relative: 1.0 0.5;
597                rel2.to: "elm.dragable.hbar";
598                image {
599                   normal: "bt_sm_hilight.png";
600                   border: 4 4 4 0;
601                }
602             }
603          }
604          part { name: "sb_hbar_over2";
605             clip_to: "sb_hbar_clip";
606             mouse_events: 0;
607             description { state: "default" 0.0;
608                rel1.to: "elm.dragable.hbar";
609                rel2.to: "elm.dragable.hbar";
610                image {
611                   normal: "bt_sm_shine.png";
612                   border: 4 4 4 0;
613                }
614             }
615          }
616          part { name: "disabler";
617             type: RECT;
618             description { state: "default" 0.0;
619                rel1.to: "clipper";
620                rel2.to: "clipper";
621                color: 0 0 0 0;
622                visible: 0;
623             }
624             description { state: "disabled" 0.0;
625                inherit: "default" 0.0;
626                visible: 1;
627                color: 128 128 128 128;
628             }
629          }
630       }
631       programs {
632          program { name: "load";
633             signal: "load";
634             source: "";
635             script {
636                set_state(PART:"sb_hbar_clip", "hidden", 0.0);
637                set_state(PART:"sb_vbar_clip", "hidden", 0.0);
638                set_int(sbvis_h, 0);
639                set_int(sbvis_v, 0);
640                set_int(sbalways_v, 0);
641                set_int(sbalways_h, 0);
642                set_int(sbvis_timer, 0);
643             }
644          }
645
646          program { name: "vbar_show";
647             signal: "elm,action,show,vbar";
648             source: "elm";
649             action:  STATE_SET "default" 0.0;
650             target: "sb_vbar_clip_master";
651          }
652          program { name: "vbar_hide";
653             signal: "elm,action,hide,vbar";
654             source: "elm";
655             action:  STATE_SET "hidden" 0.0;
656             target: "sb_vbar_clip_master";
657          }
658          program { name: "vbar_show_always";
659             signal: "elm,action,show_always,vbar";
660             source: "elm";
661             script {
662                new v;
663                v = get_int(sbvis_v);
664                v |= get_int(sbalways_v);
665                if (!v) {
666                   set_int(sbalways_v, 1);
667                   emit("do-show-vbar", "");
668                   set_int(sbvis_v, 1);
669                }
670             }
671          }
672          program { name: "vbar_show_notalways";
673             signal: "elm,action,show_notalways,vbar";
674             source: "elm";
675             script {
676                new v;
677                v = get_int(sbalways_v);
678                if (v) {
679                   set_int(sbalways_v, 0);
680                   v = get_int(sbvis_v);
681                   if (!v) {
682                      emit("do-hide-vbar", "");
683                      set_int(sbvis_v, 0);
684                   }
685                }
686             }
687          }
688          program { name: "sb_vbar_show";
689             signal: "do-show-vbar";
690             source: "";
691             action:  STATE_SET "default" 0.0;
692             transition: LINEAR 0.5;
693             target: "sb_vbar_clip";
694          }
695          program { name: "sb_vbar_hide";
696             signal: "do-hide-vbar";
697             source: "";
698             action:  STATE_SET "hidden" 0.0;
699             transition: LINEAR 0.5;
700             target: "sb_vbar_clip";
701          }
702
703          program { name: "hbar_show";
704             signal: "elm,action,show,hbar";
705             source: "elm";
706             action:  STATE_SET "default" 0.0;
707             target: "sb_hbar_clip_master";
708          }
709          program { name: "hbar_hide";
710             signal: "elm,action,hide,hbar";
711             source: "elm";
712             action:  STATE_SET "hidden" 0.0;
713             target: "sb_hbar_clip_master";
714          }
715          program { name: "hbar_show_always";
716             signal: "elm,action,show_always,hbar";
717             source: "elm";
718             script {
719                new v;
720                v = get_int(sbvis_h);
721                v |= get_int(sbalways_h);
722                if (!v) {
723                   set_int(sbalways_h, 1);
724                   emit("do-show-hbar", "");
725                   set_int(sbvis_h, 1);
726                }
727             }
728          }
729          program { name: "hbar_show_notalways";
730             signal: "elm,action,show_notalways,hbar";
731             source: "elm";
732             script {
733                new v;
734                v = get_int(sbalways_h);
735                if (v) {
736                   set_int(sbalways_h, 0);
737                   v = get_int(sbvis_h);
738                   if (!v) {
739                      emit("do-hide-hbar", "");
740                      set_int(sbvis_h, 0);
741                   }
742                }
743             }
744          }
745          program { name: "sb_hbar_show";
746             signal: "do-show-hbar";
747             source: "";
748             action:  STATE_SET "default" 0.0;
749             transition: LINEAR 0.5;
750             target: "sb_hbar_clip";
751          }
752          program { name: "sb_hbar_hide";
753             signal: "do-hide-hbar";
754             source: "";
755             action:  STATE_SET "hidden" 0.0;
756             transition: LINEAR 0.5;
757             target: "sb_hbar_clip";
758          }
759
760          program { name: "scroll";
761             signal: "elm,action,scroll";
762             source: "elm";
763             script {
764                new v;
765                v = get_int(sbvis_v);
766                v |= get_int(sbalways_v);
767                if (!v) {
768                   emit("do-show-vbar", "");
769                   set_int(sbvis_v, 1);
770                }
771                v = get_int(sbvis_h);
772                v |= get_int(sbalways_h);
773                if (!v) {
774                   emit("do-show-hbar", "");
775                   set_int(sbvis_h, 1);
776                }
777                v = get_int(sbvis_timer);
778                if (v > 0) cancel_timer(v);
779                v = timer(1.0, "timer0", 0);
780                set_int(sbvis_timer, v);
781             }
782          }
783
784          program { name: "highlight_show";
785             signal: "elm,action,focus_highlight,show";
786             source: "elm";
787             action: STATE_SET "enabled" 0.0;
788             transition: ACCELERATE 0.3;
789             target: "focus_highlight";
790             target: "conf_over";
791          }
792          program { name: "highlight_hide";
793             signal: "elm,action,focus_highlight,hide";
794             source: "elm";
795             action: STATE_SET "default" 0.0;
796             transition: DECELERATE 0.3;
797             target: "focus_highlight";
798             target: "conf_over";
799          }
800          program { name: "disable";
801             signal: "elm,state,disabled";
802             source: "elm";
803             action: STATE_SET "disabled" 0.0;
804             target: "disabler";
805          }
806          program { name: "enable";
807             signal: "elm,state,enabled";
808             source: "elm";
809             action: STATE_SET "default" 0.0;
810             target: "disabler";
811          }
812       }
813    }
814
815 ///////////////////////////////////////////////////////////////////////////////
816    group { name: "elm/scroller/entry/default";
817
818       data {
819          item: "focus_highlight" "on";
820       }
821
822       script {
823          public sbvis_v, sbvis_h, sbalways_v, sbalways_h, sbvis_timer;
824          public timer0(val) {
825             new v;
826             v = get_int(sbvis_v);
827             if (v) {
828                v = get_int(sbalways_v);
829                if (!v) {
830                   emit("do-hide-vbar", "");
831                   set_int(sbvis_v, 0);
832                }
833             }
834             v = get_int(sbvis_h);
835             if (v) {
836                v = get_int(sbalways_h);
837                if (!v) {
838                   emit("do-hide-hbar", "");
839                   set_int(sbvis_h, 0);
840                }
841             }
842             set_int(sbvis_timer, 0);
843             return 0;
844          }
845       }
846       images {
847          image: "shelf_inset.png" COMP;
848          image: "bt_sm_base2.png" COMP;
849          image: "bt_sm_shine.png" COMP;
850          image: "bt_sm_hilight.png" COMP;
851          image: "sl_bt2_2.png" COMP;
852       }
853       parts {
854          part { name: "bg";
855             type: RECT;
856             description { state: "default" 0.0;
857                rel1.offset: 2 2;
858                rel2.offset: -3 -3;
859             }
860          }
861          part { name: "clipper";
862             type: RECT;
863             mouse_events: 0;
864             description { state: "default" 0.0;
865                rel1.to: "bg";
866                rel2.to: "bg";
867                rel1.offset: 2 2;
868                rel2.offset: -3 -3;
869             }
870          }
871          part { name: "contentclipper";
872             type: RECT;
873             mouse_events: 0;
874             clip_to: "clipper";
875             description { state: "default" 0.0;
876                rel1.to: "elm.swallow.icon";
877                rel1.relative: 1.0 0.0;
878                rel2.to: "elm.swallow.end";
879                rel2.relative: 0.0 1.0;
880             }
881          }
882          part { name: "elm.swallow.icon";
883             type: SWALLOW;
884             clip_to: "clipper";
885             description { state: "default" 0.0;
886                fixed: 1 1;
887                rel1 {
888                   to: "bg";
889                   relative: 0.0 0.0;
890                   offset: 0 0;
891                }
892                rel2 {
893                   to: "bg";
894                   relative: 0.0 1.0;
895                   offset: -1 -1;
896                }
897                visible: 0;
898             }
899             description { state: "visible" 0.0;
900                fixed: 1 1;
901                align: 0.0 1.0;
902                rel1 {
903                   to: "bg";
904                   relative: 0.0 0.0;
905                   offset: 0 0;
906                }
907                rel2 {
908                   to: "bg";
909                   relative: 0.0 1.0;
910                   offset: -1 -1;
911                }
912                visible: 1;
913             }
914          }
915          part { name: "elm.swallow.end";
916             type: SWALLOW;
917             clip_to: "clipper";
918             description { state: "default" 0.0;
919                fixed: 1 1;
920                rel1 {
921                   to: "bg";
922                   relative: 1.0 0.0;
923                   offset: 0 0;
924                }
925                rel2 {
926                   to: "bg";
927                   relative: 1.0 1.0;
928                   offset: -1 -1;
929                }
930                visible: 0;
931             }
932             description { state: "visible" 0.0;
933                fixed: 1 1;
934                align: 1.0 1.0;
935                rel1 {
936                   to: "bg";
937                   relative: 1.0 0.0;
938                   offset: 0 0;
939                }
940                rel2 {
941                   to: "bg";
942                   relative: 1.0 1.0;
943                   offset: -1 -1;
944                }
945                visible: 1;
946             }
947          }
948          part { name: "elm.swallow.content";
949             clip_to: "contentclipper";
950             type: SWALLOW;
951             description { state: "default" 0.0;
952                rel1 {
953                 to: "elm.swallow.icon";
954                 relative: 1.0 0.0;
955                 offset: 4 4;
956                }
957                rel2 {
958                 to: "elm.swallow.end";
959                 relative: 0.0 1.0;
960                 offset: -5 -5;
961                }
962             }
963          }
964          part { name: "conf_over";
965             mouse_events:  0;
966             description { state: "default" 0.0;
967                rel1.to: "bg";
968                rel2.to: "bg";
969                image {
970                   normal: "shelf_inset.png";
971                   border: 7 7 7 7;
972                   middle: 0;
973                }
974                fill.smooth : 0;
975             }
976             description { state: "enabled" 0.0;
977                inherit: "default" 0.0;
978                color: 200 155 0 255;
979             }
980          }
981          part { name: "focus_highlight";
982             mouse_events: 0;
983             description { state: "default" 0.0;
984                rel1.offset: -1 -1;
985                rel2.offset: 0 0;
986                image {
987                   normal: "sl_bt2_2.png";
988                   border: 7 7 7 7;
989                   middle: 0;
990                }
991                fill.smooth : 0;
992                color: 200 155 0 0;
993             }
994             description { state: "enabled" 0.0;
995                inherit: "default" 0.0;
996                color: 200 155 0 255;
997             }
998          }
999          part { name: "sb_vbar_clip_master";
1000             type: RECT;
1001             mouse_events: 0;
1002             description { state: "default" 0.0;
1003             }
1004             description { state: "hidden" 0.0;
1005                visible: 0;
1006                color: 255 255 255 0;
1007             }
1008          }
1009          part { name: "sb_vbar_clip";
1010             clip_to: "sb_vbar_clip_master";
1011             type: RECT;
1012             mouse_events: 0;
1013             description { state: "default" 0.0;
1014             }
1015             description { state: "hidden" 0.0;
1016                visible: 0;
1017                color: 255 255 255 0;
1018             }
1019          }
1020          part { name: "sb_vbar";
1021             type: RECT;
1022             mouse_events: 0;
1023             description { state: "default" 0.0;
1024                fixed: 1 1;
1025                visible: 0;
1026                min: 10 17;
1027                align: 1.0 0.0;
1028                rel1 {
1029                   relative: 0.0 0.0;
1030                   offset:   -2 2;
1031                   to_y:     "elm.swallow.content";
1032                   to_x:     "elm.swallow.end";
1033                }
1034                rel2 {
1035                   relative: 0.0 0.0;
1036                   offset:   -2 -1;
1037                   to_y:     "sb_hbar";
1038                   to_x:     "elm.swallow.end";
1039                }
1040             }
1041          }
1042          part { name: "elm.dragable.vbar";
1043             clip_to: "sb_vbar_clip";
1044             mouse_events: 0;
1045             dragable {
1046                x: 0 0 0;
1047                y: 1 1 0;
1048                confine: "sb_vbar";
1049             }
1050             description { state: "default" 0.0;
1051                fixed: 1 1;
1052                min: 10 17;
1053                max: 10 99999;
1054                rel1 {
1055                   relative: 0.5  0.5;
1056                   offset:   0    0;
1057                   to: "sb_vbar";
1058                }
1059                rel2 {
1060                   relative: 0.5  0.5;
1061                   offset:   0    0;
1062                   to: "sb_vbar";
1063                }
1064                image {
1065                   normal: "bt_sm_base2.png";
1066                   border: 6 6 6 6;
1067                   middle: SOLID;
1068                }
1069             }
1070          }
1071          part { name: "sb_vbar_over1";
1072             clip_to: "sb_vbar_clip";
1073             mouse_events: 0;
1074             description { state: "default" 0.0;
1075                rel1.to: "elm.dragable.vbar";
1076                rel2.relative: 1.0 0.5;
1077                rel2.to: "elm.dragable.vbar";
1078                image {
1079                   normal: "bt_sm_hilight.png";
1080                   border: 6 6 6 0;
1081                }
1082             }
1083          }
1084          part { name: "sb_vbar_over2";
1085             clip_to: "sb_vbar_clip";
1086             mouse_events: 0;
1087             description { state: "default" 0.0;
1088                rel1.to: "elm.dragable.vbar";
1089                rel2.to: "elm.dragable.vbar";
1090                image {
1091                   normal: "bt_sm_shine.png";
1092                   border: 6 6 6 0;
1093                }
1094             }
1095          }
1096
1097          part { name: "sb_hbar_clip_master";
1098             type: RECT;
1099             mouse_events: 0;
1100             description { state: "default" 0.0;
1101             }
1102             description { state: "hidden" 0.0;
1103                visible: 0;
1104                color: 255 255 255 0;
1105             }
1106          }
1107          part { name: "sb_hbar_clip";
1108             clip_to: "sb_hbar_clip_master";
1109             type: RECT;
1110             mouse_events: 0;
1111             description { state: "default" 0.0;
1112             }
1113             description { state: "hidden" 0.0;
1114                visible: 0;
1115                color: 255 255 255 0;
1116             }
1117          }
1118          part { name: "sb_hbar";
1119             type: RECT;
1120             mouse_events: 0;
1121             description { state: "default" 0.0;
1122                fixed: 1 1;
1123                visible: 0;
1124                min: 17 10;
1125                align: 0.0 1.0;
1126                rel1 {
1127                   relative: 0.0 1.0;
1128                   offset:   2 0;
1129                   to_x:     "elm.swallow.content";
1130                   to_y:     "elm.swallow.content";
1131                }
1132                rel2 {
1133                   relative: 0.0 1.0;
1134                   offset:   -1 -1;
1135                   to_x:     "sb_vbar";
1136                   to_y:     "elm.swallow.content";
1137                }
1138             }
1139          }
1140          part { name: "elm.dragable.hbar";
1141             clip_to: "sb_hbar_clip";
1142             mouse_events: 0;
1143             dragable {
1144                x: 1 1 0;
1145                y: 0 0 0;
1146                confine: "sb_hbar";
1147             }
1148             description { state: "default" 0.0;
1149                fixed: 1 1;
1150                min: 17 10;
1151                max: 99999 10;
1152                rel1 {
1153                   relative: 0.5  0.5;
1154                   offset:   0    0;
1155                   to: "sb_hbar";
1156                }
1157                rel2 {
1158                   relative: 0.5  0.5;
1159                   offset:   0    0;
1160                   to: "sb_hbar";
1161                }
1162                image {
1163                   normal: "bt_sm_base2.png";
1164                   border: 4 4 4 4;
1165                   middle: SOLID;
1166                }
1167             }
1168          }
1169          part { name: "sb_hbar_over1";
1170             clip_to: "sb_hbar_clip";
1171             mouse_events: 0;
1172             description { state: "default" 0.0;
1173                rel1.to: "elm.dragable.hbar";
1174                rel2.relative: 1.0 0.5;
1175                rel2.to: "elm.dragable.hbar";
1176                image {
1177                   normal: "bt_sm_hilight.png";
1178                   border: 4 4 4 0;
1179                }
1180             }
1181          }
1182          part { name: "sb_hbar_over2";
1183             clip_to: "sb_hbar_clip";
1184             mouse_events: 0;
1185             description { state: "default" 0.0;
1186                rel1.to: "elm.dragable.hbar";
1187                rel2.to: "elm.dragable.hbar";
1188                image {
1189                   normal: "bt_sm_shine.png";
1190                   border: 4 4 4 0;
1191                }
1192             }
1193          }
1194       }
1195       programs {
1196          program { name: "load";
1197             signal: "load";
1198             source: "";
1199             script {
1200                set_state(PART:"sb_hbar_clip", "hidden", 0.0);
1201                set_state(PART:"sb_vbar_clip", "hidden", 0.0);
1202                set_int(sbvis_h, 0);
1203                set_int(sbvis_v, 0);
1204                set_int(sbalways_v, 0);
1205                set_int(sbalways_h, 0);
1206                set_int(sbvis_timer, 0);
1207             }
1208          }
1209          program { name: "icon_show";
1210             signal: "elm,action,show,icon";
1211             source: "elm";
1212             action: STATE_SET "visible" 0.0;
1213             target: "elm.swallow.icon";
1214          }
1215          program { name: "icon_hide";
1216             signal: "elm,action,hide,icon";
1217             source: "elm";
1218             action: STATE_SET "default" 0.0;
1219             target: "elm.swallow.icon";
1220          }
1221          program { name: "end_show";
1222             signal: "elm,action,show,end";
1223             source: "elm";
1224             action: STATE_SET "visible" 0.0;
1225             target: "elm.swallow.end";
1226          }
1227          program { name: "end_hide";
1228             signal: "elm,action,hide,end";
1229             source: "elm";
1230             action: STATE_SET "default" 0.0;
1231             target: "elm.swallow.end";
1232          }
1233          program { name: "vbar_show";
1234             signal: "elm,action,show,vbar";
1235             source: "elm";
1236             action:  STATE_SET "default" 0.0;
1237             target: "sb_vbar_clip_master";
1238          }
1239          program { name: "vbar_hide";
1240             signal: "elm,action,hide,vbar";
1241             source: "elm";
1242             action:  STATE_SET "hidden" 0.0;
1243             target: "sb_vbar_clip_master";
1244          }
1245          program { name: "vbar_show_always";
1246             signal: "elm,action,show_always,vbar";
1247             source: "elm";
1248             script {
1249                new v;
1250                v = get_int(sbvis_v);
1251                v |= get_int(sbalways_v);
1252                if (!v) {
1253                   set_int(sbalways_v, 1);
1254                   emit("do-show-vbar", "");
1255                   set_int(sbvis_v, 1);
1256                }
1257             }
1258          }
1259          program { name: "vbar_show_notalways";
1260             signal: "elm,action,show_notalways,vbar";
1261             source: "elm";
1262             script {
1263                new v;
1264                v = get_int(sbalways_v);
1265                if (v) {
1266                   set_int(sbalways_v, 0);
1267                   v = get_int(sbvis_v);
1268                   if (!v) {
1269                      emit("do-hide-vbar", "");
1270                      set_int(sbvis_v, 0);
1271                   }
1272                }
1273             }
1274          }
1275          program { name: "sb_vbar_show";
1276             signal: "do-show-vbar";
1277             source: "";
1278             action:  STATE_SET "default" 0.0;
1279             transition: LINEAR 0.5;
1280             target: "sb_vbar_clip";
1281          }
1282          program { name: "sb_vbar_hide";
1283             signal: "do-hide-vbar";
1284             source: "";
1285             action:  STATE_SET "hidden" 0.0;
1286             transition: LINEAR 0.5;
1287             target: "sb_vbar_clip";
1288          }
1289
1290          program { name: "hbar_show";
1291             signal: "elm,action,show,hbar";
1292             source: "elm";
1293             action:  STATE_SET "default" 0.0;
1294             target: "sb_hbar_clip_master";
1295          }
1296          program { name: "hbar_hide";
1297             signal: "elm,action,hide,hbar";
1298             source: "elm";
1299             action:  STATE_SET "hidden" 0.0;
1300             target: "sb_hbar_clip_master";
1301          }
1302          program { name: "hbar_show_always";
1303             signal: "elm,action,show_always,hbar";
1304             source: "elm";
1305             script {
1306                new v;
1307                v = get_int(sbvis_h);
1308                v |= get_int(sbalways_h);
1309                if (!v) {
1310                   set_int(sbalways_h, 1);
1311                   emit("do-show-hbar", "");
1312                   set_int(sbvis_h, 1);
1313                }
1314             }
1315          }
1316          program { name: "hbar_show_notalways";
1317             signal: "elm,action,show_notalways,hbar";
1318             source: "elm";
1319             script {
1320                new v;
1321                v = get_int(sbalways_h);
1322                if (v) {
1323                   set_int(sbalways_h, 0);
1324                   v = get_int(sbvis_h);
1325                   if (!v) {
1326                      emit("do-hide-hbar", "");
1327                      set_int(sbvis_h, 0);
1328                   }
1329                }
1330             }
1331          }
1332          program { name: "sb_hbar_show";
1333             signal: "do-show-hbar";
1334             source: "";
1335             action:  STATE_SET "default" 0.0;
1336             transition: LINEAR 0.5;
1337             target: "sb_hbar_clip";
1338          }
1339          program { name: "sb_hbar_hide";
1340             signal: "do-hide-hbar";
1341             source: "";
1342             action:  STATE_SET "hidden" 0.0;
1343             transition: LINEAR 0.5;
1344             target: "sb_hbar_clip";
1345          }
1346
1347          program { name: "scroll";
1348             signal: "elm,action,scroll";
1349             source: "elm";
1350             script {
1351                new v;
1352                v = get_int(sbvis_v);
1353                v |= get_int(sbalways_v);
1354                if (!v) {
1355                   emit("do-show-vbar", "");
1356                   set_int(sbvis_v, 1);
1357                }
1358                v = get_int(sbvis_h);
1359                v |= get_int(sbalways_h);
1360                if (!v) {
1361                   emit("do-show-hbar", "");
1362                   set_int(sbvis_h, 1);
1363                }
1364                v = get_int(sbvis_timer);
1365                if (v > 0) cancel_timer(v);
1366                v = timer(1.0, "timer0", 0);
1367                set_int(sbvis_timer, v);
1368             }
1369          }
1370
1371          program { name: "highlight_show";
1372             signal: "elm,action,focus_highlight,show";
1373             source: "elm";
1374             action: STATE_SET "enabled" 0.0;
1375             transition: ACCELERATE 0.3;
1376             target: "focus_highlight";
1377             target: "conf_over";
1378          }
1379          program { name: "highlight_hide";
1380             signal: "elm,action,focus_highlight,hide";
1381             source: "elm";
1382             action: STATE_SET "default" 0.0;
1383             transition: DECELERATE 0.3;
1384             target: "focus_highlight";
1385             target: "conf_over";
1386          }
1387       }
1388    }
1389
1390 ///////////////////////////////////////////////////////////////////////////////
1391 #define TEXT_SLIDE_DURATION     10
1392
1393    group { name: "elm/label/base/default";
1394       data.item: "default_font_size" "10";
1395       data.item: "min_font_size" "6";
1396       data.item: "max_font_size" "60";
1397       styles {
1398          style { name: "textblock_style";
1399             base: "font=Sans font_size=10 color=#000 wrap=word text_class=label";
1400             tag:  "br" "\n";
1401             tag:  "ps" "ps";
1402             tag:  "hilight" "+ font=Sans:style=Bold";
1403             tag:  "b" "+ font=Sans:style=Bold";
1404             tag:  "tab" "\t";
1405            }
1406         }
1407       parts {
1408          part { name: "label.swallow.background";
1409             type: SWALLOW;
1410             description { state: "default" 0.0;
1411                visible: 1;
1412             }
1413          }
1414          part { name: "label.text.clip";
1415             type: RECT;
1416             description { state: "default" 0.0;
1417                rel1 { relative: 0 0; to: "label.swallow.background"; }
1418                rel2 { relative: 1 1; to: "label.swallow.background"; }
1419             }
1420          }
1421          part { name: "elm.text";
1422             type: TEXTBLOCK;
1423             mouse_events: 0;
1424             scale: 1;
1425             clip_to: "label.text.clip";
1426             description { state: "default" 0.0;
1427                rel1.relative: 0.0 0.0;
1428                rel2.relative: 1.0 1.0;
1429                text {
1430                   style: "textblock_style";
1431                   min: 1 0;
1432                }
1433             }
1434          }
1435       }
1436    }
1437
1438    group { name: "elm/label/base_wrap/default";
1439       data.item: "default_font_size" "10";
1440       data.item: "min_font_size" "6";
1441       data.item: "max_font_size" "60";
1442       parts {
1443          part { name: "label.swallow.background";
1444             type: SWALLOW;
1445             description { state: "default" 0.0;
1446                visible: 1;
1447                rel1 { relative: 0 0; to: "elm.text"; }
1448                rel2 { relative: 1 1; to: "elm.text"; }
1449             }
1450          }
1451          part { name: "elm.text";
1452             type: TEXTBLOCK;
1453             mouse_events: 0;
1454             scale: 1;
1455             description { state: "default" 0.0;
1456                text {
1457                   style: "textblock_style";
1458                   min: 0 1;
1459                }
1460             } 
1461          }
1462       }
1463    } 
1464
1465    group { name: "elm/label/base_wrap_ellipsis/default";
1466       data.item: "default_font_size" "10";
1467       data.item: "min_font_size" "6";
1468       data.item: "max_font_size" "60";
1469       parts {
1470          part { name: "label.swallow.background";
1471             type: SWALLOW;
1472             description { state: "default" 0.0;
1473                visible: 1;
1474                rel1 { relative: 0 0; to: "elm.text"; }
1475                rel2 { relative: 1 1; to: "elm.text"; }
1476             }
1477          }
1478          part { name: "elm.text";
1479             type: TEXTBLOCK;
1480             mouse_events: 0;
1481             scale: 1;
1482             multiline: 1;
1483             description { state: "default" 0.0;
1484                fixed: 0 1; 
1485                text {
1486                   style: "textblock_style";
1487                   min: 0 1;
1488                }
1489             }
1490          }
1491       }
1492    }
1493
1494    group { name: "elm/label/base/marker";
1495       data.item: "default_font_size" "10";
1496       data.item: "min_font_size" "6";
1497       data.item: "max_font_size" "60";
1498       styles {
1499          style { name: "textblock_style2";
1500            base: "font=Sans:style=Bold font_size=10 align=center color=#fff wrap=word text_class=label";
1501            tag:  "br" "\n";
1502            tag:  "ps" "ps";
1503            tag:  "hilight" "+ color=#ffff";
1504            tag:  "b" "+ color=#ffff";
1505            tag:  "tab" "\t";
1506          }
1507       }
1508       parts {
1509          part { name: "label.swallow.background";
1510             type: SWALLOW;
1511             description { state: "default" 0.0;
1512                visible: 1;
1513                rel1 { relative: 0 0; to: "elm.text"; }
1514                rel2 { relative: 1 1; to: "elm.text"; }
1515             }
1516          }
1517          part { name: "elm.text";
1518             type: TEXTBLOCK;
1519             mouse_events: 0;
1520             scale: 1;
1521             description { state: "default" 0.0;
1522                text {
1523                   style: "textblock_style2";
1524                   min: 1 1;
1525                }
1526             }
1527          }
1528       }
1529    }
1530
1531    group { name: "elm/label/base_wrap/marker";
1532       data.item: "default_font_size" "10";
1533       data.item: "min_font_size" "6";
1534       data.item: "max_font_size" "60";
1535       parts {
1536          part { name: "label.swallow.background";
1537             type: SWALLOW;
1538             description { state: "default" 0.0;
1539                visible: 1;
1540                rel1 { relative: 0 0; to: "elm.text"; }
1541                rel2 { relative: 1 1; to: "elm.text"; }
1542             }
1543          }
1544          part { name: "elm.text";
1545             type: TEXTBLOCK;
1546             mouse_events: 0;
1547             scale: 1;
1548             description { state: "default" 0.0;
1549                text {
1550                   style: "textblock_style2";
1551                   min: 0 1;
1552                }
1553             }
1554          }
1555       }
1556    }
1557
1558    group { name: "elm/label/base/slide_long";
1559       data.item: "default_font_size" "10";
1560       data.item: "min_font_size" "6";
1561       data.item: "max_font_size" "60";
1562       
1563       script {
1564         public g_duration, g_stopslide, g_timer_id, g_anim_id;
1565           
1566         public message(Msg_Type:type, id, ...) {
1567            if ((type == MSG_FLOAT_SET) && (id == 0)) {
1568               new Float:duration;
1569               duration = getarg(2);
1570               set_float(g_duration, duration);
1571            }
1572         }
1573         public slide_to_end_anim(val, Float:pos) {
1574            new stopflag;
1575            new id;
1576            stopflag = get_int(g_stopslide);
1577            if (stopflag == 1) return;
1578            set_tween_state(PART:"elm.text", pos, "slide_begin", 0.0, "slide_end", 0.0);
1579            if (pos >= 1.0) {
1580               id = timer(0.5, "slide_to_begin", 1);
1581               set_int(g_timer_id, id);
1582            }
1583         }
1584         public slide_to_end() {
1585            new stopflag;
1586            new id;
1587            new Float:duration;
1588            stopflag = get_int(g_stopslide);
1589            if (stopflag == 1) return;
1590            duration = get_float(g_duration);
1591            id = anim(duration, "slide_to_end_anim", 1);
1592            set_int(g_anim_id, id);
1593         }
1594         public slide_to_begin() {
1595            new stopflag;
1596            new id;
1597            stopflag = get_int(g_stopslide);
1598            if (stopflag == 1) return;
1599            set_state(PART:"elm.text", "slide_begin", 0.0);
1600            id = timer(0.5, "slide_to_end", 1);
1601            set_int(g_timer_id, id);
1602         }
1603         public start_slide() {
1604            set_int(g_stopslide, 0);
1605            set_state(PART:"elm.text", "slide_begin", 0.0);
1606            slide_to_end();
1607         }
1608         public stop_slide() {
1609            new id;
1610            set_int(g_stopslide, 1);
1611            id = get_int(g_anim_id);
1612            cancel_anim(id);
1613            id = get_int(g_timer_id);
1614            cancel_timer(id);
1615            set_state(PART:"elm.text", "default", 0.0);
1616         }
1617       }
1618        
1619       parts {
1620          part { name: "label.swallow.background";
1621             type: SWALLOW;
1622             description { state: "default" 0.0;
1623                visible: 1;
1624             }
1625          }
1626          part { name: "label.text.clip";
1627             type: RECT;
1628             description { state: "default" 0.0;
1629                visible: 1;
1630                color: 255 255 255 255;
1631                rel1 { relative: 0 0; to: "label.swallow.background"; }
1632                rel2 { relative: 1 1; to: "label.swallow.background"; }
1633             }
1634          }
1635          part { name: "elm.text";
1636             type: TEXTBLOCK;
1637             mouse_events: 0;
1638             scale: 1;
1639             clip_to: "label.text.clip";
1640             description { state: "default" 0.0;
1641                rel1.relative: 0.0 0.0;
1642                rel2.relative: 1.0 1.0;
1643                align: 0.0 0.0;
1644                text {
1645                   style: "textblock_style";
1646                   min: 1 0;
1647                }
1648             }
1649             description { state: "slide_end" 0.0;
1650                inherit: "default" 0.0;
1651                rel1.relative: 0.0 0.0;
1652                rel2.relative: 0.0 1.0;
1653                align: 1.0 0.0;
1654             }
1655             description { state: "slide_begin" 0.0;
1656                inherit: "default" 0.0;
1657                rel1.relative: 1.0 0.0;
1658                rel2.relative: 1.0 1.0;
1659                align: 0.0 0.0;
1660             }
1661          }
1662        }
1663        programs {
1664           program { name: "start_slide";
1665              source: "elm";
1666              signal: "elm,state,slide,start";
1667              script
1668                {
1669                   start_slide();
1670                }
1671           }
1672           program { name: "stop_slide";
1673              source: "elm";
1674              signal: "elm,state,slide,stop";
1675              script
1676                {
1677                   stop_slide();
1678                }
1679           }
1680        }
1681    }
1682    
1683
1684    group { name: "elm/label/base/slide_short";
1685       data.item: "default_font_size" "10";
1686       data.item: "min_font_size" "6";
1687       data.item: "max_font_size" "60";
1688
1689       script {
1690          public g_duration, g_stopslide, g_timer_id, g_anim_id;
1691          
1692          public message(Msg_Type:type, id, ...) {
1693             if ((type == MSG_FLOAT_SET) && (id == 0)) {
1694                new Float:duration;
1695                duration = getarg(2);
1696                set_float(g_duration, duration);
1697             }
1698          }
1699          public slide_to_end_anim(val, Float:pos) {
1700             new stopflag;
1701             new id;
1702             stopflag = get_int(g_stopslide);
1703             if (stopflag == 1) return;
1704             set_tween_state(PART:"elm.text", pos, "slide_begin", 0.0, "slide_end", 0.0);
1705             if (pos >= 1.0) {
1706                id = timer(0.5, "slide_to_begin", 1);
1707                set_int(g_timer_id, id);
1708             }
1709          }
1710          public slide_to_end() {
1711             new stopflag;
1712             new id;
1713             new Float:duration;
1714             stopflag = get_int(g_stopslide);
1715             if (stopflag == 1) return;
1716             duration = get_float(g_duration);
1717             id = anim(duration, "slide_to_end_anim", 1);
1718             set_int(g_anim_id, id);
1719          }
1720          public slide_to_begin() {
1721             new stopflag;
1722             new id;
1723             stopflag = get_int(g_stopslide);
1724             if (stopflag == 1) return;
1725             set_state(PART:"elm.text", "slide_begin", 0.0);
1726             id = timer(0.5, "slide_to_end", 1);
1727             set_int(g_timer_id, id);
1728          }
1729          public start_slide() {
1730             set_int(g_stopslide, 0);
1731             set_state(PART:"elm.text", "slide_begin", 0.0);
1732             slide_to_end();
1733          }
1734          public stop_slide() {
1735             new id;
1736             set_int(g_stopslide, 1);
1737             id = get_int(g_anim_id);
1738             cancel_anim(id);
1739             id = get_int(g_timer_id);
1740             cancel_timer(id);
1741             set_state(PART:"elm.text", "default", 0.0);
1742          }
1743       }
1744
1745       parts {
1746          part { name: "label.swallow.background";
1747             type: SWALLOW;
1748             description { state: "default" 0.0;
1749                visible: 1;
1750             }
1751          }
1752          part { name: "label.text.clip";
1753             type: RECT;
1754             description { state: "default" 0.0;
1755                visible: 1;
1756                color: 255 255 255 255;
1757                rel1 { relative: 0 0; to: "label.swallow.background"; }
1758                rel2 { relative: 1 1; to: "label.swallow.background"; }
1759             }
1760          }
1761          part { name: "elm.text";
1762             type: TEXTBLOCK;
1763             mouse_events: 0;
1764             scale: 1;
1765             clip_to: "label.text.clip";
1766             description { state: "default" 0.0;
1767                rel1.relative: 0.0 0.0;
1768                rel2.relative: 1.0 1.0;
1769                align: 0.0 0.0;
1770                text {
1771                   style: "textblock_style";
1772                   min: 1 0;
1773                }
1774             }
1775             description { state: "slide_end" 0.0;
1776                inherit: "default" 0.0;
1777                rel1.relative: 1.0 0.0;
1778                rel2.relative: 1.0 1.0;
1779                align: 1.0 0.0;
1780             }
1781             description { state: "slide_begin" 0.0;
1782                inherit: "default" 0.0;
1783                rel1.relative: 0.0 0.0;
1784                rel2.relative: 0.0 1.0;
1785                align: 0.0 0.0;
1786             }
1787          }
1788       }
1789       programs {
1790          program { name: "start_slide";
1791             source: "elm";
1792             signal: "elm,state,slide,start";
1793             script
1794               {
1795                  start_slide();
1796               }
1797          }
1798          program { name: "stop_slide";
1799             source: "elm";
1800             signal: "elm,state,slide,stop";
1801             script
1802               {
1803                  stop_slide();
1804               }
1805          }
1806       }
1807    }
1808
1809    group { name: "elm/label/base/slide_bounce";
1810       data.item: "default_font_size" "10";
1811       data.item: "min_font_size" "6";
1812       data.item: "max_font_size" "60";
1813       
1814       script {
1815          public g_duration, g_stopslide, g_timer_id, g_anim_id;
1816          
1817          public message(Msg_Type:type, id, ...) {
1818             if ((type == MSG_FLOAT_SET) && (id == 0)) {
1819                new Float:duration;
1820                duration = getarg(2);
1821                set_float(g_duration, duration);
1822             }
1823          }
1824          public slide_to_end_anim(val, Float:pos) {
1825             new stopflag;
1826             new id;
1827             stopflag = get_int(g_stopslide);
1828             if (stopflag == 1) return;
1829             set_tween_state(PART:"elm.text", pos, "slide_begin", 0.0, "slide_end", 0.0);
1830             if (pos >= 1.0) {
1831                id = timer(0.5, "slide_to_begin", 1);
1832                set_int(g_timer_id, id);
1833             }
1834          }
1835          public slide_to_end() {
1836             new stopflag;
1837             new id;
1838             new Float:duration;
1839             stopflag = get_int(g_stopslide);
1840             if (stopflag == 1) return;
1841             duration = get_float(g_duration);
1842             id = anim(duration, "slide_to_end_anim", 1);
1843             set_int(g_anim_id, id);
1844          }
1845          public slide_to_begin_anim(val, Float:pos) {
1846             new stopflag;
1847             new id;
1848             stopflag = get_int(g_stopslide);
1849             if (stopflag == 1) return;
1850             set_tween_state(PART:"elm.text", pos, "slide_end", 0.0, "slide_begin", 0.0);
1851             if (pos >= 1.0) {
1852                id = timer(0.5, "slide_to_end", 1);
1853                set_int(g_timer_id, id);
1854             }
1855          }
1856          public slide_to_begin() {
1857             new stopflag;
1858             new id;
1859             new Float:duration;
1860             stopflag = get_int(g_stopslide);
1861             if (stopflag == 1) return;
1862             duration = get_float(g_duration);
1863             id = anim(duration, "slide_to_begin_anim", 1);
1864             set_int(g_anim_id, id);
1865          }
1866          public start_slide() {
1867             set_int(g_stopslide, 0);
1868             set_state(PART:"elm.text", "slide_begin", 0.0);
1869             slide_to_end();
1870          }
1871          public stop_slide() {
1872             new id;
1873             set_int(g_stopslide, 1);
1874             id = get_int(g_anim_id);
1875             cancel_anim(id);
1876             id = get_int(g_timer_id);
1877             cancel_timer(id);
1878             set_state(PART:"elm.text", "default", 0.0);
1879          }
1880       }
1881
1882       parts {
1883          part { name: "label.swallow.background";
1884             type: SWALLOW;
1885             description { state: "default" 0.0;
1886                visible: 1;
1887             }
1888          }
1889          part { name: "label.text.clip";
1890             type: RECT;
1891             description { state: "default" 0.0;
1892                visible: 1;
1893                color: 255 255 255 255;
1894                rel1 { relative: 0 0; to: "label.swallow.background"; }
1895                rel2 { relative: 1 1; to: "label.swallow.background"; }
1896             }
1897          }
1898          part { name: "elm.text";
1899             type: TEXTBLOCK;
1900             mouse_events: 0;
1901             scale: 1;
1902             clip_to: "label.text.clip";
1903             description { state: "default" 0.0;
1904                rel1.relative: 0.0 0.0;
1905                rel2.relative: 1.0 1.0;
1906                align: 0.0 0.0;
1907                text {
1908                   style: "textblock_style";
1909                   min: 1 0;
1910                }
1911             }
1912             description { state: "slide_end" 0.0;
1913                inherit: "default" 0.0;
1914                rel1.relative: 1.0 0.0;
1915                rel2.relative: 1.0 1.0;
1916                align: 1.0 0.0;
1917             }
1918             description { state: "slide_begin" 0.0;
1919                inherit: "default" 0.0;
1920                rel1.relative: 0.0 0.0;
1921                rel2.relative: 0.0 1.0;
1922                align: 0.0 0.0;
1923             }
1924          }
1925       }
1926       programs {
1927          program { name: "start_slide";
1928             source: "elm";
1929             signal: "elm,state,slide,start";
1930             script
1931               {
1932                  start_slide();
1933               }
1934          }
1935          program { name: "stop_slide";
1936             source: "elm";
1937             signal: "elm,state,slide,stop";
1938             script
1939               {
1940                  stop_slide();
1941               }
1942          }
1943       }
1944    }
1945
1946
1947 ///////////////////////////////////////////////////////////////////////////////
1948
1949    group { name: "elm/button/base/default";
1950       images {
1951          image: "bt_base1.png" COMP;
1952          image: "bt_base2.png" COMP;
1953          image: "bt_hilight.png" COMP;
1954          image: "bt_shine.png" COMP;
1955          image: "bt_glow.png" COMP;
1956          image: "bt_dis_base.png" COMP;
1957          image: "bt_dis_hilight.png" COMP;
1958       }
1959       parts {
1960          part { name: "button_image";
1961             mouse_events: 1;
1962             description { state: "default" 0.0;
1963           min: 15 15;
1964                image {
1965                   normal: "bt_base2.png";
1966                   border: 7 7 7 7;
1967                }
1968                image.middle: SOLID;
1969             }
1970             description { state: "clicked" 0.0;
1971                inherit: "default" 0.0;
1972                image.normal: "bt_base1.png";
1973                image.middle: SOLID;
1974             }
1975             description { state: "disabled" 0.0;
1976                inherit:  "default" 0.0;
1977                image {
1978                   normal: "bt_dis_base.png";
1979                   border: 4 4 4 4;
1980                }
1981             }
1982          }
1983          part { name: "elm.swallow.content";
1984             type: SWALLOW;
1985             description { state: "default" 0.0;
1986                fixed: 1 0;
1987                visible: 0;
1988                align: 0.0 0.5;
1989                rel1.offset: 4 4;
1990                rel2.offset: 3 -5;
1991                rel2.relative: 0.0 1.0;
1992             }
1993             description { state: "visible" 0.0;
1994                inherit: "default" 0.0;
1995                fixed: 1 0;
1996                visible: 1;
1997                aspect: 1.0 1.0;
1998 //             aspect_preference: VERTICAL;
1999                rel2.offset: 4 -5;
2000             }
2001             description { state: "icononly" 0.0;
2002                inherit: "default" 0.0;
2003                fixed: 0 0;
2004                visible: 1;
2005                align: 0.5 0.5;
2006 //             aspect: 1.0 1.0;
2007                rel2.offset: -5 -5;
2008                rel2.relative: 1.0 1.0;
2009 //             aspect_preference: VERTICAL;
2010             }
2011          }
2012          part {
2013             name:          "elm.text";
2014             type:          TEXT;
2015             effect:        SOFT_SHADOW;
2016             mouse_events:  0;
2017             scale: 1;
2018             description { state: "default" 0.0;
2019                visible: 0;
2020                rel1.to_x: "elm.swallow.content";
2021                rel1.relative: 1.0 0.0;
2022                rel1.offset: 0 4;
2023                rel2.offset: -5 -5;
2024                color: 224 224 224 255;
2025                color3: 0 0 0 64;
2026                text {
2027                   font:     "Sans,Edje-Vera";
2028                   size:     10;
2029                   min:      0 0;
2030                   align:    0.5 0.5;
2031                   text_class: "button";
2032                }
2033             }
2034             description { state: "visible" 0.0;
2035                inherit: "default" 0.0;
2036                visible: 1;
2037                text.min: 1 1;
2038             }
2039             description { state: "disabled" 0.0;
2040                inherit: "default" 0.0;
2041                color: 0 0 0 128;
2042                color3: 0 0 0 0;
2043             }
2044             description { state: "disabled_visible" 0.0;
2045                inherit: "default" 0.0;
2046                color: 0 0 0 128;
2047                color3: 0 0 0 0;
2048                visible: 1;
2049                text.min: 1 1;
2050             }
2051          }
2052          part {   name: "over1";
2053             mouse_events: 0;
2054             description { state: "default" 0.0;
2055                rel2.relative: 1.0 0.5;
2056                image {
2057                   normal: "bt_hilight.png";
2058                   border: 7 7 7 0;
2059                }
2060             }
2061             description { state: "disabled" 0.0;
2062                inherit:  "default" 0.0;
2063                image {
2064                   normal: "bt_dis_hilight.png";
2065                   border: 4 4 4 0;
2066                }
2067             }
2068          }
2069          part { name: "over2";
2070             mouse_events: 1;
2071             repeat_events: 1;
2072             ignore_flags: ON_HOLD;
2073             description { state: "default" 0.0;
2074                image {
2075                   normal: "bt_shine.png";
2076                   border: 7 7 7 7;
2077                }
2078             }
2079             description { state: "disabled" 0.0;
2080                inherit:  "default" 0.0;
2081                visible: 0;
2082             }
2083          }
2084          part { name: "over3";
2085             mouse_events: 1;
2086             repeat_events: 1;
2087             description { state: "default" 0.0;
2088                color: 255 255 255 0;
2089                image {
2090                   normal: "bt_glow.png";
2091                   border: 12 12 12 12;
2092                }
2093                fill.smooth : 0;
2094             }
2095             description { state: "clicked" 0.0;
2096                inherit:  "default" 0.0;
2097                color: 255 255 255 255;
2098             }
2099          }
2100          part { name: "disabler";
2101             type: RECT;
2102             description { state: "default" 0.0;
2103                color: 0 0 0 0;
2104                visible: 0;
2105             }
2106             description { state: "disabled" 0.0;
2107                inherit: "default" 0.0;
2108                visible: 1;
2109             }
2110          }
2111       }
2112       programs {
2113          program {
2114             name:   "button_click";
2115             signal: "mouse,down,1";
2116             source: "over2";
2117             action: SIGNAL_EMIT "elm,action,press" "";
2118             after: "button_click_anim";
2119          }
2120          program {
2121             name:   "button_click_anim";
2122             action: STATE_SET "clicked" 0.0;
2123             target: "button_image";
2124          }
2125          program {
2126             name:   "button_unclick";
2127             signal: "mouse,up,1";
2128             source: "over3";
2129             action: SIGNAL_EMIT "elm,action,unpress" "";
2130             after: "button_unclick_anim";
2131          }
2132          program {
2133             name:   "button_pressed_anim";
2134             signal: "elm,anim,activate";
2135             source: "elm";
2136             action: STATE_SET "clicked" 0.0;
2137             target: "button_image";
2138             target: "over3";
2139             after: "button_unpressed_anim";
2140          }
2141          program {
2142             name:   "button_unpressed_anim";
2143             action: STATE_SET "default" 0.0;
2144             transition: DECELERATE 0.5;
2145             target: "button_image";
2146             target: "over3";
2147          }
2148          program {
2149             name:   "button_unclick_anim";
2150             action: STATE_SET "default" 0.0;
2151             target: "button_image";
2152          }
2153          program {
2154             name:   "button_click2";
2155             signal: "mouse,down,1";
2156             source: "over3";
2157             action: STATE_SET "clicked" 0.0;
2158             target: "over3";
2159          }
2160          program {
2161             name:   "button_unclick2";
2162             signal: "mouse,up,1";
2163             source: "over3";
2164             action: STATE_SET "default" 0.0;
2165             transition: DECELERATE 0.5;
2166             target: "over3";
2167          }
2168          program {
2169             name:   "button_unclick3";
2170             signal: "mouse,clicked,1";
2171             source: "over2";
2172             action: SIGNAL_EMIT "elm,action,click" "";
2173          }
2174          program { name: "text_show";
2175             signal: "elm,state,text,visible";
2176             source: "elm";
2177             script {
2178                new st[31];
2179                new Float:vl;
2180                get_state(PART:"elm.swallow.content", st, 30, vl);
2181                if (!strcmp(st, "icononly"))
2182                  set_state(PART:"elm.swallow.content", "visible", 0.0);
2183                set_state(PART:"elm.text", "visible", 0.0);
2184             }
2185          }
2186          program { name: "text_hide";
2187             signal: "elm,state,text,hidden";
2188             source: "elm";
2189             script {
2190                new st[31];
2191                new Float:vl;
2192                get_state(PART:"elm.swallow.content", st, 30, vl);
2193                if (!strcmp(st, "visible"))
2194                  set_state(PART:"elm.swallow.content", "icononly", 0.0);
2195                set_state(PART:"elm.text", "default", 0.0);
2196             }
2197          }
2198          program { name: "icon_show";
2199             signal: "elm,state,icon,visible";
2200             source: "elm";
2201             script {
2202                new st[31];
2203                new Float:vl;
2204                get_state(PART:"elm.text", st, 30, vl);
2205                if (!strcmp(st, "visible"))
2206                  set_state(PART:"elm.swallow.content", "visible", 0.0);
2207                else
2208                  set_state(PART:"elm.swallow.content", "icononly", 0.0);
2209             }
2210          }
2211          program { name: "icon_hide";
2212             signal: "elm,state,icon,hidden";
2213             source: "elm";
2214             action:  STATE_SET "default" 0.0;
2215             target: "elm.swallow.content";
2216          }
2217          program { name: "disable";
2218             signal: "elm,state,disabled";
2219             source: "elm";
2220             action: STATE_SET "disabled" 0.0;
2221             target: "button_image";
2222             target: "over1";
2223             target: "over2";
2224             target: "disabler";
2225             after: "disable_text";
2226          }
2227          program { name: "disable_text";
2228             script {
2229                new st[31];
2230                new Float:vl;
2231                get_state(PART:"elm.text", st, 30, vl);
2232                if (!strcmp(st, "visible"))
2233                  set_state(PART:"elm.text", "disabled_visible", 0.0);
2234                else
2235                  set_state(PART:"elm.text", "disabled", 0.0);
2236             }
2237          }
2238          program { name: "enable";
2239             signal: "elm,state,enabled";
2240             source: "elm";
2241             action: STATE_SET "default" 0.0;
2242             target: "button_image";
2243             target: "over1";
2244             target: "over2";
2245             target: "disabler";
2246             after: "enable_text";
2247          }
2248          program { name: "enable_text";
2249             script {
2250                new st[31];
2251                new Float:vl;
2252                get_state(PART:"elm.text", st, 30, vl);
2253                if (!strcmp(st, "disabled_visible"))
2254                  set_state(PART:"elm.text", "visible", 0.0);
2255                else
2256                  set_state(PART:"elm.text", "default", 0.0);
2257             }
2258          }
2259       }
2260    }
2261
2262    group { name: "elm/button/base/hoversel_vertical/default";
2263       alias: "elm/button/base/hoversel_vertical/entry";
2264       alias: "elm/button/base/hoversel_horizontal/default";
2265       alias: "elm/button/base/hoversel_horizontal/entry";
2266       images {
2267          image: "bt_base1.png" COMP;
2268          image: "bt_base2.png" COMP;
2269          image: "bt_hilight.png" COMP;
2270          image: "bt_shine.png" COMP;
2271          image: "bt_glow.png" COMP;
2272          image: "updown.png" COMP;
2273          image: "bt_dis_base.png" COMP;
2274          image: "bt_dis_hilight.png" COMP;
2275       }
2276       parts {
2277          part { name: "button_image";
2278             mouse_events: 1;
2279             description { state: "default" 0.0;
2280                image {
2281                   normal: "bt_base2.png";
2282                   border: 7 7 7 7;
2283                }
2284                image.middle: SOLID;
2285             }
2286             description { state: "clicked" 0.0;
2287                inherit: "default" 0.0;
2288                image.normal: "bt_base1.png";
2289                image.middle: SOLID;
2290             }
2291             description { state: "disabled" 0.0;
2292                inherit:  "default" 0.0;
2293                image {
2294                   normal: "bt_dis_base.png";
2295                   border: 4 4 4 4;
2296                }
2297             }
2298          }
2299          part { name: "arrow";
2300             mouse_events: 0;
2301             description { state: "default" 0.0;
2302                image.normal: "updown.png";
2303                aspect: 0.6666666666 0.6666666666;
2304                aspect_preference: VERTICAL;
2305                rel1.offset: 6 7;
2306                rel2.offset: 6 -7;
2307                rel2.relative: 0.0 1.0;
2308                align: 0.0 0.5;
2309             }
2310          }
2311          part { name: "elm.swallow.content";
2312             type: SWALLOW;
2313             description { state: "default" 0.0;
2314                fixed: 1 0;
2315                visible: 0;
2316                align: 0.0 0.5;
2317                rel1 {
2318                   to_x: "arrow";
2319                   offset: 2 4;
2320                   relative: 1.0 0.0;
2321                }
2322                rel2 {
2323                   to_x: "arrow";
2324                   offset: 1 -5;
2325                   relative: 1.0 1.0;
2326                }
2327             }
2328             description { state: "visible" 0.0;
2329                inherit: "default" 0.0;
2330                fixed: 0 0;
2331                visible: 1;
2332                aspect: 1.0 1.0;
2333                aspect_preference: VERTICAL;
2334                rel2.offset: 2 -5;
2335             }
2336             description { state: "icononly" 0.0;
2337                inherit: "default" 0.0;
2338                fixed: 0 0;
2339                visible: 1;
2340                align: 0.5 0.5;
2341                aspect: 1.0 1.0;
2342                rel1 {
2343                   to_x: "button_image";
2344                   offset: -5 -5;
2345                   relative: 1.0 1.0;
2346                }
2347                aspect_preference: VERTICAL;
2348             }
2349          }
2350          part {
2351             name:          "elm.text";
2352             type:          TEXT;
2353             effect:        SOFT_SHADOW;
2354             mouse_events:  0;
2355             scale: 1;
2356             description { state: "default" 0.0;
2357                visible: 0;
2358                rel1.to_x: "elm.swallow.content";
2359                rel1.relative: 1.0 0.0;
2360                rel1.offset: 0 4;
2361                rel2.offset: -5 -5;
2362                color: 224 224 224 255;
2363                color3: 0 0 0 64;
2364                text {
2365                   font:     "Sans,Edje-Vera";
2366                   size:     10;
2367                   min:      0 0;
2368                   align:    0.5 0.5;
2369                   text_class: "button";
2370                }
2371             }
2372             description { state: "visible" 0.0;
2373                inherit: "default" 0.0;
2374                visible: 1;
2375                text.min: 1 1;
2376             }
2377             description { state: "disabled" 0.0;
2378                inherit: "default" 0.0;
2379                color: 0 0 0 128;
2380                color3: 0 0 0 0;
2381             }
2382             description { state: "disabled_visible" 0.0;
2383                inherit: "default" 0.0;
2384                color: 0 0 0 128;
2385                color3: 0 0 0 0;
2386                visible: 1;
2387                text.min: 1 1;
2388             }
2389          }
2390          part {   name: "over1";
2391             mouse_events: 0;
2392             description { state: "default" 0.0;
2393                rel2.relative: 1.0 0.5;
2394                image {
2395                   normal: "bt_hilight.png";
2396                   border: 7 7 7 0;
2397                }
2398             }
2399             description { state: "disabled" 0.0;
2400                inherit:  "default" 0.0;
2401                image {
2402                   normal: "bt_dis_hilight.png";
2403                   border: 4 4 4 0;
2404                }
2405             }
2406          }
2407          part { name: "over2";
2408             mouse_events: 1;
2409             repeat_events: 1;
2410             ignore_flags: ON_HOLD;
2411             description { state: "default" 0.0;
2412                image {
2413                   normal: "bt_shine.png";
2414                   border: 7 7 7 7;
2415                }
2416             }
2417             description { state: "disabled" 0.0;
2418                inherit:  "default" 0.0;
2419                visible: 0;
2420             }
2421          }
2422          part { name: "over3";
2423             mouse_events: 1;
2424             repeat_events: 1;
2425             description { state: "default" 0.0;
2426                color: 255 255 255 0;
2427                image {
2428                   normal: "bt_glow.png";
2429                   border: 12 12 12 12;
2430                }
2431                fill.smooth : 0;
2432             }
2433             description { state: "clicked" 0.0;
2434                inherit:  "default" 0.0;
2435                visible: 1;
2436                color: 255 255 255 255;
2437             }
2438          }
2439          part { name: "disabler";
2440             type: RECT;
2441             description { state: "default" 0.0;
2442                color: 0 0 0 0;
2443                visible: 0;
2444             }
2445             description { state: "disabled" 0.0;
2446                inherit: "default" 0.0;
2447                visible: 1;
2448             }
2449          }
2450       }
2451       programs {
2452          program {
2453             name:   "button_click";
2454             signal: "mouse,down,1";
2455             source: "over2";
2456             action: STATE_SET "clicked" 0.0;
2457             target: "button_image";
2458          }
2459          program {
2460             name:   "button_unclick";
2461             signal: "mouse,up,1";
2462             source: "over2";
2463             action: STATE_SET "default" 0.0;
2464             target: "button_image";
2465          }
2466          program {
2467             name:   "button_click2";
2468             signal: "mouse,down,1";
2469             source: "over3";
2470             action: STATE_SET "clicked" 0.0;
2471             target: "over3";
2472          }
2473          program {
2474             name:   "button_unclick2";
2475             signal: "mouse,up,1";
2476             source: "over3";
2477             action: STATE_SET "default" 0.0;
2478             transition: DECELERATE 0.5;
2479             target: "over3";
2480          }
2481          program {
2482             name:   "button_unclick3";
2483             signal: "mouse,up,1";
2484             source: "over2";
2485             action: SIGNAL_EMIT "elm,action,click" "";
2486          }
2487          program { name: "text_show";
2488             signal: "elm,state,text,visible";
2489             source: "elm";
2490             script {
2491                new st[31];
2492                new Float:vl;
2493                get_state(PART:"elm.swallow.content", st, 30, vl);
2494                if (!strcmp(st, "icononly"))
2495                  set_state(PART:"elm.swallow.content", "visible", 0.0);
2496                set_state(PART:"elm.text", "visible", 0.0);
2497             }
2498          }
2499          program { name: "text_hide";
2500             signal: "elm,state,text,hidden";
2501             source: "elm";
2502             script {
2503                new st[31];
2504                new Float:vl;
2505                get_state(PART:"elm.swallow.content", st, 30, vl);
2506                if (!strcmp(st, "visible"))
2507                  set_state(PART:"elm.swallow.content", "icononly", 0.0);
2508                set_state(PART:"elm.text", "default", 0.0);
2509             }
2510          }
2511          program { name: "icon_show";
2512             signal: "elm,state,icon,visible";
2513             source: "elm";
2514             script {
2515                new st[31];
2516                new Float:vl;
2517                get_state(PART:"elm.text", st, 30, vl);
2518                if (!strcmp(st, "visible"))
2519                  set_state(PART:"elm.swallow.content", "visible", 0.0);
2520                else
2521                  set_state(PART:"elm.swallow.content", "icononly", 0.0);
2522             }
2523          }
2524          program { name: "icon_hide";
2525             signal: "elm,state,icon,hidden";
2526             source: "elm";
2527             action:  STATE_SET "default" 0.0;
2528             target: "elm.swallow.content";
2529          }
2530          program { name: "disable";
2531             signal: "elm,state,disabled";
2532             source: "elm";
2533             action: STATE_SET "disabled" 0.0;
2534             target: "button_image";
2535             target: "over1";
2536             target: "over2";
2537             target: "disabler";
2538             after: "disable_text";
2539          }
2540          program { name: "disable_text";
2541             script {
2542                new st[31];
2543                new Float:vl;
2544                get_state(PART:"elm.text", st, 30, vl);
2545                if (!strcmp(st, "visible"))
2546                  set_state(PART:"elm.text", "disabled_visible", 0.0);
2547                else
2548                  set_state(PART:"elm.text", "disabled", 0.0);
2549             }
2550          }
2551          program { name: "enable";
2552             signal: "elm,state,enabled";
2553             source: "elm";
2554             action: STATE_SET "default" 0.0;
2555             target: "button_image";
2556             target: "over1";
2557             target: "over2";
2558             target: "disabler";
2559             after: "enable_text";
2560          }
2561          program { name: "enable_text";
2562             script {
2563                new st[31];
2564                new Float:vl;
2565                get_state(PART:"elm.text", st, 30, vl);
2566                if (!strcmp(st, "disabled_visible"))
2567                  set_state(PART:"elm.text", "visible", 0.0);
2568                else
2569                  set_state(PART:"elm.text", "default", 0.0);
2570             }
2571          }
2572       }
2573    }
2574
2575    group { name: "elm/button/base/hoversel_vertical_entry/default";
2576       alias: "elm/button/base/hoversel_vertical_entry/entry";
2577       alias: "elm/button/base/hoversel_horizontal_entry/default";
2578       alias: "elm/button/base/hoversel_horizontal_entry/entry";
2579       images {
2580          image: "hoversel_entry_bg.png" COMP;
2581       }
2582       parts {
2583          part { name: "button_image";
2584             mouse_events: 1;
2585             description { state: "default" 0.0;
2586                color: 255 255 255 0;
2587                image.normal: "hoversel_entry_bg.png";
2588                image.border: 0 0 2 2;
2589                fill.smooth: 0;
2590             }
2591             description { state: "clicked" 0.0;
2592                inherit: "default" 0.0;
2593                color: 255 255 255 255;
2594             }
2595          }
2596          part { name: "elm.swallow.content";
2597             type: SWALLOW;
2598             description { state: "default" 0.0;
2599                visible: 0;
2600                align: 0.0 0.5;
2601                rel1.offset: 4 4;
2602                rel2.offset: 3 -5;
2603                rel2.relative: 0.0 1.0;
2604             }
2605             description { state: "visible" 0.0;
2606                inherit: "default" 0.0;
2607                visible: 1;
2608                aspect: 1.0 1.0;
2609                aspect_preference: VERTICAL;
2610                rel2.offset: 4 -5;
2611             }
2612             description { state: "icononly" 0.0;
2613                inherit: "default" 0.0;
2614                visible: 1;
2615                align: 0.5 0.5;
2616                aspect: 1.0 1.0;
2617                rel2.offset: -5 -5;
2618                rel2.relative: 1.0 1.0;
2619                aspect_preference: VERTICAL;
2620             }
2621          }
2622          part { name: "textvis";
2623             type: RECT;
2624             mouse_events: 0;
2625             description { state: "default" 0.0;
2626                visible: 0;
2627             }
2628             description { state: "visible" 0.0;
2629                visible: 1;
2630             }
2631          }
2632          part {
2633             name:          "elm.text";
2634             type:          TEXT;
2635             effect:        SOFT_SHADOW;
2636             mouse_events:  0;
2637             scale: 1;
2638             clip_to:       "textvis";
2639             description { state: "default" 0.0;
2640                rel1.to_x: "elm.swallow.content";
2641                rel1.relative: 1.0 0.0;
2642                rel1.offset: 0 4;
2643                rel2.offset: -5 -5;
2644                color: 224 224 224 255;
2645                color3: 0 0 0 64;
2646                text {
2647                   font:     "Sans,Edje-Vera";
2648                   size:     10;
2649                   min:      0 0;
2650                   align:    0.5 0.5;
2651                   text_class: "button";
2652                }
2653             }
2654             description { state: "visible" 0.0;
2655                inherit: "default" 0.0;
2656                text.min: 1 1;
2657             }
2658             description { state: "clicked" 0.0;
2659                inherit: "default" 0.0;
2660                text.min: 1 1;
2661                color: 0 0 0 255;
2662                color3: 0 0 0 0;
2663             }
2664          }
2665          part { name: "over2";
2666             type: RECT;
2667             mouse_events: 1;
2668             description { state: "default" 0.0;
2669                color: 0 0 0 0;
2670             }
2671          }
2672       }
2673       programs {
2674          program {
2675             name:   "button_click";
2676             signal: "mouse,down,1";
2677             source: "over2";
2678             action: STATE_SET "clicked" 0.0;
2679             target: "button_image";
2680             target: "elm.text";
2681          }
2682          program {
2683             name:   "button_unclick";
2684             signal: "mouse,up,1";
2685             source: "over2";
2686             action: STATE_SET "default" 0.0;
2687             target: "button_image";
2688             target: "elm.text";
2689          }
2690          program {
2691             name:   "button_unclick3";
2692             signal: "mouse,up,1";
2693             source: "over2";
2694             action: SIGNAL_EMIT "elm,action,click" "";
2695          }
2696          program { name: "text_show";
2697             signal: "elm,state,text,visible";
2698             source: "elm";
2699             script {
2700                new st[31];
2701                new Float:vl;
2702                get_state(PART:"elm.swallow.content", st, 30, vl);
2703                if (!strcmp(st, "icononly"))
2704                  set_state(PART:"elm.swallow.content", "visible", 0.0);
2705                set_state(PART:"textvis", "visible", 0.0);
2706                set_state(PART:"elm.text", "visible", 0.0);
2707             }
2708          }
2709          program { name: "text_hide";
2710             signal: "elm,state,text,hidden";
2711             source: "elm";
2712             script {
2713                new st[31];
2714                new Float:vl;
2715                get_state(PART:"elm.swallow.content", st, 30, vl);
2716                if (!strcmp(st, "visible"))
2717                  set_state(PART:"elm.swallow.content", "icononly", 0.0);
2718                set_state(PART:"textvis", "default", 0.0);
2719                set_state(PART:"elm.text", "default", 0.0);
2720             }
2721          }
2722          program { name: "icon_show";
2723             signal: "elm,state,icon,visible";
2724             source: "elm";
2725             script {
2726                new st[31];
2727                new Float:vl;
2728                get_state(PART:"textvis", st, 30, vl);
2729                if (!strcmp(st, "visible"))
2730                  set_state(PART:"elm.swallow.content", "visible", 0.0);
2731                else
2732                  set_state(PART:"elm.swallow.content", "icononly", 0.0);
2733             }
2734          }
2735          program { name: "icon_hide";
2736             signal: "elm,state,icon,hidden";
2737             source: "elm";
2738             action:  STATE_SET "default" 0.0;
2739             target: "elm.swallow.content";
2740          }
2741       }
2742    }
2743
2744    group { name: "elm/button/base/anchor";
2745       images {
2746          image: "bt_base1.png" COMP;
2747          image: "bt_base2.png" COMP;
2748          image: "bt_hilight.png" COMP;
2749          image: "bt_shine.png" COMP;
2750          image: "bt_glow.png" COMP;
2751          image: "bt_dis_base.png" COMP;
2752          image: "bt_dis_hilight.png" COMP;
2753       }
2754       parts {
2755          part { name: "button_image";
2756             mouse_events: 1;
2757             description { state: "default" 0.0;
2758           min: 15 15;
2759            color: 255 255 255 0;
2760                image {
2761                   normal: "bt_base2.png";
2762                   border: 7 7 7 7;
2763                }
2764                image.middle: SOLID;
2765             }
2766        description { state: "visible" 0.0;
2767                inherit: "default" 0.0;
2768           color: 255 255 255 255;
2769             }
2770             description { state: "clicked" 0.0;
2771                inherit: "default" 0.0;
2772           inherit: "visible" 0.0;
2773                image.normal: "bt_base1.png";
2774                image.middle: SOLID;
2775             }
2776             description { state: "disabled" 0.0;
2777                inherit:  "default" 0.0;
2778           inherit: "visible" 0.0;
2779                image {
2780                   normal: "bt_dis_base.png";
2781                   border: 4 4 4 4;
2782                }
2783             }
2784          }
2785          part { name: "elm.swallow.content";
2786             type: SWALLOW;
2787             description { state: "default" 0.0;
2788                fixed: 1 0;
2789                visible: 0;
2790                align: 0.0 0.5;
2791                rel1.offset: 4 4;
2792                rel2.offset: 3 -5;
2793                rel2.relative: 0.0 1.0;
2794             }
2795             description { state: "visible" 0.0;
2796                inherit: "default" 0.0;
2797                fixed: 1 0;
2798                visible: 1;
2799                aspect: 1.0 1.0;
2800                aspect_preference: VERTICAL;
2801                rel2.offset: 4 -5;
2802             }
2803             description { state: "icononly" 0.0;
2804                inherit: "default" 0.0;
2805                fixed: 0 0;
2806                visible: 1;
2807                align: 0.5 0.5;
2808                aspect: 1.0 1.0;
2809                rel2.offset: -5 -5;
2810                rel2.relative: 1.0 1.0;
2811                aspect_preference: VERTICAL;
2812             }
2813          }
2814          part {
2815             name:          "elm.text";
2816             type:          TEXT;
2817             effect:        SOFT_SHADOW;
2818             mouse_events:  0;
2819             scale: 1;
2820             description { state: "default" 0.0;
2821                visible: 0;
2822                rel1.to_x: "elm.swallow.content";
2823                rel1.relative: 1.0 0.0;
2824                rel1.offset: 0 4;
2825                rel2.offset: -5 -5;
2826                color: 224 224 224 255;
2827                color3: 0 0 0 64;
2828                text {
2829                   font:     "Sans,Edje-Vera";
2830                   size:     10;
2831                   min:      0 0;
2832                   align:    0.5 0.5;
2833                   text_class: "button";
2834                }
2835             }
2836             description { state: "visible" 0.0;
2837                inherit: "default" 0.0;
2838                visible: 1;
2839                text.min: 1 1;
2840             }
2841             description { state: "disabled" 0.0;
2842                inherit: "default" 0.0;
2843                color: 0 0 0 128;
2844                color3: 0 0 0 0;
2845             }
2846             description { state: "disabled_visible" 0.0;
2847                inherit: "default" 0.0;
2848                color: 0 0 0 128;
2849                color3: 0 0 0 0;
2850                visible: 1;
2851                text.min: 1 1;
2852             }
2853          }
2854          part {   name: "over1";
2855             mouse_events: 0;
2856             description { state: "default" 0.0;
2857            color: 255 255 255 0;
2858                rel2.relative: 1.0 0.5;
2859                image {
2860                   normal: "bt_hilight.png";
2861                   border: 7 7 7 0;
2862                }
2863             }
2864        description { state: "visible" 0.0;
2865                inherit:  "default" 0.0;
2866           color: 255 255 255 255;
2867             }
2868             description { state: "disabled" 0.0;
2869                inherit:  "default" 0.0;
2870           inherit:  "visible" 0.0;
2871                image {
2872                   normal: "bt_dis_hilight.png";
2873                   border: 4 4 4 0;
2874                }
2875             }
2876          }
2877          part { name: "over2";
2878             mouse_events: 1;
2879             repeat_events: 1;
2880             ignore_flags: ON_HOLD;
2881             description { state: "default" 0.0;
2882                image {
2883                   normal: "bt_shine.png";
2884                   border: 7 7 7 7;
2885                }
2886             }
2887             description { state: "disabled" 0.0;
2888                inherit:  "default" 0.0;
2889                visible: 0;
2890             }
2891          }
2892          part { name: "over3";
2893             mouse_events: 1;
2894             repeat_events: 1;
2895             description { state: "default" 0.0;
2896                color: 255 255 255 0;
2897                image {
2898                   normal: "bt_glow.png";
2899                   border: 12 12 12 12;
2900                }
2901                fill.smooth : 0;
2902             }
2903             description { state: "clicked" 0.0;
2904                inherit:  "default" 0.0;
2905                visible: 1;
2906                color: 255 255 255 255;
2907             }
2908          }
2909          part { name: "disabler";
2910             type: RECT;
2911             description { state: "default" 0.0;
2912                color: 0 0 0 0;
2913                visible: 0;
2914             }
2915             description { state: "disabled" 0.0;
2916                inherit: "default" 0.0;
2917                visible: 1;
2918             }
2919          }
2920       }
2921       programs {
2922     program {
2923             name:   "button_mouse_in";
2924             signal: "mouse,in";
2925             source: "over2";
2926             action: STATE_SET "visible" 0.0;
2927             target: "button_image";
2928        target: "over1";
2929        transition: DECELERATE 0.5;
2930          }
2931          program {
2932             name:   "button_mouse_out";
2933             signal: "mouse,out";
2934             source: "over2";
2935             action: STATE_SET "default" 0.0;
2936             target: "button_image";
2937        target: "over1";
2938        transition: DECELERATE 0.5;
2939          }
2940          program {
2941             name:   "button_unclick";
2942             signal: "mouse,up,1";
2943             source: "over2";
2944             action: STATE_SET "visible" 0.0;
2945             target: "button_image";
2946          }
2947          program {
2948             name:   "button_click2";
2949             signal: "mouse,down,1";
2950             source: "over3";
2951             action: STATE_SET "clicked" 0.0;
2952             target: "over3";
2953          }
2954          program {
2955             name:   "button_unclick2";
2956             signal: "mouse,up,1";
2957             source: "over3";
2958             action: STATE_SET "default" 0.0;
2959             transition: DECELERATE 0.5;
2960             target: "over3";
2961          }
2962          program {
2963             name:   "button_unclick3";
2964             signal: "mouse,up,1";
2965             source: "over2";
2966             action: SIGNAL_EMIT "elm,action,click" "";
2967          }
2968          program { name: "text_show";
2969             signal: "elm,state,text,visible";
2970             source: "elm";
2971             script {
2972                new st[31];
2973                new Float:vl;
2974                get_state(PART:"elm.swallow.content", st, 30, vl);
2975                if (!strcmp(st, "icononly"))
2976                  set_state(PART:"elm.swallow.content", "visible", 0.0);
2977                set_state(PART:"elm.text", "visible", 0.0);
2978             }
2979          }
2980          program { name: "text_hide";
2981             signal: "elm,state,text,hidden";
2982             source: "elm";
2983             script {
2984                new st[31];
2985                new Float:vl;
2986                get_state(PART:"elm.swallow.content", st, 30, vl);
2987                if (!strcmp(st, "visible"))
2988                  set_state(PART:"elm.swallow.content", "icononly", 0.0);
2989                set_state(PART:"elm.text", "default", 0.0);
2990             }
2991          }
2992          program { name: "icon_show";
2993             signal: "elm,state,icon,visible";
2994             source: "elm";
2995             script {
2996                new st[31];
2997                new Float:vl;
2998                get_state(PART:"elm.text", st, 30, vl);
2999                if (!strcmp(st, "visible"))
3000                  set_state(PART:"elm.swallow.content", "visible", 0.0);
3001                else
3002                  set_state(PART:"elm.swallow.content", "icononly", 0.0);
3003             }
3004          }
3005          program { name: "icon_hide";
3006             signal: "elm,state,icon,hidden";
3007             source: "elm";
3008             action:  STATE_SET "default" 0.0;
3009             target: "elm.swallow.content";
3010          }
3011          program { name: "disable";
3012             signal: "elm,state,disabled";
3013             source: "elm";
3014             action: STATE_SET "disabled" 0.0;
3015             target: "button_image";
3016             target: "over1";
3017             target: "over2";
3018             target: "disabler";
3019             after: "disable_text";
3020          }
3021          program { name: "disable_text";
3022             script {
3023                new st[31];
3024                new Float:vl;
3025                get_state(PART:"elm.text", st, 30, vl);
3026                if (!strcmp(st, "visible"))
3027                  set_state(PART:"elm.text", "disabled_visible", 0.0);
3028                else
3029                  set_state(PART:"elm.text", "disabled", 0.0);
3030             }
3031          }
3032          program { name: "enable";
3033             signal: "elm,state,enabled";
3034             source: "elm";
3035             action: STATE_SET "default" 0.0;
3036             target: "button_image";
3037             target: "over1";
3038             target: "over2";
3039             target: "disabler";
3040             after: "enable_text";
3041          }
3042          program { name: "enable_text";
3043             script {
3044                new st[31];
3045                new Float:vl;
3046                get_state(PART:"elm.text", st, 30, vl);
3047                if (!strcmp(st, "disabled_visible"))
3048                  set_state(PART:"elm.text", "visible", 0.0);
3049                else
3050                  set_state(PART:"elm.text", "default", 0.0);
3051             }
3052          }
3053       }
3054    }
3055
3056 ///////////////////////////////////////////////////////////////////////////////
3057    group { name: "elm/toggle/base/default";
3058       images {
3059          image: "shelf_inset.png" COMP;
3060          image: "bt_basew.png" COMP;
3061          image: "bt_bases.png" COMP;
3062          image: "bt_hilightw.png" COMP;
3063          image: "tog_base.png" COMP;
3064          image: "tog_dis_base.png" COMP;
3065       }
3066       parts {
3067          part { name: "bg";
3068             type: RECT;
3069             mouse_events: 0;
3070             scale: 1;
3071             description { state: "default" 0.0;
3072                rel1.relative: 1.0 0.0;
3073                rel1.offset: -4 3;
3074                rel2.offset: -4 -4;
3075                align: 1.0 0.5;
3076                min: 96 16;
3077                max: 96 16;
3078                aspect: 4.0 4.0;
3079                aspect_preference: VERTICAL;
3080                color: 255 255 255 255;
3081             }
3082          }
3083          part { name: "clipper";
3084             type: RECT;
3085             mouse_events: 0;
3086             description { state: "default" 0.0;
3087                rel1.to: "bg";
3088                rel2.to: "bg";
3089                color: 255 255 255 255;
3090             }
3091          }
3092          part { name: "button";
3093             type: RECT;
3094             scale: 1;
3095             clip_to: "clipper";
3096             mouse_events: 1;
3097             dragable {
3098                x: 1 1 0;
3099                y: 0 0 0;
3100                confine: "bg";
3101             }
3102             description { state: "default" 0.0;
3103                fixed: 1 1;
3104                rel1.to: "bg";
3105                rel2.to: "bg";
3106                min: 16 16;
3107                max: 16 16;
3108                aspect: 1.0 1.0;
3109                aspect_preference: VERTICAL;
3110                color: 0 0 0 0;
3111             }
3112          }
3113          part { name: "button_events";
3114             type: RECT;
3115             dragable {
3116                events: "button";
3117             }
3118             description { state: "default" 0.0;
3119                rel1.to_x: "bg";
3120                rel1.offset: 0 0;
3121                rel1.relative: 0.0 0.0;
3122                rel2.to_x: "bg";
3123                rel2.offset: -1 -1;
3124                rel2.relative: 1.0 1.0;
3125                color: 0 0 0 0;
3126             }
3127          }
3128          part { name: "onrect";
3129             type: RECT;
3130             scale: 1;
3131             clip_to: "clipper";
3132             mouse_events: 0;
3133             description { state: "default" 0.0;
3134                rel1.to: "button";
3135                rel1.relative: -5.0 0.0;
3136                rel2.to: "button";
3137                rel2.relative: 0.0 1.0;
3138                color: 0 0 0 0;
3139             }
3140          }
3141          part { name: "offrect";
3142             type: RECT;
3143             scale: 1;
3144             clip_to: "clipper";
3145             mouse_events: 0;
3146             description { state: "default" 0.0;
3147                rel1.to: "button";
3148                rel1.relative: 1.0 0.0;
3149                rel2.to: "button";
3150                rel2.relative: 6.0 1.0;
3151                color: 0 0 0 0;
3152             }
3153          }
3154          part { name: "togbase";
3155             mouse_events:  0;
3156             clip_to: "clipper";
3157             description { state: "default" 0.0;
3158                rel1.to: "onrect";
3159                rel2.to: "offrect";
3160                image.normal: "tog_base.png";
3161             }
3162             description { state: "disabled" 0.0;
3163                inherit: "default" 0.0;
3164                image.normal: "tog_dis_base.png";
3165             }
3166          }
3167          part { name: "elm.offtext";
3168             type: TEXT;
3169             mouse_events:  0;
3170             scale: 1;
3171             clip_to: "clipper";
3172             description { state: "default" 0.0;
3173                fixed: 1 1;
3174                rel1.to_x: "offrect";
3175                rel2.to_x: "offrect";
3176                color: 0 0 0 255;
3177                text {
3178                   font:     "Sans,Edje-Vera";
3179                   size:     10;
3180                   min:      0 1;
3181                   align:    0.5 0.5;
3182                   text:     "OFF";
3183                }
3184             }
3185             description { state: "disabled" 0.0;
3186                inherit: "default" 0.0;
3187                color: 128 128 128 128;
3188             }
3189          }
3190          part { name: "elm.ontext";
3191             type: TEXT;
3192             effect: SOFT_SHADOW;
3193             mouse_events:  0;
3194             scale: 1;
3195             clip_to: "clipper";
3196             description { state: "default" 0.0;
3197                fixed: 1 1;
3198                rel1.to_x: "onrect";
3199                rel1.offset: 1 1;
3200                rel2.to_x: "onrect";
3201                rel2.offset: 0 0;
3202                color: 224 224 224 255;
3203                color3: 0 0 0 64;
3204                text {
3205                   font:     "Sans,Edje-Vera";
3206                   size:     10;
3207                   min:      0 1;
3208                   align:    0.5 0.5;
3209                   text:     "ON";
3210                }
3211             }
3212             description { state: "disabled" 0.0;
3213                inherit: "default" 0.0;
3214                color: 128 128 128 128;
3215                color3: 0 0 0 24;
3216             }
3217          }
3218          part { name: "conf_over";
3219             mouse_events:  0;
3220             description { state: "default" 0.0;
3221                rel1.offset: -1 -1;
3222                rel1.to: "bg";
3223                rel2.offset: 0 0;
3224                rel2.to: "bg";
3225                image {
3226                   normal: "shelf_inset.png";
3227                   border: 7 7 7 7;
3228                   middle: 0;
3229                }
3230                fill.smooth : 0;
3231             }
3232          }
3233          part { name: "button0";
3234             mouse_events:  0;
3235             clip_to: "clipper";
3236             description { state: "default" 0.0;
3237                rel1.to: "button2";
3238                rel1.offset: -4 -4;
3239                rel2.to: "button2";
3240                rel2.offset: 3 3;
3241                image {
3242                   normal: "bt_bases.png";
3243                   border: 11 11 11 11;
3244                }
3245                image.middle: SOLID;
3246                color: 255 255 255 128;
3247             }
3248          }
3249          part { name: "button2";
3250             mouse_events:  0;
3251             clip_to: "clipper";
3252             description { state: "default" 0.0;
3253                rel1.to: "button";
3254                rel1.offset: -2 -2;
3255                rel2.to: "button";
3256                rel2.offset: 1 1;
3257                image {
3258                   normal: "bt_basew.png";
3259                   border: 7 7 7 7;
3260                }
3261                image.middle: SOLID;
3262             }
3263          }
3264          part { name: "button3";
3265             mouse_events:  0;
3266             clip_to: "clipper";
3267             description { state: "default" 0.0;
3268                rel1.to: "button2";
3269                rel2.to: "button2";
3270                rel2.relative: 1.0 0.5;
3271                image {
3272                   normal: "bt_hilightw.png";
3273                   border: 4 4 4 0;
3274                }
3275             }
3276          }
3277          part { name: "elm.swallow.content";
3278             type: SWALLOW;
3279             description { state: "default" 0.0;
3280                fixed: 1 0;
3281                visible: 0;
3282                align: 0.0 0.5;
3283                rel1.offset: 4 4;
3284                rel2.relative: 0.0 1.0;
3285                rel2.offset: 3 -5;
3286             }
3287             description { state: "visible" 0.0;
3288                inherit: "default" 0.0;
3289                visible: 1;
3290                aspect: 1.0 1.0;
3291                rel2.offset: 4 -5;
3292             }
3293             description { state: "disabled" 0.0;
3294                inherit: "default" 0.0;
3295                color: 128 128 128 128;
3296             }
3297             description { state: "disabled_visible" 0.0;
3298                inherit: "default" 0.0;
3299                color: 128 128 128 128;
3300                visible: 1;
3301                aspect: 1.0 1.0;
3302             }
3303          }
3304          part { name: "elm.text";
3305             type: TEXT;
3306             mouse_events: 0;
3307             scale: 1;
3308             description { state: "default" 0.0;
3309                visible: 0;
3310                rel1.to_x: "elm.swallow.content";
3311                rel1.relative: 1.0 0.0;
3312                rel1.offset: 0 4;
3313                rel2.to_x: "bg";
3314                rel2.relative: 0.0 1.0;
3315                rel2.offset: -5 -5;
3316                color: 0 0 0 255;
3317                text {
3318                   font: "Sans,Edje-Vera";
3319                   size: 10;
3320                   min: 0 0;
3321                   align: 0.0 0.5;
3322                }
3323             }
3324             description { state: "visible" 0.0;
3325                inherit: "default" 0.0;
3326                visible: 1;
3327                text.min: 1 1;
3328             }
3329             description { state: "disabled" 0.0;
3330                inherit: "default" 0.0;
3331                color: 128 128 128 128;
3332             }
3333             description { state: "disabled_visible" 0.0;
3334                inherit: "default" 0.0;
3335                color: 128 128 128 128;
3336                visible: 1;
3337                text.min: 1 1;
3338             }
3339          }
3340          part { name: "disabler";
3341             type: RECT;
3342             description { state: "default" 0.0;
3343                color: 0 0 0 0;
3344                visible: 0;
3345             }
3346             description { state: "disabled" 0.0;
3347                inherit: "default" 0.0;
3348                visible: 1;
3349             }
3350          }
3351       }
3352       programs {
3353          program { name:   "drag_end";
3354             signal: "mouse,up,1";
3355             source: "button";
3356             script {
3357                new Float:dx, Float:dy;
3358                get_drag(PART:"button", dx, dy);
3359                if (dx > 0.5)
3360                  {
3361                     set_drag(PART:"button", 1.0, 0.0);
3362                     emit("elm,action,toggle,on", "");
3363                  }
3364                else
3365                  {
3366                     set_drag(PART:"button", 0.0, 0.0);
3367                     emit("elm,action,toggle,off", "");
3368                  }
3369             }
3370          }
3371          program { name: "toggle_on";
3372             signal: "elm,state,toggle,on";
3373             source: "elm";
3374             script {
3375                set_drag(PART:"button", 100.0, 0.0);
3376             }
3377          }
3378          program { name: "toggle_off";
3379             signal: "elm,state,toggle,off";
3380             source: "elm";
3381             script {
3382                set_drag(PART:"button", 0.0, 0.0);
3383             }
3384          }
3385          program { name: "text_show";
3386             signal: "elm,state,text,visible";
3387             source: "elm";
3388             action:  STATE_SET "visible" 0.0;
3389             target: "elm.text";
3390          }
3391          program { name: "text_hide";
3392             signal: "elm,state,text,hidden";
3393             source: "elm";
3394             action:  STATE_SET "default" 0.0;
3395             target: "elm.text";
3396          }
3397          program { name: "icon_show";
3398             signal: "elm,state,icon,visible";
3399             source: "elm";
3400             action:  STATE_SET "visible" 0.0;
3401             target: "elm.swallow.content";
3402          }
3403          program { name: "icon_hide";
3404             signal: "elm,state,icon,hidden";
3405             source: "elm";
3406             action:  STATE_SET "default" 0.0;
3407             target: "elm.swallow.content";
3408          }
3409          program { name: "disable";
3410             signal: "elm,state,disabled";
3411             source: "elm";
3412             action: STATE_SET "disabled" 0.0;
3413             target: "togbase";
3414             target: "elm.offtext";
3415             target: "elm.ontext";
3416             target: "disabler";
3417             after: "disable_text";
3418          }
3419          program { name: "disable_text";
3420             script {
3421                new st[31];
3422                new Float:vl;
3423                get_state(PART:"elm.text", st, 30, vl);
3424                if (!strcmp(st, "visible"))
3425                  set_state(PART:"elm.text", "disabled_visible", 0.0);
3426                else
3427                  set_state(PART:"elm.text", "disabled", 0.0);
3428
3429                get_state(PART:"elm.swallow.content", st, 30, vl);
3430                if (!strcmp(st, "visible"))
3431                  set_state(PART:"elm.swallow.content", "disabled_visible", 0.0);
3432                else
3433                  set_state(PART:"elm.swallow.content", "disabled", 0.0);
3434             }
3435          }
3436          program { name: "enable";
3437             signal: "elm,state,enabled";
3438             source: "elm";
3439             action: STATE_SET "default" 0.0;
3440             target: "disabler";
3441             after: "enable_text";
3442          }
3443          program { name: "enable_text";
3444             script {
3445                new st[31];
3446                new Float:vl;
3447                get_state(PART:"elm.text", st, 30, vl);
3448                if (!strcmp(st, "disabled_visible"))
3449                  set_state(PART:"elm.text", "visible", 0.0);
3450                else
3451                  set_state(PART:"elm.text", "default", 0.0);
3452
3453                get_state(PART:"elm.swallow.content", st, 30, vl);
3454                if (!strcmp(st, "visible"))
3455                  set_state(PART:"elm.swallow.content", "visible", 0.0);
3456                else
3457                  set_state(PART:"elm.swallow.content", "default", 0.0);
3458             }
3459          }
3460       }
3461    }
3462
3463 ///////////////////////////////////////////////////////////////////////////////
3464    group { name: "elm/clock/flipdigit/default";
3465       images {
3466          image: "flip_base.png" COMP;
3467          image: "flip_base_shad.png" COMP;
3468          image: "flip_shad.png" COMP;
3469          image: "flip_0t.png" COMP;
3470          image: "flip_0b.png" COMP;
3471          image: "flip_1t.png" COMP;
3472          image: "flip_1b.png" COMP;
3473          image: "flip_2t.png" COMP;
3474          image: "flip_2b.png" COMP;
3475          image: "flip_3t.png" COMP;
3476          image: "flip_3b.png" COMP;
3477          image: "flip_4t.png" COMP;
3478          image: "flip_4b.png" COMP;
3479          image: "flip_5t.png" COMP;
3480          image: "flip_5b.png" COMP;
3481          image: "flip_6t.png" COMP;
3482          image: "flip_6b.png" COMP;
3483          image: "flip_7t.png" COMP;
3484          image: "flip_7b.png" COMP;
3485          image: "flip_8t.png" COMP;
3486          image: "flip_8b.png" COMP;
3487          image: "flip_9t.png" COMP;
3488          image: "flip_9b.png" COMP;
3489          image: "arrow_up.png" COMP;
3490          image: "arrow_down.png" COMP;
3491       }
3492       script {
3493          public v0_cur, v0_pre, v0_lock, v0_next;
3494
3495        public animator2(val, Float:pos) {
3496           new st1[11], st2[11], v;
3497
3498           v = get_int(v0_cur);
3499           snprintf(st1, 10, "%ih", v);
3500           snprintf(st2, 10, "%i", v);
3501           set_tween_state(PART:"bot", pos, st1, 0.0, st2, 0.0);
3502           set_tween_state(PART:"sh", pos, "half", 0.0, "full", 0.0);
3503           if (pos >= 1.0) {
3504              set_state(PART:"sh", "default", 0.0);
3505              set_int(v0_lock, 0);
3506              v = get_int(v0_next);
3507              if (v >= 0) {
3508                 set_int(v0_next, -1);
3509                 message(MSG_INT, 1, v);
3510              }
3511           }
3512        }
3513        public animator1(val, Float:pos) {
3514           new st1[11], st2[11], v;
3515
3516           v = get_int(v0_pre);
3517           snprintf(st1, 10, "%i", v);
3518           snprintf(st2, 10, "%ih", v);
3519           set_tween_state(PART:"top", pos, st1, 0.0, st2, 0.0);
3520           set_tween_state(PART:"sh", pos, "default", 0.0, "half", 0.0);
3521           if (pos >= 1.0) anim(0.2, "animator2", val);
3522        }
3523        public message(Msg_Type:type, id, ...) {
3524           if ((type == MSG_INT) && (id == 1)) {
3525              new value, v, buf[11];
3526
3527              value = getarg(2);
3528              if (get_int(v0_lock) == 1) {
3529                 set_int(v0_next, value);
3530                 return;
3531              }
3532              v = get_int(v0_cur);
3533              set_int(v0_pre, v);
3534              set_int(v0_cur, value);
3535              set_int(v0_lock, 1);
3536              snprintf(buf, 10, "%i", get_int(v0_pre));
3537              set_state(PART:"bot0", buf, 0.0);
3538              snprintf(buf, 10, "%ih", get_int(v0_cur));
3539              set_state(PART:"bot", buf, 0.0);
3540              snprintf(buf, 10, "%i", get_int(v0_cur));
3541              set_state(PART:"top0", buf, 0.0);
3542              snprintf(buf, 10, "%i", get_int(v0_pre));
3543              set_state(PART:"top", buf, 0.0);
3544              set_state(PART:"sh", "default", 0.0);
3545              anim(0.2, "animator1", 1);
3546           }
3547        }
3548       }
3549       parts {
3550          part { name: "shad";
3551             mouse_events: 0;
3552             description { state: "default" 0.0;
3553                rel1.offset: -4 -4;
3554                rel1.to: "base";
3555                rel2.offset: 3 3;
3556                rel2.to: "base";
3557                image {
3558                   normal: "flip_base_shad.png";
3559                   border: 8 8 8 8;
3560                }
3561             }
3562          }
3563          part { name: "base";
3564             scale: 1;
3565             description { state: "default" 0.0;
3566                rel1.offset: 4 4;
3567                rel2.offset: -5 -5;
3568                // FIXME 48x96 should be the native pixel design, right now
3569                // its 80x160. fix int he artwork later
3570                min: 24 48;
3571                aspect: 0.5 0.5;
3572 //             max: 24 48;
3573                image.normal: "flip_base.png";
3574             }
3575          }
3576          part { name: "b";
3577             type: RECT;
3578             mouse_events: 1;
3579             description { state: "default" 0.0;
3580                visible: 0;
3581                rel1.to: "base";
3582                rel1.relative: 0.0 0.5;
3583                rel2.to: "base";
3584                color: 0 0 0 0;
3585             }
3586             description { state: "visible" 0.0;
3587                inherit: "default" 0.0;
3588                visible: 1;
3589             }
3590          }
3591          part { name: "t";
3592             type: RECT;
3593             mouse_events: 1;
3594             description { state: "default" 0.0;
3595                visible: 0;
3596                rel1.to: "base";
3597                rel2.to: "base";
3598                rel2.relative: 1.0 0.5;
3599                color: 0 0 0 0;
3600             }
3601             description { state: "visible" 0.0;
3602                inherit: "default" 0.0;
3603                visible: 1;
3604             }
3605          }
3606          part { name: "bot0";
3607             mouse_events: 0;
3608             description { state: "default" 0.0;
3609                rel1.to: "b";
3610                rel2.to: "b";
3611                image.normal: "flip_0b.png";
3612             }
3613             description { state: "0" 0.0;
3614                inherit: "default" 0.0;
3615                image.normal: "flip_0b.png";
3616             }
3617             description { state: "1" 0.0;
3618                inherit: "default" 0.0;
3619                image.normal: "flip_1b.png";
3620             }
3621             description { state: "2" 0.0;
3622                inherit: "default" 0.0;
3623                image.normal: "flip_2b.png";
3624             }
3625             description { state: "3" 0.0;
3626                inherit: "default" 0.0;
3627                image.normal: "flip_3b.png";
3628             }
3629             description { state: "4" 0.0;
3630                inherit: "default" 0.0;
3631                image.normal: "flip_4b.png";
3632             }
3633             description { state: "5" 0.0;
3634                inherit: "default" 0.0;
3635                image.normal: "flip_5b.png";
3636             }
3637             description { state: "6" 0.0;
3638                inherit: "default" 0.0;
3639                image.normal: "flip_6b.png";
3640             }
3641             description { state: "7" 0.0;
3642                inherit: "default" 0.0;
3643                image.normal: "flip_7b.png";
3644             }
3645             description { state: "8" 0.0;
3646                inherit: "default" 0.0;
3647                image.normal: "flip_8b.png";
3648             }
3649             description { state: "9" 0.0;
3650                inherit: "default" 0.0;
3651                image.normal: "flip_9b.png";
3652             }
3653          }
3654          part { name: "sh";
3655             mouse_events: 0;
3656             description { state: "default" 0.0;
3657                rel1.to: "b";
3658                rel2.to: "b";
3659                rel2.relative: 1.0 0.0;
3660                image.normal: "flip_shad.png";
3661             }
3662             description { state: "half" 0.0;
3663                inherit: "default" 0.0;
3664                rel2.relative: 1.0 0.5;
3665             }
3666             description { state: "full" 0.0;
3667                inherit: "default" 0.0;
3668                rel2.relative: 1.0 1.0;
3669             }
3670          }
3671          part { name: "bot";
3672             mouse_events: 0;
3673             description { state: "default" 0.0;
3674                visible: 1;
3675                rel1.to: "b";
3676                rel2.to: "b";
3677                image.normal: "flip_0b.png";
3678             }
3679             description { state: "0" 0.0;
3680                inherit: "default" 0.0;
3681                visible: 1;
3682                rel2.relative: 1.0 1.0;
3683                image.normal: "flip_0b.png";
3684             }
3685             description { state: "0h" 0.0;
3686                inherit: "default" 0.0;
3687                visible: 0;
3688                rel2.relative: 1.0 0.0;
3689                image.normal: "flip_0b.png";
3690             }
3691             description { state: "1" 0.0;
3692                inherit: "default" 0.0;
3693                visible: 1;
3694                rel2.relative: 1.0 1.0;
3695                image.normal: "flip_1b.png";
3696             }
3697             description { state: "1h" 0.0;
3698                inherit: "default" 0.0;
3699                visible: 0;
3700                rel2.relative: 1.0 0.0;
3701                image.normal: "flip_1b.png";
3702             }
3703             description { state: "2" 0.0;
3704                inherit: "default" 0.0;
3705                visible: 1;
3706                rel2.relative: 1.0 1.0;
3707                image.normal: "flip_2b.png";
3708             }
3709             description { state: "2h" 0.0;
3710                inherit: "default" 0.0;
3711                visible: 0;
3712                rel2.relative: 1.0 0.0;
3713                image.normal: "flip_2b.png";
3714             }
3715             description { state: "3" 0.0;
3716                inherit: "default" 0.0;
3717                visible: 1;
3718                rel2.relative: 1.0 1.0;
3719                image.normal: "flip_3b.png";
3720             }
3721             description { state: "3h" 0.0;
3722                inherit: "default" 0.0;
3723                visible: 0;
3724                rel2.relative: 1.0 0.0;
3725                image.normal: "flip_3b.png";
3726             }
3727             description { state: "4" 0.0;
3728                inherit: "default" 0.0;
3729                visible: 1;
3730                rel2.relative: 1.0 1.0;
3731                image.normal: "flip_4b.png";
3732             }
3733             description { state: "4h" 0.0;
3734                inherit: "default" 0.0;
3735                visible: 0;
3736                rel2.relative: 1.0 0.0;
3737                image.normal: "flip_4b.png";
3738             }
3739             description { state: "5" 0.0;
3740                inherit: "default" 0.0;
3741                visible: 1;
3742                rel2.relative: 1.0 1.0;
3743                image.normal: "flip_5b.png";
3744             }
3745             description { state: "5h" 0.0;
3746                inherit: "default" 0.0;
3747                visible: 0;
3748                rel2.relative: 1.0 0.0;
3749                image.normal: "flip_5b.png";
3750             }
3751             description { state: "6" 0.0;
3752                inherit: "default" 0.0;
3753                visible: 1;
3754                rel2.relative: 1.0 1.0;
3755                image.normal: "flip_6b.png";
3756             }
3757             description { state: "6h" 0.0;
3758                inherit: "default" 0.0;
3759                visible: 0;
3760                rel2.relative: 1.0 0.0;
3761                image.normal: "flip_6b.png";
3762             }
3763             description { state: "7" 0.0;
3764                inherit: "default" 0.0;
3765                visible: 1;
3766                rel2.relative: 1.0 1.0;
3767                image.normal: "flip_7b.png";
3768             }
3769             description { state: "7h" 0.0;
3770                inherit: "default" 0.0;
3771                visible: 0;
3772                rel2.relative: 1.0 0.0;
3773                image.normal: "flip_7b.png";
3774             }
3775             description { state: "8" 0.0;
3776                inherit: "default" 0.0;
3777                visible: 1;
3778                rel2.relative: 1.0 1.0;
3779                image.normal: "flip_8b.png";
3780             }
3781             description { state: "8h" 0.0;
3782                inherit: "default" 0.0;
3783                visible: 0;
3784                rel2.relative: 1.0 0.0;
3785                image.normal: "flip_8b.png";
3786             }
3787             description { state: "9" 0.0;
3788                inherit: "default" 0.0;
3789                visible: 1;
3790                rel2.relative: 1.0 1.0;
3791                image.normal: "flip_9b.png";
3792             }
3793             description { state: "9h" 0.0;
3794                inherit: "default" 0.0;
3795                visible: 0;
3796                rel2.relative: 1.0 0.0;
3797                image.normal: "flip_9b.png";
3798             }
3799          }
3800          part { name: "top0";
3801             mouse_events: 0;
3802             description { state: "default" 0.0;
3803                rel1.to: "t";
3804                rel2.to: "t";
3805                image.normal: "flip_0t.png";
3806             }
3807             description { state: "0" 0.0;
3808                inherit: "default" 0.0;
3809                image.normal: "flip_0t.png";
3810             }
3811             description { state: "1" 0.0;
3812                inherit: "default" 0.0;
3813                image.normal: "flip_1t.png";
3814             }
3815             description { state: "2" 0.0;
3816                inherit: "default" 0.0;
3817                image.normal: "flip_2t.png";
3818             }
3819             description { state: "3" 0.0;
3820                inherit: "default" 0.0;
3821                image.normal: "flip_3t.png";
3822             }
3823             description { state: "4" 0.0;
3824                inherit: "default" 0.0;
3825                image.normal: "flip_4t.png";
3826             }
3827             description { state: "5" 0.0;
3828                inherit: "default" 0.0;
3829                image.normal: "flip_5t.png";
3830             }
3831             description { state: "6" 0.0;
3832                inherit: "default" 0.0;
3833                image.normal: "flip_6t.png";
3834             }
3835             description { state: "7" 0.0;
3836                inherit: "default" 0.0;
3837                image.normal: "flip_7t.png";
3838             }
3839             description { state: "8" 0.0;
3840                inherit: "default" 0.0;
3841                image.normal: "flip_8t.png";
3842             }
3843             description { state: "9" 0.0;
3844                inherit: "default" 0.0;
3845                image.normal: "flip_9t.png";
3846             }
3847          }
3848          part { name: "top";
3849             mouse_events: 0;
3850             description { state: "default" 0.0;
3851                visible: 1;
3852                rel1.to: "t";
3853                rel2.to: "t";
3854                image.normal: "flip_0t.png";
3855             }
3856             description { state: "0" 0.0;
3857                inherit: "default" 0.0;
3858                visible: 1;
3859                rel1.relative: 0.0 0.0;
3860                image.normal: "flip_0t.png";
3861             }
3862             description { state: "0h" 0.0;
3863                inherit: "default" 0.0;
3864                color: 128 128 128 255;
3865                visible: 0;
3866                rel1.relative: 0.0 1.0;
3867                image.normal: "flip_0t.png";
3868             }
3869             description { state: "1" 0.0;
3870                inherit: "default" 0.0;
3871                visible: 1;
3872                rel1.relative: 0.0 0.0;
3873                image.normal: "flip_1t.png";
3874             }
3875             description { state: "1h" 0.0;
3876                inherit: "default" 0.0;
3877                color: 128 128 128 255;
3878                visible: 0;
3879                rel1.relative: 0.0 1.0;
3880                image.normal: "flip_1t.png";
3881             }
3882             description { state: "2" 0.0;
3883                inherit: "default" 0.0;
3884                visible: 1;
3885                rel1.relative: 0.0 0.0;
3886                image.normal: "flip_2t.png";
3887             }
3888             description { state: "2h" 0.0;
3889                inherit: "default" 0.0;
3890                color: 128 128 128 255;
3891                visible: 0;
3892                rel1.relative: 0.0 1.0;
3893                image.normal: "flip_2t.png";
3894             }
3895             description { state: "3" 0.0;
3896                inherit: "default" 0.0;
3897                visible: 1;
3898                rel1.relative: 0.0 0.0;
3899                image.normal: "flip_3t.png";
3900             }
3901             description { state: "3h" 0.0;
3902                inherit: "default" 0.0;
3903                color: 128 128 128 255;
3904                visible: 0;
3905                rel1.relative: 0.0 1.0;
3906                image.normal: "flip_3t.png";
3907             }
3908             description { state: "4" 0.0;
3909                inherit: "default" 0.0;
3910                visible: 1;
3911                rel1.relative: 0.0 0.0;
3912                image.normal: "flip_4t.png";
3913             }
3914             description { state: "4h" 0.0;
3915                inherit: "default" 0.0;
3916                color: 128 128 128 255;
3917                visible: 0;
3918                rel1.relative: 0.0 1.0;
3919                image.normal: "flip_4t.png";
3920             }
3921             description { state: "5" 0.0;
3922                inherit: "default" 0.0;
3923                visible: 1;
3924                rel1.relative: 0.0 0.0;
3925                image.normal: "flip_5t.png";
3926             }
3927             description { state: "5h" 0.0;
3928                inherit: "default" 0.0;
3929                color: 128 128 128 255;
3930                visible: 0;
3931                rel1.relative: 0.0 1.0;
3932                image.normal: "flip_5t.png";
3933             }
3934             description { state: "6" 0.0;
3935                inherit: "default" 0.0;
3936                visible: 1;
3937                rel1.relative: 0.0 0.0;
3938                image.normal: "flip_6t.png";
3939             }
3940             description { state: "6h" 0.0;
3941                inherit: "default" 0.0;
3942                color: 128 128 128 255;
3943                visible: 0;
3944                rel1.relative: 0.0 1.0;
3945                image.normal: "flip_6t.png";
3946             }
3947             description { state: "7" 0.0;
3948                inherit: "default" 0.0;
3949                visible: 1;
3950                rel1.relative: 0.0 0.0;
3951                image.normal: "flip_7t.png";
3952             }
3953             description { state: "7h" 0.0;
3954                inherit: "default" 0.0;
3955                color: 128 128 128 255;
3956                visible: 0;
3957                rel1.relative: 0.0 1.0;
3958                image.normal: "flip_7t.png";
3959             }
3960             description { state: "8" 0.0;
3961                inherit: "default" 0.0;
3962                visible: 1;
3963                rel1.relative: 0.0 0.0;
3964                image.normal: "flip_8t.png";
3965             }
3966             description { state: "8h" 0.0;
3967                inherit: "default" 0.0;
3968                color: 128 128 128 255;
3969                visible: 0;
3970                rel1.relative: 0.0 1.0;
3971                image.normal: "flip_8t.png";
3972             }
3973             description { state: "9" 0.0;
3974                inherit: "default" 0.0;
3975                visible: 1;
3976                rel1.relative: 0.0 0.0;
3977                image.normal: "flip_9t.png";
3978             }
3979             description { state: "9h" 0.0;
3980                inherit: "default" 0.0;
3981                color: 128 128 128 255;
3982                visible: 0;
3983                rel1.relative: 0.0 1.0;
3984                image.normal: "flip_9t.png";
3985             }
3986          }
3987          part { name: "atop";
3988             mouse_events: 0;
3989             scale: 1;
3990             description { state: "default" 0.0;
3991                visible: 0;
3992                min: 15 15;
3993                max: 15 15;
3994                align: 0.5 0.0;
3995                rel1.to: "t";
3996                rel2.to: "t";
3997                image.normal: "arrow_up.png";
3998             }
3999             description { state: "visible" 0.0;
4000                inherit: "default" 0.0;
4001                visible: 1;
4002             }
4003          }
4004          part { name: "abot";
4005             mouse_events: 0;
4006             scale: 1;
4007             description { state: "default" 0.0;
4008                visible: 0;
4009                min: 15 15;
4010                max: 15 15;
4011                align: 0.5 1.0;
4012                rel1.to: "b";
4013                rel2.to: "b";
4014                image.normal: "arrow_down.png";
4015             }
4016             description { state: "visible" 0.0;
4017                inherit: "default" 0.0;
4018                visible: 1;
4019             }
4020          }
4021       }
4022       programs {
4023          program { name: "load";
4024             signal: "load";
4025             source: "";
4026             script {
4027                set_int(v0_cur, 0);
4028                set_int(v0_pre, 0);
4029                set_int(v0_lock, 0);
4030                set_int(v0_next, -1);
4031             }
4032          }
4033          program { name: "edit_on";
4034             signal: "elm,state,edit,on";
4035             source: "elm";
4036             action: STATE_SET "visible" 0.0;
4037             target: "atop";
4038             target: "abot";
4039             target: "t";
4040             target: "b";
4041          }
4042          program { name: "edit_off";
4043             signal: "elm,state,edit,off";
4044             source: "elm";
4045             action: STATE_SET "default" 0.0;
4046             target: "atop";
4047             target: "abot";
4048             target: "t";
4049             target: "b";
4050          }
4051          program { name: "up";
4052             signal: "mouse,down,1";
4053             source: "t";
4054             action: SIGNAL_EMIT "elm,action,up,start" "";
4055          }
4056          program { name: "up,stop";
4057             signal: "mouse,up,1";
4058             source: "t";
4059             action: SIGNAL_EMIT "elm,action,up,stop" "";
4060          }
4061          program { name: "down";
4062             signal: "mouse,down,1";
4063             source: "b";
4064             action: SIGNAL_EMIT "elm,action,down,start" "";
4065          }
4066          program { name: "down,stop";
4067             signal: "mouse,up,1";
4068             source: "b";
4069             action: SIGNAL_EMIT "elm,action,down,stop" "";
4070          }
4071       }
4072    }
4073
4074 ///////////////////////////////////////////////////////////////////////////////
4075    group { name: "elm/clock/flipampm/default";
4076       images {
4077          image: "flip_base.png" COMP;
4078          image: "flip_base_shad.png" COMP;
4079          image: "flip_shad.png" COMP;
4080          image: "flip_amt.png" COMP;
4081          image: "flip_amb.png" COMP;
4082          image: "flip_pmt.png" COMP;
4083          image: "flip_pmb.png" COMP;
4084          image: "arrow_up.png" COMP;
4085          image: "arrow_down.png" COMP;
4086       }
4087       script {
4088          public v0_cur, v0_pre, v0_lock, v0_next;
4089
4090        public animator2(val, Float:pos) {
4091           new st1[11], st2[11], v;
4092
4093           v = get_int(v0_cur);
4094           snprintf(st1, 10, "%ih", v);
4095           snprintf(st2, 10, "%i", v);
4096           set_tween_state(PART:"bot", pos, st1, 0.0, st2, 0.0);
4097           set_tween_state(PART:"sh", pos, "half", 0.0, "full", 0.0);
4098           if (pos >= 1.0) {
4099              set_state(PART:"sh", "default", 0.0);
4100              set_int(v0_lock, 0);
4101              v = get_int(v0_next);
4102              if (v >= 0) {
4103                 set_int(v0_next, -1);
4104                 message(MSG_INT, 1, v);
4105              }
4106           }
4107        }
4108        public animator1(val, Float:pos) {
4109           new st1[11], st2[11], v;
4110
4111           v = get_int(v0_pre);
4112           snprintf(st1, 10, "%i", v);
4113           snprintf(st2, 10, "%ih", v);
4114           set_tween_state(PART:"top", pos, st1, 0.0, st2, 0.0);
4115           set_tween_state(PART:"sh", pos, "default", 0.0, "half", 0.0);
4116           if (pos >= 1.0) anim(0.2, "animator2", val);
4117        }
4118        public message(Msg_Type:type, id, ...) {
4119           if ((type == MSG_INT) && (id == 1)) {
4120              new value, v, buf[11];
4121
4122              value = getarg(2);
4123              if (get_int(v0_lock) == 1) {
4124                 set_int(v0_next, value);
4125                 return;
4126              }
4127              v = get_int(v0_cur);
4128              set_int(v0_pre, v);
4129              set_int(v0_cur, value);
4130              set_int(v0_lock, 1);
4131              snprintf(buf, 10, "%i", get_int(v0_pre));
4132              set_state(PART:"bot0", buf, 0.0);
4133              snprintf(buf, 10, "%ih", get_int(v0_cur));
4134              set_state(PART:"bot", buf, 0.0);
4135              snprintf(buf, 10, "%i", get_int(v0_cur));
4136              set_state(PART:"top0", buf, 0.0);
4137              snprintf(buf, 10, "%i", get_int(v0_pre));
4138              set_state(PART:"top", buf, 0.0);
4139              set_state(PART:"sh", "default", 0.0);
4140              anim(0.2, "animator1", 1);
4141           }
4142        }
4143       }
4144       parts {
4145          part { name: "shad";
4146             mouse_events: 0;
4147             description { state: "default" 0.0;
4148                rel1.offset: -4 -4;
4149                rel1.to: "base";
4150                rel2.offset: 3 3;
4151                rel2.to: "base";
4152                image {
4153                   normal: "flip_base_shad.png";
4154                   border: 8 8 8 8;
4155                }
4156             }
4157          }
4158          part { name: "base";
4159             mouse_events: 0;
4160             scale: 1;
4161             description { state: "default" 0.0;
4162                rel1.offset: 4 4;
4163                rel2.offset: -5 -5;
4164                // FIXME 48x96 should be the native pixel design, right now
4165                // its 80x160. fix int he artwork later
4166                aspect: 0.5 0.5;
4167                min: 24 48;
4168 //             max: 24 48;
4169                image.normal: "flip_base.png";
4170             }
4171          }
4172          part { name: "b";
4173             type: RECT;
4174             mouse_events: 1;
4175             description { state: "default" 0.0;
4176                rel1.to: "base";
4177                rel1.relative: 0.0 0.5;
4178                rel2.to: "base";
4179                color: 0 0 0 0;
4180             }
4181          }
4182          part { name: "t";
4183             type: RECT;
4184             mouse_events: 1;
4185             description { state: "default" 0.0;
4186                rel1.to: "base";
4187                rel2.to: "base";
4188                rel2.relative: 1.0 0.5;
4189                color: 0 0 0 0;
4190             }
4191          }
4192          part { name: "bot0";
4193             mouse_events: 0;
4194             description { state: "default" 0.0;
4195                rel1.to: "b";
4196                rel2.to: "b";
4197                image.normal: "flip_amb.png";
4198             }
4199             description { state: "0" 0.0;
4200                inherit: "default" 0.0;
4201                image.normal: "flip_amb.png";
4202             }
4203             description { state: "1" 0.0;
4204                inherit: "default" 0.0;
4205                image.normal: "flip_pmb.png";
4206             }
4207          }
4208          part { name: "sh";
4209             mouse_events: 0;
4210             description { state: "default" 0.0;
4211                rel1.to: "b";
4212                rel2.to: "b";
4213                rel2.relative: 1.0 0.0;
4214                image.normal: "flip_shad.png";
4215             }
4216             description { state: "half" 0.0;
4217                inherit: "default" 0.0;
4218                rel2.relative: 1.0 0.5;
4219             }
4220             description { state: "full" 0.0;
4221                inherit: "default" 0.0;
4222                rel2.relative: 1.0 1.0;
4223             }
4224          }
4225          part { name: "bot";
4226             mouse_events: 0;
4227             description { state: "default" 0.0;
4228                visible: 1;
4229                rel1.to: "b";
4230                rel2.to: "b";
4231                image.normal: "flip_amb.png";
4232             }
4233             description { state: "0" 0.0;
4234                inherit: "default" 0.0;
4235                visible: 1;
4236                rel2.relative: 1.0 1.0;
4237                image.normal: "flip_amb.png";
4238             }
4239             description { state: "0h" 0.0;
4240                inherit: "default" 0.0;
4241                visible: 0;
4242                rel2.relative: 1.0 0.0;
4243                image.normal: "flip_amb.png";
4244             }
4245             description { state: "1" 0.0;
4246                inherit: "default" 0.0;
4247                visible: 1;
4248                rel2.relative: 1.0 1.0;
4249                image.normal: "flip_pmb.png";
4250             }
4251             description { state: "1h" 0.0;
4252                inherit: "default" 0.0;
4253                visible: 0;
4254                rel2.relative: 1.0 0.0;
4255                image.normal: "flip_pmb.png";
4256             }
4257          }
4258          part { name: "top0";
4259             mouse_events: 0;
4260             description { state: "default" 0.0;
4261                rel1.to: "t";
4262                rel2.to: "t";
4263                image.normal: "flip_amt.png";
4264             }
4265             description { state: "0" 0.0;
4266                inherit: "default" 0.0;
4267                image.normal: "flip_amt.png";
4268             }
4269             description { state: "1" 0.0;
4270                inherit: "default" 0.0;
4271                image.normal: "flip_pmt.png";
4272             }
4273          }
4274          part { name: "top";
4275             mouse_events: 0;
4276             description { state: "default" 0.0;
4277                visible: 1;
4278                rel1.to: "t";
4279                rel2.to: "t";
4280                image.normal: "flip_amt.png";
4281             }
4282             description { state: "0" 0.0;
4283                inherit: "default" 0.0;
4284                visible: 1;
4285                rel1.relative: 0.0 0.0;
4286                image.normal: "flip_amt.png";
4287             }
4288             description { state: "0h" 0.0;
4289                inherit: "default" 0.0;
4290                color: 128 128 128 255;
4291                visible: 0;
4292                rel1.relative: 0.0 1.0;
4293                image.normal: "flip_amt.png";
4294             }
4295             description { state: "1" 0.0;
4296                inherit: "default" 0.0;
4297                visible: 1;
4298                rel1.relative: 0.0 0.0;
4299                image.normal: "flip_pmt.png";
4300             }
4301             description { state: "1h" 0.0;
4302                inherit: "default" 0.0;
4303                color: 128 128 128 255;
4304                visible: 0;
4305                rel1.relative: 0.0 1.0;
4306                image.normal: "flip_pmt.png";
4307             }
4308          }
4309          part { name: "atop";
4310             mouse_events: 0;
4311             scale: 1;
4312             description { state: "default" 0.0;
4313                visible: 0;
4314                min: 15 15;
4315                max: 15 15;
4316                align: 0.5 0.0;
4317                rel1.to: "t";
4318                rel2.to: "t";
4319                image.normal: "arrow_up.png";
4320             }
4321             description { state: "visible" 0.0;
4322                inherit: "default" 0.0;
4323                visible: 1;
4324             }
4325          }
4326          part { name: "abot";
4327             mouse_events: 0;
4328             scale: 1;
4329             description { state: "default" 0.0;
4330                visible: 0;
4331                min: 15 15;
4332                max: 15 15;
4333                align: 0.5 1.0;
4334                rel1.to: "b";
4335                rel2.to: "b";
4336                image.normal: "arrow_down.png";
4337             }
4338             description { state: "visible" 0.0;
4339                inherit: "default" 0.0;
4340                visible: 1;
4341             }
4342          }
4343       }
4344       programs {
4345          program { name: "load";
4346             signal: "load";
4347             source: "";
4348             script {
4349                set_int(v0_cur, 0);
4350                set_int(v0_pre, 0);
4351                set_int(v0_lock, 0);
4352                set_int(v0_next, -1);
4353             }
4354          }
4355          program { name: "edit_on";
4356             signal: "elm,state,edit,on";
4357             source: "elm";
4358             action: STATE_SET "visible" 0.0;
4359             target: "atop";
4360             target: "abot";
4361          }
4362 /*
4363          program { name: "edit_off";
4364             signal: "elm,state,edit,off";
4365             source: "elm";
4366             action: STATE_SET "default" 0.0;
4367             target: "atop";
4368             target: "abot";
4369          }
4370  */
4371          program { name: "up";
4372             signal: "mouse,down,1";
4373             source: "t";
4374             action: SIGNAL_EMIT "elm,action,up,start" "";
4375          }
4376          program { name: "up,stop";
4377             signal: "mouse,up,1";
4378             source: "t";
4379             action: SIGNAL_EMIT "elm,action,up,stop" "";
4380          }
4381          program { name: "down";
4382             signal: "mouse,down,1";
4383             source: "b";
4384             action: SIGNAL_EMIT "elm,action,down,start" "";
4385          }
4386          program { name: "down,stop";
4387             signal: "mouse,up,1";
4388             source: "b";
4389             action: SIGNAL_EMIT "elm,action,down,stop" "";
4390          }
4391       }
4392    }
4393
4394    ///////////////////////////////////////////////////////////////////////////////
4395    group { name: "elm/menu/item/default";
4396        images {
4397            image: "bt_base1.png" COMP;
4398            image: "bt_base2.png" COMP;
4399            image: "bt_hilight.png" COMP;
4400            image: "bt_shine.png" COMP;
4401            image: "bt_glow.png" COMP;
4402            image: "bt_dis_base.png" COMP;
4403            image: "bt_dis_hilight.png" COMP;
4404        }
4405        script {
4406             public menu_text_visible; //0:hide (default), 1:visible
4407             public menu_disable; //0:enable, 1:disable
4408        }
4409        parts {
4410            part { name: "item_image";
4411                mouse_events: 1;
4412                description { state: "default" 0.0;
4413                    color: 255 255 255 0;
4414                    image {
4415                        normal: "bt_base2.png";
4416                        border: 7 7 7 7;
4417                    }
4418                    image.middle: SOLID;
4419                }
4420                description { state: "visible" 0.0;
4421                    inherit: "default" 0.0;
4422                    color: 255 255 255 255;
4423                }
4424                description { state: "clicked" 0.0;
4425                    inherit: "default" 0.0;
4426                    inherit: "visible" 0.0;
4427                    image.normal: "bt_base1.png";
4428                    image.middle: SOLID;
4429                }
4430                description { state: "disabled" 0.0;
4431                    inherit:  "default" 0.0;
4432                }
4433            }
4434            part { name: "item_image_disabled";
4435                mouse_events: 1;
4436                description { state: "default" 0.0;
4437                    color: 255 255 255 0;
4438                    image {
4439                        normal: "bt_dis_base.png";
4440                        border: 4 4 4 4;
4441                    }
4442                    image.middle: SOLID;
4443                }
4444                description { state: "disabled" 0.0;
4445                    inherit:  "default" 0.0;
4446                    color: 255 255 255 255;
4447                }
4448            }
4449            part { name: "elm.swallow.content";
4450                type: SWALLOW;
4451                description { state: "default" 0.0;
4452                    fixed: 1 0;
4453                    visible: 1;
4454                    align: 0.0 0.5;
4455                    rel1.offset: 4 4;
4456                    rel2.offset: 3 -5;
4457                    rel2.relative: 0.0 1.0;
4458                    aspect: 1.0 1.0;
4459                    aspect_preference: VERTICAL;
4460                    rel2.offset: 4 -5;
4461                }
4462            }
4463            part {
4464                name:          "elm.text";
4465                type:          TEXT;
4466                mouse_events:  0;
4467                scale: 1;
4468                description { state: "default" 0.0;
4469                    visible: 0;
4470                    rel1.to_x: "elm.swallow.content";
4471                    rel1.relative: 1.0 0.0;
4472                    rel1.offset: 5 7;
4473                    rel2.offset: -10 -8;
4474                    color: 0 0 0 255;
4475                    text {
4476                        font:     "Sans,Edje-Vera";
4477                        size:     10;
4478                        min:      1 1;
4479                        align:    0.0 0.5;
4480                        text_class: "menu_item";
4481                    }
4482                }
4483                description { state: "visible" 0.0;
4484                    inherit: "default" 0.0;
4485                    visible: 1;
4486                    text.min: 1 1;
4487                }
4488                description { state: "selected" 0.0;
4489                    inherit: "default" 0.0;
4490                    inherit: "visible" 0.0;
4491                    color: 254 254 254 255;
4492                }
4493                description { state: "disabled" 0.0;
4494                    inherit: "default" 0.0;
4495                    color: 0 0 0 128;
4496                }
4497                description { state: "disabled_visible" 0.0;
4498                    inherit: "default" 0.0;
4499                    inherit: "visible" 0.0;
4500                    color: 0 0 0 128;
4501                }
4502            }
4503            part {         name: "over1";
4504                mouse_events: 0;
4505                description { state: "default" 0.0;
4506                    color: 255 255 255 0;
4507                    rel2.relative: 1.0 0.5;
4508                    image {
4509                        normal: "bt_hilight.png";
4510                        border: 7 7 7 0;
4511                    }
4512                }
4513                description { state: "visible" 0.0;
4514                    inherit:  "default" 0.0;
4515                    color: 255 255 255 255;
4516                }
4517                description { state: "disabled" 0.0;
4518                    inherit:  "default" 0.0;
4519                }
4520            }
4521            part {         name: "over_disabled";
4522                mouse_events: 0;
4523                description { state: "default" 0.0;
4524                    color: 255 255 255 0;
4525                    rel2.relative: 1.0 0.5;
4526                    image {
4527                        normal: "bt_dis_hilight.png";
4528                        border: 4 4 4 0;
4529                    }
4530                }
4531                description { state: "disabled" 0.0;
4532                    inherit:  "default" 0.0;
4533                    color: 255 255 255 255;
4534                }
4535            }
4536            part { name: "over2";
4537                mouse_events: 1;
4538                repeat_events: 1;
4539                ignore_flags: ON_HOLD;
4540                description { state: "default" 0.0;
4541                    image {
4542                        normal: "bt_shine.png";
4543                        border: 7 7 7 7;
4544                    }
4545                }
4546                description { state: "disabled" 0.0;
4547                    inherit:  "default" 0.0;
4548                    visible: 0;
4549                }
4550            }
4551            part { name: "over3";
4552                mouse_events: 1;
4553                repeat_events: 1;
4554                description { state: "default" 0.0;
4555                    color: 255 255 255 0;
4556                    image {
4557                        normal: "bt_glow.png";
4558                        border: 12 12 12 12;
4559                    }
4560                    fill.smooth : 0;
4561                }
4562                description { state: "clicked" 0.0;
4563                    inherit:  "default" 0.0;
4564                    visible: 1;
4565                    color: 255 255 255 255;
4566                }
4567            }
4568            part { name: "disabler";
4569                type: RECT;
4570                description { state: "default" 0.0;
4571                    color: 0 0 0 0;
4572                    visible: 0;
4573                }
4574                description { state: "disabled" 0.0;
4575                    inherit: "default" 0.0;
4576                    visible: 1;
4577                }
4578            }
4579        }
4580        programs {
4581           //
4582            program {
4583                name:   "item_mouse_in";
4584                signal: "mouse,in";
4585                source: "over2";
4586                action: SIGNAL_EMIT "elm,action,activate" "";
4587                after: "item_mouse_in_2";
4588                after: "item_mouse_in_3";
4589            }
4590            program {
4591                name:   "item_mouse_in_2";
4592                transition: DECELERATE 0.5;
4593                script {
4594                    new v, d;
4595                    v = get_int(menu_text_visible);
4596                    d = get_int(menu_disable);
4597
4598                    if (v==1 && d==0)
4599                         run_program(PROGRAM:"selected_text");
4600                }
4601            }
4602            program {
4603                name:   "item_mouse_in_3";
4604                action : STATE_SET "visible" 0.0;
4605                target: "item_image";
4606                target: "over1";
4607                transition: DECELERATE 0.5;
4608            }
4609            program {
4610                name:   "selected_text";
4611                action: STATE_SET "selected" 0.0;
4612                target: "elm.text";
4613                transition: DECELERATE 0.5;
4614            }
4615            //
4616
4617            //
4618            program {
4619                name:   "item_mouse_out";
4620                signal: "mouse,out";
4621                source: "over2";
4622                after: "item_mouse_out_2";
4623                after: "item_mouse_out_3";
4624            }
4625            program {
4626                name:   "item_mouse_out_2";
4627                transition: DECELERATE 0.5;
4628                script {
4629                    new v, d;
4630                    v = get_int(menu_text_visible);
4631                    d = get_int(menu_disable);
4632
4633                    if (v==1 && d==0)
4634                         run_program(PROGRAM:"visible_text");
4635                }
4636            }
4637            program {
4638                name:   "item_mouse_out_3";
4639                action: STATE_SET "default" 0.0;
4640                target: "item_image";
4641                target: "over1";
4642                transition: DECELERATE 0.5;
4643            }
4644            program {
4645                name:   "visible_text";
4646                action: STATE_SET "visible" 0.0;
4647                target: "elm.text";
4648                transition: DECELERATE 0.5;
4649            }
4650            //
4651
4652            program {
4653                name:   "item_unclick";
4654                signal: "mouse,up,1";
4655                source: "over2";
4656                action: STATE_SET "visible" 0.0;
4657                target: "item_image";
4658            }
4659            program {
4660                name:   "item_click2";
4661                signal: "mouse,down,1";
4662                source: "over3";
4663                action: STATE_SET "clicked" 0.0;
4664                target: "over3";
4665            }
4666            program {
4667                name:   "item_unclick2";
4668                signal: "mouse,up,1";
4669                source: "over3";
4670                action: STATE_SET "default" 0.0;
4671                transition: DECELERATE 0.5;
4672                target: "over3";
4673            }
4674            program {
4675                name:   "item_unclick3";
4676                signal: "mouse,up,1";
4677                source: "over2";
4678                action: SIGNAL_EMIT "elm,action,click" "";
4679            }
4680            program { name: "text_show";
4681                signal: "elm,state,text,visible";
4682                source: "elm";
4683                script {
4684                    set_int(menu_text_visible, 1);
4685                    set_state(PART:"elm.text", "visible", 0.0);
4686                }
4687            }
4688            program { name: "text_hide";
4689                signal: "elm,state,text,hidden";
4690                source: "elm";
4691                script {
4692                    set_int(menu_text_visible, 0);
4693                    set_state(PART:"elm.text", "default", 0.0);
4694                }
4695            }
4696            program { name: "disable";
4697                signal: "elm,state,disabled";
4698                source: "elm";
4699                action: STATE_SET "disabled" 0.0;
4700                target: "item_image";
4701                target: "item_image_disabled";
4702                target: "over1";
4703                target: "over2";
4704                target: "over_disabled";
4705                target: "disabler";
4706                after: "disable_text";
4707            }
4708            program { name: "disable_text";
4709                script {
4710                    new v;
4711                    v = get_int(menu_text_visible);
4712                    if (v==1)
4713                     set_state(PART:"elm.text", "disabled_visible", 0.0);
4714                    else if (v==0)
4715                     set_state(PART:"elm.text", "disabled", 0.0);
4716                    set_int(menu_disable, 1);
4717                }
4718            }
4719            program { name: "enable";
4720                signal: "elm,state,enabled";
4721                source: "elm";
4722                action: STATE_SET "default" 0.0;
4723                target: "item_image";
4724                target: "item_image_disabled";
4725                target: "over1";
4726                target: "over2";
4727                target: "over_disabled";
4728                target: "disabler";
4729                after: "enable_text";
4730            }
4731            program { name: "enable_text";
4732                script {
4733                    new v;
4734                    v = get_int(menu_text_visible);
4735                    if (v==1)
4736                     set_state(PART:"elm.text", "visible", 0.0);
4737                    else  if (v==0)
4738                     set_state(PART:"elm.text", "default", 0.0);
4739                    set_int(menu_disable, 0);
4740                }
4741            }
4742        }
4743    }
4744
4745    group { name: "elm/menu/item_with_submenu/default";
4746        images {
4747            image: "bt_base1.png" COMP;
4748            image: "bt_base2.png" COMP;
4749            image: "bt_hilight.png" COMP;
4750            image: "bt_shine.png" COMP;
4751            image: "bt_glow.png" COMP;
4752            image: "bt_dis_base.png" COMP;
4753            image: "bt_dis_hilight.png" COMP;
4754            image: "arrow_right.png" COMP;
4755        }
4756        script {
4757             public menu_text_visible; //0:hide (default), 1:visible
4758             public menu_disable; //0:enable, 1:disable
4759        }
4760        parts {
4761            part { name: "item_image";
4762                mouse_events: 1;
4763                description { state: "default" 0.0;
4764                    color: 255 255 255 0;
4765                    image {
4766                        normal: "bt_base2.png";
4767                        border: 7 7 7 7;
4768                    }
4769                    image.middle: SOLID;
4770                }
4771                description { state: "visible" 0.0;
4772                    inherit: "default" 0.0;
4773                    color: 255 255 255 255;
4774                }
4775                description { state: "clicked" 0.0;
4776                    inherit: "default" 0.0;
4777                    inherit: "visible" 0.0;
4778                    image.normal: "bt_base1.png";
4779                    image.middle: SOLID;
4780                }
4781                description { state: "disabled" 0.0;
4782                    inherit:  "default" 0.0;
4783                }
4784            }
4785            part { name: "item_image_disabled";
4786                mouse_events: 1;
4787                description { state: "default" 0.0;
4788                    color: 255 255 255 0;
4789                    image {
4790                        normal: "bt_dis_base.png";
4791                        border: 4 4 4 4;
4792                    }
4793                    image.middle: SOLID;
4794                }
4795                description { state: "disabled" 0.0;
4796                    inherit:  "default" 0.0;
4797                    color: 255 255 255 255;
4798                }
4799            }
4800            part { name: "arrow";
4801                mouse_events: 1;
4802                description { state: "default" 0.0;
4803                    color: 255 255 255 255;
4804                    align: 1.0 0.5;
4805                    aspect: 1 1;
4806                    aspect_preference: BOTH;
4807                    image {
4808                        normal: "arrow_right.png";
4809                    }
4810                }
4811            }
4812            part { name: "elm.swallow.content";
4813                type: SWALLOW;
4814                description { state: "default" 0.0;
4815                    fixed: 1 0;
4816                    visible: 1;
4817                    align: 0.0 0.5;
4818                    rel1.offset: 4 4;
4819                    rel2.offset: 3 -5;
4820                    rel2.relative: 0.0 1.0;
4821                    aspect: 1.0 1.0;
4822                    aspect_preference: VERTICAL;
4823                    rel2.offset: 4 -5;
4824                }
4825            }
4826            part {
4827                name:          "elm.text";
4828                type:          TEXT;
4829                mouse_events:  0;
4830                scale: 1;
4831                description { state: "default" 0.0;
4832                    visible: 0;
4833                    rel1.to_x: "elm.swallow.content";
4834                    rel1.relative: 1.0 0.0;
4835                    rel1.offset: 5 7;
4836                    rel2.offset: -10 -8;
4837                    color: 0 0 0 255;
4838                    text {
4839                        font:     "Sans,Edje-Vera";
4840                        size:     10;
4841                        min:      1 1;
4842                        align:    0.0 0.5;
4843                        text_class: "menu_item";
4844                    }
4845                }
4846                description { state: "visible" 0.0;
4847                    inherit: "default" 0.0;
4848                    visible: 1;
4849                    text.min: 1 1;
4850                }
4851                description { state: "selected" 0.0;
4852                    inherit: "default" 0.0;
4853                    inherit: "visible" 0.0;
4854                    color: 254 254 254 255;
4855                }
4856                description { state: "disabled" 0.0;
4857                    inherit: "default" 0.0;
4858                    color: 0 0 0 128;
4859                }
4860                description { state: "disabled_visible" 0.0;
4861                    inherit: "default" 0.0;
4862                    inherit: "visible" 0.0;
4863                    color: 0 0 0 128;
4864                }
4865            }
4866            part {         name: "over1";
4867                mouse_events: 0;
4868                description { state: "default" 0.0;
4869                    color: 255 255 255 0;
4870                    rel2.relative: 1.0 0.5;
4871                    image {
4872                        normal: "bt_hilight.png";
4873                        border: 7 7 7 0;
4874                    }
4875                }
4876                description { state: "visible" 0.0;
4877                    inherit:  "default" 0.0;
4878                    color: 255 255 255 255;
4879                }
4880                description { state: "disabled" 0.0;
4881                    inherit:  "default" 0.0;
4882                }
4883            }
4884            part { name: "over_disabled";
4885                mouse_events: 0;
4886                description { state: "default" 0.0;
4887                    color: 255 255 255 0;
4888                    rel2.relative: 1.0 0.5;
4889                    image {
4890                        normal: "bt_dis_hilight.png";
4891                        border: 4 4 4 0;
4892                    }
4893                }
4894                description { state: "disabled" 0.0;
4895                    inherit:  "default" 0.0;
4896                    color: 255 255 255 255;
4897                }
4898            }
4899            part { name: "over2";
4900                mouse_events: 1;
4901                repeat_events: 1;
4902                ignore_flags: ON_HOLD;
4903                description { state: "default" 0.0;
4904                    image {
4905                        normal: "bt_shine.png";
4906                        border: 7 7 7 7;
4907                    }
4908                }
4909                description { state: "disabled" 0.0;
4910                    inherit:  "default" 0.0;
4911                    visible: 0;
4912                }
4913            }
4914            part { name: "over3";
4915                mouse_events: 1;
4916                repeat_events: 1;
4917                description { state: "default" 0.0;
4918                    color: 255 255 255 0;
4919                    image {
4920                        normal: "bt_glow.png";
4921                        border: 12 12 12 12;
4922                    }
4923                    fill.smooth : 0;
4924                }
4925                description { state: "clicked" 0.0;
4926                    inherit:  "default" 0.0;
4927                    visible: 1;
4928                    color: 255 255 255 255;
4929                }
4930            }
4931            part { name: "disabler";
4932                type: RECT;
4933                description { state: "default" 0.0;
4934                    color: 0 0 0 0;
4935                    visible: 0;
4936                }
4937                description { state: "disabled" 0.0;
4938                    inherit: "default" 0.0;
4939                    visible: 1;
4940                }
4941            }
4942        }
4943        programs {
4944            //
4945            program {
4946                name:   "item_mouse_in";
4947                signal: "mouse,in";
4948                source: "over2";
4949                action: SIGNAL_EMIT "elm,action,activate" "";
4950                after: "item_mouse_in_2";
4951                after: "item_mouse_in_3";
4952            }
4953            program {
4954                name:   "item_mouse_in_2";
4955                transition: DECELERATE 0.5;
4956                script {
4957                    new v, d;
4958                    v = get_int(menu_text_visible);
4959                    d = get_int(menu_disable);
4960
4961                    if (v==1 && d==0)
4962                         run_program(PROGRAM:"selected_text");
4963                }
4964            }
4965            program {
4966                name:   "item_mouse_in_3";
4967                action : STATE_SET "visible" 0.0;
4968                target: "item_image";
4969                target: "over1";
4970                transition: DECELERATE 0.5;
4971            }
4972            program {
4973                name:   "selected_text";
4974                action: STATE_SET "selected" 0.0;
4975                target: "elm.text";
4976                transition: DECELERATE 0.5;
4977            }
4978            //
4979
4980            //
4981            program {
4982                name:   "item_mouse_out";
4983                signal: "mouse,out";
4984                source: "over2";
4985                after: "item_mouse_out_2";
4986                after: "item_mouse_out_3";
4987            }
4988            program {
4989                name:   "item_mouse_out_2";
4990                transition: DECELERATE 0.5;
4991                script {
4992                    new v, d;
4993                    v = get_int(menu_text_visible);
4994                    d = get_int(menu_disable);
4995
4996                    if (v==1 && d==0)
4997                         run_program(PROGRAM:"visible_text");
4998                }
4999            }
5000            program {
5001                name:   "item_mouse_out_3";
5002                action: STATE_SET "default" 0.0;
5003                target: "item_image";
5004                target: "over1";
5005                transition: DECELERATE 0.5;
5006            }
5007            program {
5008                name:   "visible_text";
5009                action: STATE_SET "visible" 0.0;
5010                target: "elm.text";
5011                transition: DECELERATE 0.5;
5012            }
5013            //
5014
5015            program {
5016                name:   "item_unclick";
5017                signal: "mouse,up,1";
5018                source: "over2";
5019                action: STATE_SET "visible" 0.0;
5020                target: "item_image";
5021            }
5022            program {
5023                name:   "item_click2";
5024                signal: "mouse,down,1";
5025                source: "over3";
5026                action: STATE_SET "clicked" 0.0;
5027                target: "over3";
5028            }
5029            program {
5030                name:   "item_unclick2";
5031                signal: "mouse,up,1";
5032                source: "over3";
5033                action: STATE_SET "default" 0.0;
5034                transition: DECELERATE 0.5;
5035                target: "over3";
5036            }
5037            program {
5038                name:   "item_unclick3";
5039                signal: "mouse,up,1";
5040                source: "over2";
5041                action: SIGNAL_EMIT "elm,action,click" "";
5042            }
5043            program {
5044                name:   "menu_open";
5045                signal: "mouse,in";
5046                source: "over2";
5047                action: SIGNAL_EMIT "elm,action,open" "";
5048            }
5049             program { name: "text_show";
5050                signal: "elm,state,text,visible";
5051                source: "elm";
5052                script {
5053                    set_int(menu_text_visible, 1);
5054                    set_state(PART:"elm.text", "visible", 0.0);
5055                }
5056            }
5057            program { name: "text_hide";
5058                signal: "elm,state,text,hidden";
5059                source: "elm";
5060                script {
5061                    set_int(menu_text_visible, 0);
5062                    set_state(PART:"elm.text", "default", 0.0);
5063                }
5064            }
5065            program { name: "disable";
5066                signal: "elm,state,disabled";
5067                source: "elm";
5068                action: STATE_SET "disabled" 0.0;
5069                target: "item_image";
5070                target: "item_image_disabled";
5071                target: "over1";
5072                target: "over2";
5073                target: "over_disabled";
5074                target: "disabler";
5075                after: "disable_text";
5076            }
5077            program { name: "disable_text";
5078                script {
5079                    new st[31];
5080                    new Float:vl;
5081                    get_state(PART:"elm.text", st, 30, vl);
5082                    if (!strcmp(st, "visible"))
5083                    set_state(PART:"elm.text", "disabled_visible", 0.0);
5084                    else if (!strcmp(st, "default"))
5085                    set_state(PART:"elm.text", "disabled", 0.0);
5086                }
5087            }
5088            program { name: "enable";
5089                signal: "elm,state,enabled";
5090                source: "elm";
5091                action: STATE_SET "default" 0.0;
5092                target: "item_image";
5093                target: "item_image_disabled";
5094                target: "over1";
5095                target: "over2";
5096                target: "over_disabled";
5097                target: "disabler";
5098                after: "enable_text";
5099            }
5100            program { name: "enable_text";
5101                script {
5102                    new v;
5103                    v = get_int(menu_text_visible);
5104                    if (v==1)
5105                     set_state(PART:"elm.text", "visible", 0.0);
5106                    else  if (v==0)
5107                     set_state(PART:"elm.text", "default", 0.0);
5108                    set_int(menu_disable, 0);
5109                }
5110            }
5111        }
5112    }
5113
5114    group { name: "elm/menu/separator/default";
5115        images {
5116            image: "separator_h.png" COMP;
5117        }
5118        parts {
5119            part { name: "separator"; // separator group
5120                description { state: "default" 0.0;
5121                    min: 2 2;
5122                    rel1.offset: 4 4;
5123                    rel2.offset: -5 -5;
5124                    image {
5125                        normal: "separator_h.png";
5126                    }
5127                    fill {
5128                        smooth: 0;
5129                    }
5130                }
5131            }
5132        }
5133    }
5134 ///////////////////////////////////////////////////////////////////////////////
5135    group { name: "elm/clock/base-all/default";
5136       parts {
5137          part { name: "d0";
5138             type: SWALLOW;
5139             description { state: "default" 0.0;
5140                rel1.relative: 0.0000000 0.0;
5141                rel2.relative: 0.1250000 1.0;
5142             }
5143          }
5144          part { name: "d1";
5145             type: SWALLOW;
5146             description { state: "default" 0.0;
5147                rel1.relative: 0.1250000 0.0;
5148                rel2.relative: 0.2500000 1.0;
5149             }
5150          }
5151          part { name: "c0";
5152             type: SWALLOW;
5153             type: TEXT;
5154             mouse_events:  0;
5155             scale: 1;
5156             description { state: "default" 0.0;
5157                rel1.relative: 0.2500000 0.0;
5158                rel2.relative: 0.3125000 1.0;
5159                color: 0 0 0 255;
5160                text {
5161                   font:     "Sans,Edje-Vera";
5162                   text:     ":";
5163                   size:     10;
5164                   min:      1 1;
5165                   align:    0.5 0.5;
5166                }
5167             }
5168          }
5169          part { name: "d2";
5170             type: SWALLOW;
5171             description { state: "default" 0.0;
5172                rel1.relative: 0.3125000 0.0;
5173                rel2.relative: 0.4375000 1.0;
5174             }
5175          }
5176          part { name: "d3";
5177             type: SWALLOW;
5178             description { state: "default" 0.0;
5179                rel1.relative: 0.4375000 0.0;
5180                rel2.relative: 0.5625000 1.0;
5181             }
5182          }
5183          // (if seconds)
5184          part { name: "c1";
5185             type: SWALLOW;
5186             type: TEXT;
5187             mouse_events:  0;
5188             scale: 1;
5189             description { state: "default" 0.0;
5190                rel1.relative: 0.5625000 0.0;
5191                rel2.relative: 0.6250000 1.0;
5192                color: 0 0 0 255;
5193                text {
5194                   font:     "Sans,Edje-Vera";
5195                   text:     ":";
5196                   size:     10;
5197                   min:      1 1;
5198                   align:    0.5 0.5;
5199                }
5200             }
5201          }
5202          // (if seconds)
5203          part { name: "d4";
5204             type: SWALLOW;
5205             description { state: "default" 0.0;
5206                rel1.relative: 0.6250000 0.0;
5207                rel2.relative: 0.7500000 1.0;
5208             }
5209          }
5210          // (if seconds)
5211          part { name: "d5";
5212             type: SWALLOW;
5213             description { state: "default" 0.0;
5214                rel1.relative: 0.7500000 0.0;
5215                rel2.relative: 0.8750000 1.0;
5216             }
5217          }
5218          // (if am_pm)
5219          part { name: "ampm";
5220             type: SWALLOW;
5221             description { state: "default" 0.0;
5222                rel1.relative: 0.8750000 0.0;
5223                rel2.relative: 1.0 1.0;
5224             }
5225          }
5226       }
5227    }
5228
5229 ///////////////////////////////////////////////////////////////////////////////
5230    group { name: "elm/clock/base-seconds/default";
5231       parts {
5232          part { name: "d0";
5233             type: SWALLOW;
5234             description { state: "default" 0.0;
5235                rel1.relative: 0.000000000 0.0;
5236                rel2.relative: 0.142857143 1.0;
5237             }
5238          }
5239          part { name: "d1";
5240             type: SWALLOW;
5241             description { state: "default" 0.0;
5242                rel1.relative: 0.142857143 0.0;
5243                rel2.relative: 0.285714286 1.0;
5244             }
5245          }
5246          part { name: "c0";
5247             type: SWALLOW;
5248             type: TEXT;
5249             mouse_events:  0;
5250             scale: 1;
5251             description { state: "default" 0.0;
5252                rel1.relative: 0.285714286 0.0;
5253                rel2.relative: 0.357142857 1.0;
5254                color: 0 0 0 255;
5255                text {
5256                   font:     "Sans,Edje-Vera";
5257                   text:     ":";
5258                   size:     10;
5259                   min:      1 1;
5260                   align:    0.5 0.5;
5261                }
5262             }
5263          }
5264          part { name: "d2";
5265             type: SWALLOW;
5266             description { state: "default" 0.0;
5267                rel1.relative: 0.357142857 0.0;
5268                rel2.relative: 0.500000000 1.0;
5269             }
5270          }
5271          part { name: "d3";
5272             type: SWALLOW;
5273             description { state: "default" 0.0;
5274                rel1.relative: 0.500000000 0.0;
5275                rel2.relative: 0.642857143 1.0;
5276             }
5277          }
5278          // (if seconds)
5279          part { name: "c1";
5280             type: SWALLOW;
5281             type: TEXT;
5282             mouse_events:  0;
5283             scale: 1;
5284             description { state: "default" 0.0;
5285                rel1.relative: 0.642857143 0.0;
5286                rel2.relative: 0.714285714 1.0;
5287                color: 0 0 0 255;
5288                text {
5289                   font:     "Sans,Edje-Vera";
5290                   text:     ":";
5291                   size:     10;
5292                   min:      1 1;
5293                   align:    0.5 0.5;
5294                }
5295             }
5296          }
5297          // (if seconds)
5298          part { name: "d4";
5299             type: SWALLOW;
5300             description { state: "default" 0.0;
5301                rel1.relative: 0.714285714 0.0;
5302                rel2.relative: 0.857142857 1.0;
5303             }
5304          }
5305          // (if seconds)
5306          part { name: "d5";
5307             type: SWALLOW;
5308             description { state: "default" 0.0;
5309                rel1.relative: 0.857142857 0.0;
5310                rel2.relative: 1.000000000 1.0;
5311             }
5312          }
5313       }
5314    }
5315
5316 ///////////////////////////////////////////////////////////////////////////////
5317    group { name: "elm/clock/base-am_pm/default";
5318       parts {
5319          part { name: "d0";
5320             type: SWALLOW;
5321             description { state: "default" 0.0;
5322                rel1.relative: 0.000000000 0.0;
5323                rel2.relative: 0.181818182 1.0;
5324             }
5325          }
5326          part { name: "d1";
5327             type: SWALLOW;
5328             description { state: "default" 0.0;
5329                rel1.relative: 0.181818182 0.0;
5330                rel2.relative: 0.363636364 1.0;
5331             }
5332          }
5333          part { name: "c0";
5334             type: SWALLOW;
5335             type: TEXT;
5336             mouse_events:  0;
5337             scale: 1;
5338             description { state: "default" 0.0;
5339                rel1.relative: 0.363636364 0.0;
5340                rel2.relative: 0.454545455 1.0;
5341                color: 0 0 0 255;
5342                text {
5343                   font:     "Sans,Edje-Vera";
5344                   text:     ":";
5345                   size:     10;
5346                   min:      1 1;
5347                   align:    0.5 0.5;
5348                }
5349             }
5350          }
5351          part { name: "d2";
5352             type: SWALLOW;
5353             description { state: "default" 0.0;
5354                rel1.relative: 0.454545455 0.0;
5355                rel2.relative: 0.636363636 1.0;
5356             }
5357          }
5358          part { name: "d3";
5359             type: SWALLOW;
5360             description { state: "default" 0.0;
5361                rel1.relative: 0.636363636 0.0;
5362                rel2.relative: 0.818181818 1.0;
5363             }
5364          }
5365          // (if am_pm)
5366          part { name: "ampm";
5367             type: SWALLOW;
5368             description { state: "default" 0.0;
5369                rel1.relative: 0.818181818 0.0;
5370                rel2.relative: 1.0 1.0;
5371             }
5372          }
5373       }
5374    }
5375
5376 ///////////////////////////////////////////////////////////////////////////////
5377    group { name: "elm/clock/base/default";
5378       parts {
5379          part { name: "d0";
5380             type: SWALLOW;
5381             description { state: "default" 0.0;
5382                rel1.relative: 0.000000000 0.0;
5383                rel2.relative: 0.222222222 1.0;
5384             }
5385          }
5386          part { name: "d1";
5387             type: SWALLOW;
5388             description { state: "default" 0.0;
5389                rel1.relative: 0.222222222 0.0;
5390                rel2.relative: 0.444444444 1.0;
5391             }
5392          }
5393          part { name: "c0";
5394             type: SWALLOW;
5395             type: TEXT;
5396             mouse_events:  0;
5397             scale: 1;
5398             description { state: "default" 0.0;
5399                rel1.relative: 0.444444444 0.0;
5400                rel2.relative: 0.555555556 1.0;
5401                color: 0 0 0 255;
5402                text {
5403                   font:     "Sans,Edje-Vera";
5404                   text:     ":";
5405                   size:     10;
5406                   min:      1 1;
5407                   align:    0.5 0.5;
5408                }
5409             }
5410          }
5411          part { name: "d2";
5412             type: SWALLOW;
5413             description { state: "default" 0.0;
5414                rel1.relative: 0.555555556 0.0;
5415                rel2.relative: 0.777777778 1.0;
5416             }
5417          }
5418          part { name: "d3";
5419             type: SWALLOW;
5420             description { state: "default" 0.0;
5421                rel1.relative: 0.777777778 0.0;
5422                rel2.relative: 1.000000000 1.0;
5423             }
5424          }
5425       }
5426    }
5427
5428 ///////////////////////////////////////////////////////////////////////////////
5429    group { name: "elm/frame/base/default";
5430        images {
5431            image: "frame_1.png" COMP;
5432            image: "frame_2.png" COMP;
5433            image: "dia_grad.png" COMP;
5434        }
5435        parts {
5436            part { name: "base0";
5437                mouse_events:  0;
5438                description { state: "default" 0.0;
5439                    image.normal: "dia_grad.png";
5440                    rel1.to: "over";
5441                    rel2.to: "over";
5442                    fill {
5443                        smooth: 0;
5444                        size {
5445                            relative: 0.0 1.0;
5446                            offset: 64 0;
5447                        }
5448                    }
5449                }
5450            }
5451            part { name: "base";
5452                mouse_events:  0;
5453                description { state:    "default" 0.0;
5454                    rel2.to: "elm.swallow.content";
5455                    rel2.offset: 9 9;
5456                    image {
5457                        normal: "frame_2.png";
5458                        border: 5 5 32 26;
5459                        middle: 0;
5460                    }
5461                    fill.smooth : 0;
5462                }
5463            }
5464            part { name: "elm.text";
5465                type: TEXT;
5466                mouse_events:   0;
5467                scale: 1;
5468                description { state: "default" 0.0;
5469                    align: 0.0 0.0;
5470                    fixed: 0 1;
5471                    rel1 {
5472                        relative: 0.0 0.0;
5473                        offset: 6 6;
5474                    }
5475                    rel2 {
5476                        relative: 1.0 0.0;
5477                        offset: -7 6;
5478                    }
5479                    color: 0 0 0 64;
5480                    text {
5481                        font: "Sans:style=Bold,Edje-Vera-Bold";
5482                        size: 10;
5483                        min: 1 1;
5484                        max: 1 1;
5485                        align: 0.0 0.0;
5486                    }
5487                }
5488            }
5489            part { name: "over";
5490                mouse_events:  0;
5491                description { state:    "default" 0.0;
5492                    rel1.offset: 4 4;
5493                    rel2.to: "elm.swallow.content";
5494                    rel2.offset: 5 5;
5495                    image {
5496                        normal: "frame_1.png";
5497                        border: 2 2 28 22;
5498                        middle: 0;
5499                    }
5500                    fill.smooth : 0;
5501                }
5502            }
5503            part { name: "elm.swallow.content";
5504                type: SWALLOW;
5505                description { state: "default" 0.0;
5506                    align: 0.0 0.0;
5507                    rel1 {
5508                        to_y: "elm.text";
5509                        relative: 0.0 1.0;
5510                        offset: 8 2;
5511                    }
5512                    rel2.offset: -9 -9;
5513                }
5514            }
5515        }
5516    }
5517
5518    group { name: "elm/frame/base/pad_small";
5519        parts {
5520            part { name: "b0";
5521                mouse_events:  0;
5522                type: RECT;
5523                scale: 1;
5524                description { state: "default" 0.0;
5525                    visible: 0;
5526                    min: 4 4;
5527                    max: 4 4;
5528                    align: 0.0 0.0;
5529                }
5530            }
5531            part { name: "b1";
5532                mouse_events:  0;
5533                type: RECT;
5534                scale: 1;
5535                description { state: "default" 0.0;
5536                    visible: 0;
5537                    min: 4 4;
5538                    max: 4 4;
5539                    align: 1.0 1.0;
5540                }
5541            }
5542            part { name: "elm.swallow.content";
5543                type: SWALLOW;
5544                description { state: "default" 0.0;
5545                    rel1 {
5546                        to: "b0";
5547                        relative: 1.0 1.0;
5548                        offset: 0 0;
5549                    }
5550                    rel2 {
5551                        to: "b1";
5552                        relative: 0.0 0.0;
5553                        offset: -1 -1;
5554                    }
5555                }
5556            }
5557        }
5558    }
5559
5560    group { name: "elm/frame/base/pad_medium";
5561        parts {
5562            part { name: "b0";
5563                mouse_events:  0;
5564                type: RECT;
5565                scale: 1;
5566                description { state: "default" 0.0;
5567                    visible: 0;
5568                    min: 8 8;
5569                    max: 8 8;
5570                    align: 0.0 0.0;
5571                }
5572            }
5573            part { name: "b1";
5574                mouse_events:  0;
5575                type: RECT;
5576                scale: 1;
5577                description { state: "default" 0.0;
5578                    visible: 0;
5579                    min: 8 8;
5580                    max: 8 8;
5581                    align: 1.0 1.0;
5582                }
5583            }
5584            part { name: "elm.swallow.content";
5585                type: SWALLOW;
5586                description { state: "default" 0.0;
5587                    rel1 {
5588                        to: "b0";
5589                        relative: 1.0 1.0;
5590                        offset: 0 0;
5591                    }
5592                    rel2 {
5593                        to: "b1";
5594                        relative: 0.0 0.0;
5595                        offset: -1 -1;
5596                    }
5597                }
5598            }
5599        }
5600    }
5601
5602    group { name: "elm/frame/base/pad_large";
5603        parts {
5604            part { name: "b0";
5605                mouse_events:  0;
5606                type: RECT;
5607                scale: 1;
5608                description { state: "default" 0.0;
5609                    visible: 0;
5610                    min: 16 16;
5611                    max: 16 16;
5612                    align: 0.0 0.0;
5613                }
5614            }
5615            part { name: "b1";
5616                mouse_events:  0;
5617                type: RECT;
5618                scale: 1;
5619                description { state: "default" 0.0;
5620                    visible: 0;
5621                    min: 16 16;
5622                    max: 16 16;
5623                    align: 1.0 1.0;
5624                }
5625            }
5626            part { name: "elm.swallow.content";
5627                type: SWALLOW;
5628                description { state: "default" 0.0;
5629                    rel1 {
5630                        to: "b0";
5631                        relative: 1.0 1.0;
5632                        offset: 0 0;
5633                    }
5634                    rel2 {
5635                        to: "b1";
5636                        relative: 0.0 0.0;
5637                        offset: -1 -1;
5638                    }
5639                }
5640            }
5641        }
5642    }
5643
5644    group { name: "elm/frame/base/pad_huge";
5645        parts {
5646            part { name: "b0";
5647                mouse_events:  0;
5648                type: RECT;
5649                scale: 1;
5650                description { state: "default" 0.0;
5651                    visible: 0;
5652                    min: 32 32;
5653                    max: 32 32;
5654                    align: 0.0 0.0;
5655                }
5656            }
5657            part { name: "b1";
5658                mouse_events:  0;
5659                type: RECT;
5660                scale: 1;
5661                description { state: "default" 0.0;
5662                    visible: 0;
5663                    min: 32 32;
5664                    max: 32 32;
5665                    align: 1.0 1.0;
5666                }
5667            }
5668            part { name: "elm.swallow.content";
5669                type: SWALLOW;
5670                description { state: "default" 0.0;
5671                    rel1 {
5672                        to: "b0";
5673                        relative: 1.0 1.0;
5674                        offset: 0 0;
5675                    }
5676                    rel2 {
5677                        to: "b1";
5678                        relative: 0.0 0.0;
5679                        offset: -1 -1;
5680                    }
5681                }
5682            }
5683        }
5684    }
5685
5686    group { name: "elm/frame/base/outdent_top";
5687        images {
5688            image: "outdent-top.png" COMP;
5689        }
5690        parts {
5691            part { name: "base0";
5692                mouse_events:  0;
5693                description { state: "default" 0.0;
5694                    image.normal: "outdent-top.png";
5695                    image.border: 0 0 0 13;
5696                    fill.smooth: 0;
5697                }
5698            }
5699            part { name: "elm.swallow.content";
5700                type: SWALLOW;
5701                description { state: "default" 0.0;
5702                    rel1.offset: 2 2;
5703                    rel2.offset: -3 -13;
5704                }
5705            }
5706        }
5707    }
5708
5709    group { name: "elm/frame/base/outdent_bottom";
5710        images {
5711            image: "outdent-bottom.png" COMP;
5712        }
5713        parts {
5714            part { name: "base0";
5715                mouse_events:  0;
5716                description { state: "default" 0.0;
5717                    image.normal: "outdent-bottom.png";
5718                    image.border: 0 0 13 0;
5719                    fill.smooth: 0;
5720                }
5721            }
5722            part { name: "elm.swallow.content";
5723                type: SWALLOW;
5724                description { state: "default" 0.0;
5725                    rel1.offset: 2 12;
5726                    rel2.offset: -3 -3;
5727                }
5728            }
5729        }
5730    }
5731
5732 ///////////////////////////////////////////////////////////////////////////////
5733    group { name: "elm/label/base/tooltip";
5734       styles {
5735          style { name: "tooltip_style";
5736             base: "font=Sans font_size=8 color=#666 wrap=word";
5737             tag:  "br" "\n";
5738             tag:  "hilight" "+ font=Sans:style=Bold";
5739             tag:  "b" "+ font=Sans:style=Bold";
5740             tag:  "tab" "\t";
5741          }
5742       }
5743       parts {
5744          part { name: "elm.text";
5745             type: TEXTBLOCK;
5746             mouse_events: 0;
5747             scale: 1;
5748             description { state: "default" 0.0;
5749                text {
5750                   style: "tooltip_style";
5751                   min: 1 1;
5752                }
5753             }
5754          }
5755       }
5756    }
5757
5758    group { name: "elm/tooltip/base/default";
5759        min: 30 30;
5760        data {
5761            item: "pad_x" "20";
5762            item: "pad_y" "20";
5763            item: "pad_border_x" "10";
5764            item: "pad_border_y" "10";
5765            item: "hide_timeout" "0.35"; /**< tooltip is hidden after this amount, keep in sync with hide animations */
5766        }
5767        images {
5768            image: "tooltip-base.png" COMP;
5769            image: "tooltip-corner-top-left-tip.png" COMP;
5770            image: "tooltip-corner-top-right-tip.png" COMP;
5771            image: "tooltip-corner-bottom-left-tip.png" COMP;
5772            image: "tooltip-corner-bottom-right-tip.png" COMP;
5773            image: "tooltip-edge-left-tip.png" COMP;
5774            image: "tooltip-edge-right-tip.png" COMP;
5775            image: "tooltip-edge-bottom-tip.png" COMP;
5776            image: "tooltip-edge-top-tip.png" COMP;
5777        }
5778        script {
5779           hide_corners() {
5780              set_state(PART:"corner-top-left", "default", 0.0);
5781              set_state(PART:"corner-top-right", "default", 0.0);
5782              set_state(PART:"corner-bottom-left", "default", 0.0);
5783              set_state(PART:"corner-bottom-right", "default", 0.0);
5784           }
5785           hide_edges() {
5786              set_state(PART:"clipper-edge-left", "default", 0.0);
5787              set_state(PART:"clipper-edge-right", "default", 0.0);
5788              set_state(PART:"clipper-edge-top", "default", 0.0);
5789              set_state(PART:"clipper-edge-bottom", "default", 0.0);
5790           }
5791
5792           show_corner_top_left() {
5793              set_state(PART:"corner-top-left", "visible", 0.0);
5794
5795              set_state(PART:"corner-top-right", "default", 0.0);
5796              set_state(PART:"corner-bottom-left", "default", 0.0);
5797              set_state(PART:"corner-bottom-right", "default", 0.0);
5798              hide_edges();
5799           }
5800           show_corner_top_right() {
5801              set_state(PART:"corner-top-right", "visible", 0.0);
5802
5803              set_state(PART:"corner-top-left", "default", 0.0);
5804              set_state(PART:"corner-bottom-left", "default", 0.0);
5805              set_state(PART:"corner-bottom-right", "default", 0.0);
5806              hide_edges();
5807           }
5808
5809           show_corner_bottom_left() {
5810              set_state(PART:"corner-bottom-left", "visible", 0.0);
5811
5812              set_state(PART:"corner-bottom-right", "default", 0.0);
5813              set_state(PART:"corner-top-left", "default", 0.0);
5814              set_state(PART:"corner-top-right", "default", 0.0);
5815              hide_edges();
5816           }
5817           show_corner_bottom_right() {
5818              set_state(PART:"corner-bottom-right", "visible", 0.0);
5819
5820              set_state(PART:"corner-bottom-left", "default", 0.0);
5821              set_state(PART:"corner-top-left", "default", 0.0);
5822              set_state(PART:"corner-top-right", "default", 0.0);
5823              hide_edges();
5824           }
5825
5826           show_edge_left(Float:val) {
5827              set_state(PART:"clipper-edge-left", "visible", 0.0);
5828              set_drag(PART:"edge-drag-left", 0.0, val);
5829
5830              set_state(PART:"clipper-edge-right", "default", 0.0);
5831              set_state(PART:"clipper-edge-top", "default", 0.0);
5832              set_state(PART:"clipper-edge-bottom", "default", 0.0);
5833              hide_corners();
5834           }
5835           show_edge_right(Float:val) {
5836              set_state(PART:"clipper-edge-right", "visible", 0.0);
5837              set_drag(PART:"edge-drag-right", 0.0, val);
5838
5839              set_state(PART:"clipper-edge-left", "default", 0.0);
5840              set_state(PART:"clipper-edge-top", "default", 0.0);
5841              set_state(PART:"clipper-edge-bottom", "default", 0.0);
5842              hide_corners();
5843           }
5844
5845           show_edge_top(Float:val) {
5846              set_state(PART:"clipper-edge-top", "visible", 0.0);
5847              set_drag(PART:"edge-drag-top", val, 0.0);
5848
5849              set_state(PART:"clipper-edge-bottom", "default", 0.0);
5850              set_state(PART:"clipper-edge-left", "default", 0.0);
5851              set_state(PART:"clipper-edge-right", "default", 0.0);
5852              hide_corners();
5853           }
5854           show_edge_bottom(Float:val) {
5855              set_state(PART:"clipper-edge-bottom", "visible", 0.0);
5856              set_drag(PART:"edge-drag-bottom", val, 0.0);
5857
5858              set_state(PART:"clipper-edge-top", "default", 0.0);
5859              set_state(PART:"clipper-edge-left", "default", 0.0);
5860              set_state(PART:"clipper-edge-right", "default", 0.0);
5861              hide_corners();
5862           }
5863
5864           public message(Msg_Type:type, id, ...) {
5865              if ((type == MSG_FLOAT_SET) && (id == 1)) {
5866                 new Float:x, Float:y;
5867
5868                 x = getfarg(2);
5869                 y = getfarg(3);
5870
5871                 if (x < 0.0)
5872                   {
5873                      if (y < 0.0)      show_corner_top_left();
5874                      else if (y > 1.0) show_corner_bottom_left();
5875                      else              show_edge_left(y);
5876                   }
5877                 else if (x > 1.0)
5878                   {
5879                      if (y < 0.0)      show_corner_top_right();
5880                      else if (y > 1.0) show_corner_bottom_right();
5881                      else              show_edge_right(y);
5882                   }
5883                 else
5884                   {
5885                      if (y < 0.0)      show_edge_top(x);
5886                      else if (y > 1.0) show_edge_bottom(x);
5887                      else
5888                        {
5889                           hide_corners();
5890                           hide_edges();
5891                        }
5892                   }
5893              }
5894           }
5895        }
5896        parts {
5897            part { name: "clipper";
5898                type: RECT;
5899                description { state: "default" 0.0;
5900                    color: 255 255 255 0;
5901                    rel1.to: "elm.swallow.content";
5902                    rel1.offset: -64 -64;
5903                    rel2.to: "elm.swallow.content";
5904                    rel2.offset: 63 63;
5905                }
5906                description { state: "visible" 0.0;
5907                    inherit: "default" 0.0;
5908                    color: 255 255 255 255;
5909                }
5910            }
5911            part { name: "pop";
5912                mouse_events: 0;
5913                clip_to: "clipper";
5914                description { state: "default" 0.0;
5915                    min: 30 30;
5916                    rel1 {
5917                        to: "elm.swallow.content";
5918                        offset: -15 -15;
5919                    }
5920                    rel2 {
5921                        to: "elm.swallow.content";
5922                        offset: 14 14;
5923                    }
5924                    image {
5925                        normal: "tooltip-base.png";
5926                        border: 14 14 14 14;
5927                    }
5928                    image.middle: SOLID;
5929                }
5930            }
5931
5932 #define TT_CORNER(name_, rx, ry, ax, ay, ox, oy)                        \
5933            part { name: "corner-"name_;                                 \
5934               type: IMAGE;                                              \
5935               mouse_events: 0;                                          \
5936               clip_to: "clipper";                                       \
5937               description { state: "default" 0.0;                       \
5938                  color: 255 255 255 0;                                  \
5939                  visible: 0;                                            \
5940                  min: 14 14;                                            \
5941                  max: 14 14;                                            \
5942                  align: ax ay;                                          \
5943                  fixed: 1 1;                                            \
5944                  rel1 {                                                 \
5945                     relative: rx ry;                                    \
5946                     offset: ox oy;                                      \
5947                     to: "elm.swallow.content";                          \
5948                  }                                                      \
5949                  rel2 {                                                 \
5950                     relative: rx ry;                                    \
5951                     offset: ox oy;                                      \
5952                     to: "elm.swallow.content";                          \
5953                  }                                                      \
5954                  image.normal: "tooltip-corner-"name_"-tip.png";        \
5955               }                                                         \
5956               description { state: "visible" 0.0;                       \
5957                  inherit: "default" 0.0;                                \
5958                  color: 255 255 255 255;                                \
5959                  visible: 1;                                            \
5960               }                                                         \
5961            }
5962            TT_CORNER("top-left", 0, 0, 1, 1, 4, 4);
5963            TT_CORNER("top-right", 1, 0, 0, 1, -5, 4);
5964            TT_CORNER("bottom-left", 0, 1, 1, 0, 4, -5);
5965            TT_CORNER("bottom-right", 1, 1, 0, 0, -5, -5);
5966 #undef TT_CORNER
5967
5968 #define TT_EDGE_VERT(name_, rx, ax, ox)                                 \
5969            part { name: "clipper-edge-"name_;                           \
5970               type: RECT;                                               \
5971               clip_to: "clipper";                                       \
5972               description { state: "default" 0.0;                       \
5973                  color: 255 255 255 0;                                  \
5974                  visible: 0;                                            \
5975                  min: 14 14;                                            \
5976                  align: ax 0.5;                                         \
5977                  fixed: 1 1;                                            \
5978                  rel1 {                                                 \
5979                     relative: rx 0.0;                                   \
5980                     offset: ox 0;                                       \
5981                     to: "elm.swallow.content";                          \
5982                  }                                                      \
5983                  rel2 {                                                 \
5984                     relative: rx 1.0;                                   \
5985                     offset: ox 0;                                       \
5986                     to: "elm.swallow.content";                          \
5987                  }                                                      \
5988               }                                                         \
5989               description { state: "visible" 0.0;                       \
5990                  inherit: "default" 0.0;                                \
5991                  color: 255 255 255 255;                                \
5992                  visible: 1;                                            \
5993               }                                                         \
5994            }                                                            \
5995            part { name: "edge-area-"name_;                              \
5996               type: RECT;                                               \
5997               mouse_events: 0;                                          \
5998               clip_to: "clipper-edge-"name_;                            \
5999               description { state: "default" 0.0;                       \
6000                  color: 0 0 0 0;                                        \
6001                  min: 14 14;                                            \
6002                  align: ax 0.5;                                         \
6003                  fixed: 1 1;                                            \
6004                  rel1 {                                                 \
6005                     relative: rx 0.0;                                   \
6006                     offset: ox 0;                                       \
6007                     to: "elm.swallow.content";                          \
6008                  }                                                      \
6009                  rel2 {                                                 \
6010                     relative: rx 1.0;                                   \
6011                     offset: ox 0;                                       \
6012                     to: "elm.swallow.content";                          \
6013                  }                                                      \
6014               }                                                         \
6015            }                                                            \
6016            part { name: "edge-drag-"name_;                              \
6017               type: RECT;                                               \
6018               mouse_events: 0;                                          \
6019               clip_to: "clipper-edge-"name_;                            \
6020               dragable {                                                \
6021                   x: 0 0 0;                                             \
6022                   y: 1 1 0;                                             \
6023                   confine: "edge-area-"name_;                           \
6024               }                                                         \
6025               description { state: "default" 0.0;                       \
6026                  color: 0 0 0 0;                                        \
6027                  min: 14 14;                                            \
6028                  rel1.to: "edge-area-"name_;                            \
6029                  rel2.to: "edge-area-"name_;                            \
6030               }                                                         \
6031            }                                                            \
6032            part { name: "edge-img-"name_;                               \
6033               type: IMAGE;                                              \
6034               mouse_events: 0;                                          \
6035               clip_to: "clipper-edge-"name_;                            \
6036               description { state: "default" 0.0;                       \
6037                  min: 14 14;                                            \
6038                  max: 14 14;                                            \
6039                  align: ax 0.5;                                         \
6040                  fixed: 1 1;                                            \
6041                  rel1.to: "edge-drag-"name_;                            \
6042                  rel2.to: "edge-drag-"name_;                            \
6043                  image.normal: "tooltip-edge-"name_"-tip.png";          \
6044               }                                                         \
6045            }
6046            TT_EDGE_VERT("left", 0, 1, -2);
6047            TT_EDGE_VERT("right", 1, 0, 1);
6048 #undef TT_EDGE_VERT
6049
6050 #define TT_EDGE_HORIZ(name_, ry, ay, oy)                                \
6051            part { name: "clipper-edge-"name_;                           \
6052               type: RECT;                                               \
6053               clip_to: "clipper";                                       \
6054               description { state: "default" 0.0;                       \
6055                  color: 255 255 255 0;                                  \
6056                  visible: 0;                                            \
6057                  min: 14 14;                                            \
6058                  align: 0.5 ay;                                         \
6059                  fixed: 1 1;                                            \
6060                  rel1 {                                                 \
6061                     relative: 0.0 ry;                                   \
6062                     offset: 0 oy;                                       \
6063                     to: "elm.swallow.content";                          \
6064                  }                                                      \
6065                  rel2 {                                                 \
6066                     relative: 1.0 ry;                                   \
6067                     offset: 0 oy;                                       \
6068                     to: "elm.swallow.content";                          \
6069                  }                                                      \
6070               }                                                         \
6071               description { state: "visible" 0.0;                       \
6072                  inherit: "default" 0.0;                                \
6073                  color: 255 255 255 255;                                \
6074                  visible: 1;                                            \
6075               }                                                         \
6076            }                                                            \
6077            part { name: "edge-area-"name_;                              \
6078               type: RECT;                                               \
6079               mouse_events: 0;                                          \
6080               clip_to: "clipper-edge-"name_;                            \
6081               description { state: "default" 0.0;                       \
6082                  color: 0 0 0 0;                                        \
6083                  min: 14 14;                                            \
6084                  align: 0.5 ay;                                         \
6085                  fixed: 1 1;                                            \
6086                  rel1 {                                                 \
6087                     relative: 0.0 ry;                                   \
6088                     offset: 0 oy;                                       \
6089                     to: "elm.swallow.content";                          \
6090                  }                                                      \
6091                  rel2 {                                                 \
6092                     relative: 1.0 ry;                                   \
6093                     offset: 0 oy;                                       \
6094                     to: "elm.swallow.content";                          \
6095                  }                                                      \
6096               }                                                         \
6097            }                                                            \
6098            part { name: "edge-drag-"name_;                              \
6099               type: RECT;                                               \
6100               mouse_events: 0;                                          \
6101               clip_to: "clipper-edge-"name_;                            \
6102               dragable {                                                \
6103                   x: 1 1 0;                                             \
6104                   y: 0 0 0;                                             \
6105                   confine: "edge-area-"name_;                           \
6106               }                                                         \
6107               description { state: "default" 0.0;                       \
6108                  color: 0 0 0 0;                                        \
6109                  min: 14 14;                                            \
6110                  rel1.to: "edge-area-"name_;                            \
6111                  rel2.to: "edge-area-"name_;                            \
6112               }                                                         \
6113            }                                                            \
6114            part { name: "edge-img-"name_;                               \
6115               type: IMAGE;                                              \
6116               mouse_events: 0;                                          \
6117               clip_to: "clipper-edge-"name_;                            \
6118               description { state: "default" 0.0;                       \
6119                  min: 14 14;                                            \
6120                  max: 14 14;                                            \
6121                  align: 0.5 ay;                                         \
6122                  fixed: 1 1;                                            \
6123                  rel1.to: "edge-drag-"name_;                            \
6124                  rel2.to: "edge-drag-"name_;                            \
6125                  image.normal: "tooltip-edge-"name_"-tip.png";          \
6126               }                                                         \
6127            }
6128            TT_EDGE_HORIZ("top", 0, 1, -2);
6129            TT_EDGE_HORIZ("bottom", 1, 0, 1);
6130 #undef TT_EDGE_HORIZ
6131
6132            part { name: "clipper_content";
6133                type: RECT;
6134                description { state: "default" 0.0;
6135                    color: 255 255 255 0;
6136                    rel1.to: "elm.swallow.content";
6137                    rel1.offset: -64 -64;
6138                    rel2.to: "elm.swallow.content";
6139                    rel2.offset: 63 63;
6140                }
6141                description { state: "visible" 0.0;
6142                    inherit: "default" 0.0;
6143                    color: 255 255 255 255;
6144                }
6145            }
6146            part { name: "elm.swallow.content";
6147                type: SWALLOW;
6148                clip_to: "clipper_content";
6149                description { state: "default" 0.0; }
6150            }
6151            programs {
6152                program {
6153                    name: "show0";
6154                    signal: "elm,action,show";
6155                    source: "elm";
6156                    action: ACTION_STOP;
6157                    target: "hide0";
6158                    target: "hide1";
6159                    target: "hide2";
6160                    target: "hide3";
6161                    after: "show1";
6162                    after: "show2";
6163                }
6164                program {
6165                    name: "show1";
6166                    action: STATE_SET "visible" 0.0;
6167                    transition: LINEAR 0.15;
6168                    target: "clipper";
6169                }
6170                program {
6171                    name: "show2";
6172                    in: 0.1 0.0;
6173                    action: STATE_SET "visible" 0.0;
6174                    transition: LINEAR 0.15;
6175                    target: "clipper_content";
6176                }
6177
6178                program {
6179                    name: "hide0";
6180                    signal: "elm,action,hide";
6181                    source: "elm";
6182                    action: ACTION_STOP;
6183                    target: "show0";
6184                    target: "show1";
6185                    target: "show2";
6186                    after: "hide1";
6187                    after: "hide2";
6188                    after: "hide3";
6189                }
6190                program {
6191                    name: "hide1";
6192                    script {
6193                       hide_corners();
6194                       hide_edges();
6195                    }
6196                }
6197                program {
6198                    name: "hide2";
6199                    action: STATE_SET "default" 0.0;
6200                    transition: LINEAR 0.1;
6201                    target: "clipper_content";
6202                }
6203                program {
6204                    name: "hide3";
6205                    in: 0.1 0.0;
6206                    action: STATE_SET "default" 0.0;
6207                    transition: LINEAR 0.1;
6208                    target: "clipper";
6209                }
6210            }
6211        }
6212    }
6213    group { name: "elm/tooltip/base/transparent";
6214       parts {
6215          part { name: "elm.swallow.content";
6216             type: SWALLOW;
6217             mouse_events:   0;
6218             scale: 1;
6219             description { state: "default" 0.0; }
6220          }
6221       }
6222    }
6223
6224 ///////////////////////////////////////////////////////////////////////////////
6225
6226    /* TODO: replicate diagonal swallow slots to the other hover styles */
6227    group { name: "elm/hover/base/default";
6228       images {
6229          image: "shad_circ.png" COMP;
6230       }
6231       parts {
6232          part { name: "elm.swallow.offset";
6233             type: SWALLOW;
6234             description { state: "default" 0.0;
6235                align: 0.0 0.0;
6236                rel1.relative: 0.0 0.0;
6237                rel2.relative: 0.0 0.0;
6238             }
6239          }
6240          part { name: "elm.swallow.size";
6241             type: SWALLOW;
6242             description { state: "default" 0.0;
6243                align: 0.0 0.0;
6244                rel1.to: "elm.swallow.offset";
6245                rel1.relative: 1.0 1.0;
6246                rel2.to: "elm.swallow.offset";
6247                rel2.relative: 1.0 1.0;
6248             }
6249          }
6250          part { name: "base";
6251             type: RECT;
6252             mouse_events: 1;
6253             description { state: "default" 0.0;
6254                color: 0 0 0 64;
6255             }
6256          }
6257          part { name: "shad";
6258             mouse_events:  0;
6259             description { state: "default" 0.0;
6260                image.normal: "shad_circ.png";
6261                rel1.to: "elm.swallow.size";
6262                rel1.offset: -32 -32;
6263                rel2.to: "elm.swallow.size";
6264                rel2.offset: 31 31;
6265                fill.smooth: 0;
6266             }
6267          }
6268          part { name: "box";
6269             type: RECT;
6270             mouse_events: 0;
6271             description { state: "default" 0.0;
6272                color: 0 0 0 0;
6273                rel1.to: "elm.swallow.size";
6274                rel1.offset: -2 -2;
6275                rel2.to: "elm.swallow.size";
6276                rel2.offset: 1 1;
6277             }
6278          }
6279          part { name: "elm.swallow.slot.left";
6280             type: SWALLOW;
6281             description { state: "default" 0.0;
6282                align: 1.0 0.5;
6283                rel1.to: "elm.swallow.slot.middle";
6284                rel1.relative: 0.0 0.0;
6285                rel1.offset: -1 0;
6286                rel2.to: "elm.swallow.slot.middle";
6287                rel2.relative: 0.0 1.0;
6288                rel2.offset: -1 -1;
6289             }
6290          }
6291          part { name: "elm.swallow.slot.top-left";
6292             type: SWALLOW;
6293             description { state: "default" 0.0;
6294                align: 1.0 1.0;
6295                rel1.to: "elm.swallow.slot.middle";
6296                rel1.relative: 0.0 0.0;
6297                rel1.offset: 0 0;
6298                rel2.to: "elm.swallow.slot.middle";
6299                rel2.relative: 0.0 0.0;
6300                rel2.offset: -1 -1;
6301             }
6302          }
6303          part { name: "elm.swallow.slot.top";
6304             type: SWALLOW;
6305             description { state: "default" 0.0;
6306                align: 0.5 1.0;
6307                rel1.to: "elm.swallow.slot.middle";
6308                rel1.relative: 0.0 0.0;
6309                rel1.offset: 0 -1;
6310                rel2.to: "elm.swallow.slot.middle";
6311                rel2.relative: 1.0 0.0;
6312                rel2.offset: -1 -1;
6313             }
6314          }
6315          part { name: "elm.swallow.slot.top-right";
6316             type: SWALLOW;
6317             description { state: "default" 0.0;
6318                align: 0.0 1.0;
6319                rel1.to: "elm.swallow.slot.middle";
6320                rel1.relative: 1.0 0.0;
6321                rel1.offset: 0 0;
6322                rel2.to: "elm.swallow.slot.middle";
6323                rel2.relative: 1.0 0.0;
6324                rel2.offset: -1 -1;
6325             }
6326          }
6327          part { name: "elm.swallow.slot.right";
6328             type: SWALLOW;
6329             description { state: "default" 0.0;
6330                align: 0.0 0.5;
6331                rel1.to: "elm.swallow.slot.middle";
6332                rel1.relative: 1.0 0.0;
6333                rel1.offset: 0 0;
6334                rel2.to: "elm.swallow.slot.middle";
6335                rel2.relative: 1.0 1.0;
6336                rel2.offset: 0 -1;
6337             }
6338          }
6339          part { name: "elm.swallow.slot.bottom-right";
6340             type: SWALLOW;
6341             description { state: "default" 0.0;
6342                align: 0.0 0.0;
6343                rel1.to: "elm.swallow.slot.middle";
6344                rel1.relative: 1.0 1.0;
6345                rel1.offset: 0 0;
6346                rel2.to: "elm.swallow.slot.middle";
6347                rel2.relative: 1.0 1.0;
6348                rel2.offset: -1 -1;
6349             }
6350          }
6351          part { name: "elm.swallow.slot.bottom";
6352             type: SWALLOW;
6353             description { state: "default" 0.0;
6354                align: 0.5 0.0;
6355                rel1.to: "elm.swallow.slot.middle";
6356                rel1.relative: 0.0 1.0;
6357                rel1.offset: 0 0;
6358                rel2.to: "elm.swallow.slot.middle";
6359                rel2.relative: 1.0 1.0;
6360                rel2.offset: -1 0;
6361             }
6362          }
6363          part { name: "elm.swallow.slot.bottom-left";
6364             type: SWALLOW;
6365             description { state: "default" 0.0;
6366                align: 1.0 0.0;
6367                rel1.to: "elm.swallow.slot.middle";
6368                rel1.relative: 0.0 1.0;
6369                rel1.offset: 0 0;
6370                rel2.to: "elm.swallow.slot.middle";
6371                rel2.relative: 0.0 1.0;
6372                rel2.offset: -1 0;
6373             }
6374          }
6375          part { name: "elm.swallow.slot.middle";
6376             type: SWALLOW;
6377             description { state: "default" 0.0;
6378                rel1.to: "elm.swallow.size";
6379                rel2.to: "elm.swallow.size";
6380             }
6381          }
6382       }
6383       programs {
6384          program { name: "end";
6385             signal: "mouse,up,1";
6386             source: "base";
6387             action: SIGNAL_EMIT "elm,action,dismiss" "";
6388          }
6389       }
6390    }
6391
6392    group { name: "elm/hover/base/popout";
6393       images {
6394          image: "shad_circ.png" COMP;
6395          image: "bt_dis_base.png" COMP;
6396          image: "bt_dis_hilight.png" COMP;
6397       }
6398       parts {
6399          part { name: "elm.swallow.offset";
6400             type: SWALLOW;
6401             description { state: "default" 0.0;
6402                align: 0.0 0.0;
6403                rel1.relative: 0.0 0.0;
6404                rel2.relative: 0.0 0.0;
6405             }
6406          }
6407          part { name: "elm.swallow.size";
6408             type: SWALLOW;
6409             description { state: "default" 0.0;
6410                align: 0.0 0.0;
6411                rel1.to: "elm.swallow.offset";
6412                rel1.relative: 1.0 1.0;
6413                rel2.to: "elm.swallow.offset";
6414                rel2.relative: 1.0 1.0;
6415             }
6416          }
6417          part { name: "base";
6418             type: RECT;
6419             mouse_events: 1;
6420             description { state: "default" 0.0;
6421                color: 0 0 0 0;
6422             }
6423             description { state: "visible" 0.0;
6424                inherit: "default" 1.0;
6425                color: 0 0 0 64;
6426             }
6427          }
6428          part { name: "leftclip";
6429             type: RECT;
6430             description { state: "default" 0.0;
6431                rel2.to_x: "pop";
6432                rel2.relative: 0.0 1.0;
6433                rel2.offset: 1 -1;
6434             }
6435          }
6436          part { name: "left";
6437             clip_to: "leftclip";
6438             description { state: "default" 0.0;
6439                visible: 0;
6440                rel1.to: "elm.swallow.slot.left";
6441                rel1.offset: -5 -5;
6442                rel2.to: "elm.swallow.slot.left";
6443                rel2.offset: 4 4;
6444                image {
6445                   normal: "bt_dis_base.png";
6446                   border: 4 4 4 4;
6447                }
6448                image.middle: SOLID;
6449             }
6450             description { state: "visible" 0.0;
6451                inherit: "default" 0.0;
6452                visible: 1;
6453             }
6454          }
6455          part { name: "elm.swallow.slot.left";
6456             type: SWALLOW;
6457             clip_to: "leftclip";
6458             description { state: "default" 0.0;
6459                align: 0.0 0.5;
6460                rel1.to: "elm.swallow.slot.middle";
6461                rel1.relative: 0.0 0.0;
6462                rel1.offset: -1 0;
6463                rel2.to: "elm.swallow.slot.middle";
6464                rel2.relative: 0.0 1.0;
6465                rel2.offset: -1 -1;
6466             }
6467             description { state: "visible" 0.0;
6468                inherit: "default" 0.0;
6469                rel1.offset: -7 0;
6470                rel2.offset: -7 -1;
6471                align: 1.0 0.5;
6472             }
6473          }
6474          part { name: "leftover";
6475             clip_to: "leftclip";
6476             mouse_events: 0;
6477             description { state: "default" 0.0;
6478                rel1.to: "left";
6479                rel2.to: "left";
6480                rel2.relative: 1.0 0.5;
6481                image {
6482                   normal: "bt_dis_hilight.png";
6483                   border: 4 4 4 0;
6484                }
6485             }
6486          }
6487          part { name: "rightclip";
6488             type: RECT;
6489             description { state: "default" 0.0;
6490                rel1.to_x: "pop";
6491                rel1.relative: 1.0 0.0;
6492                rel1.offset: -2 0;
6493             }
6494          }
6495          part { name: "right";
6496             clip_to: "rightclip";
6497             description { state: "default" 0.0;
6498                visible: 0;
6499                rel1.to: "elm.swallow.slot.right";
6500                rel1.offset: -5 -5;
6501                rel2.to: "elm.swallow.slot.right";
6502                rel2.offset: 4 4;
6503                image {
6504                   normal: "bt_dis_base.png";
6505                   border: 4 4 4 4;
6506                }
6507                image.middle: SOLID;
6508             }
6509             description { state: "visible" 0.0;
6510                inherit: "default" 0.0;
6511                visible: 1;
6512             }
6513          }
6514          part { name: "elm.swallow.slot.right";
6515             type: SWALLOW;
6516             clip_to: "rightclip";
6517             description { state: "default" 0.0;
6518                align: 1.0 0.5;
6519                rel1.to: "elm.swallow.slot.middle";
6520                rel1.relative: 1.0 0.0;
6521                rel1.offset: 0 0;
6522                rel2.to: "elm.swallow.slot.middle";
6523                rel2.relative: 1.0 1.0;
6524                rel2.offset: 0 -1;
6525             }
6526             description { state: "visible" 0.0;
6527                inherit: "default" 0.0;
6528                rel1.offset: 6 0;
6529                rel2.offset: 6 -1;
6530                align: 0.0 0.5;
6531             }
6532          }
6533          part { name: "rightover";
6534             clip_to: "rightclip";
6535             mouse_events: 0;
6536             description { state: "default" 0.0;
6537                rel1.to: "right";
6538                rel2.to: "right";
6539                rel2.relative: 1.0 0.5;
6540                image {
6541                   normal: "bt_dis_hilight.png";
6542                   border: 4 4 4 0;
6543                }
6544             }
6545          }
6546          part { name: "topclip";
6547             type: RECT;
6548             description { state: "default" 0.0;
6549                rel2.to_y: "pop";
6550                rel2.relative: 1.0 0.0;
6551                rel2.offset: -1 1;
6552             }
6553          }
6554          part { name: "top";
6555             clip_to: "topclip";
6556             description { state: "default" 0.0;
6557                visible: 0;
6558                rel1.to: "elm.swallow.slot.top";
6559                rel1.offset: -5 -5;
6560                rel2.to: "elm.swallow.slot.top";
6561                rel2.offset: 4 4;
6562                image {
6563                   normal: "bt_dis_base.png";
6564                   border: 4 4 4 4;
6565                }
6566                image.middle: SOLID;
6567             }
6568             description { state: "visible" 0.0;
6569                inherit: "default" 0.0;
6570                visible: 1;
6571             }
6572          }
6573          part { name: "elm.swallow.slot.top";
6574             type: SWALLOW;
6575             clip_to: "topclip";
6576             description { state: "default" 0.0;
6577                visible: 1;
6578                align: 0.5 0.0;
6579                rel1.to: "elm.swallow.slot.middle";
6580                rel1.relative: 0.0 0.0;
6581                rel1.offset: 0 -1;
6582                rel2.to: "elm.swallow.slot.middle";
6583                rel2.relative: 1.0 0.0;
6584                rel2.offset: -1 -1;
6585             }
6586             description { state: "visible" 0.0;
6587                inherit: "default" 0.0;
6588                rel1.offset: 0 -7;
6589                rel2.offset: -1 -7;
6590                align: 0.5 1.0;
6591             }
6592          }
6593          part { name: "topover";
6594             clip_to: "topclip";
6595             mouse_events: 0;
6596             description { state: "default" 0.0;
6597                rel1.to: "top";
6598                rel2.to: "top";
6599                rel2.relative: 1.0 0.5;
6600                image {
6601                   normal: "bt_dis_hilight.png";
6602                   border: 4 4 4 0;
6603                }
6604             }
6605          }
6606          part { name: "bottomclip";
6607             type: RECT;
6608             description { state: "default" 0.0;
6609                rel1.to_y: "pop";
6610                rel1.relative: 0.0 1.0;
6611                rel1.offset: -1 -2;
6612             }
6613          }
6614          part { name: "bottom";
6615             clip_to: "bottomclip";
6616             description { state: "default" 0.0;
6617                visible: 0;
6618                rel1.to: "elm.swallow.slot.bottom";
6619                rel1.offset: -5 -5;
6620                rel2.to: "elm.swallow.slot.bottom";
6621                rel2.offset: 4 4;
6622                image {
6623                   normal: "bt_dis_base.png";
6624                   border: 4 4 4 4;
6625                }
6626                image.middle: SOLID;
6627             }
6628             description { state: "visible" 0.0;
6629                inherit: "default" 0.0;
6630                visible: 1;
6631             }
6632          }
6633          part { name: "elm.swallow.slot.bottom";
6634             type: SWALLOW;
6635             clip_to: "bottomclip";
6636             description { state: "default" 0.0;
6637                align: 0.5 1.0;
6638                rel1.to: "elm.swallow.slot.middle";
6639                rel1.relative: 0.0 1.0;
6640                rel1.offset: 0 0;
6641                rel2.to: "elm.swallow.slot.middle";
6642                rel2.relative: 1.0 1.0;
6643                rel2.offset: -1 0;
6644             }
6645             description { state: "visible" 0.0;
6646                inherit: "default" 0.0;
6647                rel1.offset: 0 6;
6648                rel2.offset: -1 6;
6649                align: 0.5 0.0;
6650             }
6651          }
6652          part { name: "bottomover";
6653             clip_to: "bottomclip";
6654             mouse_events: 0;
6655             description { state: "default" 0.0;
6656                rel1.to: "bottom";
6657                rel2.to: "bottom";
6658                rel2.relative: 1.0 0.5;
6659                image {
6660                   normal: "bt_dis_hilight.png";
6661                   border: 4 4 4 0;
6662                }
6663             }
6664          }
6665          part { name: "shad";
6666             mouse_events:  0;
6667             description { state: "default" 0.0;
6668                image.normal: "shad_circ.png";
6669                rel1.to: "elm.swallow.size";
6670                rel1.offset: -64 -64;
6671                rel2.to: "elm.swallow.size";
6672                rel2.offset: 63 63;
6673                fill.smooth: 0;
6674             }
6675          }
6676          part { name: "pop";
6677             mouse_events: 1;
6678             description { state: "default" 0.0;
6679                rel1.to: "elm.swallow.slot.middle";
6680                rel1.offset: -5 -5;
6681                rel2.to: "elm.swallow.slot.middle";
6682                rel2.offset: 4 4;
6683                image {
6684                   normal: "bt_dis_base.png";
6685                   border: 4 4 4 4;
6686                }
6687                image.middle: SOLID;
6688             }
6689          }
6690          part { name: "elm.swallow.slot.middle";
6691             type: SWALLOW;
6692             description { state: "default" 0.0;
6693                rel1.to: "elm.swallow.size";
6694                rel2.to: "elm.swallow.size";
6695             }
6696          }
6697          part { name: "popover";
6698             mouse_events: 0;
6699             description { state: "default" 0.0;
6700                rel1.to: "pop";
6701                rel2.to: "pop";
6702                rel2.relative: 1.0 0.5;
6703                image {
6704                   normal: "bt_dis_hilight.png";
6705                   border: 4 4 4 0;
6706                }
6707             }
6708          }
6709       }
6710       programs {
6711          program { name: "end";
6712             signal: "mouse,up,1";
6713             source: "base";
6714             action: SIGNAL_EMIT "elm,action,dismiss" "";
6715          }
6716
6717          program { name: "show";
6718             signal: "elm,action,show";
6719             source: "elm";
6720             action: STATE_SET "visible" 0.0;
6721 //          transition: DECELERATE 0.5;
6722             target: "base";
6723          }
6724          program { name: "hide";
6725             signal: "elm,action,hide";
6726             source: "elm";
6727             action: STATE_SET "default" 0.0;
6728 //          transition: DECELERATE 0.5;
6729             target: "base";
6730          }
6731
6732          program { name: "leftshow";
6733             signal: "elm,action,slot,left,show";
6734             source: "elm";
6735             action: STATE_SET "visible" 0.0;
6736             transition: DECELERATE 0.5;
6737             target: "left";
6738             target: "elm.swallow.slot.left";
6739          }
6740          program { name: "lefthide";
6741             signal: "elm,action,slot,left,hide";
6742             source: "elm";
6743             action: STATE_SET "default" 0.0;
6744             transition: DECELERATE 0.5;
6745             target: "left";
6746             target: "elm.swallow.slot.left";
6747          }
6748          program { name: "rightshow";
6749             signal: "elm,action,slot,right,show";
6750             source: "elm";
6751             action: STATE_SET "visible" 0.0;
6752             transition: DECELERATE 0.5;
6753             target: "right";
6754             target: "elm.swallow.slot.right";
6755          }
6756          program { name: "righthide";
6757             signal: "elm,action,slot,right,hide";
6758             source: "elm";
6759             action: STATE_SET "default" 0.0;
6760             transition: DECELERATE 0.5;
6761             target: "right";
6762             target: "elm.swallow.slot.right";
6763          }
6764          program { name: "topshow";
6765             signal: "elm,action,slot,top,show";
6766             source: "elm";
6767             action: STATE_SET "visible" 0.0;
6768             transition: DECELERATE 0.5;
6769             target: "top";
6770             target: "elm.swallow.slot.top";
6771          }
6772          program { name: "tophide";
6773             signal: "elm,action,slot,top,hide";
6774             source: "elm";
6775             action: STATE_SET "default" 0.0;
6776             transition: DECELERATE 0.5;
6777             target: "top";
6778             target: "elm.swallow.slot.top";
6779          }
6780          program { name: "bottomshow";
6781             signal: "elm,action,slot,bottom,show";
6782             source: "elm";
6783             action: STATE_SET "visible" 0.0;
6784             transition: DECELERATE 0.5;
6785             target: "bottom";
6786             target: "elm.swallow.slot.bottom";
6787          }
6788          program { name: "bottomhide";
6789             signal: "elm,action,slot,bottom,hide";
6790             source: "elm";
6791             action: STATE_SET "default" 0.0;
6792             transition: DECELERATE 0.5;
6793             target: "bottom";
6794             target: "elm.swallow.slot.bottom";
6795          }
6796       }
6797    }
6798
6799    //In the hover used by the menu only the bottom part is used.
6800    group { name: "elm/hover/base/menu";
6801        images {
6802            image: "shad_circ.png" COMP;
6803            image: "bt_dis_base.png" COMP;
6804        }
6805        parts {
6806            part { name: "elm.swallow.offset";
6807                type: SWALLOW;
6808                description { state: "default" 0.0;
6809                    align: 0.0 0.0;
6810                    rel1.relative: 0.0 0.0;
6811                    rel2.relative: 0.0 0.0;
6812                }
6813            }
6814            part { name: "elm.swallow.size";
6815                type: SWALLOW;
6816                description { state: "default" 0.0;
6817                    align: 0.0 0.0;
6818                    rel1.to: "elm.swallow.offset";
6819                    rel1.relative: 1.0 1.0;
6820                    rel2.to: "elm.swallow.offset";
6821                    rel2.relative: 1.0 1.0;
6822                }
6823            }
6824            part { name: "base";
6825                type: RECT;
6826                mouse_events: 1;
6827                description { state: "default" 0.0;
6828                    color: 0 0 0 0;
6829                }
6830                description { state: "visible" 0.0;
6831                    inherit: "default" 1.0;
6832                    color: 0 0 0 64;
6833                }
6834            }
6835            part { name: "elm.swallow.slot.left";
6836                type: SWALLOW;
6837                description { state: "default" 0.0;
6838                }
6839            }
6840            part { name: "elm.swallow.slot.right";
6841                type: SWALLOW;
6842                description { state: "default" 0.0;
6843                }
6844            }
6845            part { name: "elm.swallow.slot.top";
6846                type: SWALLOW;
6847                description { state: "default" 0.0;
6848                }
6849                description { state: "visible" 0.0;
6850                    inherit: "default" 0.0;
6851                }
6852            }
6853            part { name: "bottomclip";
6854                type: RECT;
6855                description { state: "default" 0.0;
6856                    rel1.to_y: "pop";
6857                    rel1.relative: 0.0 1.0;
6858                    rel1.offset: -1 -2;
6859                }
6860            }
6861            part { name: "bottom";
6862                clip_to: "bottomclip";
6863                description { state: "default" 0.0;
6864                    visible: 0;
6865                    rel1.to: "elm.swallow.slot.bottom";
6866                    rel1.offset: -5 -5;
6867                    rel2.to: "elm.swallow.slot.bottom";
6868                    rel2.offset: 4 4;
6869                    image {
6870                        normal: "bt_dis_base.png";
6871                        border: 4 4 4 4;
6872                    }
6873                    image.middle: SOLID;
6874                }
6875                description { state: "visible" 0.0;
6876                    inherit: "default" 0.0;
6877                    visible: 1;
6878                }
6879            }
6880            part { name: "elm.swallow.slot.bottom";
6881                type: SWALLOW;
6882                clip_to: "bottomclip";
6883                description { state: "default" 0.0;
6884                    align: 0.5 1.0;
6885                    rel1.to: "elm.swallow.slot.middle";
6886                    rel1.relative: 0.0 1.0;
6887                    rel1.offset: 0 0;
6888                    rel2.to: "elm.swallow.slot.middle";
6889                    rel2.relative: 1.0 1.0;
6890                    rel2.offset: -1 0;
6891                }
6892                description { state: "visible" 0.0;
6893                    inherit: "default" 0.0;
6894                    rel1.offset: 0 6;
6895                    rel2.offset: -1 6;
6896                    align: 0.5 0.0;
6897                }
6898            }
6899            part { name: "pop";
6900                mouse_events: 1;
6901                repeat_events:1;
6902                description { state: "default" 0.0;
6903                    rel1.to: "elm.swallow.slot.middle";
6904                    rel1.offset: -5 -5;
6905                    rel2.to: "elm.swallow.slot.middle";
6906                    rel2.offset: 4 4;
6907                }
6908            }
6909            part { name: "elm.swallow.slot.middle";
6910                type: SWALLOW;
6911                repeat_events:1;
6912                description { state: "default" 0.0;
6913                    rel1.to: "elm.swallow.size";
6914                    rel2.to: "elm.swallow.size";
6915                }
6916            }
6917        }
6918        programs {
6919            program { name: "end";
6920                signal: "mouse,up,1";
6921                source: "base";
6922                action: SIGNAL_EMIT "elm,action,dismiss" "";
6923            }
6924            program { name: "show";
6925                signal: "elm,action,show";
6926                source: "elm";
6927                action: STATE_SET "visible" 0.0;
6928                        //           transition: DECELERATE 0.5;
6929                target: "base";
6930            }
6931            program { name: "hide";
6932                signal: "elm,action,hide";
6933                source: "elm";
6934                action: STATE_SET "default" 0.0;
6935                        //           transition: DECELERATE 0.5;
6936                target: "base";
6937            }
6938            program { name: "bottomshow";
6939                signal: "elm,action,slot,bottom,show";
6940                source: "elm";
6941                action: STATE_SET "visible" 0.0;
6942                transition: DECELERATE 0.3;
6943                target: "bottom";
6944                target: "elm.swallow.slot.bottom";
6945            }
6946            program { name: "bottomhide";
6947                signal: "elm,action,slot,bottom,hide";
6948                source: "elm";
6949                action: STATE_SET "default" 0.0;
6950                transition: DECELERATE 0.5;
6951                target: "bottom";
6952                target: "elm.swallow.slot.bottom";
6953            }
6954        }
6955    }
6956
6957    //In the hover used by the submenu only the bottom part is used
6958    //and no part should interact except the bottom area
6959    group { name: "elm/hover/base/submenu";
6960        images {
6961            image: "shad_circ.png" COMP;
6962            image: "bt_dis_base.png" COMP;
6963        }
6964        parts {
6965            part { name: "elm.swallow.offset";
6966                type: SWALLOW;
6967                repeat_events:1;
6968                description { state: "default" 0.0;
6969                    align: 0.0 0.0;
6970                    rel1.relative: 0.0 0.0;
6971                    rel2.relative: 0.0 0.0;
6972                }
6973            }
6974            part { name: "elm.swallow.size";
6975                type: SWALLOW;
6976                description { state: "default" 0.0;
6977                    align: 0.0 0.0;
6978                    rel1.to: "elm.swallow.offset";
6979                    rel1.relative: 1.0 1.0;
6980                    rel2.to: "elm.swallow.offset";
6981                    rel2.relative: 1.0 1.0;
6982                }
6983            }
6984            //here we do non catch events like the hover hover does
6985            part { name: "base";
6986                type: RECT;
6987                mouse_events: 1;
6988                description { state: "default" 0.0;
6989                    color: 0 0 0 0;
6990                    visible: 0;
6991                }
6992            }
6993            part { name: "elm.swallow.slot.left";
6994                type: SWALLOW;
6995                description { state: "default" 0.0;
6996                }
6997            }
6998            part { name: "elm.swallow.slot.right";
6999                type: SWALLOW;
7000                description { state: "default" 0.0;
7001                }
7002            }
7003            part { name: "elm.swallow.slot.top";
7004                type: SWALLOW;
7005                description { state: "default" 0.0;
7006                }
7007            }
7008            part { name: "bottomclip";
7009                type: RECT;
7010                description { state: "default" 0.0;
7011                    rel1.to_y: "pop";
7012                    rel1.relative: 0.0 1.0;
7013                    rel1.offset: -1 -2;
7014                }
7015            }
7016            part { name: "bottom";
7017                clip_to: "bottomclip";
7018                description { state: "default" 0.0;
7019                    visible: 0;
7020                    rel1.to: "elm.swallow.slot.bottom";
7021                    rel1.offset: -5 -5;
7022                    rel2.to: "elm.swallow.slot.bottom";
7023                    rel2.offset: 4 4;
7024                    image {
7025                        normal: "bt_dis_base.png";
7026                        border: 4 4 4 4;
7027                    }
7028                    image.middle: SOLID;
7029                }
7030                description { state: "visible" 0.0;
7031                    inherit: "default" 0.0;
7032                    visible: 1;
7033                }
7034            }
7035            part { name: "elm.swallow.slot.bottom";
7036                type: SWALLOW;
7037                clip_to: "bottomclip";
7038                description { state: "default" 0.0;
7039                    align: 0.5 1.0;
7040                    rel1.to: "elm.swallow.slot.middle";
7041                    rel1.relative: 0.0 1.0;
7042                    rel1.offset: 0 0;
7043                    rel2.to: "elm.swallow.slot.middle";
7044                    rel2.relative: 1.0 1.0;
7045                    rel2.offset: -1 0;
7046                }
7047                description { state: "visible" 0.0;
7048                    inherit: "default" 0.0;
7049                    rel1.offset: 0 6;
7050                    rel2.offset: -1 6;
7051                    align: 0.5 0.0;
7052                }
7053            }
7054            part { name: "pop";
7055                mouse_events: 1;
7056                repeat_events:1;
7057                description { state: "default" 0.0;
7058                    rel1.to: "elm.swallow.slot.middle";
7059                    rel1.offset: -5 -5;
7060                    rel2.to: "elm.swallow.slot.middle";
7061                    rel2.offset: 4 4;
7062                }
7063            }
7064            part { name: "elm.swallow.slot.middle";
7065                type: SWALLOW;
7066                repeat_events:1;
7067                description { state: "default" 0.0;
7068                    rel1.to: "elm.swallow.size";
7069                    rel2.to: "elm.swallow.size";
7070                }
7071            }
7072        }
7073        programs {
7074            program { name: "end";
7075                signal: "mouse,up,1";
7076                source: "base";
7077                action: SIGNAL_EMIT "elm,action,dismiss" "";
7078            }
7079            program { name: "show";
7080                signal: "elm,action,show";
7081                source: "elm";
7082                action: STATE_SET "visible" 0.0;
7083                        //           transition: DECELERATE 0.5;
7084                target: "base";
7085            }
7086            program { name: "hide";
7087                signal: "elm,action,hide";
7088                source: "elm";
7089                action: STATE_SET "default" 0.0;
7090                        //           transition: DECELERATE 0.5;
7091                target: "base";
7092            }
7093            program { name: "bottomshow";
7094                signal: "elm,action,slot,bottom,show";
7095                source: "elm";
7096                action: STATE_SET "visible" 0.0;
7097                transition: DECELERATE 0.3;
7098                target: "bottom";
7099                target: "elm.swallow.slot.bottom";
7100            }
7101            program { name: "bottomhide";
7102                signal: "elm,action,slot,bottom,hide";
7103                source: "elm";
7104                action: STATE_SET "default" 0.0;
7105                transition: DECELERATE 0.5;
7106                target: "bottom";
7107                target: "elm.swallow.slot.bottom";
7108            }
7109        }
7110    }
7111
7112    group { name: "elm/hover/base/hoversel_vertical/default";
7113       alias: "elm/hover/base/hoversel_vertical/entry";
7114       images {
7115 //       image: "shad_circ.png" COMP;
7116          image: "bt_base2.png" COMP;
7117          image: "bt_hilight.png" COMP;
7118          image: "bt_shine.png" COMP;
7119          image: "outdent-top.png" COMP;
7120          image: "outdent-bottom.png" COMP;
7121       }
7122       parts {
7123          part { name: "elm.swallow.offset";
7124             type: SWALLOW;
7125             description { state: "default" 0.0;
7126                align: 0.0 0.0;
7127                rel1.relative: 0.0 0.0;
7128                rel2.relative: 0.0 0.0;
7129             }
7130          }
7131          part { name: "elm.swallow.size";
7132             type: SWALLOW;
7133             description { state: "default" 0.0;
7134                align: 0.0 0.0;
7135                rel1.to: "elm.swallow.offset";
7136                rel1.relative: 1.0 1.0;
7137                rel2.to: "elm.swallow.offset";
7138                rel2.relative: 1.0 1.0;
7139             }
7140          }
7141 /*
7142         part { name: "shad";
7143             mouse_events:  0;
7144             description { state: "default" 0.0;
7145                image.normal: "shad_circ.png";
7146                rel1.to: "button_image";
7147                rel1.offset: -64 -64;
7148                rel2.to: "button_image";
7149                rel2.offset: 63 63;
7150                fill.smooth: 0;
7151             }
7152          }
7153  */
7154          part { name: "button_image";
7155             mouse_events: 1;
7156             description { state: "default" 0.0;
7157                rel1.to_x: "elm.swallow.slot.top";
7158                rel1.to_y: "elm.swallow.slot.top";
7159                rel1.offset: -2 -6;
7160                rel2.to_x: "elm.swallow.slot.top";
7161                rel2.to_y: "elm.swallow.slot.bottom";
7162                rel2.offset: 1 5;
7163                image {
7164                   normal: "bt_base2.png";
7165                   border: 7 7 7 7;
7166                }
7167                image.middle: SOLID;
7168             }
7169             description { state: "bottom" 0.0;
7170                rel1.to_x: "elm.swallow.slot.bottom";
7171                rel1.to_y: "elm.swallow.slot.top";
7172                rel1.offset: -2 -6;
7173                rel2.to_x: "elm.swallow.slot.bottom";
7174                rel2.to_y: "elm.swallow.slot.bottom";
7175                rel2.offset: 1 5;
7176                image {
7177                   normal: "bt_base2.png";
7178                   border: 7 7 7 7;
7179                }
7180                image.middle: SOLID;
7181             }
7182          }
7183
7184          part { name: "base";
7185             type: RECT;
7186             mouse_events: 1;
7187             description { state: "default" 0.0;
7188                color: 0 0 0 0;
7189             }
7190             description { state: "visible" 0.0;
7191                inherit: "default" 1.0;
7192                color: 0 0 0 64;
7193             }
7194          }
7195
7196          part { name: "topclip";
7197             type: RECT;
7198             description { state: "default" 0.0;
7199                rel2.to_y: "edge_top";
7200                rel2.relative: 1.0 0.0;
7201                rel2.offset: -1 7;
7202             }
7203          }
7204          part { name: "elm.swallow.slot.top";
7205             type: SWALLOW;
7206             clip_to: "topclip";
7207             description { state: "default" 0.0;
7208                visible: 1;
7209                align: 0.5 0.0;
7210                rel1.to: "elm.swallow.slot.middle";
7211                rel1.relative: 0.0 0.0;
7212                rel1.offset: 0 -1;
7213                rel2.to: "elm.swallow.slot.middle";
7214                rel2.relative: 1.0 0.0;
7215                rel2.offset: -1 -1;
7216             }
7217             description { state: "visible" 0.0;
7218                inherit: "default" 0.0;
7219                rel1.offset: 0 -7;
7220                rel2.offset: -1 -7;
7221                align: 0.5 1.0;
7222             }
7223          }
7224
7225          part { name: "bottomclip";
7226             type: RECT;
7227             description { state: "default" 0.0;
7228                rel1.to_y: "edge_bottom";
7229                rel1.relative: 0.0 1.0;
7230                rel1.offset: -1 -8;
7231             }
7232          }
7233          part { name: "elm.swallow.slot.bottom";
7234             type: SWALLOW;
7235             clip_to: "bottomclip";
7236             description { state: "default" 0.0;
7237                align: 0.5 1.0;
7238                rel1.to: "elm.swallow.slot.middle";
7239                rel1.relative: 0.0 1.0;
7240                rel1.offset: 0 0;
7241                rel2.to: "elm.swallow.slot.middle";
7242                rel2.relative: 1.0 1.0;
7243                rel2.offset: -1 0;
7244             }
7245             description { state: "visible" 0.0;
7246                inherit: "default" 0.0;
7247                rel1.offset: 0 6;
7248                rel2.offset: -1 6;
7249                align: 0.5 0.0;
7250             }
7251          }
7252
7253          part {   name: "over1";
7254             mouse_events: 0;
7255             description { state: "default" 0.0;
7256                rel1.to: "button_image";
7257                rel2.to: "button_image";
7258                rel2.relative: 1.0 0.5;
7259                image {
7260                   normal: "bt_hilight.png";
7261                   border: 7 7 7 0;
7262                }
7263             }
7264          }
7265          part { name: "over2";
7266             mouse_events: 1;
7267             repeat_events: 1;
7268             ignore_flags: ON_HOLD;
7269             description { state: "default" 0.0;
7270                rel1.to: "button_image";
7271                rel2.to: "button_image";
7272                image {
7273                   normal: "bt_shine.png";
7274                   border: 7 7 7 7;
7275                }
7276             }
7277          }
7278          part { name: "edge_top";
7279             mouse_events:  0;
7280             description { state: "default" 0.0;
7281                visible: 0;
7282                rel1 {
7283                   to: "elm.swallow.size";
7284                   offset: 0 -10;
7285                }
7286                rel2 {
7287                   to: "elm.swallow.size";
7288                }
7289                image.normal: "outdent-bottom.png";
7290                image.border: 0 0 13 0;
7291                fill.smooth: 0;
7292             }
7293             description { state: "visible" 0.0;
7294                inherit: "default" 0.0;
7295                visible: 1;
7296             }
7297          }
7298          part { name: "edge_bottom";
7299             mouse_events:  0;
7300             description { state: "default" 0.0;
7301                visible: 0;
7302                rel1 {
7303                   to: "elm.swallow.size";
7304                }
7305                rel2 {
7306                   to: "elm.swallow.size";
7307                   offset: -1 9;
7308                }
7309                image.normal: "outdent-top.png";
7310                image.border: 0 0 0 13;
7311                fill.smooth: 0;
7312             }
7313             description { state: "visible" 0.0;
7314                inherit: "default" 0.0;
7315                visible: 1;
7316             }
7317          }
7318          part { name: "elm.swallow.slot.middle";
7319             type: SWALLOW;
7320             description { state: "default" 0.0;
7321                rel1.to: "elm.swallow.size";
7322                rel2.to: "elm.swallow.size";
7323             }
7324          }
7325       }
7326       programs {
7327          program { name: "end";
7328             signal: "mouse,up,1";
7329             source: "base";
7330             action: SIGNAL_EMIT "elm,action,dismiss" "";
7331          }
7332
7333          program { name: "show";
7334             signal: "elm,action,show";
7335             source: "elm";
7336             action: STATE_SET "visible" 0.0;
7337 //          transition: DECELERATE 0.5;
7338             target: "base";
7339          }
7340          program { name: "hide";
7341             signal: "elm,action,hide";
7342             source: "elm";
7343             action: STATE_SET "default" 0.0;
7344 //          transition: DECELERATE 0.5;
7345             target: "base";
7346          }
7347          program { name: "topshow";
7348             signal: "elm,action,slot,top,show";
7349             source: "elm";
7350             action: STATE_SET "visible" 0.0;
7351             target: "edge_top";
7352             after: "topshow2";
7353          }
7354          program { name: "topshow2";
7355             action: STATE_SET "visible" 0.0;
7356             transition: DECELERATE 0.5;
7357             target: "elm.swallow.slot.top";
7358          }
7359          program { name: "topshow3";
7360             signal: "elm,action,slot,top,show";
7361             source: "elm";
7362             action: STATE_SET "default" 0.0;
7363             target: "button_image";
7364          }
7365          program { name: "tophide";
7366             signal: "elm,action,slot,top,hide";
7367             source: "elm";
7368             action: STATE_SET "default" 0.0;
7369             transition: DECELERATE 0.5;
7370             target: "elm.swallow.slot.top";
7371             after: "tophide2";
7372          }
7373          program { name: "tophide2";
7374             action: STATE_SET "default" 0.0;
7375             target: "edge_top";
7376          }
7377          program { name: "bottomshow";
7378             signal: "elm,action,slot,bottom,show";
7379             source: "elm";
7380             action: STATE_SET "visible" 0.0;
7381             target: "edge_bottom";
7382             after: "bottomshow2";
7383          }
7384          program { name: "bottomshow2";
7385             action: STATE_SET "visible" 0.0;
7386             transition: DECELERATE 0.5;
7387             target: "elm.swallow.slot.bottom";
7388          }
7389          program { name: "bottomshow3";
7390             signal: "elm,action,slot,bottom,show";
7391             source: "elm";
7392             action: STATE_SET "bottom" 0.0;
7393             target: "button_image";
7394          }
7395          program { name: "bottomhide";
7396             signal: "elm,action,slot,bottom,hide";
7397             source: "elm";
7398             action: STATE_SET "default" 0.0;
7399             transition: DECELERATE 0.5;
7400             target: "elm.swallow.slot.bottom";
7401             after: "bottomhide2";
7402          }
7403          program { name: "bottomhide2";
7404             action: STATE_SET "default" 0.0;
7405             target: "edge_bottom";
7406          }
7407       }
7408    }
7409 ///////////////////////////////////////////////////////////////////////////////
7410    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             scale: 1;
7996             description { state: "default" 0.0;
7997                min: 25 25;
7998                max: 25 25;              
7999                align: 0 0.5;     
8000                aspect: 1.0 1.0;
8001                rel1 { offset: 10 10; }              
8002                                         rel2 { offset: 0 -10; }
8003             }
8004          }       
8005          part { name: "elm.text";
8006             type: TEXT;
8007             mouse_events: 0;
8008             scale: 1;
8009             description { state: "default" 0.0;
8010                min: 1 40;
8011                fixed: 0 1;
8012                align: 0.5 0.5;
8013                rel1 { relative: 1.0 0.0; to: "elm.swallow.icon"; offset: 10 0; }
8014                rel2 { relative: 1.0 1.0; offset: -11 -1; }
8015                color: 255 255 255 255;
8016                text {
8017                   font: "Sans";
8018                   size: 10;
8019                   align: 0.0 0.5;
8020                   min: 1 1;
8021                }
8022             }
8023             description { state: "clicked" 0.0;
8024                inherit: "default" 0.0;
8025                color: 0 0 0 255;
8026             }
8027          } 
8028                         part { name: "over1";
8029             mouse_events: 1;
8030             repeat_events: 1;
8031             ignore_flags: ON_HOLD;
8032             description { state: "default" 0.0;
8033                color: 255 255 255 0;
8034             }
8035             description { state: "clicked" 0.0;
8036                inherit: "default" 0.0; 
8037                color: 255 255 255 255;
8038             }
8039          }
8040          part { name: "over2";
8041             mouse_events: 1;
8042             repeat_events: 1;
8043             description { state: "default" 0.0;
8044                color: 255 255 255 0;
8045             }
8046             description { state: "clicked" 0.0;
8047                inherit: "default" 0.0; 
8048                color: 255 255 255 255;
8049             }
8050          }
8051          part { name: "disclip";
8052             type: RECT;
8053             description { state: "default" 0.0;
8054                visible: 0;
8055             }
8056             description { state: "enabled" 0.0;
8057                visible: 1;
8058                color: 50 50 50 127;
8059                rel1.offset: 4 4;
8060                rel2.offset: -5 -5;
8061             }
8062          }
8063       }
8064       programs {
8065          program {
8066             name: "item_unclick";
8067             signal: "mouse,up,1";
8068             source: "over1";
8069             action: SIGNAL_EMIT "elm,action,click" "";
8070          } 
8071          program { name: "disable";
8072             signal: "elm,state,disabled";
8073             source: "elm";
8074             action: STATE_SET "enabled" 0.0;
8075             target: "disclip";
8076          }
8077          program { name: "enable";
8078             signal: "elm,state,enabled";
8079             source: "elm";
8080             action: STATE_SET "default" 0.0;
8081             target: "disclip";
8082          }
8083          program { name: "item_click2";
8084             signal: "mouse,down,1";
8085             source: "over2";
8086             script {
8087                set_state(PART:"elm.text", "clicked", 0.0);
8088                set_state(PART:"bg", "clicked", 0.0);
8089             }
8090          }  
8091          program { name: "item_unclick2";
8092             signal: "mouse,up,1";
8093             source: "over2";
8094             script { 
8095                                         set_state(PART:"elm.text", "default", 0.0);
8096                set_state(PART:"bg", "default", 0.0);
8097             }  
8098          }
8099       }   
8100    }   
8101 ///////////////////////////////////////////////////////////////////////////////
8102 // emoticon images from:
8103 // Tanya - Latvia
8104 // http://lazycrazy.deviantart.com/
8105 // http://lazycrazy.deviantart.com/art/Very-Emotional-Emoticons-144461621
8106   group { name: "elm/entry/emoticon/angry/default"; images.image:
8107      "emo-angry.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8108         "emo-angry.png"; } } } }
8109   group { name: "elm/entry/emoticon/angry-shout/default"; images.image:
8110      "emo-angry-shout.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8111         "emo-angry-shout.png"; } } } }
8112   group { name: "elm/entry/emoticon/crazy-laugh/default"; images.image:
8113      "emo-crazy-laugh.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8114         "emo-crazy-laugh.png"; } } } }
8115   group { name: "elm/entry/emoticon/evil-laugh/default"; images.image:
8116      "emo-evil-laugh.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8117         "emo-evil-laugh.png"; } } } }
8118   group { name: "elm/entry/emoticon/evil/default"; images.image:
8119      "emo-evil.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8120         "emo-evil.png"; } } } }
8121   group { name: "elm/entry/emoticon/goggle-smile/default"; images.image:
8122      "emo-goggle-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8123         "emo-goggle-smile.png"; } } } }
8124   group { name: "elm/entry/emoticon/grumpy/default"; images.image:
8125      "emo-grumpy.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8126         "emo-grumpy.png"; } } } }
8127   group { name: "elm/entry/emoticon/grumpy-smile/default"; images.image:
8128      "emo-grumpy-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8129         "emo-grumpy-smile.png"; } } } }
8130   group { name: "elm/entry/emoticon/guilty/default"; images.image:
8131      "emo-guilty.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8132         "emo-guilty.png"; } } } }
8133   group { name: "elm/entry/emoticon/guilty-smile/default"; images.image:
8134      "emo-guilty-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8135         "emo-guilty-smile.png"; } } } }
8136   group { name: "elm/entry/emoticon/haha/default"; images.image:
8137      "emo-haha.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8138         "emo-haha.png"; } } } }
8139   group { name: "elm/entry/emoticon/half-smile/default"; images.image:
8140      "emo-half-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8141         "emo-half-smile.png"; } } } }
8142   group { name: "elm/entry/emoticon/happy-panting/default"; images.image:
8143      "emo-happy-panting.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8144         "emo-happy-panting.png"; } } } }
8145   group { name: "elm/entry/emoticon/happy/default"; images.image:
8146      "emo-happy.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8147         "emo-happy.png"; } } } }
8148   group { name: "elm/entry/emoticon/indifferent/default"; images.image:
8149      "emo-indifferent.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8150         "emo-indifferent.png"; } } } }
8151   group { name: "elm/entry/emoticon/kiss/default"; images.image:
8152      "emo-kiss.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8153         "emo-kiss.png"; } } } }
8154   group { name: "elm/entry/emoticon/knowing-grin/default"; images.image:
8155      "emo-knowing-grin.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8156         "emo-knowing-grin.png"; } } } }
8157   group { name: "elm/entry/emoticon/laugh/default"; images.image:
8158      "emo-laugh.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8159         "emo-laugh.png"; } } } }
8160   group { name: "elm/entry/emoticon/little-bit-sorry/default"; images.image:
8161      "emo-little-bit-sorry.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8162         "emo-little-bit-sorry.png"; } } } }
8163   group { name: "elm/entry/emoticon/love-lots/default"; images.image:
8164      "emo-love-lots.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8165         "emo-love-lots.png"; } } } }
8166   group { name: "elm/entry/emoticon/love/default"; images.image:
8167      "emo-love.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8168         "emo-love.png"; } } } }
8169   group { name: "elm/entry/emoticon/minimal-smile/default"; images.image:
8170      "emo-minimal-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8171         "emo-minimal-smile.png"; } } } }
8172   group { name: "elm/entry/emoticon/not-happy/default"; images.image:
8173      "emo-not-happy.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8174         "emo-not-happy.png"; } } } }
8175   group { name: "elm/entry/emoticon/not-impressed/default"; images.image:
8176      "emo-not-impressed.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8177         "emo-not-impressed.png"; } } } }
8178   group { name: "elm/entry/emoticon/omg/default"; images.image:
8179      "emo-omg.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8180         "emo-omg.png"; } } } }
8181   group { name: "elm/entry/emoticon/opensmile/default"; images.image:
8182      "emo-opensmile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8183         "emo-opensmile.png"; } } } }
8184   group { name: "elm/entry/emoticon/smile/default"; images.image:
8185      "emo-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8186         "emo-smile.png"; } } } }
8187   group { name: "elm/entry/emoticon/sorry/default"; images.image:
8188      "emo-sorry.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8189         "emo-sorry.png"; } } } }
8190   group { name: "elm/entry/emoticon/squint-laugh/default"; images.image:
8191      "emo-squint-laugh.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8192         "emo-squint-laugh.png"; } } } }
8193   group { name: "elm/entry/emoticon/surprised/default"; images.image:
8194      "emo-surprised.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8195         "emo-surprised.png"; } } } }
8196   group { name: "elm/entry/emoticon/suspicious/default"; images.image:
8197      "emo-suspicious.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8198         "emo-suspicious.png"; } } } }
8199   group { name: "elm/entry/emoticon/tongue-dangling/default"; images.image:
8200      "emo-tongue-dangling.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8201         "emo-tongue-dangling.png"; } } } }
8202   group { name: "elm/entry/emoticon/tongue-poke/default"; images.image:
8203      "emo-tongue-poke.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8204         "emo-tongue-poke.png"; } } } }
8205   group { name: "elm/entry/emoticon/uh/default"; images.image:
8206      "emo-uh.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8207         "emo-uh.png"; } } } }
8208   group { name: "elm/entry/emoticon/unhappy/default"; images.image:
8209      "emo-unhappy.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8210         "emo-unhappy.png"; } } } }
8211   group { name: "elm/entry/emoticon/very-sorry/default"; images.image:
8212      "emo-very-sorry.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8213         "emo-very-sorry.png"; } } } }
8214   group { name: "elm/entry/emoticon/what/default"; images.image:
8215      "emo-what.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8216         "emo-what.png"; } } } }
8217   group { name: "elm/entry/emoticon/wink/default"; images.image:
8218      "emo-wink.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8219         "emo-wink.png"; } } } }
8220   group { name: "elm/entry/emoticon/worried/default"; images.image:
8221      "emo-worried.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8222         "emo-worried.png"; } } } }
8223   group { name: "elm/entry/emoticon/wtf/default"; images.image:
8224      "emo-wtf.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8225         "emo-wtf.png"; } } } }
8226 //------------------------------------------------------------
8227    group { name: "elm/entry/base/default";
8228       styles
8229       {
8230          style { name: "entry_textblock_style";
8231             base: "font=Sans font_size=10 color=#000 wrap=word text_class=entry";
8232             tag:  "br" "\n";
8233             tag:  "ps" "ps";
8234             tag:  "tab" "\t";
8235             tag:  "em" "+ font=Sans:style=Oblique";
8236             tag:  "b" "+ font=Sans:style=Bold";
8237             tag:  "link" "+ color=#800 underline=on underline_color=#8008";
8238             tag:  "hilight" "+ font=Sans:style=Bold";
8239          }
8240          style { name: "entry_textblock_disabled_style";
8241             base: "font=Sans font_size=10 color=#00000080 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=#00000080 underline=on underline_color=#00000080";
8248             tag:  "hilight" "+ font=Sans:style=Bold";
8249          }
8250       }
8251       data {
8252 //         item: context_menu_orientation "horizontal";
8253       }
8254       parts {
8255          part { name: "elm.text";
8256             type: TEXTBLOCK;
8257             mouse_events: 1;
8258             scale: 1;
8259             entry_mode: EDITABLE;
8260             select_mode: EXPLICIT;
8261             multiline: 1;
8262             source: "elm/entry/selection/default"; // selection under
8263    //       source2: "X"; // selection over
8264    //       source3: "X"; // cursor under
8265             source4: "elm/entry/cursor/default"; // cursorover
8266             source5: "elm/entry/anchor/default"; // anchor under
8267    //       source6: "X"; // anchor over
8268             description { state: "default" 0.0;
8269                /* we gotta use 0 0 here, because of scrolled entries */
8270                fixed: 0 0;
8271                text {
8272                   style: "entry_textblock_style";
8273                   min: 0 1;
8274                }
8275             }
8276             description { state: "disabled" 0.0;
8277                inherit: "default" 0.0;
8278                text {
8279                   style: "entry_textblock_disabled_style";
8280                   min: 0 1;
8281                }
8282             }
8283          }
8284       }
8285       programs {
8286          program { name: "focus";
8287             signal: "load";
8288             source: "";
8289             action: FOCUS_SET;
8290             target: "elm.text";
8291          }
8292          program { name: "disable";
8293             signal: "elm,state,disabled";
8294             source: "elm";
8295             action: STATE_SET "disabled" 0.0;
8296             target: "elm.text";
8297          }
8298          program { name: "enable";
8299             signal: "elm,state,enabled";
8300             source: "elm";
8301             action: STATE_SET "default" 0.0;
8302             target: "elm.text";
8303          }
8304       }
8305    }
8306
8307    group { name: "elm/entry/base-charwrap/default";
8308       styles
8309       {
8310          style { name: "entry_textblock_style_charwrap";
8311             base: "font=Sans font_size=10 color=#000 wrap=char text_class=entry";
8312             tag:  "br" "\n";
8313             tag:  "ps" "ps";
8314             tag:  "tab" "\t";
8315             tag:  "em" "+ font=Sans:style=Oblique";
8316             tag:  "b" "+ font=Sans:style=Bold";
8317             tag:  "link" "+ color=#800 underline=on underline_color=#8008";
8318             tag:  "hilight" "+ font=Sans:style=Bold";
8319          }
8320          style { name: "entry_textblock_disabled_style_charwrap";
8321             base: "font=Sans font_size=10 color=#00000080 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=#00000080 underline=on underline_color=#00000080";
8328             tag:  "hilight" "+ font=Sans:style=Bold";
8329          }
8330       }
8331       parts {
8332          part { name: "elm.text";
8333             type: TEXTBLOCK;
8334             mouse_events: 1;
8335             scale: 1;
8336             entry_mode: EDITABLE;
8337             select_mode: EXPLICIT;
8338             multiline: 1;
8339             source: "elm/entry/selection/default"; // selection under
8340 //          source2: "X"; // selection over
8341 //          source3: "X"; // cursor under
8342             source4: "elm/entry/cursor/default"; // cursorover
8343             source5: "elm/entry/anchor/default"; // anchor under
8344 //          source6: "X"; // anchor over
8345             description { state: "default" 0.0;
8346                fixed: 1 0;
8347                text {
8348                   style: "entry_textblock_style_charwrap";
8349                   min: 0 1;
8350                }
8351             }
8352             description { state: "disabled" 0.0;
8353                inherit: "default" 0.0;
8354                text {
8355                   style: "entry_textblock_disabled_style_charwrap";
8356                   min: 0 1;
8357                }
8358             }
8359          }
8360       }
8361       programs {
8362          program { name: "focus";
8363             signal: "load";
8364             source: "";
8365             action: FOCUS_SET;
8366             target: "elm.text";
8367          }
8368          program { name: "disable";
8369             signal: "elm,state,disabled";
8370             source: "elm";
8371             action: STATE_SET "disabled" 0.0;
8372             target: "elm.text";
8373          }
8374          program { name: "enable";
8375             signal: "elm,state,enabled";
8376             source: "elm";
8377             action: STATE_SET "default" 0.0;
8378             target: "elm.text";
8379          }
8380       }
8381    }
8382
8383    group { name: "elm/entry/base-nowrap/default";
8384       parts {
8385          part { name: "elm.text";
8386             type: TEXTBLOCK;
8387             mouse_events: 1;
8388             scale: 1;
8389             entry_mode: EDITABLE;
8390             select_mode: EXPLICIT;
8391             multiline: 1;
8392             source: "elm/entry/selection/default"; // selection under
8393             source4: "elm/entry/cursor/default"; // cursorover
8394             source5: "elm/entry/anchor/default"; // anchor under
8395             description { state: "default" 0.0;
8396                text {
8397                   style: "entry_textblock_style";
8398                   min: 1 1;
8399                }
8400             }
8401             description { state: "disabled" 0.0;
8402                inherit: "default" 0.0;
8403                text {
8404                   style: "entry_textblock_disabled_style";
8405                   min: 0 1;
8406                }
8407             }
8408          }
8409 /*
8410          part { name: "sel";
8411             type: RECT;
8412             mouse_events: 0;
8413             description { state: "default" 0.0;
8414                align: 1.0 1.0;
8415                max: 16 16;
8416                aspect: 1.0 1.0;
8417                color: 255 0 0 0;
8418             }
8419             description { state: "visible" 0.0;
8420                inherit: "default" 0.0;
8421                color: 255 0 0 50;
8422             }
8423          }
8424  */
8425       }
8426       programs {
8427          program { name: "focus";
8428             signal: "load";
8429             source: "";
8430             action: FOCUS_SET;
8431             target: "elm.text";
8432          }
8433          program { name: "disable";
8434             signal: "elm,state,disabled";
8435             source: "elm";
8436             action: STATE_SET "disabled" 0.0;
8437             target: "elm.text";
8438          }
8439          program { name: "enable";
8440             signal: "elm,state,enabled";
8441             source: "elm";
8442             action: STATE_SET "default" 0.0;
8443             target: "elm.text";
8444          }
8445 /*
8446          program { name: "selmode0";
8447             signal: "elm,state,select,on";
8448             source: "elm";
8449             action: STATE_SET "visible" 0.0;
8450             target: "sel";
8451          }
8452          program { name: "selmode1";
8453             signal: "elm,state,select,off";
8454             source: "elm";
8455             action: STATE_SET "default" 0.0;
8456             target: "sel";
8457          }
8458  */
8459       }
8460    }
8461
8462    group { name: "elm/entry/base-single/default";
8463       styles
8464       {
8465          style { name: "entry_single_textblock_style";
8466             base: "font=Sans font_size=10 color=#000 wrap=none text_class=entry";
8467             tag:  "br" "\n";
8468             tag:  "ps" "ps";
8469             tag:  "tab" "\t";
8470             tag:  "em" "+ font=Sans:style=Oblique";
8471             tag:  "b" "+ font=Sans:style=Bold";
8472             tag:  "link" "+ color=#800 underline=on underline_color=#8008";
8473             tag:  "hilight" "+ font=Sans:style=Bold";
8474          }
8475          style { name: "entry_single_textblock_disabled_style";
8476             base: "font=Sans font_size=10 color=#00000080 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=#00000080 underline=on underline_color=#00000080";
8483             tag:  "hilight" "+ font=Sans:style=Bold";
8484          }
8485       }
8486       parts {
8487          part { name: "elm.text";
8488             type: TEXTBLOCK;
8489             mouse_events: 1;
8490             scale: 1;
8491             entry_mode: EDITABLE;
8492             select_mode: EXPLICIT;
8493             multiline: 0;
8494             source: "elm/entry/selection/default"; // selection under
8495             source4: "elm/entry/cursor/default"; // cursorover
8496             source5: "elm/entry/anchor/default"; // anchor under
8497             description { state: "default" 0.0;
8498                text {
8499                   style: "entry_single_textblock_style";
8500                   min: 1 1;
8501                   max: 0 1;
8502                }
8503             }
8504             description { state: "disabled" 0.0;
8505                inherit: "default" 0.0;
8506                text {
8507                   style: "entry_single_textblock_disabled_style";
8508                }
8509             }
8510          }
8511       }
8512       programs {
8513          program { name: "focus";
8514             signal: "load";
8515             source: "";
8516             action: FOCUS_SET;
8517             target: "elm.text";
8518          }
8519          program { name: "disable";
8520             signal: "elm,state,disabled";
8521             source: "elm";
8522             action: STATE_SET "disabled" 0.0;
8523             target: "elm.text";
8524          }
8525          program { name: "enable";
8526             signal: "elm,state,enabled";
8527             source: "elm";
8528             action: STATE_SET "default" 0.0;
8529             target: "elm.text";
8530          }
8531       }
8532    }
8533
8534    group { name: "elm/entry/base-single-noedit/default";
8535       parts {
8536          part { name: "elm.text";
8537             type: TEXTBLOCK;
8538             mouse_events: 1;
8539             scale: 1;
8540             entry_mode: PLAIN;
8541             select_mode: EXPLICIT;
8542             multiline: 0;
8543             source: "elm/entry/selection/default"; // selection under
8544             source5: "elm/entry/anchor/default"; // anchor under
8545             description { state: "default" 0.0;
8546                text {
8547                   style: "entry_single_textblock_style";
8548                   min: 1 1;
8549                   max: 0 1;
8550                }
8551             }
8552             description { state: "disabled" 0.0;
8553                inherit: "default" 0.0;
8554                text {
8555                style: "entry_single_textblock_disabled_style";
8556                }
8557             }
8558          }
8559       }
8560       programs {
8561          program { name: "focus";
8562             signal: "load";
8563             source: "";
8564             action: FOCUS_SET;
8565             target: "elm.text";
8566          }
8567          program { name: "disable";
8568             signal: "elm,state,disabled";
8569             source: "elm";
8570             action: STATE_SET "disabled" 0.0;
8571             target: "elm.text";
8572          }
8573          program { name: "enable";
8574             signal: "elm,state,enabled";
8575             source: "elm";
8576             action: STATE_SET "default" 0.0;
8577             target: "elm.text";
8578          }
8579       }
8580    }
8581
8582    group { name: "elm/entry/base-noedit/default";
8583       parts {
8584          part { name: "elm.text";
8585             type: TEXTBLOCK;
8586             mouse_events: 1;
8587             scale: 1;
8588             entry_mode: PLAIN;
8589             select_mode: EXPLICIT;
8590             multiline: 1;
8591             source: "elm/entry/selection/default"; // selection under
8592             source5: "elm/entry/anchor/default"; // anchor under
8593             description { state: "default" 0.0;
8594                fixed: 1 0;
8595                text {
8596                   style: "entry_textblock_style";
8597                   min: 0 1;
8598                }
8599             }
8600             description { state: "disabled" 0.0;
8601                inherit: "default" 0.0;
8602                text {
8603                   style: "entry_textblock_disabled_style";
8604                }
8605             }
8606          }
8607       }
8608       programs {
8609          program { name: "focus";
8610             signal: "load";
8611             source: "";
8612             action: FOCUS_SET;
8613             target: "elm.text";
8614          }
8615          program { name: "disable";
8616             signal: "elm,state,disabled";
8617             source: "elm";
8618             action: STATE_SET "disabled" 0.0;
8619             target: "elm.text";
8620          }
8621          program { name: "enable";
8622             signal: "elm,state,enabled";
8623             source: "elm";
8624             action: STATE_SET "default" 0.0;
8625             target: "elm.text";
8626          }
8627       }
8628    }
8629
8630    group { name: "elm/entry/base-noedit-charwrap/default";
8631       parts {
8632          part { name: "elm.text";
8633             type: TEXTBLOCK;
8634             mouse_events: 1;
8635             scale: 1;
8636             entry_mode: PLAIN;
8637             select_mode: EXPLICIT;
8638             multiline: 1;
8639             source: "elm/entry/selection/default"; // selection under
8640             source5: "elm/entry/anchor/default"; // anchor under
8641             description { state: "default" 0.0;
8642                fixed: 1 0;
8643                text {
8644                   style: "entry_textblock_style_charwrap";
8645                   min: 0 1;
8646                }
8647             }
8648             description { state: "disabled" 0.0;
8649                inherit: "default" 0.0;
8650                text {
8651                   style: "entry_textblock_disabled_style_charwrap";
8652                }
8653             }
8654          }
8655       }
8656       programs {
8657          program { name: "focus";
8658             signal: "load";
8659             source: "";
8660             action: FOCUS_SET;
8661             target: "elm.text";
8662          }
8663          program { name: "disable";
8664             signal: "elm,state,disabled";
8665             source: "elm";
8666             action: STATE_SET "disabled" 0.0;
8667             target: "elm.text";
8668          }
8669          program { name: "enable";
8670             signal: "elm,state,enabled";
8671             source: "elm";
8672             action: STATE_SET "default" 0.0;
8673             target: "elm.text";
8674          }
8675       }
8676    }
8677
8678    group { name: "elm/entry/base-nowrap-noedit/default";
8679       parts {
8680          part { name: "elm.text";
8681             type: TEXTBLOCK;
8682             mouse_events: 1;
8683             scale: 1;
8684             entry_mode: PLAIN;
8685             select_mode: EXPLICIT;
8686             multiline: 1;
8687             source: "elm/entry/selection/default"; // selection under
8688             source5: "elm/entry/anchor/default"; // anchor under
8689             description { state: "default" 0.0;
8690                text {
8691                   style: "entry_textblock_style";
8692                   min: 1 1;
8693                }
8694             }
8695             description { state: "disabled" 0.0;
8696                inherit: "default" 0.0;
8697                text {
8698                   style: "entry_textblock_disabled_style";
8699                }
8700             }
8701          }
8702       }
8703       programs {
8704          program { name: "focus";
8705             signal: "load";
8706             source: "";
8707             action: FOCUS_SET;
8708             target: "elm.text";
8709          }
8710          program { name: "disable";
8711             signal: "elm,state,disabled";
8712             source: "elm";
8713             action: STATE_SET "disabled" 0.0;
8714             target: "elm.text";
8715          }
8716          program { name: "enable";
8717             signal: "elm,state,enabled";
8718             source: "elm";
8719             action: STATE_SET "default" 0.0;
8720             target: "elm.text";
8721          }
8722       }
8723    }
8724
8725    group { name: "elm/entry/base-password/default";
8726       parts {
8727          part { name: "elm.text";
8728             type: TEXTBLOCK;
8729             mouse_events: 1;
8730             scale: 1;
8731             entry_mode: PASSWORD;
8732             select_mode: EXPLICIT;
8733             multiline: 0;
8734             source: "elm/entry/selection/default"; // selection under
8735             source4: "elm/entry/cursor/default"; // cursorover
8736             source5: "elm/entry/anchor/default"; // anchor under
8737             description { state: "default" 0.0;
8738                text {
8739                   style: "entry_single_textblock_style";
8740                   repch: "*";
8741                   min: 1 1;
8742                   max: 0 1;
8743                }
8744             }
8745             description { state: "disabled" 0.0;
8746                inherit: "default" 0.0;
8747                text {
8748                   style: "entry_single_textblock_disabled_style";
8749                }
8750             }
8751          }
8752       }
8753       programs {
8754          program { name: "focus";
8755             signal: "load";
8756             source: "";
8757             action: FOCUS_SET;
8758             target: "elm.text";
8759          }
8760          program { name: "disable";
8761             signal: "elm,state,disabled";
8762             source: "elm";
8763             action: STATE_SET "disabled" 0.0;
8764             target: "elm.text";
8765          }
8766          program { name: "enable";
8767             signal: "elm,state,enabled";
8768             source: "elm";
8769             action: STATE_SET "default" 0.0;
8770             target: "elm.text";
8771          }
8772       }
8773    }
8774
8775    group { name: "elm/entry/custom-password/default";
8776       parts {
8777          part { name: "elm.text";
8778             type: TEXTBLOCK;
8779             mouse_events: 1;
8780             scale: 1;
8781             entry_mode: PASSWORD_SHOW_LAST_CHARACTER;
8782             select_mode: EXPLICIT;
8783             multiline: 0;
8784             source: "elm/entry/selection/default"; // selection under
8785             source4: "elm/entry/cursor/default"; // cursorover
8786             source5: "elm/entry/anchor/default"; // anchor under
8787             description { state: "default" 0.0;
8788                text {
8789                   style: "entry_single_textblock_style";
8790                   repch: "*";
8791                   min: 1 1;
8792                   max: 0 1;
8793                }
8794             }
8795             description { state: "disabled" 0.0;
8796                inherit: "default" 0.0;
8797                text {
8798                   style: "entry_single_textblock_disabled_style";
8799                }
8800             }
8801          }
8802       }
8803       programs {
8804          program { name: "focus";
8805             signal: "load";
8806             source: "";
8807             action: FOCUS_SET;
8808             target: "elm.text";
8809          }
8810          program { name: "password_stop"; 
8811             signal: "cursor,changed";
8812             source: "elm.text";
8813             action: ACTION_STOP;
8814             target: "password_start";
8815             after: "password_start";
8816          }
8817          program { name: "password_start";
8818             in: 2.0 0.0;
8819             action: HIDE_VISIBLE_PASSWORD;
8820             target: "elm.text";
8821          }
8822          program { name: "disable";
8823             signal: "elm,state,disabled";
8824             source: "elm";
8825             action: STATE_SET "disabled" 0.0;
8826             target: "elm.text";
8827          }
8828          program { name: "enable";
8829             signal: "elm,state,enabled";
8830             source: "elm";
8831             action: STATE_SET "default" 0.0;
8832             target: "elm.text";
8833          }
8834       }
8835    }
8836
8837    group { name: "elm/entry/cursor/default";
8838       images {
8839          image: "cur_box.png" COMP;
8840          image: "cur_hi.png" COMP;
8841          image: "cur_shad.png" COMP;
8842          image: "cur_shine.png" COMP;
8843          image: "cur_glow.png" COMP;
8844       }
8845       parts {
8846          part { name: "clip2";
8847             type: RECT;
8848             mouse_events: 0;
8849             description { state: "default" 0.0;
8850                rel1.to: "clip";
8851                rel2.to: "clip";
8852                visible: 0;
8853             }
8854             description { state: "focused" 0.0;
8855                inherit: "default" 0.0;
8856                visible: 1;
8857             }
8858          }
8859          part { name: "clip";
8860             type: RECT;
8861             mouse_events: 0;
8862             clip_to: "clip2";
8863             description { state: "default" 0.0;
8864                rel1.offset: -10 0;
8865                rel2.offset: 9 9;
8866             }
8867             description { state: "hidden" 0.0;
8868                inherit: "default" 0.0;
8869                visible: 0;
8870             }
8871          }
8872          part { name: "bg";
8873             mouse_events: 0;
8874             clip_to: "clip";
8875             description { state: "default" 0.0;
8876                rel1.to: "base";
8877                rel1.offset: -2 0;
8878                rel2.to: "base";
8879                rel2.offset: 1 1;
8880                image.border: 2 2 2 2;
8881                image.normal: "cur_shad.png";
8882             }
8883          }
8884          part { name: "base";
8885             mouse_events: 0;
8886             scale: 1;
8887             clip_to: "clip";
8888             description { state: "default" 0.0;
8889                min: 2 2;
8890                align: 0.5 1.0;
8891                rel1.relative: 0.0 1.0;
8892                rel1.offset: 0 -1;
8893                rel2.relative: 1.0 1.0;
8894                rel2.offset: -1 -1;
8895                image.normal: "cur_box.png";
8896             }
8897          }
8898          part { name: "hi";
8899             mouse_events: 0;
8900             clip_to: "clip";
8901             description { state: "default" 0.0;
8902                rel1.to: "base";
8903                rel2.to: "base";
8904                rel2.relative: 1.0 0.5;
8905                image.normal: "cur_hi.png";
8906             }
8907          }
8908          part { name: "shine";
8909             mouse_events: 0;
8910             clip_to: "clip";
8911             clip_to: "clip2";
8912             description { state: "default" 0.0;
8913                rel1.to: "base";
8914                rel2.to: "base";
8915                rel2.relative: 1.0 0.75;
8916                image.border: 2 2 1 0;
8917                image.normal: "cur_shine.png";
8918                fill.smooth: 0;
8919             }
8920          }
8921          part { name: "glow";
8922             mouse_events: 0;
8923             clip_to: "clip2";
8924             description { state: "default" 0.0;
8925                rel1.to: "base";
8926                rel1.relative: 0.0 -2.0;
8927                rel1.offset: -2 0;
8928                rel2.to: "base";
8929                rel2.relative: 1.0 0.0;
8930                rel2.offset: 1 1;
8931                image.border: 2 2 0 4;
8932                image.normal: "cur_glow.png";
8933                fill.smooth: 0;
8934             }
8935             description { state: "hidden" 0.0;
8936                inherit: "default" 0.0;
8937                color: 255 255 255 0;
8938             }
8939          }
8940       }
8941       programs {
8942          program { name: "show";
8943             signal: "show";
8944             source: "";
8945             action: STATE_SET "hidden" 0.0;
8946             in: 1.0 0.0;
8947             transition: DECELERATE 2.0;
8948             target: "glow";
8949             after: "show2";
8950          }
8951          program { name: "show2";
8952             action: STATE_SET "hidden" 0.0;
8953             in: 0.2 0.0;
8954             target: "clip";
8955             after: "show3";
8956          }
8957          program { name: "show3";
8958             action: STATE_SET "default" 0.0;
8959             in: 0.5 0.0;
8960             target: "clip";
8961             after: "show4";
8962          }
8963          program { name: "show4";
8964             action: STATE_SET "default" 0.0;
8965             in: 0.5 0.0;
8966             transition: DECELERATE 0.5;
8967             target: "glow";
8968             after: "show";
8969          }
8970          program { name: "focused";
8971             signal: "elm,action,focus";
8972             source: "elm";
8973             action: STATE_SET "focused" 0.0;
8974             target: "clip2";
8975          }
8976          program { name: "unfocused";
8977             signal: "elm,action,unfocus";
8978             source: "elm";
8979             action: STATE_SET "default" 0.0;
8980             target: "clip2";
8981          }
8982       }
8983    }
8984
8985    group { name: "elm/entry/selection/default";
8986       parts {
8987          part { name: "bg";
8988             type: RECT;
8989             mouse_events: 0;
8990             description { state: "default" 0.0;
8991                color: 128 128 128 128;
8992             }
8993          }
8994       }
8995    }
8996
8997    group { name: "elm/entry/anchor/default";
8998       parts {
8999          part { name: "bg";
9000             type: RECT;
9001             mouse_events: 0;
9002             description { state: "default" 0.0;
9003                color: 128 0 0 64;
9004             }
9005          }
9006       }
9007    }
9008
9009 ///////////////////////////////////////////////////////////////////////////////
9010   group { name: "elm/bubble/top_left/default";
9011     alias: "elm/bubble/base/default";
9012     images {
9013       image: "bubble_3.png" COMP;
9014       image: "bubble_shine3.png" COMP;
9015     }
9016     parts {
9017       part { name: "event";
9018          type: RECT;
9019          description {
9020             state: "default" 0.0;
9021             color: 0 0 0 0;
9022          }
9023       }
9024       part { name: "elm.swallow.icon";
9025         type: SWALLOW;
9026         description { state: "default" 0.0;
9027           fixed: 1 1;
9028           visible: 0;
9029           align: 0.0 0.0;
9030           aspect: 1.0 1.0;
9031           aspect_preference: VERTICAL;
9032           rel1 {
9033             relative: 0.0 0.0;
9034             offset: 4 4;
9035           }
9036           rel2 {
9037             to_y: "elm.text";
9038             relative: 0.0 1.0;
9039             offset: 4 -1;
9040           }
9041         }
9042         description { state: "visible" 0.0;
9043           inherit: "default" 0.0;
9044           visible: 1;
9045         }
9046       }
9047       part { name: "elm.text";
9048         type: TEXT;
9049         mouse_events:   0;
9050         scale: 1;
9051         description { state: "default" 0.0;
9052           align: 0.0 0.0;
9053           fixed: 0 1;
9054           rel1 {
9055             to_x: "elm.swallow.icon";
9056             relative: 1.0 0.0;
9057             offset: 4 4;
9058           }
9059           rel2 {
9060             to_x: "elm.info";
9061             relative: 0.0 0.0;
9062             offset: -5 4;
9063           }
9064           color: 0 0 0 255;
9065           text {
9066             font: "Sans:style=Bold,Edje-Vera-Bold";
9067             size: 10;
9068             min: 0 1;
9069             max: 0 1;
9070             align: 0.0 0.0;
9071           }
9072         }
9073       }
9074       part { name: "elm.info";
9075         type: TEXT;
9076         mouse_events:   0;
9077         scale: 1;
9078         description { state: "default" 0.0;
9079           align: 1.0 0.0;
9080           fixed: 1 1;
9081           rel1 {
9082             relative: 1.0 0.0;
9083             offset: -5 4;
9084           }
9085           rel2 {
9086             relative: 1.0 0.0;
9087             offset: -5 4;
9088           }
9089           color: 0 0 0 64;
9090           text {
9091             font: "Sans:style=Bold,Edje-Vera-Bold";
9092             size: 10;
9093             min: 1 1;
9094             max: 1 1;
9095             align: 1.0 0.0;
9096           }
9097         }
9098       }
9099       part { name: "base0";
9100         mouse_events:  0;
9101         description { state: "default" 0.0;
9102           rel1 {
9103             to_y: "elm.swallow.icon";
9104             relative: 0.0 1.0;
9105             offset: 0 0;
9106           }
9107           image {
9108             normal: "bubble_3.png";
9109             border: 36 11 18 9;
9110           }
9111           image.middle: SOLID;
9112           fill.smooth: 0;
9113         }
9114       }
9115       part { name: "elm.swallow.content";
9116         type: SWALLOW;
9117         description { state: "default" 0.0;
9118           rel1 {
9119             to: "base0";
9120             offset: 9 16;
9121           }
9122           rel2 {
9123             to: "base0";
9124             offset: -10 -9;
9125           }
9126         }
9127       }
9128       part { name: "shine";
9129         mouse_events:  0;
9130         description { state:    "default" 0.0;
9131           rel1 {
9132             to: "base0";
9133             offset: 5 4;
9134           }
9135           rel2 {
9136             to: "base0";
9137             relative: 1.0 0.5;
9138             offset: -6 7;
9139           }
9140           image {
9141             normal: "bubble_shine3.png";
9142             border: 36 5 14 0;
9143           }
9144           fill.smooth: 0;
9145         }
9146       }
9147     }
9148     programs {
9149       program {
9150         name: "icon_show";
9151         signal: "elm,state,icon,visible";
9152         source: "elm";
9153         action: STATE_SET "visible" 0.0;
9154         target: "elm.swallow.icon";
9155       }
9156       program {
9157         name: "icon_hide";
9158         signal: "elm,state,icon,hidden";
9159         source: "elm";
9160         action: STATE_SET "default" 0.0;
9161         target: "elm.swallow.icon";
9162       }
9163     }
9164   }
9165
9166   group { name: "elm/bubble/top_right/default";
9167     images {
9168       image: "bubble_4.png" COMP;
9169       image: "bubble_shine4.png" COMP;
9170     }
9171     parts {
9172       part { name: "event";
9173          type: RECT;
9174          description {
9175             state: "default" 0.0;
9176             color: 0 0 0 0;
9177          }
9178       }
9179       part { name: "elm.swallow.icon";
9180         type: SWALLOW;
9181         description { state: "default" 0.0;
9182           fixed: 1 1;
9183           visible: 0;
9184           align: 1.0 0.0;
9185           aspect: 1.0 1.0;
9186           aspect_preference: VERTICAL;
9187           rel1 {
9188             relative: 1.0 0.0;
9189             offset: -5 4;
9190           }
9191           rel2 {
9192             to_y: "elm.text";
9193             relative: 1.0 1.0;
9194             offset: -5 -1;
9195           }
9196         }
9197         description { state: "visible" 0.0;
9198           inherit: "default" 0.0;
9199           visible: 1;
9200         }
9201       }
9202       part { name: "elm.text";
9203         type: TEXT;
9204         mouse_events:   0;
9205         scale: 1;
9206         description { state: "default" 0.0;
9207           align: 0.0 0.0;
9208           fixed: 0 1;
9209           rel1 {
9210             relative: 0.0 0.0;
9211             offset: 4 4;
9212           }
9213           rel2 {
9214             to_x: "elm.info";
9215             relative: 0.0 0.0;
9216             offset: -5 4;
9217           }
9218           color: 0 0 0 255;
9219           text {
9220             font: "Sans:style=Bold,Edje-Vera-Bold";
9221             size: 10;
9222             min: 0 1;
9223             max: 0 1;
9224             align: 0.0 0.0;
9225           }
9226         }
9227       }
9228       part { name: "elm.info";
9229         type: TEXT;
9230         mouse_events:   0;
9231         scale: 1;
9232         description { state: "default" 0.0;
9233           align: 1.0 0.0;
9234           fixed: 1 1;
9235           rel1 {
9236             relative: 1.0 0.0;
9237             offset: -5 4;
9238           }
9239           rel2 {
9240             to_x: "elm.swallow.icon";
9241             relative: 0.0 0.0;
9242             offset: -5 4;
9243           }
9244           color: 0 0 0 64;
9245           text {
9246             font: "Sans:style=Bold,Edje-Vera-Bold";
9247             size: 10;
9248             min: 1 1;
9249             max: 1 1;
9250             align: 1.0 0.0;
9251           }
9252         }
9253       }
9254       part { name: "base0";
9255         mouse_events:  0;
9256         description { state: "default" 0.0;
9257           rel1 {
9258             to_y: "elm.swallow.icon";
9259             relative: 0.0 1.0;
9260             offset: 0 0;
9261           }
9262           image {
9263             normal: "bubble_4.png";
9264             border: 11 36 18 9;
9265           }
9266           image.middle: SOLID;
9267           fill.smooth: 0;
9268         }
9269       }
9270       part { name: "elm.swallow.content";
9271         type: SWALLOW;
9272         description { state: "default" 0.0;
9273           rel1 {
9274             to: "base0";
9275             offset: 9 16;
9276           }
9277           rel2 {
9278             to: "base0";
9279             offset: -10 -9;
9280           }
9281         }
9282       }
9283       part { name: "shine";
9284         mouse_events:  0;
9285         description { state:    "default" 0.0;
9286           rel1 {
9287             to: "base0";
9288             offset: 5 4;
9289           }
9290           rel2 {
9291             to: "base0";
9292             relative: 1.0 0.5;
9293             offset: -6 7;
9294           }
9295           image {
9296             normal: "bubble_shine4.png";
9297             border: 5 36 14 0;
9298           }
9299           fill.smooth: 0;
9300         }
9301       }
9302     }
9303     programs {
9304       program {
9305         name: "icon_show";
9306         signal: "elm,state,icon,visible";
9307         source: "elm";
9308         action: STATE_SET "visible" 0.0;
9309         target: "elm.swallow.icon";
9310       }
9311       program {
9312         name: "icon_hide";
9313         signal: "elm,state,icon,hidden";
9314         source: "elm";
9315         action: STATE_SET "default" 0.0;
9316         target: "elm.swallow.icon";
9317       }
9318     }
9319   }
9320
9321   group { name: "elm/bubble/bottom_left/default";
9322     images {
9323       image: "bubble_1.png" COMP;
9324       image: "bubble_shine.png" COMP;
9325     }
9326     parts {
9327       part { name: "event";
9328          type: RECT;
9329          description {
9330             state: "default" 0.0;
9331             color: 0 0 0 0;
9332          }
9333       }
9334       part { name: "elm.swallow.icon";
9335         type: SWALLOW;
9336         description { state: "default" 0.0;
9337           fixed: 1 1;
9338           visible: 0;
9339           align: 0.0 1.0;
9340           aspect: 1.0 1.0;
9341           aspect_preference: VERTICAL;
9342           rel1 {
9343             to_y: "elm.text";
9344             relative: 0.0 0.0;
9345             offset: 4 0;
9346           }
9347           rel2 {
9348             relative: 0.0 1.0;
9349             offset: 4 -5;
9350           }
9351         }
9352         description { state: "visible" 0.0;
9353           inherit: "default" 0.0;
9354           visible: 1;
9355         }
9356       }
9357       part { name: "elm.text";
9358         type: TEXT;
9359         mouse_events:   0;
9360         scale: 1;
9361         description { state: "default" 0.0;
9362           align: 0.0 1.0;
9363           fixed: 0 1;
9364           rel1 {
9365             to_x: "elm.swallow.icon";
9366             relative: 1.0 1.0;
9367             offset: 4 -5;
9368           }
9369           rel2 {
9370             to_x: "elm.info";
9371             relative: 0.0 1.0;
9372             offset: -5 -5;
9373           }
9374           color: 0 0 0 255;
9375           text {
9376             font: "Sans:style=Bold,Edje-Vera-Bold";
9377             size: 10;
9378             min: 0 1;
9379             max: 0 1;
9380             align: 0.0 1.0;
9381           }
9382         }
9383       }
9384       part { name: "elm.info";
9385         type: TEXT;
9386         mouse_events:   0;
9387         scale: 1;
9388         description { state: "default" 0.0;
9389           align: 1.0 1.0;
9390           fixed: 1 1;
9391           rel1 {
9392             relative: 1.0 1.0;
9393             offset: -5 -5;
9394           }
9395           rel2 {
9396             relative: 1.0 1.0;
9397             offset: -5 -5;
9398           }
9399           color: 0 0 0 64;
9400           text {
9401             font: "Sans:style=Bold,Edje-Vera-Bold";
9402             size: 10;
9403             min: 1 1;
9404             max: 1 1;
9405             align: 1.0 1.0;
9406           }
9407         }
9408       }
9409       part { name: "base0";
9410         mouse_events:  0;
9411         description { state: "default" 0.0;
9412           rel2 {
9413             to_y: "elm.swallow.icon";
9414             relative: 1.0 0.0;
9415             offset: -1 -1;
9416           }
9417           image {
9418             normal: "bubble_1.png";
9419             border: 36 11 10 19;
9420           }
9421           image.middle: SOLID;
9422           fill.smooth: 0;
9423         }
9424       }
9425       part { name: "elm.swallow.content";
9426         type: SWALLOW;
9427         description { state: "default" 0.0;
9428           rel1 {
9429             to: "base0";
9430             offset: 9 8;
9431           }
9432           rel2 {
9433             to: "base0";
9434             offset: -10 -17;
9435           }
9436         }
9437       }
9438       part { name: "shine";
9439         mouse_events:  0;
9440         description { state:    "default" 0.0;
9441           rel1 {
9442             to: "base0";
9443             offset: 5 4;
9444           }
9445           rel2 {
9446             to: "base0";
9447             relative: 1.0 0.5;
9448             offset: -6 -16;
9449           }
9450           image {
9451             normal: "bubble_shine.png";
9452             border: 5 5 5 0;
9453           }
9454           fill.smooth: 0;
9455         }
9456       }
9457     }
9458     programs {
9459       program {
9460         name: "icon_show";
9461         signal: "elm,state,icon,visible";
9462         source: "elm";
9463         action: STATE_SET "visible" 0.0;
9464         target: "elm.swallow.icon";
9465       }
9466       program {
9467         name: "icon_hide";
9468         signal: "elm,state,icon,hidden";
9469         source: "elm";
9470         action: STATE_SET "default" 0.0;
9471         target: "elm.swallow.icon";
9472       }
9473     }
9474   }
9475
9476   group { name: "elm/bubble/bottom_right/default";
9477     images {
9478       image: "bubble_2.png" COMP;
9479       image: "bubble_shine.png" COMP;
9480     }
9481     parts {
9482       part { name: "event";
9483          type: RECT;
9484          description {
9485             state: "default" 0.0;
9486             color: 0 0 0 0;
9487          }
9488       }
9489       part { name: "elm.swallow.icon";
9490         type: SWALLOW;
9491         description { state: "default" 0.0;
9492           fixed: 1 1;
9493           visible: 0.0;
9494           align: 1.0 1.0;
9495           aspect: 1.0 1.0;
9496           aspect_preference: VERTICAL;
9497           rel1 {
9498             to_y: "elm.text";
9499             relative: 1.0 0.0;
9500             offset: -5 0;
9501           }
9502           rel2 {
9503             relative: 1.0 1.0;
9504             offset: -5 -5;
9505           }
9506         }
9507         description { state: "visible" 0.0;
9508           inherit: "default" 0.0;
9509           visible: 1;
9510         }
9511       }
9512       part { name: "elm.text";
9513         type: TEXT;
9514         mouse_events:   0;
9515         scale: 1;
9516         description { state: "default" 0.0;
9517           align: 0.0 1.0;
9518           fixed: 0 1;
9519           rel1 {
9520             relative: 0.0 1.0;
9521             offset: 4 -5;
9522           }
9523           rel2 {
9524             to_x: "elm.info";
9525             relative: 0.0 1.0;
9526             offset: -5 -5;
9527           }
9528           color: 0 0 0 255;
9529           text {
9530             font: "Sans:style=Bold,Edje-Vera-Bold";
9531             size: 10;
9532             min: 0 1;
9533             max: 0 1;
9534             align: 0.0 1.0;
9535           }
9536         }
9537       }
9538       part { name: "elm.info";
9539         type: TEXT;
9540         mouse_events:   0;
9541         scale: 1;
9542         description { state: "default" 0.0;
9543           align: 1.0 1.0;
9544           fixed: 1 1;
9545           rel1 {
9546             relative: 1.0 1.0;
9547             offset: -5 -5;
9548           }
9549           rel2 {
9550             to_x: "elm.swallow.icon";
9551             relative: 0.0 1.0;
9552             offset: -5 -5;
9553           }
9554           color: 0 0 0 64;
9555           text {
9556             font: "Sans:style=Bold,Edje-Vera-Bold";
9557             size: 10;
9558             min: 1 1;
9559             max: 1 1;
9560             align: 1.0 1.0;
9561           }
9562         }
9563       }
9564       part { name: "base0";
9565         mouse_events:  0;
9566         description { state: "default" 0.0;
9567           rel2 {
9568             to_y: "elm.swallow.icon";
9569             relative: 1.0 0.0;
9570             offset: -1 -1;
9571           }
9572           image {
9573             normal: "bubble_2.png";
9574             border: 11 36 10 19;
9575           }
9576           image.middle: SOLID;
9577           fill.smooth: 0;
9578         }
9579       }
9580       part { name: "elm.swallow.content";
9581         type: SWALLOW;
9582         description { state: "default" 0.0;
9583           rel1 {
9584             to: "base0";
9585             offset: 9 8;
9586           }
9587           rel2 {
9588             to: "base0";
9589             offset: -10 -17;
9590           }
9591         }
9592       }
9593       part { name: "shine";
9594         mouse_events:  0;
9595         description { state:    "default" 0.0;
9596           rel1 {
9597             to: "base0";
9598             offset: 5 4;
9599           }
9600           rel2 {
9601             to: "base0";
9602             relative: 1.0 0.5;
9603             offset: -6 -16;
9604           }
9605           image {
9606             normal: "bubble_shine.png";
9607             border: 5 5 5 0;
9608           }
9609           fill.smooth: 0;
9610         }
9611       }
9612     }
9613     programs {
9614       program {
9615         name: "icon_show";
9616         signal: "elm,state,icon,visible";
9617         source: "elm";
9618         action: STATE_SET "visible" 0.0;
9619         target: "elm.swallow.icon";
9620       }
9621       program {
9622         name: "icon_hide";
9623         signal: "elm,state,icon,hidden";
9624         source: "elm";
9625         action: STATE_SET "default" 0.0;
9626         target: "elm.swallow.icon";
9627       }
9628     }
9629   }
9630
9631 ///////////////////////////////////////////////////////////////////////////////
9632    group { name: "elm/photo/base/default";
9633       images {
9634          image: "frame_1.png" COMP;
9635          image: "frame_2.png" COMP;
9636          image: "dia_grad.png" COMP;
9637          image: "head.png" COMP;
9638       }
9639       parts {
9640          part { name: "base0";
9641             mouse_events:  0;
9642             description { state: "default" 0.0;
9643                image.normal: "dia_grad.png";
9644                rel1.to: "over";
9645                rel2.to: "over";
9646                fill {
9647                   smooth: 0;
9648                   size {
9649                      relative: 0.0 1.0;
9650                      offset: 64 0;
9651                   }
9652                }
9653             }
9654          }
9655          part { name: "base";
9656             mouse_events:  0;
9657             description { state:    "default" 0.0;
9658                image {
9659                   normal: "frame_2.png";
9660                   border: 5 5 32 26;
9661                   middle: 0;
9662                }
9663                fill.smooth : 0;
9664             }
9665          }
9666          part { name: "head";
9667             mouse_events:  0;
9668             description { state:    "default" 0.0;
9669                rel1.offset: 4 4;
9670                rel2.offset: -5 -5;
9671                aspect: 1.0 1.0;
9672                aspect_preference: BOTH;
9673                image.normal: "head.png";
9674             }
9675          }
9676          part { name: "clip";
9677             mouse_events:  0;
9678             type: RECT;
9679             description { state:    "default" 0.0;
9680                rel1.offset: 4 4;
9681                rel2.offset: -5 -5;
9682                color: 255 255 255 255;
9683             }
9684          }
9685          part { name: "elm.swallow.content";
9686             type: SWALLOW;
9687             clip_to: "clip";
9688             description { state: "default" 0.0;
9689                rel1.offset: 4 4;
9690                rel2.offset: -5 -5;
9691             }
9692          }
9693          part { name: "over";
9694             mouse_events:  0;
9695             description { state:    "default" 0.0;
9696                rel1.offset: 4 4;
9697                rel2.offset: -5 -5;
9698                image {
9699                   normal: "frame_1.png";
9700                   border: 2 2 28 22;
9701                   middle: 0;
9702                }
9703                fill.smooth: 0;
9704             }
9705          }
9706      }
9707    }
9708    
9709    group { name: "elm/photo/base/shadow";
9710         images {
9711                         image: "shadow.png" COMP;
9712                         image: "black.png" COMP;
9713         }
9714         script {
9715         public message(Msg_Type:type, id, ...) {
9716                 if( (type==MSG_INT_SET) && (id==0) )
9717                 {
9718                 new w;
9719                 new h;
9720            
9721                 custom_state(PART:"size", "default", 0.0);
9722
9723                 w = getarg(2);
9724                 h = getarg(3);
9725                 set_state_val(PART:"size", STATE_REL1_OFFSET, - w/2, - h/2);
9726                 set_state_val(PART:"size", STATE_REL2_OFFSET, w/2 + 1, h/2 + 1);
9727                 set_state(PART:"size", "custom", 0.0);
9728                 }
9729         }
9730         }
9731         parts {
9732         part { name: "size";
9733                 type: SWALLOW;
9734                 description { state: "default" 0.0;
9735                         rel1.relative: 0.5 0.5;
9736                         rel2.relative: 0.5 0.5;
9737                 }
9738                 }
9739         part {
9740                 name: "shadow";
9741                 type: IMAGE;
9742                 repeat_events: 1;
9743                 description {
9744                 state: "default" 0.0;
9745                 rel1.to: "size";
9746                 rel2.to: "size";
9747                 rel1.relative: -0.06 -0.06;
9748                 rel2.relative: 1.07 1.07;
9749                 image.normal: "shadow.png";
9750                 }
9751         }
9752         
9753         
9754                 part { name: "elm.swallow.content";
9755                 type: SWALLOW;
9756                 description { state: "default" 0.0;
9757                 rel1.offset: 3 3;
9758                 rel2.offset: -3 -3;
9759                         fixed: 1 1;
9760                 }
9761                 }
9762                 
9763                 part {
9764                 name: "border";
9765                 type: IMAGE;
9766                 repeat_events: 1;
9767                 description {
9768                 state: "default" 0.0;
9769                 visible: 1;
9770                 color: 0 0 0 255;
9771                 rel1.to: "size";
9772                 rel2.to: "size";
9773                 image.normal: "black.png";
9774                 image.border: 1 1 1 1;
9775                 image.middle: 0;
9776                 }
9777         }
9778                 }
9779    }
9780
9781 ///////////////////////////////////////////////////////////////////////////////
9782    group { name: "elm/thumb/base/default";
9783       images {
9784          image: "frame_1.png" COMP;
9785          image: "frame_2.png" COMP;
9786          image: "dia_grad.png" COMP;
9787          image: "busy-1.png" COMP;
9788          image: "busy-2.png" COMP;
9789          image: "busy-3.png" COMP;
9790          image: "busy-4.png" COMP;
9791          image: "busy-5.png" COMP;
9792          image: "busy-6.png" COMP;
9793          image: "busy-7.png" COMP;
9794          image: "busy-8.png" COMP;
9795          image: "busy-9.png" COMP;
9796       }
9797       parts {
9798          part { name: "base0";
9799             mouse_events:  0;
9800             description { state:        "default" 0.0;
9801                image.normal: "dia_grad.png";
9802                rel1.to: "over";
9803                rel2.to: "over";
9804                fill {
9805                   smooth: 0;
9806                   size {
9807                      relative: 0.0 1.0;
9808                      offset: 64 0;
9809                   }
9810                }
9811             }
9812          }
9813          part { name: "base";
9814             mouse_events:  0;
9815             description { state:        "default" 0.0;
9816                image {
9817                   normal: "frame_2.png";
9818                   border: 5 5 32 26;
9819                   middle: 0;
9820                }
9821                fill.smooth : 0;
9822             }
9823          }
9824          part { name: "clip";
9825             mouse_events:  0;
9826             type: RECT;
9827             description { state:        "default" 0.0;
9828                rel1.offset: 4 4;
9829                rel2.offset: -5 -5;
9830                color: 255 255 255 255;
9831             }
9832          }
9833          part { name: "elm.swallow.content";
9834             type: SWALLOW;
9835             clip_to: "clip";
9836             description { state:        "default" 0.0;
9837                rel1.offset: 4 4;
9838                rel2.offset: -5 -5;
9839             }
9840          }
9841          part { name: "progress";
9842             mouse_events: 0;
9843
9844             clip_to: "clip";
9845             description { state:        "default" 0.0;
9846                min: 32 32;
9847                max: 32 32;
9848                visible: 0;
9849                aspect: 1.0 1.0;
9850                aspect_preference: BOTH;
9851             }
9852             description { state:        "pulse" 0.0;
9853                inherit: "default" 0.0;
9854                visible: 1;
9855                image {
9856                   normal: "busy-9.png";
9857                   tween:  "busy-1.png";
9858                   tween:  "busy-2.png";
9859                   tween:  "busy-3.png";
9860                   tween:  "busy-4.png";
9861                   tween:  "busy-5.png";
9862                   tween:  "busy-6.png";
9863                   tween:  "busy-7.png";
9864                   tween:  "busy-8.png";
9865                   border: 7 7 7 7;
9866                }
9867             }
9868          }
9869          part { name: "over";
9870             mouse_events:  0;
9871             description { state:        "default" 0.0;
9872                rel1.offset: 4 4;
9873                rel2.offset: -5 -5;
9874                image {
9875                   normal: "frame_1.png";
9876                   border: 2 2 28 22;
9877                   middle: 0;
9878                }
9879                fill.smooth: 0;
9880             }
9881          }
9882          programs {
9883             program { name: "start_pulse";
9884                signal: "elm,state,pulse,start";
9885                source: "elm";
9886                action: STATE_SET "pulse" 0.0;
9887                target: "progress";
9888                transition: LINEAR 0.5;
9889                after: "start_pulse";
9890             }
9891             program { name: "stop_pulse";
9892                signal: "elm,state,pulse,stop";
9893                source: "elm";
9894                action: STATE_SET "default" 0.0;
9895                target: "progress";
9896             }
9897          }
9898       }
9899    }
9900
9901    group { name: "elm/thumb/base/noframe";
9902       images {
9903          image: "busy-1.png" COMP;
9904          image: "busy-2.png" COMP;
9905          image: "busy-3.png" COMP;
9906          image: "busy-4.png" COMP;
9907          image: "busy-5.png" COMP;
9908          image: "busy-6.png" COMP;
9909          image: "busy-7.png" COMP;
9910          image: "busy-8.png" COMP;
9911          image: "busy-9.png" COMP;
9912       }
9913       parts {
9914          part { name: "elm.swallow.content";
9915             type: SWALLOW;
9916             description { state: "default" 0.0;
9917                rel1.offset: 4 4;
9918                rel2.offset: -5 -5;
9919             }
9920          }
9921          part { name: "progress";
9922             mouse_events: 0;
9923             description { state:        "default" 0.0;
9924                min: 32 32;
9925                max: 32 32;
9926                visible: 0;
9927                aspect: 1.0 1.0;
9928                aspect_preference: BOTH;
9929             }
9930             description { state:        "pulse" 0.0;
9931                inherit: "default" 0.0;
9932                visible: 1;
9933                image {
9934                   normal: "busy-9.png";
9935                   tween:  "busy-1.png";
9936                   tween:  "busy-2.png";
9937                   tween:  "busy-3.png";
9938                   tween:  "busy-4.png";
9939                   tween:  "busy-5.png";
9940                   tween:  "busy-6.png";
9941                   tween:  "busy-7.png";
9942                   tween:  "busy-8.png";
9943                   border: 7 7 7 7;
9944                }
9945             }
9946          }
9947          programs {
9948             program { name: "start_pulse";
9949                signal: "elm,state,pulse,start";
9950                source: "elm";
9951                action: STATE_SET "pulse" 0.0;
9952                target: "progress";
9953                transition: LINEAR 0.5;
9954                after: "start_pulse";
9955             }
9956             program { name: "stop_pulse";
9957                signal: "elm,state,pulse,stop";
9958                source: "elm";
9959                action: STATE_SET "default" 0.0;
9960                target: "progress";
9961             }
9962          }
9963       }
9964    }
9965
9966
9967 ///////////////////////////////////////////////////////////////////////////////
9968    group { name: "elm/icon/home/default"; alias: "elm/icon/toolbar/home/default"; min: 32 32;
9969       images.image: "icon_home.png" COMP; parts { part { name: "base";
9970          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
9971             image.normal: "icon_home.png"; } } } }
9972    group { name: "elm/icon/close/default"; alias: "elm/icon/toolbar/close/default"; min: 32 32;
9973       images.image: "icon_close.png" COMP; parts { part { name: "base";
9974          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
9975             image.normal: "icon_close.png"; } } } }
9976    group { name: "elm/icon/apps/default"; alias: "elm/icon/toolbar/apps/default"; min: 32 32;
9977       images.image: "icon_apps.png" COMP; parts { part { name: "base";
9978          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
9979             image.normal: "icon_apps.png"; } } } }
9980    group { name: "elm/icon/arrow_up/default"; alias: "elm/icon/toolbar/arrow_up/default"; min: 32 32;
9981       images.image: "icon_arrow_up.png" COMP; parts { part { name: "base";
9982          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
9983             image.normal: "icon_arrow_up.png"; } } } }
9984    group { name: "elm/icon/arrow_down/default";
9985            alias: "elm/icon/toolbar/arrow_down/default";
9986            alias: "elm/icon/toolbar/more_menu/default"; min: 32 32;
9987       images.image: "icon_arrow_down.png" COMP; parts { part { name: "base";
9988          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
9989             image.normal: "icon_arrow_down.png"; } } } }
9990    group { name: "elm/icon/arrow_left/default"; alias: "elm/icon/toolbar/arrow_left/default"; min: 32 32;
9991       images.image: "icon_arrow_left.png" COMP; parts { part { name: "base";
9992          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
9993             image.normal: "icon_arrow_left.png"; } } } }
9994    group { name: "elm/icon/arrow_right/default"; alias: "elm/icon/toolbar/arrow_right/default"; min: 32 32;
9995       images.image: "icon_arrow_right.png" COMP; parts { part { name: "base";
9996          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
9997             image.normal: "icon_arrow_right.png"; } } } }
9998    group { name: "elm/icon/chat/default"; alias: "elm/icon/toolbar/chat/default"; min: 32 32;
9999       images.image: "icon_chat.png" COMP; parts { part { name: "base";
10000          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10001             image.normal: "icon_chat.png"; } } } }
10002    group { name: "elm/icon/clock/default"; alias: "elm/icon/toolbar/clock/default"; min: 32 32;
10003       images.image: "icon_clock.png" COMP; parts { part { name: "base";
10004          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10005             image.normal: "icon_clock.png"; } } } }
10006    group { name: "elm/icon/delete/default"; alias: "elm/icon/toolbar/delete/default"; min: 32 32;
10007       images.image: "icon_delete.png" COMP; parts { part { name: "base";
10008          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10009             image.normal: "icon_delete.png"; } } } }
10010    group { name: "elm/icon/edit/default"; alias: "elm/icon/toolbar/edit/default"; min: 32 32;
10011       images.image: "icon_edit.png" COMP; parts { part { name: "base";
10012          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10013             image.normal: "icon_edit.png"; } } } }
10014    group { name: "elm/icon/refresh/default"; alias: "elm/icon/toolbar/refresh/default"; min: 32 32;
10015       images.image: "icon_refresh.png" COMP; parts { part { name: "base";
10016          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10017             image.normal: "icon_refresh.png"; } } } }
10018    group { name: "elm/icon/folder/default"; alias: "elm/icon/toolbar/folder/default"; min: 32 32;
10019       images.image: "icon_folder.png" COMP; parts { part { name: "base";
10020          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10021             image.normal: "icon_folder.png"; } } } }
10022    group { name: "elm/icon/file/default"; alias: "elm/icon/toolbar/file/default"; min: 32 32;
10023       images.image: "icon_file.png" COMP; parts { part { name: "base";
10024          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10025             image.normal: "icon_file.png"; } } } }
10026 ///////////////////////////////////////////////////////////////////////////////
10027    group { name: "elm/icon/menu/home/default"; min: 24 24; max: 24 24;
10028       images.image: "icon_home.png" COMP; parts { part { name: "base";
10029          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10030             image.normal: "icon_home.png"; } } } }
10031    group { name: "elm/icon/menu/close/default"; min: 24 24; max: 24 24;
10032       images.image: "icon_close.png" COMP; parts { part { name: "base";
10033          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10034             image.normal: "icon_close.png"; } } } }
10035    group { name: "elm/icon/menu/apps/default"; min: 24 24; max: 24 24;
10036       images.image: "icon_apps.png" COMP; parts { part { name: "base";
10037          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10038             image.normal: "icon_apps.png"; } } } }
10039    group { name: "elm/icon/menu/arrow_up/default"; min: 24 24; max: 24 24;
10040       images.image: "icon_arrow_up.png" COMP; parts { part { name: "base";
10041          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10042             image.normal: "icon_arrow_up.png"; } } } }
10043    group { name: "elm/icon/menu/arrow_down/default"; min: 24 24; max: 24 24;
10044       images.image: "icon_arrow_down.png" COMP; parts { part { name: "base";
10045          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10046             image.normal: "icon_arrow_down.png"; } } } }
10047    group { name: "elm/icon/menu/arrow_left/default"; min: 24 24; max: 24 24;
10048       images.image: "icon_arrow_left.png" COMP; parts { part { name: "base";
10049          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10050             image.normal: "icon_arrow_left.png"; } } } }
10051    group { name: "elm/icon/menu/arrow_right/default"; min: 24 24; max: 24 24;
10052       images.image: "icon_arrow_right.png" COMP; parts { part { name: "base";
10053          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10054             image.normal: "icon_arrow_right.png"; } } } }
10055    group { name: "elm/icon/menu/chat/default"; min: 24 24; max: 24 24;
10056       images.image: "icon_chat.png" COMP; parts { part { name: "base";
10057          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10058             image.normal: "icon_chat.png"; } } } }
10059    group { name: "elm/icon/menu/clock/default"; min: 24 24; max: 24 24;
10060       images.image: "icon_clock.png" COMP; parts { part { name: "base";
10061          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10062             image.normal: "icon_clock.png"; } } } }
10063    group { name: "elm/icon/menu/delete/default"; min: 24 24; max: 24 24;
10064       images.image: "icon_delete.png" COMP; parts { part { name: "base";
10065          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10066             image.normal: "icon_delete.png"; } } } }
10067    group { name: "elm/icon/menu/edit/default"; min: 24 24; max: 24 24;
10068       images.image: "icon_edit.png" COMP; parts { part { name: "base";
10069          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10070             image.normal: "icon_edit.png"; } } } }
10071    group { name: "elm/icon/menu/refresh/default"; min: 24 24; max: 24 24;
10072       images.image: "icon_refresh.png" COMP; parts { part { name: "base";
10073          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10074             image.normal: "icon_refresh.png"; } } } }
10075    group { name: "elm/icon/menu/folder/default"; min: 24 24; max: 24 24;
10076       images.image: "icon_folder.png" COMP; parts { part { name: "base";
10077          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10078             image.normal: "icon_folder.png"; } } } }
10079    group { name: "elm/icon/menu/file/default"; min: 24 24; max: 24 24;
10080       images.image: "icon_file.png" COMP; parts { part { name: "base";
10081          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10082             image.normal: "icon_file.png"; } } } }
10083
10084 ///////////////////////////////////////////////////////////////////////////////
10085    group { name: "elm/toolbar/base/default";
10086       images {
10087          image: "bt_dis_base.png" COMP;
10088          image: "bt_dis_hilight.png" COMP;
10089          image: "bt_dis_shine.png" COMP;
10090          image: "icon_left_arrow.png" COMP;
10091          image: "icon_right_arrow.png" COMP;
10092       }
10093       parts {
10094          part { name: "base";
10095             mouse_events: 1;
10096             description { state: "default" 0.0;
10097                rel1 {
10098                   relative: 0.0 0.0;
10099                   offset: 2 2;
10100                }
10101                rel2.offset: -3 -3;
10102                image {
10103                   normal: "bt_dis_base.png";
10104                   border: 4 4 4 4;
10105                }
10106                image.middle: SOLID;
10107             }
10108          }
10109          part { name: "clipper";
10110             type: RECT;
10111             mouse_events: 0;
10112             description {
10113                state: "default" 0.0;
10114                rel1 {
10115                   to: "base";
10116                   offset: 2 2;
10117                }
10118                rel2 {
10119                   to: "base";
10120                   offset: -3 -3;
10121                }
10122             }
10123          }
10124          part { name: "elm.swallow.content";
10125             clip_to: "clipper";
10126             type: SWALLOW;
10127             description {
10128                state: "default" 0.0;
10129                rel1.to: "clipper";
10130                rel2.to: "clipper";
10131             }
10132          }
10133          part { name: "over2";
10134             mouse_events: 0;
10135             description { state: "default" 0.0;
10136                rel1.to: "base";
10137                rel2.to: "base";
10138                image {
10139                   normal: "bt_dis_shine.png";
10140                   border: 4 4 4 4;
10141                }
10142             }
10143          }
10144          part { name: "over1";
10145             mouse_events: 0;
10146             description { state: "default" 0.0;
10147                rel1.to: "base";
10148                rel2.to: "base";
10149                rel2.relative: 1.0 0.5;
10150                image {
10151                   normal: "bt_dis_hilight.png";
10152                   border: 4 4 4 0;
10153                }
10154                color: 255 255 255 128;
10155             }
10156          }
10157          part { name: "left_arrow";
10158             mouse_events: 0;
10159             description { state: "default" 0.0;
10160                image.normal: "icon_left_arrow.png";
10161                aspect: 1.0 1.0;
10162                aspect_preference: VERTICAL;
10163                align: 0.0 0.5;
10164                min: 32 32;
10165                max: 32 32;
10166             }
10167             description { state: "hidden" 0.0;
10168                inherit: "default" 0.0;
10169                visible: 0;
10170                color: 255 255 255 0;
10171             }
10172          }
10173          part { name: "right_arrow";
10174             mouse_events: 0;
10175             description { state: "default" 0.0;
10176                image.normal: "icon_right_arrow.png";
10177                aspect: 1.0 1.0;
10178                aspect_preference: VERTICAL;
10179                align: 1.0 0.5;
10180                min: 32 32;
10181                max: 32 32;
10182             }
10183             description { state: "hidden" 0.0;
10184                inherit: "default" 0.0;
10185                visible: 0;
10186                color: 255 255 255 0;
10187             }
10188          }
10189          part { name: "event";
10190             type: RECT;
10191             mouse_events: 1;
10192             repeat_events: 1;
10193             description { state: "default" 0.0;
10194                color: 0 0 0 0;
10195             }
10196          }
10197       }
10198       programs {
10199          program { name: "sb_hbar_show";
10200             signal: "elm,action,show,hbar";
10201             source: "elm";
10202             action:  STATE_SET "default" 0.0;
10203             transition: LINEAR 0.5;
10204             target: "left_arrow";
10205             target: "right_arrow";
10206          }
10207          program { name: "sb_hbar_hide";
10208             signal: "elm,action,hide,hbar";
10209             source: "elm";
10210             action:  STATE_SET "hidden" 0.0;
10211             target: "left_arrow";
10212             target: "right_arrow";
10213             transition: LINEAR 0.5;
10214          }
10215       }
10216    }
10217
10218    group { name: "elm/toolbar/item/default";
10219        images {
10220            image: "toolbar_sel.png" COMP;
10221        }
10222        data.item: "transition_animation_on" "1";
10223        parts {
10224            part { name: "label2";
10225                type: TEXT;
10226                mouse_events:  0;
10227                scale: 1;
10228                clip_to: "elm.text.clipper";
10229                description { state: "default" 0.0;
10230                    align: 0.5 1.0;
10231                    fixed: 0 1;
10232                    rel1.to: "elm.text";
10233                    rel2.to: "elm.text";
10234                    color: 0 0 0 255;
10235                    text {
10236                        font: "Sans";
10237                        text_source: "elm.text";
10238                        size: 10;
10239                        min: 1 1;
10240                        align: 0.5 0.5;
10241                        text_class: "toolbar_item";
10242                    }
10243                }
10244                description { state: "selected" 0.0;
10245                    inherit: "default" 0.0;
10246                    visible: 0;
10247                }
10248                description { state: "disabled" 0.0;
10249                    inherit: "default" 0.0;
10250                    color: 0 0 0 128;
10251                    color3: 0 0 0 0;
10252                }
10253                description { state: "disabled_visible" 0.0;
10254                    inherit: "default" 0.0;
10255                    color: 0 0 0 128;
10256                    color3: 0 0 0 0;
10257                    visible: 1;
10258                    text.min: 1 1;
10259                }
10260            }
10261            part { name: "label2_new";
10262                type: TEXT;
10263                mouse_events:  0;
10264                scale: 1;
10265                clip_to: "elm.text_new.clipper";
10266                description { state: "default" 0.0;
10267                    align: 0.5 1.0;
10268                    fixed: 0 1;
10269                    rel1.to: "elm.text_new";
10270                    rel2.to: "elm.text_new";
10271                    color: 0 0 0 255;
10272                    text {
10273                        font: "Sans";
10274                        text_source: "elm.text_new";
10275                        size: 10;
10276                        min: 1 1;
10277                        align: 0.5 0.5;
10278                        text_class: "toolbar_item";
10279                    }
10280                }
10281                description { state: "selected" 0.0;
10282                    inherit: "default" 0.0;
10283                    visible: 0;
10284                }
10285                description { state: "disabled" 0.0;
10286                    inherit: "default" 0.0;
10287                    color: 0 0 0 128;
10288                    color3: 0 0 0 0;
10289                }
10290                description { state: "disabled_visible" 0.0;
10291                    inherit: "default" 0.0;
10292                    color: 0 0 0 128;
10293                    color3: 0 0 0 0;
10294                    visible: 1;
10295                    text.min: 1 1;
10296                }
10297            }
10298            part { name: "bg";
10299                mouse_events: 0;
10300                description { state: "default" 0.0;
10301                    visible: 0;
10302                    color: 255 255 255 0;
10303                    image {
10304                        normal: "toolbar_sel.png";
10305                        border: 3 3 0 0;
10306                    }
10307                    image.middle: SOLID;
10308                    fill.smooth: 0;
10309                }
10310                description { state: "selected" 0.0;
10311                    inherit: "default" 0.0;
10312                    visible: 1;
10313                    color: 255 255 255 255;
10314                }
10315                description { state: "disabled" 0.0;
10316                    inherit: "default" 0.0;
10317                    visible: 0;
10318                    color: 255 255 255 0;
10319                }
10320            }
10321            part { name: "elm.swallow.icon";
10322                type: SWALLOW;
10323                clip_to: "elm.icon.clipper";
10324                description { state: "default" 0.0;
10325                    align: 0.5 0.5;
10326                    fixed: 0 0;
10327                    rel1 {
10328                        relative: 0.0 0.0;
10329                        offset: 2 2;
10330                    }
10331                    rel2 {
10332                        to_y: "elm.text";
10333                        relative: 1.0 0.0;
10334                        offset: -3 -1;
10335                    }
10336                    color: 0 0 0 0;
10337                }
10338            }
10339            part { name: "elm.swallow.icon_new";
10340                type: SWALLOW;
10341                clip_to: "elm.icon_new.clipper";
10342                description { state: "default" 0.0;
10343                    align: 0.5 0.5;
10344                    fixed: 0 0;
10345                    rel1 {
10346                        relative: 0.0 0.0;
10347                        offset: 2 2;
10348                    }
10349                    rel2 {
10350                        to_y: "elm.text_new";
10351                        relative: 1.0 0.0;
10352                        offset: -3 -1;
10353                    }
10354                    color: 0 0 0 0;
10355                }
10356            }
10357            part { name: "elm.text";
10358                type: TEXT;
10359                effect: SOFT_SHADOW;
10360                mouse_events:  0;
10361                scale: 1;
10362                clip_to: "elm.text.clipper";
10363                description { state: "default" 0.0;
10364                    align: 0.5 1.0;
10365                    fixed: 0 1;
10366                    rel1 {
10367                        relative: 0.0 1.0;
10368                        offset:   0 -1;
10369                    }
10370                    rel2 {
10371                        relative: 1.0 1.0;
10372                        offset:   -1 -1;
10373                    }
10374                    visible: 0;
10375                    color: 224 224 224 255;
10376                    color3: 0 0 0 32;
10377                    text {
10378                        font: "Sans:style=Bold";
10379                        size: 10;
10380                        min: 1 1;
10381                        align: 0.5 0.5;
10382                        text_class: "toolbar_item";
10383                    }
10384                }
10385                description { state: "selected" 0.0;
10386                    inherit: "default" 0.0;
10387                    visible: 1;
10388                }
10389                description { state: "visible" 0.0;
10390                    inherit: "default" 0.0;
10391                    visible: 1;
10392                    text.min: 1 1;
10393                }
10394                description { state: "disabled" 0.0;
10395                    inherit: "default" 0.0;
10396                    color: 0 0 0 128;
10397                    color3: 0 0 0 0;
10398                }
10399                description { state: "disabled_visible" 0.0;
10400                    inherit: "default" 0.0;
10401                    color: 0 0 0 128;
10402                    color3: 0 0 0 0;
10403                    visible: 1;
10404                    text.min: 1 1;
10405                }
10406            }
10407            part { name: "elm.text_new";
10408                type: TEXT;
10409                effect: SOFT_SHADOW;
10410                mouse_events:  0;
10411                clip_to: "elm.text_new.clipper";
10412                scale: 1;
10413                description { state: "default" 0.0;
10414                    align: 0.5 1.0;
10415                    fixed: 0 1;
10416                    rel1 {
10417                        relative: 0.0 1.0;
10418                        offset:   0 -1;
10419                    }
10420                    rel2 {
10421                        relative: 1.0 1.0;
10422                        offset:   -1 -1;
10423                    }
10424                    visible: 0;
10425                    color: 224 224 224 255;
10426                    color3: 0 0 0 32;
10427                    text {
10428                        font: "Sans:style=Bold";
10429                        size: 10;
10430                        min: 1 1;
10431                        align: 0.5 0.5;
10432                        text_class: "toolbar_item";
10433                    }
10434                }
10435                description { state: "selected" 0.0;
10436                    inherit: "default" 0.0;
10437                    visible: 1;
10438                }
10439                description { state: "visible" 0.0;
10440                    inherit: "default" 0.0;
10441                    visible: 1;
10442                    text.min: 1 1;
10443                }
10444                description { state: "disabled" 0.0;
10445                    inherit: "default" 0.0;
10446                    color: 0 0 0 128;
10447                    color3: 0 0 0 0;
10448                }
10449                description { state: "disabled_visible" 0.0;
10450                    inherit: "default" 0.0;
10451                    color: 0 0 0 128;
10452                    color3: 0 0 0 0;
10453                    visible: 1;
10454                    text.min: 1 1;
10455                }
10456            }
10457            part { name: "elm.text.clipper";
10458                type: RECT;
10459                description { state: "default" 0.0;
10460                    color: 255 255 255 255;
10461                }
10462                description { state: "animation" 0.0;
10463                    color: 255 255 255 0;
10464                }
10465            }
10466            part { name: "elm.text_new.clipper";
10467                type: RECT;
10468                description { state: "default" 0.0;
10469                    color: 255 255 255 0;
10470                }
10471                description { state: "animation" 0.0;
10472                    color: 255 255 255 255;
10473                }
10474            }
10475            part { name: "elm.icon.clipper";
10476                type: RECT;
10477                description { state: "default" 0.0;
10478                    color: 255 255 255 255;
10479                }
10480                description { state: "animation" 0.0;
10481                    color: 255 255 255 0;
10482                }
10483            }
10484            part { name: "elm.icon_new.clipper";
10485                type: RECT;
10486                description { state: "default" 0.0;
10487                    color: 255 255 255 0;
10488                }
10489                description { state: "animation" 0.0;
10490                    color: 255 255 255 255;
10491                }
10492            }
10493            part { name: "event";
10494                type: RECT;
10495                mouse_events: 1;
10496                ignore_flags: ON_HOLD;
10497                description { state: "default" 0.0;
10498                    color: 0 0 0 0;
10499                }
10500            }
10501        }
10502        programs {
10503            program { name: "go_active";
10504                signal:  "elm,state,selected";
10505                source:  "elm";
10506                action:  STATE_SET "selected" 0.0;
10507                target:  "bg";
10508                target:  "elm.text";
10509                target:  "label2";
10510                target:  "elm.text_new";
10511                target:  "label2_new";
10512                transition: LINEAR 0.2;
10513            }
10514            program { name: "go_passive";
10515                signal:  "elm,state,unselected";
10516                source:  "elm";
10517                action:  STATE_SET "default" 0.0;
10518                target:  "bg";
10519                target:  "elm.text";
10520                target:  "label2";
10521                target:  "elm.text_new";
10522                target:  "label2_new";
10523                transition: LINEAR 0.1;
10524            }
10525            program { name: "go";
10526                signal:  "mouse,up,1";
10527                source:  "event";
10528                action:  SIGNAL_EMIT "elm,action,click" "elm";
10529            }
10530            program { name: "mouse,in";
10531               signal:  "mouse,in";
10532               source:  "event";
10533               action:  SIGNAL_EMIT "elm,mouse,in" "elm";
10534            }
10535            program { name: "mouse,out";
10536               signal:  "mouse,out";
10537               source:  "event";
10538               action:  SIGNAL_EMIT "elm,mouse,out" "elm";
10539            }
10540            program { name: "disable";
10541                signal: "elm,state,disabled";
10542                source: "elm";
10543                action: STATE_SET "disabled" 0.0;
10544                target: "label2";
10545                target: "label2_new";
10546                target: "bg";
10547                after: "disable_text";
10548            }
10549            program { name: "disable_text";
10550                script {
10551                    new st[31];
10552                    new Float:vl;
10553                    get_state(PART:"elm.text", st, 30, vl);
10554                    if (!strcmp(st, "visible"))
10555                    {
10556                       set_state(PART:"elm.text", "disabled_visible", 0.0);
10557                       set_state(PART:"elm.text_new", "disabled_visible", 0.0);
10558                    }
10559                    else
10560                    {
10561                       set_state(PART:"elm.text", "disabled", 0.0);
10562                       set_state(PART:"elm.text_new", "disabled", 0.0);
10563                    }
10564                }
10565            }
10566            program { name: "enable";
10567                signal: "elm,state,enabled";
10568                source: "elm";
10569                action: STATE_SET "default" 0.0;
10570                target: "label2";
10571                target: "label2_new";
10572                target: "bg";
10573                after: "enable_text";
10574            }
10575            program { name: "enable_text";
10576                script {
10577                    new st[31];
10578                    new Float:vl;
10579                    get_state(PART:"elm.text", st, 30, vl);
10580                    if (!strcmp(st, "disabled_visible"))
10581                    {
10582                       set_state(PART:"elm.text", "visible", 0.0);
10583                       set_state(PART:"elm.text_new", "visible", 0.0);
10584                    }
10585                    else
10586                    {
10587                       set_state(PART:"elm.text", "default", 0.0);
10588                       set_state(PART:"elm.text_new", "default", 0.0);
10589                    }
10590                }
10591            }
10592            program { name: "label_set,animation,forward";
10593               signal: "elm,state,label_set,forward";
10594               source: "elm";
10595               after: "label_set,animation";
10596            }
10597            program { name: "label_set,animation,backward";
10598               signal: "elm,state,label_set,backward";
10599               source: "elm";
10600               after: "label_set,animation";
10601            }
10602            program { name: "label_set,animation";
10603               signal: "elm,state,label_set";
10604               source: "elm";
10605               action: STATE_SET "animation" 0.0;
10606               target: "elm.text.clipper";
10607               target: "elm.text_new.clipper";
10608               transition: LINEAR 0.2;
10609               after: "label_set,animation,done";
10610            }
10611            program { name: "label_set,animation,done";
10612               action: SIGNAL_EMIT "elm,state,label_set,done" "elm";
10613            }
10614            program { name: "label,reset";
10615               signal: "elm,state,label,reset";
10616               source: "elm";
10617               action: STATE_SET "default" 0.0;
10618               target: "elm.text.clipper";
10619               target: "elm.text_new.clipper";
10620            }
10621            program { name: "icon_set,animation,forward";
10622               signal: "elm,state,icon_set,forward";
10623               source: "elm";
10624               after: "icon_set,animation";
10625            }
10626            program { name: "icon_set,animation,backward";
10627               signal: "elm,state,icon_set,backward";
10628               source: "elm";
10629               after: "icon_set,animation";
10630            }
10631            program { name: "icon_set,animation";
10632               signal: "elm,state,icon_set";
10633               source: "elm";
10634               action: STATE_SET "animation" 0.0;
10635               target: "elm.icon.clipper";
10636               target: "elm.icon_new.clipper";
10637               transition: LINEAR 0.2;
10638               after: "icon_set,animation,done";
10639            }
10640            program { name: "icon_set,animation,done";
10641               action: SIGNAL_EMIT "elm,state,icon_set,done" "elm";
10642            }
10643            program { name: "icon,reset";
10644               signal: "elm,state,icon,reset";
10645               source: "elm";
10646               action: STATE_SET "default" 0.0;
10647               target: "elm.icon.clipper";
10648               target: "elm.icon_new.clipper";
10649            }
10650        }
10651    }
10652
10653    group { name: "elm/toolbar/separator/default";
10654       images {
10655          image: "toolbar_separator_v.png" COMP;
10656       }
10657       parts {
10658          part { name: "separator"; // separator group
10659             description { state: "default" 0.0;
10660                min: 2 2;
10661                max: 2 9999;
10662                rel1.offset: 4 4;
10663                rel2.offset: -5 -5;
10664                image {
10665                   normal: "toolbar_separator_v.png";
10666                }
10667                fill {
10668                   smooth: 0;
10669                }
10670             }
10671          }
10672       }
10673    }
10674
10675    ///////////////////////////////////////////////////////////////////////////////
10676    group { name: "elm/notify/block_events/default";
10677        parts {
10678            part { name: "block_events";
10679                type: RECT;
10680                description { state: "default" 0.0;
10681                    color: 0 0 0 64;
10682                    visible: 1;
10683                }
10684            }
10685        }
10686            programs {
10687                    program {
10688                                 name: "block_clicked";
10689                                 signal: "mouse,clicked,1";
10690                                 source: "block_events";
10691                                 action: SIGNAL_EMIT "elm,action,clicked" "elm";
10692                    }
10693            }
10694    }
10695    group { name: "elm/notify/top/default";
10696        //this group is a design similar to the inwin group
10697        images {
10698            image: "shad_circ.png" COMP;
10699            image: "bt_dis_base.png" COMP;
10700            image: "bt_dis_hilight.png" COMP;
10701        }
10702        parts {
10703            part { name: "base";
10704                type: RECT;
10705                mouse_events: 0;
10706                repeat_events: 1;
10707                description { state: "default" 0.0;
10708                    color: 0 0 0 0;
10709                    rel1.offset: 10 10;
10710                    rel2.offset: -10 -10;
10711                    rel1.relative: 0.0 -1.0;
10712                    rel2.relative: 1.0 0.0;
10713                }
10714                description { state: "visible" 0.0;
10715                    inherit: "default" 0.0;
10716                    color: 0 0 0 64;
10717                    rel1.relative: 0.0 0.0;
10718                    rel2.relative: 1.0 1.0;
10719                }
10720            }
10721            part { name: "shad";
10722                mouse_events:  0;
10723                description { state: "default" 0.0;
10724                    image.normal: "shad_circ.png";
10725                    rel1.to: "elm.swallow.content";
10726                    rel1.offset: -64 -64;
10727                    rel2.to: "elm.swallow.content";
10728                    rel2.offset: 63 63;
10729                    fill.smooth: 0;
10730                }
10731            }
10732            part { name: "pop";
10733                mouse_events: 1;
10734                description { state: "default" 0.0;
10735                    rel1.to: "elm.swallow.content";
10736                    rel1.offset: -5 -5;
10737                    rel2.to: "elm.swallow.content";
10738                    rel2.offset: 4 4;
10739                    image {
10740                        normal: "bt_dis_base.png";
10741                        border: 4 4 4 4;
10742                    }
10743                    image.middle: SOLID;
10744                }
10745            }
10746            part { name: "popover";
10747                mouse_events: 0;
10748                description { state: "default" 0.0;
10749                    rel1.to: "pop";
10750                    rel2.to: "pop";
10751                    rel2.relative: 1.0 0.5;
10752                    image {
10753                        normal: "bt_dis_hilight.png";
10754                        border: 4 4 4 0;
10755                    }
10756                }
10757            }
10758            part { name: "elm.swallow.content";
10759                type: SWALLOW;
10760                description { state: "default" 0.0;
10761                    rel1.to: "base";
10762                    rel2.to: "base";
10763                }
10764            }
10765        }
10766        programs {
10767            program { name: "show";
10768                signal: "elm,action,show";
10769                source: "elm";
10770                action: STATE_SET "visible" 0.0;
10771                target: "base";
10772            }
10773            program { name: "show_2";
10774                 signal: "show";
10775                 action: STATE_SET "default" 0.0;
10776                 target: "base";
10777                 after: "show_3";
10778            }
10779            program { name: "show_3";
10780                 signal: "show";
10781                 action: STATE_SET "visible" 0.0;
10782                 target: "base";
10783                 transition: LINEAR 0.5;
10784            }
10785            program { name: "hide";
10786                signal: "elm,action,hide";
10787                source: "elm";
10788                action: STATE_SET "default" 0.0;
10789                target: "base";
10790            }
10791        }
10792    }
10793    group { name: "elm/notify/center/default";
10794        //this group is a design similar to the inwin group
10795        images {
10796            image: "bt_dis_base.png" COMP;
10797        }
10798        parts {
10799            part { name: "base";
10800                type: RECT;
10801                mouse_events: 0;
10802                repeat_events: 1;
10803                description { state: "default" 0.0;
10804                    color: 0 0 0 0;
10805                    rel1.relative: 0.0 0.0;
10806                    rel2.relative: 1.0 1.0;
10807                }
10808            }
10809            part { name: "pop";
10810                mouse_events: 1;
10811                description { state: "default" 0.0;
10812                    rel1.to: "elm.swallow.content";
10813                    rel1.offset: -5 -5;
10814                    rel2.to: "elm.swallow.content";
10815                    rel2.offset: 4 4;
10816                    image {
10817                        normal: "bt_dis_base.png";
10818                        border: 4 4 4 4;
10819                    }
10820                }
10821            }
10822            part { name: "elm.swallow.content";
10823                type: SWALLOW;
10824                description { state: "default" 0.0;
10825                    rel1.to: "base";
10826                    rel2.to: "base";
10827                }
10828            }
10829        }
10830        programs {
10831            program { name: "show";
10832                signal: "elm,action,show";
10833                source: "elm";
10834                action: STATE_SET "default" 0.0;
10835                target: "base";
10836            }
10837            program { name: "show_2";
10838                 signal: "show";
10839                 action: STATE_SET "default" 0.0;
10840                 target: "base";
10841            }
10842            program { name: "hide";
10843                signal: "elm,action,hide";
10844                source: "elm";
10845                action: STATE_SET "default" 0.0;
10846                target: "base";
10847            }
10848        }
10849    }
10850    group { name: "elm/notify/bottom/default";
10851        //this group is a design similar to the inwin group
10852        images {
10853            image: "shad_circ.png" COMP;
10854            image: "bt_dis_base.png" COMP;
10855            image: "bt_dis_hilight.png" COMP;
10856        }
10857        parts {
10858            part { name: "base";
10859                type: RECT;
10860                mouse_events: 0;
10861                repeat_events: 1;
10862                description { state: "default" 0.0;
10863                    color: 0 0 0 0;
10864                    rel1.offset: 10 10;
10865                    rel2.offset: -10 -10;
10866                    rel1.relative: 0.0 1.0;
10867                    rel2.relative: 1.0 2.0;
10868                }
10869                description { state: "visible" 0.0;
10870                    inherit: "default" 0.0;
10871                    color: 0 0 0 64;
10872                    rel1.relative: 0.0 0.0;
10873                    rel2.relative: 1.0 1.0;
10874                }
10875            }
10876            part { name: "shad";
10877                mouse_events:  0;
10878                description { state: "default" 0.0;
10879                    image.normal: "shad_circ.png";
10880                    rel1.to: "elm.swallow.content";
10881                    rel1.offset: -64 -64;
10882                    rel2.to: "elm.swallow.content";
10883                    rel2.offset: 63 63;
10884                    fill.smooth: 0;
10885                }
10886            }
10887            part { name: "pop";
10888                mouse_events: 1;
10889                description { state: "default" 0.0;
10890                    rel1.to: "elm.swallow.content";
10891                    rel1.offset: -5 -5;
10892                    rel2.to: "elm.swallow.content";
10893                    rel2.offset: 4 4;
10894                    image {
10895                        normal: "bt_dis_base.png";
10896                        border: 4 4 4 4;
10897                    }
10898                    image.middle: SOLID;
10899                }
10900            }
10901            part { name: "popover";
10902                mouse_events: 0;
10903                description { state: "default" 0.0;
10904                    rel1.to: "pop";
10905                    rel2.to: "pop";
10906                    rel2.relative: 1.0 0.5;
10907                    image {
10908                        normal: "bt_dis_hilight.png";
10909                        border: 4 4 4 0;
10910                    }
10911                }
10912            }
10913            part { name: "elm.swallow.content";
10914                type: SWALLOW;
10915                description { state: "default" 0.0;
10916                    rel1.to: "base";
10917                    rel2.to: "base";
10918                }
10919            }
10920        }
10921        programs {
10922            program { name: "show";
10923                signal: "elm,action,show";
10924                source: "elm";
10925                action: STATE_SET "visible" 0.0;
10926                target: "base";
10927            }
10928            program { name: "show_2";
10929                 signal: "show";
10930                 action: STATE_SET "default" 0.0;
10931                 target: "base";
10932                 after: "show_3";
10933            }
10934            program { name: "show_3";
10935                 signal: "show";
10936                 action: STATE_SET "visible" 0.0;
10937                 target: "base";
10938                 transition: LINEAR 0.5;
10939            }
10940            program { name: "hide";
10941                signal: "elm,action,hide";
10942                source: "elm";
10943                action: STATE_SET "default" 0.0;
10944                target: "base";
10945            }
10946        }
10947    }
10948    group { name: "elm/notify/left/default";
10949        //this group is a design similar to the inwin group
10950        images {
10951            image: "shad_circ.png" COMP;
10952            image: "bt_dis_base.png" COMP;
10953            image: "bt_dis_hilight.png" COMP;
10954        }
10955        parts {
10956            part { name: "base";
10957                type: RECT;
10958                mouse_events: 0;
10959                repeat_events: 1;
10960                description { state: "default" 0.0;
10961                    color: 0 0 0 0;
10962                    rel1.offset: 10 10;
10963                    rel2.offset: -10 -10;
10964                    rel1.relative: -1.0 0.0;
10965                    rel2.relative: 0.0 1.0;
10966                }
10967                description { state: "visible" 0.0;
10968                    inherit: "default" 0.0;
10969                    color: 0 0 0 64;
10970                    rel1.relative: 0.0 0.0;
10971                    rel2.relative: 1.0 1.0;
10972                }
10973            }
10974            part { name: "shad";
10975                mouse_events:  0;
10976                description { state: "default" 0.0;
10977                    image.normal: "shad_circ.png";
10978                    rel1.to: "elm.swallow.content";
10979                    rel1.offset: -64 -64;
10980                    rel2.to: "elm.swallow.content";
10981                    rel2.offset: 63 63;
10982                    fill.smooth: 0;
10983                }
10984            }
10985            part { name: "pop";
10986                mouse_events: 1;
10987                description { state: "default" 0.0;
10988                    rel1.to: "elm.swallow.content";
10989                    rel1.offset: -5 -5;
10990                    rel2.to: "elm.swallow.content";
10991                    rel2.offset: 4 4;
10992                    image {
10993                        normal: "bt_dis_base.png";
10994                        border: 4 4 4 4;
10995                    }
10996                    image.middle: SOLID;
10997                }
10998            }
10999            part { name: "popover";
11000                mouse_events: 0;
11001                description { state: "default" 0.0;
11002                    rel1.to: "pop";
11003                    rel2.to: "pop";
11004                    rel2.relative: 1.0 0.5;
11005                    image {
11006                        normal: "bt_dis_hilight.png";
11007                        border: 4 4 4 0;
11008                    }
11009                }
11010            }
11011            part { name: "elm.swallow.content";
11012                type: SWALLOW;
11013                description { state: "default" 0.0;
11014                    rel1.to: "base";
11015                    rel2.to: "base";
11016                }
11017            }
11018        }
11019        programs {
11020            program { name: "show";
11021                signal: "elm,action,show";
11022                source: "elm";
11023                action: STATE_SET "visible" 0.0;
11024                target: "base";
11025            }
11026            program { name: "show_2";
11027                signal: "show";
11028                action: STATE_SET "default" 0.0;
11029                target: "base";
11030                after: "show_3";
11031            }
11032            program { name: "show_3";
11033                signal: "show";
11034                action: STATE_SET "visible" 0.0;
11035                target: "base";
11036                transition: LINEAR 0.5;
11037            }
11038            program { name: "hide";
11039                signal: "elm,action,hide";
11040                source: "elm";
11041                action: STATE_SET "default" 0.0;
11042                target: "base";
11043            }
11044        }
11045    }
11046    group { name: "elm/notify/right/default";
11047        //this group is a design similar to the inwin group
11048        images {
11049            image: "shad_circ.png" COMP;
11050            image: "bt_dis_base.png" COMP;
11051            image: "bt_dis_hilight.png" COMP;
11052        }
11053        parts {
11054            part { name: "base";
11055                type: RECT;
11056                mouse_events: 0;
11057                repeat_events: 1;
11058                 description { state: "default" 0.0;
11059                    color: 0 0 0 0;
11060                    rel1.offset: 10 10;
11061                    rel2.offset: -10 -10;
11062                    rel1.relative: 1.0 0.0;
11063                    rel2.relative: 2.0 1.0;
11064                }
11065                description { state: "visible" 0.0;
11066                    inherit: "default" 0.0;
11067                    color: 0 0 0 64;
11068                    rel1.relative: 0.0 0.0;
11069                    rel2.relative: 1.0 1.0;
11070                }
11071            }
11072            part { name: "shad";
11073                mouse_events:  0;
11074                description { state: "default" 0.0;
11075                    image.normal: "shad_circ.png";
11076                    rel1.to: "elm.swallow.content";
11077                    rel1.offset: -64 -64;
11078                    rel2.to: "elm.swallow.content";
11079                    rel2.offset: 63 63;
11080                    fill.smooth: 0;
11081                }
11082            }
11083            part { name: "pop";
11084                mouse_events: 1;
11085                description { state: "default" 0.0;
11086                    rel1.to: "elm.swallow.content";
11087                    rel1.offset: -5 -5;
11088                    rel2.to: "elm.swallow.content";
11089                    rel2.offset: 4 4;
11090                    image {
11091                        normal: "bt_dis_base.png";
11092                        border: 4 4 4 4;
11093                    }
11094                    image.middle: SOLID;
11095                }
11096            }
11097            part { name: "popover";
11098                mouse_events: 0;
11099                description { state: "default" 0.0;
11100                    rel1.to: "pop";
11101                    rel2.to: "pop";
11102                    rel2.relative: 1.0 0.5;
11103                    image {
11104                        normal: "bt_dis_hilight.png";
11105                        border: 4 4 4 0;
11106                    }
11107                }
11108            }
11109            part { name: "elm.swallow.content";
11110                type: SWALLOW;
11111                description { state: "default" 0.0;
11112                    rel1.to: "base";
11113                    rel2.to: "base";
11114                }
11115            }
11116        }
11117        programs {
11118            program { name: "show";
11119                signal: "elm,action,show";
11120                source: "elm";
11121                action: STATE_SET "visible" 0.0;
11122                target: "base";
11123            }
11124            program { name: "show_2";
11125                signal: "show";
11126                action: STATE_SET "default" 0.0;
11127                target: "base";
11128                after: "show_3";
11129            }
11130            program { name: "show_3";
11131                signal: "show";
11132                action: STATE_SET "visible" 0.0;
11133                target: "base";
11134                transition: LINEAR 0.5;
11135            }
11136            program { name: "hide";
11137                signal: "elm,action,hide";
11138                source: "elm";
11139                action: STATE_SET "default" 0.0;
11140                target: "base";
11141            }
11142        }
11143    }
11144    group { name: "elm/notify/top_left/default";
11145        //this group is a design similar to the inwin group
11146        images {
11147            image: "shad_circ.png" COMP;
11148            image: "bt_dis_base.png" COMP;
11149            image: "bt_dis_hilight.png" COMP;
11150        }
11151        parts {
11152            part { name: "base";
11153                type: RECT;
11154                mouse_events: 0;
11155                repeat_events: 1;
11156                 description { state: "default" 0.0;
11157                    color: 0 0 0 0;
11158                    rel1.offset: 10 10;
11159                    rel2.offset: -10 -10;
11160                    rel1.relative: 0.0 -1.0;
11161                    rel2.relative: 1.0 0.0;
11162                }
11163                description { state: "visible" 0.0;
11164                    inherit: "default" 0.0;
11165                    color: 0 0 0 64;
11166                    rel1.relative: 0.0 0.0;
11167                    rel2.relative: 1.0 1.0;
11168                }
11169            }
11170            part { name: "shad";
11171                mouse_events:  0;
11172                description { state: "default" 0.0;
11173                    image.normal: "shad_circ.png";
11174                    rel1.to: "elm.swallow.content";
11175                    rel1.offset: -64 -64;
11176                    rel2.to: "elm.swallow.content";
11177                    rel2.offset: 63 63;
11178                    fill.smooth: 0;
11179                }
11180            }
11181            part { name: "pop";
11182                mouse_events: 1;
11183                description { state: "default" 0.0;
11184                    rel1.to: "elm.swallow.content";
11185                    rel1.offset: -5 -5;
11186                    rel2.to: "elm.swallow.content";
11187                    rel2.offset: 4 4;
11188                    image {
11189                        normal: "bt_dis_base.png";
11190                        border: 4 4 4 4;
11191                    }
11192                    image.middle: SOLID;
11193                }
11194            }
11195            part { name: "popover";
11196                mouse_events: 0;
11197                description { state: "default" 0.0;
11198                    rel1.to: "pop";
11199                    rel2.to: "pop";
11200                    rel2.relative: 1.0 0.5;
11201                    image {
11202                        normal: "bt_dis_hilight.png";
11203                        border: 4 4 4 0;
11204                    }
11205                }
11206            }
11207            part { name: "elm.swallow.content";
11208                type: SWALLOW;
11209                description { state: "default" 0.0;
11210                    rel1.to: "base";
11211                    rel2.to: "base";
11212                }
11213            }
11214        }
11215        programs {
11216            program { name: "show";
11217                signal: "elm,action,show";
11218                source: "elm";
11219                action: STATE_SET "visible" 0.0;
11220                target: "base";
11221            }
11222            program { name: "show_2";
11223                signal: "show";
11224                action: STATE_SET "default" 0.0;
11225                target: "base";
11226                after: "show_3";
11227            }
11228            program { name: "show_3";
11229                signal: "show";
11230                action: STATE_SET "visible" 0.0;
11231                target: "base";
11232                transition: LINEAR 0.5;
11233            }
11234            program { name: "hide";
11235                signal: "elm,action,hide";
11236                source: "elm";
11237                action: STATE_SET "default" 0.0;
11238                target: "base";
11239            }
11240        }
11241    }
11242    group { name: "elm/notify/top_right/default";
11243        //this group is a design similar to the inwin group
11244        images {
11245            image: "shad_circ.png" COMP;
11246            image: "bt_dis_base.png" COMP;
11247            image: "bt_dis_hilight.png" COMP;
11248        }
11249        parts {
11250            part { name: "base";
11251                type: RECT;
11252                mouse_events: 0;
11253                repeat_events: 1;
11254                description { state: "default" 0.0;
11255                    color: 0 0 0 0;
11256                    rel1.offset: 10 10;
11257                    rel2.offset: -10 -10;
11258                    rel1.relative: 0.0 -1.0;
11259                    rel2.relative: 1.0 0.0;
11260                }
11261                description { state: "visible" 0.0;
11262                    inherit: "default" 0.0;
11263                    color: 0 0 0 64;
11264                    rel1.relative: 0.0 0.0;
11265                    rel2.relative: 1.0 1.0;
11266                }
11267            }
11268            part { name: "shad";
11269                mouse_events:  0;
11270                description { state: "default" 0.0;
11271                    image.normal: "shad_circ.png";
11272                    rel1.to: "elm.swallow.content";
11273                    rel1.offset: -64 -64;
11274                    rel2.to: "elm.swallow.content";
11275                    rel2.offset: 63 63;
11276                    fill.smooth: 0;
11277                }
11278            }
11279            part { name: "pop";
11280                mouse_events: 1;
11281                description { state: "default" 0.0;
11282                    rel1.to: "elm.swallow.content";
11283                    rel1.offset: -5 -5;
11284                    rel2.to: "elm.swallow.content";
11285                    rel2.offset: 4 4;
11286                    image {
11287                        normal: "bt_dis_base.png";
11288                        border: 4 4 4 4;
11289                    }
11290                    image.middle: SOLID;
11291                }
11292            }
11293            part { name: "popover";
11294                mouse_events: 0;
11295                description { state: "default" 0.0;
11296                    rel1.to: "pop";
11297                    rel2.to: "pop";
11298                    rel2.relative: 1.0 0.5;
11299                    image {
11300                        normal: "bt_dis_hilight.png";
11301                        border: 4 4 4 0;
11302                    }
11303                }
11304            }
11305            part { name: "elm.swallow.content";
11306                type: SWALLOW;
11307                description { state: "default" 0.0;
11308                    rel1.to: "base";
11309                    rel2.to: "base";
11310                }
11311            }
11312        }
11313        programs {
11314            program { name: "show";
11315                signal: "elm,action,show";
11316                source: "elm";
11317                action: STATE_SET "visible" 0.0;
11318                target: "base";
11319            }
11320            program { name: "show_2";
11321                signal: "show";
11322                action: STATE_SET "default" 0.0;
11323                target: "base";
11324                after: "show_3";
11325            }
11326            program { name: "show_3";
11327                signal: "show";
11328                action: STATE_SET "visible" 0.0;
11329                target: "base";
11330                transition: LINEAR 0.5;
11331            }
11332            program { name: "hide";
11333                signal: "elm,action,hide";
11334                source: "elm";
11335                action: STATE_SET "default" 0.0;
11336                target: "base";
11337            }
11338        }
11339    }
11340    group { name: "elm/notify/bottom_left/default";
11341        //this group is a design similar to the inwin group
11342        images {
11343            image: "shad_circ.png" COMP;
11344            image: "bt_dis_base.png" COMP;
11345            image: "bt_dis_hilight.png" COMP;
11346        }
11347        parts {
11348            part { name: "base";
11349                type: RECT;
11350                mouse_events: 0;
11351                repeat_events: 1;
11352                description { state: "default" 0.0;
11353                    color: 0 0 0 0;
11354                    rel1.offset: 10 10;
11355                    rel2.offset: -10 -10;
11356                    rel1.relative: 0.0 1.0;
11357                    rel2.relative: 1.0 2.0;
11358                }
11359                description { state: "visible" 0.0;
11360                    inherit: "default" 0.0;
11361                    color: 0 0 0 64;
11362                    rel1.relative: 0.0 0.0;
11363                    rel2.relative: 1.0 1.0;
11364                }
11365            }
11366            part { name: "shad";
11367                mouse_events:  0;
11368                description { state: "default" 0.0;
11369                    image.normal: "shad_circ.png";
11370                    rel1.to: "elm.swallow.content";
11371                    rel1.offset: -64 -64;
11372                    rel2.to: "elm.swallow.content";
11373                    rel2.offset: 63 63;
11374                    fill.smooth: 0;
11375                }
11376            }
11377            part { name: "pop";
11378                mouse_events: 1;
11379                description { state: "default" 0.0;
11380                    rel1.to: "elm.swallow.content";
11381                    rel1.offset: -5 -5;
11382                    rel2.to: "elm.swallow.content";
11383                    rel2.offset: 4 4;
11384                    image {
11385                        normal: "bt_dis_base.png";
11386                        border: 4 4 4 4;
11387                    }
11388                    image.middle: SOLID;
11389                }
11390            }
11391            part { name: "popover";
11392                mouse_events: 0;
11393                description { state: "default" 0.0;
11394                    rel1.to: "pop";
11395                    rel2.to: "pop";
11396                    rel2.relative: 1.0 0.5;
11397                    image {
11398                        normal: "bt_dis_hilight.png";
11399                        border: 4 4 4 0;
11400                    }
11401                }
11402            }
11403            part { name: "elm.swallow.content";
11404                type: SWALLOW;
11405                description { state: "default" 0.0;
11406                    rel1.to: "base";
11407                    rel2.to: "base";
11408                }
11409            }
11410        }
11411        programs {
11412            program { name: "show";
11413                signal: "elm,action,show";
11414                source: "elm";
11415                action: STATE_SET "visible" 0.0;
11416                target: "base";
11417            }
11418            program { name: "show_2";
11419                signal: "show";
11420                action: STATE_SET "default" 0.0;
11421                target: "base";
11422                after: "show_3";
11423            }
11424            program { name: "show_3";
11425                signal: "show";
11426                action: STATE_SET "visible" 0.0;
11427                target: "base";
11428                transition: LINEAR 0.5;
11429            }
11430            program { name: "hide";
11431                signal: "elm,action,hide";
11432                source: "elm";
11433                action: STATE_SET "default" 0.0;
11434                target: "base";
11435            }
11436        }
11437    }
11438    group { name: "elm/notify/bottom_right/default";
11439        //this group is a design similar to the inwin group
11440        images {
11441            image: "shad_circ.png" COMP;
11442            image: "bt_dis_base.png" COMP;
11443            image: "bt_dis_hilight.png" COMP;
11444        }
11445        parts {
11446            part { name: "base";
11447                type: RECT;
11448                mouse_events: 0;
11449                repeat_events: 1;
11450               description { state: "default" 0.0;
11451                    color: 0 0 0 0;
11452                    rel1.offset: 10 10;
11453                    rel2.offset: -10 -10;
11454                    rel1.relative: 0.0 1.0;
11455                    rel2.relative: 1.0 2.0;
11456                }
11457                description { state: "visible" 0.0;
11458                    inherit: "default" 0.0;
11459                    color: 0 0 0 64;
11460                    rel1.relative: 0.0 0.0;
11461                    rel2.relative: 1.0 1.0;
11462                }
11463            }
11464            part { name: "shad";
11465                mouse_events:  0;
11466                description { state: "default" 0.0;
11467                    image.normal: "shad_circ.png";
11468                    rel1.to: "elm.swallow.content";
11469                    rel1.offset: -64 -64;
11470                    rel2.to: "elm.swallow.content";
11471                    rel2.offset: 63 63;
11472                    fill.smooth: 0;
11473                }
11474            }
11475            part { name: "pop";
11476                mouse_events: 1;
11477                description { state: "default" 0.0;
11478                    rel1.to: "elm.swallow.content";
11479                    rel1.offset: -5 -5;
11480                    rel2.to: "elm.swallow.content";
11481                    rel2.offset: 4 4;
11482                    image {
11483                        normal: "bt_dis_base.png";
11484                        border: 4 4 4 4;
11485                    }
11486                    image.middle: SOLID;
11487                }
11488            }
11489            part { name: "popover";
11490                mouse_events: 0;
11491                description { state: "default" 0.0;
11492                    rel1.to: "pop";
11493                    rel2.to: "pop";
11494                    rel2.relative: 1.0 0.5;
11495                    image {
11496                        normal: "bt_dis_hilight.png";
11497                        border: 4 4 4 0;
11498                    }
11499                }
11500            }
11501            part { name: "elm.swallow.content";
11502                type: SWALLOW;
11503                description { state: "default" 0.0;
11504                    rel1.to: "base";
11505                    rel2.to: "base";
11506                }
11507            }
11508        }
11509        programs {
11510            program { name: "show";
11511                signal: "elm,action,show";
11512                source: "elm";
11513                action: STATE_SET "visible" 0.0;
11514                target: "base";
11515            }
11516            program { name: "show_2";
11517                signal: "show";
11518                action: STATE_SET "default" 0.0;
11519                target: "base";
11520                after: "show_3";
11521            }
11522            program { name: "show_3";
11523                signal: "show";
11524                action: STATE_SET "visible" 0.0;
11525                target: "base";
11526                transition: LINEAR 0.5;
11527            }
11528            program { name: "hide";
11529                signal: "elm,action,hide";
11530                source: "elm";
11531                action: STATE_SET "default" 0.0;
11532                target: "base";
11533            }
11534        }
11535    }
11536
11537 ///////////////////////////////////////////////////////////////////////////////
11538    group { name: "elm/slideshow/base/default";
11539       data {
11540          item: transitions "fade black_fade horizontal vertical square";
11541          item: layouts "fullscreen not_fullscreen";
11542       }
11543       parts {
11544          part { name: "whole";
11545                 type: RECT;
11546             description {
11547                state: "default" 0.0;
11548                visible: 1;
11549                color: 20 20 20 255;
11550             }
11551          }
11552          part { name: "image_1_whole";
11553             description {
11554                state: "default" 0.0;
11555                color: 255 255 255 255;
11556             }
11557             description {
11558                state: "fade_prev_next" 0.0;
11559                inherit: "default" 0.0;
11560                color: 255 255 255 0;
11561             }
11562             description {
11563                state: "black_fade_prev_next_init" 0.0;
11564                inherit: "default" 0.0;
11565                color: 255 255 255 255;
11566             }
11567             description {
11568                state: "black_fade_prev_next" 0.0;
11569                inherit: "default" 0.0;
11570                color: 0 0 0 255;
11571             }
11572             description {
11573                state: "horizontal_next_init" 0.0;
11574                inherit: "default" 0.0;
11575             }
11576             description {
11577                state: "horizontal_next" 0.0;
11578                inherit: "default" 0.0;
11579                rel1.relative: -1.0 0.0;
11580                rel2.relative: 0.0 1.0;
11581             }
11582             description {
11583                state: "horizontal_prev_init" 0.0;
11584                inherit: "default" 0.0;
11585             }
11586             description {
11587                state: "horizontal_prev" 0.0;
11588                inherit: "default" 0.0;
11589                rel1.relative: 1.0 0.0;
11590                rel2.relative: 2.0 1.0;
11591             }
11592             description {
11593                state: "vertical_next_init" 0.0;
11594                inherit: "default" 0.0;
11595             }
11596             description {
11597                state: "vertical_next" 0.0;
11598                inherit: "default" 0.0;
11599                rel1.relative: 0.0 -1.0;
11600                rel2.relative: 1.0 0.0;
11601             }
11602             description {
11603                state: "vertical_prev_init" 0.0;
11604                inherit: "default" 0.0;
11605             }
11606             description {
11607                state: "vertical_prev" 0.0;
11608                inherit: "default" 0.0;
11609                rel1.relative: 0.0 1.0;
11610                rel2.relative: 1.0 2.0;
11611             }
11612             description {
11613                state: "square_prev_next" 0.0;
11614                inherit: "default" 0.0;
11615                color: 255 255 255 0;
11616             }
11617          }
11618          part { name: "image_2_whole";
11619             description {
11620                state: "default" 0.0;
11621                visible: 1;
11622                color: 255 255 255 0;
11623             }
11624             description {
11625                state: "fade_prev_next" 0.0;
11626                inherit: "default" 0.0;
11627                color: 255 255 255 255;
11628             }
11629             description {
11630                state: "black_fade_prev_next_init" 0.0;
11631                inherit: "default" 0.0;
11632                color: 0 0 0 0;
11633             }
11634             description {
11635                state: "black_fade_prev_next" 0.0;
11636                inherit: "default" 0.0;
11637                color: 255 255 255 255;
11638             }
11639             description {
11640                state: "horizontal_next_init" 0.0;
11641                inherit: "default" 0.0;
11642                rel1.relative: 1.0 0.0;
11643                rel2.relative: 2.0 1.0;
11644                color: 255 255 255 255;
11645             }
11646             description {
11647                state: "horizontal_next" 0.0;
11648                inherit: "default" 0.0;
11649                color: 255 255 255 255;
11650             }
11651             description {
11652                state: "horizontal_prev_init" 0.0;
11653                inherit: "default" 0.0;
11654                rel1.relative: -1.0 0.0;
11655                rel2.relative: 0.0 1.0;
11656                color: 255 255 255 255;
11657             }
11658             description {
11659                state: "horizontal_prev" 0.0;
11660                inherit: "default" 0.0;
11661                color: 255 255 255 255;
11662             }
11663             description {
11664                state: "vertical_next_init" 0.0;
11665                inherit: "default" 0.0;
11666                rel1.relative: 0.0 1.0;
11667                rel2.relative: 1.0 2.0;
11668                color: 255 255 255 255;
11669             }
11670             description {
11671                state: "vertical_next" 0.0;
11672                inherit: "default" 0.0;
11673                color: 255 255 255 255;
11674             }
11675             description {
11676                state: "vertical_prev_init" 0.0;
11677                inherit: "default" 0.0;
11678                rel1.relative: 0.0 -1.0;
11679                rel2.relative: 1.0 0.0;
11680                color: 255 255 255 255;
11681             }
11682             description {
11683                state: "vertical_prev" 0.0;
11684                inherit: "default" 0.0;
11685                color: 255 255 255 255;
11686             }
11687             description {
11688                state: "square_prev_next_init" 0.0;
11689                inherit: "default" 0.0;
11690                rel1.relative: 0.5 0.5;
11691                rel2.relative: 0.5 0.5;
11692                color: 255 255 255 255;
11693             }
11694             description {
11695                state: "square_prev_next" 0.0;
11696                inherit: "default" 0.0;
11697                rel1.relative: 0.0 0.0;
11698                rel2.relative: 1.0 1.0;
11699                color: 255 255 255 255;
11700             }
11701          }
11702          part { name: "elm.swallow.1";
11703             type: SWALLOW;
11704             clip_to: "image_1_whole";
11705             description {
11706                state: "default" 0.0;
11707                rel1.to: "image_1_whole";
11708                rel2.to: "image_1_whole";
11709                color: 255 255 255 255;
11710             }
11711             description {
11712                state: "not_fullscreen" 0.0;
11713                rel1.relative: 0.1 0.1;
11714                rel1.to: "image_1_whole";
11715                rel2.relative: 0.9 0.9;
11716                rel2.to: "image_1_whole";
11717                color: 255 255 255 255;
11718             }
11719          }
11720          part { name: "elm.swallow.2";
11721             type: SWALLOW;
11722             clip_to: "image_2_whole";
11723             description {
11724                state: "default" 0.0;
11725                color: 255 255 255 255;
11726                rel1.to: "image_2_whole";
11727                rel2.to: "image_2_whole";
11728             }
11729             description {
11730                state: "not_fullscreen" 0.0;
11731                color: 255 255 255 255;
11732                rel1.relative: 0.1 0.1;
11733                rel1.to: "image_2_whole";
11734                rel2.relative: 0.9 0.9;
11735                rel2.to: "image_2_whole";
11736             }
11737          }
11738          part { name: "events_catcher";
11739             type: RECT;
11740             repeat_events: 1;
11741             description {
11742                state: "default" 0.0;
11743                visible: 1;
11744                color: 0 0 0 0;
11745             }
11746          }
11747       }
11748       programs {
11749         //Substyle
11750         program { name: "layout_fullscreen";
11751             signal: "layout,fullscreen";
11752             source: "slideshow";
11753             action: STATE_SET "default" 0.0;
11754             target: "elm.swallow.1";
11755             target: "elm.swallow.2";
11756             transition: SINUSOIDAL 1.0;
11757         }
11758         program { name: "layout_not_fullscreen";
11759             signal: "layout,not_fullscreen";
11760             source: "slideshow";
11761             action: STATE_SET "not_fullscreen" 0.0;
11762             target: "elm.swallow.1";
11763             target: "elm.swallow.2";
11764             transition: SINUSOIDAL 1.0;
11765          } 
11766          //
11767          program { name: "fade_next";
11768             signal: "fade,next";
11769             source: "slideshow";
11770             action: STATE_SET "default" 0.0;
11771             target: "image_1_whole";
11772             target: "image_2_whole";
11773             after: "fade_next_2";
11774          }
11775          program { name: "fade_next_2";
11776             action: STATE_SET "fade_prev_next" 0.0;
11777             target: "image_1_whole";
11778             target: "image_2_whole";
11779             transition: SINUSOIDAL 1.5;
11780             after: "end";
11781          }
11782          program { name: "fade_previous";
11783             signal: "fade,previous";
11784             source: "slideshow";
11785             action: STATE_SET "default" 0.0;
11786             target: "image_1_whole";
11787             target: "image_2_whole";
11788             after: "fade_previous_2";
11789          }
11790          program { name: "fade_previous_2";
11791             action: STATE_SET "fade_prev_next" 0.0;
11792             target: "image_1_whole";
11793             target: "image_2_whole";
11794             transition: SINUSOIDAL 1.5;
11795             after: "end";
11796          }
11797          program { name: "black_fade_next";
11798             signal: "black_fade,next";
11799             source: "slideshow";
11800             action: STATE_SET "black_fade_prev_next_init" 0.0;
11801             target: "image_1_whole";
11802             target: "image_2_whole";
11803             after: "black_fade_next_2";
11804          }
11805          program { name: "black_fade_next_2";
11806             action: STATE_SET "black_fade_prev_next" 0.0;
11807             target: "image_1_whole";
11808             transition: SINUSOIDAL 0.75;
11809             after: "black_fade_next_3";
11810          }
11811          program { name: "black_fade_next_3";
11812             action: STATE_SET "black_fade_prev_next" 0.0;
11813             target: "image_2_whole";
11814             transition: SINUSOIDAL 0.75;
11815             after: "end";
11816          }
11817          program { name: "black_fade_previous";
11818             signal: "black_fade,previous";
11819             source: "slideshow";
11820             action: STATE_SET "black_fade_prev_next_init" 0.0;
11821             target: "image_1_whole";
11822             target: "image_2_whole";
11823             after: "black_fade_previous_2";
11824          }
11825          program { name: "black_fade_previous_2";
11826             action: STATE_SET "black_fade_prev_next" 0.0;
11827             target: "image_1_whole";
11828             transition: SINUSOIDAL 0.75;
11829             after: "black_fade_previous_3";
11830          }
11831          program { name: "black_fade_previous_3";
11832             action: STATE_SET "black_fade_prev_next" 0.0;
11833             target: "image_2_whole";
11834             transition: SINUSOIDAL 0.75;
11835             after: "end";
11836          }
11837          program { name: "horizontal_next";
11838             signal: "horizontal,next";
11839             source: "slideshow";
11840             action: STATE_SET "horizontal_next_init" 0.0;
11841             target: "image_1_whole";
11842             target: "image_2_whole";
11843             after: "horizontal_next_2";
11844          }
11845          program { name: "horizontal_next_2";
11846             action: STATE_SET "horizontal_next" 0.0;
11847             target: "image_1_whole";
11848             target: "image_2_whole";
11849             transition: SINUSOIDAL 1.5;
11850             after: "end";
11851          }
11852          program { name: "horizontal_previous";
11853             signal: "horizontal,previous";
11854             source: "slideshow";
11855             action: STATE_SET "horizontal_prev_init" 0.0;
11856             target: "image_1_whole";
11857             target: "image_2_whole";
11858             after: "horizontal_previous_2";
11859          }
11860          program { name: "horizontal_previous_2";
11861             action: STATE_SET "horizontal_prev" 0.0;
11862             target: "image_1_whole";
11863             target: "image_2_whole";
11864             transition: SINUSOIDAL 1.5;
11865             after: "end";
11866          }
11867          program { name: "vertical_next";
11868             signal: "vertical,next";
11869             source: "slideshow";
11870             action: STATE_SET "vertical_next_init" 0.0;
11871             target: "image_1_whole";
11872             target: "image_2_whole";
11873             after: "vertical_next_2";
11874          }
11875          program { name: "vertical_next_2";
11876             action: STATE_SET "vertical_next" 0.0;
11877             target: "image_1_whole";
11878             target: "image_2_whole";
11879             transition: SINUSOIDAL 1.5;
11880             after: "end";
11881          }
11882          program { name: "vertical_previous";
11883             signal: "vertical,previous";
11884             source: "slideshow";
11885             action: STATE_SET "vertical_prev_init" 0.0;
11886             target: "image_1_whole";
11887             target: "image_2_whole";
11888             after: "vertical_previous_2";
11889          }
11890          program { name: "vertical_previous_2";
11891             action: STATE_SET "vertical_prev" 0.0;
11892             target: "image_1_whole";
11893             target: "image_2_whole";
11894             transition: SINUSOIDAL 1.5;
11895             after: "end";
11896          }
11897          program { name: "square_next";
11898             signal: "square,next";
11899             source: "slideshow";
11900             action: STATE_SET "square_prev_next_init" 0.0;
11901             target: "image_2_whole";
11902             after: "square_next_2";
11903          }
11904          program { name: "square_next_2";
11905             action: STATE_SET "square_prev_next" 0.0;
11906             target: "image_2_whole";
11907             target: "image_1_whole";
11908             transition: SINUSOIDAL 1.5;
11909             after: "end";
11910          }
11911          program { name: "square_previous";
11912             signal: "square,previous";
11913             source: "slideshow";
11914             action: STATE_SET "square_prev_next_init" 0.0;
11915             target: "image_2_whole";
11916             after: "square_next_2";
11917          }
11918          program { name: "end";
11919             action: SIGNAL_EMIT "end" "slideshow";
11920          }
11921          program { name: "end_signal";
11922             signal: "anim,end";
11923             source: "slideshow";
11924             action: STATE_SET "default" 0.0;
11925             target: "image_1_whole";
11926             target: "image_2_whole";
11927          }
11928       }
11929    }
11930
11931 ///////////////////////////////////////////////////////////////////////////////
11932    group { name: "elm/win/inwin/default";
11933       images {
11934          image: "shad_circ.png" COMP;
11935          image: "bt_dis_base.png" COMP;
11936          image: "bt_dis_hilight.png" COMP;
11937       }
11938       parts {
11939          part { name: "base";
11940             type: RECT;
11941             mouse_events: 1;
11942             description { state: "default" 0.0;
11943                color: 0 0 0 0;
11944             }
11945             description { state: "visible" 0.0;
11946                inherit: "default" 1.0;
11947                color: 0 0 0 64;
11948             }
11949          }
11950          part { name: "shad";
11951             mouse_events:  0;
11952             description { state: "default" 0.0;
11953                image.normal: "shad_circ.png";
11954                rel1.to: "elm.swallow.content";
11955                rel1.offset: -64 -64;
11956                rel2.to: "elm.swallow.content";
11957                rel2.offset: 63 63;
11958                fill.smooth: 0;
11959             }
11960          }
11961          part { name: "pop";
11962             mouse_events: 1;
11963             description { state: "default" 0.0;
11964                rel1.to: "elm.swallow.content";
11965                rel1.offset: -5 -5;
11966                rel2.to: "elm.swallow.content";
11967                rel2.offset: 4 4;
11968                image {
11969                   normal: "bt_dis_base.png";
11970                   border: 4 4 4 4;
11971                }
11972                image.middle: SOLID;
11973             }
11974          }
11975          part { name: "popover";
11976             mouse_events: 0;
11977             description { state: "default" 0.0;
11978                rel1.to: "pop";
11979                rel2.to: "pop";
11980                rel2.relative: 1.0 0.5;
11981                image {
11982                   normal: "bt_dis_hilight.png";
11983                   border: 4 4 4 0;
11984                }
11985             }
11986          }
11987          part { name: "elm.swallow.content";
11988             type: SWALLOW;
11989             description { state: "default" 0.0;
11990                rel1.relative: 0.1 0.1;
11991                rel2.relative: 0.9 0.9;
11992             }
11993          }
11994       }
11995       programs {
11996          program { name: "show";
11997             signal: "elm,action,show";
11998             source: "elm";
11999             action: STATE_SET "visible" 0.0;
12000 //          transition: DECELERATE 0.5;
12001             target: "base";
12002          }
12003          program { name: "hide";
12004             signal: "elm,action,hide";
12005             source: "elm";
12006             action: STATE_SET "default" 0.0;
12007 //          transition: DECELERATE 0.5;
12008             target: "base";
12009          }
12010       }
12011    }
12012
12013    group { name: "elm/win/inwin/minimal";
12014       images {
12015          image: "shad_circ.png" COMP;
12016          image: "bt_dis_base.png" COMP;
12017          image: "bt_dis_hilight.png" COMP;
12018       }
12019       parts {
12020          part { name: "base";
12021             type: RECT;
12022             mouse_events: 1;
12023             description { state: "default" 0.0;
12024                color: 0 0 0 0;
12025             }
12026             description { state: "visible" 0.0;
12027                inherit: "default" 1.0;
12028                color: 0 0 0 64;
12029             }
12030          }
12031          part { name: "shad";
12032             mouse_events:  0;
12033             description { state: "default" 0.0;
12034                image.normal: "shad_circ.png";
12035                rel1.to: "elm.swallow.content";
12036                rel1.offset: -64 -64;
12037                rel2.to: "elm.swallow.content";
12038                rel2.offset: 63 63;
12039                fill.smooth: 0;
12040             }
12041          }
12042          part { name: "pop";
12043             mouse_events: 1;
12044             description { state: "default" 0.0;
12045                rel1.to: "elm.swallow.content";
12046                rel1.offset: -5 -5;
12047                rel2.to: "elm.swallow.content";
12048                rel2.offset: 4 4;
12049                image {
12050                   normal: "bt_dis_base.png";
12051                   border: 4 4 4 4;
12052                }
12053                image.middle: SOLID;
12054             }
12055          }
12056          part { name: "popover";
12057             mouse_events: 0;
12058             description { state: "default" 0.0;
12059                rel1.to: "pop";
12060                rel2.to: "pop";
12061                rel2.relative: 1.0 0.5;
12062                image {
12063                   normal: "bt_dis_hilight.png";
12064                   border: 4 4 4 0;
12065                }
12066             }
12067          }
12068          part { name: "elm.swallow.content";
12069             type: SWALLOW;
12070             description { state: "default" 0.0;
12071                fixed: 1 1;
12072                rel1.relative: 0.5 0.5;
12073                rel2.relative: 0.5 0.5;
12074             }
12075          }
12076       }
12077       programs {
12078          program { name: "show";
12079             signal: "elm,action,show";
12080             source: "elm";
12081             action: STATE_SET "visible" 0.0;
12082 //          transition: DECELERATE 0.5;
12083             target: "base";
12084          }
12085          program { name: "hide";
12086             signal: "elm,action,hide";
12087             source: "elm";
12088             action: STATE_SET "default" 0.0;
12089 //          transition: DECELERATE 0.5;
12090             target: "base";
12091          }
12092       }
12093    }
12094
12095    group { name: "elm/win/inwin/minimal_vertical";
12096       images {
12097          image: "shad_circ.png" COMP;
12098          image: "bt_dis_base.png" COMP;
12099          image: "bt_dis_hilight.png" COMP;
12100       }
12101       parts {
12102          part { name: "base";
12103             type: RECT;
12104             mouse_events: 1;
12105             description { state: "default" 0.0;
12106                color: 0 0 0 0;
12107             }
12108             description { state: "visible" 0.0;
12109                inherit: "default" 1.0;
12110                color: 0 0 0 64;
12111             }
12112          }
12113          part { name: "shad";
12114             mouse_events:  0;
12115             description { state: "default" 0.0;
12116                image.normal: "shad_circ.png";
12117                rel1.to: "elm.swallow.content";
12118                rel1.offset: -64 -64;
12119                rel2.to: "elm.swallow.content";
12120                rel2.offset: 63 63;
12121                fill.smooth: 0;
12122             }
12123          }
12124          part { name: "pop";
12125             mouse_events: 1;
12126             description { state: "default" 0.0;
12127                rel1.to: "elm.swallow.content";
12128                rel1.offset: -5 -5;
12129                rel2.to: "elm.swallow.content";
12130                rel2.offset: 4 4;
12131                image {
12132                   normal: "bt_dis_base.png";
12133                   border: 4 4 4 4;
12134                }
12135                image.middle: SOLID;
12136             }
12137          }
12138          part { name: "popover";
12139             mouse_events: 0;
12140             description { state: "default" 0.0;
12141                rel1.to: "pop";
12142                rel2.to: "pop";
12143                rel2.relative: 1.0 0.5;
12144                image {
12145                   normal: "bt_dis_hilight.png";
12146                   border: 4 4 4 0;
12147                }
12148             }
12149          }
12150          part { name: "elm.swallow.content";
12151             type: SWALLOW;
12152             description { state: "default" 0.0;
12153                fixed: 1 1;
12154                rel1.relative: 0.1 0.5;
12155                rel2.relative: 0.9 0.5;
12156             }
12157          }
12158       }
12159       programs {
12160          program { name: "show";
12161             signal: "elm,action,show";
12162             source: "elm";
12163             action: STATE_SET "visible" 0.0;
12164 //          transition: DECELERATE 0.5;
12165             target: "base";
12166          }
12167          program { name: "hide";
12168             signal: "elm,action,hide";
12169             source: "elm";
12170             action: STATE_SET "default" 0.0;
12171 //          transition: DECELERATE 0.5;
12172             target: "base";
12173          }
12174       }
12175    }
12176
12177 ///////////////////////////////////////////////////////////////////////////////
12178
12179 ///////////////////////////////////////////////////////////////////////////////
12180    group { name: "elm/list/item/default";
12181       data.item: "stacking" "above";
12182       images {
12183          image: "bt_sm_base1.png" COMP;
12184          image: "bt_sm_shine.png" COMP;
12185          image: "bt_sm_hilight.png" COMP;
12186          image: "ilist_1.png" COMP;
12187          image: "ilist_item_shadow.png" COMP;
12188       }
12189       parts {
12190          part {
12191             name:           "event";
12192             type:           RECT;
12193             repeat_events: 1;
12194             description {
12195                state: "default" 0.0;
12196                color: 0 0 0 0;
12197             }
12198          }
12199          part {
12200             name: "base_sh";
12201             mouse_events: 0;
12202             description {
12203                state: "default" 0.0;
12204                align: 0.0 0.0;
12205                min: 0 10;
12206                fixed: 1 1;
12207                rel1 {
12208                   to: "base";
12209                   relative: 0.0 1.0;
12210                   offset: 0 0;
12211                }
12212                rel2 {
12213                   to: "base";
12214                   relative: 1.0 1.0;
12215                   offset: -1 0;
12216                }
12217                image {
12218                   normal: "ilist_item_shadow.png";
12219                }
12220                fill.smooth: 0;
12221             }
12222          }
12223          part {
12224             name: "base";
12225             mouse_events: 0;
12226             description {
12227                state: "default" 0.0;
12228                image {
12229                   normal: "ilist_1.png";
12230                   border: 2 2 2 2;
12231                }
12232                fill.smooth: 0;
12233             }
12234          }
12235          part { name: "bg";
12236             mouse_events: 0;
12237             description { state: "default" 0.0;
12238                visible: 0;
12239                color: 255 255 255 0;
12240                rel1 {
12241                   relative: 0.0 0.0;
12242                   offset: -5 -5;
12243                }
12244                rel2 {
12245                   relative: 1.0 1.0;
12246                   offset: 4 4;
12247                }
12248                image {
12249                   normal: "bt_sm_base1.png";
12250                   border: 6 6 6 6;
12251                }
12252                image.middle: SOLID;
12253             }
12254             description { state: "selected" 0.0;
12255                inherit: "default" 0.0;
12256                visible: 1;
12257                color: 255 255 255 255;
12258                rel1 {
12259                   relative: 0.0 0.0;
12260                   offset: -2 -2;
12261                }
12262                rel2 {
12263                   relative: 1.0 1.0;
12264                   offset: 1 1;
12265                }
12266             }
12267          }
12268          part { name: "elm.swallow.icon";
12269             type: SWALLOW;
12270             description { state: "default" 0.0;
12271                fixed: 1 0;
12272                align: 0.0 0.5;
12273                rel1 {
12274                   relative: 0.0  0.0;
12275                   offset:   4    4;
12276                }
12277                rel2 {
12278                   relative: 0.0  1.0;
12279                   offset:   4   -5;
12280                }
12281             }
12282          }
12283          part { name: "elm.swallow.end";
12284             type: SWALLOW;
12285             description { state: "default" 0.0;
12286                fixed: 1 0;
12287                align: 1.0 0.5;
12288                rel1 {
12289                   relative: 1.0  0.0;
12290                   offset:   -5    4;
12291                }
12292                rel2 {
12293                   relative: 1.0  1.0;
12294                   offset:   -5   -5;
12295                }
12296             }
12297          }
12298          part { name: "elm.text";
12299             type:           TEXT;
12300             effect:         SOFT_SHADOW;
12301             mouse_events:   0;
12302             scale: 1;
12303             description {
12304                state: "default" 0.0;
12305 //               min: 16 16;
12306                rel1 {
12307                   to_x:     "elm.swallow.icon";
12308                   relative: 1.0  0.0;
12309                   offset:   4 4;
12310                }
12311                rel2 {
12312                   to_x:     "elm.swallow.end";
12313                   relative: 0.0  1.0;
12314                   offset:   -1 -5;
12315                }
12316                color: 0 0 0 255;
12317                color3: 0 0 0 0;
12318                text {
12319                   font: "Sans";
12320                   size: 10;
12321                   min: 1 1;
12322 //                  min: 0 1;
12323                   align: 0.0 0.5;
12324                   text_class: "list_item";
12325                }
12326             }
12327             description { state: "selected" 0.0;
12328                inherit: "default" 0.0;
12329                color: 224 224 224 255;
12330                color3: 0 0 0 64;
12331             }
12332          }
12333          part { name: "fg1";
12334             mouse_events: 0;
12335             description { state: "default" 0.0;
12336                visible: 0;
12337                color: 255 255 255 0;
12338                rel1.to: "bg";
12339                rel2.relative: 1.0 0.5;
12340                rel2.to: "bg";
12341                image {
12342                   normal: "bt_sm_hilight.png";
12343                   border: 6 6 6 0;
12344                }
12345             }
12346             description { state: "selected" 0.0;
12347                inherit: "default" 0.0;
12348                visible: 1;
12349                color: 255 255 255 255;
12350             }
12351          }
12352          part { name: "fg2";
12353             mouse_events: 0;
12354             description { state: "default" 0.0;
12355                visible: 0;
12356                color: 255 255 255 0;
12357                rel1.to: "bg";
12358                rel2.to: "bg";
12359                image {
12360                   normal: "bt_sm_shine.png";
12361                   border: 6 6 6 0;
12362                }
12363             }
12364             description { state: "selected" 0.0;
12365                inherit: "default" 0.0;
12366                visible: 1;
12367                color: 255 255 255 255;
12368             }
12369          }
12370       }
12371       programs {
12372          program {
12373             name:    "go_active";
12374             signal:  "elm,state,selected";
12375             source:  "elm";
12376             action:  STATE_SET "selected" 0.0;
12377             target:  "bg";
12378             target:  "fg1";
12379             target:  "fg2";
12380             target:  "elm.text";
12381          }
12382          program {
12383             name:    "go_passive";
12384             signal:  "elm,state,unselected";
12385             source:  "elm";
12386             action:  STATE_SET "default" 0.0;
12387             target:  "bg";
12388             target:  "fg1";
12389             target:  "fg2";
12390             target:  "elm.text";
12391             transition: LINEAR 0.1;
12392          }
12393       }
12394    }
12395    group { name: "elm/list/item_odd/default";
12396       data.item: "stacking" "below";
12397       data.item: "selectraise" "on";
12398       images {
12399          image: "bt_sm_base1.png" COMP;
12400          image: "bt_sm_shine.png" COMP;
12401          image: "bt_sm_hilight.png" COMP;
12402          image: "ilist_2.png" COMP;
12403       }
12404       parts {
12405          part {
12406             name:           "event";
12407             type:           RECT;
12408             repeat_events: 1;
12409             description {
12410                state: "default" 0.0;
12411                color: 0 0 0 0;
12412             }
12413          }
12414          part {
12415             name: "base";
12416             mouse_events: 0;
12417             description {
12418                state: "default" 0.0;
12419                image {
12420                   normal: "ilist_2.png";
12421                   border: 2 2 2 2;
12422                }
12423                fill.smooth: 0;
12424             }
12425          }
12426          part { name: "bg";
12427             mouse_events: 0;
12428             description { state: "default" 0.0;
12429                visible: 0;
12430                color: 255 255 255 0;
12431                rel1 {
12432                   relative: 0.0 0.0;
12433                   offset: -5 -5;
12434                }
12435                rel2 {
12436                   relative: 1.0 1.0;
12437                   offset: 4 4;
12438                }
12439                image {
12440                   normal: "bt_sm_base1.png";
12441                   border: 6 6 6 6;
12442                }
12443                image.middle: SOLID;
12444             }
12445             description { state: "selected" 0.0;
12446                inherit: "default" 0.0;
12447                visible: 1;
12448                color: 255 255 255 255;
12449                rel1 {
12450                   relative: 0.0 0.0;
12451                   offset: -2 -2;
12452                }
12453                rel2 {
12454                   relative: 1.0 1.0;
12455                   offset: 1 1;
12456                }
12457             }
12458          }
12459          part {
12460             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 {
12476             name:          "elm.swallow.end";
12477             type:          SWALLOW;
12478             description { state:    "default" 0.0;
12479                fixed: 1 0;
12480                align: 1.0 0.5;
12481                rel1 {
12482                   relative: 1.0  0.0;
12483                   offset:   -5    4;
12484                }
12485                rel2 {
12486                   relative: 1.0  1.0;
12487                   offset:   -5   -5;
12488                }
12489             }
12490          }
12491          part {
12492             name:           "elm.text";
12493             type:           TEXT;
12494             effect:         SOFT_SHADOW;
12495             mouse_events:   0;
12496             scale: 1;
12497             description {
12498                state: "default" 0.0;
12499 //               min:      16 16;
12500                rel1 {
12501                   to_x:     "elm.swallow.icon";
12502                   relative: 1.0  0.0;
12503                   offset:   4 4;
12504                }
12505                rel2 {
12506                   to_x:     "elm.swallow.end";
12507                   relative: 0.0  1.0;
12508                   offset:   -1 -5;
12509                }
12510                color: 0 0 0 255;
12511                color3: 0 0 0 0;
12512                text {
12513                   font: "Sans";
12514                   size: 10;
12515                   min: 1 1;
12516 //                  min: 0 1;
12517                   align: 0.0 0.5;
12518                   text_class: "list_item";
12519                }
12520             }
12521             description { state: "selected" 0.0;
12522                inherit: "default" 0.0;
12523                color: 224 224 224 255;
12524                color3: 0 0 0 64;
12525             }
12526          }
12527          part { name: "fg1";
12528             mouse_events: 0;
12529             description { state: "default" 0.0;
12530                visible: 0;
12531                color: 255 255 255 0;
12532                rel1.to: "bg";
12533                rel2.relative: 1.0 0.5;
12534                rel2.to: "bg";
12535                image {
12536                   normal: "bt_sm_hilight.png";
12537                   border: 6 6 6 0;
12538                }
12539             }
12540             description { state: "selected" 0.0;
12541                inherit: "default" 0.0;
12542                visible: 1;
12543                color: 255 255 255 255;
12544             }
12545          }
12546          part { name: "fg2";
12547             mouse_events: 0;
12548             description { state: "default" 0.0;
12549                visible: 0;
12550                color: 255 255 255 0;
12551                rel1.to: "bg";
12552                rel2.to: "bg";
12553                image {
12554                   normal: "bt_sm_shine.png";
12555                   border: 6 6 6 0;
12556                }
12557             }
12558             description { state: "selected" 0.0;
12559                inherit: "default" 0.0;
12560                visible: 1;
12561                color: 255 255 255 255;
12562             }
12563          }
12564       }
12565       programs {
12566          program {
12567             name:    "go_active";
12568             signal:  "elm,state,selected";
12569             source:  "elm";
12570             action:  STATE_SET "selected" 0.0;
12571             target:  "bg";
12572             target:  "fg1";
12573             target:  "fg2";
12574             target:  "elm.text";
12575          }
12576          program {
12577             name:    "go_passive";
12578             signal:  "elm,state,unselected";
12579             source:  "elm";
12580             action:  STATE_SET "default" 0.0;
12581             target:  "bg";
12582             target:  "fg1";
12583             target:  "fg2";
12584             target:  "elm.text";
12585             transition: LINEAR 0.1;
12586          }
12587       }
12588    }
12589    group { name: "elm/list/item_compress/default";
12590       data.item: "stacking" "above";
12591       data.item: "selectraise" "on";
12592       images {
12593          image: "bt_sm_base1.png" COMP;
12594          image: "bt_sm_shine.png" COMP;
12595          image: "bt_sm_hilight.png" COMP;
12596          image: "ilist_1.png" COMP;
12597          image: "ilist_item_shadow.png" COMP;
12598       }
12599       parts {
12600          part {
12601             name:           "event";
12602             type:           RECT;
12603             repeat_events: 1;
12604             description {
12605                state: "default" 0.0;
12606                color: 0 0 0 0;
12607             }
12608          }
12609          part {
12610             name: "base_sh";
12611             mouse_events: 0;
12612             description { state: "default" 0.0;
12613                fixed: 1 1;
12614                align: 0.0 0.0;
12615                min: 0 10;
12616                rel1 {
12617                   to: "base";
12618                   relative: 0.0 1.0;
12619                   offset: 0 0;
12620                }
12621                rel2 {
12622                   to: "base";
12623                   relative: 1.0 1.0;
12624                   offset: -1 0;
12625                }
12626                image {
12627                   normal: "ilist_item_shadow.png";
12628                }
12629                fill.smooth: 0;
12630             }
12631          }
12632          part {
12633             name: "base";
12634             mouse_events: 0;
12635             description {
12636                state: "default" 0.0;
12637                image {
12638                   normal: "ilist_1.png";
12639                   border: 2 2 2 2;
12640                }
12641                fill.smooth: 0;
12642             }
12643          }
12644          part { name: "bg";
12645             mouse_events: 0;
12646             description { state: "default" 0.0;
12647                visible: 0;
12648                color: 255 255 255 0;
12649                rel1 {
12650                   relative: 0.0 0.0;
12651                   offset: -5 -5;
12652                }
12653                rel2 {
12654                   relative: 1.0 1.0;
12655                   offset: 4 4;
12656                }
12657                image {
12658                   normal: "bt_sm_base1.png";
12659                   border: 6 6 6 6;
12660                }
12661                image.middle: SOLID;
12662             }
12663             description { state: "selected" 0.0;
12664                inherit: "default" 0.0;
12665                visible: 1;
12666                color: 255 255 255 255;
12667                rel1 {
12668                   relative: 0.0 0.0;
12669                   offset: -2 -2;
12670                }
12671                rel2 {
12672                   relative: 1.0 1.0;
12673                   offset: 1 1;
12674                }
12675             }
12676          }
12677          part { name:          "elm.swallow.icon";
12678             type:          SWALLOW;
12679             description { state:    "default" 0.0;
12680                fixed: 1 0;
12681                align:    0.0 0.5;
12682                rel1 {
12683                   relative: 0.0  0.0;
12684                   offset:   4    4;
12685                }
12686                rel2 {
12687                   relative: 0.0  1.0;
12688                   offset:   4   -5;
12689                }
12690             }
12691          }
12692          part { name:          "elm.swallow.end";
12693             type:          SWALLOW;
12694             description { state:    "default" 0.0;
12695                fixed: 1 0;
12696                align:    1.0 0.5;
12697                rel1 {
12698                   relative: 1.0  0.0;
12699                   offset:   -5    4;
12700                }
12701                rel2 {
12702                   relative: 1.0  1.0;
12703                   offset:   -5   -5;
12704                }
12705             }
12706          }
12707          part {
12708             name:           "elm.text";
12709             type:           TEXT;
12710             effect:         SOFT_SHADOW;
12711             mouse_events:   0;
12712             scale: 1;
12713             description { state: "default" 0.0;
12714 //               min:      16 16;
12715                rel1 {
12716                   to_x:     "elm.swallow.icon";
12717                   relative: 1.0  0.0;
12718                   offset:   4 4;
12719                }
12720                rel2 {
12721                   to_x:     "elm.swallow.end";
12722                   relative: 0.0  1.0;
12723                   offset:   -1 -5;
12724                }
12725                color: 0 0 0 255;
12726                color3: 0 0 0 0;
12727                text {
12728                   font: "Sans";
12729                   size: 10;
12730 //                  min: 1 1;
12731                   min: 0 1;
12732                   align: 0.0 0.5;
12733                   text_class: "list_item";
12734                }
12735             }
12736             description { state: "selected" 0.0;
12737                inherit: "default" 0.0;
12738                color: 224 224 224 255;
12739                color3: 0 0 0 64;
12740             }
12741          }
12742          part { name: "fg1";
12743             mouse_events: 0;
12744             description { state: "default" 0.0;
12745                visible: 0;
12746                color: 255 255 255 0;
12747                rel1.to: "bg";
12748                rel2.relative: 1.0 0.5;
12749                rel2.to: "bg";
12750                image {
12751                   normal: "bt_sm_hilight.png";
12752                   border: 6 6 6 0;
12753                }
12754             }
12755             description { state: "selected" 0.0;
12756                inherit: "default" 0.0;
12757                visible: 1;
12758                color: 255 255 255 255;
12759             }
12760          }
12761          part { name: "fg2";
12762             mouse_events: 0;
12763             description { state: "default" 0.0;
12764                visible: 0;
12765                color: 255 255 255 0;
12766                rel1.to: "bg";
12767                rel2.to: "bg";
12768                image {
12769                   normal: "bt_sm_shine.png";
12770                   border: 6 6 6 0;
12771                }
12772             }
12773             description { state: "selected" 0.0;
12774                inherit: "default" 0.0;
12775                visible: 1;
12776                color: 255 255 255 255;
12777             }
12778          }
12779       }
12780       programs {
12781          program {
12782             name:    "go_active";
12783             signal:  "elm,state,selected";
12784             source:  "elm";
12785             action:  STATE_SET "selected" 0.0;
12786             target:  "bg";
12787             target:  "fg1";
12788             target:  "fg2";
12789             target:  "elm.text";
12790          }
12791          program {
12792             name:    "go_passive";
12793             signal:  "elm,state,unselected";
12794             source:  "elm";
12795             action:  STATE_SET "default" 0.0;
12796             target:  "bg";
12797             target:  "fg1";
12798             target:  "fg2";
12799             target:  "elm.text";
12800             transition: LINEAR 0.1;
12801          }
12802       }
12803    }
12804    group { name: "elm/list/item_compress_odd/default";
12805       data.item: "stacking" "below";
12806       data.item: "selectraise" "on";
12807       images {
12808          image: "bt_sm_base1.png" COMP;
12809          image: "bt_sm_shine.png" COMP;
12810          image: "bt_sm_hilight.png" COMP;
12811          image: "ilist_2.png" COMP;
12812       }
12813       parts {
12814          part {
12815             name:           "event";
12816             type:           RECT;
12817             repeat_events: 1;
12818             description {
12819                state: "default" 0.0;
12820                color: 0 0 0 0;
12821             }
12822          }
12823          part {
12824             name: "base";
12825             mouse_events: 0;
12826             description {
12827                state: "default" 0.0;
12828                image {
12829                   normal: "ilist_2.png";
12830                   border: 2 2 2 2;
12831                }
12832                fill.smooth: 0;
12833             }
12834          }
12835          part { name: "bg";
12836             mouse_events: 0;
12837             description { state: "default" 0.0;
12838                visible: 0;
12839                color: 255 255 255 0;
12840                rel1 {
12841                   relative: 0.0 0.0;
12842                   offset: -5 -5;
12843                }
12844                rel2 {
12845                   relative: 1.0 1.0;
12846                   offset: 4 4;
12847                }
12848                image {
12849                   normal: "bt_sm_base1.png";
12850                   border: 6 6 6 6;
12851                }
12852                image.middle: SOLID;
12853             }
12854             description { state: "selected" 0.0;
12855                inherit: "default" 0.0;
12856                visible: 1;
12857                color: 255 255 255 255;
12858                rel1 {
12859                   relative: 0.0 0.0;
12860                   offset: -2 -2;
12861                }
12862                rel2 {
12863                   relative: 1.0 1.0;
12864                   offset: 1 1;
12865                }
12866             }
12867          }
12868          part { name:          "elm.swallow.icon";
12869             type:          SWALLOW;
12870             description { state:    "default" 0.0;
12871                fixed: 1 0;
12872                align:    0.0 0.5;
12873                rel1 {
12874                   relative: 0.0  0.0;
12875                   offset:   4    4;
12876                }
12877                rel2 {
12878                   relative: 0.0  1.0;
12879                   offset:   4   -5;
12880                }
12881             }
12882          }
12883          part { name:          "elm.swallow.end";
12884             type:          SWALLOW;
12885             description { state:    "default" 0.0;
12886                fixed: 1 0;
12887                align:    1.0 0.5;
12888                rel1 {
12889                   relative: 1.0  0.0;
12890                   offset:   -5    4;
12891                }
12892                rel2 {
12893                   relative: 1.0  1.0;
12894                   offset:   -5   -5;
12895                }
12896             }
12897          }
12898          part {
12899             name:           "elm.text";
12900             type:           TEXT;
12901             effect:         SOFT_SHADOW;
12902             mouse_events:   0;
12903             scale: 1;
12904             description {
12905                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
12997 ///////////////////////////////////////////////////////////////////////////////
12998    group { name: "elm/list/h_item/default";
12999       data.item: "stacking" "above";
13000       images {
13001          image: "bt_sm_base1.png" COMP;
13002          image: "bt_sm_shine.png" COMP;
13003          image: "bt_sm_hilight.png" COMP;
13004          image: "ilist_1_h.png" COMP;
13005          image: "ilist_item_shadow_h.png" COMP;
13006       }
13007       parts {
13008          part {
13009             name: "event";
13010             type: RECT;
13011             repeat_events: 1;
13012             description {
13013                state: "default" 0.0;
13014                color: 0 0 0 0;
13015             }
13016          }
13017          part {
13018             name: "base_sh";
13019             mouse_events: 0;
13020             description {
13021                state: "default" 0.0;
13022                align: 0.0 0.0;
13023                min: 10 0;
13024                fixed: 1 1;
13025                rel1 {
13026                   to: "base";
13027                   relative: 1.0 0.0;
13028                   offset: 0 0;
13029                }
13030                rel2 {
13031                   to: "base";
13032                   relative: 1.0 1.0;
13033                   offset: 0 -1;
13034                }
13035                image {
13036                   normal: "ilist_item_shadow_h.png";
13037                }
13038                fill.smooth: 0;
13039             }
13040          }
13041          part {
13042             name: "base";
13043             mouse_events: 0;
13044             description {
13045                state: "default" 0.0;
13046                image {
13047                   normal: "ilist_1_h.png";
13048                   border: 2 2 2 2;
13049                }
13050                fill.smooth: 0;
13051             }
13052          }
13053          part { name: "bg";
13054             mouse_events: 0;
13055             description { state: "default" 0.0;
13056                visible: 0;
13057                color: 255 255 255 0;
13058                rel1 {
13059                   relative: 0.0 0.0;
13060                   offset: -5 -5;
13061                }
13062                rel2 {
13063                   relative: 1.0 1.0;
13064                   offset: 4 4;
13065                }
13066                image {
13067                   normal: "bt_sm_base1.png";
13068                   border: 6 6 6 6;
13069                }
13070                image.middle: SOLID;
13071             }
13072             description { state: "selected" 0.0;
13073                inherit: "default" 0.0;
13074                visible: 1;
13075                color: 255 255 255 255;
13076                rel1 {
13077                   relative: 0.0 0.0;
13078                   offset: -2 -2;
13079                }
13080                rel2 {
13081                   relative: 1.0 1.0;
13082                   offset: 1 1;
13083                }
13084             }
13085          }
13086          part { name: "elm.swallow.icon";
13087             type: SWALLOW;
13088             description { state: "default" 0.0;
13089                fixed: 0 1;
13090                align: 0.5 0.0;
13091                rel1 {
13092                   relative: 0.0 0.0;
13093                   offset: 4 4;
13094                }
13095                rel2 {
13096                   relative: 1.0 0.0;
13097                   offset: -5 4;
13098                }
13099             }
13100          }
13101          part { name: "elm.swallow.end";
13102             type: SWALLOW;
13103             description { state: "default" 0.0;
13104                fixed: 0 1;
13105                align: 0.5 1.0;
13106                rel1 {
13107                   relative: 0.0 1.0;
13108                   offset: 4 -5;
13109                }
13110                rel2 {
13111                   relative: 1.0 1.0;
13112                   offset: -5 -5;
13113                }
13114             }
13115          }
13116          part { name: "elm.text";
13117             type: TEXT;
13118             effect: SOFT_SHADOW;
13119             mouse_events: 0;
13120             scale: 1;
13121             description {
13122                state: "default" 0.0;
13123                fixed: 0 1;
13124                rel1 {
13125                   to_x: "elm.swallow.icon";
13126                   relative: 0.0 1.0;
13127                   offset: 4 4;
13128                }
13129                rel2 {
13130                   to_x: "elm.swallow.end";
13131                   relative: 1.0 0.0;
13132                   offset: -5 -1;
13133                }
13134                color: 0 0 0 255;
13135                color3: 0 0 0 0;
13136                text {
13137                   font: "Sans";
13138                   size: 10;
13139                   min: 1 1;
13140                   align: 0.5 0.5;
13141                   text_class: "list_item";
13142                }
13143             }
13144             description { state: "selected" 0.0;
13145                inherit: "default" 0.0;
13146                color: 224 224 224 255;
13147                color3: 0 0 0 64;
13148             }
13149          }
13150          part { name: "fg1";
13151             mouse_events: 0;
13152             description { state: "default" 0.0;
13153                visible: 0;
13154                color: 255 255 255 0;
13155                rel1.to: "bg";
13156                rel2.relative: 1.0 0.5;
13157                rel2.to: "bg";
13158                image {
13159                   normal: "bt_sm_hilight.png";
13160                   border: 6 6 6 0;
13161                }
13162             }
13163             description { state: "selected" 0.0;
13164                inherit: "default" 0.0;
13165                visible: 1;
13166                color: 255 255 255 255;
13167             }
13168          }
13169          part { name: "fg2";
13170             mouse_events: 0;
13171             description { state: "default" 0.0;
13172                visible: 0;
13173                color: 255 255 255 0;
13174                rel1.to: "bg";
13175                rel2.to: "bg";
13176                image {
13177                   normal: "bt_sm_shine.png";
13178                   border: 6 6 6 0;
13179                }
13180             }
13181             description { state: "selected" 0.0;
13182                inherit: "default" 0.0;
13183                visible: 1;
13184                color: 255 255 255 255;
13185             }
13186          }
13187       }
13188       programs {
13189          program {
13190             name: "go_active";
13191             signal: "elm,state,selected";
13192             source: "elm";
13193             action: STATE_SET "selected" 0.0;
13194             target: "bg";
13195             target: "fg1";
13196             target: "fg2";
13197             target: "elm.text";
13198          }
13199          program {
13200             name: "go_passive";
13201             signal: "elm,state,unselected";
13202             source: "elm";
13203             action: STATE_SET "default" 0.0;
13204             target: "bg";
13205             target: "fg1";
13206             target: "fg2";
13207             target: "elm.text";
13208             transition: LINEAR 0.1;
13209          }
13210       }
13211    }
13212    group { name: "elm/list/h_item_odd/default";
13213       data.item: "stacking" "below";
13214       data.item: "selectraise" "on";
13215       images {
13216          image: "bt_sm_base1.png" COMP;
13217          image: "bt_sm_shine.png" COMP;
13218          image: "bt_sm_hilight.png" COMP;
13219          image: "ilist_2_h.png" COMP;
13220       }
13221       parts {
13222          part {
13223             name: "event";
13224             type: RECT;
13225             repeat_events: 1;
13226             description {
13227                state: "default" 0.0;
13228                color: 0 0 0 0;
13229             }
13230          }
13231          part {
13232             name: "base";
13233             mouse_events: 0;
13234             description {
13235                state: "default" 0.0;
13236                image {
13237                   normal: "ilist_2_h.png";
13238                   border: 2 2 2 2;
13239                }
13240                fill.smooth: 0;
13241             }
13242          }
13243          part { name: "bg";
13244             mouse_events: 0;
13245             description { state: "default" 0.0;
13246                visible: 0;
13247                color: 255 255 255 0;
13248                rel1 {
13249                   relative: 0.0 0.0;
13250                   offset: -5 -5;
13251                }
13252                rel2 {
13253                   relative: 1.0 1.0;
13254                   offset: 4 4;
13255                }
13256                image {
13257                   normal: "bt_sm_base1.png";
13258                   border: 6 6 6 6;
13259                }
13260                image.middle: SOLID;
13261             }
13262             description { state: "selected" 0.0;
13263                inherit: "default" 0.0;
13264                visible: 1;
13265                color: 255 255 255 255;
13266                rel1 {
13267                   relative: 0.0 0.0;
13268                   offset: -2 -2;
13269                }
13270                rel2 {
13271                   relative: 1.0 1.0;
13272                   offset: 1 1;
13273                }
13274             }
13275          }
13276          part {
13277             name: "elm.swallow.icon";
13278             type: SWALLOW;
13279             description { state: "default" 0.0;
13280                fixed: 0 1;
13281                align: 0.5 0.0;
13282                rel1 {
13283                   relative: 0.0 0.0;
13284                   offset: 4 4;
13285                }
13286                rel2 {
13287                   relative: 1.0 0.0;
13288                   offset: -5 4;
13289                }
13290             }
13291          }
13292          part {
13293             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: 1 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_compress/default";
13405       data.item: "stacking" "above";
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_1_h.png" COMP;
13412          image: "ilist_item_shadow_h.png" COMP;
13413       }
13414       parts {
13415          part {
13416             name: "event";
13417             type: RECT;
13418             repeat_events: 1;
13419             description {
13420                state: "default" 0.0;
13421                color: 0 0 0 0;
13422             }
13423          }
13424          part {
13425             name: "base_sh";
13426             mouse_events: 0;
13427             description { state: "default" 0.0;
13428                fixed: 1 1;
13429                align: 0.0 0.0;
13430                min: 10 0;
13431                rel1 {
13432                   to: "base";
13433                   relative: 1.0 0.0;
13434                   offset: 0 0;
13435                }
13436                rel2 {
13437                   to: "base";
13438                   relative: 1.0 1.0;
13439                   offset: 0 -1;
13440                }
13441                image {
13442                   normal: "ilist_item_shadow_h.png";
13443                }
13444                fill.smooth: 0;
13445             }
13446          }
13447          part {
13448             name: "base";
13449             mouse_events: 0;
13450             description {
13451                state: "default" 0.0;
13452                image {
13453                   normal: "ilist_1_h.png";
13454                   border: 2 2 2 2;
13455                }
13456                fill.smooth: 0;
13457             }
13458          }
13459          part { name: "bg";
13460             mouse_events: 0;
13461             description { state: "default" 0.0;
13462                visible: 0;
13463                color: 255 255 255 0;
13464                rel1 {
13465                   relative: 0.0 0.0;
13466                   offset: -5 -5;
13467                }
13468                rel2 {
13469                   relative: 1.0 1.0;
13470                   offset: 4 4;
13471                }
13472                image {
13473                   normal: "bt_sm_base1.png";
13474                   border: 6 6 6 6;
13475                }
13476                image.middle: SOLID;
13477             }
13478             description { state: "selected" 0.0;
13479                inherit: "default" 0.0;
13480                visible: 1;
13481                color: 255 255 255 255;
13482                rel1 {
13483                   relative: 0.0 0.0;
13484                   offset: -2 -2;
13485                }
13486                rel2 {
13487                   relative: 1.0 1.0;
13488                   offset: 1 1;
13489                }
13490             }
13491          }
13492          part { name: "elm.swallow.icon";
13493             type: SWALLOW;
13494             description { state: "default" 0.0;
13495                fixed: 0 1;
13496                align: 0.5 0.0;
13497                rel1 {
13498                   relative: 0.0 0.0;
13499                   offset: 4 4;
13500                }
13501                rel2 {
13502                   relative: 1.0 0.0;
13503                   offset: -5 4;
13504                }
13505             }
13506          }
13507          part { name: "elm.swallow.end";
13508             type: SWALLOW;
13509             description { state: "default" 0.0;
13510                fixed: 0 1;
13511                align: 0.5 1.0;
13512                rel1 {
13513                   relative: 0.0 1.0;
13514                   offset: 4 -5;
13515                }
13516                rel2 {
13517                   relative: 1.0 1.0;
13518                   offset: -5 -5;
13519                }
13520             }
13521          }
13522          part {
13523             name: "elm.text";
13524             type: TEXT;
13525             effect: SOFT_SHADOW;
13526             mouse_events: 0;
13527             scale: 1;
13528             description { state: "default" 0.0;
13529                fixed: 1 1;
13530                rel1 {
13531                   to_x: "elm.swallow.icon";
13532                   relative: 0.0 1.0;
13533                   offset: 4 4;
13534                }
13535                rel2 {
13536                   to_x: "elm.swallow.end";
13537                   relative: 1.0 0.0;
13538                   offset: -5 -1;
13539                }
13540                color: 0 0 0 255;
13541                color3: 0 0 0 0;
13542                text {
13543                   font: "Sans";
13544                   size: 10;
13545                   min: 1 1;
13546                   align: 0.5 0.5;
13547                   text_class: "list_item";
13548                }
13549             }
13550             description { state: "selected" 0.0;
13551                inherit: "default" 0.0;
13552                color: 224 224 224 255;
13553                color3: 0 0 0 64;
13554             }
13555          }
13556          part { name: "fg1";
13557             mouse_events: 0;
13558             description { state: "default" 0.0;
13559                visible: 0;
13560                color: 255 255 255 0;
13561                rel1.to: "bg";
13562                rel2.relative: 1.0 0.5;
13563                rel2.to: "bg";
13564                image {
13565                   normal: "bt_sm_hilight.png";
13566                   border: 6 6 6 0;
13567                }
13568             }
13569             description { state: "selected" 0.0;
13570                inherit: "default" 0.0;
13571                visible: 1;
13572                color: 255 255 255 255;
13573             }
13574          }
13575          part { name: "fg2";
13576             mouse_events: 0;
13577             description { state: "default" 0.0;
13578                visible: 0;
13579                color: 255 255 255 0;
13580                rel1.to: "bg";
13581                rel2.to: "bg";
13582                image {
13583                   normal: "bt_sm_shine.png";
13584                   border: 6 6 6 0;
13585                }
13586             }
13587             description { state: "selected" 0.0;
13588                inherit: "default" 0.0;
13589                visible: 1;
13590                color: 255 255 255 255;
13591             }
13592          }
13593       }
13594       programs {
13595          program {
13596             name: "go_active";
13597             signal: "elm,state,selected";
13598             source: "elm";
13599             action: STATE_SET "selected" 0.0;
13600             target: "bg";
13601             target: "fg1";
13602             target: "fg2";
13603             target: "elm.text";
13604          }
13605          program {
13606             name: "go_passive";
13607             signal: "elm,state,unselected";
13608             source: "elm";
13609             action: STATE_SET "default" 0.0;
13610             target: "bg";
13611             target: "fg1";
13612             target: "fg2";
13613             target: "elm.text";
13614             transition: LINEAR 0.1;
13615          }
13616       }
13617    }
13618    group { name: "elm/list/h_item_compress_odd/default";
13619       data.item: "stacking" "below";
13620       data.item: "selectraise" "on";
13621       images {
13622          image: "bt_sm_base1.png" COMP;
13623          image: "bt_sm_shine.png" COMP;
13624          image: "bt_sm_hilight.png" COMP;
13625          image: "ilist_2_h.png" COMP;
13626       }
13627       parts {
13628          part {
13629             name: "event";
13630             type: RECT;
13631             repeat_events: 1;
13632             description {
13633                state: "default" 0.0;
13634                color: 0 0 0 0;
13635             }
13636          }
13637          part {
13638             name: "base";
13639             mouse_events: 0;
13640             description {
13641                state: "default" 0.0;
13642                image {
13643                   normal: "ilist_2_h.png";
13644                   border: 2 2 2 2;
13645                }
13646                fill.smooth: 0;
13647             }
13648          }
13649          part { name: "bg";
13650             mouse_events: 0;
13651             description { state: "default" 0.0;
13652                visible: 0;
13653                color: 255 255 255 0;
13654                rel1 {
13655                   relative: 0.0 0.0;
13656                   offset: -5 -5;
13657                }
13658                rel2 {
13659                   relative: 1.0 1.0;
13660                   offset: 4 4;
13661                }
13662                image {
13663                   normal: "bt_sm_base1.png";
13664                   border: 6 6 6 6;
13665                }
13666                image.middle: SOLID;
13667             }
13668             description { state: "selected" 0.0;
13669                inherit: "default" 0.0;
13670                visible: 1;
13671                color: 255 255 255 255;
13672                rel1 {
13673                   relative: 0.0 0.0;
13674                   offset: -2 -2;
13675                }
13676                rel2 {
13677                   relative: 1.0 1.0;
13678                   offset: 1 1;
13679                }
13680             }
13681          }
13682          part { name: "elm.swallow.icon";
13683             type: SWALLOW;
13684             description { state: "default" 0.0;
13685                fixed: 0 1;
13686                align: 0.5 0.0;
13687                rel1 {
13688                   relative: 0.0 0.0;
13689                   offset: 4 4;
13690                }
13691                rel2 {
13692                   relative: 1.0 0.0;
13693                   offset: -5 4;
13694                }
13695             }
13696          }
13697          part { name: "elm.swallow.end";
13698             type: SWALLOW;
13699             description { state: "default" 0.0;
13700                fixed: 0 1;
13701                align: 0.5 1.0;
13702                rel1 {
13703                   relative: 0.0 1.0;
13704                   offset: 4 -5;
13705                }
13706                rel2 {
13707                   relative: 1.0 1.0;
13708                   offset: -5 -5;
13709                }
13710             }
13711          }
13712          part { name: "elm.text";
13713             type: TEXT;
13714             effect: SOFT_SHADOW;
13715             mouse_events: 0;
13716             scale: 1;
13717             description {
13718                state: "default" 0.0;
13719                fixed: 1 1;
13720                rel1 {
13721                   to_x: "elm.swallow.icon";
13722                   relative: 0.0 1.0;
13723                   offset: 4 4;
13724                }
13725                rel2 {
13726                   to_x: "elm.swallow.end";
13727                   relative: 1.0 0.0;
13728                   offset: -5 -1;
13729                }
13730                color: 0 0 0 255;
13731                color3: 0 0 0 0;
13732                text {
13733                   font: "Sans";
13734                   size: 10;
13735                   min: 1 1;
13736                   align: 0.5 0.5;
13737                   text_class: "list_item";
13738                }
13739             }
13740             description { state: "selected" 0.0;
13741                inherit: "default" 0.0;
13742                color: 224 224 224 255;
13743                color3: 0 0 0 64;
13744             }
13745          }
13746          part { name: "fg1";
13747             mouse_events: 0;
13748             description { state: "default" 0.0;
13749                visible: 0;
13750                color: 255 255 255 0;
13751                rel1.to: "bg";
13752                rel2.relative: 1.0 0.5;
13753                rel2.to: "bg";
13754                image {
13755                   normal: "bt_sm_hilight.png";
13756                   border: 6 6 6 0;
13757                }
13758             }
13759             description { state: "selected" 0.0;
13760                inherit: "default" 0.0;
13761                visible: 1;
13762                color: 255 255 255 255;
13763             }
13764          }
13765          part { name: "fg2";
13766             mouse_events: 0;
13767             description { state: "default" 0.0;
13768                visible: 0;
13769                color: 255 255 255 0;
13770                rel1.to: "bg";
13771                rel2.to: "bg";
13772                image {
13773                   normal: "bt_sm_shine.png";
13774                   border: 6 6 6 0;
13775                }
13776             }
13777             description { state: "selected" 0.0;
13778                inherit: "default" 0.0;
13779                visible: 1;
13780                color: 255 255 255 255;
13781             }
13782          }
13783       }
13784       programs {
13785          program {
13786             name: "go_active";
13787             signal: "elm,state,selected";
13788             source: "elm";
13789             action: STATE_SET "selected" 0.0;
13790             target: "bg";
13791             target: "fg1";
13792             target: "fg2";
13793             target: "elm.text";
13794          }
13795          program {
13796             name: "go_passive";
13797             signal: "elm,state,unselected";
13798             source: "elm";
13799             action: STATE_SET "default" 0.0;
13800             target: "bg";
13801             target: "fg1";
13802             target: "fg2";
13803             target: "elm.text";
13804             transition: LINEAR 0.1;
13805          }
13806       }
13807    }
13808
13809 ///////////////////////////////////////////////////////////////////////////////
13810    group { name: "elm/slider/horizontal/default";
13811            alias: "elm/slider/horizontal/disabled";
13812       images {
13813          image: "sl_bg.png" COMP;
13814          image: "sl_bg_over.png" COMP;
13815          image: "sl_bt_0.png" COMP;
13816          image: "sl_bt_1.png" COMP;
13817          image: "sl_bt_2.png" COMP;
13818          image: "sl_bt_3.png" COMP;
13819          image: "sl_bt2_0_0.png" COMP;
13820          image: "sl_bt2_0_1.png" COMP;
13821          image: "sl_bt2_0_2.png" COMP;
13822          image: "sl_bt2_1.png" COMP;
13823          image: "sl_bt2_2.png" COMP;
13824          image: "sl_units.png" COMP;
13825       }
13826       script {
13827          public value_hide = 0;
13828          public set_value_show() {
13829             set_int(value_hide, 0);
13830          }
13831          public set_value_hide() {
13832             set_int(value_hide, 1);
13833          }
13834          public thumb_down() {
13835             if (get_int(value_hide) == 1) {
13836                set_state(PART:"elm.indicator", "default", 0.0);
13837                set_state(PART:"button3", "default", 0.0);
13838                set_state(PART:"button4", "default", 0.0);
13839                set_state(PART:"button5", "default", 0.0);
13840                set_state(PART:"button6", "default", 0.0);
13841                set_state(PART:"button7", "default", 0.0);
13842             } else {
13843                set_state(PART:"elm.indicator", "visible", 0.0);
13844                set_state(PART:"button3", "visible", 0.0);
13845                set_state(PART:"button4", "visible", 0.0);
13846                set_state(PART:"button5", "visible", 0.0);
13847                set_state(PART:"button6", "visible", 0.0);
13848                set_state(PART:"button7", "visible", 0.0);
13849             }
13850          }
13851          public thumb_up() {
13852             set_state(PART:"elm.indicator", "default", 0.0);
13853             set_state(PART:"button3", "default", 0.0);
13854             set_state(PART:"button4", "default", 0.0);
13855             set_state(PART:"button5", "default", 0.0);
13856             set_state(PART:"button6", "default", 0.0);
13857             set_state(PART:"button7", "default", 0.0);
13858          }
13859       }
13860       parts {
13861          part { name: "base";
13862             mouse_events: 0;
13863             description { state: "default" 0.0;
13864                max: 99999 6;
13865                min: 0 6;
13866                rel1 { to: "bg";
13867                   offset: 1 0;
13868                }
13869                rel2 { to: "bg";
13870                   offset: -2 -1;
13871                }
13872                image.normal: "sl_bg.png";
13873                fill.smooth: 0;
13874             }
13875          }
13876          part { name: "level";
13877             type: RECT;
13878             mouse_events: 0;
13879             description { state: "default" 0.0;
13880                fixed: 1 1;
13881                rel1.to: "base";
13882                rel2 {
13883                   to_y: "base";
13884                   to_x: "elm.dragable.slider";
13885                   relative: 0.5 1.0;
13886                }
13887                color: 255 0 0 200;
13888             }
13889             description { state: "inverted" 0.0;
13890                inherit: "default" 0.0;
13891                visible: 0;
13892             }
13893             description { state: "disabled" 0.0;
13894                inherit: "default" 0.0;
13895                color: 255 0 0 100;
13896             }
13897             description { state: "disabled_inverted" 0.0;
13898                inherit: "default" 0.0;
13899                visible: 0;
13900             }
13901          }
13902          part { name: "level2";
13903             type: RECT;
13904             mouse_events: 0;
13905             description { state: "default" 0.0;
13906                fixed: 1 1;
13907                visible: 0;
13908                rel1 {
13909                   to_y: "base";
13910                   to_x: "elm.dragable.slider";
13911                   relative: 0.5 0.0;
13912                }
13913                rel2.to: "base";
13914                color: 255 0 0 200;
13915             }
13916             description { state: "inverted" 0.0;
13917                inherit: "default" 0.0;
13918                visible: 1;
13919             }
13920             description { state: "disabled" 0.0;
13921                inherit: "default" 0.0;
13922             }
13923             description { state: "disabled_inverted" 0.0;
13924                inherit: "default" 0.0;
13925                color: 255 0 0 100;
13926                visible: 1;
13927             }
13928          }
13929          part {
13930             name: "base_over";
13931             mouse_events: 0;
13932             description { state: "default" 0.0;
13933                rel1.to: "base";
13934                rel1.offset: -1 -1;
13935                rel2.to: "base";
13936                rel2.offset: 0 0;
13937                image {
13938                   normal: "sl_bg_over.png";
13939                   border: 3 3 3 3;
13940                }
13941                fill.smooth: 0;
13942             }
13943          }
13944          part { name: "bg";
13945             type: RECT;
13946             mouse_events: 0;
13947             scale: 1;
13948             description { state: "default" 0.0;
13949                visible: 0;
13950                rel1.to: "elm.swallow.bar";
13951                rel2.to: "elm.swallow.bar";
13952                color: 0 0 0 0;
13953             }
13954          }
13955          part { name: "elm.swallow.bar";
13956             type: SWALLOW;
13957             scale: 1;
13958             description { state: "default" 0.0;
13959                min: 48 24;
13960                max: 99999 24;
13961                align: 1.0 0.5;
13962                rel1 {
13963                   to_x: "elm.text";
13964                   relative: 1.0 0.0;
13965                   offset: 8 0;
13966                }
13967                rel2 {
13968                   to_x: "elm.units";
13969                   relative: 0.0 1.0;
13970                   offset: -10 -1;
13971                }
13972             }
13973          }
13974          part { name: "elm.swallow.icon";
13975             type: SWALLOW;
13976             description { state: "default" 0.0;
13977                visible: 0;
13978                align: 0.0 0.5;
13979                rel1 {
13980                   offset: 4 0;
13981                   to_y: "elm.swallow.bar";
13982                }
13983                rel2 {
13984                   offset: 3 -1;
13985                   relative: 0.0 1.0;
13986                   to_y: "elm.swallow.bar";
13987                }
13988             }
13989             description { state: "visible" 0.0;
13990                inherit: "default" 0.0;
13991                visible: 1;
13992                aspect: 1.0 1.0;
13993                aspect_preference: VERTICAL;
13994                rel2.offset: 4 -1;
13995             }
13996          }
13997          part { name: "elm.text";
13998             type: TEXT;
13999             mouse_events: 0;
14000             scale: 1;
14001             description { state: "default" 0.0;
14002                visible: 0;
14003                fixed: 1 1;
14004                align: 0.0 0.5;
14005                rel1.to_x: "elm.swallow.icon";
14006                rel1.relative: 1.0 0.0;
14007                rel1.offset: -1 4;
14008                rel2.to_x: "elm.swallow.icon";
14009                rel2.relative: 1.0 1.0;
14010                rel2.offset: -1 -5;
14011                color: 0 0 0 255;
14012                text {
14013                   font: "Sans,Edje-Vera";
14014                   size: 10;
14015                   min: 0 0;
14016                   align: 0.0 0.5;
14017                }
14018             }
14019             description { state: "visible" 0.0;
14020                inherit: "default" 0.0;
14021                visible: 1;
14022                text.min: 1 1;
14023                rel1.offset: 0 4;
14024                rel2.offset: 0 -5;
14025             }
14026             description { state: "disabled" 0.0;
14027                inherit: "default" 0.0;
14028                color: 255 128 128 128;
14029                visible: 0;
14030             }
14031             description { state: "disabled_visible" 0.0;
14032                inherit: "default" 0.0;
14033                color: 0 0 0 128;
14034                color3: 0 0 0 0;
14035                visible: 1;
14036                text.min: 1 1;
14037             }
14038          }
14039          part {
14040             name: "elm.swallow.end";
14041             type: SWALLOW;
14042             description {
14043                state: "default" 0.0;
14044                visible: 0;
14045                align: 1.0 0.5;
14046                rel1 {
14047                   offset: -4 0;
14048                   relative: 1.0 0.0;
14049                   to_y: "elm.swallow.bar";
14050                }
14051                rel2 {
14052                   offset: -3 -1;
14053                   to_y: "elm.swallow.bar";
14054                }
14055             }
14056             description { state: "visible" 0.0;
14057                inherit: "default" 0.0;
14058                visible: 1;
14059                aspect: 1.0 1.0;
14060                aspect_preference: VERTICAL;
14061                rel2.offset: -4 -1;
14062             }
14063          }
14064          part { name: "units";
14065             mouse_events: 0;
14066             description { state: "default" 0.0;
14067                visible: 0;
14068                rel1 {
14069                   to_x: "elm.units";
14070                   offset: 0 5;
14071                }
14072                rel2 {
14073                   to_x: "elm.units";
14074                   offset: 5 -3;
14075                }
14076                image {
14077                   normal: "sl_units.png";
14078                   border: 0 5 3 8;
14079                }
14080                fill.smooth: 0;
14081             }
14082             description { state: "visible" 0.0;
14083                inherit: "default" 0.0;
14084                visible: 1;
14085             }
14086          }
14087          part { name: "elm.units";
14088             type: TEXT;
14089             mouse_events: 0;
14090             scale: 1;
14091             description { state: "default" 0.0;
14092                visible: 0;
14093                fixed: 1 1;
14094                align: 1.0 0.5;
14095                rel1.to_x: "elm.swallow.end";
14096                rel1.relative: 0.0 0.0;
14097                rel1.offset: 0 8;
14098                rel2.to_x: "elm.swallow.end";
14099                rel2.relative: 0.0 1.0;
14100                rel2.offset: 0 -9;
14101                color: 0 0 0 255;
14102                text {
14103                   font: "Sans,Edje-Vera";
14104                   size: 10;
14105                   min: 0 0;
14106                   align: 0.0 0.5;
14107                }
14108             }
14109             description { state: "visible" 0.0;
14110                inherit: "default" 0.0;
14111                fixed: 1 1;
14112                visible: 1;
14113                text.min: 1 1;
14114                rel1.offset: -5 0;
14115                rel2.offset: -5 -1;
14116             }
14117             description { state: "disabled" 0.0;
14118                inherit: "default" 0.0;
14119                color: 255 128 128 128;
14120                visible: 0;
14121             }
14122             description { state: "disabled_visible" 0.0;
14123                inherit: "default" 0.0;
14124                color: 0 0 0 128;
14125                color3: 0 0 0 0;
14126                visible: 1;
14127                text.min: 1 1;
14128             }
14129          }
14130          part { name: "elm.dragable.slider";
14131             type: RECT;
14132             mouse_events: 0;
14133             scale: 1;
14134             dragable {
14135                x: 1 1 0;
14136                y: 0 0 0;
14137                confine: "bg";
14138             }
14139             description { state: "default" 0.0;
14140                min: 0 24;
14141                max: 0 24;
14142                fixed: 1 1;
14143                rel1 {
14144                   relative: 0.5 0.0;
14145                   to_x: "bg";
14146                }
14147                rel2 {
14148                   relative: 0.5 1.0;
14149                   to_x: "bg";
14150                }
14151                color: 255 0 0 100;
14152             }
14153          }
14154          part { name: "button_events";
14155             type: RECT;
14156             dragable {
14157                events: "elm.dragable.slider";
14158             }
14159             mouse_events: 1;
14160             description { state: "default" 0.0;
14161                fixed: 1 1;
14162                min: 16 16;
14163                aspect: 1.0 1.0;
14164                aspect_preference: VERTICAL;
14165                rel1.to_x: "elm.dragable.slider";
14166                rel2.to_x: "elm.dragable.slider";
14167                color: 0 0 0 0;
14168             }
14169          }
14170          part { name: "button0";
14171             mouse_events: 0;
14172             description { state: "default" 0.0;
14173                fixed: 1 1;
14174                max: 17 999;
14175                min: 17 24;
14176                rel1.to: "elm.dragable.slider";
14177                rel2.to: "elm.dragable.slider";
14178                image {
14179                   normal: "sl_bt_0.png";
14180                   border: 5 5 5 10;
14181                }
14182                fill.smooth: 0;
14183             }
14184             description { state: "disabled" 0.0;
14185                inherit: "default" 0.0;
14186                image {
14187                   normal: "sl_bt_3.png";
14188                   border: 5 5 5 10;
14189                }
14190             }
14191          }
14192          part { name: "button1";
14193             mouse_events: 0;
14194             description { state: "default" 0.0;
14195                rel1.to: "button0";
14196                rel2 {
14197                   to: "button0";
14198                   relative: 1.0 0.5;
14199                   offset: -1 -5;
14200                }
14201                image {
14202                   normal: "sl_bt_1.png";
14203                   border: 5 5 5 0;
14204                }
14205             }
14206          }
14207          part { name: "button2";
14208             mouse_events: 0;
14209             description { state: "default" 0.0;
14210                rel1.to: "button0";
14211                rel2.to: "button0";
14212                image {
14213                   normal: "sl_bt_2.png";
14214                   border: 5 5 5 10;
14215                }
14216                fill.smooth: 0;
14217             }
14218          }
14219          part { name: "button3";
14220             mouse_events: 0;
14221             description { state: "default" 0.0;
14222                fixed: 1 1;
14223                visible: 0;
14224                min: 8 32;
14225                align: 1.0 0.5;
14226                rel1 {
14227                   to_x: "elm.indicator";
14228                   to_y: "button4";
14229                   relative: 0.0 0.0;
14230                   offset: -7 0;
14231                }
14232                rel2 {
14233                   to: "button4";
14234                   relative: 0.0 1.0;
14235                   offset: -1 -1;
14236                }
14237                image {
14238                   normal: "sl_bt2_0_0.png";
14239                   border: 6 0 6 12;
14240                }
14241                fill.smooth: 0;
14242             }
14243             description { state: "visible" 0.0;
14244                inherit: "default" 0.0;
14245                visible: 1;
14246             }
14247          }
14248          part { name: "button4";
14249             mouse_events: 0;
14250             description { state: "default" 0.0;
14251                visible: 0;
14252                max: 15 999;
14253                min: 15 32;
14254                rel1 {
14255                   to_x: "button0";
14256                   to_y: "elm.indicator";
14257                   offset: 0 0;
14258                }
14259                rel2.to: "button0";
14260                image {
14261                   normal: "sl_bt2_0_1.png";
14262                   border: 0 0 6 12;
14263                }
14264                fill.smooth: 0;
14265             }
14266             description { state: "visible" 0.0;
14267                inherit: "default" 0.0;
14268                visible: 1;
14269             }
14270          }
14271          part { name: "button5";
14272             mouse_events: 0;
14273             description { state: "default" 0.0;
14274                fixed: 1 1;
14275                visible: 0;
14276                min: 8 32;
14277                align: 0.0 0.5;
14278                rel1 {
14279                   to: "button4";
14280                   relative: 1.0 0.0;
14281                   offset: 0 0;
14282                }
14283                rel2 {
14284                   to_x: "elm.indicator";
14285                   to_y: "button4";
14286                   relative: 1.0 1.0;
14287                   offset: 6 -1;
14288                }
14289                image {
14290                   normal: "sl_bt2_0_2.png";
14291                   border: 0 6 6 12;
14292                }
14293                fill.smooth: 0;
14294             }
14295             description { state: "visible" 0.0;
14296                inherit: "default" 0.0;
14297                visible: 1;
14298             }
14299          }
14300          part { name: "elm.indicator";
14301             type: TEXT;
14302             mouse_events: 0;
14303             effect: SOFT_SHADOW;
14304             scale: 1;
14305             description { state: "default" 0.0;
14306                visible: 0;
14307                fixed: 1 1;
14308                align: 0.5 1.0;
14309                rel1 {
14310                   to: "button0";
14311                   relative: 0.0 -0.25;
14312                   offset: 0 0;
14313                }
14314                rel2 {
14315                   to_x: "button0";
14316                   relative: 1.0 -0.25;
14317                   offset: -1 0;
14318                }
14319                color: 224 224 224 255;
14320                color3: 0 0 0 64;
14321                text {
14322                   font:     "Sans,Edje-Vera";
14323                   size:     10;
14324                   min:      0 0;
14325                   align:    0.5 0.5;
14326                }
14327             }
14328             description { state: "visible" 0.0;
14329                inherit: "default" 0.0;
14330                visible: 1;
14331                text.min: 1 1;
14332                rel1.offset: 0 -1;
14333                rel2.offset: -1 -1;
14334             }
14335          }
14336          part { name: "button6";
14337             mouse_events: 0;
14338             description { state: "default" 0.0;
14339                visible: 0;
14340                rel1.to: "button3";
14341                rel2 {
14342                   to: "button5";
14343                   relative: 1.0 0.3;
14344                   offset: -1 -1;
14345                }
14346                image {
14347                   normal: "sl_bt2_1.png";
14348                   border: 5 5 5 0;
14349                }
14350                fill.smooth: 0;
14351             }
14352             description { state: "visible" 0.0;
14353                inherit: "default" 0.0;
14354                visible: 1;
14355             }
14356          }
14357          part { name: "button7";
14358             mouse_events: 0;
14359             description { state: "default" 0.0;
14360                visible: 0;
14361                rel1.to: "button3";
14362                rel2.to: "button5";
14363                image {
14364                   normal: "sl_bt2_2.png";
14365                   border: 5 5 5 0;
14366                   middle: 0;
14367                }
14368                fill.smooth: 0;
14369             }
14370             description { state: "visible" 0.0;
14371                inherit: "default" 0.0;
14372                visible: 1;
14373             }
14374          }
14375          part { name: "disabler";
14376             type: RECT;
14377             description { state: "default" 0.0;
14378                color: 0 0 0 0;
14379                visible: 0;
14380             }
14381             description { state: "disabled" 0.0;
14382                inherit: "default" 0.0;
14383                visible: 1;
14384             }
14385          }
14386       }
14387       programs {
14388          program { name: "text_show";
14389             signal: "elm,state,text,visible";
14390             source: "elm";
14391             action:  STATE_SET "visible" 0.0;
14392             target: "elm.text";
14393          }
14394          program { name: "text_hide";
14395             signal: "elm,state,text,hidden";
14396             source: "elm";
14397             action:  STATE_SET "default" 0.0;
14398             target: "elm.text";
14399          }
14400          program { name: "icon_show";
14401             signal: "elm,state,icon,visible";
14402             source: "elm";
14403             action:  STATE_SET "visible" 0.0;
14404             target: "elm.swallow.icon";
14405          }
14406          program { name: "icon_hide";
14407             signal: "elm,state,icon,hidden";
14408             source: "elm";
14409             action:  STATE_SET "default" 0.0;
14410             target: "elm.swallow.icon";
14411          }
14412          program { name: "end_show";
14413             signal: "elm,state,end,visible";
14414             source: "elm";
14415             action:  STATE_SET "visible" 0.0;
14416             target: "elm.swallow.end";
14417          }
14418          program { name: "end_hide";
14419             signal: "elm,state,end,hidden";
14420             source: "elm";
14421             action:  STATE_SET "default" 0.0;
14422             target: "elm.swallow.end";
14423          }
14424          program { name: "units_show";
14425             signal: "elm,state,units,visible";
14426             source: "elm";
14427             action:  STATE_SET "visible" 0.0;
14428             target: "elm.units";
14429             target: "units";
14430          }
14431          program { name: "units_hide";
14432             signal: "elm,state,units,hidden";
14433             source: "elm";
14434             action:  STATE_SET "default" 0.0;
14435             target: "elm.units";
14436             target: "units";
14437          }
14438          program { name: "invert_on";
14439             signal: "elm,state,inverted,on";
14440             source: "elm";
14441             action:  STATE_SET "inverted" 0.0;
14442             target: "level";
14443             target: "level2";
14444          }
14445          program { name: "invert_off";
14446             signal: "elm,state,inverted,off";
14447             source: "elm";
14448             action:  STATE_SET "default" 0.0;
14449             target: "level";
14450             target: "level2";
14451          }
14452          program { name: "set_val_show";
14453             signal: "elm,state,val,show";
14454             source: "elm";
14455             script {
14456                set_value_show();
14457             }
14458          }
14459          program { name: "set_val_hide";
14460             signal: "elm,state,val,hide";
14461             source: "elm";
14462             script {
14463                set_value_hide();
14464             }
14465          }
14466          program { name: "val_show";
14467             signal: "mouse,down,*";
14468             source: "elm.dragable.slider";
14469             script {
14470                thumb_down();
14471             }
14472
14473          }
14474          program { name: "val_hide";
14475             signal: "mouse,up,*";
14476             source: "elm.dragable.slider";
14477             script {
14478                thumb_up();
14479             }
14480          }
14481          program {
14482             name:    "go_disabled";
14483             signal:  "elm,state,disabled";
14484             source:  "elm";
14485             action:  STATE_SET "disabled" 0.0;
14486             target:  "button0";
14487             target:  "disabler";
14488             after: "disable_text";
14489          }
14490          program { name: "disable_text";
14491             script {
14492                new st[31];
14493                new Float:vl;
14494                get_state(PART:"elm.text", st, 30, vl);
14495                if (!strcmp(st, "visible"))
14496                   set_state(PART:"elm.text", "disabled_visible", 0.0);
14497                else
14498                   set_state(PART:"elm.text", "disabled", 0.0);
14499
14500                get_state(PART:"elm.units", st, 30, vl);
14501                if (!strcmp(st, "visible")) 
14502                   set_state(PART:"elm.units", "disabled_visible", 0.0);
14503                else 
14504                   set_state(PART:"elm.units", "disabled", 0.0);
14505
14506                get_state(PART:"level2", st, 30, vl);
14507                if (!strcmp(st, "inverted")) 
14508                {
14509                   set_state(PART:"level", "disabled_inverted", 0.0);
14510                   set_state(PART:"level2", "disabled_inverted", 0.0);
14511                }
14512                else 
14513                {
14514                   set_state(PART:"level", "disabled", 0.0);
14515                   set_state(PART:"level2", "disabled", 0.0);
14516                }
14517             }
14518          }
14519          program { name: "enable";
14520             signal: "elm,state,enabled";
14521             source: "elm";
14522             action: STATE_SET "default" 0.0;
14523             target: "button0";
14524             target: "disabler";
14525             after: "enable_text";
14526          }
14527          program { name: "enable_text";
14528             script {
14529                new st[31];
14530                new Float:vl;
14531                get_state(PART:"elm.text", st, 30, vl);
14532                if (!strcmp(st, "disabled_visible"))
14533                   set_state(PART:"elm.text", "visible", 0.0);
14534                else
14535                   set_state(PART:"elm.text", "default", 0.0);
14536
14537                get_state(PART:"elm.units", st, 30, vl);
14538                if (!strcmp(st, "disabled_visible"))
14539                   set_state(PART:"elm.units", "visible", 0.0);
14540                else
14541                   set_state(PART:"elm.units", "default", 0.0);
14542      
14543                get_state(PART:"level2", st, 30, vl);
14544                if (!strcmp(st, "disabled_inverted"))
14545                {
14546                   set_state(PART:"level", "inverted", 0.0);
14547                   set_state(PART:"level2", "inverted", 0.0);
14548                }
14549                else
14550                {
14551                   set_state(PART:"level", "default", 0.0);
14552                   set_state(PART:"level2", "default", 0.0);
14553                }
14554             }
14555          }
14556       }
14557    }
14558
14559    group { name: "elm/slider/vertical/default";
14560       images {
14561          image: "slv_bg.png" COMP;
14562          image: "slv_bg_over.png" COMP;
14563
14564          image: "sl_bt_0.png" COMP;
14565          image: "sl_bt_1.png" COMP;
14566          image: "sl_bt_2.png" COMP;
14567          image: "sl_bt_3.png" COMP;
14568          image: "sl_bt2_0_0.png" COMP;
14569          image: "sl_bt2_0_1.png" COMP;
14570          image: "sl_bt2_0_2.png" COMP;
14571          image: "sl_bt2_1.png" COMP;
14572          image: "sl_bt2_2.png" COMP;
14573
14574          image: "slv_units.png" COMP;
14575       }
14576       script {
14577          public value_hide = 0;
14578          public set_value_show() {
14579             set_int(value_hide, 0);
14580          }
14581          public set_value_hide() {
14582             set_int(value_hide, 1);
14583          }
14584          public thumb_down() {
14585             if (get_int(value_hide) == 1) {
14586                set_state(PART:"elm.indicator", "default", 0.0);
14587                set_state(PART:"button3", "default", 0.0);
14588                set_state(PART:"button4", "default", 0.0);
14589                set_state(PART:"button5", "default", 0.0);
14590                set_state(PART:"button6", "default", 0.0);
14591                set_state(PART:"button7", "default", 0.0);
14592             } else {
14593                set_state(PART:"elm.indicator", "visible", 0.0);
14594                set_state(PART:"button3", "visible", 0.0);
14595                set_state(PART:"button4", "visible", 0.0);
14596                set_state(PART:"button5", "visible", 0.0);
14597                set_state(PART:"button6", "visible", 0.0);
14598                set_state(PART:"button7", "visible", 0.0);
14599             }
14600          }
14601          public thumb_up() {
14602             set_state(PART:"elm.indicator", "default", 0.0);
14603             set_state(PART:"button3", "default", 0.0);
14604             set_state(PART:"button4", "default", 0.0);
14605             set_state(PART:"button5", "default", 0.0);
14606             set_state(PART:"button6", "default", 0.0);
14607             set_state(PART:"button7", "default", 0.0);
14608          }
14609       }
14610       parts {
14611          part { name: "base";
14612             mouse_events: 0;
14613             description { state: "default" 0.0;
14614                max: 6 99999;
14615                min: 6 0;
14616                rel1 { to: "bg";
14617                   offset: 1 0;
14618                }
14619                rel2 { to: "bg";
14620                   offset: -2 -1;
14621                }
14622                image.normal: "slv_bg.png";
14623                fill.smooth: 0;
14624             }
14625          }
14626          part { name: "level";
14627             type: RECT;
14628             mouse_events: 0;
14629             description { state: "default" 0.0;
14630                fixed: 1 1;
14631                rel1.to: "base";
14632                rel2 {
14633                   to_x: "base";
14634                   to_y: "elm.dragable.slider";
14635                   relative: 1.0 0.5;
14636                }
14637                color: 255 0 0 200;
14638             }
14639             description { state: "inverted" 0.0;
14640                inherit: "default" 0.0;
14641                visible: 0;
14642             }
14643             description { state: "disabled" 0.0;
14644                inherit: "default" 0.0;
14645                color: 255 0 0 100;
14646             }
14647             description { state: "disabled_inverted" 0.0;
14648                inherit: "default" 0.0;
14649                visible: 0;
14650             }
14651          }
14652          part { name: "level2";
14653             type: RECT;
14654             mouse_events: 0;
14655             description { state: "default" 0.0;
14656                fixed: 1 1;
14657                visible: 0;
14658                rel1 {
14659                   to_x: "base";
14660                   to_y: "elm.dragable.slider";
14661                   relative: 0.0 0.5;
14662                }
14663                rel2.to: "base";
14664                color: 255 0 0 200;
14665             }
14666             description { state: "inverted" 0.0;
14667                inherit: "default" 0.0;
14668                visible: 1;
14669             }
14670             description { state: "disabled" 0.0;
14671                inherit: "default" 0.0;
14672                color: 255 0 0 100;
14673             }
14674             description { state: "disabled_inverted" 0.0;
14675                inherit: "default" 0.0;
14676                color: 255 0 0 100;
14677                visible: 1;
14678             }
14679          }
14680          part {
14681             name: "base_over";
14682             mouse_events: 0;
14683             description { state: "default" 0.0;
14684                rel1.to: "base";
14685                rel1.offset: -1 -1;
14686                rel2.to: "base";
14687                rel2.offset: 0 0;
14688                image {
14689                   normal: "slv_bg_over.png";
14690                   border: 3 3 3 3;
14691                }
14692                fill.smooth: 0;
14693             }
14694          }
14695          part { name: "bg";
14696             type: RECT;
14697             mouse_events: 0;
14698             scale: 1;
14699             description { state: "default" 0.0;
14700                visible: 0;
14701                rel1.to: "elm.swallow.bar";
14702                rel2.to: "elm.swallow.bar";
14703                color: 0 0 0 0;
14704             }
14705          }
14706          part { name: "elm.swallow.bar";
14707             type: SWALLOW;
14708             scale: 1;
14709             description { state: "default" 0.0;
14710                min: 24 48;
14711                max: 24 9999;
14712                align: 0.5 1.0;
14713                rel1 {
14714                   to_y: "elm.text";
14715                   relative: 0.0 1.0;
14716                   offset: 0 10;
14717                }
14718                rel2 {
14719                   to_y: "elm.units";
14720                   relative: 1.0 0.0;
14721                   offset: -1 -8;
14722                }
14723             }
14724          }
14725          part { name: "elm.swallow.icon";
14726             type: SWALLOW;
14727             description { state: "default" 0.0;
14728                visible: 0;
14729                align: 0.5 0.0;
14730                rel1 {
14731                   offset: 0 4;
14732                   to_x: "elm.swallow.bar";
14733                }
14734                rel2 {
14735                   offset: -1 3;
14736                   relative: 1.0 0.0;
14737                   to_x: "elm.swallow.bar";
14738                }
14739             }
14740             description { state: "visible" 0.0;
14741                inherit: "default" 0.0;
14742                visible: 1;
14743                aspect: 1.0 1.0;
14744                aspect_preference: HORIZONTAL;
14745                rel2.offset: -1 4;
14746             }
14747          }
14748          part { name: "elm.text";
14749             type: TEXT;
14750             mouse_events: 0;
14751             scale: 1;
14752             description { state: "default" 0.0;
14753                visible: 0;
14754                fixed: 0 1;
14755                align: 0.5 0.0;
14756                rel1.to_y: "elm.swallow.icon";
14757                rel1.relative: 0.0 1.0;
14758                rel1.offset: 0 -1;
14759                rel2.to_y: "elm.swallow.icon";
14760                rel2.relative: 1.0 1.0;
14761                rel2.offset: -1 -1;
14762                color: 0 0 0 255;
14763                text {
14764                   font: "Sans,Edje-Vera";
14765                   size: 10;
14766                   min: 0 0;
14767                   align: 0.5 0.0;
14768                }
14769             }
14770             description { state: "visible" 0.0;
14771                inherit: "default" 0.0;
14772                visible: 1;
14773                text.min: 1 1;
14774                rel1.offset: 4 0;
14775                rel2.offset: -5 0;
14776             }
14777             description { state: "disabled" 0.0;
14778                inherit: "default" 0.0;
14779                color: 255 128 128 128;
14780                visible: 0;
14781             }
14782             description { state: "disabled_visible" 0.0;
14783                inherit: "default" 0.0;
14784                color: 0 0 0 128;
14785                color3: 0 0 0 0;
14786                visible: 1;
14787                text.min: 1 1;
14788             }
14789          }
14790          part {
14791             name: "elm.swallow.end";
14792             type: SWALLOW;
14793             description {
14794                state: "default" 0.0;
14795                visible: 0;
14796                align: 0.5 1.0;
14797                rel1 {
14798                   offset: 0 -4;
14799                   relative: 0.0 1.0;
14800                   to_x: "elm.swallow.bar";
14801                }
14802                rel2 {
14803                   offset: -1 -3;
14804                   to_x: "elm.swallow.bar";
14805                }
14806             }
14807             description { state: "visible" 0.0;
14808                inherit: "default" 0.0;
14809                visible: 1;
14810                aspect: 1.0 1.0;
14811                aspect_preference: HORIZONTAL;
14812                rel2.offset: -1 -4;
14813             }
14814          }
14815          part { name: "units";
14816             mouse_events: 0;
14817             description { state: "default" 0.0;
14818                visible: 0;
14819                rel1 {
14820                   to: "elm.units";
14821                   offset: -8 0;
14822                }
14823                rel2 {
14824                   to: "elm.units";
14825                   offset: 7 8;
14826                }
14827                image {
14828                   normal: "slv_units.png";
14829                   border: 8 8 0 9;
14830                }
14831                fill.smooth: 0;
14832             }
14833             description { state: "visible" 0.0;
14834                inherit: "default" 0.0;
14835                visible: 1;
14836             }
14837          }
14838          part { name: "elm.units";
14839             type: TEXT;
14840             mouse_events: 0;
14841             scale: 1;
14842             description { state: "default" 0.0;
14843                visible: 0;
14844                fixed: 1 1;
14845                align: 0.5 1.0;
14846                rel1.relative: 0.0 0.0;
14847                rel1.to_y: "elm.swallow.end";
14848                rel1.offset: 8 0;
14849                rel2.relative: 1.0 0.0;
14850                rel2.to_y: "elm.swallow.end";
14851                rel2.offset: -9 0;
14852                color: 0 0 0 255;
14853                text {
14854                   font: "Sans,Edje-Vera";
14855                   size: 10;
14856                   min: 0 0;
14857                   align: 0.5 0.0;
14858                }
14859             }
14860             description { state: "visible" 0.0;
14861                inherit: "default" 0.0;
14862                fixed: 1 1;
14863                visible: 1;
14864                text.min: 1 1;
14865                rel1.offset: 8 -9;
14866                rel2.offset: -9 -9;
14867             }
14868             description { state: "disabled" 0.0;
14869                inherit: "default" 0.0;
14870                color:  0 0 0 128;
14871                color3: 0 0 0 0;
14872                visible: 0;
14873             }
14874             description { state: "disabled_visible" 0.0;
14875                inherit: "default" 0.0;
14876                fixed: 1 1;
14877                visible: 1;
14878                text.min: 1 1;
14879                rel1.offset: 8 -9;
14880                rel2.offset: -9 -9;
14881                color: 0 0 0 128;
14882                color3: 0 0 0 0;
14883             }
14884          }
14885          part { name: "elm.dragable.slider";
14886             type: RECT;
14887             mouse_events: 0;
14888             scale: 1;
14889             dragable {
14890                x: 0 0 0;
14891                y: 1 1 0;
14892                confine: "bg";
14893             }
14894             description { state: "default" 0.0;
14895                min: 24 0;
14896                max: 24 0;
14897                fixed: 1 1;
14898                rel1 {
14899                   relative: 0.5  0.0;
14900                   to_y: "bg";
14901                }
14902                rel2 {
14903                   relative: 0.5  1.0;
14904                   to_y: "bg";
14905                }
14906                color: 0 0 0 0;
14907             }
14908          }
14909          part { name: "button_events";
14910             type: RECT;
14911             dragable {
14912                events: "elm.dragable.slider";
14913             }
14914             mouse_events: 1;
14915             description { state: "default" 0.0;
14916                fixed: 1 1;
14917                min: 16 16;
14918                aspect: 1.0 1.0;
14919                aspect_preference: HORIZONTAL;
14920                rel1.to_y: "elm.dragable.slider";
14921                rel2.to_y: "elm.dragable.slider";
14922                color: 0 0 0 0;
14923             }
14924          }
14925          part { name: "button0";
14926             mouse_events: 0;
14927             description { state: "default" 0.0;
14928                fixed: 1 1;
14929                max: 17 999;
14930                min: 17 24;
14931                rel1.to: "elm.dragable.slider";
14932                rel2.to: "elm.dragable.slider";
14933                image {
14934                   normal: "sl_bt_0.png";
14935                   border: 5 5 5 10;
14936                }
14937                fill.smooth: 0;
14938             }
14939             description { state: "disabled" 0.0;
14940                inherit: "default" 0.0;
14941                image {
14942                   normal: "sl_bt_3.png";
14943                   border: 5 5 5 10;
14944                }
14945             }
14946          }
14947          part { name: "button1";
14948             mouse_events: 0;
14949             description { state: "default" 0.0;
14950                rel1.to: "button0";
14951                rel2 {
14952                   to: "button0";
14953                   relative: 1.0 0.5;
14954                   offset: -1 -5;
14955                }
14956                image {
14957                   normal: "sl_bt_1.png";
14958                   border: 5 5 5 0;
14959                }
14960             }
14961          }
14962          part { name: "button2";
14963             mouse_events: 0;
14964             description { state: "default" 0.0;
14965                rel1.to: "button0";
14966                rel2.to: "button0";
14967                image {
14968                   normal: "sl_bt_2.png";
14969                   border: 5 5 5 10;
14970                }
14971                fill.smooth: 0;
14972             }
14973          }
14974          part { name: "button3";
14975             mouse_events: 0;
14976             description { state: "default" 0.0;
14977                visible: 0;
14978                min: 8 32;
14979                align: 1.0 0.5;
14980                rel1 {
14981                   to_x: "elm.indicator";
14982                   to_y: "button4";
14983                   relative: 0.0 0.0;
14984                   offset: -7 0;
14985                }
14986                rel2 {
14987                   to: "button4";
14988                   relative: 0.0 1.0;
14989                   offset: -1 -1;
14990                }
14991                image {
14992                   normal: "sl_bt2_0_0.png";
14993                   border: 6 0 6 12;
14994                }
14995                fill.smooth: 0;
14996             }
14997             description { state: "visible" 0.0;
14998                inherit: "default" 0.0;
14999                visible: 1;
15000             }
15001          }
15002          part { name: "button4";
15003             mouse_events: 0;
15004             description { state: "default" 0.0;
15005                visible: 0;
15006                max: 15 999;
15007                min: 15 32;
15008                fixed: 1 1;
15009                rel1 {
15010                   to_x: "button0";
15011                   to_y: "elm.indicator";
15012                   offset: 0 -7;
15013                }
15014                rel2.to: "button0";
15015                image {
15016                   normal: "sl_bt2_0_1.png";
15017                   border: 0 0 6 12;
15018                }
15019                fill.smooth: 0;
15020             }
15021             description { state: "visible" 0.0;
15022                inherit: "default" 0.0;
15023                visible: 1;
15024             }
15025          }
15026          part { name: "button5";
15027             mouse_events: 0;
15028             description { state: "default" 0.0;
15029                visible: 0;
15030                min: 8 32;
15031                align: 0.0 0.5;
15032                rel1 {
15033                   to: "button4";
15034                   relative: 1.0 0.0;
15035                   offset: 0 0;
15036                }
15037                rel2 {
15038                   to_x: "elm.indicator";
15039                   to_y: "button4";
15040                   relative: 1.0 1.0;
15041                   offset: 6 -1;
15042                }
15043                image {
15044                   normal: "sl_bt2_0_2.png";
15045                   border: 0 6 6 12;
15046                }
15047                fill.smooth: 0;
15048             }
15049             description { state: "visible" 0.0;
15050                inherit: "default" 0.0;
15051                visible: 1;
15052             }
15053          }
15054          part { name: "elm.indicator";
15055             type: TEXT;
15056             mouse_events: 0;
15057             effect: SOFT_SHADOW;
15058             scale: 1;
15059             description { state: "default" 0.0;
15060                visible: 0;
15061                fixed: 1 1;
15062                align: 0.5 1.0;
15063                rel1 {
15064                   to: "button0";
15065                   relative: 0.0 -1.0;
15066                   offset: 0 0;
15067                }
15068                rel2 {
15069                   to: "button0";
15070                   relative: 1.0 -1.0;
15071                   offset: -1 0;
15072                }
15073                color: 224 224 224 255;
15074                color3: 0 0 0 64;
15075                text {
15076                   font:     "Sans,Edje-Vera";
15077                   size:     10;
15078                   min:      0 0;
15079                   align:    0.5 0.5;
15080                }
15081             }
15082             description { state: "visible" 0.0;
15083                inherit: "default" 0.0;
15084                visible: 1;
15085                text.min: 1 1;
15086                rel1.offset: 0 -1;
15087                rel2.offset: -1 -1;
15088             }
15089          }
15090          part { name: "button6";
15091             mouse_events: 0;
15092             description { state: "default" 0.0;
15093                visible: 0;
15094                rel1.to: "button3";
15095                rel2 {
15096                   to: "button5";
15097                   relative: 1.0 0.3;
15098                   offset: -1 -1;
15099                }
15100                image {
15101                   normal: "sl_bt2_1.png";
15102                   border: 5 5 5 0;
15103                }
15104                fill.smooth: 0;
15105             }
15106             description { state: "visible" 0.0;
15107                inherit: "default" 0.0;
15108                visible: 1;
15109             }
15110          }
15111          part { name: "button7";
15112             mouse_events: 0;
15113             description { state: "default" 0.0;
15114                visible: 0;
15115                rel1.to: "button3";
15116                rel2.to: "button5";
15117                image {
15118                   normal: "sl_bt2_2.png";
15119                   border: 5 5 5 0;
15120                   middle: 0;
15121                }
15122                fill.smooth: 0;
15123             }
15124             description { state: "visible" 0.0;
15125                inherit: "default" 0.0;
15126                visible: 1;
15127             }
15128          }
15129              part { name: "disabler";
15130                 type: RECT;
15131                 description { state: "default" 0.0;
15132                    color: 0 0 0 0;
15133                    visible: 0;
15134                 }
15135                 description { state: "disabled" 0.0;
15136                    inherit: "default" 0.0;
15137                    visible: 1;
15138                 }
15139              }
15140           }
15141
15142       programs {
15143          program { name: "text_show";
15144             signal: "elm,state,text,visible";
15145             source: "elm";
15146             action:  STATE_SET "visible" 0.0;
15147             target: "elm.text";
15148          }
15149          program { name: "text_hide";
15150             signal: "elm,state,text,hidden";
15151             source: "elm";
15152             action:  STATE_SET "default" 0.0;
15153             target: "elm.text";
15154          }
15155          program { name: "icon_show";
15156             signal: "elm,state,icon,visible";
15157             source: "elm";
15158             action:  STATE_SET "visible" 0.0;
15159             target: "elm.swallow.icon";
15160          }
15161          program { name: "icon_hide";
15162             signal: "elm,state,icon,hidden";
15163             source: "elm";
15164             action:  STATE_SET "default" 0.0;
15165             target: "elm.swallow.icon";
15166          }
15167          program { name: "end_show";
15168             signal: "elm,state,end,visible";
15169             source: "elm";
15170             action:  STATE_SET "visible" 0.0;
15171             target: "elm.swallow.end";
15172          }
15173          program { name: "end_hide";
15174             signal: "elm,state,end,hidden";
15175             source: "elm";
15176             action:  STATE_SET "default" 0.0;
15177             target: "elm.swallow.end";
15178          }
15179          program { name: "units_show";
15180             signal: "elm,state,units,visible";
15181             source: "elm";
15182             action:  STATE_SET "visible" 0.0;
15183             target: "elm.units";
15184             target: "units";
15185          }
15186          program { name: "units_hide";
15187             signal: "elm,state,units,hidden";
15188             source: "elm";
15189             action:  STATE_SET "default" 0.0;
15190             target: "elm.units";
15191             target: "units";
15192          }
15193          program { name: "invert_on";
15194             signal: "elm,state,inverted,on";
15195             source: "elm";
15196             action:  STATE_SET "inverted" 0.0;
15197             target: "level";
15198             target: "level2";
15199          }
15200          program { name: "invert_off";
15201             signal: "elm,state,inverted,off";
15202             source: "elm";
15203             action:  STATE_SET "default" 0.0;
15204             target: "level";
15205             target: "level2";
15206          }
15207          program { name: "set_val_show";
15208             signal: "elm,state,val,show";
15209             source: "elm";
15210             script {
15211                set_value_show();
15212             }
15213          }
15214          program { name: "set_val_hide";
15215             signal: "elm,state,val,hide";
15216             source: "elm";
15217             script {
15218                set_value_hide();
15219             }
15220          }
15221          program { name: "val_show";
15222             signal: "mouse,down,*";
15223             source: "elm.dragable.slider";
15224             script {
15225                thumb_down();
15226             }
15227          }
15228          program { name: "val_hide";
15229             signal: "mouse,up,*";
15230             source: "elm.dragable.slider";
15231             script {
15232                thumb_up();
15233             }
15234          }
15235          program {
15236             name:   "go_disabled";
15237             signal: "elm,state,disabled";
15238             source: "elm";
15239             action: STATE_SET "disabled" 0.0;
15240             target: "button0";
15241             target: "disabler";
15242             after: "disable_text";
15243          }
15244          program { name: "disable_text";
15245             script {
15246             new st[31];
15247             new Float:vl;
15248                get_state(PART:"elm.text", st, 30, vl);
15249                if (!strcmp(st, "visible"))
15250                   set_state(PART:"elm.text", "disabled_visible", 0.0);
15251                else
15252                   set_state(PART:"elm.text", "disabled", 0.0);
15253
15254                get_state(PART:"elm.units", st, 30, vl);
15255                if (!strcmp(st, "visible")) 
15256                   set_state(PART:"elm.units", "disabled_visible", 0.0);
15257                else 
15258                   set_state(PART:"elm.units", "disabled", 0.0);
15259
15260                get_state(PART:"level2", st, 30, vl);
15261                if (!strcmp(st, "inverted")) 
15262                {
15263                   set_state(PART:"level", "disabled_inverted", 0.0);
15264                   set_state(PART:"level2", "disabled_inverted", 0.0);
15265                }
15266                else 
15267                {
15268                   set_state(PART:"level", "disabled", 0.0);
15269                   set_state(PART:"level2", "disabled", 0.0);
15270                }
15271             }
15272          }
15273
15274          program { name: "enable";
15275             signal: "elm,state,enabled";
15276             source: "elm";
15277             action: STATE_SET "default" 0.0;
15278             target: "button0";
15279             target: "disabler";
15280             after: "enable_text";
15281          }
15282          program { name: "enable_text";
15283             script {
15284                new st[31];
15285                new Float:vl;
15286                get_state(PART:"elm.text", st, 30, vl);
15287                if (!strcmp(st, "disabled_visible"))
15288                   set_state(PART:"elm.text", "visible", 0.0);
15289                else
15290                   set_state(PART:"elm.text", "default", 0.0);
15291
15292                get_state(PART:"elm.units", st, 30, vl);
15293                if (!strcmp(st, "disabled_visible"))
15294                   set_state(PART:"elm.units", "visible", 0.0);
15295                else
15296                   set_state(PART:"elm.units", "default", 0.0);
15297      
15298                get_state(PART:"level2", st, 30, vl);
15299                if (!strcmp(st, "disabled_inverted"))
15300                {
15301                   set_state(PART:"level", "inverted", 0.0);
15302                   set_state(PART:"level2", "inverted", 0.0);
15303                }
15304                else
15305                {
15306                   set_state(PART:"level", "default", 0.0);
15307                   set_state(PART:"level2", "default", 0.0);
15308                }
15309             }
15310          }
15311       }
15312    }
15313
15314 ////////////////////////////////////////////////////////////////////////////////
15315 // actionslider
15316 ////////////////////////////////////////////////////////////////////////////////
15317    group { name: "elm/actionslider/base/default";
15318
15319       images {
15320          image: "shelf_inset.png" COMP;
15321          image: "ilist_1.png" COMP;
15322          image: "bt_bases.png" COMP;
15323          image: "bt_basew.png" COMP;
15324          image: "bt_hilightw.png" COMP;
15325       }
15326
15327       parts {
15328          part {
15329             name: "base";
15330             mouse_events: 0;
15331             description {
15332                state: "default" 0.0;
15333                min: 75 25;
15334                rel1.offset: 1 1;
15335                rel2.offset: -2 -2;
15336                image {
15337                   normal: "ilist_1.png";
15338                   border: 2 2 2 2;
15339                }
15340                fill.smooth: 0;
15341             }
15342          }
15343          part { name: "conf_over";
15344             mouse_events:  0;
15345             description { state: "default" 0.0;
15346                rel1.to: "base";
15347                rel2.to: "base";
15348                image {
15349                   normal: "shelf_inset.png";
15350                   border: 7 7 7 7;
15351                   middle: 0;
15352                }
15353                fill.smooth : 0;
15354             }
15355          }
15356          part { name: "icon.dragable.area";
15357            type: RECT;
15358             mouse_events: 0;
15359             description { state: "default" 0.0;
15360                visible: 0;
15361                rel1.to: "base";
15362                rel2.to: "base";
15363             }
15364          }
15365          part { name: "elm.text.left";
15366             type: TEXT;
15367             mouse_events: 0;
15368             scale: 1;
15369             description { state: "default" 0.0;
15370                color: 0 0 0 255;
15371                text {
15372                   font: "Sans,Edje-Vera";
15373                   size: 10;
15374                   align: 0.05 0.5;
15375                   min: 1 1;
15376                }
15377             }
15378          }
15379          part { name: "elm.text.center";
15380             type: TEXT;
15381             mouse_events: 0;
15382             scale: 1;
15383             description { state: "default" 0.0;
15384                color: 0 0 0 255;
15385                text {
15386                   font: "Sans,Edje-Vera";
15387                   size: 10;
15388                   align: 0.5 0.5;
15389                   min: 1 1;
15390                }
15391             }
15392          }
15393          part { name: "elm.text.right";
15394             type: TEXT;
15395             mouse_events: 0;
15396             scale: 1;
15397             description { state: "default" 0.0;
15398                color: 0 0 0 255;
15399                text {
15400                   font: "Sans,Edje-Vera";
15401                   size: 10;
15402                   align: 0.95 0.5;
15403                   min: 1 1;
15404                }
15405             }
15406          }
15407          part { name: "elm.drag_button_base";
15408             type: SWALLOW;
15409             mouse_events: 0;
15410             scale: 1;
15411             description { state: "default" 0.0;
15412                fixed: 1 1;
15413                min: 50 25;
15414                align: 0.5 0.5;
15415                rel1.to: "icon.dragable.area";
15416                rel2 {
15417                   relative: 0.0 1.0;
15418                   to: "icon.dragable.area";
15419                }
15420             }
15421             dragable {
15422                confine: "icon.dragable.area";
15423                x: 1 1 0;
15424                y: 0 0 0;
15425             }
15426          }
15427          part { name: "elm.drag_button";
15428             type: RECT;
15429             mouse_events: 1;
15430             description { state: "default" 0.0;
15431                min: 50 25;
15432                color: 255 255 255 0;
15433                rel1.to_x: "elm.drag_button_base";
15434                rel1.to_y: "icon.dragable.area";
15435                rel2.to_x: "elm.drag_button_base";
15436                rel2.to_y: "icon.dragable.area";
15437             }
15438             dragable {
15439                events: "elm.drag_button_base";
15440             }
15441          }
15442          part { name: "button0";
15443             mouse_events: 0;
15444             description { state: "default" 0.0;
15445                rel1.to: "button2";
15446                rel1.offset: -4 -4;
15447                rel2.to: "button2";
15448                rel2.offset: 3 3;
15449                image {
15450                   normal: "bt_bases.png";
15451                   border: 11 11 11 11;
15452                   middle: SOLID;
15453                }
15454                color: 255 255 255 128;
15455             }
15456          }
15457          part { name: "button2";
15458             mouse_events: 0;
15459             description { state: "default" 0.0;
15460                rel1.to: "elm.drag_button";
15461                rel2.to: "elm.drag_button";
15462                image {
15463                   normal: "bt_basew.png";
15464                   border: 7 7 7 7;
15465                   middle: SOLID;
15466                }
15467                color: 255 255 255 210;
15468             }
15469          }
15470          part { name: "button3";
15471             mouse_events: 0;
15472             description { state: "default" 0.0;
15473                rel1.to: "button2";
15474                rel2.to: "button2";
15475                rel2.relative: 1.0 0.5;
15476                image {
15477                   normal: "bt_hilightw.png";
15478                   border: 4 4 4 0;
15479                }
15480                color: 255 255 255 190;
15481             }
15482          }
15483       }
15484       programs {
15485          program { name: "elm.drag_button,mouse,up";
15486             signal: "mouse,up,1";
15487             source: "elm.drag_button";
15488             action: SIGNAL_EMIT "elm.drag_button,mouse,up" "";
15489          }
15490          program { name: "elm.drag_button,mouse,down";
15491             signal: "mouse,down,1";
15492             source: "elm.drag_button";
15493             action: SIGNAL_EMIT "elm.drag_button,mouse,down" "";
15494          }
15495          program { name: "elm.drag_button,mouse,move";
15496             signal: "mouse,move";
15497             source: "elm.drag_button_base";
15498             action: SIGNAL_EMIT "elm.drag_button,mouse,move" "";
15499          }
15500       }
15501    }
15502
15503    group { name: "elm/actionslider/base/bar";
15504
15505       images {
15506          image: "shelf_inset.png" COMP;
15507          image: "ilist_1.png" COMP;
15508          image: "bt_bases.png" COMP;
15509          image: "bt_basew.png" COMP;
15510          image: "bt_hilightw.png" COMP;
15511       }
15512
15513       parts {
15514          part {
15515             name: "base";
15516             mouse_events: 0;
15517             description {
15518                state: "default" 0.0;
15519                min: 150 30;
15520                rel1.offset: 1 1;
15521                rel2.offset: -2 -2;
15522                image {
15523                   normal: "ilist_1.png";
15524                   border: 2 2 2 2;
15525                }
15526                fill.smooth: 0;
15527             }
15528          }
15529          part { name: "conf_over";
15530             mouse_events:  0;
15531             description { state: "default" 0.0;
15532                rel1.to: "base";
15533                rel2.to: "base";
15534                image {
15535                   normal: "shelf_inset.png";
15536                   border: 7 7 7 7;
15537                   middle: 0;
15538                }
15539                fill.smooth : 0;
15540             }
15541          }
15542          part { name: "icon.dragable.area";
15543            type: RECT;
15544             mouse_events: 0;
15545             description { state: "default" 0.0;
15546                visible: 0;
15547                rel1.to: "base";
15548                rel2.to: "base";
15549             }
15550          }
15551          part { name: "elm.text.left";
15552             type: TEXT;
15553             mouse_events: 0;
15554             scale: 1;
15555             description { state: "default" 0.0;
15556                color: 0 0 0 255;
15557                text {
15558                   font: "Sans,Edje-Vera";
15559                   size: 10;
15560                   align: 0.05 0.5;
15561                   min: 1 1;
15562                }
15563             }
15564          }
15565          part { name: "elm.text.center";
15566             type: TEXT;
15567             mouse_events: 0;
15568             scale: 1;
15569             description { state: "default" 0.0;
15570                color: 0 0 0 255;
15571                text {
15572                   font: "Sans,Edje-Vera";
15573                   size: 10;
15574                   align: 0.5 0.5;
15575                   min: 1 1;
15576                }
15577             }
15578          }
15579          part { name: "elm.text.right";
15580             type: TEXT;
15581             mouse_events: 0;
15582             scale: 1;
15583             description { state: "default" 0.0;
15584                color: 0 0 0 255;
15585                text {
15586                   font: "Sans,Edje-Vera";
15587                   size: 10;
15588                   align: 0.95 0.5;
15589                   min: 1 1;
15590                }
15591             }
15592          }
15593          part { name: "bar";
15594             type: RECT;
15595             mouse_events: 0;
15596             description { state: "default" 0.0;
15597                rel1.to: "base";
15598                rel1.offset: 0 2;
15599                rel2 {
15600                   relative: 0 1;
15601                   offset: 3 -3;
15602                   to_x: "elm.drag_button_base";
15603                   to_y: "base";
15604                }
15605                color: 0 0 0 180;
15606             }
15607          }
15608          part { name: "elm.drag_button_base";
15609             type: SWALLOW;
15610             mouse_events: 1;
15611             scale: 1;
15612             description { state: "default" 0.0;
15613                fixed: 1 1;
15614                min: 50 25;
15615                align: 0.5 0.5;
15616                rel1.to: "icon.dragable.area";
15617                rel2 {
15618                   relative: 0.0 1.0;
15619                   to: "icon.dragable.area";
15620                }
15621             }
15622             dragable {
15623                confine: "icon.dragable.area";
15624                x: 1 1 0;
15625                y: 0 0 0;
15626             }
15627          }
15628          part { name: "elm.drag_button";
15629             type: RECT;
15630             mouse_events: 1;
15631             description { state: "default" 0.0;
15632                min: 50 25;
15633                color: 255 255 255 0;
15634                rel1.to_x: "elm.drag_button_base";
15635                rel1.to_y: "icon.dragable.area";
15636                rel2.to_x: "elm.drag_button_base";
15637                rel2.to_y: "icon.dragable.area";
15638             }
15639             dragable {
15640                events: "elm.drag_button_base";
15641             }
15642          }
15643          part { name: "button0";
15644             mouse_events: 0;
15645             description { state: "default" 0.0;
15646                rel1.to: "button2";
15647                rel1.offset: -4 -4;
15648                rel2.to: "button2";
15649                rel2.offset: 3 3;
15650                image {
15651                   normal: "bt_bases.png";
15652                   border: 11 11 11 11;
15653                   middle: SOLID;
15654                }
15655                color: 255 255 255 128;
15656             }
15657          }
15658          part { name: "button2";
15659             mouse_events: 0;
15660             description { state: "default" 0.0;
15661                rel1.to: "elm.drag_button";
15662                rel2.to: "elm.drag_button";
15663                image {
15664                   normal: "bt_basew.png";
15665                   border: 7 7 7 7;
15666                   middle: SOLID;
15667                }
15668                color: 255 255 255 210;
15669             }
15670          }
15671          part { name: "button3";
15672             mouse_events: 0;
15673             description { state: "default" 0.0;
15674                rel1.to: "button2";
15675                rel2.to: "button2";
15676                rel2.relative: 1.0 0.5;
15677                image {
15678                   normal: "bt_hilightw.png";
15679                   border: 4 4 4 0;
15680                }
15681                color: 255 255 255 190;
15682             }
15683          }
15684       }
15685       programs {
15686          program { name: "elm.drag_button,mouse,up";
15687             signal: "mouse,up,1";
15688             source: "elm.drag_button";
15689             action: SIGNAL_EMIT "elm.drag_button,mouse,up" "";
15690          }
15691          program { name: "elm.drag_button,mouse,down";
15692             signal: "mouse,down,1";
15693             source: "elm.drag_button";
15694             action: SIGNAL_EMIT "elm.drag_button,mouse,down" "";
15695          }
15696          program { name: "elm.drag_button,mouse,move";
15697             signal: "mouse,move";
15698             source: "elm.drag_button_base";
15699             action: SIGNAL_EMIT "elm.drag_button,mouse,move" "";
15700          }
15701       }
15702    }
15703
15704 ///////////////////////////////////////////////////////////////////////////////
15705    group { name: "elm/genlist/item/default/default";
15706       data.item: "stacking" "above";
15707       data.item: "selectraise" "on";
15708       data.item: "labels" "elm.text";
15709       data.item: "icons" "elm.swallow.icon elm.swallow.end";
15710       data.item: "treesize" "20";
15711 //      data.item: "states" "";
15712       images {
15713          image: "bt_sm_base1.png" COMP;
15714          image: "bt_sm_shine.png" COMP;
15715          image: "bt_sm_hilight.png" COMP;
15716          image: "ilist_1.png" COMP;
15717          image: "ilist_item_shadow.png" COMP;
15718       }
15719       parts {
15720          part {
15721             name:           "event";
15722             type:           RECT;
15723             repeat_events: 1;
15724             description {
15725                state: "default" 0.0;
15726                color: 0 0 0 0;
15727             }
15728          }
15729          part {
15730             name: "base_sh";
15731             mouse_events: 0;
15732             description {
15733                state: "default" 0.0;
15734                align: 0.0 0.0;
15735                min: 0 10;
15736                fixed: 1 1;
15737                rel1 {
15738                   to: "base";
15739                   relative: 0.0 1.0;
15740                   offset: 0 0;
15741                }
15742                rel2 {
15743                   to: "base";
15744                   relative: 1.0 1.0;
15745                   offset: -1 0;
15746                }
15747                image {
15748                   normal: "ilist_item_shadow.png";
15749                }
15750                fill.smooth: 0;
15751             }
15752          }
15753          part {
15754             name: "base";
15755             mouse_events: 0;
15756             description {
15757                state: "default" 0.0;
15758                image {
15759                   normal: "ilist_1.png";
15760                   border: 2 2 2 2;
15761                }
15762                fill.smooth: 0;
15763             }
15764          }
15765          part { name: "bg";
15766             clip_to: "disclip";
15767             mouse_events: 0;
15768             description { state: "default" 0.0;
15769                visible: 0;
15770                color: 255 255 255 0;
15771                rel1 {
15772                   relative: 0.0 0.0;
15773                   offset: -5 -5;
15774                }
15775                rel2 {
15776                   relative: 1.0 1.0;
15777                   offset: 4 4;
15778                }
15779                image {
15780                   normal: "bt_sm_base1.png";
15781                   border: 6 6 6 6;
15782                }
15783                image.middle: SOLID;
15784             }
15785             description { state: "selected" 0.0;
15786                inherit: "default" 0.0;
15787                visible: 1;
15788                color: 255 255 255 255;
15789                rel1 {
15790                   relative: 0.0 0.0;
15791                   offset: -2 -2;
15792                }
15793                rel2 {
15794                   relative: 1.0 1.0;
15795                   offset: 1 1;
15796                }
15797             }
15798          }
15799          part { name: "elm.swallow.pad";
15800             type: SWALLOW;
15801             description { state: "default" 0.0;
15802                fixed: 1 0;
15803                align: 0.0 0.5;
15804                rel1 {
15805                   relative: 0.0  0.0;
15806                   offset:   4    4;
15807                }
15808                rel2 {
15809                   relative: 0.0  1.0;
15810                   offset:   4   -5;
15811                }
15812             }
15813          }
15814          part { name: "elm.swallow.icon";
15815             clip_to: "disclip";
15816             type: SWALLOW;
15817             description { state: "default" 0.0;
15818                fixed: 1 0;
15819                align: 0.0 0.5;
15820                rel1 {
15821                   to_x: "elm.swallow.pad";
15822                   relative: 1.0  0.0;
15823                   offset:   -1    4;
15824                }
15825                rel2 {
15826                   to_x: "elm.swallow.pad";
15827                   relative: 1.0  1.0;
15828                   offset:   -1   -5;
15829                }
15830             }
15831          }
15832          part { name: "elm.swallow.end";
15833             clip_to: "disclip";
15834             type: SWALLOW;
15835             description { state: "default" 0.0;
15836                fixed: 1 0;
15837                align: 1.0 0.5;
15838                aspect: 1.0 1.0;
15839                aspect_preference: VERTICAL;
15840                rel1 {
15841                   relative: 1.0  0.0;
15842                   offset:   -5    4;
15843                }
15844                rel2 {
15845                   relative: 1.0  1.0;
15846                   offset:   -5   -5;
15847                }
15848             }
15849          }
15850          part { name: "elm.text";
15851             clip_to: "disclip";
15852             type:           TEXT;
15853             effect:         SOFT_SHADOW;
15854             mouse_events:   0;
15855             scale: 1;
15856             description {
15857                state: "default" 0.0;
15858 //               min: 16 16;
15859                rel1 {
15860                   to_x:     "elm.swallow.icon";
15861                   relative: 1.0  0.0;
15862                   offset:   0 4;
15863                }
15864                rel2 {
15865                   to_x:     "elm.swallow.end";
15866                   relative: 0.0  1.0;
15867                   offset:   -1 -5;
15868                }
15869                color: 0 0 0 255;
15870                color3: 0 0 0 0;
15871                text {
15872                   font: "Sans";
15873                   size: 10;
15874                   min: 1 1;
15875 //                  min: 0 1;
15876                   align: 0.0 0.5;
15877                   text_class: "list_item";
15878                }
15879             }
15880             description { state: "selected" 0.0;
15881                inherit: "default" 0.0;
15882                color: 224 224 224 255;
15883                color3: 0 0 0 64;
15884             }
15885          }
15886          part { name: "fg1";
15887             clip_to: "disclip";
15888             mouse_events: 0;
15889             description { state: "default" 0.0;
15890                visible: 0;
15891                color: 255 255 255 0;
15892                rel1.to: "bg";
15893                rel2.relative: 1.0 0.5;
15894                rel2.to: "bg";
15895                image {
15896                   normal: "bt_sm_hilight.png";
15897                   border: 6 6 6 0;
15898                }
15899             }
15900             description { state: "selected" 0.0;
15901                inherit: "default" 0.0;
15902                visible: 1;
15903                color: 255 255 255 255;
15904             }
15905          }
15906          part { name: "fg2";
15907             clip_to: "disclip";
15908             mouse_events: 0;
15909             description { state: "default" 0.0;
15910                visible: 0;
15911                color: 255 255 255 0;
15912                rel1.to: "bg";
15913                rel2.to: "bg";
15914                image {
15915                   normal: "bt_sm_shine.png";
15916                   border: 6 6 6 0;
15917                }
15918             }
15919             description { state: "selected" 0.0;
15920                inherit: "default" 0.0;
15921                visible: 1;
15922                color: 255 255 255 255;
15923             }
15924          }
15925          part { name: "disclip";
15926             type: RECT;
15927             description { state: "default" 0.0;
15928                rel1.to: "bg";
15929                rel2.to: "bg";
15930             }
15931             description { state: "disabled" 0.0;
15932                inherit: "default" 0.0;
15933                color: 255 255 255 64;
15934             }
15935          }
15936       }
15937       programs {
15938          // signal: elm,state,%s,active
15939          //   a "check" item named %s went active
15940          // signal: elm,state,%s,passive
15941          //   a "check" item named %s went passive
15942          // default is passive
15943          program {
15944             name:    "go_active";
15945             signal:  "elm,state,selected";
15946             source:  "elm";
15947             action:  STATE_SET "selected" 0.0;
15948             target:  "bg";
15949             target:  "fg1";
15950             target:  "fg2";
15951             target:  "elm.text";
15952          }
15953          program {
15954             name:    "go_passive";
15955             signal:  "elm,state,unselected";
15956             source:  "elm";
15957             action:  STATE_SET "default" 0.0;
15958             target:  "bg";
15959             target:  "fg1";
15960             target:  "fg2";
15961             target:  "elm.text";
15962             transition: LINEAR 0.1;
15963          }
15964          program {
15965             name:    "go_disabled";
15966             signal:  "elm,state,disabled";
15967             source:  "elm";
15968             action:  STATE_SET "disabled" 0.0;
15969             target:  "disclip";
15970          }
15971          program {
15972             name:    "go_enabled";
15973             signal:  "elm,state,enabled";
15974             source:  "elm";
15975             action:  STATE_SET "default" 0.0;
15976             target:  "disclip";
15977          }
15978       }
15979    }
15980    group { name: "elm/genlist/item/group_index/default";
15981       alias: "elm/genlist/item_odd/group_index/default";
15982       data.item: "stacking" "above";
15983       data.item: "selectraise" "on";
15984       data.item: "labels" "elm.text";
15985       data.item: "icons" "elm.swallow.icon elm.swallow.end";
15986       data.item: "treesize" "20";
15987 //      data.item: "states" "";
15988       images {
15989          image: "bt_sm_base1.png" COMP;
15990          image: "bt_sm_shine.png" COMP;
15991          image: "bt_sm_hilight.png" COMP;
15992          image: "ilist_item_shadow.png" COMP;
15993          image: "group_index.png" COMP;
15994       }
15995       parts {
15996          part {
15997             name: "event";
15998             type: RECT;
15999             repeat_events: 0;
16000             description {
16001                state: "default" 0.0;
16002                color: 0 0 0 0;
16003             }
16004          }
16005          part {
16006             name: "base_sh";
16007             mouse_events: 0;
16008             description {
16009                state: "default" 0.0;
16010                align: 0.0 0.0;
16011                min: 0 10;
16012                fixed: 1 1;
16013                rel1 {
16014                   to: "base";
16015                   relative: 0.0 1.0;
16016                   offset: 0 0;
16017                }
16018                rel2 {
16019                   to: "base";
16020                   relative: 1.0 1.0;
16021                   offset: -1 0;
16022                }
16023                image {
16024                   normal: "ilist_item_shadow.png";
16025                }
16026                fill.smooth: 0;
16027             }
16028          }
16029          part {
16030             name: "base";
16031             mouse_events: 0;
16032             description {
16033                state: "default" 0.0;
16034                image {
16035                   normal: "group_index.png";
16036                   border: 2 2 2 2;
16037                }
16038                fill.smooth: 0;
16039             }
16040          }
16041          part { name: "bg";
16042             clip_to: "disclip";
16043             mouse_events: 0;
16044             description { state: "default" 0.0;
16045                visible: 0;
16046                color: 255 255 255 0;
16047                rel1 {
16048                   relative: 0.0 0.0;
16049                   offset: -5 -5;
16050                }
16051                rel2 {
16052                   relative: 1.0 1.0;
16053                   offset: 4 4;
16054                }
16055                image {
16056                   normal: "bt_sm_base1.png";
16057                   border: 6 6 6 6;
16058                }
16059                image.middle: SOLID;
16060             }
16061             description { state: "selected" 0.0;
16062                inherit: "default" 0.0;
16063                visible: 1;
16064                color: 255 255 255 255;
16065                rel1 {
16066                   relative: 0.0 0.0;
16067                   offset: -2 -2;
16068                }
16069                rel2 {
16070                   relative: 1.0 1.0;
16071                   offset: 1 1;
16072                }
16073             }
16074          }
16075          part { name: "elm.swallow.pad";
16076             type: SWALLOW;
16077             description { state: "default" 0.0;
16078                fixed: 1 0;
16079                align: 0.0 0.5;
16080                rel1 {
16081                   relative: 0.0  0.0;
16082                   offset: 4 4;
16083                }
16084                rel2 {
16085                   relative: 0.0  1.0;
16086                   offset: 4 -5;
16087                }
16088             }
16089          }
16090          part { name: "elm.swallow.icon";
16091             clip_to: "disclip";
16092             type: SWALLOW;
16093             description { state: "default" 0.0;
16094                fixed: 1 0;
16095                align: 0.0 0.5;
16096                rel1 {
16097                   to_x: "elm.swallow.pad";
16098                   relative: 1.0 0.0;
16099                   offset: -1 4;
16100                }
16101                rel2 {
16102                   to_x: "elm.swallow.pad";
16103                   relative: 1.0 1.0;
16104                   offset: -1 -5;
16105                }
16106             }
16107          }
16108          part { name: "elm.swallow.end";
16109             clip_to: "disclip";
16110             type: SWALLOW;
16111             description { state: "default" 0.0;
16112                fixed: 1 0;
16113                align: 1.0 0.5;
16114                aspect: 1.0 1.0;
16115                aspect_preference: VERTICAL;
16116                rel1 {
16117                   relative: 1.0 0.0;
16118                   offset: -5 4;
16119                }
16120                rel2 {
16121                   relative: 1.0 1.0;
16122                   offset: -5 -5;
16123                }
16124             }
16125          }
16126          part { name: "elm.text";
16127             clip_to: "disclip";
16128             type: TEXT;
16129             effect: SOFT_SHADOW;
16130             mouse_events: 0;
16131             scale: 1;
16132             description {
16133                state: "default" 0.0;
16134 //               min: 16 16;
16135                rel1 {
16136                   to_x: "elm.swallow.icon";
16137                   relative: 1.0  0.0;
16138                   offset: 0 4;
16139                }
16140                rel2 {
16141                   to_x: "elm.swallow.end";
16142                   relative: 0.0  1.0;
16143                   offset: -1 -5;
16144                }
16145                color: 0 0 0 255;
16146                color3: 0 0 0 0;
16147                text {
16148                   font: "Sans";
16149                   size: 10;
16150                   min: 1 1;
16151 //                  min: 0 1;
16152                   align: 0.0 0.5;
16153                   text_class: "list_item";
16154                }
16155             }
16156             description { state: "selected" 0.0;
16157                inherit: "default" 0.0;
16158                color: 224 224 224 255;
16159                color3: 0 0 0 64;
16160             }
16161          }
16162          part { name: "fg1";
16163             clip_to: "disclip";
16164             mouse_events: 0;
16165             description { state: "default" 0.0;
16166                visible: 0;
16167                color: 255 255 255 0;
16168                rel1.to: "bg";
16169                rel2.relative: 1.0 0.5;
16170                rel2.to: "bg";
16171                image {
16172                   normal: "bt_sm_hilight.png";
16173                   border: 6 6 6 0;
16174                }
16175             }
16176             description { state: "selected" 0.0;
16177                inherit: "default" 0.0;
16178                visible: 1;
16179                color: 255 255 255 255;
16180             }
16181          }
16182          part { name: "fg2";
16183             clip_to: "disclip";
16184             mouse_events: 0;
16185             description { state: "default" 0.0;
16186                visible: 0;
16187                color: 255 255 255 0;
16188                rel1.to: "bg";
16189                rel2.to: "bg";
16190                image {
16191                   normal: "bt_sm_shine.png";
16192                   border: 6 6 6 0;
16193                }
16194             }
16195             description { state: "selected" 0.0;
16196                inherit: "default" 0.0;
16197                visible: 1;
16198                color: 255 255 255 255;
16199             }
16200          }
16201          part { name: "disclip";
16202             type: RECT;
16203             description { state: "default" 0.0;
16204                rel1.to: "bg";
16205                rel2.to: "bg";
16206             }
16207             description { state: "disabled" 0.0;
16208                inherit: "default" 0.0;
16209                color: 255 255 255 64;
16210             }
16211          }
16212       }
16213       programs {
16214          // signal: elm,state,%s,active
16215          //   a "check" item named %s went active
16216          // signal: elm,state,%s,passive
16217          //   a "check" item named %s went passive
16218          // default is passive
16219          program {
16220             name:    "go_active";
16221             signal:  "elm,state,selected";
16222             source:  "elm";
16223             action:  STATE_SET "selected" 0.0;
16224             target:  "bg";
16225             target:  "fg1";
16226             target:  "fg2";
16227             target:  "elm.text";
16228          }
16229          program {
16230             name:    "go_passive";
16231             signal:  "elm,state,unselected";
16232             source:  "elm";
16233             action:  STATE_SET "default" 0.0;
16234             target:  "bg";
16235             target:  "fg1";
16236             target:  "fg2";
16237             target:  "elm.text";
16238             transition: LINEAR 0.1;
16239          }
16240          program {
16241             name:    "go_disabled";
16242             signal:  "elm,state,disabled";
16243             source:  "elm";
16244             action:  STATE_SET "disabled" 0.0;
16245             target:  "disclip";
16246          }
16247          program {
16248             name:    "go_enabled";
16249             signal:  "elm,state,enabled";
16250             source:  "elm";
16251             action:  STATE_SET "default" 0.0;
16252             target:  "disclip";
16253          }
16254       }
16255    }
16256    group { name: "elm/genlist/item_compress/message/default";
16257       data.item: "stacking" "above";
16258       data.item: "selectraise" "on";
16259       data.item: "labels" "elm.title.1 elm.title.2 elm.text";
16260 //      data.item: "icons" "elm.swallow.icon elm.swallow.end";
16261       data.item: "treesize" "20";
16262 //      data.item: "states" "";
16263       images {
16264          image: "bt_sm_base1.png" COMP;
16265          image: "bt_sm_shine.png" COMP;
16266          image: "bt_sm_hilight.png" COMP;
16267          image: "ilist_1.png" COMP;
16268          image: "ilist_item_shadow.png" COMP;
16269       }
16270       styles {
16271         style { name: "genlist_textblock_style";
16272           base: "font=Sans font_size=10 color=#000 wrap=char text_class=list_item";
16273           tag:  "br" "\n";
16274           tag:  "ps" "ps";
16275           tag:  "tab" "\t";
16276         }
16277         style { name: "genlist_textblock_style2";
16278           base: "font=Sans font_size=10 color=#fff wrap=char text_class=list_item";
16279           tag:  "br" "\n";
16280           tag:  "ps" "ps";
16281           tag:  "tab" "\t";
16282         }
16283       }
16284      parts {
16285          part {
16286             name:           "event";
16287             type:           RECT;
16288             repeat_events: 1;
16289             description {
16290                state: "default" 0.0;
16291                color: 0 0 0 0;
16292             }
16293          }
16294          part {
16295             name: "base_sh";
16296             mouse_events: 0;
16297             description {
16298                state: "default" 0.0;
16299                align: 0.0 0.0;
16300                min: 0 10;
16301                fixed: 1 1;
16302                rel1 {
16303                   to: "base";
16304                   relative: 0.0 1.0;
16305                   offset: 0 0;
16306                }
16307                rel2 {
16308                   to: "base";
16309                   relative: 1.0 1.0;
16310                   offset: -1 0;
16311                }
16312                image {
16313                   normal: "ilist_item_shadow.png";
16314                }
16315                fill.smooth: 0;
16316             }
16317          }
16318          part {
16319             name: "base";
16320             mouse_events: 0;
16321             description {
16322                state: "default" 0.0;
16323                image {
16324                   normal: "ilist_1.png";
16325                   border: 2 2 2 2;
16326                }
16327                fill.smooth: 0;
16328             }
16329          }
16330          part { name: "bg";
16331             clip_to: "disclip";
16332             mouse_events: 0;
16333             description { state: "default" 0.0;
16334                visible: 0;
16335                color: 255 255 255 0;
16336                rel1 {
16337                   relative: 0.0 0.0;
16338                   offset: -5 -5;
16339                }
16340                rel2 {
16341                   relative: 1.0 1.0;
16342                   offset: 4 4;
16343                }
16344                image {
16345                   normal: "bt_sm_base1.png";
16346                   border: 6 6 6 6;
16347                }
16348                image.middle: SOLID;
16349             }
16350             description { state: "selected" 0.0;
16351                inherit: "default" 0.0;
16352                visible: 1;
16353                color: 255 255 255 255;
16354                rel1 {
16355                   relative: 0.0 0.0;
16356                   offset: -2 -2;
16357                }
16358                rel2 {
16359                   relative: 1.0 1.0;
16360                   offset: 1 1;
16361                }
16362             }
16363          }
16364          part { name: "elm.title.1";
16365             clip_to: "disclip";
16366             type:           TEXT;
16367             effect:         SOFT_SHADOW;
16368             mouse_events:   0;
16369             scale: 1;
16370             description {
16371                state: "default" 0.0;
16372                fixed: 0 1;
16373 //               min: 16 16;
16374                rel1 {
16375                   relative: 0.0  0.0;
16376                   offset:   4 4;
16377                }
16378                rel2 {
16379                   relative: 1.0  0.0;
16380                   offset:   -5 4;
16381                }
16382                color: 0 0 0 255;
16383                color3: 0 0 0 0;
16384                align: 0.0 0.0;
16385                text {
16386                   font: "Sans";
16387                   size: 10;
16388                   min: 0 1;
16389 //                  min: 1 1;
16390                   align: 0.0 0.0;
16391                   text_class: "list_item";
16392                }
16393             }
16394             description { state: "selected" 0.0;
16395                inherit: "default" 0.0;
16396                color: 224 224 224 255;
16397                color3: 0 0 0 64;
16398             }
16399          }
16400          part { name: "elm.title.2";
16401             clip_to: "disclip";
16402             type:           TEXT;
16403             effect:         SOFT_SHADOW;
16404             mouse_events:   0;
16405             scale: 1;
16406             description {
16407                state: "default" 0.0;
16408                fixed: 0 1;
16409 //               min: 16 16;
16410                rel1 {
16411                   to_y:     "elm.title.1";
16412                   relative: 0.0  1.0;
16413                   offset:   4 0;
16414                }
16415                rel2 {
16416                   to_y:     "elm.title.1";
16417                   relative: 1.0  1.0;
16418                   offset:   -5 0;
16419                }
16420                color: 0 0 0 255;
16421                color3: 0 0 0 0;
16422                align: 0.0 0.0;
16423                text {
16424                   font: "Sans";
16425                   size: 10;
16426                   min: 0 1;
16427 //                  min: 1 1;
16428                   align: 0.0 0.0;
16429                   text_class: "list_item";
16430                }
16431             }
16432             description { state: "selected" 0.0;
16433                inherit: "default" 0.0;
16434                color: 224 224 224 255;
16435                color3: 0 0 0 64;
16436             }
16437          }
16438          part { name: "elm.text";
16439             clip_to: "disclip";
16440             type:           TEXTBLOCK;
16441             mouse_events:   0;
16442             scale: 1;
16443             description {
16444                state: "default" 0.0;
16445 //               fixed: 0 1;
16446 //               min: 16 16;
16447                rel1 {
16448                   to_y:     "elm.title.2";
16449                   relative: 0.0  1.0;
16450                   offset:   4 0;
16451                }
16452                rel2 {
16453                   relative: 1.0  1.0;
16454                   offset:   -5 -5;
16455                }
16456                align: 0.0 0.0;
16457                text {
16458                   style: "genlist_textblock_style";
16459                   min: 0 1;
16460 //                  min: 1 1;
16461                   align: 0.0 0.0;
16462                }
16463             }
16464             description { state: "selected" 0.0;
16465                inherit: "default" 0.0;
16466                text {
16467                   style: "genlist_textblock_style2";
16468                }
16469             }
16470          }
16471          part { name: "fg1";
16472             clip_to: "disclip";
16473             mouse_events: 0;
16474             description { state: "default" 0.0;
16475                visible: 0;
16476                color: 255 255 255 0;
16477                rel1.to: "bg";
16478                rel2.relative: 1.0 0.5;
16479                rel2.to: "bg";
16480                image {
16481                   normal: "bt_sm_hilight.png";
16482                   border: 6 6 6 0;
16483                }
16484             }
16485             description { state: "selected" 0.0;
16486                inherit: "default" 0.0;
16487                visible: 1;
16488                color: 255 255 255 255;
16489             }
16490          }
16491          part { name: "fg2";
16492             clip_to: "disclip";
16493             mouse_events: 0;
16494             description { state: "default" 0.0;
16495                visible: 0;
16496                color: 255 255 255 0;
16497                rel1.to: "bg";
16498                rel2.to: "bg";
16499                image {
16500                   normal: "bt_sm_shine.png";
16501                   border: 6 6 6 0;
16502                }
16503             }
16504             description { state: "selected" 0.0;
16505                inherit: "default" 0.0;
16506                visible: 1;
16507                color: 255 255 255 255;
16508             }
16509          }
16510          part { name: "disclip";
16511             type: RECT;
16512             description { state: "default" 0.0;
16513                rel1.to: "bg";
16514                rel2.to: "bg";
16515             }
16516             description { state: "disabled" 0.0;
16517                inherit: "default" 0.0;
16518                color: 255 255 255 64;
16519             }
16520          }
16521       }
16522       programs {
16523          // signal: elm,state,%s,active
16524          //   a "check" item named %s went active
16525          // signal: elm,state,%s,passive
16526          //   a "check" item named %s went passive
16527          // default is passive
16528          program {
16529             name:    "go_active";
16530             signal:  "elm,state,selected";
16531             source:  "elm";
16532             action:  STATE_SET "selected" 0.0;
16533             target:  "bg";
16534             target:  "fg1";
16535             target:  "fg2";
16536             target:  "elm.title.1";
16537             target:  "elm.title.2";
16538             target:  "elm.text";
16539          }
16540          program {
16541             name:    "go_passive";
16542             signal:  "elm,state,unselected";
16543             source:  "elm";
16544             action:  STATE_SET "default" 0.0;
16545             target:  "bg";
16546             target:  "fg1";
16547             target:  "fg2";
16548             target:  "elm.title.1";
16549             target:  "elm.title.2";
16550             target:  "elm.text";
16551             transition: LINEAR 0.1;
16552          }
16553          program {
16554             name:    "go_disabled";
16555             signal:  "elm,state,disabled";
16556             source:  "elm";
16557             action:  STATE_SET "disabled" 0.0;
16558             target:  "disclip";
16559          }
16560          program {
16561             name:    "go_enabled";
16562             signal:  "elm,state,enabled";
16563             source:  "elm";
16564             action:  STATE_SET "default" 0.0;
16565             target:  "disclip";
16566          }
16567       }
16568    }
16569    group { name: "elm/genlist/item_compress_odd/message/default";
16570       data.item: "stacking" "below";
16571       data.item: "selectraise" "on";
16572       data.item: "labels" "elm.title.1 elm.title.2 elm.text";
16573 //      data.item: "icons" "elm.swallow.icon elm.swallow.end";
16574       data.item: "treesize" "20";
16575 //      data.item: "states" "";
16576       images {
16577          image: "bt_sm_base1.png" COMP;
16578          image: "bt_sm_shine.png" COMP;
16579          image: "bt_sm_hilight.png" COMP;
16580          image: "ilist_2.png" COMP;
16581       }
16582       parts {
16583          part { name: "event";
16584             type: RECT;
16585             repeat_events: 1;
16586             description {
16587                state: "default" 0.0;
16588                color: 0 0 0 0;
16589             }
16590          }
16591          part {
16592             name: "base";
16593             mouse_events: 0;
16594             description {
16595                state: "default" 0.0;
16596                image {
16597                   normal: "ilist_2.png";
16598                   border: 2 2 2 2;
16599                }
16600                fill.smooth: 0;
16601             }
16602          }
16603          part { name: "bg";
16604             clip_to: "disclip";
16605             mouse_events: 0;
16606             description { state: "default" 0.0;
16607                visible: 0;
16608                color: 255 255 255 0;
16609                rel1 {
16610                   relative: 0.0 0.0;
16611                   offset: -5 -5;
16612                }
16613                rel2 {
16614                   relative: 1.0 1.0;
16615                   offset: 4 4;
16616                }
16617                image {
16618                   normal: "bt_sm_base1.png";
16619                   border: 6 6 6 6;
16620                }
16621                image.middle: SOLID;
16622             }
16623             description { state: "selected" 0.0;
16624                inherit: "default" 0.0;
16625                visible: 1;
16626                color: 255 255 255 255;
16627                rel1 {
16628                   relative: 0.0 0.0;
16629                   offset: -2 -2;
16630                }
16631                rel2 {
16632                   relative: 1.0 1.0;
16633                   offset: 1 1;
16634                }
16635             }
16636          }
16637          part { name: "elm.title.1";
16638             clip_to: "disclip";
16639             type:           TEXT;
16640             effect:         SOFT_SHADOW;
16641             mouse_events:   0;
16642             scale: 1;
16643             description {
16644                state: "default" 0.0;
16645                fixed: 0 1;
16646 //               min: 16 16;
16647                rel1 {
16648                   relative: 0.0  0.0;
16649                   offset:   4 4;
16650                }
16651                rel2 {
16652                   relative: 1.0  0.0;
16653                   offset:   -5 4;
16654                }
16655                color: 0 0 0 255;
16656                color3: 0 0 0 0;
16657                align: 0.0 0.0;
16658                text {
16659                   font: "Sans";
16660                   size: 10;
16661                   min: 0 1;
16662 //                  min: 1 1;
16663                   align: 0.0 0.0;
16664                   text_class: "list_item";
16665                }
16666             }
16667             description { state: "selected" 0.0;
16668                inherit: "default" 0.0;
16669                color: 224 224 224 255;
16670                color3: 0 0 0 64;
16671             }
16672          }
16673          part { name: "elm.title.2";
16674             clip_to: "disclip";
16675             type:           TEXT;
16676             effect:         SOFT_SHADOW;
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.1";
16685                   relative: 0.0  1.0;
16686                   offset:   4 0;
16687                }
16688                rel2 {
16689                   to_y:     "elm.title.1";
16690                   relative: 1.0  1.0;
16691                   offset:   -5 0;
16692                }
16693                color: 0 0 0 255;
16694                color3: 0 0 0 0;
16695                align: 0.0 0.0;
16696                text {
16697                   font: "Sans";
16698                   size: 10;
16699                   min: 0 1;
16700 //                  min: 1 1;
16701                   align: 0.0 0.0;
16702                   text_class: "list_item";
16703                }
16704             }
16705             description { state: "selected" 0.0;
16706                inherit: "default" 0.0;
16707                color: 224 224 224 255;
16708                color3: 0 0 0 64;
16709             }
16710          }
16711          part { name: "elm.text";
16712             clip_to: "disclip";
16713             type:           TEXTBLOCK;
16714             mouse_events:   0;
16715             scale: 1;
16716             description {
16717                state: "default" 0.0;
16718 //               fixed: 0 1;
16719 //               min: 16 16;
16720                rel1 {
16721                   to_y:     "elm.title.2";
16722                   relative: 0.0  1.0;
16723                   offset:   4 0;
16724                }
16725                rel2 {
16726                   relative: 1.0  1.0;
16727                   offset:   -5 -5;
16728                }
16729                align: 0.0 0.0;
16730                text {
16731                   style: "genlist_textblock_style";
16732                   min: 0 1;
16733 //                  min: 1 1;
16734                   align: 0.0 0.0;
16735                }
16736             }
16737             description { state: "selected" 0.0;
16738                inherit: "default" 0.0;
16739                text {
16740                   style: "genlist_textblock_style2";
16741                }
16742             }
16743          }
16744          part { name: "fg1";
16745             clip_to: "disclip";
16746             mouse_events: 0;
16747             description { state: "default" 0.0;
16748                visible: 0;
16749                color: 255 255 255 0;
16750                rel1.to: "bg";
16751                rel2.relative: 1.0 0.5;
16752                rel2.to: "bg";
16753                image {
16754                   normal: "bt_sm_hilight.png";
16755                   border: 6 6 6 0;
16756                }
16757             }
16758             description { state: "selected" 0.0;
16759                inherit: "default" 0.0;
16760                visible: 1;
16761                color: 255 255 255 255;
16762             }
16763          }
16764          part { name: "fg2";
16765             clip_to: "disclip";
16766             mouse_events: 0;
16767             description { state: "default" 0.0;
16768                visible: 0;
16769                color: 255 255 255 0;
16770                rel1.to: "bg";
16771                rel2.to: "bg";
16772                image {
16773                   normal: "bt_sm_shine.png";
16774                   border: 6 6 6 0;
16775                }
16776             }
16777             description { state: "selected" 0.0;
16778                inherit: "default" 0.0;
16779                visible: 1;
16780                color: 255 255 255 255;
16781             }
16782          }
16783          part { name: "disclip";
16784             type: RECT;
16785             description { state: "default" 0.0;
16786                rel1.to: "bg";
16787                rel2.to: "bg";
16788             }
16789             description { state: "disabled" 0.0;
16790                inherit: "default" 0.0;
16791                color: 255 255 255 64;
16792             }
16793          }
16794       }
16795       programs {
16796          // signal: elm,state,%s,active
16797          //   a "check" item named %s went active
16798          // signal: elm,state,%s,passive
16799          //   a "check" item named %s went passive
16800          // default is passive
16801          program {
16802             name:    "go_active";
16803             signal:  "elm,state,selected";
16804             source:  "elm";
16805             action:  STATE_SET "selected" 0.0;
16806             target:  "bg";
16807             target:  "fg1";
16808             target:  "fg2";
16809             target:  "elm.title.1";
16810             target:  "elm.title.2";
16811             target:  "elm.text";
16812          }
16813          program {
16814             name:    "go_passive";
16815             signal:  "elm,state,unselected";
16816             source:  "elm";
16817             action:  STATE_SET "default" 0.0;
16818             target:  "bg";
16819             target:  "fg1";
16820             target:  "fg2";
16821             target:  "elm.title.1";
16822             target:  "elm.title.2";
16823             target:  "elm.text";
16824             transition: LINEAR 0.1;
16825          }
16826          program {
16827             name:    "go_disabled";
16828             signal:  "elm,state,disabled";
16829             source:  "elm";
16830             action:  STATE_SET "disabled" 0.0;
16831             target:  "disclip";
16832          }
16833          program {
16834             name:    "go_enabled";
16835             signal:  "elm,state,enabled";
16836             source:  "elm";
16837             action:  STATE_SET "default" 0.0;
16838             target:  "disclip";
16839          }
16840       }
16841    }
16842    group { name: "elm/genlist/item_compress/default/default";
16843       data.item: "stacking" "above";
16844       data.item: "selectraise" "on";
16845       data.item: "labels" "elm.text";
16846       data.item: "icons" "elm.swallow.icon elm.swallow.end";
16847       data.item: "treesize" "20";
16848 //      data.item: "states" "";
16849       images {
16850          image: "bt_sm_base1.png" COMP;
16851          image: "bt_sm_shine.png" COMP;
16852          image: "bt_sm_hilight.png" COMP;
16853          image: "ilist_1.png" COMP;
16854          image: "ilist_item_shadow.png" COMP;
16855       }
16856       parts {
16857          part {
16858             name:           "event";
16859             type:           RECT;
16860             repeat_events: 1;
16861             description {
16862                state: "default" 0.0;
16863                color: 0 0 0 0;
16864             }
16865          }
16866          part {
16867             name: "base_sh";
16868             mouse_events: 0;
16869             description {
16870                state: "default" 0.0;
16871                align: 0.0 0.0;
16872                min: 0 10;
16873                fixed: 1 1;
16874                rel1 {
16875                   to: "base";
16876                   relative: 0.0 1.0;
16877                   offset: 0 0;
16878                }
16879                rel2 {
16880                   to: "base";
16881                   relative: 1.0 1.0;
16882                   offset: -1 0;
16883                }
16884                image {
16885                   normal: "ilist_item_shadow.png";
16886                }
16887                fill.smooth: 0;
16888             }
16889          }
16890          part {
16891             name: "base";
16892             mouse_events: 0;
16893             description {
16894                state: "default" 0.0;
16895                image {
16896                   normal: "ilist_1.png";
16897                   border: 2 2 2 2;
16898                }
16899                fill.smooth: 0;
16900             }
16901          }
16902          part { name: "bg";
16903             clip_to: "disclip";
16904             mouse_events: 0;
16905             description { state: "default" 0.0;
16906                visible: 0;
16907                color: 255 255 255 0;
16908                rel1 {
16909                   relative: 0.0 0.0;
16910                   offset: -5 -5;
16911                }
16912                rel2 {
16913                   relative: 1.0 1.0;
16914                   offset: 4 4;
16915                }
16916                image {
16917                   normal: "bt_sm_base1.png";
16918                   border: 6 6 6 6;
16919                }
16920                image.middle: SOLID;
16921             }
16922             description { state: "selected" 0.0;
16923                inherit: "default" 0.0;
16924                visible: 1;
16925                color: 255 255 255 255;
16926                rel1 {
16927                   relative: 0.0 0.0;
16928                   offset: -2 -2;
16929                }
16930                rel2 {
16931                   relative: 1.0 1.0;
16932                   offset: 1 1;
16933                }
16934             }
16935          }
16936          part { name: "elm.swallow.pad";
16937             type: SWALLOW;
16938             description { state: "default" 0.0;
16939                fixed: 1 0;
16940                align: 0.0 0.5;
16941                rel1 {
16942                   relative: 0.0  0.0;
16943                   offset:   4    4;
16944                }
16945                rel2 {
16946                   relative: 0.0  1.0;
16947                   offset:   4   -5;
16948                }
16949             }
16950          }
16951          part { name: "elm.swallow.icon";
16952             clip_to: "disclip";
16953             type: SWALLOW;
16954             description { state: "default" 0.0;
16955                fixed: 1 0;
16956                align: 0.0 0.5;
16957                rel1 {
16958                   to_x: "elm.swallow.pad";
16959                   relative: 1.0  0.0;
16960                   offset:   -1    4;
16961                }
16962                rel2 {
16963                   to_x: "elm.swallow.pad";
16964                   relative: 1.0  1.0;
16965                   offset:   -1   -5;
16966                }
16967             }
16968          }
16969          part { name: "elm.swallow.end";
16970             clip_to: "disclip";
16971             type: SWALLOW;
16972             description { state: "default" 0.0;
16973                fixed: 1 0;
16974                align: 1.0 0.5;
16975                aspect: 1.0 1.0;
16976                aspect_preference: VERTICAL;
16977                rel1 {
16978                   relative: 1.0  0.0;
16979                   offset:   -5    4;
16980                }
16981                rel2 {
16982                   relative: 1.0  1.0;
16983                   offset:   -5   -5;
16984                }
16985             }
16986          }
16987          part { name: "elm.text";
16988             clip_to: "disclip";
16989             type:           TEXT;
16990             effect:         SOFT_SHADOW;
16991             mouse_events:   0;
16992             scale: 1;
16993             description {
16994                state: "default" 0.0;
16995 //               min: 16 16;
16996                rel1 {
16997                   to_x:     "elm.swallow.icon";
16998                   relative: 1.0  0.0;
16999                   offset:   0 4;
17000                }
17001                rel2 {
17002                   to_x:     "elm.swallow.end";
17003                   relative: 0.0  1.0;
17004                   offset:   -1 -5;
17005                }
17006                color: 0 0 0 255;
17007                color3: 0 0 0 0;
17008                text {
17009                   font: "Sans";
17010                   size: 10;
17011                   min: 0 1;
17012 //                  min: 1 1;
17013                   align: 0.0 0.5;
17014                   text_class: "list_item";
17015                }
17016             }
17017             description { state: "selected" 0.0;
17018                inherit: "default" 0.0;
17019                color: 224 224 224 255;
17020                color3: 0 0 0 64;
17021             }
17022          }
17023          part { name: "fg1";
17024             clip_to: "disclip";
17025             mouse_events: 0;
17026             description { state: "default" 0.0;
17027                visible: 0;
17028                color: 255 255 255 0;
17029                rel1.to: "bg";
17030                rel2.relative: 1.0 0.5;
17031                rel2.to: "bg";
17032                image {
17033                   normal: "bt_sm_hilight.png";
17034                   border: 6 6 6 0;
17035                }
17036             }
17037             description { state: "selected" 0.0;
17038                inherit: "default" 0.0;
17039                visible: 1;
17040                color: 255 255 255 255;
17041             }
17042          }
17043          part { name: "fg2";
17044             clip_to: "disclip";
17045             mouse_events: 0;
17046             description { state: "default" 0.0;
17047                visible: 0;
17048                color: 255 255 255 0;
17049                rel1.to: "bg";
17050                rel2.to: "bg";
17051                image {
17052                   normal: "bt_sm_shine.png";
17053                   border: 6 6 6 0;
17054                }
17055             }
17056             description { state: "selected" 0.0;
17057                inherit: "default" 0.0;
17058                visible: 1;
17059                color: 255 255 255 255;
17060             }
17061          }
17062          part { name: "disclip";
17063             type: RECT;
17064             description { state: "default" 0.0;
17065                rel1.to: "bg";
17066                rel2.to: "bg";
17067             }
17068             description { state: "disabled" 0.0;
17069                inherit: "default" 0.0;
17070                color: 255 255 255 64;
17071             }
17072          }
17073       }
17074       programs {
17075          // signal: elm,state,%s,active
17076          //   a "check" item named %s went active
17077          // signal: elm,state,%s,passive
17078          //   a "check" item named %s went passive
17079          // default is passive
17080          program {
17081             name:    "go_active";
17082             signal:  "elm,state,selected";
17083             source:  "elm";
17084             action:  STATE_SET "selected" 0.0;
17085             target:  "bg";
17086             target:  "fg1";
17087             target:  "fg2";
17088             target:  "elm.text";
17089          }
17090          program {
17091             name:    "go_passive";
17092             signal:  "elm,state,unselected";
17093             source:  "elm";
17094             action:  STATE_SET "default" 0.0;
17095             target:  "bg";
17096             target:  "fg1";
17097             target:  "fg2";
17098             target:  "elm.text";
17099             transition: LINEAR 0.1;
17100          }
17101          program {
17102             name:    "go_disabled";
17103             signal:  "elm,state,disabled";
17104             source:  "elm";
17105             action:  STATE_SET "disabled" 0.0;
17106             target:  "disclip";
17107          }
17108          program {
17109             name:    "go_enabled";
17110             signal:  "elm,state,enabled";
17111             source:  "elm";
17112             action:  STATE_SET "default" 0.0;
17113             target:  "disclip";
17114          }
17115       }
17116    }
17117    group { name: "elm/genlist/item_odd/default/default";
17118       data.item: "stacking" "below";
17119       data.item: "selectraise" "on";
17120       data.item: "labels" "elm.text";
17121       data.item: "icons" "elm.swallow.icon elm.swallow.end";
17122       data.item: "treesize" "20";
17123 //      data.item: "states" "";
17124       images {
17125          image: "bt_sm_base1.png" COMP;
17126          image: "bt_sm_shine.png" COMP;
17127          image: "bt_sm_hilight.png" COMP;
17128          image: "ilist_2.png" COMP;
17129       }
17130       parts {
17131          part { name: "event";
17132             type: RECT;
17133             repeat_events: 1;
17134             description {
17135                state: "default" 0.0;
17136                color: 0 0 0 0;
17137             }
17138          }
17139          part {
17140             name: "base";
17141             mouse_events: 0;
17142             description {
17143                state: "default" 0.0;
17144                image {
17145                   normal: "ilist_2.png";
17146                   border: 2 2 2 2;
17147                }
17148                fill.smooth: 0;
17149             }
17150          }
17151          part { name: "bg";
17152             clip_to: "disclip";
17153             mouse_events: 0;
17154             description { state: "default" 0.0;
17155                visible: 0;
17156                color: 255 255 255 0;
17157                rel1 {
17158                   relative: 0.0 0.0;
17159                   offset: -5 -5;
17160                }
17161                rel2 {
17162                   relative: 1.0 1.0;
17163                   offset: 4 4;
17164                }
17165                image {
17166                   normal: "bt_sm_base1.png";
17167                   border: 6 6 6 6;
17168                }
17169                image.middle: SOLID;
17170             }
17171             description { state: "selected" 0.0;
17172                inherit: "default" 0.0;
17173                visible: 1;
17174                color: 255 255 255 255;
17175                rel1 {
17176                   relative: 0.0 0.0;
17177                   offset: -2 -2;
17178                }
17179                rel2 {
17180                   relative: 1.0 1.0;
17181                   offset: 1 1;
17182                }
17183             }
17184          }
17185          part { name: "elm.swallow.pad";
17186             type: SWALLOW;
17187             description { state: "default" 0.0;
17188                fixed: 1 0;
17189                align: 0.0 0.5;
17190                rel1 {
17191                   relative: 0.0  0.0;
17192                   offset:   4    4;
17193                }
17194                rel2 {
17195                   relative: 0.0  1.0;
17196                   offset:   4   -5;
17197                }
17198             }
17199          }
17200          part { name: "elm.swallow.icon";
17201             clip_to: "disclip";
17202             type: SWALLOW;
17203             description { state: "default" 0.0;
17204                fixed: 1 0;
17205                align: 0.0 0.5;
17206                rel1 {
17207                   to_x: "elm.swallow.pad";
17208                   relative: 1.0  0.0;
17209                   offset:   -1    4;
17210                }
17211                rel2 {
17212                   to_x: "elm.swallow.pad";
17213                   relative: 1.0  1.0;
17214                   offset:   -1   -5;
17215                }
17216             }
17217          }
17218          part { name: "elm.swallow.end";
17219             clip_to: "disclip";
17220             type:          SWALLOW;
17221             description { state:    "default" 0.0;
17222                fixed: 1 0;
17223                align:    1.0 0.5;
17224                aspect: 1.0 1.0;
17225                aspect_preference: VERTICAL;
17226                rel1 {
17227                   relative: 1.0  0.0;
17228                   offset:   -5    4;
17229                }
17230                rel2 {
17231                   relative: 1.0  1.0;
17232                   offset:   -5   -5;
17233                }
17234             }
17235          }
17236          part { name: "elm.text";
17237             clip_to: "disclip";
17238             type:           TEXT;
17239             effect:         SOFT_SHADOW;
17240             mouse_events:   0;
17241             scale: 1;
17242             description {
17243                state: "default" 0.0;
17244 //               min:      16 16;
17245                rel1 {
17246                   to_x:     "elm.swallow.icon";
17247                   relative: 1.0  0.0;
17248                   offset:   0 4;
17249                }
17250                rel2 {
17251                   to_x:     "elm.swallow.end";
17252                   relative: 0.0  1.0;
17253                   offset:   -1 -5;
17254                }
17255                color: 0 0 0 255;
17256                color3: 0 0 0 0;
17257                text {
17258                   font: "Sans";
17259                   size: 10;
17260                   min: 1 1;
17261 //                  min: 0 1;
17262                   align: 0.0 0.5;
17263                   text_class: "list_item";
17264                }
17265             }
17266             description { state: "selected" 0.0;
17267                inherit: "default" 0.0;
17268                color: 224 224 224 255;
17269                color3: 0 0 0 64;
17270             }
17271          }
17272          part { name: "fg1";
17273             clip_to: "disclip";
17274             mouse_events: 0;
17275             description { state: "default" 0.0;
17276                visible: 0;
17277                color: 255 255 255 0;
17278                rel1.to: "bg";
17279                rel2.relative: 1.0 0.5;
17280                rel2.to: "bg";
17281                image {
17282                   normal: "bt_sm_hilight.png";
17283                   border: 6 6 6 0;
17284                }
17285             }
17286             description { state: "selected" 0.0;
17287                inherit: "default" 0.0;
17288                visible: 1;
17289                color: 255 255 255 255;
17290             }
17291          }
17292          part { name: "fg2";
17293             clip_to: "disclip";
17294             mouse_events: 0;
17295             description { state: "default" 0.0;
17296                visible: 0;
17297                color: 255 255 255 0;
17298                rel1.to: "bg";
17299                rel2.to: "bg";
17300                image {
17301                   normal: "bt_sm_shine.png";
17302                   border: 6 6 6 0;
17303                }
17304             }
17305             description { state: "selected" 0.0;
17306                inherit: "default" 0.0;
17307                visible: 1;
17308                color: 255 255 255 255;
17309             }
17310          }
17311          part { name: "disclip";
17312             type: RECT;
17313             description { state: "default" 0.0;
17314                rel1.to: "bg";
17315                rel2.to: "bg";
17316             }
17317             description { state: "disabled" 0.0;
17318                inherit: "default" 0.0;
17319                color: 255 255 255 64;
17320             }
17321          }
17322       }
17323       programs {
17324          // signal: elm,state,%s,active
17325          //   a "check" item named %s went active
17326          // signal: elm,state,%s,passive
17327          //   a "check" item named %s went passive
17328          // default is passive
17329          program {
17330             name:    "go_active";
17331             signal:  "elm,state,selected";
17332             source:  "elm";
17333             action:  STATE_SET "selected" 0.0;
17334             target:  "bg";
17335             target:  "fg1";
17336             target:  "fg2";
17337             target:  "elm.text";
17338          }
17339          program {
17340             name:    "go_passive";
17341             signal:  "elm,state,unselected";
17342             source:  "elm";
17343             action:  STATE_SET "default" 0.0;
17344             target:  "bg";
17345             target:  "fg1";
17346             target:  "fg2";
17347             target:  "elm.text";
17348             transition: LINEAR 0.1;
17349          }
17350          program {
17351             name:    "go_disabled";
17352             signal:  "elm,state,disabled";
17353             source:  "elm";
17354             action:  STATE_SET "disabled" 0.0;
17355             target:  "disclip";
17356          }
17357          program {
17358             name:    "go_enabled";
17359             signal:  "elm,state,enabled";
17360             source:  "elm";
17361             action:  STATE_SET "default" 0.0;
17362             target:  "disclip";
17363          }
17364       }
17365    }
17366    group { name: "elm/genlist/item_compress_odd/default/default";
17367       data.item: "stacking" "below";
17368       data.item: "selectraise" "on";
17369       data.item: "labels" "elm.text";
17370       data.item: "icons" "elm.swallow.icon elm.swallow.end";
17371       data.item: "treesize" "20";
17372 //      data.item: "states" "";
17373       images {
17374          image: "bt_sm_base1.png" COMP;
17375          image: "bt_sm_shine.png" COMP;
17376          image: "bt_sm_hilight.png" COMP;
17377          image: "ilist_2.png" COMP;
17378       }
17379       parts {
17380          part { name: "event";
17381             type: RECT;
17382             repeat_events: 1;
17383             description {
17384                state: "default" 0.0;
17385                color: 0 0 0 0;
17386             }
17387          }
17388          part {
17389             name: "base";
17390             mouse_events: 0;
17391             description {
17392                state: "default" 0.0;
17393                image {
17394                   normal: "ilist_2.png";
17395                   border: 2 2 2 2;
17396                }
17397                fill.smooth: 0;
17398             }
17399          }
17400          part { name: "bg";
17401             clip_to: "disclip";
17402             mouse_events: 0;
17403             description { state: "default" 0.0;
17404                visible: 0;
17405                color: 255 255 255 0;
17406                rel1 {
17407                   relative: 0.0 0.0;
17408                   offset: -5 -5;
17409                }
17410                rel2 {
17411                   relative: 1.0 1.0;
17412                   offset: 4 4;
17413                }
17414                image {
17415                   normal: "bt_sm_base1.png";
17416                   border: 6 6 6 6;
17417                }
17418                image.middle: SOLID;
17419             }
17420             description { state: "selected" 0.0;
17421                inherit: "default" 0.0;
17422                visible: 1;
17423                color: 255 255 255 255;
17424                rel1 {
17425                   relative: 0.0 0.0;
17426                   offset: -2 -2;
17427                }
17428                rel2 {
17429                   relative: 1.0 1.0;
17430                   offset: 1 1;
17431                }
17432             }
17433          }
17434          part { name: "elm.swallow.pad";
17435             type: SWALLOW;
17436             description { state: "default" 0.0;
17437                fixed: 1 0;
17438                align: 0.0 0.5;
17439                rel1 {
17440                   relative: 0.0  0.0;
17441                   offset:   4    4;
17442                }
17443                rel2 {
17444                   relative: 0.0  1.0;
17445                   offset:   4   -5;
17446                }
17447             }
17448          }
17449          part { name: "elm.swallow.icon";
17450             clip_to: "disclip";
17451             type: SWALLOW;
17452             description { state: "default" 0.0;
17453                fixed: 1 0;
17454                align: 0.0 0.5;
17455                rel1 {
17456                   to_x: "elm.swallow.pad";
17457                   relative: 1.0  0.0;
17458                   offset:   -1    4;
17459                }
17460                rel2 {
17461                   to_x: "elm.swallow.pad";
17462                   relative: 1.0  1.0;
17463                   offset:   -1   -5;
17464                }
17465             }
17466          }
17467          part { name: "elm.swallow.end";
17468             clip_to: "disclip";
17469             type:          SWALLOW;
17470             description { state:    "default" 0.0;
17471                fixed: 1 0;
17472                align:    1.0 0.5;
17473                aspect: 1.0 1.0;
17474                aspect_preference: VERTICAL;
17475                rel1 {
17476                   relative: 1.0  0.0;
17477                   offset:   -5    4;
17478                }
17479                rel2 {
17480                   relative: 1.0  1.0;
17481                   offset:   -5   -5;
17482                }
17483             }
17484          }
17485          part { name: "elm.text";
17486             clip_to: "disclip";
17487             type:           TEXT;
17488             effect:         SOFT_SHADOW;
17489             mouse_events:   0;
17490             scale: 1;
17491             description {
17492                state: "default" 0.0;
17493 //               min:      16 16;
17494                rel1 {
17495                   to_x:     "elm.swallow.icon";
17496                   relative: 1.0  0.0;
17497                   offset:   0 4;
17498                }
17499                rel2 {
17500                   to_x:     "elm.swallow.end";
17501                   relative: 0.0  1.0;
17502                   offset:   -1 -5;
17503                }
17504                color: 0 0 0 255;
17505                color3: 0 0 0 0;
17506                text {
17507                   font: "Sans";
17508                   size: 10;
17509                   min: 0 1;
17510 //                  min: 1 1;
17511                   align: 0.0 0.5;
17512                   text_class: "list_item";
17513                }
17514             }
17515             description { state: "selected" 0.0;
17516                inherit: "default" 0.0;
17517                color: 224 224 224 255;
17518                color3: 0 0 0 64;
17519             }
17520          }
17521          part { name: "fg1";
17522             clip_to: "disclip";
17523             mouse_events: 0;
17524             description { state: "default" 0.0;
17525                visible: 0;
17526                color: 255 255 255 0;
17527                rel1.to: "bg";
17528                rel2.relative: 1.0 0.5;
17529                rel2.to: "bg";
17530                image {
17531                   normal: "bt_sm_hilight.png";
17532                   border: 6 6 6 0;
17533                }
17534             }
17535             description { state: "selected" 0.0;
17536                inherit: "default" 0.0;
17537                visible: 1;
17538                color: 255 255 255 255;
17539             }
17540          }
17541          part { name: "fg2";
17542             clip_to: "disclip";
17543             mouse_events: 0;
17544             description { state: "default" 0.0;
17545                visible: 0;
17546                color: 255 255 255 0;
17547                rel1.to: "bg";
17548                rel2.to: "bg";
17549                image {
17550                   normal: "bt_sm_shine.png";
17551                   border: 6 6 6 0;
17552                }
17553             }
17554             description { state: "selected" 0.0;
17555                inherit: "default" 0.0;
17556                visible: 1;
17557                color: 255 255 255 255;
17558             }
17559          }
17560          part { name: "disclip";
17561             type: RECT;
17562             description { state: "default" 0.0;
17563                rel1.to: "bg";
17564                rel2.to: "bg";
17565             }
17566             description { state: "disabled" 0.0;
17567                inherit: "default" 0.0;
17568                color: 255 255 255 64;
17569             }
17570          }
17571       }
17572       programs {
17573          // signal: elm,state,%s,active
17574          //   a "check" item named %s went active
17575          // signal: elm,state,%s,passive
17576          //   a "check" item named %s went passive
17577          // default is passive
17578          program {
17579             name:    "go_active";
17580             signal:  "elm,state,selected";
17581             source:  "elm";
17582             action:  STATE_SET "selected" 0.0;
17583             target:  "bg";
17584             target:  "fg1";
17585             target:  "fg2";
17586             target:  "elm.text";
17587          }
17588          program {
17589             name:    "go_passive";
17590             signal:  "elm,state,unselected";
17591             source:  "elm";
17592             action:  STATE_SET "default" 0.0;
17593             target:  "bg";
17594             target:  "fg1";
17595             target:  "fg2";
17596             target:  "elm.text";
17597             transition: LINEAR 0.1;
17598          }
17599          program {
17600             name:    "go_disabled";
17601             signal:  "elm,state,disabled";
17602             source:  "elm";
17603             action:  STATE_SET "disabled" 0.0;
17604             target:  "disclip";
17605          }
17606          program {
17607             name:    "go_enabled";
17608             signal:  "elm,state,enabled";
17609             source:  "elm";
17610             action:  STATE_SET "default" 0.0;
17611             target:  "disclip";
17612          }
17613       }
17614    }
17615
17616    group { name: "elm/genlist/tree/default/default";
17617       data.item: "stacking" "above";
17618       data.item: "selectraise" "on";
17619       data.item: "labels" "elm.text";
17620       data.item: "icons" "elm.swallow.icon elm.swallow.end";
17621       data.item: "treesize" "20";
17622 //      data.item: "states" "";
17623       images {
17624          image: "bt_sm_base1.png" COMP;
17625          image: "bt_sm_shine.png" COMP;
17626          image: "bt_sm_hilight.png" COMP;
17627          image: "ilist_1.png" COMP;
17628          image: "ilist_item_shadow.png" COMP;
17629          image: "icon_arrow_right.png" COMP;
17630          image: "icon_arrow_down.png" COMP;
17631       }
17632       parts {
17633          part {
17634             name:           "event";
17635             type:           RECT;
17636             repeat_events: 1;
17637             description {
17638                state: "default" 0.0;
17639                color: 0 0 0 0;
17640             }
17641          }
17642          part {
17643             name: "base_sh";
17644             mouse_events: 0;
17645             description {
17646                state: "default" 0.0;
17647                align: 0.0 0.0;
17648                min: 0 10;
17649                fixed: 1 1;
17650                rel1 {
17651                   to: "base";
17652                   relative: 0.0 1.0;
17653                   offset: 0 0;
17654                }
17655                rel2 {
17656                   to: "base";
17657                   relative: 1.0 1.0;
17658                   offset: -1 0;
17659                }
17660                image {
17661                   normal: "ilist_item_shadow.png";
17662                }
17663                fill.smooth: 0;
17664             }
17665          }
17666          part {
17667             name: "base";
17668             mouse_events: 0;
17669             description {
17670                state: "default" 0.0;
17671                image {
17672                   normal: "ilist_1.png";
17673                   border: 2 2 2 2;
17674                }
17675                fill.smooth: 0;
17676             }
17677          }
17678          part { name: "bg";
17679             clip_to: "disclip";
17680             mouse_events: 0;
17681             description { state: "default" 0.0;
17682                visible: 0;
17683                color: 255 255 255 0;
17684                rel1 {
17685                   relative: 0.0 0.0;
17686                   offset: -5 -5;
17687                }
17688                rel2 {
17689                   relative: 1.0 1.0;
17690                   offset: 4 4;
17691                }
17692                image {
17693                   normal: "bt_sm_base1.png";
17694                   border: 6 6 6 6;
17695                }
17696                image.middle: SOLID;
17697             }
17698             description { state: "selected" 0.0;
17699                inherit: "default" 0.0;
17700                visible: 1;
17701                color: 255 255 255 255;
17702                rel1 {
17703                   relative: 0.0 0.0;
17704                   offset: -2 -2;
17705                }
17706                rel2 {
17707                   relative: 1.0 1.0;
17708                   offset: 1 1;
17709                }
17710             }
17711          }
17712          part { name: "elm.swallow.pad";
17713             type: SWALLOW;
17714             description { state: "default" 0.0;
17715                fixed: 1 0;
17716                align: 0.0 0.5;
17717                rel1 {
17718                   relative: 0.0  0.0;
17719                   offset:   4    4;
17720                }
17721                rel2 {
17722                   relative: 0.0  1.0;
17723                   offset:   4   -5;
17724                }
17725             }
17726          }
17727          part { name: "arrow";
17728             clip_to: "disclip";
17729             ignore_flags: ON_HOLD;
17730             description { state: "default" 0.0;
17731                fixed: 1 0;
17732                align: 0.0 0.5;
17733                aspect: 1.0 1.0;
17734                rel1 {
17735                   to_x: "elm.swallow.pad";
17736                   relative: 1.0  0.0;
17737                   offset:   -1    4;
17738                }
17739                rel2 {
17740                   to_x: "elm.swallow.pad";
17741                   relative: 1.0  1.0;
17742                   offset:   -1   -5;
17743                }
17744                image.normal: "icon_arrow_right.png";
17745             }
17746             description { state: "active" 0.0;
17747                inherit: "default" 0.0;
17748                image.normal: "icon_arrow_down.png";
17749             }
17750          }
17751          part { name: "elm.swallow.icon";
17752             clip_to: "disclip";
17753             type: SWALLOW;
17754             description { state: "default" 0.0;
17755                fixed: 1 0;
17756                align: 0.0 0.5;
17757                rel1 {
17758                   to_x: "arrow";
17759                   relative: 1.0  0.0;
17760                   offset:   4    4;
17761                }
17762                rel2 {
17763                   to_x: "arrow";
17764                   relative: 1.0  1.0;
17765                   offset:   4   -5;
17766                }
17767             }
17768          }
17769          part { name: "elm.swallow.end";
17770             clip_to: "disclip";
17771             type: SWALLOW;
17772             description { state: "default" 0.0;
17773                fixed: 1 0;
17774                align: 1.0 0.5;
17775                aspect: 1.0 1.0;
17776                aspect_preference: VERTICAL;
17777                rel1 {
17778                   relative: 1.0  0.0;
17779                   offset:   -5    4;
17780                }
17781                rel2 {
17782                   relative: 1.0  1.0;
17783                   offset:   -5   -5;
17784                }
17785             }
17786          }
17787          part { name: "elm.text";
17788             clip_to: "disclip";
17789             type:           TEXT;
17790             effect:         SOFT_SHADOW;
17791             mouse_events:   0;
17792             scale: 1;
17793             description {
17794                state: "default" 0.0;
17795 //               min: 16 16;
17796                rel1 {
17797                   to_x:     "elm.swallow.icon";
17798                   relative: 1.0  0.0;
17799                   offset:   0 4;
17800                }
17801                rel2 {
17802                   to_x:     "elm.swallow.end";
17803                   relative: 0.0  1.0;
17804                   offset:   -1 -5;
17805                }
17806                color: 0 0 0 255;
17807                color3: 0 0 0 0;
17808                text {
17809                   font: "Sans";
17810                   size: 10;
17811                   min: 1 1;
17812 //                  min: 0 1;
17813                   align: 0.0 0.5;
17814                   text_class: "list_item";
17815                }
17816             }
17817             description { state: "selected" 0.0;
17818                inherit: "default" 0.0;
17819                color: 224 224 224 255;
17820                color3: 0 0 0 64;
17821             }
17822          }
17823          part { name: "fg1";
17824             clip_to: "disclip";
17825             mouse_events: 0;
17826             description { state: "default" 0.0;
17827                visible: 0;
17828                color: 255 255 255 0;
17829                rel1.to: "bg";
17830                rel2.relative: 1.0 0.5;
17831                rel2.to: "bg";
17832                image {
17833                   normal: "bt_sm_hilight.png";
17834                   border: 6 6 6 0;
17835                }
17836             }
17837             description { state: "selected" 0.0;
17838                inherit: "default" 0.0;
17839                visible: 1;
17840                color: 255 255 255 255;
17841             }
17842          }
17843          part { name: "fg2";
17844             clip_to: "disclip";
17845             mouse_events: 0;
17846             description { state: "default" 0.0;
17847                visible: 0;
17848                color: 255 255 255 0;
17849                rel1.to: "bg";
17850                rel2.to: "bg";
17851                image {
17852                   normal: "bt_sm_shine.png";
17853                   border: 6 6 6 0;
17854                }
17855             }
17856             description { state: "selected" 0.0;
17857                inherit: "default" 0.0;
17858                visible: 1;
17859                color: 255 255 255 255;
17860             }
17861          }
17862          part { name: "disclip";
17863             type: RECT;
17864             description { state: "default" 0.0;
17865                rel1.to: "bg";
17866                rel2.to: "bg";
17867             }
17868             description { state: "disabled" 0.0;
17869                inherit: "default" 0.0;
17870                color: 255 255 255 64;
17871             }
17872          }
17873       }
17874       programs {
17875          // signal: elm,state,%s,active
17876          //   a "check" item named %s went active
17877          // signal: elm,state,%s,passive
17878          //   a "check" item named %s went passive
17879          // default is passive
17880          program {
17881             name:    "go_active";
17882             signal:  "elm,state,selected";
17883             source:  "elm";
17884             action:  STATE_SET "selected" 0.0;
17885             target:  "bg";
17886             target:  "fg1";
17887             target:  "fg2";
17888             target:  "elm.text";
17889          }
17890          program {
17891             name:    "go_passive";
17892             signal:  "elm,state,unselected";
17893             source:  "elm";
17894             action:  STATE_SET "default" 0.0;
17895             target:  "bg";
17896             target:  "fg1";
17897             target:  "fg2";
17898             target:  "elm.text";
17899             transition: LINEAR 0.1;
17900          }
17901          program {
17902             name:    "go_disabled";
17903             signal:  "elm,state,disabled";
17904             source:  "elm";
17905             action:  STATE_SET "disabled" 0.0;
17906             target:  "disclip";
17907          }
17908          program {
17909             name:    "go_enabled";
17910             signal:  "elm,state,enabled";
17911             source:  "elm";
17912             action:  STATE_SET "default" 0.0;
17913             target:  "disclip";
17914          }
17915          program {
17916             name:    "expand";
17917             signal:  "mouse,up,1";
17918             source:  "arrow";
17919             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
17920          }
17921          program {
17922             name:    "go_expanded";
17923             signal:  "elm,state,expanded";
17924             source:  "elm";
17925             action:  STATE_SET "active" 0.0;
17926             target:  "arrow";
17927          }
17928          program {
17929             name:    "go_contracted";
17930             signal:  "elm,state,contracted";
17931             source:  "elm";
17932             action:  STATE_SET "default" 0.0;
17933             target:  "arrow";
17934          }
17935       }
17936    }
17937    group { name: "elm/genlist/tree_compress/default/default";
17938       data.item: "stacking" "above";
17939       data.item: "selectraise" "on";
17940       data.item: "labels" "elm.text";
17941       data.item: "icons" "elm.swallow.icon elm.swallow.end";
17942       data.item: "treesize" "20";
17943 //      data.item: "states" "";
17944       images {
17945          image: "bt_sm_base1.png" COMP;
17946          image: "bt_sm_shine.png" COMP;
17947          image: "bt_sm_hilight.png" COMP;
17948          image: "ilist_1.png" COMP;
17949          image: "ilist_item_shadow.png" COMP;
17950          image: "icon_arrow_right.png" COMP;
17951          image: "icon_arrow_down.png" COMP;
17952       }
17953       parts {
17954          part {
17955             name:           "event";
17956             type:           RECT;
17957             repeat_events: 1;
17958             description {
17959                state: "default" 0.0;
17960                color: 0 0 0 0;
17961             }
17962          }
17963          part {
17964             name: "base_sh";
17965             mouse_events: 0;
17966             description {
17967                state: "default" 0.0;
17968                align: 0.0 0.0;
17969                min: 0 10;
17970                fixed: 1 1;
17971                rel1 {
17972                   to: "base";
17973                   relative: 0.0 1.0;
17974                   offset: 0 0;
17975                }
17976                rel2 {
17977                   to: "base";
17978                   relative: 1.0 1.0;
17979                   offset: -1 0;
17980                }
17981                image {
17982                   normal: "ilist_item_shadow.png";
17983                }
17984                fill.smooth: 0;
17985             }
17986          }
17987          part {
17988             name: "base";
17989             mouse_events: 0;
17990             description {
17991                state: "default" 0.0;
17992                image {
17993                   normal: "ilist_1.png";
17994                   border: 2 2 2 2;
17995                }
17996                fill.smooth: 0;
17997             }
17998          }
17999          part { name: "bg";
18000             clip_to: "disclip";
18001             mouse_events: 0;
18002             description { state: "default" 0.0;
18003                visible: 0;
18004                color: 255 255 255 0;
18005                rel1 {
18006                   relative: 0.0 0.0;
18007                   offset: -5 -5;
18008                }
18009                rel2 {
18010                   relative: 1.0 1.0;
18011                   offset: 4 4;
18012                }
18013                image {
18014                   normal: "bt_sm_base1.png";
18015                   border: 6 6 6 6;
18016                }
18017                image.middle: SOLID;
18018             }
18019             description { state: "selected" 0.0;
18020                inherit: "default" 0.0;
18021                visible: 1;
18022                color: 255 255 255 255;
18023                rel1 {
18024                   relative: 0.0 0.0;
18025                   offset: -2 -2;
18026                }
18027                rel2 {
18028                   relative: 1.0 1.0;
18029                   offset: 1 1;
18030                }
18031             }
18032          }
18033          part { name: "elm.swallow.pad";
18034             type: SWALLOW;
18035             description { state: "default" 0.0;
18036                fixed: 1 0;
18037                align: 0.0 0.5;
18038                rel1 {
18039                   relative: 0.0  0.0;
18040                   offset:   4    4;
18041                }
18042                rel2 {
18043                   relative: 0.0  1.0;
18044                   offset:   4   -5;
18045                }
18046             }
18047          }
18048          part { name: "arrow";
18049             clip_to: "disclip";
18050             ignore_flags: ON_HOLD;
18051             description { state: "default" 0.0;
18052                fixed: 1 0;
18053                align: 0.0 0.5;
18054                aspect: 1.0 1.0;
18055                rel1 {
18056                   to_x: "elm.swallow.pad";
18057                   relative: 1.0  0.0;
18058                   offset:   -1    4;
18059                }
18060                rel2 {
18061                   to_x: "elm.swallow.pad";
18062                   relative: 1.0  1.0;
18063                   offset:   -1   -5;
18064                }
18065                image.normal: "icon_arrow_right.png";
18066             }
18067             description { state: "active" 0.0;
18068                inherit: "default" 0.0;
18069                image.normal: "icon_arrow_down.png";
18070             }
18071          }
18072          part { name: "elm.swallow.icon";
18073             clip_to: "disclip";
18074             type: SWALLOW;
18075             description { state: "default" 0.0;
18076                fixed: 1 0;
18077                align: 0.0 0.5;
18078                rel1 {
18079                   to_x: "arrow";
18080                   relative: 1.0  0.0;
18081                   offset:   4    4;
18082                }
18083                rel2 {
18084                   to_x: "arrow";
18085                   relative: 1.0  1.0;
18086                   offset:   4   -5;
18087                }
18088             }
18089          }
18090          part { name: "elm.swallow.end";
18091             clip_to: "disclip";
18092             type: SWALLOW;
18093             description { state: "default" 0.0;
18094                fixed: 1 0;
18095                align: 1.0 0.5;
18096                aspect: 1.0 1.0;
18097                aspect_preference: VERTICAL;
18098                rel1 {
18099                   relative: 1.0  0.0;
18100                   offset:   -5    4;
18101                }
18102                rel2 {
18103                   relative: 1.0  1.0;
18104                   offset:   -5   -5;
18105                }
18106             }
18107          }
18108          part { name: "elm.text";
18109             clip_to: "disclip";
18110             type:           TEXT;
18111             effect:         SOFT_SHADOW;
18112             mouse_events:   0;
18113             scale: 1;
18114             description {
18115                state: "default" 0.0;
18116 //               min: 16 16;
18117                rel1 {
18118                   to_x:     "elm.swallow.icon";
18119                   relative: 1.0  0.0;
18120                   offset:   0 4;
18121                }
18122                rel2 {
18123                   to_x:     "elm.swallow.end";
18124                   relative: 0.0  1.0;
18125                   offset:   -1 -5;
18126                }
18127                color: 0 0 0 255;
18128                color3: 0 0 0 0;
18129                text {
18130                   font: "Sans";
18131                   size: 10;
18132 //                  min: 1 1;
18133                   min: 0 1;
18134                   align: 0.0 0.5;
18135                   text_class: "list_item";
18136                }
18137             }
18138             description { state: "selected" 0.0;
18139                inherit: "default" 0.0;
18140                color: 224 224 224 255;
18141                color3: 0 0 0 64;
18142             }
18143          }
18144          part { name: "fg1";
18145             clip_to: "disclip";
18146             mouse_events: 0;
18147             description { state: "default" 0.0;
18148                visible: 0;
18149                color: 255 255 255 0;
18150                rel1.to: "bg";
18151                rel2.relative: 1.0 0.5;
18152                rel2.to: "bg";
18153                image {
18154                   normal: "bt_sm_hilight.png";
18155                   border: 6 6 6 0;
18156                }
18157             }
18158             description { state: "selected" 0.0;
18159                inherit: "default" 0.0;
18160                visible: 1;
18161                color: 255 255 255 255;
18162             }
18163          }
18164          part { name: "fg2";
18165             clip_to: "disclip";
18166             mouse_events: 0;
18167             description { state: "default" 0.0;
18168                visible: 0;
18169                color: 255 255 255 0;
18170                rel1.to: "bg";
18171                rel2.to: "bg";
18172                image {
18173                   normal: "bt_sm_shine.png";
18174                   border: 6 6 6 0;
18175                }
18176             }
18177             description { state: "selected" 0.0;
18178                inherit: "default" 0.0;
18179                visible: 1;
18180                color: 255 255 255 255;
18181             }
18182          }
18183          part { name: "disclip";
18184             type: RECT;
18185             description { state: "default" 0.0;
18186                rel1.to: "bg";
18187                rel2.to: "bg";
18188             }
18189             description { state: "disabled" 0.0;
18190                inherit: "default" 0.0;
18191                color: 255 255 255 64;
18192             }
18193          }
18194       }
18195       programs {
18196          // signal: elm,state,%s,active
18197          //   a "check" item named %s went active
18198          // signal: elm,state,%s,passive
18199          //   a "check" item named %s went passive
18200          // default is passive
18201          program {
18202             name:    "go_active";
18203             signal:  "elm,state,selected";
18204             source:  "elm";
18205             action:  STATE_SET "selected" 0.0;
18206             target:  "bg";
18207             target:  "fg1";
18208             target:  "fg2";
18209             target:  "elm.text";
18210          }
18211          program {
18212             name:    "go_passive";
18213             signal:  "elm,state,unselected";
18214             source:  "elm";
18215             action:  STATE_SET "default" 0.0;
18216             target:  "bg";
18217             target:  "fg1";
18218             target:  "fg2";
18219             target:  "elm.text";
18220             transition: LINEAR 0.1;
18221          }
18222          program {
18223             name:    "go_disabled";
18224             signal:  "elm,state,disabled";
18225             source:  "elm";
18226             action:  STATE_SET "disabled" 0.0;
18227             target:  "disclip";
18228          }
18229          program {
18230             name:    "go_enabled";
18231             signal:  "elm,state,enabled";
18232             source:  "elm";
18233             action:  STATE_SET "default" 0.0;
18234             target:  "disclip";
18235          }
18236          program {
18237             name:    "expand";
18238             signal:  "mouse,up,1";
18239             source:  "arrow";
18240             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
18241          }
18242          program {
18243             name:    "go_expanded";
18244             signal:  "elm,state,expanded";
18245             source:  "elm";
18246             action:  STATE_SET "active" 0.0;
18247             target:  "arrow";
18248          }
18249          program {
18250             name:    "go_contracted";
18251             signal:  "elm,state,contracted";
18252             source:  "elm";
18253             action:  STATE_SET "default" 0.0;
18254             target:  "arrow";
18255          }
18256       }
18257    }
18258    group { name: "elm/genlist/tree_odd/default/default";
18259       data.item: "stacking" "below";
18260       data.item: "selectraise" "on";
18261       data.item: "labels" "elm.text";
18262       data.item: "icons" "elm.swallow.icon elm.swallow.end";
18263       data.item: "treesize" "20";
18264 //      data.item: "states" "";
18265       images {
18266          image: "bt_sm_base1.png" COMP;
18267          image: "bt_sm_shine.png" COMP;
18268          image: "bt_sm_hilight.png" COMP;
18269          image: "ilist_2.png" COMP;
18270          image: "icon_arrow_right.png" COMP;
18271          image: "icon_arrow_down.png" COMP;
18272       }
18273       parts {
18274          part {
18275             name:           "event";
18276             type:           RECT;
18277             repeat_events: 1;
18278             description {
18279                state: "default" 0.0;
18280                color: 0 0 0 0;
18281             }
18282          }
18283          part {
18284             name: "base";
18285             mouse_events: 0;
18286             description {
18287                state: "default" 0.0;
18288                image {
18289                   normal: "ilist_2.png";
18290                   border: 2 2 2 2;
18291                }
18292                fill.smooth: 0;
18293             }
18294          }
18295          part { name: "bg";
18296             clip_to: "disclip";
18297             mouse_events: 0;
18298             description { state: "default" 0.0;
18299                visible: 0;
18300                color: 255 255 255 0;
18301                rel1 {
18302                   relative: 0.0 0.0;
18303                   offset: -5 -5;
18304                }
18305                rel2 {
18306                   relative: 1.0 1.0;
18307                   offset: 4 4;
18308                }
18309                image {
18310                   normal: "bt_sm_base1.png";
18311                   border: 6 6 6 6;
18312                }
18313                image.middle: SOLID;
18314             }
18315             description { state: "selected" 0.0;
18316                inherit: "default" 0.0;
18317                visible: 1;
18318                color: 255 255 255 255;
18319                rel1 {
18320                   relative: 0.0 0.0;
18321                   offset: -2 -2;
18322                }
18323                rel2 {
18324                   relative: 1.0 1.0;
18325                   offset: 1 1;
18326                }
18327             }
18328          }
18329          part { name: "elm.swallow.pad";
18330             type: SWALLOW;
18331             description { state: "default" 0.0;
18332                fixed: 1 0;
18333                align: 0.0 0.5;
18334                rel1 {
18335                   relative: 0.0  0.0;
18336                   offset:   4    4;
18337                }
18338                rel2 {
18339                   relative: 0.0  1.0;
18340                   offset:   4   -5;
18341                }
18342             }
18343          }
18344          part { name: "arrow";
18345             clip_to: "disclip";
18346             ignore_flags: ON_HOLD;
18347             description { state: "default" 0.0;
18348                fixed: 1 0;
18349                align: 0.0 0.5;
18350                aspect: 1.0 1.0;
18351                rel1 {
18352                   to_x: "elm.swallow.pad";
18353                   relative: 1.0  0.0;
18354                   offset:   -1    4;
18355                }
18356                rel2 {
18357                   to_x: "elm.swallow.pad";
18358                   relative: 1.0  1.0;
18359                   offset:   -1   -5;
18360                }
18361                image.normal: "icon_arrow_right.png";
18362             }
18363             description { state: "active" 0.0;
18364                inherit: "default" 0.0;
18365                image.normal: "icon_arrow_down.png";
18366             }
18367          }
18368          part { name: "elm.swallow.icon";
18369             clip_to: "disclip";
18370             type: SWALLOW;
18371             description { state: "default" 0.0;
18372                fixed: 1 0;
18373                align: 0.0 0.5;
18374                rel1 {
18375                   to_x: "arrow";
18376                   relative: 1.0  0.0;
18377                   offset:   4    4;
18378                }
18379                rel2 {
18380                   to_x: "arrow";
18381                   relative: 1.0  1.0;
18382                   offset:   4   -5;
18383                }
18384             }
18385          }
18386          part { name: "elm.swallow.end";
18387             clip_to: "disclip";
18388             type: SWALLOW;
18389             description { state: "default" 0.0;
18390                fixed: 1 0;
18391                align: 1.0 0.5;
18392                aspect: 1.0 1.0;
18393                aspect_preference: VERTICAL;
18394                rel1 {
18395                   relative: 1.0  0.0;
18396                   offset:   -5    4;
18397                }
18398                rel2 {
18399                   relative: 1.0  1.0;
18400                   offset:   -5   -5;
18401                }
18402             }
18403          }
18404          part { name: "elm.text";
18405             clip_to: "disclip";
18406             type:           TEXT;
18407             effect:         SOFT_SHADOW;
18408             mouse_events:   0;
18409             scale: 1;
18410             description {
18411                state: "default" 0.0;
18412 //               min: 16 16;
18413                rel1 {
18414                   to_x:     "elm.swallow.icon";
18415                   relative: 1.0  0.0;
18416                   offset:   0 4;
18417                }
18418                rel2 {
18419                   to_x:     "elm.swallow.end";
18420                   relative: 0.0  1.0;
18421                   offset:   -1 -5;
18422                }
18423                color: 0 0 0 255;
18424                color3: 0 0 0 0;
18425                text {
18426                   font: "Sans";
18427                   size: 10;
18428                   min: 1 1;
18429 //                  min: 0 1;
18430                   align: 0.0 0.5;
18431                   text_class: "list_item";
18432                }
18433             }
18434             description { state: "selected" 0.0;
18435                inherit: "default" 0.0;
18436                color: 224 224 224 255;
18437                color3: 0 0 0 64;
18438             }
18439          }
18440          part { name: "fg1";
18441             clip_to: "disclip";
18442             mouse_events: 0;
18443             description { state: "default" 0.0;
18444                visible: 0;
18445                color: 255 255 255 0;
18446                rel1.to: "bg";
18447                rel2.relative: 1.0 0.5;
18448                rel2.to: "bg";
18449                image {
18450                   normal: "bt_sm_hilight.png";
18451                   border: 6 6 6 0;
18452                }
18453             }
18454             description { state: "selected" 0.0;
18455                inherit: "default" 0.0;
18456                visible: 1;
18457                color: 255 255 255 255;
18458             }
18459          }
18460          part { name: "fg2";
18461             clip_to: "disclip";
18462             mouse_events: 0;
18463             description { state: "default" 0.0;
18464                visible: 0;
18465                color: 255 255 255 0;
18466                rel1.to: "bg";
18467                rel2.to: "bg";
18468                image {
18469                   normal: "bt_sm_shine.png";
18470                   border: 6 6 6 0;
18471                }
18472             }
18473             description { state: "selected" 0.0;
18474                inherit: "default" 0.0;
18475                visible: 1;
18476                color: 255 255 255 255;
18477             }
18478          }
18479          part { name: "disclip";
18480             type: RECT;
18481             description { state: "default" 0.0;
18482                rel1.to: "bg";
18483                rel2.to: "bg";
18484             }
18485             description { state: "disabled" 0.0;
18486                inherit: "default" 0.0;
18487                color: 255 255 255 64;
18488             }
18489          }
18490       }
18491       programs {
18492          // signal: elm,state,%s,active
18493          //   a "check" item named %s went active
18494          // signal: elm,state,%s,passive
18495          //   a "check" item named %s went passive
18496          // default is passive
18497          program {
18498             name:    "go_active";
18499             signal:  "elm,state,selected";
18500             source:  "elm";
18501             action:  STATE_SET "selected" 0.0;
18502             target:  "bg";
18503             target:  "fg1";
18504             target:  "fg2";
18505             target:  "elm.text";
18506          }
18507          program {
18508             name:    "go_passive";
18509             signal:  "elm,state,unselected";
18510             source:  "elm";
18511             action:  STATE_SET "default" 0.0;
18512             target:  "bg";
18513             target:  "fg1";
18514             target:  "fg2";
18515             target:  "elm.text";
18516             transition: LINEAR 0.1;
18517          }
18518          program {
18519             name:    "go_disabled";
18520             signal:  "elm,state,disabled";
18521             source:  "elm";
18522             action:  STATE_SET "disabled" 0.0;
18523             target:  "disclip";
18524          }
18525          program {
18526             name:    "go_enabled";
18527             signal:  "elm,state,enabled";
18528             source:  "elm";
18529             action:  STATE_SET "default" 0.0;
18530             target:  "disclip";
18531          }
18532          program {
18533             name:    "expand";
18534             signal:  "mouse,up,1";
18535             source:  "arrow";
18536             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
18537          }
18538          program {
18539             name:    "go_expanded";
18540             signal:  "elm,state,expanded";
18541             source:  "elm";
18542             action:  STATE_SET "active" 0.0;
18543             target:  "arrow";
18544          }
18545          program {
18546             name:    "go_contracted";
18547             signal:  "elm,state,contracted";
18548             source:  "elm";
18549             action:  STATE_SET "default" 0.0;
18550             target:  "arrow";
18551          }
18552       }
18553    }
18554    group { name: "elm/genlist/tree_compress_odd/default/default";
18555       data.item: "stacking" "below";
18556       data.item: "selectraise" "on";
18557       data.item: "labels" "elm.text";
18558       data.item: "icons" "elm.swallow.icon elm.swallow.end";
18559       data.item: "treesize" "20";
18560 //      data.item: "states" "";
18561       images {
18562          image: "bt_sm_base1.png" COMP;
18563          image: "bt_sm_shine.png" COMP;
18564          image: "bt_sm_hilight.png" COMP;
18565          image: "ilist_2.png" COMP;
18566          image: "icon_arrow_right.png" COMP;
18567          image: "icon_arrow_down.png" COMP;
18568       }
18569       parts {
18570          part {
18571             name:           "event";
18572             type:           RECT;
18573             repeat_events: 1;
18574             description {
18575                state: "default" 0.0;
18576                color: 0 0 0 0;
18577             }
18578          }
18579          part {
18580             name: "base";
18581             mouse_events: 0;
18582             description {
18583                state: "default" 0.0;
18584                image {
18585                   normal: "ilist_2.png";
18586                   border: 2 2 2 2;
18587                }
18588                fill.smooth: 0;
18589             }
18590          }
18591          part { name: "bg";
18592             clip_to: "disclip";
18593             mouse_events: 0;
18594             description { state: "default" 0.0;
18595                visible: 0;
18596                color: 255 255 255 0;
18597                rel1 {
18598                   relative: 0.0 0.0;
18599                   offset: -5 -5;
18600                }
18601                rel2 {
18602                   relative: 1.0 1.0;
18603                   offset: 4 4;
18604                }
18605                image {
18606                   normal: "bt_sm_base1.png";
18607                   border: 6 6 6 6;
18608                }
18609                image.middle: SOLID;
18610             }
18611             description { state: "selected" 0.0;
18612                inherit: "default" 0.0;
18613                visible: 1;
18614                color: 255 255 255 255;
18615                rel1 {
18616                   relative: 0.0 0.0;
18617                   offset: -2 -2;
18618                }
18619                rel2 {
18620                   relative: 1.0 1.0;
18621                   offset: 1 1;
18622                }
18623             }
18624          }
18625          part { name: "elm.swallow.pad";
18626             type: SWALLOW;
18627             description { state: "default" 0.0;
18628                fixed: 1 0;
18629                align: 0.0 0.5;
18630                rel1 {
18631                   relative: 0.0  0.0;
18632                   offset:   4    4;
18633                }
18634                rel2 {
18635                   relative: 0.0  1.0;
18636                   offset:   4   -5;
18637                }
18638             }
18639          }
18640          part { name: "arrow";
18641             clip_to: "disclip";
18642             ignore_flags: ON_HOLD;
18643             description { state: "default" 0.0;
18644                fixed: 1 0;
18645                align: 0.0 0.5;
18646                aspect: 1.0 1.0;
18647                rel1 {
18648                   to_x: "elm.swallow.pad";
18649                   relative: 1.0  0.0;
18650                   offset:   -1    4;
18651                }
18652                rel2 {
18653                   to_x: "elm.swallow.pad";
18654                   relative: 1.0  1.0;
18655                   offset:   -1   -5;
18656                }
18657                image.normal: "icon_arrow_right.png";
18658             }
18659             description { state: "active" 0.0;
18660                inherit: "default" 0.0;
18661                image.normal: "icon_arrow_down.png";
18662             }
18663          }
18664          part { name: "elm.swallow.icon";
18665             clip_to: "disclip";
18666             type: SWALLOW;
18667             description { state: "default" 0.0;
18668                fixed: 1 0;
18669                align: 0.0 0.5;
18670                rel1 {
18671                   to_x: "arrow";
18672                   relative: 1.0  0.0;
18673                   offset:   4    4;
18674                }
18675                rel2 {
18676                   to_x: "arrow";
18677                   relative: 1.0  1.0;
18678                   offset:   4   -5;
18679                }
18680             }
18681          }
18682          part { name: "elm.swallow.end";
18683             clip_to: "disclip";
18684             type: SWALLOW;
18685             description { state: "default" 0.0;
18686                fixed: 1 0;
18687                align: 1.0 0.5;
18688                aspect: 1.0 1.0;
18689                aspect_preference: VERTICAL;
18690                rel1 {
18691                   relative: 1.0  0.0;
18692                   offset:   -5    4;
18693                }
18694                rel2 {
18695                   relative: 1.0  1.0;
18696                   offset:   -5   -5;
18697                }
18698             }
18699          }
18700          part { name: "elm.text";
18701             clip_to: "disclip";
18702             type:           TEXT;
18703             effect:         SOFT_SHADOW;
18704             mouse_events:   0;
18705             scale: 1;
18706             description {
18707                state: "default" 0.0;
18708 //               min: 16 16;
18709                rel1 {
18710                   to_x:     "elm.swallow.icon";
18711                   relative: 1.0  0.0;
18712                   offset:   0 4;
18713                }
18714                rel2 {
18715                   to_x:     "elm.swallow.end";
18716                   relative: 0.0  1.0;
18717                   offset:   -1 -5;
18718                }
18719                color: 0 0 0 255;
18720                color3: 0 0 0 0;
18721                text {
18722                   font: "Sans";
18723                   size: 10;
18724 //                  min: 1 1;
18725                   min: 0 1;
18726                   align: 0.0 0.5;
18727                   text_class: "list_item";
18728                }
18729             }
18730             description { state: "selected" 0.0;
18731                inherit: "default" 0.0;
18732                color: 224 224 224 255;
18733                color3: 0 0 0 64;
18734             }
18735          }
18736          part { name: "fg1";
18737             clip_to: "disclip";
18738             mouse_events: 0;
18739             description { state: "default" 0.0;
18740                visible: 0;
18741                color: 255 255 255 0;
18742                rel1.to: "bg";
18743                rel2.relative: 1.0 0.5;
18744                rel2.to: "bg";
18745                image {
18746                   normal: "bt_sm_hilight.png";
18747                   border: 6 6 6 0;
18748                }
18749             }
18750             description { state: "selected" 0.0;
18751                inherit: "default" 0.0;
18752                visible: 1;
18753                color: 255 255 255 255;
18754             }
18755          }
18756          part { name: "fg2";
18757             clip_to: "disclip";
18758             mouse_events: 0;
18759             description { state: "default" 0.0;
18760                visible: 0;
18761                color: 255 255 255 0;
18762                rel1.to: "bg";
18763                rel2.to: "bg";
18764                image {
18765                   normal: "bt_sm_shine.png";
18766                   border: 6 6 6 0;
18767                }
18768             }
18769             description { state: "selected" 0.0;
18770                inherit: "default" 0.0;
18771                visible: 1;
18772                color: 255 255 255 255;
18773             }
18774          }
18775          part { name: "disclip";
18776             type: RECT;
18777             description { state: "default" 0.0;
18778                rel1.to: "bg";
18779                rel2.to: "bg";
18780             }
18781             description { state: "disabled" 0.0;
18782                inherit: "default" 0.0;
18783                color: 255 255 255 64;
18784             }
18785          }
18786       }
18787       programs {
18788          // signal: elm,state,%s,active
18789          //   a "check" item named %s went active
18790          // signal: elm,state,%s,passive
18791          //   a "check" item named %s went passive
18792          // default is passive
18793          program {
18794             name:    "go_active";
18795             signal:  "elm,state,selected";
18796             source:  "elm";
18797             action:  STATE_SET "selected" 0.0;
18798             target:  "bg";
18799             target:  "fg1";
18800             target:  "fg2";
18801             target:  "elm.text";
18802          }
18803          program {
18804             name:    "go_passive";
18805             signal:  "elm,state,unselected";
18806             source:  "elm";
18807             action:  STATE_SET "default" 0.0;
18808             target:  "bg";
18809             target:  "fg1";
18810             target:  "fg2";
18811             target:  "elm.text";
18812             transition: LINEAR 0.1;
18813          }
18814          program {
18815             name:    "go_disabled";
18816             signal:  "elm,state,disabled";
18817             source:  "elm";
18818             action:  STATE_SET "disabled" 0.0;
18819             target:  "disclip";
18820          }
18821          program {
18822             name:    "go_enabled";
18823             signal:  "elm,state,enabled";
18824             source:  "elm";
18825             action:  STATE_SET "default" 0.0;
18826             target:  "disclip";
18827          }
18828          program {
18829             name:    "expand";
18830             signal:  "mouse,up,1";
18831             source:  "arrow";
18832             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
18833          }
18834          program {
18835             name:    "go_expanded";
18836             signal:  "elm,state,expanded";
18837             source:  "elm";
18838             action:  STATE_SET "active" 0.0;
18839             target:  "arrow";
18840          }
18841          program {
18842             name:    "go_contracted";
18843             signal:  "elm,state,contracted";
18844             source:  "elm";
18845             action:  STATE_SET "default" 0.0;
18846             target:  "arrow";
18847          }
18848       }
18849    }
18850
18851    group { name: "elm/genlist/item/default_style/default";
18852        styles
18853        {
18854            style { name: "genlist_style";
18855                base: "font=Sans font_size=10 align=left valign=0.5 color=#000 text_class=list_item";
18856                tag:  "br" "\n";
18857                tag:  "ps" "ps";
18858                tag:  "hilight" "+ font=Sans:style=Bold";
18859                tag:  "b" "+ font=Sans:style=Bold";
18860                tag:  "tab" "\t";
18861            }
18862            style { name: "genlist_selected_style";
18863                base: "font=Sans font_size=10 align=left valign=0.5 color=#fff text_class=list_item";
18864                tag:  "br" "\n";
18865                tag:  "ps" "ps";
18866                tag:  "hilight" "+ font=Sans:style=Bold";
18867                tag:  "b" "+ font=Sans:style=Bold";
18868                tag:  "tab" "\t";
18869            }
18870        }
18871        data.item: "stacking" "above";
18872        data.item: "selectraise" "on";
18873        data.item: "labels" "elm.text";
18874        data.item: "icons" "elm.swallow.icon elm.swallow.end";
18875        data.item: "treesize" "20";
18876        images {
18877            image: "bt_sm_base1.png" COMP;
18878            image: "bt_sm_shine.png" COMP;
18879            image: "bt_sm_hilight.png" COMP;
18880            image: "ilist_1.png" COMP;
18881            image: "ilist_item_shadow.png" COMP;
18882        }
18883        parts {
18884            part {
18885                name:           "event";
18886                type:           RECT;
18887                repeat_events: 1;
18888                description {
18889                    state: "default" 0.0;
18890                    color: 0 0 0 0;
18891                }
18892            }
18893            part {
18894                name: "base_sh";
18895                mouse_events: 0;
18896                description {
18897                    state: "default" 0.0;
18898                    align: 0.0 0.0;
18899                    min: 0 10;
18900                    fixed: 1 1;
18901                    rel1 {
18902                        to: "base";
18903                        relative: 0.0 1.0;
18904                        offset: 0 0;
18905                    }
18906                    rel2 {
18907                        to: "base";
18908                        relative: 1.0 1.0;
18909                        offset: -1 0;
18910                    }
18911                    image {
18912                        normal: "ilist_item_shadow.png";
18913                    }
18914                    fill.smooth: 0;
18915                }
18916            }
18917            part {
18918                name: "base";
18919                mouse_events: 0;
18920                description {
18921                    state: "default" 0.0;
18922                    min: 16 28;
18923                    image {
18924                        normal: "ilist_1.png";
18925                        border: 2 2 2 2;
18926                    }
18927                    fill.smooth: 0;
18928                }
18929            }
18930            part { name: "bg";
18931                clip_to: "disclip";
18932                mouse_events: 0;
18933                description { state: "default" 0.0;
18934                    visible: 0;
18935                    color: 255 255 255 0;
18936                    rel1 {
18937                        relative: 0.0 0.0;
18938                        offset: -5 -5;
18939                    }
18940                    rel2 {
18941                        relative: 1.0 1.0;
18942                        offset: 4 4;
18943                    }
18944                    image {
18945                        normal: "bt_sm_base1.png";
18946                        border: 6 6 6 6;
18947                    }
18948                    image.middle: SOLID;
18949                }
18950                description { state: "selected" 0.0;
18951                    inherit: "default" 0.0;
18952                    visible: 1;
18953                    color: 255 255 255 255;
18954                    rel1 {
18955                        relative: 0.0 0.0;
18956                        offset: -2 -2;
18957                    }
18958                    rel2 {
18959                        relative: 1.0 1.0;
18960                        offset: 1 1;
18961                    }
18962                }
18963            }
18964            part { name: "elm.swallow.pad";
18965                type: SWALLOW;
18966                description { state: "default" 0.0;
18967                    fixed: 1 0;
18968                    align: 0.0 0.5;
18969                    rel1 {
18970                        relative: 0.0  0.0;
18971                        offset:   4    4;
18972                    }
18973                    rel2 {
18974                        relative: 0.0  1.0;
18975                        offset:   4   -5;
18976                    }
18977                }
18978            }
18979            part { name: "elm.swallow.icon";
18980                clip_to: "disclip";
18981                type: SWALLOW;
18982                description { state: "default" 0.0;
18983                    fixed: 1 0;
18984                    align: 0.0 0.5;
18985                    rel1 {
18986                        to_x: "elm.swallow.pad";
18987                        relative: 1.0  0.0;
18988                        offset:   -1    4;
18989                    }
18990                    rel2 {
18991                        to_x: "elm.swallow.pad";
18992                        relative: 1.0  1.0;
18993                        offset:   -1   -5;
18994                    }
18995                }
18996            }
18997            part { name: "elm.swallow.end";
18998                clip_to: "disclip";
18999                type: SWALLOW;
19000                description { state: "default" 0.0;
19001                    fixed: 1 0;
19002                    align: 1.0 0.5;
19003                    aspect: 1.0 1.0;
19004                    aspect_preference: VERTICAL;
19005                    rel1 {
19006                        relative: 1.0  0.0;
19007                        offset:   -5    4;
19008                    }
19009                    rel2 {
19010                        relative: 1.0  1.0;
19011                        offset:   -5   -5;
19012                    }
19013                }
19014            }
19015            part { name: "elm.text";
19016                clip_to: "disclip";
19017                type: TEXTBLOCK;
19018                mouse_events: 0;
19019                scale: 1;
19020                description {
19021                    state: "default" 0.0;
19022                    align: 0.0 0.5;
19023                    fixed: 0 1;
19024                    rel1 {
19025                        to_x: "elm.swallow.icon";
19026                        to_y: "base";
19027                        relative: 1.0  0.5;
19028                        offset:   0 4;
19029                    }
19030                    rel2 {
19031                        to_x: "elm.swallow.end";
19032                        to_y: "base";
19033                        relative: 0.0  0.5;
19034                        offset:   -1 -5;
19035                    }
19036                    text {
19037                        style: "genlist_style";
19038                        min: 1 1;
19039                    }
19040                }
19041                description { state: "selected" 0.0;
19042                    inherit: "default" 0.0;
19043                    text {
19044                        style: "genlist_selected_style";
19045                    }
19046                }
19047            }
19048            part { name: "fg1";
19049                clip_to: "disclip";
19050                mouse_events: 0;
19051                description { state: "default" 0.0;
19052                    visible: 0;
19053                    color: 255 255 255 0;
19054                    rel1.to: "bg";
19055                    rel2.relative: 1.0 0.5;
19056                    rel2.to: "bg";
19057                    image {
19058                        normal: "bt_sm_hilight.png";
19059                        border: 6 6 6 0;
19060                    }
19061                }
19062                description { state: "selected" 0.0;
19063                    inherit: "default" 0.0;
19064                    visible: 1;
19065                    color: 255 255 255 255;
19066                }
19067            }
19068            part { name: "fg2";
19069                clip_to: "disclip";
19070                mouse_events: 0;
19071                description { state: "default" 0.0;
19072                    visible: 0;
19073                    color: 255 255 255 0;
19074                    rel1.to: "bg";
19075                    rel2.to: "bg";
19076                    image {
19077                        normal: "bt_sm_shine.png";
19078                        border: 6 6 6 0;
19079                    }
19080                }
19081                description { state: "selected" 0.0;
19082                    inherit: "default" 0.0;
19083                    visible: 1;
19084                    color: 255 255 255 255;
19085                }
19086            }
19087            part { name: "disclip";
19088                type: RECT;
19089                description { state: "default" 0.0;
19090                    rel1.to: "bg";
19091                    rel2.to: "bg";
19092                }
19093                description { state: "disabled" 0.0;
19094                    inherit: "default" 0.0;
19095                    color: 255 255 255 64;
19096                }
19097            }
19098        }
19099        programs {
19100            // signal: elm,state,%s,active
19101            //   a "check" item named %s went active
19102            // signal: elm,state,%s,passive
19103            //   a "check" item named %s went passive
19104            // default is passive
19105            program {
19106                name:    "go_active";
19107                signal:  "elm,state,selected";
19108                source:  "elm";
19109                action:  STATE_SET "selected" 0.0;
19110                target:  "bg";
19111                target:  "fg1";
19112                target:  "fg2";
19113                target:  "elm.text";
19114            }
19115            program {
19116                name:    "go_passive";
19117                signal:  "elm,state,unselected";
19118                source:  "elm";
19119                action:  STATE_SET "default" 0.0;
19120                target:  "bg";
19121                target:  "fg1";
19122                target:  "fg2";
19123                target:  "elm.text";
19124                transition: LINEAR 0.1;
19125            }
19126            program {
19127                name:    "go_disabled";
19128                signal:  "elm,state,disabled";
19129                source:  "elm";
19130                action:  STATE_SET "disabled" 0.0;
19131                target:  "disclip";
19132            }
19133            program {
19134                name:    "go_enabled";
19135                signal:  "elm,state,enabled";
19136                source:  "elm";
19137                action:  STATE_SET "default" 0.0;
19138                target:  "disclip";
19139            }
19140        }
19141    }
19142    group { name: "elm/genlist/item_odd/default_style/default";
19143        data.item: "stacking" "below";
19144        data.item: "selectraise" "on";
19145        data.item: "labels" "elm.text";
19146        data.item: "icons" "elm.swallow.icon elm.swallow.end";
19147        data.item: "treesize" "20";
19148        images {
19149            image: "bt_sm_base1.png" COMP;
19150            image: "bt_sm_shine.png" COMP;
19151            image: "bt_sm_hilight.png" COMP;
19152            image: "ilist_2.png" COMP;
19153        }
19154        parts {
19155            part { name: "event";
19156                type: RECT;
19157                repeat_events: 1;
19158                description {
19159                    state: "default" 0.0;
19160                    color: 0 0 0 0;
19161                }
19162            }
19163            part {
19164                name: "base";
19165                mouse_events: 0;
19166                description {
19167                    state: "default" 0.0;
19168                    min: 16 28;
19169                    image {
19170                        normal: "ilist_2.png";
19171                        border: 2 2 2 2;
19172                    }
19173                    fill.smooth: 0;
19174                }
19175            }
19176            part { name: "bg";
19177                clip_to: "disclip";
19178                mouse_events: 0;
19179                description { state: "default" 0.0;
19180                    visible: 0;
19181                    color: 255 255 255 0;
19182                    rel1 {
19183                        relative: 0.0 0.0;
19184                        offset: -5 -5;
19185                    }
19186                    rel2 {
19187                        relative: 1.0 1.0;
19188                        offset: 4 4;
19189                    }
19190                    image {
19191                        normal: "bt_sm_base1.png";
19192                        border: 6 6 6 6;
19193                    }
19194                    image.middle: SOLID;
19195                }
19196                description { state: "selected" 0.0;
19197                    inherit: "default" 0.0;
19198                    visible: 1;
19199                    color: 255 255 255 255;
19200                    rel1 {
19201                        relative: 0.0 0.0;
19202                        offset: -2 -2;
19203                    }
19204                    rel2 {
19205                        relative: 1.0 1.0;
19206                        offset: 1 1;
19207                    }
19208                }
19209            }
19210            part { name: "elm.swallow.pad";
19211                type: SWALLOW;
19212                description { state: "default" 0.0;
19213                    fixed: 1 0;
19214                    align: 0.0 0.5;
19215                    rel1 {
19216                        relative: 0.0  0.0;
19217                        offset:   4    4;
19218                    }
19219                    rel2 {
19220                        relative: 0.0  1.0;
19221                        offset:   4   -5;
19222                    }
19223                }
19224            }
19225            part { name: "elm.swallow.icon";
19226                clip_to: "disclip";
19227                type: SWALLOW;
19228                description { state: "default" 0.0;
19229                    fixed: 1 0;
19230                    align: 0.0 0.5;
19231                    rel1 {
19232                        to_x: "elm.swallow.pad";
19233                        relative: 1.0  0.0;
19234                        offset:   -1    4;
19235                    }
19236                    rel2 {
19237                        to_x: "elm.swallow.pad";
19238                        relative: 1.0  1.0;
19239                        offset:   -1   -5;
19240                    }
19241                }
19242            }
19243            part { name: "elm.swallow.end";
19244                clip_to: "disclip";
19245                type:          SWALLOW;
19246                description { state:    "default" 0.0;
19247                    fixed: 1 0;
19248                    align:    1.0 0.5;
19249                    aspect: 1.0 1.0;
19250                    aspect_preference: VERTICAL;
19251                    rel1 {
19252                        relative: 1.0  0.0;
19253                        offset:   -5    4;
19254                    }
19255                    rel2 {
19256                        relative: 1.0  1.0;
19257                        offset:   -5   -5;
19258                    }
19259                }
19260            }
19261            part { name: "elm.text";
19262                clip_to: "disclip";
19263                type:           TEXTBLOCK;
19264                mouse_events:   0;
19265                scale: 1;
19266                description {
19267                    state: "default" 0.0;
19268                    align: 0.0 0.5;
19269                    fixed: 0 1;
19270                    rel1 {
19271                        to_x: "elm.swallow.icon";
19272                        to_y: "base";
19273                        relative: 1.0  0.5;
19274                        offset:   0 4;
19275                    }
19276                    rel2 {
19277                        to_x: "elm.swallow.end";
19278                        to_y: "base";
19279                        relative: 0.0  0.5;
19280                        offset:   -1 -5;
19281                    }
19282                    text {
19283                        style: "genlist_style";
19284                        min: 1 1;
19285                    }
19286                }
19287                description { state: "selected" 0.0;
19288                    inherit: "default" 0.0;
19289                    text {
19290                        style: "genlist_selected_style";
19291                    }
19292                }
19293            }
19294            part { name: "fg1";
19295                clip_to: "disclip";
19296                mouse_events: 0;
19297                description { state: "default" 0.0;
19298                    visible: 0;
19299                    color: 255 255 255 0;
19300                    rel1.to: "bg";
19301                    rel2.relative: 1.0 0.5;
19302                    rel2.to: "bg";
19303                    image {
19304                        normal: "bt_sm_hilight.png";
19305                        border: 6 6 6 0;
19306                    }
19307                }
19308                description { state: "selected" 0.0;
19309                    inherit: "default" 0.0;
19310                    visible: 1;
19311                    color: 255 255 255 255;
19312                }
19313            }
19314            part { name: "fg2";
19315                clip_to: "disclip";
19316                mouse_events: 0;
19317                description { state: "default" 0.0;
19318                    visible: 0;
19319                    color: 255 255 255 0;
19320                    rel1.to: "bg";
19321                    rel2.to: "bg";
19322                    image {
19323                        normal: "bt_sm_shine.png";
19324                        border: 6 6 6 0;
19325                    }
19326                }
19327                description { state: "selected" 0.0;
19328                    inherit: "default" 0.0;
19329                    visible: 1;
19330                    color: 255 255 255 255;
19331                }
19332            }
19333            part { name: "disclip";
19334                type: RECT;
19335                description { state: "default" 0.0;
19336                    rel1.to: "bg";
19337                    rel2.to: "bg";
19338                }
19339                description { state: "disabled" 0.0;
19340                    inherit: "default" 0.0;
19341                    color: 255 255 255 64;
19342                }
19343            }
19344        }
19345        programs {
19346            // signal: elm,state,%s,active
19347            //   a "check" item named %s went active
19348            // signal: elm,state,%s,passive
19349            //   a "check" item named %s went passive
19350            // default is passive
19351            program {
19352                name:    "go_active";
19353                signal:  "elm,state,selected";
19354                source:  "elm";
19355                action:  STATE_SET "selected" 0.0;
19356                target:  "bg";
19357                target:  "fg1";
19358                target:  "fg2";
19359                target:  "elm.text";
19360            }
19361            program {
19362                name:    "go_passive";
19363                signal:  "elm,state,unselected";
19364                source:  "elm";
19365                action:  STATE_SET "default" 0.0;
19366                target:  "bg";
19367                target:  "fg1";
19368                target:  "fg2";
19369                target:  "elm.text";
19370                transition: LINEAR 0.1;
19371            }
19372            program {
19373                name:    "go_disabled";
19374                signal:  "elm,state,disabled";
19375                source:  "elm";
19376                action:  STATE_SET "disabled" 0.0;
19377                target:  "disclip";
19378            }
19379            program {
19380                name:    "go_enabled";
19381                signal:  "elm,state,enabled";
19382                source:  "elm";
19383                action:  STATE_SET "default" 0.0;
19384                target:  "disclip";
19385            }
19386        }
19387    }
19388
19389    group { name: "elm/genlist/tree/default_style/default";
19390        data.item: "stacking" "above";
19391        data.item: "selectraise" "on";
19392        data.item: "labels" "elm.text";
19393        data.item: "icons" "elm.swallow.icon elm.swallow.end";
19394        data.item: "treesize" "20";
19395        images {
19396            image: "bt_sm_base1.png" COMP;
19397            image: "bt_sm_shine.png" COMP;
19398            image: "bt_sm_hilight.png" COMP;
19399            image: "ilist_1.png" COMP;
19400            image: "ilist_item_shadow.png" COMP;
19401            image: "icon_arrow_right.png" COMP;
19402            image: "icon_arrow_down.png" COMP;
19403        }
19404        parts {
19405            part {
19406                name:           "event";
19407                type:           RECT;
19408                repeat_events: 1;
19409                description {
19410                    state: "default" 0.0;
19411                    color: 0 0 0 0;
19412                }
19413            }
19414            part {
19415                name: "base_sh";
19416                mouse_events: 0;
19417                description {
19418                    state: "default" 0.0;
19419                    align: 0.0 0.0;
19420                    min: 0 10;
19421                    fixed: 1 1;
19422                    rel1 {
19423                        to: "base";
19424                        relative: 0.0 1.0;
19425                        offset: 0 0;
19426                    }
19427                    rel2 {
19428                        to: "base";
19429                        relative: 1.0 1.0;
19430                        offset: -1 0;
19431                    }
19432                    image {
19433                        normal: "ilist_item_shadow.png";
19434                    }
19435                    fill.smooth: 0;
19436                }
19437            }
19438            part {
19439                name: "base";
19440                mouse_events: 0;
19441                description {
19442                    state: "default" 0.0;
19443                    min: 16 28;
19444                    image {
19445                        normal: "ilist_1.png";
19446                        border: 2 2 2 2;
19447                    }
19448                    fill.smooth: 0;
19449                }
19450            }
19451            part { name: "bg";
19452                clip_to: "disclip";
19453                mouse_events: 0;
19454                description { state: "default" 0.0;
19455                    visible: 0;
19456                    color: 255 255 255 0;
19457                    rel1 {
19458                        relative: 0.0 0.0;
19459                        offset: -5 -5;
19460                    }
19461                    rel2 {
19462                        relative: 1.0 1.0;
19463                        offset: 4 4;
19464                    }
19465                    image {
19466                        normal: "bt_sm_base1.png";
19467                        border: 6 6 6 6;
19468                    }
19469                    image.middle: SOLID;
19470                }
19471                description { state: "selected" 0.0;
19472                    inherit: "default" 0.0;
19473                    visible: 1;
19474                    color: 255 255 255 255;
19475                    rel1 {
19476                        relative: 0.0 0.0;
19477                        offset: -2 -2;
19478                    }
19479                    rel2 {
19480                        relative: 1.0 1.0;
19481                        offset: 1 1;
19482                    }
19483                }
19484            }
19485            part { name: "elm.swallow.pad";
19486                type: SWALLOW;
19487                description { state: "default" 0.0;
19488                    fixed: 1 0;
19489                    align: 0.0 0.5;
19490                    rel1 {
19491                        relative: 0.0  0.0;
19492                        offset:   4    4;
19493                    }
19494                    rel2 {
19495                        relative: 0.0  1.0;
19496                        offset:   4   -5;
19497                    }
19498                }
19499            }
19500            part { name: "arrow";
19501                clip_to: "disclip";
19502                ignore_flags: ON_HOLD;
19503                description { state: "default" 0.0;
19504                    fixed: 1 0;
19505                    align: 0.0 0.5;
19506                    aspect: 1.0 1.0;
19507                    rel1 {
19508                        to_x: "elm.swallow.pad";
19509                        relative: 1.0  0.0;
19510                        offset:   -1    4;
19511                    }
19512                    rel2 {
19513                        to_x: "elm.swallow.pad";
19514                        relative: 1.0  1.0;
19515                        offset:   -1   -5;
19516                    }
19517                    image.normal: "icon_arrow_right.png";
19518                }
19519                description { state: "active" 0.0;
19520                    inherit: "default" 0.0;
19521                    image.normal: "icon_arrow_down.png";
19522                }
19523            }
19524            part { name: "elm.swallow.icon";
19525                clip_to: "disclip";
19526                type: SWALLOW;
19527                description { state: "default" 0.0;
19528                    fixed: 1 0;
19529                    align: 0.0 0.5;
19530                    rel1 {
19531                        to_x: "arrow";
19532                        relative: 1.0  0.0;
19533                        offset:   4    4;
19534                    }
19535                    rel2 {
19536                        to_x: "arrow";
19537                        relative: 1.0  1.0;
19538                        offset:   4   -5;
19539                    }
19540                }
19541            }
19542            part { name: "elm.swallow.end";
19543                clip_to: "disclip";
19544                type: SWALLOW;
19545                description { state: "default" 0.0;
19546                    fixed: 1 0;
19547                    align: 1.0 0.5;
19548                    aspect: 1.0 1.0;
19549                    aspect_preference: VERTICAL;
19550                    rel1 {
19551                        relative: 1.0  0.0;
19552                        offset:   -5    4;
19553                    }
19554                    rel2 {
19555                        relative: 1.0  1.0;
19556                        offset:   -5   -5;
19557                    }
19558                }
19559            }
19560            part { name: "elm.text";
19561                clip_to: "disclip";
19562                type:           TEXTBLOCK;
19563                effect:         SOFT_SHADOW;
19564                mouse_events:   0;
19565                scale: 1;
19566                description {
19567                    state: "default" 0.0;
19568                    align: 0.0 0.5;
19569                    fixed: 0 1;
19570                    rel1 {
19571                        to_x:     "elm.swallow.icon";
19572                        to_y: "base";
19573                        relative: 1.0  0.5;
19574                        offset:   0 4;
19575                    }
19576                    rel2 {
19577                        to_x:     "elm.swallow.end";
19578                        to_y: "base";
19579                        relative: 0.0  0.5;
19580                        offset:   -1 -5;
19581                    }
19582                    text {
19583                        style: "genlist_style";
19584                        min: 1 1;
19585                    }
19586                }
19587                description { state: "selected" 0.0;
19588                    inherit: "default" 0.0;
19589                    text {
19590                        style: "genlist_selected_style";
19591                    }
19592                }
19593            }
19594            part { name: "fg1";
19595                clip_to: "disclip";
19596                mouse_events: 0;
19597                description { state: "default" 0.0;
19598                    visible: 0;
19599                    color: 255 255 255 0;
19600                    rel1.to: "bg";
19601                    rel2.relative: 1.0 0.5;
19602                    rel2.to: "bg";
19603                    image {
19604                        normal: "bt_sm_hilight.png";
19605                        border: 6 6 6 0;
19606                    }
19607                }
19608                description { state: "selected" 0.0;
19609                    inherit: "default" 0.0;
19610                    visible: 1;
19611                    color: 255 255 255 255;
19612                }
19613            }
19614            part { name: "fg2";
19615                clip_to: "disclip";
19616                mouse_events: 0;
19617                description { state: "default" 0.0;
19618                    visible: 0;
19619                    color: 255 255 255 0;
19620                    rel1.to: "bg";
19621                    rel2.to: "bg";
19622                    image {
19623                        normal: "bt_sm_shine.png";
19624                        border: 6 6 6 0;
19625                    }
19626                }
19627                description { state: "selected" 0.0;
19628                    inherit: "default" 0.0;
19629                    visible: 1;
19630                    color: 255 255 255 255;
19631                }
19632            }
19633            part { name: "disclip";
19634                type: RECT;
19635                description { state: "default" 0.0;
19636                    rel1.to: "bg";
19637                    rel2.to: "bg";
19638                }
19639                description { state: "disabled" 0.0;
19640                    inherit: "default" 0.0;
19641                    color: 255 255 255 64;
19642                }
19643            }
19644        }
19645        programs {
19646            // signal: elm,state,%s,active
19647            //   a "check" item named %s went active
19648            // signal: elm,state,%s,passive
19649            //   a "check" item named %s went passive
19650            // default is passive
19651            program {
19652                name:    "go_active";
19653                signal:  "elm,state,selected";
19654                source:  "elm";
19655                action:  STATE_SET "selected" 0.0;
19656                target:  "bg";
19657                target:  "fg1";
19658                target:  "fg2";
19659                target:  "elm.text";
19660            }
19661            program {
19662                name:    "go_passive";
19663                signal:  "elm,state,unselected";
19664                source:  "elm";
19665                action:  STATE_SET "default" 0.0;
19666                target:  "bg";
19667                target:  "fg1";
19668                target:  "fg2";
19669                target:  "elm.text";
19670                transition: LINEAR 0.1;
19671            }
19672            program {
19673                name:    "go_disabled";
19674                signal:  "elm,state,disabled";
19675                source:  "elm";
19676                action:  STATE_SET "disabled" 0.0;
19677                target:  "disclip";
19678            }
19679            program {
19680                name:    "go_enabled";
19681                signal:  "elm,state,enabled";
19682                source:  "elm";
19683                action:  STATE_SET "default" 0.0;
19684                target:  "disclip";
19685            }
19686            program {
19687                name:    "expand";
19688                signal:  "mouse,up,1";
19689                source:  "arrow";
19690                action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
19691            }
19692            program {
19693                name:    "go_expanded";
19694                signal:  "elm,state,expanded";
19695                source:  "elm";
19696                action:  STATE_SET "active" 0.0;
19697                target:  "arrow";
19698            }
19699            program {
19700                name:    "go_contracted";
19701                signal:  "elm,state,contracted";
19702                source:  "elm";
19703                action:  STATE_SET "default" 0.0;
19704                target:  "arrow";
19705            }
19706        }
19707    }
19708    group { name: "elm/genlist/tree_odd/default_style/default";
19709        data.item: "stacking" "below";
19710        data.item: "selectraise" "on";
19711        data.item: "labels" "elm.text";
19712        data.item: "icons" "elm.swallow.icon elm.swallow.end";
19713        data.item: "treesize" "20";
19714        images {
19715            image: "bt_sm_base1.png" COMP;
19716            image: "bt_sm_shine.png" COMP;
19717            image: "bt_sm_hilight.png" COMP;
19718            image: "ilist_2.png" COMP;
19719            image: "icon_arrow_right.png" COMP;
19720            image: "icon_arrow_down.png" COMP;
19721        }
19722        parts {
19723            part {
19724                name:           "event";
19725                type:           RECT;
19726                repeat_events: 1;
19727                description {
19728                    state: "default" 0.0;
19729                    color: 0 0 0 0;
19730                }
19731            }
19732            part {
19733                name: "base";
19734                mouse_events: 0;
19735                description {
19736                    state: "default" 0.0;
19737                    min: 16 28;
19738                    image {
19739                        normal: "ilist_2.png";
19740                        border: 2 2 2 2;
19741                    }
19742                    fill.smooth: 0;
19743                }
19744            }
19745            part { name: "bg";
19746                clip_to: "disclip";
19747                mouse_events: 0;
19748                description { state: "default" 0.0;
19749                    visible: 0;
19750                    color: 255 255 255 0;
19751                    rel1 {
19752                        relative: 0.0 0.0;
19753                        offset: -5 -5;
19754                    }
19755                    rel2 {
19756                        relative: 1.0 1.0;
19757                        offset: 4 4;
19758                    }
19759                    image {
19760                        normal: "bt_sm_base1.png";
19761                        border: 6 6 6 6;
19762                    }
19763                    image.middle: SOLID;
19764                }
19765                description { state: "selected" 0.0;
19766                    inherit: "default" 0.0;
19767                    visible: 1;
19768                    color: 255 255 255 255;
19769                    rel1 {
19770                        relative: 0.0 0.0;
19771                        offset: -2 -2;
19772                    }
19773                    rel2 {
19774                        relative: 1.0 1.0;
19775                        offset: 1 1;
19776                    }
19777                }
19778            }
19779            part { name: "elm.swallow.pad";
19780                type: SWALLOW;
19781                description { state: "default" 0.0;
19782                    fixed: 1 0;
19783                    align: 0.0 0.5;
19784                    rel1 {
19785                        relative: 0.0  0.0;
19786                        offset:   4    4;
19787                    }
19788                    rel2 {
19789                        relative: 0.0  1.0;
19790                        offset:   4   -5;
19791                    }
19792                }
19793            }
19794            part { name: "arrow";
19795                clip_to: "disclip";
19796                ignore_flags: ON_HOLD;
19797                description { state: "default" 0.0;
19798                    fixed: 1 0;
19799                    align: 0.0 0.5;
19800                    aspect: 1.0 1.0;
19801                    rel1 {
19802                        to_x: "elm.swallow.pad";
19803                        relative: 1.0  0.0;
19804                        offset:   -1    4;
19805                    }
19806                    rel2 {
19807                        to_x: "elm.swallow.pad";
19808                        relative: 1.0  1.0;
19809                        offset:   -1   -5;
19810                    }
19811                    image.normal: "icon_arrow_right.png";
19812                }
19813                description { state: "active" 0.0;
19814                    inherit: "default" 0.0;
19815                    image.normal: "icon_arrow_down.png";
19816                }
19817            }
19818            part { name: "elm.swallow.icon";
19819                clip_to: "disclip";
19820                type: SWALLOW;
19821                description { state: "default" 0.0;
19822                    fixed: 1 0;
19823                    align: 0.0 0.5;
19824                    rel1 {
19825                        to_x: "arrow";
19826                        relative: 1.0  0.0;
19827                        offset:   4    4;
19828                    }
19829                    rel2 {
19830                        to_x: "arrow";
19831                        relative: 1.0  1.0;
19832                        offset:   4   -5;
19833                    }
19834                }
19835            }
19836            part { name: "elm.swallow.end";
19837                clip_to: "disclip";
19838                type: SWALLOW;
19839                description { state: "default" 0.0;
19840                    fixed: 1 0;
19841                    align: 1.0 0.5;
19842                    aspect: 1.0 1.0;
19843                    aspect_preference: VERTICAL;
19844                    rel1 {
19845                        relative: 1.0  0.0;
19846                        offset:   -5    4;
19847                    }
19848                    rel2 {
19849                        relative: 1.0  1.0;
19850                        offset:   -5   -5;
19851                    }
19852                }
19853            }
19854            part { name: "elm.text";
19855                clip_to: "disclip";
19856                type:           TEXTBLOCK;
19857                effect:         SOFT_SHADOW;
19858                mouse_events:   0;
19859                scale: 1;
19860                description {
19861                    state: "default" 0.0;
19862                    align: 0.0 0.5;
19863                    fixed: 0 1;
19864                    rel1 {
19865                        to_x:     "elm.swallow.icon";
19866                        to_y: "base";
19867                        relative: 1.0  0.5;
19868                        offset:   0 4;
19869                    }
19870                    rel2 {
19871                        to_x:     "elm.swallow.end";
19872                        to_y: "base";
19873                        relative: 0.0  0.5;
19874                        offset:   -1 -5;
19875                    }
19876                    text {
19877                        style: "genlist_style";
19878                        min: 1 1;
19879                    }
19880                }
19881                description { state: "selected" 0.0;
19882                    inherit: "default" 0.0;
19883                    text {
19884                        style: "genlist_selected_style";
19885                    }
19886                }
19887            }
19888            part { name: "fg1";
19889                clip_to: "disclip";
19890                mouse_events: 0;
19891                description { state: "default" 0.0;
19892                    visible: 0;
19893                    color: 255 255 255 0;
19894                    rel1.to: "bg";
19895                    rel2.relative: 1.0 0.5;
19896                    rel2.to: "bg";
19897                    image {
19898                        normal: "bt_sm_hilight.png";
19899                        border: 6 6 6 0;
19900                    }
19901                }
19902                description { state: "selected" 0.0;
19903                    inherit: "default" 0.0;
19904                    visible: 1;
19905                    color: 255 255 255 255;
19906                }
19907            }
19908            part { name: "fg2";
19909                clip_to: "disclip";
19910                mouse_events: 0;
19911                description { state: "default" 0.0;
19912                    visible: 0;
19913                    color: 255 255 255 0;
19914                    rel1.to: "bg";
19915                    rel2.to: "bg";
19916                    image {
19917                        normal: "bt_sm_shine.png";
19918                        border: 6 6 6 0;
19919                    }
19920                }
19921                description { state: "selected" 0.0;
19922                    inherit: "default" 0.0;
19923                    visible: 1;
19924                    color: 255 255 255 255;
19925                }
19926            }
19927            part { name: "disclip";
19928                type: RECT;
19929                description { state: "default" 0.0;
19930                    rel1.to: "bg";
19931                    rel2.to: "bg";
19932                }
19933                description { state: "disabled" 0.0;
19934                    inherit: "default" 0.0;
19935                    color: 255 255 255 64;
19936                }
19937            }
19938        }
19939        programs {
19940            // signal: elm,state,%s,active
19941            //   a "check" item named %s went active
19942            // signal: elm,state,%s,passive
19943            //   a "check" item named %s went passive
19944            // default is passive
19945            program {
19946                name:    "go_active";
19947                signal:  "elm,state,selected";
19948                source:  "elm";
19949                action:  STATE_SET "selected" 0.0;
19950                target:  "bg";
19951                target:  "fg1";
19952                target:  "fg2";
19953                target:  "elm.text";
19954            }
19955            program {
19956                name:    "go_passive";
19957                signal:  "elm,state,unselected";
19958                source:  "elm";
19959                action:  STATE_SET "default" 0.0;
19960                target:  "bg";
19961                target:  "fg1";
19962                target:  "fg2";
19963                target:  "elm.text";
19964                transition: LINEAR 0.1;
19965            }
19966            program {
19967                name:    "go_disabled";
19968                signal:  "elm,state,disabled";
19969                source:  "elm";
19970                action:  STATE_SET "disabled" 0.0;
19971                target:  "disclip";
19972            }
19973            program {
19974                name:    "go_enabled";
19975                signal:  "elm,state,enabled";
19976                source:  "elm";
19977                action:  STATE_SET "default" 0.0;
19978                target:  "disclip";
19979            }
19980            program {
19981                name:    "expand";
19982                signal:  "mouse,up,1";
19983                source:  "arrow";
19984                action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
19985            }
19986            program {
19987                name:    "go_expanded";
19988                signal:  "elm,state,expanded";
19989                source:  "elm";
19990                action:  STATE_SET "active" 0.0;
19991                target:  "arrow";
19992            }
19993            program {
19994                name:    "go_contracted";
19995                signal:  "elm,state,contracted";
19996                source:  "elm";
19997                action:  STATE_SET "default" 0.0;
19998                target:  "arrow";
19999            }
20000        }
20001    }
20002
20003
20004    group { name: "elm/genlist/item/double_label/default";
20005       data.item: "stacking" "above";
20006       data.item: "selectraise" "on";
20007       data.item: "labels" "elm.text elm.text.sub";
20008       data.item: "icons" "elm.swallow.icon elm.swallow.end";
20009       data.item: "treesize" "20";
20010 //      data.item: "states" "";
20011       images {
20012          image: "bt_sm_base1.png" COMP;
20013          image: "bt_sm_shine.png" COMP;
20014          image: "bt_sm_hilight.png" COMP;
20015          image: "ilist_1.png" COMP;
20016          image: "ilist_item_shadow.png" COMP;
20017       }
20018       parts {
20019          part {
20020             name:           "event";
20021             type:           RECT;
20022             repeat_events: 1;
20023             description {
20024                state: "default" 0.0;
20025                color: 0 0 0 0;
20026             }
20027          }
20028          part {
20029             name: "base_sh";
20030             mouse_events: 0;
20031             description {
20032                state: "default" 0.0;
20033                align: 0.0 0.0;
20034                min: 0 10;
20035                fixed: 1 1;
20036                rel1 {
20037                   to: "base";
20038                   relative: 0.0 1.0;
20039                   offset: 0 0;
20040                }
20041                rel2 {
20042                   to: "base";
20043                   relative: 1.0 1.0;
20044                   offset: -1 0;
20045                }
20046                image {
20047                   normal: "ilist_item_shadow.png";
20048                }
20049                fill.smooth: 0;
20050             }
20051          }
20052          part {
20053             name: "base";
20054             mouse_events: 0;
20055             description {
20056                state: "default" 0.0;
20057                image {
20058                   normal: "ilist_1.png";
20059                   border: 2 2 2 2;
20060                }
20061                fill.smooth: 0;
20062             }
20063          }
20064          part { name: "bg";
20065             clip_to: "disclip";
20066             mouse_events: 0;
20067             description { state: "default" 0.0;
20068                visible: 0;
20069                color: 255 255 255 0;
20070                rel1 {
20071                   relative: 0.0 0.0;
20072                   offset: -5 -5;
20073                }
20074                rel2 {
20075                   relative: 1.0 1.0;
20076                   offset: 4 4;
20077                }
20078                image {
20079                   normal: "bt_sm_base1.png";
20080                   border: 6 6 6 6;
20081                }
20082                image.middle: SOLID;
20083             }
20084             description { state: "selected" 0.0;
20085                inherit: "default" 0.0;
20086                visible: 1;
20087                color: 255 255 255 255;
20088                rel1 {
20089                   relative: 0.0 0.0;
20090                   offset: -2 -2;
20091                }
20092                rel2 {
20093                   relative: 1.0 1.0;
20094                   offset: 1 1;
20095                }
20096             }
20097          }
20098          part { name: "elm.swallow.pad";
20099             type: SWALLOW;
20100             description { state: "default" 0.0;
20101                fixed: 1 0;
20102                align: 0.0 0.5;
20103                rel1 {
20104                   relative: 0.0  0.0;
20105                   offset:   4    4;
20106                }
20107                rel2 {
20108                   relative: 0.0  1.0;
20109                   offset:   4   -5;
20110                }
20111             }
20112          }
20113          part { name: "elm.swallow.icon";
20114             clip_to: "disclip";
20115             type: SWALLOW;
20116             description { state: "default" 0.0;
20117                fixed: 1 0;
20118                align: 0.0 0.5;
20119                rel1 {
20120                   to_x: "elm.swallow.pad";
20121                   relative: 1.0  0.0;
20122                   offset:   -1    4;
20123                }
20124                rel2 {
20125                   to_x: "elm.swallow.pad";
20126                   relative: 1.0  1.0;
20127                   offset:   -1   -5;
20128                }
20129             }
20130          }
20131          part { name: "elm.swallow.end";
20132             clip_to: "disclip";
20133             type: SWALLOW;
20134             description { state: "default" 0.0;
20135                fixed: 1 0;
20136                align: 1.0 0.5;
20137                aspect: 1.0 1.0;
20138                aspect_preference: VERTICAL;
20139                rel1 {
20140                   relative: 1.0  0.0;
20141                   offset:   -5    4;
20142                }
20143                rel2 {
20144                   relative: 1.0  1.0;
20145                   offset:   -5   -5;
20146                }
20147             }
20148          }
20149          part { name: "elm.text";
20150             clip_to: "disclip";
20151             type:           TEXT;
20152             effect:         SOFT_SHADOW;
20153             mouse_events:   0;
20154             scale: 1;
20155             description {
20156                state: "default" 0.0;
20157 //               min: 16 16;
20158                rel1 {
20159                   to_x:     "elm.swallow.icon";
20160                   relative: 1.0  0.0;
20161                   offset:   0 4;
20162                }
20163                rel2 {
20164                   to_x:     "elm.swallow.end";
20165                   relative: 0.0  0.5;
20166                   offset:   -1 -5;
20167                }
20168                color: 0 0 0 255;
20169                color3: 0 0 0 0;
20170                text {
20171                   font: "Sans";
20172                   size: 10;
20173                   min: 1 1;
20174 //                  min: 0 1;
20175                   align: 0.0 0.5;
20176                   text_class: "list_item";
20177                }
20178             }
20179             description { state: "selected" 0.0;
20180                inherit: "default" 0.0;
20181                color: 224 224 224 255;
20182                color3: 0 0 0 64;
20183             }
20184          }
20185          part { name: "elm.text.sub";
20186             clip_to: "disclip";
20187             type:           TEXT;
20188             mouse_events:   0;
20189             scale: 1;
20190             description {
20191                state: "default" 0.0;
20192 //               min: 16 16;
20193                rel1 {
20194                   to_x:     "elm.swallow.icon";
20195                   relative: 1.0  0.5;
20196                   offset:   0 4;
20197                }
20198                rel2 {
20199                   to_x:     "elm.swallow.end";
20200                   relative: 0.0  1.0;
20201                   offset:   -1 -5;
20202                }
20203                color: 0 0 0 128;
20204                color3: 0 0 0 0;
20205                text {
20206                   font: "Sans";
20207                   size: 8;
20208                   min: 1 1;
20209 //                  min: 0 1;
20210                   align: 0.0 0.5;
20211                   text_class: "list_item";
20212                }
20213             }
20214             description { state: "selected" 0.0;
20215                inherit: "default" 0.0;
20216                color: 128 128 128 255;
20217                color3: 0 0 0 32;
20218             }
20219          }
20220          part { name: "fg1";
20221             clip_to: "disclip";
20222             mouse_events: 0;
20223             description { state: "default" 0.0;
20224                visible: 0;
20225                color: 255 255 255 0;
20226                rel1.to: "bg";
20227                rel2.relative: 1.0 0.5;
20228                rel2.to: "bg";
20229                image {
20230                   normal: "bt_sm_hilight.png";
20231                   border: 6 6 6 0;
20232                }
20233             }
20234             description { state: "selected" 0.0;
20235                inherit: "default" 0.0;
20236                visible: 1;
20237                color: 255 255 255 255;
20238             }
20239          }
20240          part { name: "fg2";
20241             clip_to: "disclip";
20242             mouse_events: 0;
20243             description { state: "default" 0.0;
20244                visible: 0;
20245                color: 255 255 255 0;
20246                rel1.to: "bg";
20247                rel2.to: "bg";
20248                image {
20249                   normal: "bt_sm_shine.png";
20250                   border: 6 6 6 0;
20251                }
20252             }
20253             description { state: "selected" 0.0;
20254                inherit: "default" 0.0;
20255                visible: 1;
20256                color: 255 255 255 255;
20257             }
20258          }
20259          part { name: "disclip";
20260             type: RECT;
20261             description { state: "default" 0.0;
20262                rel1.to: "bg";
20263                rel2.to: "bg";
20264             }
20265             description { state: "disabled" 0.0;
20266                inherit: "default" 0.0;
20267                color: 255 255 255 64;
20268             }
20269          }
20270       }
20271       programs {
20272          // signal: elm,state,%s,active
20273          //   a "check" item named %s went active
20274          // signal: elm,state,%s,passive
20275          //   a "check" item named %s went passive
20276          // default is passive
20277          program {
20278             name:    "go_active";
20279             signal:  "elm,state,selected";
20280             source:  "elm";
20281             action:  STATE_SET "selected" 0.0;
20282             target:  "bg";
20283             target:  "fg1";
20284             target:  "fg2";
20285             target:  "elm.text";
20286             target:  "elm.text.sub";
20287          }
20288          program {
20289             name:    "go_passive";
20290             signal:  "elm,state,unselected";
20291             source:  "elm";
20292             action:  STATE_SET "default" 0.0;
20293             target:  "bg";
20294             target:  "fg1";
20295             target:  "fg2";
20296             target:  "elm.text";
20297             target:  "elm.text.sub";
20298             transition: LINEAR 0.1;
20299          }
20300          program {
20301             name:    "go_disabled";
20302             signal:  "elm,state,disabled";
20303             source:  "elm";
20304             action:  STATE_SET "disabled" 0.0;
20305             target:  "disclip";
20306          }
20307          program {
20308             name:    "go_enabled";
20309             signal:  "elm,state,enabled";
20310             source:  "elm";
20311             action:  STATE_SET "default" 0.0;
20312             target:  "disclip";
20313          }
20314       }
20315    }
20316    group { name: "elm/genlist/item_compress/double_label/default";
20317       data.item: "stacking" "above";
20318       data.item: "selectraise" "on";
20319       data.item: "labels" "elm.text elm.text.sub";
20320       data.item: "icons" "elm.swallow.icon elm.swallow.end";
20321       data.item: "treesize" "20";
20322 //      data.item: "states" "";
20323       images {
20324          image: "bt_sm_base1.png" COMP;
20325          image: "bt_sm_shine.png" COMP;
20326          image: "bt_sm_hilight.png" COMP;
20327          image: "ilist_1.png" COMP;
20328          image: "ilist_item_shadow.png" COMP;
20329       }
20330       parts {
20331          part {
20332             name:           "event";
20333             type:           RECT;
20334             repeat_events: 1;
20335             description {
20336                state: "default" 0.0;
20337                color: 0 0 0 0;
20338             }
20339          }
20340          part {
20341             name: "base_sh";
20342             mouse_events: 0;
20343             description {
20344                state: "default" 0.0;
20345                align: 0.0 0.0;
20346                min: 0 10;
20347                fixed: 1 1;
20348                rel1 {
20349                   to: "base";
20350                   relative: 0.0 1.0;
20351                   offset: 0 0;
20352                }
20353                rel2 {
20354                   to: "base";
20355                   relative: 1.0 1.0;
20356                   offset: -1 0;
20357                }
20358                image {
20359                   normal: "ilist_item_shadow.png";
20360                }
20361                fill.smooth: 0;
20362             }
20363          }
20364          part {
20365             name: "base";
20366             mouse_events: 0;
20367             description {
20368                state: "default" 0.0;
20369                image {
20370                   normal: "ilist_1.png";
20371                   border: 2 2 2 2;
20372                }
20373                fill.smooth: 0;
20374             }
20375          }
20376          part { name: "bg";
20377             clip_to: "disclip";
20378             mouse_events: 0;
20379             description { state: "default" 0.0;
20380                visible: 0;
20381                color: 255 255 255 0;
20382                rel1 {
20383                   relative: 0.0 0.0;
20384                   offset: -5 -5;
20385                }
20386                rel2 {
20387                   relative: 1.0 1.0;
20388                   offset: 4 4;
20389                }
20390                image {
20391                   normal: "bt_sm_base1.png";
20392                   border: 6 6 6 6;
20393                }
20394                image.middle: SOLID;
20395             }
20396             description { state: "selected" 0.0;
20397                inherit: "default" 0.0;
20398                visible: 1;
20399                color: 255 255 255 255;
20400                rel1 {
20401                   relative: 0.0 0.0;
20402                   offset: -2 -2;
20403                }
20404                rel2 {
20405                   relative: 1.0 1.0;
20406                   offset: 1 1;
20407                }
20408             }
20409          }
20410          part { name: "elm.swallow.pad";
20411             type: SWALLOW;
20412             description { state: "default" 0.0;
20413                fixed: 1 0;
20414                align: 0.0 0.5;
20415                rel1 {
20416                   relative: 0.0  0.0;
20417                   offset:   4    4;
20418                }
20419                rel2 {
20420                   relative: 0.0  1.0;
20421                   offset:   4   -5;
20422                }
20423             }
20424          }
20425          part { name: "elm.swallow.icon";
20426             clip_to: "disclip";
20427             type: SWALLOW;
20428             description { state: "default" 0.0;
20429                fixed: 1 0;
20430                align: 0.0 0.5;
20431                rel1 {
20432                   to_x: "elm.swallow.pad";
20433                   relative: 1.0  0.0;
20434                   offset:   -1    4;
20435                }
20436                rel2 {
20437                   to_x: "elm.swallow.pad";
20438                   relative: 1.0  1.0;
20439                   offset:   -1   -5;
20440                }
20441             }
20442          }
20443          part { name: "elm.swallow.end";
20444             clip_to: "disclip";
20445             type: SWALLOW;
20446             description { state: "default" 0.0;
20447                fixed: 1 0;
20448                align: 1.0 0.5;
20449                aspect: 1.0 1.0;
20450                aspect_preference: VERTICAL;
20451                rel1 {
20452                   relative: 1.0  0.0;
20453                   offset:   -5    4;
20454                }
20455                rel2 {
20456                   relative: 1.0  1.0;
20457                   offset:   -5   -5;
20458                }
20459             }
20460          }
20461          part { name: "elm.text";
20462             clip_to: "disclip";
20463             type:           TEXT;
20464             effect:         SOFT_SHADOW;
20465             mouse_events:   0;
20466             scale: 1;
20467             description {
20468                state: "default" 0.0;
20469 //               min: 16 16;
20470                rel1 {
20471                   to_x:     "elm.swallow.icon";
20472                   relative: 1.0  0.0;
20473                   offset:   0 4;
20474                }
20475                rel2 {
20476                   to_x:     "elm.swallow.end";
20477                   relative: 0.0  0.5;
20478                   offset:   -1 -5;
20479                }
20480                color: 0 0 0 255;
20481                color3: 0 0 0 0;
20482                text {
20483                   font: "Sans";
20484                   size: 10;
20485 //                  min: 1 1;
20486                   min: 0 1;
20487                   align: 0.0 0.5;
20488                   text_class: "list_item";
20489                }
20490             }
20491             description { state: "selected" 0.0;
20492                inherit: "default" 0.0;
20493                color: 224 224 224 255;
20494                color3: 0 0 0 64;
20495             }
20496          }
20497          part { name: "elm.text.sub";
20498             clip_to: "disclip";
20499             type:           TEXT;
20500             mouse_events:   0;
20501             scale: 1;
20502             description {
20503                state: "default" 0.0;
20504 //               min: 16 16;
20505                rel1 {
20506                   to_x:     "elm.swallow.icon";
20507                   relative: 1.0  0.5;
20508                   offset:   0 4;
20509                }
20510                rel2 {
20511                   to_x:     "elm.swallow.end";
20512                   relative: 0.0  1.0;
20513                   offset:   -1 -5;
20514                }
20515                color: 0 0 0 128;
20516                color3: 0 0 0 0;
20517                text {
20518                   font: "Sans";
20519                   size: 8;
20520 //                  min: 1 1;
20521                   min: 0 1;
20522                   align: 0.0 0.5;
20523                   text_class: "list_item";
20524                }
20525             }
20526             description { state: "selected" 0.0;
20527                inherit: "default" 0.0;
20528                color: 128 128 128 255;
20529                color3: 0 0 0 32;
20530             }
20531          }
20532          part { name: "fg1";
20533             clip_to: "disclip";
20534             mouse_events: 0;
20535             description { state: "default" 0.0;
20536                visible: 0;
20537                color: 255 255 255 0;
20538                rel1.to: "bg";
20539                rel2.relative: 1.0 0.5;
20540                rel2.to: "bg";
20541                image {
20542                   normal: "bt_sm_hilight.png";
20543                   border: 6 6 6 0;
20544                }
20545             }
20546             description { state: "selected" 0.0;
20547                inherit: "default" 0.0;
20548                visible: 1;
20549                color: 255 255 255 255;
20550             }
20551          }
20552          part { name: "fg2";
20553             clip_to: "disclip";
20554             mouse_events: 0;
20555             description { state: "default" 0.0;
20556                visible: 0;
20557                color: 255 255 255 0;
20558                rel1.to: "bg";
20559                rel2.to: "bg";
20560                image {
20561                   normal: "bt_sm_shine.png";
20562                   border: 6 6 6 0;
20563                }
20564             }
20565             description { state: "selected" 0.0;
20566                inherit: "default" 0.0;
20567                visible: 1;
20568                color: 255 255 255 255;
20569             }
20570          }
20571          part { name: "disclip";
20572             type: RECT;
20573             description { state: "default" 0.0;
20574                rel1.to: "bg";
20575                rel2.to: "bg";
20576             }
20577             description { state: "disabled" 0.0;
20578                inherit: "default" 0.0;
20579                color: 255 255 255 64;
20580             }
20581          }
20582       }
20583       programs {
20584          // signal: elm,state,%s,active
20585          //   a "check" item named %s went active
20586          // signal: elm,state,%s,passive
20587          //   a "check" item named %s went passive
20588          // default is passive
20589          program {
20590             name:    "go_active";
20591             signal:  "elm,state,selected";
20592             source:  "elm";
20593             action:  STATE_SET "selected" 0.0;
20594             target:  "bg";
20595             target:  "fg1";
20596             target:  "fg2";
20597             target:  "elm.text";
20598             target:  "elm.text.sub";
20599          }
20600          program {
20601             name:    "go_passive";
20602             signal:  "elm,state,unselected";
20603             source:  "elm";
20604             action:  STATE_SET "default" 0.0;
20605             target:  "bg";
20606             target:  "fg1";
20607             target:  "fg2";
20608             target:  "elm.text";
20609             target:  "elm.text.sub";
20610             transition: LINEAR 0.1;
20611          }
20612          program {
20613             name:    "go_disabled";
20614             signal:  "elm,state,disabled";
20615             source:  "elm";
20616             action:  STATE_SET "disabled" 0.0;
20617             target:  "disclip";
20618          }
20619          program {
20620             name:    "go_enabled";
20621             signal:  "elm,state,enabled";
20622             source:  "elm";
20623             action:  STATE_SET "default" 0.0;
20624             target:  "disclip";
20625          }
20626       }
20627    }
20628    group { name: "elm/genlist/item_odd/double_label/default";
20629       data.item: "stacking" "below";
20630       data.item: "selectraise" "on";
20631       data.item: "labels" "elm.text elm.text.sub";
20632       data.item: "icons" "elm.swallow.icon elm.swallow.end";
20633       data.item: "treesize" "20";
20634 //      data.item: "states" "";
20635       images {
20636          image: "bt_sm_base1.png" COMP;
20637          image: "bt_sm_shine.png" COMP;
20638          image: "bt_sm_hilight.png" COMP;
20639          image: "ilist_2.png" COMP;
20640       }
20641       parts {
20642          part { name: "event";
20643             type: RECT;
20644             repeat_events: 1;
20645             description {
20646                state: "default" 0.0;
20647                color: 0 0 0 0;
20648             }
20649          }
20650          part {
20651             name: "base";
20652             mouse_events: 0;
20653             description {
20654                state: "default" 0.0;
20655                image {
20656                   normal: "ilist_2.png";
20657                   border: 2 2 2 2;
20658                }
20659                fill.smooth: 0;
20660             }
20661          }
20662          part { name: "bg";
20663             clip_to: "disclip";
20664             mouse_events: 0;
20665             description { state: "default" 0.0;
20666                visible: 0;
20667                color: 255 255 255 0;
20668                rel1 {
20669                   relative: 0.0 0.0;
20670                   offset: -5 -5;
20671                }
20672                rel2 {
20673                   relative: 1.0 1.0;
20674                   offset: 4 4;
20675                }
20676                image {
20677                   normal: "bt_sm_base1.png";
20678                   border: 6 6 6 6;
20679                }
20680                image.middle: SOLID;
20681             }
20682             description { state: "selected" 0.0;
20683                inherit: "default" 0.0;
20684                visible: 1;
20685                color: 255 255 255 255;
20686                rel1 {
20687                   relative: 0.0 0.0;
20688                   offset: -2 -2;
20689                }
20690                rel2 {
20691                   relative: 1.0 1.0;
20692                   offset: 1 1;
20693                }
20694             }
20695          }
20696          part { name: "elm.swallow.pad";
20697             type: SWALLOW;
20698             description { state: "default" 0.0;
20699                fixed: 1 0;
20700                align: 0.0 0.5;
20701                rel1 {
20702                   relative: 0.0  0.0;
20703                   offset:   4    4;
20704                }
20705                rel2 {
20706                   relative: 0.0  1.0;
20707                   offset:   4   -5;
20708                }
20709             }
20710          }
20711          part { name: "elm.swallow.icon";
20712             clip_to: "disclip";
20713             type: SWALLOW;
20714             description { state: "default" 0.0;
20715                fixed: 1 0;
20716                align: 0.0 0.5;
20717                rel1 {
20718                   to_x: "elm.swallow.pad";
20719                   relative: 1.0  0.0;
20720                   offset:   -1    4;
20721                }
20722                rel2 {
20723                   to_x: "elm.swallow.pad";
20724                   relative: 1.0  1.0;
20725                   offset:   -1   -5;
20726                }
20727             }
20728          }
20729          part { name: "elm.swallow.end";
20730             clip_to: "disclip";
20731             type:          SWALLOW;
20732             description { state:    "default" 0.0;
20733                fixed: 1 0;
20734                align:    1.0 0.5;
20735                aspect: 1.0 1.0;
20736                aspect_preference: VERTICAL;
20737                rel1 {
20738                   relative: 1.0  0.0;
20739                   offset:   -5    4;
20740                }
20741                rel2 {
20742                   relative: 1.0  1.0;
20743                   offset:   -5   -5;
20744                }
20745             }
20746          }
20747          part { name: "elm.text";
20748             clip_to: "disclip";
20749             type:           TEXT;
20750             effect:         SOFT_SHADOW;
20751             mouse_events:   0;
20752             scale: 1;
20753             description {
20754                state: "default" 0.0;
20755 //               min: 16 16;
20756                rel1 {
20757                   to_x:     "elm.swallow.icon";
20758                   relative: 1.0  0.0;
20759                   offset:   0 4;
20760                }
20761                rel2 {
20762                   to_x:     "elm.swallow.end";
20763                   relative: 0.0  0.5;
20764                   offset:   -1 -5;
20765                }
20766                color: 0 0 0 255;
20767                color3: 0 0 0 0;
20768                text {
20769                   font: "Sans";
20770                   size: 10;
20771                   min: 1 1;
20772 //                  min: 0 1;
20773                   align: 0.0 0.5;
20774                   text_class: "list_item";
20775                }
20776             }
20777             description { state: "selected" 0.0;
20778                inherit: "default" 0.0;
20779                color: 224 224 224 255;
20780                color3: 0 0 0 64;
20781             }
20782          }
20783          part { name: "elm.text.sub";
20784             clip_to: "disclip";
20785             type:           TEXT;
20786             mouse_events:   0;
20787             scale: 1;
20788             description {
20789                state: "default" 0.0;
20790 //               min: 16 16;
20791                rel1 {
20792                   to_x:     "elm.swallow.icon";
20793                   relative: 1.0  0.5;
20794                   offset:   0 4;
20795                }
20796                rel2 {
20797                   to_x:     "elm.swallow.end";
20798                   relative: 0.0  1.0;
20799                   offset:   -1 -5;
20800                }
20801                color: 0 0 0 128;
20802                color3: 0 0 0 0;
20803                text {
20804                   font: "Sans";
20805                   size: 8;
20806                   min: 1 1;
20807 //                  min: 0 1;
20808                   align: 0.0 0.5;
20809                   text_class: "list_item";
20810                }
20811             }
20812             description { state: "selected" 0.0;
20813                inherit: "default" 0.0;
20814                color: 128 128 128 255;
20815                color3: 0 0 0 32;
20816             }
20817          }
20818          part { name: "fg1";
20819             clip_to: "disclip";
20820             mouse_events: 0;
20821             description { state: "default" 0.0;
20822                visible: 0;
20823                color: 255 255 255 0;
20824                rel1.to: "bg";
20825                rel2.relative: 1.0 0.5;
20826                rel2.to: "bg";
20827                image {
20828                   normal: "bt_sm_hilight.png";
20829                   border: 6 6 6 0;
20830                }
20831             }
20832             description { state: "selected" 0.0;
20833                inherit: "default" 0.0;
20834                visible: 1;
20835                color: 255 255 255 255;
20836             }
20837          }
20838          part { name: "fg2";
20839             clip_to: "disclip";
20840             mouse_events: 0;
20841             description { state: "default" 0.0;
20842                visible: 0;
20843                color: 255 255 255 0;
20844                rel1.to: "bg";
20845                rel2.to: "bg";
20846                image {
20847                   normal: "bt_sm_shine.png";
20848                   border: 6 6 6 0;
20849                }
20850             }
20851             description { state: "selected" 0.0;
20852                inherit: "default" 0.0;
20853                visible: 1;
20854                color: 255 255 255 255;
20855             }
20856          }
20857          part { name: "disclip";
20858             type: RECT;
20859             description { state: "default" 0.0;
20860                rel1.to: "bg";
20861                rel2.to: "bg";
20862             }
20863             description { state: "disabled" 0.0;
20864                inherit: "default" 0.0;
20865                color: 255 255 255 64;
20866             }
20867          }
20868       }
20869       programs {
20870          // signal: elm,state,%s,active
20871          //   a "check" item named %s went active
20872          // signal: elm,state,%s,passive
20873          //   a "check" item named %s went passive
20874          // default is passive
20875          program {
20876             name:    "go_active";
20877             signal:  "elm,state,selected";
20878             source:  "elm";
20879             action:  STATE_SET "selected" 0.0;
20880             target:  "bg";
20881             target:  "fg1";
20882             target:  "fg2";
20883             target:  "elm.text";
20884             target:  "elm.text.sub";
20885          }
20886          program {
20887             name:    "go_passive";
20888             signal:  "elm,state,unselected";
20889             source:  "elm";
20890             action:  STATE_SET "default" 0.0;
20891             target:  "bg";
20892             target:  "fg1";
20893             target:  "fg2";
20894             target:  "elm.text";
20895             target:  "elm.text.sub";
20896             transition: LINEAR 0.1;
20897          }
20898          program {
20899             name:    "go_disabled";
20900             signal:  "elm,state,disabled";
20901             source:  "elm";
20902             action:  STATE_SET "disabled" 0.0;
20903             target:  "disclip";
20904          }
20905          program {
20906             name:    "go_enabled";
20907             signal:  "elm,state,enabled";
20908             source:  "elm";
20909             action:  STATE_SET "default" 0.0;
20910             target:  "disclip";
20911          }
20912       }
20913    }
20914    group { name: "elm/genlist/item_compress_odd/double_label/default";
20915       data.item: "stacking" "below";
20916       data.item: "selectraise" "on";
20917       data.item: "labels" "elm.text elm.text.sub";
20918       data.item: "icons" "elm.swallow.icon elm.swallow.end";
20919       data.item: "treesize" "20";
20920 //      data.item: "states" "";
20921       images {
20922          image: "bt_sm_base1.png" COMP;
20923          image: "bt_sm_shine.png" COMP;
20924          image: "bt_sm_hilight.png" COMP;
20925          image: "ilist_2.png" COMP;
20926       }
20927       parts {
20928          part { name: "event";
20929             type: RECT;
20930             repeat_events: 1;
20931             description {
20932                state: "default" 0.0;
20933                color: 0 0 0 0;
20934             }
20935          }
20936          part {
20937             name: "base";
20938             mouse_events: 0;
20939             description {
20940                state: "default" 0.0;
20941                image {
20942                   normal: "ilist_2.png";
20943                   border: 2 2 2 2;
20944                }
20945                fill.smooth: 0;
20946             }
20947          }
20948          part { name: "bg";
20949             clip_to: "disclip";
20950             mouse_events: 0;
20951             description { state: "default" 0.0;
20952                visible: 0;
20953                color: 255 255 255 0;
20954                rel1 {
20955                   relative: 0.0 0.0;
20956                   offset: -5 -5;
20957                }
20958                rel2 {
20959                   relative: 1.0 1.0;
20960                   offset: 4 4;
20961                }
20962                image {
20963                   normal: "bt_sm_base1.png";
20964                   border: 6 6 6 6;
20965                }
20966                image.middle: SOLID;
20967             }
20968             description { state: "selected" 0.0;
20969                inherit: "default" 0.0;
20970                visible: 1;
20971                color: 255 255 255 255;
20972                rel1 {
20973                   relative: 0.0 0.0;
20974                   offset: -2 -2;
20975                }
20976                rel2 {
20977                   relative: 1.0 1.0;
20978                   offset: 1 1;
20979                }
20980             }
20981          }
20982          part { name: "elm.swallow.pad";
20983             type: SWALLOW;
20984             description { state: "default" 0.0;
20985                fixed: 1 0;
20986                align: 0.0 0.5;
20987                rel1 {
20988                   relative: 0.0  0.0;
20989                   offset:   4    4;
20990                }
20991                rel2 {
20992                   relative: 0.0  1.0;
20993                   offset:   4   -5;
20994                }
20995             }
20996          }
20997          part { name: "elm.swallow.icon";
20998             clip_to: "disclip";
20999             type: SWALLOW;
21000             description { state: "default" 0.0;
21001                fixed: 1 0;
21002                align: 0.0 0.5;
21003                rel1 {
21004                   to_x: "elm.swallow.pad";
21005                   relative: 1.0  0.0;
21006                   offset:   -1    4;
21007                }
21008                rel2 {
21009                   to_x: "elm.swallow.pad";
21010                   relative: 1.0  1.0;
21011                   offset:   -1   -5;
21012                }
21013             }
21014          }
21015          part { name: "elm.swallow.end";
21016             clip_to: "disclip";
21017             type:          SWALLOW;
21018             description { state:    "default" 0.0;
21019                fixed: 1 0;
21020                align:    1.0 0.5;
21021                aspect: 1.0 1.0;
21022                aspect_preference: VERTICAL;
21023                rel1 {
21024                   relative: 1.0  0.0;
21025                   offset:   -5    4;
21026                }
21027                rel2 {
21028                   relative: 1.0  1.0;
21029                   offset:   -5   -5;
21030                }
21031             }
21032          }
21033          part { name: "elm.text";
21034             clip_to: "disclip";
21035             type:           TEXT;
21036             effect:         SOFT_SHADOW;
21037             mouse_events:   0;
21038             scale: 1;
21039             description {
21040                state: "default" 0.0;
21041 //               min: 16 16;
21042                rel1 {
21043                   to_x:     "elm.swallow.icon";
21044                   relative: 1.0  0.0;
21045                   offset:   0 4;
21046                }
21047                rel2 {
21048                   to_x:     "elm.swallow.end";
21049                   relative: 0.0  0.5;
21050                   offset:   -1 -5;
21051                }
21052                color: 0 0 0 255;
21053                color3: 0 0 0 0;
21054                text {
21055                   font: "Sans";
21056                   size: 10;
21057 //                  min: 1 1;
21058                   min: 0 1;
21059                   align: 0.0 0.5;
21060                   text_class: "list_item";
21061                }
21062             }
21063             description { state: "selected" 0.0;
21064                inherit: "default" 0.0;
21065                color: 224 224 224 255;
21066                color3: 0 0 0 64;
21067             }
21068          }
21069          part { name: "elm.text.sub";
21070             clip_to: "disclip";
21071             type:           TEXT;
21072             mouse_events:   0;
21073             scale: 1;
21074             description {
21075                state: "default" 0.0;
21076 //               min: 16 16;
21077                rel1 {
21078                   to_x:     "elm.swallow.icon";
21079                   relative: 1.0  0.5;
21080                   offset:   0 4;
21081                }
21082                rel2 {
21083                   to_x:     "elm.swallow.end";
21084                   relative: 0.0  1.0;
21085                   offset:   -1 -5;
21086                }
21087                color: 0 0 0 128;
21088                color3: 0 0 0 0;
21089                text {
21090                   font: "Sans";
21091                   size: 8;
21092 //                  min: 1 1;
21093                   min: 0 1;
21094                   align: 0.0 0.5;
21095                   text_class: "list_item";
21096                }
21097             }
21098             description { state: "selected" 0.0;
21099                inherit: "default" 0.0;
21100                color: 128 128 128 255;
21101                color3: 0 0 0 32;
21102             }
21103          }
21104          part { name: "fg1";
21105             clip_to: "disclip";
21106             mouse_events: 0;
21107             description { state: "default" 0.0;
21108                visible: 0;
21109                color: 255 255 255 0;
21110                rel1.to: "bg";
21111                rel2.relative: 1.0 0.5;
21112                rel2.to: "bg";
21113                image {
21114                   normal: "bt_sm_hilight.png";
21115                   border: 6 6 6 0;
21116                }
21117             }
21118             description { state: "selected" 0.0;
21119                inherit: "default" 0.0;
21120                visible: 1;
21121                color: 255 255 255 255;
21122             }
21123          }
21124          part { name: "fg2";
21125             clip_to: "disclip";
21126             mouse_events: 0;
21127             description { state: "default" 0.0;
21128                visible: 0;
21129                color: 255 255 255 0;
21130                rel1.to: "bg";
21131                rel2.to: "bg";
21132                image {
21133                   normal: "bt_sm_shine.png";
21134                   border: 6 6 6 0;
21135                }
21136             }
21137             description { state: "selected" 0.0;
21138                inherit: "default" 0.0;
21139                visible: 1;
21140                color: 255 255 255 255;
21141             }
21142          }
21143          part { name: "disclip";
21144             type: RECT;
21145             description { state: "default" 0.0;
21146                rel1.to: "bg";
21147                rel2.to: "bg";
21148             }
21149             description { state: "disabled" 0.0;
21150                inherit: "default" 0.0;
21151                color: 255 255 255 64;
21152             }
21153          }
21154       }
21155       programs {
21156          // signal: elm,state,%s,active
21157          //   a "check" item named %s went active
21158          // signal: elm,state,%s,passive
21159          //   a "check" item named %s went passive
21160          // default is passive
21161          program {
21162             name:    "go_active";
21163             signal:  "elm,state,selected";
21164             source:  "elm";
21165             action:  STATE_SET "selected" 0.0;
21166             target:  "bg";
21167             target:  "fg1";
21168             target:  "fg2";
21169             target:  "elm.text";
21170             target:  "elm.text.sub";
21171          }
21172          program {
21173             name:    "go_passive";
21174             signal:  "elm,state,unselected";
21175             source:  "elm";
21176             action:  STATE_SET "default" 0.0;
21177             target:  "bg";
21178             target:  "fg1";
21179             target:  "fg2";
21180             target:  "elm.text";
21181             target:  "elm.text.sub";
21182             transition: LINEAR 0.1;
21183          }
21184          program {
21185             name:    "go_disabled";
21186             signal:  "elm,state,disabled";
21187             source:  "elm";
21188             action:  STATE_SET "disabled" 0.0;
21189             target:  "disclip";
21190          }
21191          program {
21192             name:    "go_enabled";
21193             signal:  "elm,state,enabled";
21194             source:  "elm";
21195             action:  STATE_SET "default" 0.0;
21196             target:  "disclip";
21197          }
21198       }
21199    }
21200
21201    group { name: "elm/genlist/tree/double_label/default";
21202       data.item: "stacking" "above";
21203       data.item: "selectraise" "on";
21204       data.item: "labels" "elm.text elm.text.sub";
21205       data.item: "icons" "elm.swallow.icon elm.swallow.end";
21206       data.item: "treesize" "20";
21207 //      data.item: "states" "";
21208       images {
21209          image: "bt_sm_base1.png" COMP;
21210          image: "bt_sm_shine.png" COMP;
21211          image: "bt_sm_hilight.png" COMP;
21212          image: "ilist_1.png" COMP;
21213          image: "ilist_item_shadow.png" COMP;
21214          image: "icon_arrow_right.png" COMP;
21215          image: "icon_arrow_down.png" COMP;
21216       }
21217       parts {
21218          part {
21219             name:           "event";
21220             type:           RECT;
21221             repeat_events: 1;
21222             description {
21223                state: "default" 0.0;
21224                color: 0 0 0 0;
21225             }
21226          }
21227          part {
21228             name: "base_sh";
21229             mouse_events: 0;
21230             description {
21231                state: "default" 0.0;
21232                align: 0.0 0.0;
21233                min: 0 10;
21234                fixed: 1 1;
21235                rel1 {
21236                   to: "base";
21237                   relative: 0.0 1.0;
21238                   offset: 0 0;
21239                }
21240                rel2 {
21241                   to: "base";
21242                   relative: 1.0 1.0;
21243                   offset: -1 0;
21244                }
21245                image {
21246                   normal: "ilist_item_shadow.png";
21247                }
21248                fill.smooth: 0;
21249             }
21250          }
21251          part {
21252             name: "base";
21253             mouse_events: 0;
21254             description {
21255                state: "default" 0.0;
21256                image {
21257                   normal: "ilist_1.png";
21258                   border: 2 2 2 2;
21259                }
21260                fill.smooth: 0;
21261             }
21262          }
21263          part { name: "bg";
21264             clip_to: "disclip";
21265             mouse_events: 0;
21266             description { state: "default" 0.0;
21267                visible: 0;
21268                color: 255 255 255 0;
21269                rel1 {
21270                   relative: 0.0 0.0;
21271                   offset: -5 -5;
21272                }
21273                rel2 {
21274                   relative: 1.0 1.0;
21275                   offset: 4 4;
21276                }
21277                image {
21278                   normal: "bt_sm_base1.png";
21279                   border: 6 6 6 6;
21280                }
21281                image.middle: SOLID;
21282             }
21283             description { state: "selected" 0.0;
21284                inherit: "default" 0.0;
21285                visible: 1;
21286                color: 255 255 255 255;
21287                rel1 {
21288                   relative: 0.0 0.0;
21289                   offset: -2 -2;
21290                }
21291                rel2 {
21292                   relative: 1.0 1.0;
21293                   offset: 1 1;
21294                }
21295             }
21296          }
21297          part { name: "elm.swallow.pad";
21298             type: SWALLOW;
21299             description { state: "default" 0.0;
21300                fixed: 1 0;
21301                align: 0.0 0.5;
21302                rel1 {
21303                   relative: 0.0  0.0;
21304                   offset:   4    4;
21305                }
21306                rel2 {
21307                   relative: 0.0  1.0;
21308                   offset:   4   -5;
21309                }
21310             }
21311          }
21312          part { name: "arrow";
21313             clip_to: "disclip";
21314             ignore_flags: ON_HOLD;
21315             description { state: "default" 0.0;
21316                fixed: 1 0;
21317                align: 0.0 0.5;
21318                aspect: 1.0 1.0;
21319                rel1 {
21320                   to_x: "elm.swallow.pad";
21321                   relative: 1.0  0.0;
21322                   offset:   -1    4;
21323                }
21324                rel2 {
21325                   to_x: "elm.swallow.pad";
21326                   relative: 1.0  1.0;
21327                   offset:   -1   -5;
21328                }
21329                image.normal: "icon_arrow_right.png";
21330             }
21331             description { state: "active" 0.0;
21332                inherit: "default" 0.0;
21333                image.normal: "icon_arrow_down.png";
21334             }
21335          }
21336          part { name: "elm.swallow.icon";
21337             clip_to: "disclip";
21338             type: SWALLOW;
21339             description { state: "default" 0.0;
21340                fixed: 1 0;
21341                align: 0.0 0.5;
21342                rel1 {
21343                   to_x: "arrow";
21344                   relative: 1.0  0.0;
21345                   offset:   4    4;
21346                }
21347                rel2 {
21348                   to_x: "arrow";
21349                   relative: 1.0  1.0;
21350                   offset:   4   -5;
21351                }
21352             }
21353          }
21354          part { name: "elm.swallow.end";
21355             clip_to: "disclip";
21356             type: SWALLOW;
21357             description { state: "default" 0.0;
21358                fixed: 1 0;
21359                align: 1.0 0.5;
21360                aspect: 1.0 1.0;
21361                aspect_preference: VERTICAL;
21362                rel1 {
21363                   relative: 1.0  0.0;
21364                   offset:   -5    4;
21365                }
21366                rel2 {
21367                   relative: 1.0  1.0;
21368                   offset:   -5   -5;
21369                }
21370             }
21371          }
21372          part { name: "elm.text";
21373             clip_to: "disclip";
21374             type:           TEXT;
21375             effect:         SOFT_SHADOW;
21376             mouse_events:   0;
21377             scale: 1;
21378             description {
21379                state: "default" 0.0;
21380 //               min: 16 16;
21381                rel1 {
21382                   to_x:     "elm.swallow.icon";
21383                   relative: 1.0  0.0;
21384                   offset:   0 4;
21385                }
21386                rel2 {
21387                   to_x:     "elm.swallow.end";
21388                   relative: 0.0  0.5;
21389                   offset:   -1 -5;
21390                }
21391                color: 0 0 0 255;
21392                color3: 0 0 0 0;
21393                text {
21394                   font: "Sans";
21395                   size: 10;
21396                   min: 1 1;
21397 //                  min: 0 1;
21398                   align: 0.0 0.5;
21399                   text_class: "list_item";
21400                }
21401             }
21402             description { state: "selected" 0.0;
21403                inherit: "default" 0.0;
21404                color: 224 224 224 255;
21405                color3: 0 0 0 64;
21406             }
21407          }
21408          part { name: "elm.text.sub";
21409             clip_to: "disclip";
21410             type:           TEXT;
21411             mouse_events:   0;
21412             scale: 1;
21413             description {
21414                state: "default" 0.0;
21415 //               min: 16 16;
21416                rel1 {
21417                   to_x:     "elm.swallow.icon";
21418                   relative: 1.0  0.5;
21419                   offset:   0 4;
21420                }
21421                rel2 {
21422                   to_x:     "elm.swallow.end";
21423                   relative: 0.0  1.0;
21424                   offset:   -1 -5;
21425                }
21426                color: 0 0 0 128;
21427                color3: 0 0 0 0;
21428                text {
21429                   font: "Sans";
21430                   size: 8;
21431                   min: 1 1;
21432 //                  min: 0 1;
21433                   align: 0.0 0.5;
21434                   text_class: "list_item";
21435                }
21436             }
21437             description { state: "selected" 0.0;
21438                inherit: "default" 0.0;
21439                color: 128 128 128 255;
21440                color3: 0 0 0 32;
21441             }
21442          }
21443          part { name: "fg1";
21444             clip_to: "disclip";
21445             mouse_events: 0;
21446             description { state: "default" 0.0;
21447                visible: 0;
21448                color: 255 255 255 0;
21449                rel1.to: "bg";
21450                rel2.relative: 1.0 0.5;
21451                rel2.to: "bg";
21452                image {
21453                   normal: "bt_sm_hilight.png";
21454                   border: 6 6 6 0;
21455                }
21456             }
21457             description { state: "selected" 0.0;
21458                inherit: "default" 0.0;
21459                visible: 1;
21460                color: 255 255 255 255;
21461             }
21462          }
21463          part { name: "fg2";
21464             clip_to: "disclip";
21465             mouse_events: 0;
21466             description { state: "default" 0.0;
21467                visible: 0;
21468                color: 255 255 255 0;
21469                rel1.to: "bg";
21470                rel2.to: "bg";
21471                image {
21472                   normal: "bt_sm_shine.png";
21473                   border: 6 6 6 0;
21474                }
21475             }
21476             description { state: "selected" 0.0;
21477                inherit: "default" 0.0;
21478                visible: 1;
21479                color: 255 255 255 255;
21480             }
21481          }
21482          part { name: "disclip";
21483             type: RECT;
21484             description { state: "default" 0.0;
21485                rel1.to: "bg";
21486                rel2.to: "bg";
21487             }
21488             description { state: "disabled" 0.0;
21489                inherit: "default" 0.0;
21490                color: 255 255 255 64;
21491             }
21492          }
21493       }
21494       programs {
21495          // signal: elm,state,%s,active
21496          //   a "check" item named %s went active
21497          // signal: elm,state,%s,passive
21498          //   a "check" item named %s went passive
21499          // default is passive
21500          program {
21501             name:    "go_active";
21502             signal:  "elm,state,selected";
21503             source:  "elm";
21504             action:  STATE_SET "selected" 0.0;
21505             target:  "bg";
21506             target:  "fg1";
21507             target:  "fg2";
21508             target:  "elm.text";
21509             target:  "elm.text.sub";
21510          }
21511          program {
21512             name:    "go_passive";
21513             signal:  "elm,state,unselected";
21514             source:  "elm";
21515             action:  STATE_SET "default" 0.0;
21516             target:  "bg";
21517             target:  "fg1";
21518             target:  "fg2";
21519             target:  "elm.text";
21520             target:  "elm.text.sub";
21521             transition: LINEAR 0.1;
21522          }
21523          program {
21524             name:    "go_disabled";
21525             signal:  "elm,state,disabled";
21526             source:  "elm";
21527             action:  STATE_SET "disabled" 0.0;
21528             target:  "disclip";
21529          }
21530          program {
21531             name:    "go_enabled";
21532             signal:  "elm,state,enabled";
21533             source:  "elm";
21534             action:  STATE_SET "default" 0.0;
21535             target:  "disclip";
21536          }
21537          program {
21538             name:    "expand";
21539             signal:  "mouse,up,1";
21540             source:  "arrow";
21541             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
21542          }
21543          program {
21544             name:    "go_expanded";
21545             signal:  "elm,state,expanded";
21546             source:  "elm";
21547             action:  STATE_SET "active" 0.0;
21548             target:  "arrow";
21549          }
21550          program {
21551             name:    "go_contracted";
21552             signal:  "elm,state,contracted";
21553             source:  "elm";
21554             action:  STATE_SET "default" 0.0;
21555             target:  "arrow";
21556          }
21557       }
21558    }
21559    group { name: "elm/genlist/tree_compress/double_label/default";
21560       data.item: "stacking" "above";
21561       data.item: "selectraise" "on";
21562       data.item: "labels" "elm.text elm.text.sub";
21563       data.item: "icons" "elm.swallow.icon elm.swallow.end";
21564       data.item: "treesize" "20";
21565 //      data.item: "states" "";
21566       images {
21567          image: "bt_sm_base1.png" COMP;
21568          image: "bt_sm_shine.png" COMP;
21569          image: "bt_sm_hilight.png" COMP;
21570          image: "ilist_1.png" COMP;
21571          image: "ilist_item_shadow.png" COMP;
21572          image: "icon_arrow_right.png" COMP;
21573          image: "icon_arrow_down.png" COMP;
21574       }
21575       parts {
21576          part {
21577             name:           "event";
21578             type:           RECT;
21579             repeat_events: 1;
21580             description {
21581                state: "default" 0.0;
21582                color: 0 0 0 0;
21583             }
21584          }
21585          part {
21586             name: "base_sh";
21587             mouse_events: 0;
21588             description {
21589                state: "default" 0.0;
21590                align: 0.0 0.0;
21591                min: 0 10;
21592                fixed: 1 1;
21593                rel1 {
21594                   to: "base";
21595                   relative: 0.0 1.0;
21596                   offset: 0 0;
21597                }
21598                rel2 {
21599                   to: "base";
21600                   relative: 1.0 1.0;
21601                   offset: -1 0;
21602                }
21603                image {
21604                   normal: "ilist_item_shadow.png";
21605                }
21606                fill.smooth: 0;
21607             }
21608          }
21609          part {
21610             name: "base";
21611             mouse_events: 0;
21612             description {
21613                state: "default" 0.0;
21614                image {
21615                   normal: "ilist_1.png";
21616                   border: 2 2 2 2;
21617                }
21618                fill.smooth: 0;
21619             }
21620          }
21621          part { name: "bg";
21622             clip_to: "disclip";
21623             mouse_events: 0;
21624             description { state: "default" 0.0;
21625                visible: 0;
21626                color: 255 255 255 0;
21627                rel1 {
21628                   relative: 0.0 0.0;
21629                   offset: -5 -5;
21630                }
21631                rel2 {
21632                   relative: 1.0 1.0;
21633                   offset: 4 4;
21634                }
21635                image {
21636                   normal: "bt_sm_base1.png";
21637                   border: 6 6 6 6;
21638                }
21639                image.middle: SOLID;
21640             }
21641             description { state: "selected" 0.0;
21642                inherit: "default" 0.0;
21643                visible: 1;
21644                color: 255 255 255 255;
21645                rel1 {
21646                   relative: 0.0 0.0;
21647                   offset: -2 -2;
21648                }
21649                rel2 {
21650                   relative: 1.0 1.0;
21651                   offset: 1 1;
21652                }
21653             }
21654          }
21655          part { name: "elm.swallow.pad";
21656             type: SWALLOW;
21657             description { state: "default" 0.0;
21658                fixed: 1 0;
21659                align: 0.0 0.5;
21660                rel1 {
21661                   relative: 0.0  0.0;
21662                   offset:   4    4;
21663                }
21664                rel2 {
21665                   relative: 0.0  1.0;
21666                   offset:   4   -5;
21667                }
21668             }
21669          }
21670          part { name: "arrow";
21671             clip_to: "disclip";
21672             ignore_flags: ON_HOLD;
21673             description { state: "default" 0.0;
21674                fixed: 1 0;
21675                align: 0.0 0.5;
21676                aspect: 1.0 1.0;
21677                rel1 {
21678                   to_x: "elm.swallow.pad";
21679                   relative: 1.0  0.0;
21680                   offset:   -1    4;
21681                }
21682                rel2 {
21683                   to_x: "elm.swallow.pad";
21684                   relative: 1.0  1.0;
21685                   offset:   -1   -5;
21686                }
21687                image.normal: "icon_arrow_right.png";
21688             }
21689             description { state: "active" 0.0;
21690                inherit: "default" 0.0;
21691                image.normal: "icon_arrow_down.png";
21692             }
21693          }
21694          part { name: "elm.swallow.icon";
21695             clip_to: "disclip";
21696             type: SWALLOW;
21697             description { state: "default" 0.0;
21698                fixed: 1 0;
21699                align: 0.0 0.5;
21700                rel1 {
21701                   to_x: "arrow";
21702                   relative: 1.0  0.0;
21703                   offset:   4    4;
21704                }
21705                rel2 {
21706                   to_x: "arrow";
21707                   relative: 1.0  1.0;
21708                   offset:   4   -5;
21709                }
21710             }
21711          }
21712          part { name: "elm.swallow.end";
21713             clip_to: "disclip";
21714             type: SWALLOW;
21715             description { state: "default" 0.0;
21716                fixed: 1 0;
21717                align: 1.0 0.5;
21718                aspect: 1.0 1.0;
21719                aspect_preference: VERTICAL;
21720                rel1 {
21721                   relative: 1.0  0.0;
21722                   offset:   -5    4;
21723                }
21724                rel2 {
21725                   relative: 1.0  1.0;
21726                   offset:   -5   -5;
21727                }
21728             }
21729          }
21730          part { name: "elm.text";
21731             clip_to: "disclip";
21732             type:           TEXT;
21733             effect:         SOFT_SHADOW;
21734             mouse_events:   0;
21735             scale: 1;
21736             description {
21737                state: "default" 0.0;
21738 //               min: 16 16;
21739                rel1 {
21740                   to_x:     "elm.swallow.icon";
21741                   relative: 1.0  0.0;
21742                   offset:   0 4;
21743                }
21744                rel2 {
21745                   to_x:     "elm.swallow.end";
21746                   relative: 0.0  0.5;
21747                   offset:   -1 -5;
21748                }
21749                color: 0 0 0 255;
21750                color3: 0 0 0 0;
21751                text {
21752                   font: "Sans";
21753                   size: 10;
21754 //                  min: 1 1;
21755                   min: 0 1;
21756                   align: 0.0 0.5;
21757                   text_class: "list_item";
21758                }
21759             }
21760             description { state: "selected" 0.0;
21761                inherit: "default" 0.0;
21762                color: 224 224 224 255;
21763                color3: 0 0 0 64;
21764             }
21765          }
21766          part { name: "elm.text.sub";
21767             clip_to: "disclip";
21768             type:           TEXT;
21769             mouse_events:   0;
21770             scale: 1;
21771             description {
21772                state: "default" 0.0;
21773 //               min: 16 16;
21774                rel1 {
21775                   to_x:     "elm.swallow.icon";
21776                   relative: 1.0  0.5;
21777                   offset:   0 4;
21778                }
21779                rel2 {
21780                   to_x:     "elm.swallow.end";
21781                   relative: 0.0  1.0;
21782                   offset:   -1 -5;
21783                }
21784                color: 0 0 0 128;
21785                color3: 0 0 0 0;
21786                text {
21787                   font: "Sans";
21788                   size: 8;
21789 //                  min: 1 1;
21790                   min: 0 1;
21791                   align: 0.0 0.5;
21792                   text_class: "list_item";
21793                }
21794             }
21795             description { state: "selected" 0.0;
21796                inherit: "default" 0.0;
21797                color: 128 128 128 255;
21798                color3: 0 0 0 32;
21799             }
21800          }
21801          part { name: "fg1";
21802             clip_to: "disclip";
21803             mouse_events: 0;
21804             description { state: "default" 0.0;
21805                visible: 0;
21806                color: 255 255 255 0;
21807                rel1.to: "bg";
21808                rel2.relative: 1.0 0.5;
21809                rel2.to: "bg";
21810                image {
21811                   normal: "bt_sm_hilight.png";
21812                   border: 6 6 6 0;
21813                }
21814             }
21815             description { state: "selected" 0.0;
21816                inherit: "default" 0.0;
21817                visible: 1;
21818                color: 255 255 255 255;
21819             }
21820          }
21821          part { name: "fg2";
21822             clip_to: "disclip";
21823             mouse_events: 0;
21824             description { state: "default" 0.0;
21825                visible: 0;
21826                color: 255 255 255 0;
21827                rel1.to: "bg";
21828                rel2.to: "bg";
21829                image {
21830                   normal: "bt_sm_shine.png";
21831                   border: 6 6 6 0;
21832                }
21833             }
21834             description { state: "selected" 0.0;
21835                inherit: "default" 0.0;
21836                visible: 1;
21837                color: 255 255 255 255;
21838             }
21839          }
21840          part { name: "disclip";
21841             type: RECT;
21842             description { state: "default" 0.0;
21843                rel1.to: "bg";
21844                rel2.to: "bg";
21845             }
21846             description { state: "disabled" 0.0;
21847                inherit: "default" 0.0;
21848                color: 255 255 255 64;
21849             }
21850          }
21851       }
21852       programs {
21853          // signal: elm,state,%s,active
21854          //   a "check" item named %s went active
21855          // signal: elm,state,%s,passive
21856          //   a "check" item named %s went passive
21857          // default is passive
21858          program {
21859             name:    "go_active";
21860             signal:  "elm,state,selected";
21861             source:  "elm";
21862             action:  STATE_SET "selected" 0.0;
21863             target:  "bg";
21864             target:  "fg1";
21865             target:  "fg2";
21866             target:  "elm.text";
21867             target:  "elm.text.sub";
21868          }
21869          program {
21870             name:    "go_passive";
21871             signal:  "elm,state,unselected";
21872             source:  "elm";
21873             action:  STATE_SET "default" 0.0;
21874             target:  "bg";
21875             target:  "fg1";
21876             target:  "fg2";
21877             target:  "elm.text";
21878             target:  "elm.text.sub";
21879             transition: LINEAR 0.1;
21880          }
21881          program {
21882             name:    "go_disabled";
21883             signal:  "elm,state,disabled";
21884             source:  "elm";
21885             action:  STATE_SET "disabled" 0.0;
21886             target:  "disclip";
21887          }
21888          program {
21889             name:    "go_enabled";
21890             signal:  "elm,state,enabled";
21891             source:  "elm";
21892             action:  STATE_SET "default" 0.0;
21893             target:  "disclip";
21894          }
21895          program {
21896             name:    "expand";
21897             signal:  "mouse,up,1";
21898             source:  "arrow";
21899             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
21900          }
21901          program {
21902             name:    "go_expanded";
21903             signal:  "elm,state,expanded";
21904             source:  "elm";
21905             action:  STATE_SET "active" 0.0;
21906             target:  "arrow";
21907          }
21908          program {
21909             name:    "go_contracted";
21910             signal:  "elm,state,contracted";
21911             source:  "elm";
21912             action:  STATE_SET "default" 0.0;
21913             target:  "arrow";
21914          }
21915       }
21916    }
21917    group { name: "elm/genlist/tree_odd/double_label/default";
21918       data.item: "stacking" "below";
21919       data.item: "selectraise" "on";
21920       data.item: "labels" "elm.text elm.text.sub";
21921       data.item: "icons" "elm.swallow.icon elm.swallow.end";
21922       data.item: "treesize" "20";
21923 //      data.item: "states" "";
21924       images {
21925          image: "bt_sm_base1.png" COMP;
21926          image: "bt_sm_shine.png" COMP;
21927          image: "bt_sm_hilight.png" COMP;
21928          image: "ilist_2.png" COMP;
21929          image: "icon_arrow_right.png" COMP;
21930          image: "icon_arrow_down.png" COMP;
21931       }
21932       parts {
21933          part {
21934             name:           "event";
21935             type:           RECT;
21936             repeat_events: 1;
21937             description {
21938                state: "default" 0.0;
21939                color: 0 0 0 0;
21940             }
21941          }
21942          part {
21943             name: "base";
21944             mouse_events: 0;
21945             description {
21946                state: "default" 0.0;
21947                image {
21948                   normal: "ilist_2.png";
21949                   border: 2 2 2 2;
21950                }
21951                fill.smooth: 0;
21952             }
21953          }
21954          part { name: "bg";
21955             clip_to: "disclip";
21956             mouse_events: 0;
21957             description { state: "default" 0.0;
21958                visible: 0;
21959                color: 255 255 255 0;
21960                rel1 {
21961                   relative: 0.0 0.0;
21962                   offset: -5 -5;
21963                }
21964                rel2 {
21965                   relative: 1.0 1.0;
21966                   offset: 4 4;
21967                }
21968                image {
21969                   normal: "bt_sm_base1.png";
21970                   border: 6 6 6 6;
21971                }
21972                image.middle: SOLID;
21973             }
21974             description { state: "selected" 0.0;
21975                inherit: "default" 0.0;
21976                visible: 1;
21977                color: 255 255 255 255;
21978                rel1 {
21979                   relative: 0.0 0.0;
21980                   offset: -2 -2;
21981                }
21982                rel2 {
21983                   relative: 1.0 1.0;
21984                   offset: 1 1;
21985                }
21986             }
21987          }
21988          part { name: "elm.swallow.pad";
21989             type: SWALLOW;
21990             description { state: "default" 0.0;
21991                fixed: 1 0;
21992                align: 0.0 0.5;
21993                rel1 {
21994                   relative: 0.0  0.0;
21995                   offset:   4    4;
21996                }
21997                rel2 {
21998                   relative: 0.0  1.0;
21999                   offset:   4   -5;
22000                }
22001             }
22002          }
22003          part { name: "arrow";
22004             clip_to: "disclip";
22005             ignore_flags: ON_HOLD;
22006             description { state: "default" 0.0;
22007                fixed: 1 0;
22008                align: 0.0 0.5;
22009                aspect: 1.0 1.0;
22010                rel1 {
22011                   to_x: "elm.swallow.pad";
22012                   relative: 1.0  0.0;
22013                   offset:   -1    4;
22014                }
22015                rel2 {
22016                   to_x: "elm.swallow.pad";
22017                   relative: 1.0  1.0;
22018                   offset:   -1   -5;
22019                }
22020                image.normal: "icon_arrow_right.png";
22021             }
22022             description { state: "active" 0.0;
22023                inherit: "default" 0.0;
22024                image.normal: "icon_arrow_down.png";
22025             }
22026          }
22027          part { name: "elm.swallow.icon";
22028             clip_to: "disclip";
22029             type: SWALLOW;
22030             description { state: "default" 0.0;
22031                fixed: 1 0;
22032                align: 0.0 0.5;
22033                rel1 {
22034                   to_x: "arrow";
22035                   relative: 1.0  0.0;
22036                   offset:   4    4;
22037                }
22038                rel2 {
22039                   to_x: "arrow";
22040                   relative: 1.0  1.0;
22041                   offset:   4   -5;
22042                }
22043             }
22044          }
22045          part { name: "elm.swallow.end";
22046             clip_to: "disclip";
22047             type: SWALLOW;
22048             description { state: "default" 0.0;
22049                fixed: 1 0;
22050                align: 1.0 0.5;
22051                aspect: 1.0 1.0;
22052                aspect_preference: VERTICAL;
22053                rel1 {
22054                   relative: 1.0  0.0;
22055                   offset:   -5    4;
22056                }
22057                rel2 {
22058                   relative: 1.0  1.0;
22059                   offset:   -5   -5;
22060                }
22061             }
22062          }
22063          part { name: "elm.text";
22064             clip_to: "disclip";
22065             type:           TEXT;
22066             effect:         SOFT_SHADOW;
22067             mouse_events:   0;
22068             scale: 1;
22069             description {
22070                state: "default" 0.0;
22071 //               min: 16 16;
22072                rel1 {
22073                   to_x:     "elm.swallow.icon";
22074                   relative: 1.0  0.0;
22075                   offset:   0 4;
22076                }
22077                rel2 {
22078                   to_x:     "elm.swallow.end";
22079                   relative: 0.0  0.5;
22080                   offset:   -1 -5;
22081                }
22082                color: 0 0 0 255;
22083                color3: 0 0 0 0;
22084                text {
22085                   font: "Sans";
22086                   size: 10;
22087                   min: 1 1;
22088 //                  min: 0 1;
22089                   align: 0.0 0.5;
22090                   text_class: "list_item";
22091                }
22092             }
22093             description { state: "selected" 0.0;
22094                inherit: "default" 0.0;
22095                color: 224 224 224 255;
22096                color3: 0 0 0 64;
22097             }
22098          }
22099          part { name: "elm.text.sub";
22100             clip_to: "disclip";
22101             type:           TEXT;
22102             mouse_events:   0;
22103             scale: 1;
22104             description {
22105                state: "default" 0.0;
22106 //               min: 16 16;
22107                rel1 {
22108                   to_x:     "elm.swallow.icon";
22109                   relative: 1.0  0.5;
22110                   offset:   0 4;
22111                }
22112                rel2 {
22113                   to_x:     "elm.swallow.end";
22114                   relative: 0.0  1.0;
22115                   offset:   -1 -5;
22116                }
22117                color: 0 0 0 128;
22118                color3: 0 0 0 0;
22119                text {
22120                   font: "Sans";
22121                   size: 8;
22122                   min: 1 1;
22123 //                  min: 0 1;
22124                   align: 0.0 0.5;
22125                   text_class: "list_item";
22126                }
22127             }
22128             description { state: "selected" 0.0;
22129                inherit: "default" 0.0;
22130                color: 128 128 128 255;
22131                color3: 0 0 0 32;
22132             }
22133          }
22134          part { name: "fg1";
22135             clip_to: "disclip";
22136             mouse_events: 0;
22137             description { state: "default" 0.0;
22138                visible: 0;
22139                color: 255 255 255 0;
22140                rel1.to: "bg";
22141                rel2.relative: 1.0 0.5;
22142                rel2.to: "bg";
22143                image {
22144                   normal: "bt_sm_hilight.png";
22145                   border: 6 6 6 0;
22146                }
22147             }
22148             description { state: "selected" 0.0;
22149                inherit: "default" 0.0;
22150                visible: 1;
22151                color: 255 255 255 255;
22152             }
22153          }
22154          part { name: "fg2";
22155             clip_to: "disclip";
22156             mouse_events: 0;
22157             description { state: "default" 0.0;
22158                visible: 0;
22159                color: 255 255 255 0;
22160                rel1.to: "bg";
22161                rel2.to: "bg";
22162                image {
22163                   normal: "bt_sm_shine.png";
22164                   border: 6 6 6 0;
22165                }
22166             }
22167             description { state: "selected" 0.0;
22168                inherit: "default" 0.0;
22169                visible: 1;
22170                color: 255 255 255 255;
22171             }
22172          }
22173          part { name: "disclip";
22174             type: RECT;
22175             description { state: "default" 0.0;
22176                rel1.to: "bg";
22177                rel2.to: "bg";
22178             }
22179             description { state: "disabled" 0.0;
22180                inherit: "default" 0.0;
22181                color: 255 255 255 64;
22182             }
22183          }
22184       }
22185       programs {
22186          // signal: elm,state,%s,active
22187          //   a "check" item named %s went active
22188          // signal: elm,state,%s,passive
22189          //   a "check" item named %s went passive
22190          // default is passive
22191          program {
22192             name:    "go_active";
22193             signal:  "elm,state,selected";
22194             source:  "elm";
22195             action:  STATE_SET "selected" 0.0;
22196             target:  "bg";
22197             target:  "fg1";
22198             target:  "fg2";
22199             target:  "elm.text";
22200             target:  "elm.text.sub";
22201          }
22202          program {
22203             name:    "go_passive";
22204             signal:  "elm,state,unselected";
22205             source:  "elm";
22206             action:  STATE_SET "default" 0.0;
22207             target:  "bg";
22208             target:  "fg1";
22209             target:  "fg2";
22210             target:  "elm.text";
22211             target:  "elm.text.sub";
22212             transition: LINEAR 0.1;
22213          }
22214          program {
22215             name:    "go_disabled";
22216             signal:  "elm,state,disabled";
22217             source:  "elm";
22218             action:  STATE_SET "disabled" 0.0;
22219             target:  "disclip";
22220          }
22221          program {
22222             name:    "go_enabled";
22223             signal:  "elm,state,enabled";
22224             source:  "elm";
22225             action:  STATE_SET "default" 0.0;
22226             target:  "disclip";
22227          }
22228          program {
22229             name:    "expand";
22230             signal:  "mouse,up,1";
22231             source:  "arrow";
22232             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
22233          }
22234          program {
22235             name:    "go_expanded";
22236             signal:  "elm,state,expanded";
22237             source:  "elm";
22238             action:  STATE_SET "active" 0.0;
22239             target:  "arrow";
22240          }
22241          program {
22242             name:    "go_contracted";
22243             signal:  "elm,state,contracted";
22244             source:  "elm";
22245             action:  STATE_SET "default" 0.0;
22246             target:  "arrow";
22247          }
22248       }
22249    }
22250
22251    group { name: "elm/genlist/item/icon_top_text_bottom/default";
22252       data.item: "stacking" "above";
22253       data.item: "selectraise" "on";
22254       data.item: "labels" "elm.text";
22255       data.item: "icons" "elm.swallow.icon";
22256       data.item: "treesize" "20";
22257 //      data.item: "states" "";
22258       images {
22259          image: "bt_sm_base1.png" COMP;
22260          image: "bt_sm_shine.png" COMP;
22261          image: "bt_sm_hilight.png" COMP;
22262          image: "ilist_1.png" COMP;
22263          image: "ilist_item_shadow.png" COMP;
22264       }
22265       parts {
22266          part {
22267             name:           "event";
22268             type:           RECT;
22269             repeat_events: 1;
22270             description {
22271                state: "default" 0.0;
22272                color: 0 0 0 0;
22273             }
22274          }
22275          part {
22276             name: "base_sh";
22277             mouse_events: 0;
22278             description {
22279                state: "default" 0.0;
22280                align: 0.0 0.0;
22281                min: 0 10;
22282                fixed: 1 1;
22283                rel1 {
22284                   to: "base";
22285                   relative: 0.0 1.0;
22286                   offset: 0 0;
22287                }
22288                rel2 {
22289                   to: "base";
22290                   relative: 1.0 1.0;
22291                   offset: -1 0;
22292                }
22293                image {
22294                   normal: "ilist_item_shadow.png";
22295                }
22296                fill.smooth: 0;
22297             }
22298          }
22299          part {
22300             name: "base";
22301             mouse_events: 0;
22302             description {
22303                state: "default" 0.0;
22304                image {
22305                   normal: "ilist_1.png";
22306                   border: 2 2 2 2;
22307                }
22308                fill.smooth: 0;
22309             }
22310          }
22311          part { name: "bg";
22312             clip_to: "disclip";
22313             mouse_events: 0;
22314             description { state: "default" 0.0;
22315                visible: 0;
22316                color: 255 255 255 0;
22317                rel1 {
22318                   relative: 0.0 0.0;
22319                   offset: -5 -5;
22320                }
22321                rel2 {
22322                   relative: 1.0 1.0;
22323                   offset: 4 4;
22324                }
22325                image {
22326                   normal: "bt_sm_base1.png";
22327                   border: 6 6 6 6;
22328                }
22329                image.middle: SOLID;
22330             }
22331             description { state: "selected" 0.0;
22332                inherit: "default" 0.0;
22333                visible: 1;
22334                color: 255 255 255 255;
22335                rel1 {
22336                   relative: 0.0 0.0;
22337                   offset: -2 -2;
22338                }
22339                rel2 {
22340                   relative: 1.0 1.0;
22341                   offset: 1 1;
22342                }
22343             }
22344          }
22345          part { name: "elm.swallow.pad";
22346             type: SWALLOW;
22347             description { state: "default" 0.0;
22348                fixed: 1 0;
22349                align: 0.0 0.5;
22350                rel1 {
22351                   relative: 0.0  0.0;
22352                   offset:   4    4;
22353                }
22354                rel2 {
22355                   relative: 1.0  1.0;
22356                   offset:   -4   -5;
22357                }
22358             }
22359          }
22360          part { name: "elm.swallow.icon";
22361             clip_to: "disclip";
22362             type: SWALLOW;
22363             description { state: "default" 0.0;
22364                fixed: 1 0;
22365                align: 0.5 0.5;
22366                rel1 {
22367                   to_x: "elm.swallow.pad";
22368                   relative: 0.0  0.0;
22369                   offset:   -1    4;
22370                }
22371                rel2 {
22372                   to_x: "elm.swallow.pad";
22373                   relative: 1.0  1.0;
22374                   offset:   -1   -5;
22375                }
22376             }
22377          }
22378          part { name: "elm.text";
22379             clip_to: "disclip";
22380             type:           TEXT;
22381             effect:         SOFT_SHADOW;
22382             mouse_events:   0;
22383             scale: 1;
22384             description {
22385                state: "default" 0.0;
22386 //               min: 16 16;
22387                rel1 {
22388                   to_y:     "elm.swallow.icon";
22389                   relative: 0.0  1.0;
22390                   offset:   0 4;
22391                }
22392                rel2 {
22393                   relative: 1.0  1.0;
22394                   offset:   -5 -5;
22395                }
22396                color: 0 0 0 255;
22397                color3: 0 0 0 0;
22398                text {
22399                   font: "Sans";
22400                   size: 10;
22401                   min: 1 1;
22402 //                  min: 0 1;
22403                   align: 0.5 0.5;
22404                   text_class: "list_item";
22405                }
22406             }
22407             description { state: "selected" 0.0;
22408                inherit: "default" 0.0;
22409                color: 224 224 224 255;
22410                color3: 0 0 0 64;
22411             }
22412          }
22413          part { name: "fg1";
22414             clip_to: "disclip";
22415             mouse_events: 0;
22416             description { state: "default" 0.0;
22417                visible: 0;
22418                color: 255 255 255 0;
22419                rel1.to: "bg";
22420                rel2.relative: 1.0 0.5;
22421                rel2.to: "bg";
22422                image {
22423                   normal: "bt_sm_hilight.png";
22424                   border: 6 6 6 0;
22425                }
22426             }
22427             description { state: "selected" 0.0;
22428                inherit: "default" 0.0;
22429                visible: 1;
22430                color: 255 255 255 255;
22431             }
22432          }
22433          part { name: "fg2";
22434             clip_to: "disclip";
22435             mouse_events: 0;
22436             description { state: "default" 0.0;
22437                visible: 0;
22438                color: 255 255 255 0;
22439                rel1.to: "bg";
22440                rel2.to: "bg";
22441                image {
22442                   normal: "bt_sm_shine.png";
22443                   border: 6 6 6 0;
22444                }
22445             }
22446             description { state: "selected" 0.0;
22447                inherit: "default" 0.0;
22448                visible: 1;
22449                color: 255 255 255 255;
22450             }
22451          }
22452          part { name: "disclip";
22453             type: RECT;
22454             description { state: "default" 0.0;
22455                rel1.to: "bg";
22456                rel2.to: "bg";
22457             }
22458             description { state: "disabled" 0.0;
22459                inherit: "default" 0.0;
22460                color: 255 255 255 64;
22461             }
22462          }
22463       }
22464       programs {
22465          // signal: elm,state,%s,active
22466          //   a "check" item named %s went active
22467          // signal: elm,state,%s,passive
22468          //   a "check" item named %s went passive
22469          // default is passive
22470          program {
22471             name:    "go_active";
22472             signal:  "elm,state,selected";
22473             source:  "elm";
22474             action:  STATE_SET "selected" 0.0;
22475             target:  "bg";
22476             target:  "fg1";
22477             target:  "fg2";
22478             target:  "elm.text";
22479          }
22480          program {
22481             name:    "go_passive";
22482             signal:  "elm,state,unselected";
22483             source:  "elm";
22484             action:  STATE_SET "default" 0.0;
22485             target:  "bg";
22486             target:  "fg1";
22487             target:  "fg2";
22488             target:  "elm.text";
22489             transition: LINEAR 0.1;
22490          }
22491          program {
22492             name:    "go_disabled";
22493             signal:  "elm,state,disabled";
22494             source:  "elm";
22495             action:  STATE_SET "disabled" 0.0;
22496             target:  "disclip";
22497          }
22498          program {
22499             name:    "go_enabled";
22500             signal:  "elm,state,enabled";
22501             source:  "elm";
22502             action:  STATE_SET "default" 0.0;
22503             target:  "disclip";
22504          }
22505       }
22506    }
22507    group { name: "elm/genlist/item_odd/icon_top_text_bottom/default";
22508       data.item: "stacking" "below";
22509       data.item: "selectraise" "on";
22510       data.item: "labels" "elm.text";
22511       data.item: "icons" "elm.swallow.icon";
22512       data.item: "treesize" "20";
22513 //      data.item: "states" "";
22514       images {
22515          image: "bt_sm_base1.png" COMP;
22516          image: "bt_sm_shine.png" COMP;
22517          image: "bt_sm_hilight.png" COMP;
22518          image: "ilist_2.png" COMP;
22519       }
22520       parts {
22521          part { name: "event";
22522             type: RECT;
22523             repeat_events: 1;
22524             description {
22525                state: "default" 0.0;
22526                color: 0 0 0 0;
22527             }
22528          }
22529          part {
22530             name: "base";
22531             mouse_events: 0;
22532             description {
22533                state: "default" 0.0;
22534                image {
22535                   normal: "ilist_2.png";
22536                   border: 2 2 2 2;
22537                }
22538                fill.smooth: 0;
22539             }
22540          }
22541          part { name: "bg";
22542             clip_to: "disclip";
22543             mouse_events: 0;
22544             description { state: "default" 0.0;
22545                visible: 0;
22546                color: 255 255 255 0;
22547                rel1 {
22548                   relative: 0.0 0.0;
22549                   offset: -5 -5;
22550                }
22551                rel2 {
22552                   relative: 1.0 1.0;
22553                   offset: 4 4;
22554                }
22555                image {
22556                   normal: "bt_sm_base1.png";
22557                   border: 6 6 6 6;
22558                }
22559                image.middle: SOLID;
22560             }
22561             description { state: "selected" 0.0;
22562                inherit: "default" 0.0;
22563                visible: 1;
22564                color: 255 255 255 255;
22565                rel1 {
22566                   relative: 0.0 0.0;
22567                   offset: -2 -2;
22568                }
22569                rel2 {
22570                   relative: 1.0 1.0;
22571                   offset: 1 1;
22572                }
22573             }
22574          }
22575          part { name: "elm.swallow.pad";
22576             type: SWALLOW;
22577             description { state: "default" 0.0;
22578                fixed: 1 0;
22579                align: 0.0 0.5;
22580                rel1 {
22581                   relative: 0.0  0.0;
22582                   offset:   4    4;
22583                }
22584                rel2 {
22585                   relative: 1.0  1.0;
22586                   offset:   -4   -5;
22587                }
22588             }
22589          }
22590          part { name: "elm.swallow.icon";
22591             clip_to: "disclip";
22592             type: SWALLOW;
22593             description { state: "default" 0.0;
22594                fixed: 1 0;
22595                align: 0.5 0.5;
22596                rel1 {
22597                   to_x: "elm.swallow.pad";
22598                   relative: 0.0  0.0;
22599                   offset:   -1    4;
22600                }
22601                rel2 {
22602                   to_x: "elm.swallow.pad";
22603                   relative: 1.0  1.0;
22604                   offset:   -1   -5;
22605                }
22606             }
22607          }
22608          part { name: "elm.text";
22609             clip_to: "disclip";
22610             type:           TEXT;
22611             effect:         SOFT_SHADOW;
22612             mouse_events:   0;
22613             scale: 1;
22614             description {
22615                state: "default" 0.0;
22616 //               min:      16 16;
22617                rel1 {
22618                   to_y:     "elm.swallow.icon";
22619                   relative: 0.0  1.0;
22620                   offset:   0 4;
22621                }
22622                rel2 {
22623                   relative: 1.0  1.0;
22624                   offset:   -5 -5;
22625                }
22626                color: 0 0 0 255;
22627                color3: 0 0 0 0;
22628                text {
22629                   font: "Sans";
22630                   size: 10;
22631                   min: 1 1;
22632 //                  min: 0 1;
22633                   align: 0.5 0.5;
22634                   text_class: "list_item";
22635                }
22636             }
22637             description { state: "selected" 0.0;
22638                inherit: "default" 0.0;
22639                color: 224 224 224 255;
22640                color3: 0 0 0 64;
22641             }
22642          }
22643          part { name: "fg1";
22644             clip_to: "disclip";
22645             mouse_events: 0;
22646             description { state: "default" 0.0;
22647                visible: 0;
22648                color: 255 255 255 0;
22649                rel1.to: "bg";
22650                rel2.relative: 1.0 0.5;
22651                rel2.to: "bg";
22652                image {
22653                   normal: "bt_sm_hilight.png";
22654                   border: 6 6 6 0;
22655                }
22656             }
22657             description { state: "selected" 0.0;
22658                inherit: "default" 0.0;
22659                visible: 1;
22660                color: 255 255 255 255;
22661             }
22662          }
22663          part { name: "fg2";
22664             clip_to: "disclip";
22665             mouse_events: 0;
22666             description { state: "default" 0.0;
22667                visible: 0;
22668                color: 255 255 255 0;
22669                rel1.to: "bg";
22670                rel2.to: "bg";
22671                image {
22672                   normal: "bt_sm_shine.png";
22673                   border: 6 6 6 0;
22674                }
22675             }
22676             description { state: "selected" 0.0;
22677                inherit: "default" 0.0;
22678                visible: 1;
22679                color: 255 255 255 255;
22680             }
22681          }
22682          part { name: "disclip";
22683             type: RECT;
22684             description { state: "default" 0.0;
22685                rel1.to: "bg";
22686                rel2.to: "bg";
22687             }
22688             description { state: "disabled" 0.0;
22689                inherit: "default" 0.0;
22690                color: 255 255 255 64;
22691             }
22692          }
22693       }
22694       programs {
22695          // signal: elm,state,%s,active
22696          //   a "check" item named %s went active
22697          // signal: elm,state,%s,passive
22698          //   a "check" item named %s went passive
22699          // default is passive
22700          program {
22701             name:    "go_active";
22702             signal:  "elm,state,selected";
22703             source:  "elm";
22704             action:  STATE_SET "selected" 0.0;
22705             target:  "bg";
22706             target:  "fg1";
22707             target:  "fg2";
22708             target:  "elm.text";
22709          }
22710          program {
22711             name:    "go_passive";
22712             signal:  "elm,state,unselected";
22713             source:  "elm";
22714             action:  STATE_SET "default" 0.0;
22715             target:  "bg";
22716             target:  "fg1";
22717             target:  "fg2";
22718             target:  "elm.text";
22719             transition: LINEAR 0.1;
22720          }
22721          program {
22722             name:    "go_disabled";
22723             signal:  "elm,state,disabled";
22724             source:  "elm";
22725             action:  STATE_SET "disabled" 0.0;
22726             target:  "disclip";
22727          }
22728          program {
22729             name:    "go_enabled";
22730             signal:  "elm,state,enabled";
22731             source:  "elm";
22732             action:  STATE_SET "default" 0.0;
22733             target:  "disclip";
22734          }
22735       }
22736    }
22737
22738    group { name: "elm/genlist/tree/icon_top_text_bottom/default";
22739       data.item: "stacking" "above";
22740       data.item: "selectraise" "on";
22741       data.item: "labels" "elm.text";
22742       data.item: "icons" "elm.swallow.icon";
22743       data.item: "treesize" "20";
22744 //      data.item: "states" "";
22745       images {
22746          image: "bt_sm_base1.png" COMP;
22747          image: "bt_sm_shine.png" COMP;
22748          image: "bt_sm_hilight.png" COMP;
22749          image: "ilist_1.png" COMP;
22750          image: "ilist_item_shadow.png" COMP;
22751          image: "icon_arrow_right.png" COMP;
22752          image: "icon_arrow_down.png" COMP;
22753       }
22754       parts {
22755          part {
22756             name:           "event";
22757             type:           RECT;
22758             repeat_events: 1;
22759             description {
22760                state: "default" 0.0;
22761                color: 0 0 0 0;
22762             }
22763          }
22764          part {
22765             name: "base_sh";
22766             mouse_events: 0;
22767             description {
22768                state: "default" 0.0;
22769                align: 0.0 0.0;
22770                min: 0 10;
22771                fixed: 1 1;
22772                rel1 {
22773                   to: "base";
22774                   relative: 0.0 1.0;
22775                   offset: 0 0;
22776                }
22777                rel2 {
22778                   to: "base";
22779                   relative: 1.0 1.0;
22780                   offset: -1 0;
22781                }
22782                image {
22783                   normal: "ilist_item_shadow.png";
22784                }
22785                fill.smooth: 0;
22786             }
22787          }
22788          part {
22789             name: "base";
22790             mouse_events: 0;
22791             description {
22792                state: "default" 0.0;
22793                image {
22794                   normal: "ilist_1.png";
22795                   border: 2 2 2 2;
22796                }
22797                fill.smooth: 0;
22798             }
22799          }
22800          part { name: "bg";
22801             clip_to: "disclip";
22802             mouse_events: 0;
22803             description { state: "default" 0.0;
22804                visible: 0;
22805                color: 255 255 255 0;
22806                rel1 {
22807                   relative: 0.0 0.0;
22808                   offset: -5 -5;
22809                }
22810                rel2 {
22811                   relative: 1.0 1.0;
22812                   offset: 4 4;
22813                }
22814                image {
22815                   normal: "bt_sm_base1.png";
22816                   border: 6 6 6 6;
22817                }
22818                image.middle: SOLID;
22819             }
22820             description { state: "selected" 0.0;
22821                inherit: "default" 0.0;
22822                visible: 1;
22823                color: 255 255 255 255;
22824                rel1 {
22825                   relative: 0.0 0.0;
22826                   offset: -2 -2;
22827                }
22828                rel2 {
22829                   relative: 1.0 1.0;
22830                   offset: 1 1;
22831                }
22832             }
22833          }
22834          part { name: "elm.swallow.pad";
22835             type: SWALLOW;
22836             description { state: "default" 0.0;
22837                fixed: 1 0;
22838                align: 0.0 0.5;
22839                rel1 {
22840                   relative: 0.0  0.0;
22841                   offset:   4    4;
22842                }
22843                rel2 {
22844                   relative: 0.0  1.0;
22845                   offset:   4   -5;
22846                }
22847             }
22848          }
22849          part { name: "arrow";
22850             clip_to: "disclip";
22851             ignore_flags: ON_HOLD;
22852             description { state: "default" 0.0;
22853                fixed: 1 0;
22854                align: 0.0 0.5;
22855                aspect: 1.0 1.0;
22856                rel1 {
22857                   to_x: "elm.swallow.pad";
22858                   relative: 1.0  0.0;
22859                   offset:   -1    4;
22860                }
22861                rel2 {
22862                   to_x: "elm.swallow.pad";
22863                   relative: 1.0  1.0;
22864                   offset:   -1   -5;
22865                }
22866                image.normal: "icon_arrow_right.png";
22867             }
22868             description { state: "active" 0.0;
22869                inherit: "default" 0.0;
22870                image.normal: "icon_arrow_down.png";
22871             }
22872          }
22873          part { name: "elm.swallow.icon";
22874             clip_to: "disclip";
22875             type: SWALLOW;
22876             description { state: "default" 0.0;
22877                fixed: 1 0;
22878                align: 0.5 0.5;
22879                rel1 {
22880                   to_x: "arrow";
22881                   relative: 1.0  0.0;
22882                   offset:   4    4;
22883                }
22884                rel2 {
22885                   relative: 1.0  1.0;
22886                   offset:   -4   -5;
22887                }
22888             }
22889          }
22890          part { name: "elm.text";
22891             clip_to: "disclip";
22892             type:           TEXT;
22893             effect:         SOFT_SHADOW;
22894             mouse_events:   0;
22895             scale: 1;
22896             description {
22897                state: "default" 0.0;
22898 //               min: 16 16;
22899                rel1 {
22900                   to_y:     "elm.swallow.icon";
22901                   relative: 0.0  1.0;
22902                   offset:   0 4;
22903                }
22904                rel2 {
22905                   relative: 1.0  1.0;
22906                   offset:   -5 -5;
22907                }
22908                color: 0 0 0 255;
22909                color3: 0 0 0 0;
22910                text {
22911                   font: "Sans";
22912                   size: 10;
22913                   min: 1 1;
22914 //                  min: 0 1;
22915                   align: 0.5 0.5;
22916                   text_class: "list_item";
22917                }
22918             }
22919             description { state: "selected" 0.0;
22920                inherit: "default" 0.0;
22921                color: 224 224 224 255;
22922                color3: 0 0 0 64;
22923             }
22924          }
22925          part { name: "fg1";
22926             clip_to: "disclip";
22927             mouse_events: 0;
22928             description { state: "default" 0.0;
22929                visible: 0;
22930                color: 255 255 255 0;
22931                rel1.to: "bg";
22932                rel2.relative: 1.0 0.5;
22933                rel2.to: "bg";
22934                image {
22935                   normal: "bt_sm_hilight.png";
22936                   border: 6 6 6 0;
22937                }
22938             }
22939             description { state: "selected" 0.0;
22940                inherit: "default" 0.0;
22941                visible: 1;
22942                color: 255 255 255 255;
22943             }
22944          }
22945          part { name: "fg2";
22946             clip_to: "disclip";
22947             mouse_events: 0;
22948             description { state: "default" 0.0;
22949                visible: 0;
22950                color: 255 255 255 0;
22951                rel1.to: "bg";
22952                rel2.to: "bg";
22953                image {
22954                   normal: "bt_sm_shine.png";
22955                   border: 6 6 6 0;
22956                }
22957             }
22958             description { state: "selected" 0.0;
22959                inherit: "default" 0.0;
22960                visible: 1;
22961                color: 255 255 255 255;
22962             }
22963          }
22964          part { name: "disclip";
22965             type: RECT;
22966             description { state: "default" 0.0;
22967                rel1.to: "bg";
22968                rel2.to: "bg";
22969             }
22970             description { state: "disabled" 0.0;
22971                inherit: "default" 0.0;
22972                color: 255 255 255 64;
22973             }
22974          }
22975       }
22976       programs {
22977          // signal: elm,state,%s,active
22978          //   a "check" item named %s went active
22979          // signal: elm,state,%s,passive
22980          //   a "check" item named %s went passive
22981          // default is passive
22982          program {
22983             name:    "go_active";
22984             signal:  "elm,state,selected";
22985             source:  "elm";
22986             action:  STATE_SET "selected" 0.0;
22987             target:  "bg";
22988             target:  "fg1";
22989             target:  "fg2";
22990             target:  "elm.text";
22991          }
22992          program {
22993             name:    "go_passive";
22994             signal:  "elm,state,unselected";
22995             source:  "elm";
22996             action:  STATE_SET "default" 0.0;
22997             target:  "bg";
22998             target:  "fg1";
22999             target:  "fg2";
23000             target:  "elm.text";
23001             transition: LINEAR 0.1;
23002          }
23003          program {
23004             name:    "go_disabled";
23005             signal:  "elm,state,disabled";
23006             source:  "elm";
23007             action:  STATE_SET "disabled" 0.0;
23008             target:  "disclip";
23009          }
23010          program {
23011             name:    "go_enabled";
23012             signal:  "elm,state,enabled";
23013             source:  "elm";
23014             action:  STATE_SET "default" 0.0;
23015             target:  "disclip";
23016          }
23017          program {
23018             name:    "expand";
23019             signal:  "mouse,up,1";
23020             source:  "arrow";
23021             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
23022          }
23023          program {
23024             name:    "go_expanded";
23025             signal:  "elm,state,expanded";
23026             source:  "elm";
23027             action:  STATE_SET "active" 0.0;
23028             target:  "arrow";
23029          }
23030          program {
23031             name:    "go_contracted";
23032             signal:  "elm,state,contracted";
23033             source:  "elm";
23034             action:  STATE_SET "default" 0.0;
23035             target:  "arrow";
23036          }
23037       }
23038    }
23039    group { name: "elm/genlist/tree_odd/icon_top_text_bottom/default";
23040       data.item: "stacking" "below";
23041       data.item: "selectraise" "on";
23042       data.item: "labels" "elm.text";
23043       data.item: "icons" "elm.swallow.icon";
23044       data.item: "treesize" "20";
23045 //      data.item: "states" "";
23046       images {
23047          image: "bt_sm_base1.png" COMP;
23048          image: "bt_sm_shine.png" COMP;
23049          image: "bt_sm_hilight.png" COMP;
23050          image: "ilist_2.png" COMP;
23051          image: "icon_arrow_right.png" COMP;
23052          image: "icon_arrow_down.png" COMP;
23053       }
23054       parts {
23055          part {
23056             name:           "event";
23057             type:           RECT;
23058             repeat_events: 1;
23059             description {
23060                state: "default" 0.0;
23061                color: 0 0 0 0;
23062             }
23063          }
23064          part {
23065             name: "base";
23066             mouse_events: 0;
23067             description {
23068                state: "default" 0.0;
23069                image {
23070                   normal: "ilist_2.png";
23071                   border: 2 2 2 2;
23072                }
23073                fill.smooth: 0;
23074             }
23075          }
23076          part { name: "bg";
23077             clip_to: "disclip";
23078             mouse_events: 0;
23079             description { state: "default" 0.0;
23080                visible: 0;
23081                color: 255 255 255 0;
23082                rel1 {
23083                   relative: 0.0 0.0;
23084                   offset: -5 -5;
23085                }
23086                rel2 {
23087                   relative: 1.0 1.0;
23088                   offset: 4 4;
23089                }
23090                image {
23091                   normal: "bt_sm_base1.png";
23092                   border: 6 6 6 6;
23093                }
23094                image.middle: SOLID;
23095             }
23096             description { state: "selected" 0.0;
23097                inherit: "default" 0.0;
23098                visible: 1;
23099                color: 255 255 255 255;
23100                rel1 {
23101                   relative: 0.0 0.0;
23102                   offset: -2 -2;
23103                }
23104                rel2 {
23105                   relative: 1.0 1.0;
23106                   offset: 1 1;
23107                }
23108             }
23109          }
23110          part { name: "elm.swallow.pad";
23111             type: SWALLOW;
23112             description { state: "default" 0.0;
23113                fixed: 1 0;
23114                align: 0.0 0.5;
23115                rel1 {
23116                   relative: 0.0  0.0;
23117                   offset:   4    4;
23118                }
23119                rel2 {
23120                   relative: 0.0  1.0;
23121                   offset:   4   -5;
23122                }
23123             }
23124          }
23125          part { name: "arrow";
23126             clip_to: "disclip";
23127             ignore_flags: ON_HOLD;
23128             description { state: "default" 0.0;
23129                fixed: 1 0;
23130                align: 0.0 0.5;
23131                aspect: 1.0 1.0;
23132                rel1 {
23133                   to_x: "elm.swallow.pad";
23134                   relative: 1.0  0.0;
23135                   offset:   -1    4;
23136                }
23137                rel2 {
23138                   to_x: "elm.swallow.pad";
23139                   relative: 1.0  1.0;
23140                   offset:   -1   -5;
23141                }
23142                image.normal: "icon_arrow_right.png";
23143             }
23144             description { state: "active" 0.0;
23145                inherit: "default" 0.0;
23146                image.normal: "icon_arrow_down.png";
23147             }
23148          }
23149          part { name: "elm.swallow.icon";
23150             clip_to: "disclip";
23151             type: SWALLOW;
23152             description { state: "default" 0.0;
23153                fixed: 1 0;
23154                align: 0.5 0.5;
23155                rel1 {
23156                   to_x: "arrow";
23157                   relative: 1.0  0.0;
23158                   offset:   4    4;
23159                }
23160                rel2 {
23161                   relative: 1.0  1.0;
23162                   offset:   -4   -5;
23163                }
23164             }
23165          }
23166          part { name: "elm.text";
23167             clip_to: "disclip";
23168             type:           TEXT;
23169             effect:         SOFT_SHADOW;
23170             mouse_events:   0;
23171             scale: 1;
23172             description {
23173                state: "default" 0.0;
23174 //               min: 16 16;
23175                rel1 {
23176                   to_y:     "elm.swallow.icon";
23177                   relative: 0.0  1.0;
23178                   offset:   0 4;
23179                }
23180                rel2 {
23181                   relative: 1.0  1.0;
23182                   offset:   -5 -5;
23183                }
23184                color: 0 0 0 255;
23185                color3: 0 0 0 0;
23186                text {
23187                   font: "Sans";
23188                   size: 10;
23189                   min: 1 1;
23190 //                  min: 0 1;
23191                   align: 0.5 0.5;
23192                   text_class: "list_item";
23193                }
23194             }
23195             description { state: "selected" 0.0;
23196                inherit: "default" 0.0;
23197                color: 224 224 224 255;
23198                color3: 0 0 0 64;
23199             }
23200          }
23201          part { name: "fg1";
23202             clip_to: "disclip";
23203             mouse_events: 0;
23204             description { state: "default" 0.0;
23205                visible: 0;
23206                color: 255 255 255 0;
23207                rel1.to: "bg";
23208                rel2.relative: 1.0 0.5;
23209                rel2.to: "bg";
23210                image {
23211                   normal: "bt_sm_hilight.png";
23212                   border: 6 6 6 0;
23213                }
23214             }
23215             description { state: "selected" 0.0;
23216                inherit: "default" 0.0;
23217                visible: 1;
23218                color: 255 255 255 255;
23219             }
23220          }
23221          part { name: "fg2";
23222             clip_to: "disclip";
23223             mouse_events: 0;
23224             description { state: "default" 0.0;
23225                visible: 0;
23226                color: 255 255 255 0;
23227                rel1.to: "bg";
23228                rel2.to: "bg";
23229                image {
23230                   normal: "bt_sm_shine.png";
23231                   border: 6 6 6 0;
23232                }
23233             }
23234             description { state: "selected" 0.0;
23235                inherit: "default" 0.0;
23236                visible: 1;
23237                color: 255 255 255 255;
23238             }
23239          }
23240          part { name: "disclip";
23241             type: RECT;
23242             description { state: "default" 0.0;
23243                rel1.to: "bg";
23244                rel2.to: "bg";
23245             }
23246             description { state: "disabled" 0.0;
23247                inherit: "default" 0.0;
23248                color: 255 255 255 64;
23249             }
23250          }
23251       }
23252       programs {
23253          // signal: elm,state,%s,active
23254          //   a "check" item named %s went active
23255          // signal: elm,state,%s,passive
23256          //   a "check" item named %s went passive
23257          // default is passive
23258          program {
23259             name:    "go_active";
23260             signal:  "elm,state,selected";
23261             source:  "elm";
23262             action:  STATE_SET "selected" 0.0;
23263             target:  "bg";
23264             target:  "fg1";
23265             target:  "fg2";
23266             target:  "elm.text";
23267          }
23268          program {
23269             name:    "go_passive";
23270             signal:  "elm,state,unselected";
23271             source:  "elm";
23272             action:  STATE_SET "default" 0.0;
23273             target:  "bg";
23274             target:  "fg1";
23275             target:  "fg2";
23276             target:  "elm.text";
23277             transition: LINEAR 0.1;
23278          }
23279          program {
23280             name:    "go_disabled";
23281             signal:  "elm,state,disabled";
23282             source:  "elm";
23283             action:  STATE_SET "disabled" 0.0;
23284             target:  "disclip";
23285          }
23286          program {
23287             name:    "go_enabled";
23288             signal:  "elm,state,enabled";
23289             source:  "elm";
23290             action:  STATE_SET "default" 0.0;
23291             target:  "disclip";
23292          }
23293          program {
23294             name:    "expand";
23295             signal:  "mouse,up,1";
23296             source:  "arrow";
23297             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
23298          }
23299          program {
23300             name:    "go_expanded";
23301             signal:  "elm,state,expanded";
23302             source:  "elm";
23303             action:  STATE_SET "active" 0.0;
23304             target:  "arrow";
23305          }
23306          program {
23307             name:    "go_contracted";
23308             signal:  "elm,state,contracted";
23309             source:  "elm";
23310             action:  STATE_SET "default" 0.0;
23311             target:  "arrow";
23312          }
23313       }
23314    }
23315
23316
23317 ///////////////////////////////////////////////////////////////////////////////
23318    group { name: "elm/check/base/default";
23319       images {
23320          image: "check_base.png" COMP;
23321          image: "check.png" COMP;
23322          image: "check2.png" COMP;
23323       }
23324       parts {
23325          part { name: "bg";
23326             mouse_events: 0;
23327             scale: 1;
23328             description { state: "default" 0.0;
23329                rel1.offset: 1 1;
23330                rel2.relative: 0.0 1.0;
23331                rel2.offset: 1 -2;
23332                align: 0.0 0.5;
23333                min: 16 16;
23334                max: 16 16;
23335                aspect: 1.0 1.0;
23336                aspect_preference: VERTICAL;
23337                image {
23338                   normal: "check_base.png";
23339                   border: 5 5 5 5;
23340                   middle: 0;
23341                }
23342                fill.smooth : 0;
23343             }
23344          }
23345          part { name: "check";
23346             mouse_events: 0;
23347             scale: 1;
23348             description { state: "default" 0.0;
23349                rel1 {
23350                   to: "bg";
23351                   offset: 1 1;
23352                }
23353                rel2 {
23354                   to: "bg";
23355                   offset: -2 -2;
23356                }
23357                visible: 0;
23358                color: 255 255 255 255;
23359                image.normal: "check.png";
23360             }
23361             description { state: "visible" 0.0;
23362                inherit: "default" 0.0;
23363                visible: 1;
23364             }
23365             description { state: "disabled" 0.0;
23366                inherit: "default" 0.0;
23367                visible: 0;
23368                color: 128 128 128 128;
23369             }
23370             description { state: "disabled_visible" 0.0;
23371                inherit: "default" 0.0;
23372                color: 128 128 128 128;
23373                visible: 1;
23374             }
23375          }
23376          part { name: "elm.swallow.content";
23377             type: SWALLOW;
23378             description { state: "default" 0.0;
23379                fixed: 1 0;
23380                visible: 0;
23381                align: 0.0 0.5;
23382           rel1.to_x: "bg";
23383                rel1.relative: 1.0 0.0;
23384                rel1.offset: 1 1;
23385           rel2.to_x: "bg";
23386                rel2.offset: 1 -2;
23387                rel2.relative: 1.0 1.0;
23388             }
23389             description { state: "visible" 0.0;
23390                inherit: "default" 0.0;
23391           fixed: 1 0;
23392                visible: 1;
23393                aspect: 1.0 1.0;
23394             }
23395             description { state: "disabled" 0.0;
23396                inherit: "default" 0.0;
23397                color: 128 128 128 128;
23398             }
23399             description { state: "disabled_visible" 0.0;
23400                inherit: "default" 0.0;
23401                color: 128 128 128 128;
23402           fixed: 1 0;
23403                visible: 1;
23404                aspect: 1.0 1.0;
23405             }
23406          }
23407          part { name: "elm.text";
23408             type: TEXT;
23409             mouse_events: 0;
23410             scale: 1;
23411             description { state: "default" 0.0;
23412                visible: 0;
23413                rel1.to_x: "elm.swallow.content";
23414                rel1.relative: 1.0 0.0;
23415                rel1.offset: 1 1;
23416                rel2.relative: 1.0 1.0;
23417                rel2.offset: -2 -2;
23418                color: 0 0 0 255;
23419                text {
23420                   font: "Sans,Edje-Vera";
23421                   size: 10;
23422                   min: 0 1;
23423                   align: 0.0 0.5;
23424                }
23425             }
23426             description { state: "visible" 0.0;
23427                inherit: "default" 0.0;
23428                visible: 1;
23429                text.min: 1 1;
23430             }
23431             description { state: "disabled" 0.0;
23432                inherit: "default" 0.0;
23433                color: 0 0 0 128;
23434                color3: 0 0 0 0;
23435             }
23436             description { state: "disabled_visible" 0.0;
23437                inherit: "default" 0.0;
23438                color: 0 0 0 128;
23439                color3: 0 0 0 0;
23440                visible: 1;
23441                text.min: 1 1;
23442             }
23443          }
23444          part { name: "events";
23445             type: RECT;
23446             ignore_flags: ON_HOLD;
23447             description { state: "default" 0.0;
23448                color: 0 0 0 0;
23449             }
23450          }
23451          part { name: "disabler";
23452             type: RECT;
23453             description { state: "default" 0.0;
23454                color: 0 0 0 0;
23455                visible: 0;
23456             }
23457             description { state: "disabled" 0.0;
23458                inherit: "default" 0.0;
23459                visible: 1;
23460             }
23461          }
23462       }
23463       programs {
23464          program { name: "click";
23465             signal: "mouse,up,1";
23466             source: "events";
23467             action: SIGNAL_EMIT "elm,action,check,toggle" "";
23468          }
23469          program { name: "check_on";
23470             signal: "elm,state,check,on";
23471             source: "elm";
23472             action:  STATE_SET "visible" 0.0;
23473             target: "check";
23474          }
23475          program { name: "check_off";
23476             signal: "elm,state,check,off";
23477             source: "elm";
23478             action:  STATE_SET "default" 0.0;
23479             target: "check";
23480          }
23481          program { name: "text_show";
23482             signal: "elm,state,text,visible";
23483             source: "elm";
23484             action:  STATE_SET "visible" 0.0;
23485             target: "elm.text";
23486          }
23487          program { name: "text_hide";
23488             signal: "elm,state,text,hidden";
23489             source: "elm";
23490             action:  STATE_SET "default" 0.0;
23491             target: "elm.text";
23492          }
23493          program { name: "icon_show";
23494             signal: "elm,state,icon,visible";
23495             source: "elm";
23496             action:  STATE_SET "visible" 0.0;
23497             target: "elm.swallow.content";
23498          }
23499          program { name: "icon_hide";
23500             signal: "elm,state,icon,hidden";
23501             source: "elm";
23502             action:  STATE_SET "default" 0.0;
23503             target: "elm.swallow.content";
23504          }
23505          program { name: "disable";
23506             signal: "elm,state,disabled";
23507             source: "elm";
23508             action: STATE_SET "disabled" 0.0;
23509             target: "disabler";
23510             after: "disable_text";
23511          }
23512          program { name: "disable_text";
23513             script {
23514                new st[31];
23515                new Float:vl;
23516                get_state(PART:"elm.text", st, 30, vl);
23517                if (!strcmp(st, "visible"))
23518                  set_state(PART:"elm.text", "disabled_visible", 0.0);
23519                else
23520                  set_state(PART:"elm.text", "disabled", 0.0);
23521
23522                get_state(PART:"elm.swallow.content", st, 30, vl);
23523                if (!strcmp(st, "visible"))
23524                  set_state(PART:"elm.swallow.content", "disabled_visible", 0.0);
23525                else
23526                  set_state(PART:"elm.swallow.content", "disabled", 0.0);
23527
23528                get_state(PART:"check", st, 30, vl);
23529                if (!strcmp(st, "visible"))
23530                  set_state(PART:"check", "disabled_visible", 0.0);
23531                else
23532                  set_state(PART:"check", "disabled", 0.0);
23533             }
23534          }
23535          program { name: "enable";
23536             signal: "elm,state,enabled";
23537             source: "elm";
23538             action: STATE_SET "default" 0.0;
23539             target: "disabler";
23540             after: "enable_text";
23541          }
23542          program { name: "enable_text";
23543             script {
23544                new st[31];
23545                new Float:vl;
23546                get_state(PART:"elm.text", st, 30, vl);
23547                if (!strcmp(st, "disabled_visible"))
23548                  set_state(PART:"elm.text", "visible", 0.0);
23549                else
23550                  set_state(PART:"elm.text", "default", 0.0);
23551
23552                get_state(PART:"elm.swallow.content", st, 30, vl);
23553                if (!strcmp(st, "visible"))
23554                  set_state(PART:"elm.swallow.content", "visible", 0.0);
23555                else
23556                  set_state(PART:"elm.swallow.content", "default", 0.0);
23557
23558                get_state(PART:"check", st, 30, vl);
23559                if (!strcmp(st, "visible"))
23560                  set_state(PART:"check", "visible", 0.0);
23561                else
23562                  set_state(PART:"check", "default", 0.0);
23563             }
23564          }
23565       }
23566    }
23567 ///////////////////////////////////////////////////////////////////////////////
23568    group { name: "elm/radio/base/default";
23569       images {
23570          image: "radio_base.png" COMP;
23571          image: "radio.png" COMP;
23572          image: "radio2.png" COMP;
23573       }
23574       parts {
23575          part { name: "bg";
23576             mouse_events: 0;
23577             scale: 1;
23578             description { state: "default" 0.0;
23579                rel1.offset: 1 1;
23580                rel2.relative: 0.0 1.0;
23581                rel2.offset: 1 -2;
23582                align: 0.0 0.5;
23583                min: 16 16;
23584                max: 16 16;
23585                aspect: 1.0 1.0;
23586                aspect_preference: VERTICAL;
23587                image.normal: "radio_base.png";
23588             }
23589          }
23590          part { name: "radio";
23591             mouse_events: 0;
23592             scale: 1;
23593             description { state: "default" 0.0;
23594                rel1.to: "bg";
23595                rel2.to: "bg";
23596                visible: 0;
23597                image.normal: "radio.png";
23598             }
23599             description { state: "visible" 0.0;
23600                inherit: "default" 0.0;
23601                visible: 1;
23602             }
23603          }
23604          part { name: "elm.swallow.content";
23605             type: SWALLOW;
23606             description { state: "default" 0.0;
23607                fixed: 1 0;
23608                visible: 0;
23609                align: 0.0 0.5;
23610                color: 0 0 0 0;
23611                rel1.to_x: "bg";
23612                rel1.relative: 1.0 0.0;
23613                rel1.offset: 1 1;
23614                rel2.to_x: "bg";
23615                rel2.relative: 1.0 1.0;
23616                rel2.offset: 2 -2;
23617             }
23618             description { state: "visible" 0.0;
23619                inherit: "default" 0.0;
23620                visible: 1;
23621                color: 255 255 255 255;
23622                aspect: 1.0 1.0;
23623             }
23624             description { state: "disabled" 0.0;
23625                inherit: "default" 0.0;
23626                color: 128 128 128 128;
23627             }
23628             description { state: "disabled_visible" 0.0;
23629                inherit: "default" 0.0;
23630                color: 128 128 128 128;
23631                visible: 1;
23632                aspect: 1.0 1.0;
23633             }
23634          }
23635          part { name: "elm.text";
23636             type: TEXT;
23637             mouse_events: 0;
23638             scale: 1;
23639             description { state: "default" 0.0;
23640                visible: 0;
23641                rel1.to_x: "elm.swallow.content";
23642                rel1.relative: 1.0 0.0;
23643                rel1.offset: 1 1;
23644                rel2.relative: 1.0 1.0;
23645                rel2.offset: -2 -2;
23646                color: 0 0 0 255;
23647                text {
23648                   font: "Sans,Edje-Vera";
23649                   size: 10;
23650                   min: 0 0;
23651                   align: 0.0 0.5;
23652                }
23653             }
23654             description { state: "visible" 0.0;
23655                inherit: "default" 0.0;
23656                visible: 1;
23657                text.min: 1 1;
23658             }
23659             description { state: "disabled" 0.0;
23660                inherit: "default" 0.0;
23661                color: 0 0 0 128;
23662                color3: 0 0 0 0;
23663             }
23664             description { state: "disabled_visible" 0.0;
23665                inherit: "default" 0.0;
23666                color: 0 0 0 128;
23667                color3: 0 0 0 0;
23668                visible: 1;
23669                text.min: 1 1;
23670             }
23671          }
23672          part { name: "events";
23673             type: RECT;
23674             ignore_flags: ON_HOLD;
23675             description { state: "default" 0.0;
23676                color: 0 0 0 0;
23677             }
23678          }
23679          part { name: "disabler";
23680             type: RECT;
23681             description { state: "default" 0.0;
23682                color: 0 0 0 0;
23683                visible: 0;
23684             }
23685             description { state: "disabled" 0.0;
23686                inherit: "default" 0.0;
23687                visible: 1;
23688             }
23689          }
23690       }
23691       programs {
23692          program { name: "click";
23693             signal: "mouse,up,1";
23694             source: "events";
23695             action: SIGNAL_EMIT "elm,action,radio,toggle" "";
23696          }
23697          program { name: "radio_on";
23698             signal: "elm,state,radio,on";
23699             source: "elm";
23700             action:  STATE_SET "visible" 0.0;
23701             target: "radio";
23702          }
23703          program { name: "radio_off";
23704             signal: "elm,state,radio,off";
23705             source: "elm";
23706             action:  STATE_SET "default" 0.0;
23707             target: "radio";
23708          }
23709          program { name: "text_show";
23710             signal: "elm,state,text,visible";
23711             source: "elm";
23712             action:  STATE_SET "visible" 0.0;
23713             target: "elm.text";
23714          }
23715          program { name: "text_hide";
23716             signal: "elm,state,text,hidden";
23717             source: "elm";
23718             action:  STATE_SET "default" 0.0;
23719             target: "elm.text";
23720          }
23721          program { name: "icon_show";
23722             signal: "elm,state,icon,visible";
23723             source: "elm";
23724             action:  STATE_SET "visible" 0.0;
23725             target: "elm.swallow.content";
23726          }
23727          program { name: "icon_hide";
23728             signal: "elm,state,icon,hidden";
23729             source: "elm";
23730             action:  STATE_SET "default" 0.0;
23731             target: "elm.swallow.content";
23732          }
23733          program { name: "disable";
23734             signal: "elm,state,disabled";
23735             source: "elm";
23736             action: STATE_SET "disabled" 0.0;
23737             target: "disabler";
23738             after: "disable_text";
23739          }
23740          program { name: "disable_text";
23741             script {
23742                new st[31];
23743                new Float:vl;
23744                get_state(PART:"elm.text", st, 30, vl);
23745                if (!strcmp(st, "visible"))
23746                  set_state(PART:"elm.text", "disabled_visible", 0.0);
23747                else
23748                  set_state(PART:"elm.text", "disabled", 0.0);
23749
23750                get_state(PART:"elm.swallow.content", st, 30, vl);
23751                if (!strcmp(st, "visible"))
23752                  set_state(PART:"elm.swallow.content", "disabled_visible", 0.0);
23753                else
23754                  set_state(PART:"elm.swallow.content", "disabled", 0.0);
23755             }
23756          }
23757          program { name: "enable";
23758             signal: "elm,state,enabled";
23759             source: "elm";
23760             action: STATE_SET "default" 0.0;
23761             target: "disabler";
23762             after: "enable_text";
23763          }
23764          program { name: "enable_text";
23765             script {
23766                new st[31];
23767                new Float:vl;
23768                get_state(PART:"elm.text", st, 30, vl);
23769                if (!strcmp(st, "disabled_visible"))
23770                  set_state(PART:"elm.text", "visible", 0.0);
23771                else
23772                  set_state(PART:"elm.text", "default", 0.0);
23773
23774                get_state(PART:"elm.swallow.content", st, 30, vl);
23775                if (!strcmp(st, "visible"))
23776                  set_state(PART:"elm.swallow.content", "visible", 0.0);
23777                else
23778                  set_state(PART:"elm.swallow.content", "default", 0.0);
23779             }
23780          }
23781       }
23782    }
23783    group { name: "elm/genlist/tree_compress_odd/double_label/default";
23784       data.item: "stacking" "below";
23785       data.item: "selectraise" "on";
23786       data.item: "labels" "elm.text elm.text.sub";
23787       data.item: "icons" "elm.swallow.icon elm.swallow.end";
23788       data.item: "treesize" "20";
23789 //      data.item: "states" "";
23790       images {
23791          image: "bt_sm_base1.png" COMP;
23792          image: "bt_sm_shine.png" COMP;
23793          image: "bt_sm_hilight.png" COMP;
23794          image: "ilist_2.png" COMP;
23795          image: "icon_arrow_right.png" COMP;
23796          image: "icon_arrow_down.png" COMP;
23797       }
23798       parts {
23799          part {
23800             name:           "event";
23801             type:           RECT;
23802             repeat_events: 1;
23803             description {
23804                state: "default" 0.0;
23805                color: 0 0 0 0;
23806             }
23807          }
23808          part {
23809             name: "base";
23810             mouse_events: 0;
23811             description {
23812                state: "default" 0.0;
23813                image {
23814                   normal: "ilist_2.png";
23815                   border: 2 2 2 2;
23816                }
23817                fill.smooth: 0;
23818             }
23819          }
23820          part { name: "bg";
23821             clip_to: "disclip";
23822             mouse_events: 0;
23823             description { state: "default" 0.0;
23824                visible: 0;
23825                color: 255 255 255 0;
23826                rel1 {
23827                   relative: 0.0 0.0;
23828                   offset: -5 -5;
23829                }
23830                rel2 {
23831                   relative: 1.0 1.0;
23832                   offset: 4 4;
23833                }
23834                image {
23835                   normal: "bt_sm_base1.png";
23836                   border: 6 6 6 6;
23837                }
23838                image.middle: SOLID;
23839             }
23840             description { state: "selected" 0.0;
23841                inherit: "default" 0.0;
23842                visible: 1;
23843                color: 255 255 255 255;
23844                rel1 {
23845                   relative: 0.0 0.0;
23846                   offset: -2 -2;
23847                }
23848                rel2 {
23849                   relative: 1.0 1.0;
23850                   offset: 1 1;
23851                }
23852             }
23853          }
23854          part { name: "elm.swallow.pad";
23855             type: SWALLOW;
23856             description { state: "default" 0.0;
23857                fixed: 1 0;
23858                align: 0.0 0.5;
23859                rel1 {
23860                   relative: 0.0  0.0;
23861                   offset:   4    4;
23862                }
23863                rel2 {
23864                   relative: 0.0  1.0;
23865                   offset:   4   -5;
23866                }
23867             }
23868          }
23869          part { name: "arrow";
23870             clip_to: "disclip";
23871             ignore_flags: ON_HOLD;
23872             description { state: "default" 0.0;
23873                fixed: 1 0;
23874                align: 0.0 0.5;
23875                aspect: 1.0 1.0;
23876                rel1 {
23877                   to_x: "elm.swallow.pad";
23878                   relative: 1.0  0.0;
23879                   offset:   -1    4;
23880                }
23881                rel2 {
23882                   to_x: "elm.swallow.pad";
23883                   relative: 1.0  1.0;
23884                   offset:   -1   -5;
23885                }
23886                image.normal: "icon_arrow_right.png";
23887             }
23888             description { state: "active" 0.0;
23889                inherit: "default" 0.0;
23890                image.normal: "icon_arrow_down.png";
23891             }
23892          }
23893          part { name: "elm.swallow.icon";
23894             clip_to: "disclip";
23895             type: SWALLOW;
23896             description { state: "default" 0.0;
23897                fixed: 1 0;
23898                align: 0.0 0.5;
23899                rel1 {
23900                   to_x: "arrow";
23901                   relative: 1.0  0.0;
23902                   offset:   4    4;
23903                }
23904                rel2 {
23905                   to_x: "arrow";
23906                   relative: 1.0  1.0;
23907                   offset:   4   -5;
23908                }
23909             }
23910          }
23911          part { name: "elm.swallow.end";
23912             clip_to: "disclip";
23913             type: SWALLOW;
23914             description { state: "default" 0.0;
23915                fixed: 1 0;
23916                align: 1.0 0.5;
23917                aspect: 1.0 1.0;
23918                aspect_preference: VERTICAL;
23919                rel1 {
23920                   relative: 1.0  0.0;
23921                   offset:   -5    4;
23922                }
23923                rel2 {
23924                   relative: 1.0  1.0;
23925                   offset:   -5   -5;
23926                }
23927             }
23928          }
23929          part { name: "elm.text";
23930             clip_to: "disclip";
23931             type:           TEXT;
23932             effect:         SOFT_SHADOW;
23933             mouse_events:   0;
23934             scale: 1;
23935             description {
23936                state: "default" 0.0;
23937 //               min: 16 16;
23938                rel1 {
23939                   to_x:     "elm.swallow.icon";
23940                   relative: 1.0  0.0;
23941                   offset:   0 4;
23942                }
23943                rel2 {
23944                   to_x:     "elm.swallow.end";
23945                   relative: 0.0  0.5;
23946                   offset:   -1 -5;
23947                }
23948                color: 0 0 0 255;
23949                color3: 0 0 0 0;
23950                text {
23951                   font: "Sans";
23952                   size: 10;
23953 //                  min: 1 1;
23954                   min: 0 1;
23955                   align: 0.0 0.5;
23956                   text_class: "list_item";
23957                }
23958             }
23959             description { state: "selected" 0.0;
23960                inherit: "default" 0.0;
23961                color: 224 224 224 255;
23962                color3: 0 0 0 64;
23963             }
23964          }
23965          part { name: "elm.text.sub";
23966             clip_to: "disclip";
23967             type:           TEXT;
23968             mouse_events:   0;
23969             scale: 1;
23970             description {
23971                state: "default" 0.0;
23972 //               min: 16 16;
23973                rel1 {
23974                   to_x:     "elm.swallow.icon";
23975                   relative: 1.0  0.5;
23976                   offset:   0 4;
23977                }
23978                rel2 {
23979                   to_x:     "elm.swallow.end";
23980                   relative: 0.0  1.0;
23981                   offset:   -1 -5;
23982                }
23983                color: 0 0 0 128;
23984                color3: 0 0 0 0;
23985                text {
23986                   font: "Sans";
23987                   size: 8;
23988 //                  min: 1 1;
23989                   min: 0 1;
23990                   align: 0.0 0.5;
23991                   text_class: "list_item";
23992                }
23993             }
23994             description { state: "selected" 0.0;
23995                inherit: "default" 0.0;
23996                color: 128 128 128 255;
23997                color3: 0 0 0 32;
23998             }
23999          }
24000          part { name: "fg1";
24001             clip_to: "disclip";
24002             mouse_events: 0;
24003             description { state: "default" 0.0;
24004                visible: 0;
24005                color: 255 255 255 0;
24006                rel1.to: "bg";
24007                rel2.relative: 1.0 0.5;
24008                rel2.to: "bg";
24009                image {
24010                   normal: "bt_sm_hilight.png";
24011                   border: 6 6 6 0;
24012                }
24013             }
24014             description { state: "selected" 0.0;
24015                inherit: "default" 0.0;
24016                visible: 1;
24017                color: 255 255 255 255;
24018             }
24019          }
24020          part { name: "fg2";
24021             clip_to: "disclip";
24022             mouse_events: 0;
24023             description { state: "default" 0.0;
24024                visible: 0;
24025                color: 255 255 255 0;
24026                rel1.to: "bg";
24027                rel2.to: "bg";
24028                image {
24029                   normal: "bt_sm_shine.png";
24030                   border: 6 6 6 0;
24031                }
24032             }
24033             description { state: "selected" 0.0;
24034                inherit: "default" 0.0;
24035                visible: 1;
24036                color: 255 255 255 255;
24037             }
24038          }
24039          part { name: "disclip";
24040             type: RECT;
24041             description { state: "default" 0.0;
24042                rel1.to: "bg";
24043                rel2.to: "bg";
24044             }
24045             description { state: "disabled" 0.0;
24046                inherit: "default" 0.0;
24047                color: 255 255 255 64;
24048             }
24049          }
24050       }
24051       programs {
24052          // signal: elm,state,%s,active
24053          //   a "check" item named %s went active
24054          // signal: elm,state,%s,passive
24055          //   a "check" item named %s went passive
24056          // default is passive
24057          program {
24058             name:    "go_active";
24059             signal:  "elm,state,selected";
24060             source:  "elm";
24061             action:  STATE_SET "selected" 0.0;
24062             target:  "bg";
24063             target:  "fg1";
24064             target:  "fg2";
24065             target:  "elm.text";
24066             target:  "elm.text.sub";
24067          }
24068          program {
24069             name:    "go_passive";
24070             signal:  "elm,state,unselected";
24071             source:  "elm";
24072             action:  STATE_SET "default" 0.0;
24073             target:  "bg";
24074             target:  "fg1";
24075             target:  "fg2";
24076             target:  "elm.text";
24077             target:  "elm.text.sub";
24078             transition: LINEAR 0.1;
24079          }
24080          program {
24081             name:    "go_disabled";
24082             signal:  "elm,state,disabled";
24083             source:  "elm";
24084             action:  STATE_SET "disabled" 0.0;
24085             target:  "disclip";
24086          }
24087          program {
24088             name:    "go_enabled";
24089             signal:  "elm,state,enabled";
24090             source:  "elm";
24091             action:  STATE_SET "default" 0.0;
24092             target:  "disclip";
24093          }
24094          program {
24095             name:    "expand";
24096             signal:  "mouse,up,1";
24097             source:  "arrow";
24098             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
24099          }
24100          program {
24101             name:    "go_expanded";
24102             signal:  "elm,state,expanded";
24103             source:  "elm";
24104             action:  STATE_SET "active" 0.0;
24105             target:  "arrow";
24106          }
24107          program {
24108             name:    "go_contracted";
24109             signal:  "elm,state,contracted";
24110             source:  "elm";
24111             action:  STATE_SET "default" 0.0;
24112             target:  "arrow";
24113          }
24114       }
24115    }
24116
24117    group { name: "elm/genlist/item_compress/media/default";
24118       data.item: "stacking" "above";
24119       data.item: "selectraise" "on";
24120       data.item: "labels" "elm.text.title elm.text.album-artist";
24121       data.item: "treesize" "20";
24122       images {
24123          image: "bt_sm_base1.png" COMP;
24124          image: "bt_sm_shine.png" COMP;
24125          image: "bt_sm_hilight.png" COMP;
24126          image: "ilist_1.png" COMP;
24127          image: "ilist_item_shadow.png" COMP;
24128       }
24129       parts {
24130          part {
24131             name:           "event";
24132             type:           RECT;
24133             repeat_events: 1;
24134             description {
24135                state: "default" 0.0;
24136                color: 0 0 0 0;
24137             }
24138          }
24139          part {
24140             name: "base_sh";
24141             mouse_events: 0;
24142             description {
24143                state: "default" 0.0;
24144                align: 0.0 0.0;
24145                min: 0 10;
24146                fixed: 1 1;
24147                rel1 {
24148                   to: "base";
24149                   relative: 0.0 1.0;
24150                   offset: 0 0;
24151                }
24152                rel2 {
24153                   to: "base";
24154                   relative: 1.0 1.0;
24155                   offset: -1 0;
24156                }
24157                image {
24158                   normal: "ilist_item_shadow.png";
24159                }
24160                fill.smooth: 0;
24161             }
24162          }
24163          part {
24164             name: "base";
24165             mouse_events: 0;
24166             description {
24167                state: "default" 0.0;
24168                image {
24169                   normal: "ilist_1.png";
24170                   border: 2 2 2 2;
24171                }
24172                fill.smooth: 0;
24173             }
24174          }
24175          part { name: "bg";
24176             clip_to: "disclip";
24177             mouse_events: 0;
24178             description { state: "default" 0.0;
24179                visible: 0;
24180                color: 255 255 255 0;
24181                rel1 {
24182                   relative: 0.0 0.0;
24183                   offset: -5 -5;
24184                }
24185                rel2 {
24186                   relative: 1.0 1.0;
24187                   offset: 4 4;
24188                }
24189                image {
24190                   normal: "bt_sm_base1.png";
24191                   border: 6 6 6 6;
24192                }
24193                image.middle: SOLID;
24194             }
24195             description { state: "selected" 0.0;
24196                inherit: "default" 0.0;
24197                visible: 1;
24198                color: 255 255 255 255;
24199                rel1 {
24200                   relative: 0.0 0.0;
24201                   offset: -2 -2;
24202                }
24203                rel2 {
24204                   relative: 1.0 1.0;
24205                   offset: 1 1;
24206                }
24207             }
24208          }
24209          part { name: "elm.swallow.pad";
24210             type: SWALLOW;
24211             description { state: "default" 0.0;
24212                fixed: 1 0;
24213                align: 0.0 0.5;
24214                rel1 {
24215                   relative: 0.0  0.0;
24216                   offset:   4    4;
24217                }
24218                rel2 {
24219                   relative: 0.0  1.0;
24220                   offset:   4   -5;
24221                }
24222             }
24223          }
24224          part { name: "elm.text.title";
24225             clip_to: "disclip";
24226             type:           TEXT;
24227             effect:         SOFT_SHADOW;
24228             mouse_events:   0;
24229             scale: 1;
24230             description {
24231                state: "default" 0.0;
24232                rel1 {
24233                   relative: 0.0  0.0;
24234                   offset:   4 4;
24235                }
24236                rel2 {
24237                   relative: 1.0  0.5;
24238                   offset:   -1 -5;
24239                }
24240                color: 0 0 0 255;
24241                color3: 0 0 0 0;
24242                text {
24243                   font: "Sans";
24244                   size: 10;
24245                   min: 0 1;
24246                   align: 0.0 0.5;
24247                }
24248             }
24249             description { state: "selected" 0.0;
24250                inherit: "default" 0.0;
24251                color: 224 224 224 255;
24252                color3: 0 0 0 64;
24253             }
24254          }
24255          part { name: "elm.text.album-artist";
24256             clip_to: "disclip";
24257             type:           TEXT;
24258             mouse_events:   0;
24259             scale: 1;
24260             description {
24261                state: "default" 0.0;
24262                rel1 {
24263                   relative: 0.0  0.5;
24264                   offset:   4 4;
24265                }
24266                rel2 {
24267                   relative: 1.0  1.0;
24268                   offset:   -1 -5;
24269                }
24270                color: 0 0 0 128;
24271                color3: 0 0 0 0;
24272                text {
24273                   font: "Sans";
24274                   size: 8;
24275                   min: 0 1;
24276                   align: 0.0 0.5;
24277                }
24278             }
24279             description { state: "selected" 0.0;
24280                inherit: "default" 0.0;
24281                color: 128 128 128 255;
24282                color3: 0 0 0 32;
24283             }
24284          }
24285          part { name: "fg1";
24286             clip_to: "disclip";
24287             mouse_events: 0;
24288             description { state: "default" 0.0;
24289                visible: 0;
24290                color: 255 255 255 0;
24291                rel1.to: "bg";
24292                rel2.relative: 1.0 0.5;
24293                rel2.to: "bg";
24294                image {
24295                   normal: "bt_sm_hilight.png";
24296                   border: 6 6 6 0;
24297                }
24298             }
24299             description { state: "selected" 0.0;
24300                inherit: "default" 0.0;
24301                visible: 1;
24302                color: 255 255 255 255;
24303             }
24304          }
24305          part { name: "fg2";
24306             clip_to: "disclip";
24307             mouse_events: 0;
24308             description { state: "default" 0.0;
24309                visible: 0;
24310                color: 255 255 255 0;
24311                rel1.to: "bg";
24312                rel2.to: "bg";
24313                image {
24314                   normal: "bt_sm_shine.png";
24315                   border: 6 6 6 0;
24316                }
24317             }
24318             description { state: "selected" 0.0;
24319                inherit: "default" 0.0;
24320                visible: 1;
24321                color: 255 255 255 255;
24322             }
24323          }
24324          part { name: "disclip";
24325             type: RECT;
24326             description { state: "default" 0.0;
24327                rel1.to: "bg";
24328                rel2.to: "bg";
24329             }
24330             description { state: "disabled" 0.0;
24331                inherit: "default" 0.0;
24332                color: 255 255 255 64;
24333             }
24334          }
24335       }
24336       programs {
24337          // signal: elm,state,%s,active
24338          //   a "check" item named %s went active
24339          // signal: elm,state,%s,passive
24340          //   a "check" item named %s went passive
24341          // default is passive
24342          program {
24343             name:    "go_active";
24344             signal:  "elm,state,selected";
24345             source:  "elm";
24346             action:  STATE_SET "selected" 0.0;
24347             target:  "bg";
24348             target:  "fg1";
24349             target:  "fg2";
24350             target:  "elm.text.title";
24351             target:  "elm.text.album-artist";
24352          }
24353          program {
24354             name:    "go_passive";
24355             signal:  "elm,state,unselected";
24356             source:  "elm";
24357             action:  STATE_SET "default" 0.0;
24358             target:  "bg";
24359             target:  "fg1";
24360             target:  "fg2";
24361             target:  "elm.text.title";
24362             target:  "elm.text.album-artist";
24363             transition: LINEAR 0.1;
24364          }
24365          program {
24366             name:    "go_disabled";
24367             signal:  "elm,state,disabled";
24368             source:  "elm";
24369             action:  STATE_SET "disabled" 0.0;
24370             target:  "disclip";
24371          }
24372          program {
24373             name:    "go_enabled";
24374             signal:  "elm,state,enabled";
24375             source:  "elm";
24376             action:  STATE_SET "default" 0.0;
24377             target:  "disclip";
24378          }
24379       }
24380    }
24381    group { name: "elm/genlist/item_compress_odd/media/default";
24382       data.item: "stacking" "below";
24383       data.item: "selectraise" "on";
24384       data.item: "labels" "elm.text.title elm.text.album-artist";
24385       data.item: "treesize" "20";
24386       images {
24387          image: "bt_sm_base1.png" COMP;
24388          image: "bt_sm_shine.png" COMP;
24389          image: "bt_sm_hilight.png" COMP;
24390          image: "ilist_2.png" COMP;
24391       }
24392       parts {
24393          part { name: "event";
24394             type: RECT;
24395             repeat_events: 1;
24396             description {
24397                state: "default" 0.0;
24398                color: 0 0 0 0;
24399             }
24400          }
24401          part {
24402             name: "base";
24403             mouse_events: 0;
24404             description {
24405                state: "default" 0.0;
24406                image {
24407                   normal: "ilist_2.png";
24408                   border: 2 2 2 2;
24409                }
24410                fill.smooth: 0;
24411             }
24412          }
24413          part { name: "bg";
24414             clip_to: "disclip";
24415             mouse_events: 0;
24416             description { state: "default" 0.0;
24417                visible: 0;
24418                color: 255 255 255 0;
24419                rel1 {
24420                   relative: 0.0 0.0;
24421                   offset: -5 -5;
24422                }
24423                rel2 {
24424                   relative: 1.0 1.0;
24425                   offset: 4 4;
24426                }
24427                image {
24428                   normal: "bt_sm_base1.png";
24429                   border: 6 6 6 6;
24430                }
24431                image.middle: SOLID;
24432             }
24433             description { state: "selected" 0.0;
24434                inherit: "default" 0.0;
24435                visible: 1;
24436                color: 255 255 255 255;
24437                rel1 {
24438                   relative: 0.0 0.0;
24439                   offset: -2 -2;
24440                }
24441                rel2 {
24442                   relative: 1.0 1.0;
24443                   offset: 1 1;
24444                }
24445             }
24446          }
24447          part { name: "elm.swallow.pad";
24448             type: SWALLOW;
24449             description { state: "default" 0.0;
24450                fixed: 1 0;
24451                align: 0.0 0.5;
24452                rel1 {
24453                   relative: 0.0  0.0;
24454                   offset:   4    4;
24455                }
24456                rel2 {
24457                   relative: 0.0  1.0;
24458                   offset:   4   -5;
24459                }
24460             }
24461          }
24462          part { name: "elm.text.title";
24463             clip_to: "disclip";
24464             type:           TEXT;
24465             effect:         SOFT_SHADOW;
24466             mouse_events:   0;
24467             scale: 1;
24468             description {
24469                state: "default" 0.0;
24470                rel1 {
24471                   relative: 0.0  0.0;
24472                   offset:   4 4;
24473                }
24474                rel2 {
24475                   relative: 1.0  0.5;
24476                   offset:   -1 -5;
24477                }
24478                color: 0 0 0 255;
24479                color3: 0 0 0 0;
24480                text {
24481                   font: "Sans";
24482                   size: 10;
24483                   min: 0 1;
24484                   align: 0.0 0.5;
24485                }
24486             }
24487             description { state: "selected" 0.0;
24488                inherit: "default" 0.0;
24489                color: 224 224 224 255;
24490                color3: 0 0 0 64;
24491             }
24492          }
24493          part { name: "elm.text.album-artist";
24494             clip_to: "disclip";
24495             type:           TEXT;
24496             mouse_events:   0;
24497             scale: 1;
24498             description {
24499                state: "default" 0.0;
24500                rel1 {
24501                   relative: 0.0  0.5;
24502                   offset:   4 4;
24503                }
24504                rel2 {
24505                   relative: 1.0  1.0;
24506                   offset:   -1 -5;
24507                }
24508                color: 0 0 0 128;
24509                color3: 0 0 0 0;
24510                text {
24511                   font: "Sans";
24512                   size: 8;
24513                   min: 0 1;
24514                   align: 0.0 0.5;
24515                }
24516             }
24517             description { state: "selected" 0.0;
24518                inherit: "default" 0.0;
24519                color: 128 128 128 255;
24520                color3: 0 0 0 32;
24521             }
24522          }
24523          part { name: "fg1";
24524             clip_to: "disclip";
24525             mouse_events: 0;
24526             description { state: "default" 0.0;
24527                visible: 0;
24528                color: 255 255 255 0;
24529                rel1.to: "bg";
24530                rel2.relative: 1.0 0.5;
24531                rel2.to: "bg";
24532                image {
24533                   normal: "bt_sm_hilight.png";
24534                   border: 6 6 6 0;
24535                }
24536             }
24537             description { state: "selected" 0.0;
24538                inherit: "default" 0.0;
24539                visible: 1;
24540                color: 255 255 255 255;
24541             }
24542          }
24543          part { name: "fg2";
24544             clip_to: "disclip";
24545             mouse_events: 0;
24546             description { state: "default" 0.0;
24547                visible: 0;
24548                color: 255 255 255 0;
24549                rel1.to: "bg";
24550                rel2.to: "bg";
24551                image {
24552                   normal: "bt_sm_shine.png";
24553                   border: 6 6 6 0;
24554                }
24555             }
24556             description { state: "selected" 0.0;
24557                inherit: "default" 0.0;
24558                visible: 1;
24559                color: 255 255 255 255;
24560             }
24561          }
24562          part { name: "disclip";
24563             type: RECT;
24564             description { state: "default" 0.0;
24565                rel1.to: "bg";
24566                rel2.to: "bg";
24567             }
24568             description { state: "disabled" 0.0;
24569                inherit: "default" 0.0;
24570                color: 255 255 255 64;
24571             }
24572          }
24573       }
24574       programs {
24575          // signal: elm,state,%s,active
24576          //   a "check" item named %s went active
24577          // signal: elm,state,%s,passive
24578          //   a "check" item named %s went passive
24579          // default is passive
24580          program {
24581             name:    "go_active";
24582             signal:  "elm,state,selected";
24583             source:  "elm";
24584             action:  STATE_SET "selected" 0.0;
24585             target:  "bg";
24586             target:  "fg1";
24587             target:  "fg2";
24588             target:  "elm.text.title";
24589             target:  "elm.text.album-artist";
24590          }
24591          program {
24592             name:    "go_passive";
24593             signal:  "elm,state,unselected";
24594             source:  "elm";
24595             action:  STATE_SET "default" 0.0;
24596             target:  "bg";
24597             target:  "fg1";
24598             target:  "fg2";
24599             target:  "elm.text.title";
24600             target:  "elm.text.album-artist";
24601             transition: LINEAR 0.1;
24602          }
24603          program {
24604             name:    "go_disabled";
24605             signal:  "elm,state,disabled";
24606             source:  "elm";
24607             action:  STATE_SET "disabled" 0.0;
24608             target:  "disclip";
24609          }
24610          program {
24611             name:    "go_enabled";
24612             signal:  "elm,state,enabled";
24613             source:  "elm";
24614             action:  STATE_SET "default" 0.0;
24615             target:  "disclip";
24616          }
24617       }
24618    }
24619
24620    group { name: "elm/genlist/item_compress/media-album/default";
24621       data.item: "stacking" "above";
24622       data.item: "selectraise" "on";
24623       data.item: "labels" "elm.text.title elm.text.trackno elm.text.length";
24624       data.item: "states" "elm.state.trackno";
24625       data.item: "treesize" "20";
24626       images {
24627          image: "bt_sm_base1.png" COMP;
24628          image: "bt_sm_shine.png" COMP;
24629          image: "bt_sm_hilight.png" COMP;
24630          image: "ilist_1.png" COMP;
24631          image: "ilist_item_shadow.png" COMP;
24632       }
24633       script {
24634          public dot_visible;
24635       }
24636       parts {
24637          part {
24638             name: "event";
24639             type: RECT;
24640             repeat_events: 1;
24641             description {
24642                state: "default" 0.0;
24643                color: 0 0 0 0;
24644             }
24645          }
24646          part {
24647             name: "base_sh";
24648             mouse_events: 0;
24649             description {
24650                state: "default" 0.0;
24651                align: 0.0 0.0;
24652                min: 0 10;
24653                fixed: 1 1;
24654                rel1 {
24655                   to: "base";
24656                   relative: 0.0 1.0;
24657                   offset: 0 0;
24658                }
24659                rel2 {
24660                   to: "base";
24661                   relative: 1.0 1.0;
24662                   offset: -1 0;
24663                }
24664                image {
24665                   normal: "ilist_item_shadow.png";
24666                }
24667                fill.smooth: 0;
24668             }
24669          }
24670          part {
24671             name: "base";
24672             mouse_events: 0;
24673             description {
24674                state: "default" 0.0;
24675                image {
24676                   normal: "ilist_1.png";
24677                   border: 2 2 2 2;
24678                }
24679                fill.smooth: 0;
24680             }
24681          }
24682          part { name: "bg";
24683             clip_to: "disclip";
24684             mouse_events: 0;
24685             description { state: "default" 0.0;
24686                visible: 0;
24687                color: 255 255 255 0;
24688                rel1 {
24689                   relative: 0.0 0.0;
24690                   offset: -5 -5;
24691                }
24692                rel2 {
24693                   relative: 1.0 1.0;
24694                   offset: 4 4;
24695                }
24696                image {
24697                   normal: "bt_sm_base1.png";
24698                   border: 6 6 6 6;
24699                }
24700                image.middle: SOLID;
24701             }
24702             description { state: "selected" 0.0;
24703                inherit: "default" 0.0;
24704                visible: 1;
24705                color: 255 255 255 255;
24706                rel1 {
24707                   relative: 0.0 0.0;
24708                   offset: -2 -2;
24709                }
24710                rel2 {
24711                   relative: 1.0 1.0;
24712                   offset: 1 1;
24713                }
24714             }
24715          }
24716          part { name: "elm.swallow.pad";
24717             type: SWALLOW;
24718             description { state: "default" 0.0;
24719                fixed: 1 0;
24720                align: 0.0 0.5;
24721                rel1 {
24722                   relative: 0.0  0.0;
24723                   offset:   4    4;
24724                }
24725                rel2 {
24726                   relative: 0.0  1.0;
24727                   offset:   4   -5;
24728                }
24729             }
24730          }
24731          part {
24732             name: "elm.text.trackno";
24733             type: TEXT;
24734             scale: 1;
24735             mouse_events: 0;
24736             description {
24737                state: "default" 0.0;
24738                color: 255 255 255 255;
24739                align: 0.0 0.0;
24740                fixed: 1 0;
24741                rel1 {
24742                   to_y: "elm.text.title";
24743                   relative: 0.0 0.0;
24744                   offset: 5 0;
24745                }
24746                rel2 {
24747                   to_y: "elm.text.title";
24748                   relative: 0.0 1.0;
24749                   offset: 20 0;
24750                }
24751                color: 0 0 0 255;
24752                color3: 0 0 0 0;
24753                text {
24754                   font: "Sans";
24755                   size: 10;
24756                   min: 1 1;
24757                   align: 1.0 0.5;
24758                }
24759             }
24760             description { state: "selected" 0.0;
24761                inherit: "default" 0.0;
24762                color: 224 224 224 255;
24763                color3: 0 0 0 64;
24764             }
24765          }
24766          part {
24767             name: "dot";
24768             type: TEXT;
24769             scale: 1;
24770             mouse_events: 0;
24771             description {
24772                state: "default" 0.0;
24773                color: 255 255 255 255;
24774                visible: 0;
24775                fixed: 1 1;
24776                align: 0.0 0.0;
24777                rel1 {
24778                   to_x: "elm.text.trackno";
24779                   to_y: "elm.text.title";
24780                   relative: 1.0 0.0;
24781                   offset: 1 0;
24782                }
24783                rel2 {
24784                   to_x: "elm.text.trackno";
24785                   to_y: "elm.text.title";
24786                   relative: 1.0 1.0;
24787                   offset: 1 0;
24788
24789                }
24790                color: 0 0 0 255;
24791                color3: 0 0 0 0;
24792                text {
24793                   font: "Sans";
24794                   size: 10;
24795                   min: 1 1;
24796                   align: 0.0 0.5;
24797                   text: ".";
24798                }
24799             }
24800             description {
24801                state: "visible" 0.0;
24802                inherit: "default" 0.0;
24803                visible: 1;
24804             }
24805             description { state: "selected" 0.0;
24806                inherit: "default" 0.0;
24807                color: 224 224 224 255;
24808                color3: 0 0 0 64;
24809                visible: 1;
24810             }
24811          }
24812          programs {
24813             program {
24814                signal: "elm,state,elm.state.trackno,active";
24815                source: "elm";
24816                script {
24817                   set_state(PART:"dot", "visible", 0.0);
24818                   set_int(dot_visible, 1);
24819                }
24820             }
24821          }
24822          part { name: "elm.text.title";
24823             clip_to: "disclip";
24824             type:           TEXT;
24825             effect:         SOFT_SHADOW;
24826             mouse_events:   0;
24827             scale: 1;
24828             description {
24829                state: "default" 0.0;
24830                rel1 {
24831                   to_x: "dot";
24832                   relative: 0.0  0.0;
24833                   offset:   4 4;
24834                }
24835                rel2 {
24836                   relative: 1.0  0.5;
24837                   offset:   -1 -5;
24838                }
24839                color: 0 0 0 255;
24840                color3: 0 0 0 0;
24841                text {
24842                   font: "Sans";
24843                   size: 10;
24844                   min: 0 1;
24845                   align: 0.0 0.5;
24846                }
24847             }
24848             description { state: "selected" 0.0;
24849                inherit: "default" 0.0;
24850                color: 224 224 224 255;
24851                color3: 0 0 0 64;
24852             }
24853          }
24854          part { name: "elm.text.length";
24855             clip_to: "disclip";
24856             type:           TEXT;
24857             mouse_events:   0;
24858             scale: 1;
24859             description {
24860                state: "default" 0.0;
24861                rel1 {
24862                   relative: 0.0  0.5;
24863                   offset:   4 4;
24864                }
24865                rel2 {
24866                   relative: 1.0  1.0;
24867                   offset:   -1 -5;
24868                }
24869                color: 0 0 0 128;
24870                color3: 0 0 0 0;
24871                text {
24872                   font: "Sans";
24873                   size: 8;
24874                   min: 0 1;
24875                   align: 0.0 0.5;
24876                }
24877             }
24878             description { state: "selected" 0.0;
24879                inherit: "default" 0.0;
24880                color: 128 128 128 255;
24881                color3: 0 0 0 32;
24882             }
24883          }
24884          part { name: "fg1";
24885             clip_to: "disclip";
24886             mouse_events: 0;
24887             description { state: "default" 0.0;
24888                visible: 0;
24889                color: 255 255 255 0;
24890                rel1.to: "bg";
24891                rel2.relative: 1.0 0.5;
24892                rel2.to: "bg";
24893                image {
24894                   normal: "bt_sm_hilight.png";
24895                   border: 6 6 6 0;
24896                }
24897             }
24898             description { state: "selected" 0.0;
24899                inherit: "default" 0.0;
24900                visible: 1;
24901                color: 255 255 255 255;
24902             }
24903          }
24904          part { name: "fg2";
24905             clip_to: "disclip";
24906             mouse_events: 0;
24907             description { state: "default" 0.0;
24908                visible: 0;
24909                color: 255 255 255 0;
24910                rel1.to: "bg";
24911                rel2.to: "bg";
24912                image {
24913                   normal: "bt_sm_shine.png";
24914                   border: 6 6 6 0;
24915                }
24916             }
24917             description { state: "selected" 0.0;
24918                inherit: "default" 0.0;
24919                visible: 1;
24920                color: 255 255 255 255;
24921             }
24922          }
24923          part { name: "disclip";
24924             type: RECT;
24925             description { state: "default" 0.0;
24926                rel1.to: "bg";
24927                rel2.to: "bg";
24928             }
24929             description { state: "disabled" 0.0;
24930                inherit: "default" 0.0;
24931                color: 255 255 255 64;
24932             }
24933          }
24934       }
24935       programs {
24936          // signal: elm,state,%s,active
24937          //   a "check" item named %s went active
24938          // signal: elm,state,%s,passive
24939          //   a "check" item named %s went passive
24940          // default is passive
24941          program {
24942             name:    "go_active";
24943             signal:  "elm,state,selected";
24944             source:  "elm";
24945             action:  STATE_SET "selected" 0.0;
24946             target:  "bg";
24947             target:  "fg1";
24948             target:  "fg2";
24949             target:  "elm.text.title";
24950             target:  "elm.text.trackno";
24951             target:  "elm.text.length";
24952             after:   "dot_active";
24953          }
24954          program {
24955             name: "dot_active";
24956             script {
24957                if (get_int(dot_visible) == 1)
24958                   set_state(PART:"dot", "selected", 0.0);
24959             }
24960          }
24961          program {
24962             name:    "go_passive";
24963             signal:  "elm,state,unselected";
24964             source:  "elm";
24965             action:  STATE_SET "default" 0.0;
24966             target:  "bg";
24967             target:  "fg1";
24968             target:  "fg2";
24969             target:  "elm.text.title";
24970             target:  "elm.text.length";
24971             target:  "elm.text.trackno";
24972             transition: LINEAR 0.1;
24973             after:   "dot_passive";
24974          }
24975          program {
24976             name: "dot_passive";
24977             script {
24978                if (get_int(dot_visible) == 1)
24979                   set_state(PART:"dot", "visible", 0.0);
24980             }
24981          }
24982          program {
24983             name:    "go_disabled";
24984             signal:  "elm,state,disabled";
24985             source:  "elm";
24986             action:  STATE_SET "disabled" 0.0;
24987             target:  "disclip";
24988          }
24989          program {
24990             name:    "go_enabled";
24991             signal:  "elm,state,enabled";
24992             source:  "elm";
24993             action:  STATE_SET "default" 0.0;
24994             target:  "disclip";
24995          }
24996       }
24997    }
24998    group { name: "elm/genlist/item_compress_odd/media-album/default";
24999       data.item: "stacking" "below";
25000       data.item: "selectraise" "on";
25001       data.item: "labels" "elm.text.title elm.text.trackno elm.text.length";
25002       data.item: "states" "elm.state.trackno";
25003       data.item: "treesize" "20";
25004       images {
25005          image: "bt_sm_base1.png" COMP;
25006          image: "bt_sm_shine.png" COMP;
25007          image: "bt_sm_hilight.png" COMP;
25008          image: "ilist_2.png" COMP;
25009       }
25010       script {
25011          public dot_visible;
25012       }
25013       parts {
25014          part { name: "event";
25015             type: RECT;
25016             repeat_events: 1;
25017             description {
25018                state: "default" 0.0;
25019                color: 0 0 0 0;
25020             }
25021          }
25022          part {
25023             name: "base";
25024             mouse_events: 0;
25025             description {
25026                state: "default" 0.0;
25027                image {
25028                   normal: "ilist_2.png";
25029                   border: 2 2 2 2;
25030                }
25031                fill.smooth: 0;
25032             }
25033          }
25034          part { name: "bg";
25035             clip_to: "disclip";
25036             mouse_events: 0;
25037             description { state: "default" 0.0;
25038                visible: 0;
25039                color: 255 255 255 0;
25040                rel1 {
25041                   relative: 0.0 0.0;
25042                   offset: -5 -5;
25043                }
25044                rel2 {
25045                   relative: 1.0 1.0;
25046                   offset: 4 4;
25047                }
25048                image {
25049                   normal: "bt_sm_base1.png";
25050                   border: 6 6 6 6;
25051                }
25052                image.middle: SOLID;
25053             }
25054             description { state: "selected" 0.0;
25055                inherit: "default" 0.0;
25056                visible: 1;
25057                color: 255 255 255 255;
25058                rel1 {
25059                   relative: 0.0 0.0;
25060                   offset: -2 -2;
25061                }
25062                rel2 {
25063                   relative: 1.0 1.0;
25064                   offset: 1 1;
25065                }
25066             }
25067          }
25068          part { name: "elm.swallow.pad";
25069             type: SWALLOW;
25070             description { state: "default" 0.0;
25071                fixed: 1 0;
25072                align: 0.0 0.5;
25073                rel1 {
25074                   relative: 0.0  0.0;
25075                   offset:   4    4;
25076                }
25077                rel2 {
25078                   relative: 0.0  1.0;
25079                   offset:   4   -5;
25080                }
25081             }
25082          }
25083          part {
25084             name: "elm.text.trackno";
25085             type: TEXT;
25086             scale: 1;
25087             mouse_events: 0;
25088             description {
25089                state: "default" 0.0;
25090                color: 255 255 255 255;
25091                align: 0.0 0.0;
25092                fixed: 1 0;
25093                rel1 {
25094                   to_y: "elm.text.title";
25095                   relative: 0.0 0.0;
25096                   offset: 5 0;
25097                }
25098                rel2 {
25099                   to_y: "elm.text.title";
25100                   relative: 0.0 1.0;
25101                   offset: 20 0;
25102                }
25103                color: 0 0 0 255;
25104                color3: 0 0 0 0;
25105                text {
25106                   font: "Sans";
25107                   size: 10;
25108                   min: 1 1;
25109                   align: 1.0 0.5;
25110                }
25111             }
25112             description { state: "selected" 0.0;
25113                inherit: "default" 0.0;
25114                color: 224 224 224 255;
25115                color3: 0 0 0 64;
25116             }
25117          }
25118          part {
25119             name: "dot";
25120             type: TEXT;
25121             scale: 1;
25122             mouse_events: 0;
25123             description {
25124                state: "default" 0.0;
25125                color: 255 255 255 255;
25126                visible: 0;
25127                fixed: 1 1;
25128                align: 0.0 0.0;
25129                rel1 {
25130                   to_x: "elm.text.trackno";
25131                   to_y: "elm.text.title";
25132                   relative: 1.0 0.0;
25133                   offset: 1 0;
25134                }
25135                rel2 {
25136                   to_x: "elm.text.trackno";
25137                   to_y: "elm.text.title";
25138                   relative: 1.0 1.0;
25139                   offset: 1 0;
25140
25141                }
25142                color: 0 0 0 255;
25143                color3: 0 0 0 0;
25144                text {
25145                   font: "Sans";
25146                   size: 10;
25147                   min: 1 1;
25148                   align: 0.0 0.5;
25149                   text: ".";
25150                }
25151             }
25152             description {
25153                state: "visible" 0.0;
25154                inherit: "default" 0.0;
25155                visible: 1;
25156             }
25157             description { state: "selected" 0.0;
25158                inherit: "default" 0.0;
25159                color: 224 224 224 255;
25160                color3: 0 0 0 64;
25161                visible: 1;
25162             }
25163          }
25164          programs {
25165             program {
25166                signal: "elm,state,elm.state.trackno,active";
25167                source: "elm";
25168                script {
25169                   set_state(PART:"dot", "visible", 0.0);
25170                   set_int(dot_visible, 1);
25171                }
25172             }
25173          }
25174          part { name: "elm.text.title";
25175             clip_to: "disclip";
25176             type:           TEXT;
25177             effect:         SOFT_SHADOW;
25178             mouse_events:   0;
25179             scale: 1;
25180             description {
25181                state: "default" 0.0;
25182                rel1 {
25183                   to_x: "dot";
25184                   relative: 1.0  0.0;
25185                   offset:   4 4;
25186                }
25187                rel2 {
25188                   relative: 1.0  0.5;
25189                   offset:   -1 -5;
25190                }
25191                color: 0 0 0 255;
25192                color3: 0 0 0 0;
25193                text {
25194                   font: "Sans";
25195                   size: 10;
25196                   min: 0 1;
25197                   align: 0.0 0.5;
25198                }
25199             }
25200             description { state: "selected" 0.0;
25201                inherit: "default" 0.0;
25202                color: 224 224 224 255;
25203                color3: 0 0 0 64;
25204             }
25205          }
25206          part { name: "elm.text.length";
25207             clip_to: "disclip";
25208             type:           TEXT;
25209             mouse_events:   0;
25210             scale: 1;
25211             description {
25212                state: "default" 0.0;
25213                rel1 {
25214                   relative: 0.0  0.5;
25215                   offset:   4 4;
25216                }
25217                rel2 {
25218                   relative: 1.0  1.0;
25219                   offset:   -1 -5;
25220                }
25221                color: 0 0 0 128;
25222                color3: 0 0 0 0;
25223                text {
25224                   font: "Sans";
25225                   size: 8;
25226                   min: 0 1;
25227                   align: 0.0 0.5;
25228                }
25229             }
25230             description { state: "selected" 0.0;
25231                inherit: "default" 0.0;
25232                color: 128 128 128 255;
25233                color3: 0 0 0 32;
25234             }
25235          }
25236          part { name: "fg1";
25237             clip_to: "disclip";
25238             mouse_events: 0;
25239             description { state: "default" 0.0;
25240                visible: 0;
25241                color: 255 255 255 0;
25242                rel1.to: "bg";
25243                rel2.relative: 1.0 0.5;
25244                rel2.to: "bg";
25245                image {
25246                   normal: "bt_sm_hilight.png";
25247                   border: 6 6 6 0;
25248                }
25249             }
25250             description { state: "selected" 0.0;
25251                inherit: "default" 0.0;
25252                visible: 1;
25253                color: 255 255 255 255;
25254             }
25255          }
25256          part { name: "fg2";
25257             clip_to: "disclip";
25258             mouse_events: 0;
25259             description { state: "default" 0.0;
25260                visible: 0;
25261                color: 255 255 255 0;
25262                rel1.to: "bg";
25263                rel2.to: "bg";
25264                image {
25265                   normal: "bt_sm_shine.png";
25266                   border: 6 6 6 0;
25267                }
25268             }
25269             description { state: "selected" 0.0;
25270                inherit: "default" 0.0;
25271                visible: 1;
25272                color: 255 255 255 255;
25273             }
25274          }
25275          part { name: "disclip";
25276             type: RECT;
25277             description { state: "default" 0.0;
25278                rel1.to: "bg";
25279                rel2.to: "bg";
25280             }
25281             description { state: "disabled" 0.0;
25282                inherit: "default" 0.0;
25283                color: 255 255 255 64;
25284             }
25285          }
25286       }
25287       programs {
25288          // signal: elm,state,%s,active
25289          //   a "check" item named %s went active
25290          // signal: elm,state,%s,passive
25291          //   a "check" item named %s went passive
25292          // default is passive
25293          program {
25294             name:    "go_active";
25295             signal:  "elm,state,selected";
25296             source:  "elm";
25297             action:  STATE_SET "selected" 0.0;
25298             target:  "bg";
25299             target:  "fg1";
25300             target:  "fg2";
25301             target:  "elm.text.title";
25302             target:  "elm.text.length";
25303             target:  "elm.text.trackno";
25304             after:   "dot_active";
25305          }
25306          program {
25307             name: "dot_active";
25308             script {
25309                if (get_int(dot_visible) == 1)
25310                   set_state(PART:"dot", "selected", 0.0);
25311             }
25312          }
25313          program {
25314             name:    "go_passive";
25315             signal:  "elm,state,unselected";
25316             source:  "elm";
25317             action:  STATE_SET "default" 0.0;
25318             target:  "bg";
25319             target:  "fg1";
25320             target:  "fg2";
25321             target:  "elm.text.title";
25322             target:  "elm.text.length";
25323             target:  "elm.text.trackno";
25324             transition: LINEAR 0.1;
25325             after:   "dot_passive";
25326          }
25327          program {
25328             name: "dot_passive";
25329             script {
25330                if (get_int(dot_visible) == 1)
25331                   set_state(PART:"dot", "visible", 0.0);
25332             }
25333          }
25334          program {
25335             name:    "go_disabled";
25336             signal:  "elm,state,disabled";
25337             source:  "elm";
25338             action:  STATE_SET "disabled" 0.0;
25339             target:  "disclip";
25340          }
25341          program {
25342             name:    "go_enabled";
25343             signal:  "elm,state,enabled";
25344             source:  "elm";
25345             action:  STATE_SET "default" 0.0;
25346             target:  "disclip";
25347          }
25348       }
25349    }
25350
25351    group { name: "elm/genlist/item_compress/media-preview/default";
25352       data.item: "stacking" "above";
25353       data.item: "selectraise" "on";
25354       data.item: "labels" "elm.text.title elm.text.artist";
25355       data.item: "icons" "elm.swallow.preview";
25356       data.item: "treesize" "20";
25357       images {
25358          image: "bt_sm_base1.png" COMP;
25359          image: "bt_sm_shine.png" COMP;
25360          image: "bt_sm_hilight.png" COMP;
25361          image: "ilist_1.png" COMP;
25362          image: "ilist_item_shadow.png" COMP;
25363       }
25364       parts {
25365          part {
25366             name: "event";
25367             type: RECT;
25368             repeat_events: 1;
25369             description {
25370                state: "default" 0.0;
25371                color: 0 0 0 0;
25372             }
25373          }
25374          part {
25375             name: "base_sh";
25376             mouse_events: 0;
25377             description {
25378                state: "default" 0.0;
25379                align: 0.0 0.0;
25380                min: 0 10;
25381                fixed: 1 1;
25382                rel1 {
25383                   to: "base";
25384                   relative: 0.0 1.0;
25385                   offset: 0 0;
25386                }
25387                rel2 {
25388                   to: "base";
25389                   relative: 1.0 1.0;
25390                   offset: -1 0;
25391                }
25392                image {
25393                   normal: "ilist_item_shadow.png";
25394                }
25395                fill.smooth: 0;
25396             }
25397          }
25398          part {
25399             name: "base";
25400             mouse_events: 0;
25401             description {
25402                state: "default" 0.0;
25403                image {
25404                   normal: "ilist_1.png";
25405                   border: 2 2 2 2;
25406                }
25407                fill.smooth: 0;
25408             }
25409          }
25410          part { name: "bg";
25411             clip_to: "disclip";
25412             mouse_events: 0;
25413             description { state: "default" 0.0;
25414                visible: 0;
25415                color: 255 255 255 0;
25416                rel1 {
25417                   relative: 0.0 0.0;
25418                   offset: -5 -5;
25419                }
25420                rel2 {
25421                   relative: 1.0 1.0;
25422                   offset: 4 4;
25423                }
25424                image {
25425                   normal: "bt_sm_base1.png";
25426                   border: 6 6 6 6;
25427                }
25428                image.middle: SOLID;
25429             }
25430             description { state: "selected" 0.0;
25431                inherit: "default" 0.0;
25432                visible: 1;
25433                color: 255 255 255 255;
25434                rel1 {
25435                   relative: 0.0 0.0;
25436                   offset: -2 -2;
25437                }
25438                rel2 {
25439                   relative: 1.0 1.0;
25440                   offset: 1 1;
25441                }
25442             }
25443          }
25444          part { name: "elm.swallow.pad";
25445             type: SWALLOW;
25446             description { state: "default" 0.0;
25447                fixed: 1 0;
25448                align: 0.0 0.5;
25449                rel1 {
25450                   relative: 0.0  0.0;
25451                   offset:   4    4;
25452                }
25453                rel2 {
25454                   relative: 0.0  1.0;
25455                   offset:   4   -5;
25456                }
25457             }
25458          }
25459          part { name: "elm.swallow.preview";
25460             clip_to: "disclip";
25461             type: SWALLOW;
25462             description { state: "default" 0.0;
25463                fixed: 1 0;
25464                align: 0.0 0.5;
25465                min: 68 68;
25466                max: 68 68;
25467                rel1 {
25468                   to_x: "elm.swallow.pad";
25469                   relative: 1.0  0.0;
25470                   offset:   -1    4;
25471                }
25472                rel2 {
25473                   to_x: "elm.swallow.pad";
25474                   relative: 1.0  1.0;
25475                   offset:   -1   -5;
25476                }
25477             }
25478          }
25479          part { name: "elm.text.title";
25480             clip_to: "disclip";
25481             type:           TEXT;
25482             effect:         SOFT_SHADOW;
25483             mouse_events:   0;
25484             scale: 1;
25485             description {
25486                state: "default" 0.0;
25487                rel1 {
25488                   to_x:     "elm.swallow.preview";
25489                   relative: 1.0  0.0;
25490                   offset:   4 4;
25491                }
25492                rel2 {
25493                   relative: 1.0  0.5;
25494                   offset:   -1 -5;
25495                }
25496                color: 0 0 0 255;
25497                color3: 0 0 0 0;
25498                text {
25499                   font: "Sans";
25500                   size: 10;
25501                   min: 0 1;
25502                   align: 0.0 0.5;
25503                }
25504             }
25505             description { state: "selected" 0.0;
25506                inherit: "default" 0.0;
25507                color: 224 224 224 255;
25508                color3: 0 0 0 64;
25509             }
25510          }
25511          part { name: "elm.text.artist";
25512             clip_to: "disclip";
25513             type:           TEXT;
25514             mouse_events:   0;
25515             scale: 1;
25516             description {
25517                state: "default" 0.0;
25518                rel1 {
25519                   to_x:     "elm.swallow.preview";
25520                   relative: 1.0  0.5;
25521                   offset:   4 4;
25522                }
25523                rel2 {
25524                   relative: 1.0  1.0;
25525                   offset:   -1 -5;
25526                }
25527                color: 0 0 0 128;
25528                color3: 0 0 0 0;
25529                text {
25530                   font: "Sans";
25531                   size: 8;
25532                   min: 0 1;
25533                   align: 0.0 0.5;
25534                }
25535             }
25536             description { state: "selected" 0.0;
25537                inherit: "default" 0.0;
25538                color: 128 128 128 255;
25539                color3: 0 0 0 32;
25540             }
25541          }
25542          part { name: "fg1";
25543             clip_to: "disclip";
25544             mouse_events: 0;
25545             description { state: "default" 0.0;
25546                visible: 0;
25547                color: 255 255 255 0;
25548                rel1.to: "bg";
25549                rel2.relative: 1.0 0.5;
25550                rel2.to: "bg";
25551                image {
25552                   normal: "bt_sm_hilight.png";
25553                   border: 6 6 6 0;
25554                }
25555             }
25556             description { state: "selected" 0.0;
25557                inherit: "default" 0.0;
25558                visible: 1;
25559                color: 255 255 255 255;
25560             }
25561          }
25562          part { name: "fg2";
25563             clip_to: "disclip";
25564             mouse_events: 0;
25565             description { state: "default" 0.0;
25566                visible: 0;
25567                color: 255 255 255 0;
25568                rel1.to: "bg";
25569                rel2.to: "bg";
25570                image {
25571                   normal: "bt_sm_shine.png";
25572                   border: 6 6 6 0;
25573                }
25574             }
25575             description { state: "selected" 0.0;
25576                inherit: "default" 0.0;
25577                visible: 1;
25578                color: 255 255 255 255;
25579             }
25580          }
25581          part { name: "disclip";
25582             type: RECT;
25583             description { state: "default" 0.0;
25584                rel1.to: "bg";
25585                rel2.to: "bg";
25586             }
25587             description { state: "disabled" 0.0;
25588                inherit: "default" 0.0;
25589                color: 255 255 255 64;
25590             }
25591          }
25592       }
25593       programs {
25594          // signal: elm,state,%s,active
25595          //   a "check" item named %s went active
25596          // signal: elm,state,%s,passive
25597          //   a "check" item named %s went passive
25598          // default is passive
25599          program {
25600             name:    "go_active";
25601             signal:  "elm,state,selected";
25602             source:  "elm";
25603             action:  STATE_SET "selected" 0.0;
25604             target:  "bg";
25605             target:  "fg1";
25606             target:  "fg2";
25607             target:  "elm.text.title";
25608             target:  "elm.text.artist";
25609          }
25610          program {
25611             name:    "go_passive";
25612             signal:  "elm,state,unselected";
25613             source:  "elm";
25614             action:  STATE_SET "default" 0.0;
25615             target:  "bg";
25616             target:  "fg1";
25617             target:  "fg2";
25618             target:  "elm.text.title";
25619             target:  "elm.text.artist";
25620             transition: LINEAR 0.1;
25621          }
25622          program {
25623             name:    "go_disabled";
25624             signal:  "elm,state,disabled";
25625             source:  "elm";
25626             action:  STATE_SET "disabled" 0.0;
25627             target:  "disclip";
25628          }
25629          program {
25630             name:    "go_enabled";
25631             signal:  "elm,state,enabled";
25632             source:  "elm";
25633             action:  STATE_SET "default" 0.0;
25634             target:  "disclip";
25635          }
25636       }
25637    }
25638    group { name: "elm/genlist/item_compress_odd/media-preview/default";
25639       data.item: "stacking" "below";
25640       data.item: "selectraise" "on";
25641       data.item: "labels" "elm.text.title elm.text.artist";
25642       data.item: "icons" "elm.swallow.preview";
25643       data.item: "treesize" "20";
25644       images {
25645          image: "bt_sm_base1.png" COMP;
25646          image: "bt_sm_shine.png" COMP;
25647          image: "bt_sm_hilight.png" COMP;
25648          image: "ilist_2.png" COMP;
25649       }
25650       parts {
25651          part { name: "event";
25652             type: RECT;
25653             repeat_events: 1;
25654             description {
25655                state: "default" 0.0;
25656                color: 0 0 0 0;
25657             }
25658          }
25659          part {
25660             name: "base";
25661             mouse_events: 0;
25662             description {
25663                state: "default" 0.0;
25664                image {
25665                   normal: "ilist_2.png";
25666                   border: 2 2 2 2;
25667                }
25668                fill.smooth: 0;
25669             }
25670          }
25671          part { name: "bg";
25672             clip_to: "disclip";
25673             mouse_events: 0;
25674             description { state: "default" 0.0;
25675                visible: 0;
25676                color: 255 255 255 0;
25677                rel1 {
25678                   relative: 0.0 0.0;
25679                   offset: -5 -5;
25680                }
25681                rel2 {
25682                   relative: 1.0 1.0;
25683                   offset: 4 4;
25684                }
25685                image {
25686                   normal: "bt_sm_base1.png";
25687                   border: 6 6 6 6;
25688                }
25689                image.middle: SOLID;
25690             }
25691             description { state: "selected" 0.0;
25692                inherit: "default" 0.0;
25693                visible: 1;
25694                color: 255 255 255 255;
25695                rel1 {
25696                   relative: 0.0 0.0;
25697                   offset: -2 -2;
25698                }
25699                rel2 {
25700                   relative: 1.0 1.0;
25701                   offset: 1 1;
25702                }
25703             }
25704          }
25705          part { name: "elm.swallow.pad";
25706             type: SWALLOW;
25707             description { state: "default" 0.0;
25708                fixed: 1 0;
25709                align: 0.0 0.5;
25710                rel1 {
25711                   relative: 0.0  0.0;
25712                   offset:   4    4;
25713                }
25714                rel2 {
25715                   relative: 0.0  1.0;
25716                   offset:   4   -5;
25717                }
25718             }
25719          }
25720          part { name: "elm.swallow.preview";
25721             clip_to: "disclip";
25722             type: SWALLOW;
25723             description { state: "default" 0.0;
25724                fixed: 1 0;
25725                align: 0.0 0.5;
25726                min: 68 68;
25727                max: 68 68;
25728                rel1 {
25729                   to_x: "elm.swallow.pad";
25730                   relative: 1.0  0.0;
25731                   offset:   -1    4;
25732                }
25733                rel2 {
25734                   to_x: "elm.swallow.pad";
25735                   relative: 1.0  1.0;
25736                   offset:   -1   -5;
25737                }
25738             }
25739          }
25740          part { name: "elm.text.title";
25741             clip_to: "disclip";
25742             type:           TEXT;
25743             effect:         SOFT_SHADOW;
25744             mouse_events:   0;
25745             scale: 1;
25746             description {
25747                state: "default" 0.0;
25748                rel1 {
25749                   to_x:     "elm.swallow.preview";
25750                   relative: 1.0  0.0;
25751                   offset:   4 4;
25752                }
25753                rel2 {
25754                   relative: 1.0  0.5;
25755                   offset:   -1 -5;
25756                }
25757                color: 0 0 0 255;
25758                color3: 0 0 0 0;
25759                text {
25760                   font: "Sans";
25761                   size: 10;
25762                   min: 0 1;
25763                   align: 0.0 0.5;
25764                }
25765             }
25766             description { state: "selected" 0.0;
25767                inherit: "default" 0.0;
25768                color: 224 224 224 255;
25769                color3: 0 0 0 64;
25770             }
25771          }
25772          part { name: "elm.text.artist";
25773             clip_to: "disclip";
25774             type:           TEXT;
25775             mouse_events:   0;
25776             scale: 1;
25777             description {
25778                state: "default" 0.0;
25779                rel1 {
25780                   to_x:     "elm.swallow.preview";
25781                   relative: 1.0  0.5;
25782                   offset:   4 4;
25783                }
25784                rel2 {
25785                   relative: 1.0  1.0;
25786                   offset:   -1 -5;
25787                }
25788                color: 0 0 0 128;
25789                color3: 0 0 0 0;
25790                text {
25791                   font: "Sans";
25792                   size: 8;
25793                   min: 0 1;
25794                   align: 0.0 0.5;
25795                }
25796             }
25797             description { state: "selected" 0.0;
25798                inherit: "default" 0.0;
25799                color: 128 128 128 255;
25800                color3: 0 0 0 32;
25801             }
25802          }
25803          part { name: "fg1";
25804             clip_to: "disclip";
25805             mouse_events: 0;
25806             description { state: "default" 0.0;
25807                visible: 0;
25808                color: 255 255 255 0;
25809                rel1.to: "bg";
25810                rel2.relative: 1.0 0.5;
25811                rel2.to: "bg";
25812                image {
25813                   normal: "bt_sm_hilight.png";
25814                   border: 6 6 6 0;
25815                }
25816             }
25817             description { state: "selected" 0.0;
25818                inherit: "default" 0.0;
25819                visible: 1;
25820                color: 255 255 255 255;
25821             }
25822          }
25823          part { name: "fg2";
25824             clip_to: "disclip";
25825             mouse_events: 0;
25826             description { state: "default" 0.0;
25827                visible: 0;
25828                color: 255 255 255 0;
25829                rel1.to: "bg";
25830                rel2.to: "bg";
25831                image {
25832                   normal: "bt_sm_shine.png";
25833                   border: 6 6 6 0;
25834                }
25835             }
25836             description { state: "selected" 0.0;
25837                inherit: "default" 0.0;
25838                visible: 1;
25839                color: 255 255 255 255;
25840             }
25841          }
25842          part { name: "disclip";
25843             type: RECT;
25844             description { state: "default" 0.0;
25845                rel1.to: "bg";
25846                rel2.to: "bg";
25847             }
25848             description { state: "disabled" 0.0;
25849                inherit: "default" 0.0;
25850                color: 255 255 255 64;
25851             }
25852          }
25853       }
25854       programs {
25855          // signal: elm,state,%s,active
25856          //   a "check" item named %s went active
25857          // signal: elm,state,%s,passive
25858          //   a "check" item named %s went passive
25859          // default is passive
25860          program {
25861             name:    "go_active";
25862             signal:  "elm,state,selected";
25863             source:  "elm";
25864             action:  STATE_SET "selected" 0.0;
25865             target:  "bg";
25866             target:  "fg1";
25867             target:  "fg2";
25868             target:  "elm.text.title";
25869             target:  "elm.text.artist";
25870          }
25871          program {
25872             name:    "go_passive";
25873             signal:  "elm,state,unselected";
25874             source:  "elm";
25875             action:  STATE_SET "default" 0.0;
25876             target:  "bg";
25877             target:  "fg1";
25878             target:  "fg2";
25879             target:  "elm.text.title";
25880             target:  "elm.text.artist";
25881             transition: LINEAR 0.1;
25882          }
25883          program {
25884             name:    "go_disabled";
25885             signal:  "elm,state,disabled";
25886             source:  "elm";
25887             action:  STATE_SET "disabled" 0.0;
25888             target:  "disclip";
25889          }
25890          program {
25891             name:    "go_enabled";
25892             signal:  "elm,state,enabled";
25893             source:  "elm";
25894             action:  STATE_SET "default" 0.0;
25895             target:  "disclip";
25896          }
25897       }
25898    }
25899
25900 ///////////////////////////////////////////////////////////////////////////////
25901    group { name: "elm/pager/base/default";
25902       data.item: "onshow" "raise";
25903 // other options
25904 //      data.item: "onhide" "lower";
25905 //      data.item: "onshow" "lower";
25906       images {
25907          image: "frame_1.png" COMP;
25908          image: "frame_2.png" COMP;
25909          image: "dia_grad.png" COMP;
25910       }
25911       parts {
25912          part { name: "clip";
25913             type: RECT;
25914             mouse_events: 0;
25915             description { state: "default" 0.0;
25916                rel1 {
25917                   to: "base";
25918                   offset: -9999 -9999;
25919                }
25920                rel2 {
25921                   to: "base";
25922                   offset: 9999 9999;
25923                }
25924                color: 255 255 255 255;
25925             }
25926             description { state: "visible" 0.0;
25927                inherit: "default" 0.0;
25928             }
25929             description { state: "hidden" 0.0;
25930                inherit: "default" 0.0;
25931                color: 255 255 255 0;
25932                visible: 0;
25933             }
25934          }
25935          part { name: "base0";
25936             mouse_events:  0;
25937             clip_to: "clip";
25938             description { state: "default" 0.0;
25939                image.normal: "dia_grad.png";
25940                rel1.to: "over";
25941                rel2.to: "over";
25942                fill {
25943                   smooth: 0;
25944                   size {
25945                      relative: 0.0 1.0;
25946                      offset: 64 0;
25947                   }
25948                }
25949             }
25950          }
25951          part { name: "base";
25952             mouse_events:  0;
25953             clip_to: "clip";
25954             description { state: "default" 0.0;
25955                image {
25956                   normal: "frame_2.png";
25957                   border: 5 5 32 26;
25958                   middle: 0;
25959                }
25960                fill.smooth : 0;
25961             }
25962             description { state: "hidden" 0.0;
25963                inherit: "default" 0.0;
25964                rel1.relative: -1.0 0.0;
25965                rel2.relative: 0.0 1.0;
25966             }
25967             description { state: "visible" 0.0;
25968                inherit: "default" 0.0;
25969                rel1.relative: 0.0 0.0;
25970                rel2.relative: 1.0 1.0;
25971             }
25972          }
25973          part { name: "over";
25974             mouse_events:  0;
25975             clip_to: "clip";
25976             description { state:    "default" 0.0;
25977                rel1 {
25978                   to: "base";
25979                   offset: 4 4;
25980                }
25981                rel2 {
25982                   to: "base";
25983                   offset: -5 -5;
25984                }
25985                image {
25986                   normal: "frame_1.png";
25987                   border: 2 2 28 22;
25988                   middle: 0;
25989                }
25990                fill.smooth : 0;
25991             }
25992          }
25993          part { name: "elm.swallow.content";
25994             type: SWALLOW;
25995             clip_to: "clip";
25996             description { state: "default" 0.0;
25997                rel1 {
25998                   to: "base";
25999                   offset: 8 8;
26000                }
26001                rel2 {
26002                   to: "base";
26003                   offset: -9 -9;
26004                }
26005             }
26006          }
26007       }
26008       programs {
26009          program { name: "push_start";
26010             signal: "elm,action,push";
26011             source: "elm";
26012             action:  STATE_SET "hidden" 0.0;
26013             target: "base";
26014             target: "clip";
26015             after: "show_start2";
26016          }
26017          program { name: "show_start";
26018             signal: "elm,action,show";
26019             source: "elm";
26020             action:  STATE_SET "hidden" 0.0;
26021             target: "base";
26022             target: "clip";
26023             after: "show_start2";
26024          }
26025          program { name: "show_start2";
26026             action:  STATE_SET "visible" 0.0;
26027             transition: DECELERATE 0.5;
26028             target: "base";
26029             target: "clip";
26030             after: "show_end";
26031          }
26032          program { name: "show_end";
26033             action: SIGNAL_EMIT "elm,action,show,finished" "";
26034          }
26035          program { name: "pop_start";
26036             signal: "elm,action,pop";
26037             source: "elm";
26038             action:  STATE_SET "visible" 0.0;
26039             target: "base";
26040             target: "clip";
26041             after: "hide_start2";
26042          }
26043          program { name: "hide_start";
26044             signal: "elm,action,hide";
26045             source: "elm";
26046             action:  STATE_SET "visible" 0.0;
26047             target: "base";
26048             target: "clip";
26049             after: "hide_start2";
26050          }
26051          program { name: "hide_start2";
26052             action:  STATE_SET "hidden" 0.0;
26053             transition: DECELERATE 0.5;
26054             target: "base";
26055             target: "clip";
26056             after: "hide_end";
26057          }
26058          program { name: "hide_end";
26059             action: SIGNAL_EMIT "elm,action,hide,finished" "";
26060          }
26061          program { name: "reset";
26062             signal: "elm,action,reset";
26063             source: "elm";
26064             action:  STATE_SET "default" 0.0;
26065             target: "base";
26066             target: "clip";
26067          }
26068       }
26069    }
26070
26071    group { name: "elm/pager/base/slide";
26072       images {
26073          image: "frame_1.png" COMP;
26074          image: "frame_2.png" COMP;
26075          image: "dia_grad.png" COMP;
26076       }
26077       parts {
26078          part { name: "clip";
26079             type: RECT;
26080             mouse_events: 0;
26081             description { state: "default" 0.0;
26082                rel1 {
26083                   to: "base";
26084                   offset: -9999 -9999;
26085                }
26086                rel2 {
26087                   to: "base";
26088                   offset: 9999 9999;
26089                }
26090                color: 255 255 255 255;
26091             }
26092             description { state: "visible" 0.0;
26093                inherit: "default" 0.0;
26094             }
26095             description { state: "hidden" 0.0;
26096                inherit: "default" 0.0;
26097                color: 255 255 255 0;
26098                visible: 0;
26099             }
26100             description { state: "hidden2" 0.0;
26101                inherit: "default" 0.0;
26102                color: 255 255 255 0;
26103                visible: 0;
26104             }
26105          }
26106          part { name: "base0";
26107             mouse_events:  0;
26108             clip_to: "clip";
26109             description { state: "default" 0.0;
26110                image.normal: "dia_grad.png";
26111                rel1.to: "over";
26112                rel2.to: "over";
26113                fill {
26114                   smooth: 0;
26115                   size {
26116                      relative: 0.0 1.0;
26117                      offset: 64 0;
26118                   }
26119                }
26120             }
26121          }
26122          part { name: "base";
26123             mouse_events:  0;
26124             clip_to: "clip";
26125             description { state: "default" 0.0;
26126                image {
26127                   normal: "frame_2.png";
26128                   border: 5 5 32 26;
26129                   middle: 0;
26130                }
26131                fill.smooth : 0;
26132             }
26133             description { state: "hidden" 0.0;
26134                inherit: "default" 0.0;
26135                rel1.relative: -1.0 0.0;
26136                rel2.relative: 0.0 1.0;
26137             }
26138             description { state: "hidden2" 0.0;
26139                inherit: "default" 0.0;
26140                rel1.relative: 1.0 0.0;
26141                rel2.relative: 2.0 1.0;
26142             }
26143             description { state: "visible" 0.0;
26144                inherit: "default" 0.0;
26145                rel1.relative: 0.0 0.0;
26146                rel2.relative: 1.0 1.0;
26147             }
26148          }
26149          part { name: "over";
26150             mouse_events:  0;
26151             clip_to: "clip";
26152             description { state:    "default" 0.0;
26153                rel1 {
26154                   to: "base";
26155                   offset: 4 4;
26156                }
26157                rel2 {
26158                   to: "base";
26159                   offset: -5 -5;
26160                }
26161                image {
26162                   normal: "frame_1.png";
26163                   border: 2 2 28 22;
26164                   middle: 0;
26165                }
26166                fill.smooth : 0;
26167             }
26168          }
26169          part { name: "elm.swallow.content";
26170             type: SWALLOW;
26171             clip_to: "clip";
26172             description { state: "default" 0.0;
26173                rel1 {
26174                   to: "base";
26175                   offset: 8 8;
26176                }
26177                rel2 {
26178                   to: "base";
26179                   offset: -9 -9;
26180                }
26181             }
26182          }
26183       }
26184       programs {
26185          program { name: "push_start";
26186             signal: "elm,action,push";
26187             source: "elm";
26188             action:  STATE_SET "hidden2" 0.0;
26189             target: "base";
26190             target: "clip";
26191             after: "show_start2";
26192          }
26193          program { name: "show_start";
26194             signal: "elm,action,show";
26195             source: "elm";
26196             action:  STATE_SET "hidden" 0.0;
26197             target: "base";
26198             target: "clip";
26199             after: "show_start2";
26200          }
26201          program { name: "show_start2";
26202             action:  STATE_SET "visible" 0.0;
26203             transition: DECELERATE 0.5;
26204             target: "base";
26205             target: "clip";
26206             after: "show_end";
26207          }
26208          program { name: "show_end";
26209             action: SIGNAL_EMIT "elm,action,show,finished" "";
26210          }
26211          program { name: "pop_start";
26212             signal: "elm,action,pop";
26213             source: "elm";
26214             action:  STATE_SET "visible" 0.0;
26215             target: "base";
26216             target: "clip";
26217             after: "pop_start2";
26218          }
26219          program { name: "pop_start2";
26220             action:  STATE_SET "hidden2" 0.0;
26221             transition: DECELERATE 0.5;
26222             target: "base";
26223             target: "clip";
26224             after: "hide_end";
26225          }
26226          program { name: "hide_start";
26227             signal: "elm,action,hide";
26228             source: "elm";
26229             action:  STATE_SET "visible" 0.0;
26230             target: "base";
26231             target: "clip";
26232             after: "hide_start2";
26233          }
26234          program { name: "hide_start2";
26235             action:  STATE_SET "hidden" 0.0;
26236             transition: DECELERATE 0.5;
26237             target: "base";
26238             target: "clip";
26239             after: "hide_end";
26240          }
26241          program { name: "hide_end";
26242             action: SIGNAL_EMIT "elm,action,hide,finished" "";
26243          }
26244          program { name: "reset";
26245             signal: "elm,action,reset";
26246             source: "elm";
26247             action:  STATE_SET "default" 0.0;
26248             target: "base";
26249             target: "clip";
26250          }
26251       }
26252    }
26253    group { name: "elm/pager/base/slide_invisible";
26254       parts {
26255          part { name: "clip";
26256             type: RECT;
26257             mouse_events: 0;
26258             description { state: "default" 0.0;
26259                rel1 {
26260                   to: "base";
26261                   offset: -9999 -9999;
26262             }
26263                rel2 {
26264                   to: "base";
26265                   offset: 9999 9999;
26266                }
26267                color: 255 255 255 255;
26268             }
26269             description { state: "visible" 0.0;
26270                inherit: "default" 0.0;
26271             }
26272             description { state: "hidden" 0.0;
26273                inherit: "default" 0.0;
26274                color: 255 255 255 0;
26275                visible: 0;
26276             }
26277             description { state: "hidden2" 0.0;
26278                inherit: "default" 0.0;
26279                color: 255 255 255 0;
26280                visible: 0;
26281             }
26282          }
26283          part { name: "base";
26284             type: RECT;
26285             mouse_events:  0;
26286             clip_to: "clip";
26287             description { state: "default" 0.0;
26288                color: 0 0 0 0;
26289             }
26290             description { state: "hidden" 0.0;
26291                color: 0 0 0 0;
26292                rel1.relative: -1.0 0.0;
26293                rel2.relative: 0.0 1.0;
26294             }
26295             description { state: "hidden2" 0.0;
26296                color: 0 0 0 0;
26297                rel1.relative: 1.0 0.0;
26298                rel2.relative: 2.0 1.0;
26299             }
26300             description { state: "visible" 0.0;
26301                color: 0 0 0 0;
26302                rel1.relative: 0.0 0.0;
26303                rel2.relative: 1.0 1.0;
26304             }
26305          }
26306          part { name: "elm.swallow.content";
26307             type: SWALLOW;
26308             clip_to: "clip";
26309             description { state: "default" 0.0;
26310                rel1.to: "base";
26311                rel2.to: "base";
26312             }
26313          }
26314       }
26315       programs {
26316          program { name: "push_start";
26317             signal: "elm,action,push";
26318             source: "elm";
26319             action:  STATE_SET "hidden2" 0.0;
26320             target: "base";
26321             target: "clip";
26322             after: "show_start2";
26323          }
26324          program { name: "show_start";
26325             signal: "elm,action,show";
26326             source: "elm";
26327             action:  STATE_SET "hidden" 0.0;
26328             target: "base";
26329             target: "clip";
26330             after: "show_start2";
26331          }
26332          program { name: "show_start2";
26333             action:  STATE_SET "visible" 0.0;
26334             transition: DECELERATE 0.5;
26335             target: "base";
26336             target: "clip";
26337             after: "show_end";
26338          }
26339          program { name: "show_end";
26340             action: SIGNAL_EMIT "elm,action,show,finished" "";
26341          }
26342          program { name: "pop_start";
26343             signal: "elm,action,pop";
26344             source: "elm";
26345             action:  STATE_SET "visible" 0.0;
26346             target: "base";
26347             target: "clip";
26348             after: "pop_start2";
26349          }
26350          program { name: "pop_start2";
26351             action:  STATE_SET "hidden2" 0.0;
26352             transition: DECELERATE 0.5;
26353             target: "base";
26354             target: "clip";
26355             after: "hide_end";
26356          }
26357          program { name: "hide_start";
26358             signal: "elm,action,hide";
26359             source: "elm";
26360             action:  STATE_SET "visible" 0.0;
26361             target: "base";
26362             target: "clip";
26363             after: "hide_start2";
26364          }
26365          program { name: "hide_start2";
26366             action:  STATE_SET "hidden" 0.0;
26367             transition: DECELERATE 0.5;
26368             target: "base";
26369             target: "clip";
26370             after: "hide_end";
26371          }
26372          program { name: "hide_end";
26373             action: SIGNAL_EMIT "elm,action,hide,finished" "";
26374          }
26375          program { name: "reset";
26376             signal: "elm,action,reset";
26377             source: "elm";
26378             action:  STATE_SET "default" 0.0;
26379             target: "base";
26380             target: "clip";
26381          }
26382       }
26383    }
26384
26385    group { name: "elm/pager/base/fade";
26386        data.item: "onshow" "raise";
26387        // other options
26388        //      data.item: "onhide" "lower";
26389        //      data.item: "onshow" "lower";
26390        images {
26391            image: "frame_1.png" COMP;
26392            image: "frame_2.png" COMP;
26393            image: "dia_grad.png" COMP;
26394        }
26395        parts {
26396            part { name: "clip_base";
26397                type: RECT;
26398                mouse_events: 0;
26399                description { state: "default" 0.0;
26400                    rel1 {
26401                        to: "base";
26402                        offset: -9999 -9999;
26403                    }
26404                    rel2 {
26405                        to: "base";
26406                        offset: 9999 9999;
26407                    }
26408                    color: 255 255 255 120;
26409                }
26410                description { state: "visible" 0.0;
26411                    inherit: "default" 0.0;
26412                }
26413                description { state: "hidden" 0.0;
26414                    inherit: "default" 0.0;
26415                    color: 255 255 255 0;
26416                    visible: 0;
26417                }
26418            }
26419            part { name: "clip";
26420                type: RECT;
26421                mouse_events: 0;
26422                description { state: "default" 0.0;
26423                    rel1 {
26424                        to: "base";
26425                        offset: -9999 -9999;
26426                    }
26427                    rel2 {
26428                        to: "base";
26429                        offset: 9999 9999;
26430                    }
26431                    color: 255 255 255 255;
26432                }
26433                description { state: "visible" 0.0;
26434                    inherit: "default" 0.0;
26435                }
26436                description { state: "hidden" 0.0;
26437                    inherit: "default" 0.0;
26438                    color: 255 255 255 0;
26439                    visible: 0;
26440                }
26441            }
26442            part { name: "base0";
26443                mouse_events:  0;
26444                clip_to: "clip_base";
26445                description { state: "default" 0.0;
26446                    image.normal: "dia_grad.png";
26447                    rel1.to: "over";
26448                    rel2.to: "over";
26449                    fill {
26450                        smooth: 0;
26451                        size {
26452                            relative: 0.0 1.0;
26453                            offset: 64 0;
26454                        }
26455                    }
26456                }
26457            }
26458            part { name: "base";
26459                mouse_events:  0;
26460                clip_to: "clip_base";
26461                description { state: "default" 0.0;
26462                    image {
26463                        normal: "frame_2.png";
26464                        border: 5 5 32 26;
26465                        middle: 0;
26466                    }
26467                    fill.smooth : 0;
26468                }
26469            }
26470            part { name: "over";
26471                mouse_events:  0;
26472                clip_to: "clip";
26473                description { state:    "default" 0.0;
26474                    rel1 {
26475                        to: "base";
26476                        offset: 4 4;
26477                    }
26478                    rel2 {
26479                        to: "base";
26480                        offset: -5 -5;
26481                    }
26482                    image {
26483                        normal: "frame_1.png";
26484                        border: 2 2 28 22;
26485                        middle: 0;
26486                    }
26487                    fill.smooth : 0;
26488                }
26489            }
26490            part { name: "elm.swallow.content";
26491                type: SWALLOW;
26492                clip_to: "clip";
26493                description { state: "default" 0.0;
26494                    rel1 {
26495                        to: "base";
26496                        offset: 8 8;
26497                    }
26498                    rel2 {
26499                        to: "base";
26500                        offset: -9 -9;
26501                    }
26502                }
26503            }
26504        }
26505        programs {
26506            program { name: "push_start";
26507                signal: "elm,action,push";
26508                source: "elm";
26509                action:  STATE_SET "hidden" 0.0;
26510                target: "clip";
26511                target: "clip_base";
26512                after: "show_start2";
26513            }
26514            program { name: "show_start";
26515                signal: "elm,action,show";
26516                source: "elm";
26517                action:  STATE_SET "hidden" 0.0;
26518                target: "clip";
26519                target: "clip_base";
26520                after: "show_start2";
26521            }
26522            program { name: "show_start2";
26523                action:  STATE_SET "visible" 0.0;
26524                transition: DECELERATE 0.5;
26525                target: "clip";
26526                target: "clip_base";
26527                after: "show_end";
26528            }
26529            program { name: "show_end";
26530                action: SIGNAL_EMIT "elm,action,show,finished" "";
26531            }
26532            program { name: "pop_start";
26533                signal: "elm,action,pop";
26534                source: "elm";
26535                action:  STATE_SET "visible" 0.0;
26536                target: "clip";
26537                target: "clip_base";
26538                after: "hide_start2";
26539            }
26540            program { name: "hide_start";
26541                signal: "elm,action,hide";
26542                source: "elm";
26543                action:  STATE_SET "visible" 0.0;
26544                target: "clip";
26545                target: "clip_base";
26546                after: "hide_start2";
26547            }
26548            program { name: "hide_start2";
26549                action:  STATE_SET "hidden" 0.0;
26550                transition: DECELERATE 0.5;
26551                target: "clip";
26552                target: "clip_base";
26553                after: "hide_end";
26554            }
26555            program { name: "hide_end";
26556                action: SIGNAL_EMIT "elm,action,hide,finished" "";
26557            }
26558            program { name: "reset";
26559                signal: "elm,action,reset";
26560                source: "elm";
26561                action:  STATE_SET "default" 0.0;
26562                target: "clip_base";
26563                target: "clip";
26564            }
26565        }
26566    }
26567    group { name: "elm/pager/base/fade_translucide";
26568        data.item: "onshow" "raise";
26569        // other options
26570        //      data.item: "onhide" "lower";
26571        //      data.item: "onshow" "lower";
26572        images {
26573            image: "frame_1.png" COMP;
26574            image: "frame_2.png" COMP;
26575            image: "dia_grad.png" COMP;
26576        }
26577        parts {
26578            part { name: "clip_base";
26579                type: RECT;
26580                mouse_events: 0;
26581                description { state: "default" 0.0;
26582                    rel1 {
26583                        to: "base";
26584                        offset: -9999 -9999;
26585                    }
26586                    rel2 {
26587                        to: "base";
26588                        offset: 9999 9999;
26589                    }
26590                    color: 255 255 255 120;
26591                }
26592                description { state: "visible" 0.0;
26593                    inherit: "default" 0.0;
26594                }
26595                description { state: "hidden" 0.0;
26596                    inherit: "default" 0.0;
26597                    color: 255 255 255 0;
26598                    visible: 0;
26599                }
26600            }
26601            part { name: "clip";
26602                type: RECT;
26603                mouse_events: 0;
26604                description { state: "default" 0.0;
26605                    rel1 {
26606                        to: "base";
26607                        offset: -9999 -9999;
26608                    }
26609                    rel2 {
26610                        to: "base";
26611                        offset: 9999 9999;
26612                    }
26613                    color: 255 255 255 255;
26614                }
26615                description { state: "visible" 0.0;
26616                    inherit: "default" 0.0;
26617                }
26618                description { state: "hidden" 0.0;
26619                    inherit: "default" 0.0;
26620                    color: 255 255 255 0;
26621                    visible: 0;
26622                }
26623            }
26624            part { name: "base0";
26625                mouse_events:  0;
26626                clip_to: "clip_base";
26627                description { state: "default" 0.0;
26628                    image.normal: "dia_grad.png";
26629                    rel1.to: "over";
26630                    rel2.to: "over";
26631                    fill {
26632                        smooth: 0;
26633                        size {
26634                            relative: 0.0 1.0;
26635                            offset: 64 0;
26636                        }
26637                    }
26638                }
26639            }
26640            part { name: "base";
26641                mouse_events:  0;
26642                clip_to: "clip_base";
26643                description { state: "default" 0.0;
26644                    image {
26645                        normal: "frame_2.png";
26646                        border: 5 5 32 26;
26647                        middle: 0;
26648                    }
26649                    fill.smooth : 0;
26650                }
26651            }
26652            part { name: "over";
26653                mouse_events:  0;
26654                clip_to: "clip";
26655                description { state:    "default" 0.0;
26656                    rel1 {
26657                        to: "base";
26658                        offset: 4 4;
26659                    }
26660                    rel2 {
26661                        to: "base";
26662                        offset: -5 -5;
26663                    }
26664                    image {
26665                        normal: "frame_1.png";
26666                        border: 2 2 28 22;
26667                        middle: 0;
26668                    }
26669                    fill.smooth : 0;
26670                }
26671            }
26672            part { name: "elm.swallow.content";
26673                type: SWALLOW;
26674                clip_to: "clip";
26675                description { state: "default" 0.0;
26676                    rel1 {
26677                        to: "base";
26678                        offset: 8 8;
26679                    }
26680                    rel2 {
26681                        to: "base";
26682                        offset: -9 -9;
26683                    }
26684                }
26685            }
26686        }
26687        programs {
26688            program { name: "push_start";
26689                signal: "elm,action,push";
26690                source: "elm";
26691                action:  STATE_SET "hidden" 0.0;
26692                target: "clip";
26693                target: "clip_base";
26694                after: "show_start2";
26695            }
26696            program { name: "show_start";
26697                signal: "elm,action,show";
26698                source: "elm";
26699                action:  STATE_SET "hidden" 0.0;
26700                target: "clip";
26701                target: "clip_base";
26702                after: "show_start2";
26703            }
26704            program { name: "show_start2";
26705                action:  STATE_SET "visible" 0.0;
26706                transition: DECELERATE 0.5;
26707                target: "clip";
26708                target: "clip_base";
26709                after: "show_end";
26710            }
26711            program { name: "show_end";
26712                action: SIGNAL_EMIT "elm,action,show,finished" "";
26713            }
26714            program { name: "pop_start";
26715                signal: "elm,action,pop";
26716                source: "elm";
26717                action:  STATE_SET "visible" 0.0;
26718                target: "clip";
26719                target: "clip_base";
26720                after: "hide_start2";
26721            }
26722            program { name: "hide_start";
26723                signal: "elm,action,hide";
26724                source: "elm";
26725                action:  STATE_SET "visible" 0.0;
26726                target: "clip";
26727                target: "clip_base";
26728                after: "hide_start2";
26729            }
26730            program { name: "hide_start2";
26731                action:  STATE_SET "hidden" 0.0;
26732                transition: DECELERATE 0.5;
26733                target: "clip";
26734                target: "clip_base";
26735                after: "hide_end";
26736            }
26737            program { name: "hide_end";
26738                action: SIGNAL_EMIT "elm,action,hide,finished" "";
26739            }
26740            program { name: "reset";
26741                signal: "elm,action,reset";
26742                source: "elm";
26743                action:  STATE_SET "default" 0.0;
26744                target: "clip_base";
26745                target: "clip";
26746            }
26747        }
26748    }
26749    group { name: "elm/pager/base/fade_invisible";
26750        data.item: "onshow" "raise";
26751        // other options
26752        //      data.item: "onhide" "lower";
26753        //      data.item: "onshow" "lower";
26754        parts {
26755            part { name: "clip";
26756                type: RECT;
26757                mouse_events: 0;
26758                description { state: "default" 0.0;
26759                    rel1 {
26760                        offset: -9999 -9999;
26761                    }
26762                    rel2 {
26763                        offset: 9999 9999;
26764                    }
26765                    color: 255 255 255 255;
26766                }
26767                description { state: "visible" 0.0;
26768                    inherit: "default" 0.0;
26769                }
26770                description { state: "hidden" 0.0;
26771                    inherit: "default" 0.0;
26772                    color: 255 255 255 0;
26773                    visible: 0;
26774                }
26775            }
26776            part { name: "elm.swallow.content";
26777                type: SWALLOW;
26778                clip_to: "clip";
26779                description { state: "default" 0.0;
26780                    rel1 {
26781                        offset: 8 8;
26782                    }
26783                    rel2 {
26784                        offset: -9 -9;
26785                    }
26786                }
26787            }
26788        }
26789        programs {
26790            program { name: "push_start";
26791                signal: "elm,action,push";
26792                source: "elm";
26793                action:  STATE_SET "hidden" 0.0;
26794                target: "clip";
26795                after: "show_start2";
26796            }
26797            program { name: "show_start";
26798                signal: "elm,action,show";
26799                source: "elm";
26800                action:  STATE_SET "hidden" 0.0;
26801                target: "clip";
26802                after: "show_start2";
26803            }
26804            program { name: "show_start2";
26805                action:  STATE_SET "visible" 0.0;
26806                transition: DECELERATE 0.5;
26807                target: "clip";
26808                after: "show_end";
26809            }
26810            program { name: "show_end";
26811                action: SIGNAL_EMIT "elm,action,show,finished" "";
26812            }
26813            program { name: "pop_start";
26814                signal: "elm,action,pop";
26815                source: "elm";
26816                action:  STATE_SET "visible" 0.0;
26817                target: "clip";
26818                after: "hide_start2";
26819            }
26820            program { name: "hide_start";
26821                signal: "elm,action,hide";
26822                source: "elm";
26823                action:  STATE_SET "visible" 0.0;
26824                target: "clip";
26825                after: "hide_start2";
26826            }
26827            program { name: "hide_start2";
26828                action:  STATE_SET "hidden" 0.0;
26829                transition: DECELERATE 0.5;
26830                target: "clip";
26831                after: "hide_end";
26832            }
26833            program { name: "hide_end";
26834                action: SIGNAL_EMIT "elm,action,hide,finished" "";
26835            }
26836            program { name: "reset";
26837                signal: "elm,action,reset";
26838                source: "elm";
26839                action:  STATE_SET "default" 0.0;
26840                target: "clip";
26841            }
26842        }
26843    }
26844
26845    group { name: "elm/pager/base/flip";
26846       data.item: "onshow" "raise";
26847       images {
26848          image: "frame_1.png" COMP;
26849          image: "frame_2.png" COMP;
26850          image: "dia_grad.png" COMP;
26851       }
26852       parts {
26853          part { name: "elm.swallow.content";
26854             type: SWALLOW;
26855             description { state: "default" 0.0;
26856                map {
26857                   on: 1;
26858                   smooth: 1;
26859                   backface_cull: 1;
26860                   perspective_on: 1;
26861                }
26862                perspective {
26863                   zplane: 0;
26864                   focal: 1000;
26865                }
26866             }
26867             description { state: "hidden" 0.0;
26868                inherit: "default" 0.0;
26869                visible: 0;
26870                map.rotation.y: 90.0;
26871             }
26872             description { state: "before_hidden" 0.0;
26873                inherit: "default" 0.0;
26874                visible: 0;
26875                map.rotation.y: -90.0;
26876             }
26877          }
26878       }
26879       programs {
26880          program { name: "push_start";
26881             signal: "elm,action,push";
26882             source: "elm";
26883             after: "push1";
26884          }
26885          program { name: "push1";
26886             action:  STATE_SET "hidden" 0.0;
26887             target: "elm.swallow.content";
26888             after: "push2";
26889          }
26890          program { name: "push2";
26891             action:  STATE_SET "default" 0.0;
26892             in: 0.5 0.0;
26893             transition: LINEAR 0.5;
26894             target: "elm.swallow.content";
26895             after: "push3";
26896          }
26897          program { name: "push3";
26898             action: SIGNAL_EMIT "elm,action,show,finished" "";
26899          }
26900
26901          program { name: "show_start";
26902             signal: "elm,action,show";
26903             source: "elm";
26904             after: "show1";
26905          }
26906          program { name: "show1";
26907             action:  STATE_SET "before_hidden" 0.0;
26908             target: "elm.swallow.content";
26909             after: "show2";
26910          }
26911          program { name: "show2";
26912             action:  STATE_SET "default" 0.0;
26913             in: 0.5 0.0;
26914             transition: LINEAR 0.5;
26915             target: "elm.swallow.content";
26916             after: "show3";
26917          }
26918          program { name: "show3";
26919             action: SIGNAL_EMIT "elm,action,show,finished" "";
26920          }
26921
26922          program { name: "pop_start";
26923             signal: "elm,action,pop";
26924             source: "elm";
26925             after: "pop1";
26926          }
26927          program { name: "pop1";
26928             action:  STATE_SET "default" 0.0;
26929             target: "elm.swallow.content";
26930             after: "pop2";
26931          }
26932          program { name: "pop2";
26933             action:  STATE_SET "hidden" 0.0;
26934             transition: LINEAR 0.5;
26935             target: "elm.swallow.content";
26936             after: "pop3";
26937          }
26938          program { name: "pop3";
26939             action: SIGNAL_EMIT "elm,action,hide,finished" "";
26940          }
26941
26942          program { name: "hide_start";
26943             signal: "elm,action,hide";
26944             source: "elm";
26945             after: "hide1";
26946          }
26947          program { name: "hide1";
26948             action:  STATE_SET "default" 0.0;
26949             target: "elm.swallow.content";
26950             after: "hide2";
26951          }
26952          program { name: "hide2";
26953             action:  STATE_SET "before_hidden" 0.0;
26954             transition: LINEAR 0.5;
26955             target: "elm.swallow.content";
26956             after: "hide3";
26957          }
26958          program { name: "hide3";
26959             action: SIGNAL_EMIT "elm,action,hide,finished" "";
26960          }
26961
26962          program { name: "reset";
26963             signal: "elm,action,reset";
26964             source: "elm";
26965             action:  STATE_SET "default" 0.0;
26966             target: "elm.swallow.content";
26967          }
26968       }
26969    }
26970
26971
26972
26973 ///////////////////////////////////////////////////////////////////////////////
26974 // FIXME: this doesn't look too hot. need to fix it up
26975    group { name: "elm/progressbar/horizontal/default";
26976       images {
26977          image: "shelf_inset.png" COMP;
26978          image: "bt_sm_base2.png" COMP;
26979          image: "bt_sm_hilight.png" COMP;
26980          image: "bt_sm_shine.png" COMP;
26981       }
26982       parts {
26983          part { name: "elm.background.progressbar";
26984             mouse_events: 0;
26985             description {
26986                state: "default" 0.0;
26987                rel1 {
26988                   relative: 0.0 0.0;
26989                   offset: 0 0;
26990                }
26991                rel2 {
26992                   relative: 1.0 1.0;
26993                }
26994             }
26995          }
26996          part { name: "elm.swallow.bar";
26997             mouse_events: 0;
26998             type: SWALLOW;
26999             description {
27000                min: 48 28;
27001                max: 99999 28;
27002                state: "default" 0.0;
27003                rel1 {
27004                   to_x: "elm.text";
27005                   to_y: "elm.background.progressbar";
27006                   relative: 1.0 0.0;
27007                }
27008                rel2 {
27009                   to: "elm.background.progressbar";
27010                   relative: 1.0 1.0;
27011                }
27012             }
27013          }
27014          part { name: "elm.swallow.content";
27015             type: SWALLOW;
27016             description { state: "default" 0.0;
27017                visible: 0;
27018                align: 0.0 0.5;
27019                rel1 {
27020                   offset: 4 0;
27021                   to_y: "elm.background.progressbar";
27022                }
27023                rel2 {
27024                   offset: 3 -1;
27025                   relative: 0.0 1.0;
27026                   to_y: "elm.background.progressbar";
27027                }
27028             }
27029             description { state: "visible" 0.0;
27030                inherit: "default" 0.0;
27031                visible: 1;
27032                aspect: 1.0 1.0;
27033                aspect_preference: VERTICAL;
27034                rel2.offset: 4 -1;
27035             }
27036          }
27037          part { name: "elm.text";
27038             type: TEXT;
27039             mouse_events: 0;
27040             scale: 1;
27041             description { state: "default" 0.0;
27042                visible: 0;
27043                fixed: 1 1;
27044                align: 0.0 0.5;
27045                rel1.to_x: "elm.swallow.content";
27046                rel1.relative: 1.0 0.0;
27047                rel1.offset: -1 4;
27048                rel2.to_x: "elm.swallow.content";
27049                rel2.relative: 1.0 1.0;
27050                rel2.offset: -1 -5;
27051                color: 0 0 0 255;
27052                text {
27053                   font: "Sans,Edje-Vera";
27054                   size: 10;
27055                   min: 0 0;
27056                   align: 0.0 0.5;
27057                }
27058             }
27059             description { state: "visible" 0.0;
27060                inherit: "default" 0.0;
27061                visible: 1;
27062                text.min: 1 1;
27063                rel1.offset: 0 4;
27064                rel2.offset: 0 -5;
27065             }
27066          }
27067
27068          part { name: "background";
27069             mouse_events: 0;
27070             clip_to: "elm.background.progressbar";
27071             description {
27072                state: "default" 0.0;
27073                rel1 {
27074                   to: "elm.swallow.bar";
27075                   relative: 0.0 0.0;
27076                }
27077                rel2 {
27078                   to: "elm.swallow.bar";
27079                   relative: 1.0 1.0;
27080                   offset: -1 -1;
27081                }
27082                image {
27083                   normal: "shelf_inset.png";
27084                   border: 7 7 7 7;
27085                }
27086             }
27087          }
27088
27089          part { name: "elm.text.status";
27090             type: TEXT;
27091             mouse_events: 0;
27092             description { state: "default" 0.0;
27093                fixed: 1 1;
27094                visible: 1;
27095                rel1 {
27096                   to: "background";
27097                   relative: 0.5 0.5;
27098                }
27099                rel2 {
27100                   to: "background";
27101                   relative: 0.5 0.5;
27102                }
27103                text {
27104                   font: "Sans:style=Bold,Edje-Vera-Bold";
27105                   size: 10;
27106                   min: 1 1;
27107                   align: 0.5 0.0;
27108                }
27109                color: 0 0 0 255;
27110             }
27111             description { state: "hidden" 0.0;
27112                inherit: "default" 0.0;
27113                visible: 0;
27114                text.min: 0 0;
27115             }
27116          }
27117
27118          part { name: "elm.progress.progressbar";
27119             mouse_events: 0;
27120             clip_to: "elm.background.progressbar";
27121             description {
27122                state: "default" 0.0;
27123                min: 14 28;
27124                fixed: 1 1;
27125                rel1 {
27126                   to: "elm.swallow.bar";
27127                   relative: 0.0 0.0;
27128                }
27129                rel2 {
27130                   to_y: "elm.swallow.bar";
27131                   to_x: "elm.cur.progressbar";
27132                   offset: -1 -1;
27133                }
27134                image {
27135                   normal: "bt_sm_base2.png";
27136                   border: 6 6 6 6;
27137                }
27138             }
27139             description {
27140                state: "invert" 0.0;
27141                inherit: "default" 0.0;
27142                rel1 {
27143                   to_y: "elm.swallow.bar";
27144                   to_x: "elm.cur.progressbar";
27145                }
27146                rel2 {
27147                   to: "elm.swallow.bar";
27148                   relative: 1.0 1.0;
27149                }
27150             }
27151             description {
27152                state: "state_begin" 0.0;
27153                inherit: "default" 0.0;
27154                rel1 {
27155                   to: "elm.swallow.bar";
27156                   relative: 0.0 0.0;
27157                }
27158                rel2 {
27159                   to: "elm.swallow.bar";
27160                   relative: 0.1 1.0;
27161                }
27162             }
27163             description {
27164                state: "state_end" 0.0;
27165                inherit: "default" 0.0;
27166                rel1 {
27167                   to: "elm.swallow.bar";
27168                   relative: 0.9 0.0;
27169                }
27170                rel2 {
27171                   to: "elm.swallow.bar";
27172                   relative: 1.0 1.0;
27173                }
27174             }
27175          }
27176          part { name: "text-bar";
27177             type: TEXT;
27178             mouse_events: 0;
27179             clip_to: "progress-rect";
27180             effect: SOFT_SHADOW;
27181             scale: 1;
27182             description { state: "default" 0.0;
27183                align: 0.0 0.0;
27184                fixed: 1 1;
27185                visible: 1;
27186                rel1.to: "elm.text.status";
27187                rel1.offset: -1 -1;
27188                rel2.to: "elm.text.status";
27189                text {
27190                   text_source: "elm.text.status";
27191                   font: "Sans:style=Bold,Edje-Vera-Bold";
27192                   size: 10;
27193                   min: 1 1;
27194                   align: 0.0 0.0;
27195                }
27196                color: 224 224 224 255;
27197                color3: 0 0 0 64;
27198             }
27199             description { state: "hidden" 0.0;
27200                inherit: "default" 0.0;
27201                visible: 0;
27202                text.min: 0 0;
27203             }
27204          }
27205
27206          part { name: "over1";
27207             mouse_events: 0;
27208             description { state: "default" 0.0;
27209                rel1.to: "elm.progress.progressbar";
27210                rel2.to: "elm.progress.progressbar";
27211                rel2.relative: 1.0 0.5;
27212                image {
27213                   normal: "bt_sm_hilight.png";
27214                   border: 6 6 6 0;
27215                }
27216             }
27217          }
27218
27219          part { name: "over2";
27220             mouse_events: 1;
27221             repeat_events: 1;
27222             description { state: "default" 0.0;
27223                rel1.to: "elm.progress.progressbar";
27224                rel2.to: "elm.progress.progressbar";
27225                image {
27226                   normal: "bt_sm_shine.png";
27227                   border: 6 6 6 0;
27228                }
27229             }
27230          }
27231
27232          part { name: "elm.cur.progressbar";
27233             mouse_events: 0;
27234             dragable {
27235                confine: "background";
27236                x: 1 1 1;
27237                y: 0 0 0;
27238             }
27239             description { state: "default" 0.0;
27240                min: 14 28;
27241                fixed: 1 1;
27242                visible: 0;
27243                rel1 {
27244                   to: "background";
27245                   relative: 0 0;
27246                }
27247                rel2.to: "background";
27248            }
27249          }
27250          part { name: "progress-rect";
27251             mouse_events: 0;
27252             description {
27253                state: "default" 0.0;
27254                rel1.to: "elm.progress.progressbar";
27255                rel2.to: "elm.progress.progressbar";
27256             }
27257          }
27258       }
27259       programs {
27260          program { name: "label_show";
27261             signal: "elm,state,text,visible";
27262             source: "elm";
27263             action:  STATE_SET "visible" 0.0;
27264             target: "elm.text";
27265          }
27266          program { name: "label_hide";
27267             signal: "elm,state,text,hidden";
27268             source: "elm";
27269             action:  STATE_SET "default" 0.0;
27270             target: "elm.text";
27271          }
27272          program { name: "icon_show";
27273             signal: "elm,state,icon,visible";
27274             source: "elm";
27275             action:  STATE_SET "visible" 0.0;
27276             target: "elm.swallow.content";
27277          }
27278          program { name: "icon_hide";
27279             signal: "elm,state,icon,hidden";
27280             source: "elm";
27281             action:  STATE_SET "default" 0.0;
27282             target: "elm.swallow.content";
27283          }
27284          program { name: "units_show";
27285             signal: "elm,state,units,visible";
27286             source: "elm";
27287             action:  STATE_SET "default" 0.0;
27288             target: "text-bar";
27289             target: "elm.text.status";
27290          }
27291          program { name: "units_hide";
27292             signal: "elm,state,units,hidden";
27293             source: "elm";
27294             action:  STATE_SET "hidden" 0.0;
27295             target: "text-bar";
27296             target: "elm.text.status";
27297          }
27298          program { name: "slide_to_end";
27299             action:  STATE_SET "state_end" 0.0;
27300             transition: LINEAR 0.5;
27301             target: "elm.progress.progressbar";
27302             after: "slide_to_begin";
27303          }
27304          program { name: "slide_to_begin";
27305             signal: "elm,state,slide,begin";
27306             action: STATE_SET "state_begin" 0.0;
27307             target: "elm.progress.progressbar";
27308             transition: LINEAR 0.5;
27309             after: "slide_to_end";
27310          }
27311          program { name: "start_pulse";
27312             signal: "elm,state,pulse,start";
27313             source: "elm";
27314             after: "slide_to_end";
27315          }
27316          program { name: "stop_pulse";
27317             signal: "elm,state,pulse,stop";
27318             source: "elm";
27319             action: ACTION_STOP;
27320             target: "slide_to_begin";
27321             target: "slide_to_end";
27322             target: "start_pulse";
27323             after: "state_pulse";
27324          }
27325          program { name: "state_pulse";
27326             signal: "elm,state,pulse";
27327             source: "elm";
27328             action: STATE_SET "state_begin" 0.0;
27329             target: "elm.progress.progressbar";
27330             after: "units_hide";
27331          }
27332          program { name: "state_fraction";
27333             signal: "elm,state,fraction";
27334             source: "elm";
27335             action: ACTION_STOP;
27336             target: "slide_to_begin";
27337             target: "slide_to_end";
27338             target: "start_pulse";
27339             action: STATE_SET "default" 0.0;
27340             target: "elm.progress.progressbar";
27341          }
27342          program { name: "set_invert_on";
27343             signal: "elm,state,inverted,on";
27344             source: "elm";
27345             action:  STATE_SET "invert" 0.0;
27346             target: "elm.progress.progressbar";
27347          }
27348          program { name: "set_invert_off";
27349             signal: "elm,state,inverted,off";
27350             source: "elm";
27351             action:  STATE_SET "default" 0.0;
27352             target: "elm.progress.progressbar";
27353          }
27354       }
27355    }
27356
27357 ///////////////////////////////////////////////////////////////////////////////
27358    group { name: "elm/progressbar/vertical/default";
27359       images {
27360          image: "shelf_inset.png" COMP;
27361          image: "bt_sm_base2.png" COMP;
27362          image: "bt_sm_hilight.png" COMP;
27363          image: "bt_sm_shine.png" COMP;
27364       }
27365       parts {
27366          part { name: "elm.background.progressbar";
27367             type: RECT;
27368             mouse_events: 0;
27369             description {
27370                state: "default" 0.0;
27371                rel1 {
27372                   relative: 0.0 0.0;
27373                   offset: 0 0;
27374                }
27375                rel2 {
27376                   relative: 1.0 1.0;
27377                   offset: -1 -1;
27378                }
27379             }
27380          }
27381          part { name: "elm.swallow.bar";
27382             type: SWALLOW;
27383             scale: 1;
27384             description { state: "default" 0.0;
27385                min: 28 48;
27386                max: 28 9999;
27387                align: 0.5 1.0;
27388                rel1 {
27389                   to_y: "elm.text";
27390                   relative: 0.0 1.0;
27391                   offset: 0 2;
27392                }
27393                rel2 {
27394                   to_y: "elm.text.box";
27395                   relative: 1.0 0.0;
27396                   offset: -1 -3;
27397                }
27398             }
27399          }
27400          part { name: "elm.swallow.content";
27401             type: SWALLOW;
27402             description { state: "default" 0.0;
27403                visible: 0;
27404                align: 0.5 0.0;
27405                rel1 {
27406                   offset: 0 4;
27407                   to_x: "elm.swallow.bar";
27408                }
27409                rel2 {
27410                   offset: -1 3;
27411                   relative: 1.0 0.0;
27412                   to_x: "elm.swallow.bar";
27413                }
27414             }
27415             description { state: "visible" 0.0;
27416                inherit: "default" 0.0;
27417                visible: 1;
27418                aspect: 1.0 1.0;
27419                aspect_preference: HORIZONTAL;
27420                rel2.offset: -1 4;
27421             }
27422          }
27423          part { name: "elm.text";
27424             type: TEXT;
27425             mouse_events: 0;
27426             scale: 1;
27427             description { state: "default" 0.0;
27428                visible: 0;
27429                fixed: 1 1;
27430                align: 0.5 0.0;
27431                rel1.to_y: "elm.swallow.content";
27432                rel1.relative: 0.5 1.0;
27433                rel1.offset: 0 -1;
27434                rel2.to_y: "elm.swallow.content";
27435                rel2.relative: 0.5 1.0;
27436                rel2.offset: -1 -1;
27437                color: 0 0 0 255;
27438                text {
27439                   font: "Sans,Edje-Vera";
27440                   size: 10;
27441                   min: 0 0;
27442                   align: 0.5 0.0;
27443                }
27444             }
27445             description { state: "visible" 0.0;
27446                inherit: "default" 0.0;
27447                visible: 1;
27448                text.min: 1 1;
27449                rel1.offset: 4 0;
27450                rel2.offset: -5 0;
27451             }
27452          }
27453
27454          part { name: "background";
27455             mouse_events: 0;
27456             clip_to: "elm.background.progressbar";
27457             description {
27458                state: "default" 0.0;
27459                rel1 {
27460                   to: "elm.swallow.bar";
27461                   relative: 0.0 0.0;
27462                }
27463                rel2 {
27464                   to: "elm.swallow.bar";
27465                   relative: 1.0 1.0;
27466                   offset: -1 -1;
27467                }
27468                image {
27469                   normal: "shelf_inset.png";
27470                   border: 7 7 7 7;
27471                }
27472             }
27473          }
27474
27475          part { name: "elm.progress.progressbar";
27476             mouse_events: 0;
27477             clip_to: "elm.background.progressbar";
27478             description {
27479                state: "default" 0.0;
27480                min: 28 14;
27481                fixed: 1 1;
27482                rel1 {
27483                   to: "elm.swallow.bar";
27484                   relative: 0.0 0.0;
27485                }
27486                rel2 {
27487                   to_x: "elm.swallow.bar";
27488                   to_y: "elm.cur.progressbar";
27489                   offset: -1 -1;
27490                }
27491                image {
27492                   normal: "bt_sm_base2.png";
27493                   border: 6 6 6 6;
27494                }
27495             }
27496             description {
27497                state: "invert" 0.0;
27498                inherit: "default" 0.0;
27499                rel1 {
27500                   to_x: "elm.swallow.bar";
27501                   to_y: "elm.cur.progressbar";
27502                }
27503                rel2 {
27504                   to: "elm.swallow.bar";
27505                   relative: 1.0 1.0;
27506                }
27507             }
27508             description {
27509                state: "state_begin" 0.0;
27510                inherit: "default" 0.0;
27511                rel1 {
27512                   to: "elm.swallow.bar";
27513                   relative: 0.0 0.0;
27514                }
27515                rel2 {
27516                   to: "elm.swallow.bar";
27517                   relative: 1.0 0.1;
27518                }
27519             }
27520             description {
27521                state: "state_end" 0.0;
27522                inherit: "default" 0.0;
27523                rel1 {
27524                   to: "elm.swallow.bar";
27525                   relative: 0.0 0.9;
27526                }
27527                rel2 {
27528                   to: "elm.swallow.bar";
27529                   relative: 1.0 1.0;
27530                }
27531             }
27532          }
27533
27534          part { name: "over1";
27535             mouse_events: 0;
27536             description { state: "default" 0.0;
27537                rel1.to: "elm.progress.progressbar";
27538                rel2.to: "elm.progress.progressbar";
27539                rel2.relative: 1.0 0.5;
27540                image {
27541                   normal: "bt_sm_hilight.png";
27542                   border: 6 6 6 0;
27543                }
27544             }
27545          }
27546
27547          part { name: "over2";
27548             mouse_events: 1;
27549             repeat_events: 1;
27550             description { state: "default" 0.0;
27551                rel1.to: "elm.progress.progressbar";
27552                rel2.to: "elm.progress.progressbar";
27553                image {
27554                   normal: "bt_sm_shine.png";
27555                   border: 6 6 6 0;
27556                }
27557             }
27558          }
27559
27560          part { name: "elm.cur.progressbar";
27561             mouse_events: 0;
27562             dragable {
27563                confine: "background";
27564                x: 0 0 0;
27565                y: 1 1 1;
27566             }
27567             description { state: "default" 0.0;
27568                min: 28 14;
27569                fixed: 1 1;
27570                visible: 0;
27571                rel1 {
27572                   to: "background";
27573                   relative: 0 0;
27574                }
27575                rel2.to: "background";
27576            }
27577          }
27578
27579          part { name: "elm.text.box";
27580             mouse_events: 0;
27581             type: RECT;
27582             description { state: "default" 0.0;
27583                visible: 0;
27584                rel1 {
27585                   to: "elm.text.status";
27586                   offset: -2 -2;
27587                }
27588                rel2 {
27589                   to: "elm.text.status";
27590                   offset: 2 2;
27591                }
27592                color: 255 255 255 0;
27593             }
27594             description { state: "visible" 0.0;
27595                inherit: "default" 0.0;
27596                visible: 1;
27597             }
27598          }
27599          part { name: "elm.text.status";
27600             type: TEXT;
27601             mouse_events: 0;
27602             scale: 1;
27603             description { state: "default" 0.0;
27604                visible: 0;
27605                fixed: 1 1;
27606                align: 0.5 1.0;
27607                rel1.relative: 0.0 1.0;
27608                rel1.offset: 2 0;
27609                rel2.relative: 1.0 1.0;
27610                rel2.offset: -2 0;
27611                color: 0 0 0 255;
27612                text {
27613                   font: "Sans:style=Bold,Edje-Vera-Bold";
27614                   size: 10;
27615                   min: 0 0;
27616                   align: 0.5 0.0;
27617                }
27618             }
27619             description { state: "visible" 0.0;
27620                inherit: "default" 0.0;
27621                fixed: 1 1;
27622                visible: 1;
27623                text.min: 1 1;
27624                rel1.offset: 8 -9;
27625                rel2.offset: -9 -9;
27626             }
27627          }
27628       }
27629       programs {
27630          program { name: "label_show";
27631             signal: "elm,state,text,visible";
27632             source: "elm";
27633             action:  STATE_SET "visible" 0.0;
27634             target: "elm.text";
27635          }
27636          program { name: "label_hide";
27637             signal: "elm,state,text,hidden";
27638             source: "elm";
27639             action:  STATE_SET "default" 0.0;
27640             target: "elm.text";
27641          }
27642          program { name: "icon_show";
27643             signal: "elm,state,icon,visible";
27644             source: "elm";
27645             action:  STATE_SET "visible" 0.0;
27646             target: "elm.swallow.content";
27647          }
27648          program { name: "icon_hide";
27649             signal: "elm,state,icon,hidden";
27650             source: "elm";
27651             action:  STATE_SET "default" 0.0;
27652             target: "elm.swallow.content";
27653          }
27654          program { name: "units_show";
27655             signal: "elm,state,units,visible";
27656             source: "elm";
27657             action:  STATE_SET "visible" 0.0;
27658             target: "elm.text.status";
27659             target: "elm.text.box";
27660          }
27661          program { name: "units_hide";
27662             signal: "elm,state,units,hidden";
27663             source: "elm";
27664             action:  STATE_SET "default" 0.0;
27665             target: "elm.text.status";
27666             target: "elm.text.box";
27667          }
27668          program { name: "slide_to_end";
27669             action:  STATE_SET "state_end" 0.0;
27670             transition: LINEAR 0.5;
27671             target: "elm.progress.progressbar";
27672             after: "slide_to_begin";
27673          }
27674          program { name: "slide_to_begin";
27675             action:  STATE_SET "state_begin" 0.0;
27676             target: "elm.progress.progressbar";
27677             transition: LINEAR 0.5;
27678             after: "slide_to_end";
27679          }
27680          program { name: "start_pulse";
27681             signal: "elm,state,pulse,start";
27682             source: "elm";
27683             action: STATE_SET "state_begin" 0.0;
27684             target: "elm.progress.progressbar";
27685             after: "slide_to_end";
27686          }
27687          program { name: "stop_pulse";
27688             signal: "elm,state,pulse,stop";
27689             source: "elm";
27690             action: ACTION_STOP;
27691             target: "slide_to_begin";
27692             target: "slide_to_end";
27693             target: "start_pulse";
27694             after: "state_pulse";
27695          }
27696          program { name: "state_pulse";
27697             signal: "elm,state,pulse";
27698             source: "elm";
27699             action: STATE_SET "state_begin" 0.0;
27700             target: "elm.progress.progressbar";
27701             after: "units_hide";
27702          }
27703          program { name: "state_fraction";
27704             signal: "elm,state,fraction";
27705             source: "elm";
27706             action: ACTION_STOP;
27707             target: "slide_to_begin";
27708             target: "slide_to_end";
27709             target: "start_pulse";
27710             action: STATE_SET "default" 0.0;
27711             target: "elm.progress.progressbar";
27712          }
27713          program { name: "set_invert_on";
27714             signal: "elm,state,inverted,on";
27715             source: "elm";
27716             action:  STATE_SET "invert" 0.0;
27717             target: "elm.progress.progressbar";
27718             target: "elm.cur.progressbar";
27719          }
27720          program { name: "set_invert_off";
27721             signal: "elm,state,inverted,off";
27722             source: "elm";
27723             action:  STATE_SET "default" 0.0;
27724             target: "elm.progress.progressbar";
27725             target: "elm.cur.progressbar";
27726          }
27727       }
27728    }
27729
27730 ///////////////////////////////////////////////////////////////////////////////
27731    group { name: "elm/separator/horizontal/default";
27732        images {
27733            image: "separator_h.png" COMP;
27734        }
27735        parts {
27736            part { name: "separator"; // separator group
27737                description { state: "default" 0.0;
27738                    min: 2 2;
27739                    rel1.offset: 4 4;
27740                    rel2.offset: -5 -5;
27741                    image {
27742                        normal: "separator_h.png";
27743                    }
27744                    fill {
27745                        smooth: 0;
27746                    }
27747                }
27748            }
27749        }
27750    }
27751
27752    ///////////////////////////////////////////////////////////////////////////////
27753    group { name: "elm/separator/vertical/default";
27754        images {
27755            image: "separator_v.png" COMP;
27756        }
27757        parts {
27758            part { name: "separator"; // separator group
27759                description { state: "default" 0.0;
27760                    min: 2 2;
27761                    rel1.offset: 4 4;
27762                    rel2.offset: -5 -5;
27763                    image {
27764                        normal: "separator_v.png";
27765                    }
27766                    fill {
27767                        smooth: 0;
27768                    }
27769                }
27770            }
27771        }
27772    }
27773
27774    group { name: "elm/progressbar/horizontal/wheel";
27775        images {
27776            image: "busy-1.png" COMP;
27777            image: "busy-2.png" COMP;
27778            image: "busy-3.png" COMP;
27779            image: "busy-4.png" COMP;
27780            image: "busy-5.png" COMP;
27781            image: "busy-6.png" COMP;
27782            image: "busy-7.png" COMP;
27783            image: "busy-8.png" COMP;
27784            image: "busy-9.png" COMP;
27785        }
27786        parts {
27787            part { name: "elm.background.progressbar";
27788                mouse_events: 0;
27789                type: RECT;
27790                description {
27791                    state: "default" 0.0;
27792                }
27793            }
27794            part { name: "elm.swallow.bar";
27795                mouse_events: 0;
27796                type: SWALLOW;
27797                description { state: "default" 0.0;
27798                    min: 0 0;
27799                    max: 0 0;
27800                    visible: 0;
27801                }
27802            }
27803            part { name: "elm.swallow.content";
27804                type: SWALLOW;
27805                description { state: "default" 0.0;
27806                    min: 0 0;
27807                    max: 0 0;
27808                    visible: 0;
27809                }
27810            }
27811            part { name: "background";
27812                mouse_events: 0;
27813                clip_to: "elm.background.progressbar";
27814                description {
27815                    state: "default" 0.0;
27816                    min: 32 32;
27817                    max: 32 32;
27818                    visible: 1;
27819                    aspect: 1.0 1.0;
27820                    aspect_preference: BOTH;
27821                    image {
27822                        normal: "busy-9.png";
27823                        border: 7 7 7 7;
27824                    }
27825                }
27826                description {
27827                    state: "pulse" 0.0;
27828                    inherit: "default" 0.0;
27829                    image {
27830                        normal: "busy-9.png";
27831                        tween:  "busy-1.png";
27832                        tween:  "busy-2.png";
27833                        tween:  "busy-3.png";
27834                        tween:  "busy-4.png";
27835                        tween:  "busy-5.png";
27836                        tween:  "busy-6.png";
27837                        tween:  "busy-7.png";
27838                        tween:  "busy-8.png";
27839                        border: 7 7 7 7;
27840                    }
27841                }
27842            }
27843        }
27844        programs {
27845            program { name: "start_pulse";
27846                signal: "elm,state,pulse,start";
27847                source: "elm";
27848                action: STATE_SET "pulse" 0.0;
27849                target: "background";
27850                transition: LINEAR 0.5;
27851                after: "start_pulse";
27852            }
27853            program { name: "stop_pulse";
27854                signal: "elm,state,pulse,stop";
27855                source: "elm";
27856                action: STATE_SET "default" 0.0;
27857                target: "background";
27858            }
27859        }
27860    }
27861
27862
27863 ///////////////////////////////////////////////////////////////////////////////
27864    group { name: "elm/spinner/base/default";
27865        images {
27866            image: "shelf_inset.png" COMP;
27867            image: "bt_base1.png" COMP;
27868            image: "bt_hilight.png" COMP;
27869            image: "bt_shine.png" COMP;
27870            image: "bt_glow.png" COMP;
27871            image: "bt_dis_base.png" COMP;
27872            image: "bt_dis_hilight.png" COMP;
27873            image: "sp_bt_l.png" COMP;
27874            image: "sp_bt_r.png" COMP;
27875        }
27876        parts {
27877            part { name: "bg";
27878                type: RECT;
27879                description { state: "default" 0.0;
27880                    min: 0 30;
27881                    rel1.offset: 1 1;
27882                    rel2.offset: -2 -2;
27883                    color: 255 255 255 0;
27884                }
27885            }
27886            part { name: "conf_over";
27887                mouse_events:  0;
27888                description { state: "default" 0.0;
27889                    rel1.to: "bg";
27890                    rel2.to: "bg";
27891                    image {
27892                        normal: "shelf_inset.png";
27893                        border: 7 7 7 7;
27894                        middle: 0;
27895                    }
27896                    fill.smooth : 0;
27897                }
27898            }
27899            part { name: "left_bt";
27900                mouse_events:  1;
27901                description { state: "default" 0.0;
27902                    rel1 { to: "bg";
27903                        offset: 3 3;
27904                    }
27905                    rel2 { to: "bg";
27906                        offset: -4 -4;
27907                    }
27908                    align: 0.0 0.5;
27909                    min: 24 24;
27910                    aspect: 1.0 1.0;
27911                    aspect_preference: VERTICAL;
27912                    image {
27913                        normal: "bt_base1.png";
27914                        border: 6 6 6 6;
27915                    }
27916                    fill.smooth : 0;
27917                }
27918                description { state: "clicked" 0.0;
27919                    inherit: "default" 0.0;
27920                    image.normal: "bt_base1.png";
27921                    image.middle: SOLID;
27922                }
27923                description { state: "disabled" 0.0;
27924                    inherit:  "default" 0.0;
27925                    image {
27926                        normal: "bt_dis_base.png";
27927                        border: 4 4 4 4;
27928                    }
27929                }
27930            }
27931            part {         name: "left_over1";
27932                mouse_events: 0;
27933                description { state: "default" 0.0;
27934                    rel1.to: "left_bt";
27935                    rel2 { to: "left_bt";
27936                        relative: 1.0 0.5;
27937                    }
27938                    image {
27939                        normal: "bt_hilight.png";
27940                        border: 7 7 7 0;
27941                    }
27942                }
27943                description { state: "disabled" 0.0;
27944                    inherit:  "default" 0.0;
27945                    image {
27946                        normal: "bt_dis_hilight.png";
27947                        border: 4 4 4 0;
27948                    }
27949                }
27950            }
27951            part { name: "left_over2";
27952                mouse_events: 1;
27953                repeat_events: 1;
27954                ignore_flags: ON_HOLD;
27955                description { state: "default" 0.0;
27956                    rel1.to: "left_bt";
27957                    rel2.to: "left_bt";
27958                    image {
27959                        normal: "bt_shine.png";
27960                        border: 7 7 7 7;
27961                    }
27962                }
27963                description { state: "disabled" 0.0;
27964                    inherit:  "default" 0.0;
27965                    visible: 0;
27966                }
27967            }
27968            part { name: "left_over3";
27969                mouse_events: 1;
27970                repeat_events: 1;
27971                description { state: "default" 0.0;
27972                    color: 255 255 255 0;
27973                    rel1.to: "left_bt";
27974                    rel2.to: "left_bt";
27975                    image {
27976                        normal: "bt_glow.png";
27977                        border: 12 12 12 12;
27978                    }
27979                    fill.smooth : 0;
27980                }
27981                description { state: "clicked" 0.0;
27982                    inherit:  "default" 0.0;
27983                    visible: 1;
27984                    color: 255 255 255 255;
27985                }
27986            }
27987            part { name: "right_bt";
27988                mouse_events:  1;
27989                description { state: "default" 0.0;
27990                    rel1 { to: "bg";
27991                        offset: -26 3;
27992                    }
27993                    rel2 { to: "bg";
27994                        offset: -4 -4;
27995                    }
27996                    align: 1.0 0.5;
27997                    min: 24 24;
27998                    aspect: 1.0 1.0;
27999                    aspect_preference: VERTICAL;
28000                    image {
28001                        normal: "bt_base1.png";
28002                        border: 5 5 4 12;
28003                    }
28004                    fill.smooth : 0;
28005                }
28006                description { state: "clicked" 0.0;
28007                    inherit: "default" 0.0;
28008                    image.normal: "bt_base1.png";
28009                    image.middle: SOLID;
28010                }
28011                description { state: "disabled" 0.0;
28012                    inherit:  "default" 0.0;
28013                    image {
28014                        normal: "bt_dis_base.png";
28015                        border: 4 4 4 4;
28016                    }
28017                }
28018            }
28019            part { name: "right_over1";
28020                mouse_events: 0;
28021                description { state: "default" 0.0;
28022                    rel1.to: "right_bt";
28023                    rel2 { to: "right_bt";
28024                        relative: 1.0 0.5;
28025                    }
28026                    image {
28027                        normal: "bt_hilight.png";
28028                        border: 7 7 7 0;
28029                    }
28030                }
28031                description { state: "disabled" 0.0;
28032                    inherit:  "default" 0.0;
28033                    image {
28034                        normal: "bt_dis_hilight.png";
28035                        border: 4 4 4 0;
28036                    }
28037                }
28038            }
28039            part { name: "right_over2";
28040                mouse_events: 1;
28041                repeat_events: 1;
28042                ignore_flags: ON_HOLD;
28043                description { state: "default" 0.0;
28044                    rel1.to: "right_bt";
28045                    rel2.to: "right_bt";
28046                    image {
28047                        normal: "bt_shine.png";
28048                        border: 7 7 7 7;
28049                    }
28050                }
28051                description { state: "disabled" 0.0;
28052                    inherit:  "default" 0.0;
28053                    visible: 0;
28054                }
28055            }
28056            part { name: "right_over3";
28057                mouse_events: 1;
28058                repeat_events: 1;
28059                description { state: "default" 0.0;
28060                    color: 255 255 255 0;
28061                    rel1.to: "right_bt";
28062                    rel2.to: "right_bt";
28063                    image {
28064                        normal: "bt_glow.png";
28065                        border: 12 12 12 12;
28066                    }
28067                    fill.smooth : 0;
28068                }
28069                description { state: "clicked" 0.0;
28070                    inherit:  "default" 0.0;
28071                    visible: 1;
28072                    color: 255 255 255 255;
28073                }
28074            }
28075            part { name: "left_bt_icon";
28076                repeat_events: 1;
28077                description { state: "default" 0.0;
28078                    rel1.to: "left_bt";
28079                    rel1.offset: 4 4;
28080                    rel2.to: "left_bt";
28081                    rel2.offset: -5 -5;
28082                    align: 0.5 0.5;
28083                    min: 16 16;
28084                    aspect: 1.0 1.0;
28085                    aspect_preference: BOTH;
28086                    image.normal: "sp_bt_l.png";
28087                }
28088            }
28089            part { name: "right_bt_icon";
28090                repeat_events: 1;
28091                description { state: "default" 0.0;
28092                    rel1.to: "right_bt";
28093                    rel1.offset: 4 4;
28094                    rel2.to: "right_bt";
28095                    rel2.offset: -5 -5;
28096                    align: 0.5 0.5;
28097                    min: 16 16;
28098                    aspect: 1.0 1.0;
28099                    aspect_preference: BOTH;
28100                    image.normal: "sp_bt_r.png";
28101                }
28102            }
28103            part { name: "elm.text";
28104                type: TEXT;
28105                mouse_events: 0;
28106                scale: 1;
28107                description { state: "default" 0.0;
28108                    visible: 1;
28109                    align: 0.0 0.5;
28110                    rel1 { relative: 1.0 0.0;
28111                        offset: 3 2;
28112                        to_x: "left_bt";
28113                        to_y: "bg";
28114                    }
28115                    rel2 { relative: 0.0 1.0;
28116                        offset: -3 -2;
28117                        to_x: "right_bt";
28118                        to_y: "bg";
28119                    }
28120                    color: 0 0 0 255;
28121                    text {
28122                        font: "Sans,Edje-Vera";
28123                        size: 10;
28124                        min: 1 1;
28125                        align: 0.5 0.5;
28126                    }
28127                }
28128                description { state: "active" 0.0;
28129                    inherit: "default" 0.0;
28130                    visible: 0;
28131                }
28132                description { state: "disabled_active" 0.0;
28133                    inherit: "default" 0.0;
28134                    color: 0 0 0 128;
28135                    color3: 0 0 0 0;
28136                }
28137                description { state: "disabled" 0.0;
28138                    inherit: "default" 0.0;
28139                    color: 0 0 0 128;
28140                    color3: 0 0 0 0;
28141                }
28142            }
28143            part { name: "elm.dragable.slider";
28144                type: RECT;
28145                mouse_events: 0;
28146                scale: 1;
28147                dragable {
28148                    x: 1 1 0;
28149                    y: 0 0 0;
28150                }
28151                description { state: "default" 0.0;
28152                    rel1.to: "bg";
28153                    rel2.to: "bg";
28154                    fixed: 1 1;
28155                    color: 0 0 0 0;
28156                }
28157            }
28158            part { name: "button_events";
28159                type: RECT;
28160                dragable {
28161                    events: "elm.dragable.slider";
28162                }
28163                mouse_events: 1;
28164                description { state: "default" 0.0;
28165                    rel1.to: "elm.text";
28166                    rel2.to: "elm.text";
28167                    color: 0 0 0 0;
28168                }
28169            }
28170            part { name: "elm.swallow.entry";
28171                type: SWALLOW;
28172                description { state: "default" 0.0;
28173                    visible: 0;
28174                    align: 0.5 0.5;
28175                    rel1 { relative: 1.0 0.5;
28176                        offset: 3 2;
28177                        to_x: "left_bt";
28178                        to_y: "bg";
28179                    }
28180                    rel2 { relative: 0.0 0.5;
28181                        offset: -3 -2;
28182                        to_x: "right_bt";
28183                        to_y: "bg";
28184                    }
28185                    fixed: 1 1;
28186                    color: 0 0 0 0;
28187                }
28188                description { state: "active" 0.0;
28189                    inherit: "default" 0.0;
28190                    visible: 1;
28191                    color: 255 255 255 255;
28192                }
28193                description { state: "disabled_active" 0.0;
28194                    inherit: "default" 0.0;
28195                    visible: 0;
28196                }
28197                description { state: "disabled" 0.0;
28198                    inherit: "default" 0.0;
28199                    visible: 0;
28200                }
28201            }
28202            part { name: "disabler";
28203                type: RECT;
28204                description { state: "default" 0.0;
28205                    color: 0 0 0 0;
28206                    visible: 0;
28207                }
28208                description { state: "disabled" 0.0;
28209                    inherit: "default" 0.0;
28210                    visible: 1;
28211                }
28212            }
28213        }
28214        programs {
28215            program { name: "text_show";
28216                signal: "elm,state,text,visible";
28217                source: "elm";
28218                action:  STATE_SET "visible" 0.0;
28219                target: "elm.text";
28220            }
28221            program { name: "text_hide";
28222                signal: "elm,state,text,hidden";
28223                source: "elm";
28224                action:  STATE_SET "default" 0.0;
28225                target: "elm.text";
28226            }
28227            program { name: "dec";
28228                signal: "mouse,down,1";
28229                source: "left_bt";
28230                action: SIGNAL_EMIT "elm,action,decrement,start" "";
28231            }
28232            program { name: "dec2";
28233                signal: "mouse,up,1";
28234                source: "left_bt";
28235                action: SIGNAL_EMIT "elm,action,decrement,stop" "";
28236            }
28237            program { name: "inc";
28238                signal: "mouse,down,1";
28239                source: "right_bt";
28240                action: SIGNAL_EMIT "elm,action,increment,start" "";
28241            }
28242            program { name: "inc2";
28243                signal: "mouse,up,1";
28244                source: "right_bt";
28245                action: SIGNAL_EMIT "elm,action,increment,stop" "";
28246            }
28247            program {
28248                name:   "left_bt_click";
28249                signal: "mouse,down,1";
28250                source: "left_over2";
28251                action: STATE_SET "clicked" 0.0;
28252                target: "left_bt";
28253            }
28254            program {
28255                name:   "left_bt_unclick";
28256                signal: "mouse,up,1";
28257                source: "left_over2";
28258                action: STATE_SET "default" 0.0;
28259                target: "left_bt";
28260            }
28261            program {
28262                name:   "left_bt_click2";
28263                signal: "mouse,down,1";
28264                source: "left_over3";
28265                action: STATE_SET "clicked" 0.0;
28266                target: "left_over3";
28267            }
28268            program {
28269                name:   "left_bt_unclick2";
28270                signal: "mouse,up,1";
28271                source: "left_over3";
28272                action: STATE_SET "default" 0.0;
28273                transition: DECELERATE 0.5;
28274                target: "left_over3";
28275            }
28276            program {
28277                name:   "left_bt_unclick3";
28278                signal: "mouse,up,1";
28279                source: "left_over2";
28280                action: SIGNAL_EMIT "elm,action,click" "";
28281            }
28282            program {
28283                name:   "left_bt_pressed_anim";
28284                signal: "elm,left,anim,activate";
28285                source: "elm";
28286                action: STATE_SET "clicked" 0.0;
28287                target: "left_bt";
28288                target: "left_over3";
28289                after: "left_bt_unpressed_anim";
28290            }
28291            program {
28292                name:   "left_bt_unpressed_anim";
28293                action: STATE_SET "default" 0.0;
28294                transition: DECELERATE 0.5;
28295                target: "left_bt";
28296                target: "left_over3";
28297            }
28298
28299            program {
28300                name:   "right_bt_click";
28301                signal: "mouse,down,1";
28302                source: "right_over2";
28303                action: STATE_SET "clicked" 0.0;
28304                target: "right_bt";
28305            }
28306            program {
28307                name:   "right_bt_unclick";
28308                signal: "mouse,up,1";
28309                source: "right_over2";
28310                action: STATE_SET "default" 0.0;
28311                target: "right_bt";
28312            }
28313            program {
28314                name:   "right_bt_click2";
28315                signal: "mouse,down,1";
28316                source: "right_over3";
28317                action: STATE_SET "clicked" 0.0;
28318                target: "right_over3";
28319            }
28320            program {
28321                name:   "right_bt_unclick2";
28322                signal: "mouse,up,1";
28323                source: "right_over3";
28324                action: STATE_SET "default" 0.0;
28325                transition: DECELERATE 0.5;
28326                target: "right_over3";
28327            }
28328            program {
28329                name:   "right_bt_unclick3";
28330                signal: "mouse,up,1";
28331                source: "right_over2";
28332                action: SIGNAL_EMIT "elm,action,click" "";
28333            }
28334            program {
28335                name:   "right_bt_pressed_anim";
28336                signal: "elm,right,anim,activate";
28337                source: "elm";
28338                action: STATE_SET "clicked" 0.0;
28339                target: "right_bt";
28340                target: "right_over3";
28341                after: "right_bt_unpressed_anim";
28342            }
28343            program {
28344                name:   "right_bt_unpressed_anim";
28345                action: STATE_SET "default" 0.0;
28346                transition: DECELERATE 0.5;
28347                target: "right_bt";
28348                target: "right_over3";
28349            }
28350
28351            program { name: "disable";
28352                signal: "elm,state,disabled";
28353                source: "elm";
28354                action: STATE_SET "disabled" 0.0;
28355                target: "left_bt";
28356                target: "left_over1";
28357                target: "left_over2";
28358                target: "right_bt";
28359                target: "right_over1";
28360                target: "right_over2";
28361                target: "disabler";
28362                after: "disable_text";
28363            }
28364            program { name: "disable_text";
28365                script {
28366                    new st[31];
28367                    new Float:vl;
28368                    get_state(PART:"elm.text", st, 30, vl);
28369                    if (!strcmp(st, "active"))
28370                    set_state(PART:"elm.text", "disabled_active", 0.0);
28371                    else
28372                    set_state(PART:"elm.text", "disabled", 0.0);
28373
28374                    get_state(PART:"elm.swallow.entry", st, 30, vl);
28375                    if (!strcmp(st, "active"))
28376                    set_state(PART:"elm.swallow.entry", "disabled_active", 0.0);
28377                    else
28378                    set_state(PART:"elm.swallow.entry", "disabled", 0.0);
28379                }
28380            }
28381            program { name: "enable";
28382                signal: "elm,state,enabled";
28383                source: "elm";
28384                action: STATE_SET "default" 0.0;
28385                target: "left_bt";
28386                target: "left_over1";
28387                target: "left_over2";
28388                target: "right_bt";
28389                target: "right_over1";
28390                target: "right_over2";
28391                target: "disabler";
28392                after: "enable_text";
28393            }
28394            program { name: "enable_text";
28395                script {
28396                    new st[31];
28397                    new Float:vl;
28398                    get_state(PART:"elm.text", st, 30, vl);
28399                    if (!strcmp(st, "disabled_active"))
28400                    set_state(PART:"elm.text", "active", 0.0);
28401                    else
28402                    set_state(PART:"elm.text", "default", 0.0);
28403
28404                    get_state(PART:"elm.swallow.entry", st, 30, vl);
28405                    if (!strcmp(st, "disabled_active"))
28406                    set_state(PART:"elm.swallow.entry", "active", 0.0);
28407                    else
28408                    set_state(PART:"elm.swallow.entry", "default", 0.0);
28409                }
28410            }
28411            program { name: "active";
28412                signal: "elm,state,active";
28413                source: "elm";
28414                action: STATE_SET "active" 0.0;
28415                target: "elm.text";
28416                target: "elm.swallow.entry";
28417            }
28418            program { name: "inactive";
28419                signal: "elm,state,inactive";
28420                source: "elm";
28421                action: STATE_SET "default" 0.0;
28422                target: "elm.text";
28423                target: "elm.swallow.entry";
28424            }
28425            program { name: "toggle_text";
28426                signal: "mouse,up,1";
28427                source: "button_events";
28428                action: SIGNAL_EMIT "elm,action,entry,toggle" "";
28429            }
28430        }
28431    }
28432
28433 ///////////////////////////////////////////////////////////////////////////////
28434    group { name: "elm/spinner/base/vertical";
28435        images {
28436            image: "shelf_inset.png" COMP;
28437            image: "bt_hilight.png" COMP;
28438            image: "bt_shine.png" COMP;
28439            image: "bt_glow.png" COMP;
28440            image: "bt_dis_base.png" COMP;
28441            image: "bt_dis_hilight.png" COMP;
28442            image: "up.png" COMP;
28443            image: "down.png" COMP;
28444            image: "bt_spinner_up.png" COMP;
28445            image: "bt_spinner_down.png" COMP;
28446            image: "bt_spinner_hilight.png" COMP;
28447        }
28448        parts {
28449            part { name: "bg";
28450                type: RECT;
28451                description { state: "default" 0.0;
28452                    min: 0 30;
28453                    rel1.offset: 1 1;
28454                    rel2.offset: -2 -2;
28455                    color: 255 255 255 0;
28456                }
28457            }
28458            part { name: "conf_over";
28459                mouse_events:  0;
28460                description { state: "default" 0.0;
28461                    rel1 {
28462                      to: "bg";
28463                      relative: 0.0 0.0;
28464                    }
28465                    rel2 {
28466                       to: "bg";
28467                    }
28468                    image {
28469                        normal: "shelf_inset.png";
28470                        border: 7 7 7 7;
28471                        middle: 0;
28472                    }
28473                    fill.smooth : 0;
28474                }
28475            }
28476            part { name: "down_bt";
28477                mouse_events:  1;
28478                description { state: "default" 0.0;
28479                    fixed: 1 1;
28480                    rel1 {
28481                        to: "up_bt";
28482                        relative: 0 1;
28483                        offset: 0 1;
28484                    }
28485                    rel2 {
28486                        to_y: "bg";
28487                        to_x: "up_bt";
28488                        relative: 1 1;
28489                        offset: -1 -4;
28490                    }
28491                    align: 1.0 0.5;
28492                    min: 24 16;
28493                    image {
28494                        normal: "bt_spinner_down.png";
28495                        border: 6 6 6 6;
28496                    }
28497                    fill.smooth : 0;
28498                }
28499                description { state: "clicked" 0.0;
28500                    inherit: "default" 0.0;
28501                    image.normal: "bt_spinner_down.png";
28502                    image.middle: SOLID;
28503                }
28504                description { state: "disabled" 0.0;
28505                    inherit:  "default" 0.0;
28506                    image {
28507                        normal: "bt_dis_base.png";
28508                        border: 4 4 4 4;
28509                    }
28510                }
28511            }
28512            part { name: "down_over3";
28513                mouse_events: 1;
28514                repeat_events: 1;
28515                description { state: "default" 0.0;
28516                    color: 255 255 255 0;
28517                    rel1.to: "down_bt";
28518                    rel2.to: "down_bt";
28519                    image {
28520                        normal: "bt_glow.png";
28521                        border: 12 12 12 12;
28522                    }
28523                    fill.smooth : 0;
28524                }
28525                description { state: "clicked" 0.0;
28526                    inherit:  "default" 0.0;
28527                    visible: 1;
28528                    color: 255 255 255 255;
28529                }
28530            }
28531            part { name: "up_bt";
28532                mouse_events:  1;
28533                description { state: "default" 0.0;
28534                    fixed: 1 0;
28535                    rel1 { to: "bg";
28536                        relative: 0 0;
28537                        offset: 0 2;
28538                    }
28539                    rel2 { to: "bg";
28540                        relative: 1 0.5;
28541                        offset: -3 0;
28542                    }
28543                    align: 1.0 0.5;
28544                    min: 24 16;
28545                    aspect: 1.5 1.0;
28546                    aspect_preference: BOTH;
28547                    image {
28548                        normal: "bt_spinner_up.png";
28549                        border: 6 6 6 6;
28550                    }
28551                    fill.smooth : 0;
28552                }
28553                description { state: "clicked" 0.0;
28554                    inherit: "default" 0.0;
28555                    image.normal: "bt_spinner_up.png";
28556                    image.middle: SOLID;
28557                }
28558                description { state: "disabled" 0.0;
28559                    inherit:  "default" 0.0;
28560                    image {
28561                        normal: "bt_dis_base.png";
28562                        border: 4 4 4 4;
28563                    }
28564                }
28565            }
28566            part { name: "up_over1";
28567                mouse_events: 0;
28568                description { state: "default" 0.0;
28569                    rel1.to: "up_bt";
28570                    rel2 { to: "up_bt";
28571                        relative: 1.0 0.5;
28572                    }
28573                    image {
28574                        normal: "bt_spinner_hilight.png";
28575                        border: 7 7 7 0;
28576                    }
28577                }
28578                description { state: "disabled" 0.0;
28579                    inherit:  "default" 0.0;
28580                    image {
28581                        normal: "bt_dis_hilight.png";
28582                        border: 4 4 4 0;
28583                    }
28584                }
28585            }
28586            part { name: "up_over3";
28587                mouse_events: 1;
28588                repeat_events: 1;
28589                description { state: "default" 0.0;
28590                    color: 255 255 255 0;
28591                    rel1.to: "up_bt";
28592                    rel2.to: "up_bt";
28593                    image {
28594                        normal: "bt_glow.png";
28595                        border: 12 12 12 12;
28596                    }
28597                    fill.smooth : 0;
28598                }
28599                description { state: "clicked" 0.0;
28600                    inherit:  "default" 0.0;
28601                    visible: 1;
28602                    color: 255 255 255 255;
28603                }
28604            }
28605            part { name: "down_bt_icon";
28606                repeat_events: 1;
28607                description { state: "default" 0.0;
28608                    rel1.to: "down_bt";
28609                    rel1.offset: 5 3;
28610                    rel2.to: "down_bt";
28611                    rel2.offset: -6 -3;
28612                    align: 0.5 0.5;
28613                    image.normal: "down.png";
28614                }
28615            }
28616            part { name: "up_bt_icon";
28617                repeat_events: 1;
28618                description { state: "default" 0.0;
28619                    rel1.to: "up_bt";
28620                    rel1.offset: 5 3;
28621                    rel2.to: "up_bt";
28622                    rel2.offset: -6 -3;
28623                    align: 0.5 0.5;
28624                    image.normal: "up.png";
28625                }
28626            }
28627            part { name: "elm.text";
28628                type: TEXT;
28629                mouse_events: 0;
28630                scale: 1;
28631                description { state: "default" 0.0;
28632                    visible: 1;
28633                    align: 0.0 0.5;
28634                    rel1 { relative: 0.0 0.0;
28635                        offset: 3 2;
28636                        to_x: "bg";
28637                        to_y: "bg";
28638                    }
28639                    rel2 { relative: 0.0 1.0;
28640                        offset: -3 -2;
28641                        to_x: "down_bt";
28642                        to_y: "bg";
28643                    }
28644                    color: 0 0 0 255;
28645                    text {
28646                        font: "Sans,Edje-Vera";
28647                        size: 10;
28648                        min: 1 1;
28649                        align: 0.5 0.5;
28650                    }
28651                }
28652                description { state: "active" 0.0;
28653                    inherit: "default" 0.0;
28654                    visible: 0;
28655                }
28656                description { state: "disabled_active" 0.0;
28657                    inherit: "default" 0.0;
28658                    color: 0 0 0 128;
28659                    color3: 0 0 0 0;
28660                }
28661                description { state: "disabled" 0.0;
28662                    inherit: "default" 0.0;
28663                    color: 0 0 0 128;
28664                    color3: 0 0 0 0;
28665                }
28666            }
28667            part { name: "elm.dragable.slider";
28668                type: RECT;
28669                mouse_events: 0;
28670                scale: 1;
28671                dragable {
28672                    x: 1 1 0;
28673                    y: 0 0 0;
28674                }
28675                description { state: "default" 0.0;
28676                    rel1.to: "bg";
28677                    rel2.to: "bg";
28678                    fixed: 1 1;
28679                    color: 0 0 0 0;
28680                }
28681            }
28682            part { name: "button_events";
28683                type: RECT;
28684                dragable {
28685                    events: "elm.dragable.slider";
28686                }
28687                mouse_events: 1;
28688                description { state: "default" 0.0;
28689                    rel1.to: "elm.text";
28690                    rel2.to: "elm.text";
28691                    color: 0 0 0 0;
28692                }
28693            }
28694            part { name: "elm.swallow.entry";
28695                type: SWALLOW;
28696                description { state: "default" 0.0;
28697                    visible: 0;
28698                    align: 0.5 0.5;
28699                    rel1 { relative: 0.0 0.5;
28700                        offset: 3 2;
28701                        to: "bg";
28702                    }
28703                    rel2 { relative: 1.0 0.5;
28704                        offset: -3 -2;
28705                        to: "bg";
28706                    }
28707                    fixed: 1 1;
28708                    color: 0 0 0 0;
28709                }
28710                description { state: "active" 0.0;
28711                    inherit: "default" 0.0;
28712                    visible: 1;
28713                    color: 255 255 255 255;
28714                }
28715                description { state: "disabled_active" 0.0;
28716                    inherit: "default" 0.0;
28717                    visible: 0;
28718                }
28719                description { state: "disabled" 0.0;
28720                    inherit: "default" 0.0;
28721                    visible: 0;
28722                }
28723            }
28724            part { name: "disabler";
28725                type: RECT;
28726                description { state: "default" 0.0;
28727                    color: 0 0 0 0;
28728                    visible: 0;
28729                }
28730                description { state: "disabled" 0.0;
28731                    inherit: "default" 0.0;
28732                    visible: 1;
28733                }
28734            }
28735        }
28736        programs {
28737            program { name: "text_show";
28738                signal: "elm,state,text,visible";
28739                source: "elm";
28740                action:  STATE_SET "visible" 0.0;
28741                target: "elm.text";
28742            }
28743            program { name: "text_hide";
28744                signal: "elm,state,text,hidden";
28745                source: "elm";
28746                action:  STATE_SET "default" 0.0;
28747                target: "elm.text";
28748            }
28749            program { name: "dec";
28750                signal: "mouse,down,1";
28751                source: "down_bt";
28752                action: SIGNAL_EMIT "elm,action,decrement,start" "";
28753            }
28754            program { name: "dec2";
28755                signal: "mouse,up,1";
28756                source: "down_bt";
28757                action: SIGNAL_EMIT "elm,action,decrement,stop" "";
28758            }
28759            program { name: "inc";
28760                signal: "mouse,down,1";
28761                source: "up_bt";
28762                action: SIGNAL_EMIT "elm,action,increment,start" "";
28763            }
28764            program { name: "inc2";
28765                signal: "mouse,up,1";
28766                source: "up_bt";
28767                action: SIGNAL_EMIT "elm,action,increment,stop" "";
28768            }
28769            program {
28770                name:   "down_bt_click2";
28771                signal: "mouse,down,1";
28772                source: "down_over3";
28773                action: STATE_SET "clicked" 0.0;
28774                target: "down_over3";
28775            }
28776            program {
28777                name:   "down_bt_unclick2";
28778                signal: "mouse,up,1";
28779                source: "down_over3";
28780                action: STATE_SET "default" 0.0;
28781                transition: DECELERATE 0.5;
28782                target: "down_over3";
28783            }
28784            program {
28785                name:   "up_bt_click2";
28786                signal: "mouse,down,1";
28787                source: "up_over3";
28788                action: STATE_SET "clicked" 0.0;
28789                target: "up_over3";
28790            }
28791            program {
28792                name:   "up_bt_unclick2";
28793                signal: "mouse,up,1";
28794                source: "up_over3";
28795                action: STATE_SET "default" 0.0;
28796                transition: DECELERATE 0.5;
28797                target: "up_over3";
28798            }
28799            program { name: "disable";
28800                signal: "elm,state,disabled";
28801                source: "elm";
28802                action: STATE_SET "disabled" 0.0;
28803                target: "down_bt";
28804                target: "up_bt";
28805                target: "disabler";
28806                after: "disable_text";
28807            }
28808            program { name: "disable_text";
28809                script {
28810                    new st[31];
28811                    new Float:vl;
28812                    get_state(PART:"elm.text", st, 30, vl);
28813                    if (!strcmp(st, "active"))
28814                    set_state(PART:"elm.text", "disabled_active", 0.0);
28815                    else
28816                    set_state(PART:"elm.text", "disabled", 0.0);
28817
28818                    get_state(PART:"elm.swallow.entry", st, 30, vl);
28819                    if (!strcmp(st, "active"))
28820                    set_state(PART:"elm.swallow.entry", "disabled_active", 0.0);
28821                    else
28822                    set_state(PART:"elm.swallow.entry", "disabled", 0.0);
28823                }
28824            }
28825            program { name: "enable";
28826                signal: "elm,state,enabled";
28827                source: "elm";
28828                action: STATE_SET "default" 0.0;
28829                target: "down_bt";
28830                target: "up_bt";
28831                target: "disabler";
28832                after: "enable_text";
28833            }
28834            program { name: "enable_text";
28835                script {
28836                    new st[31];
28837                    new Float:vl;
28838                    get_state(PART:"elm.text", st, 30, vl);
28839                    if (!strcmp(st, "disabled_active"))
28840                    set_state(PART:"elm.text", "active", 0.0);
28841                    else
28842                    set_state(PART:"elm.text", "default", 0.0);
28843
28844                    get_state(PART:"elm.swallow.entry", st, 30, vl);
28845                    if (!strcmp(st, "disabled_active"))
28846                    set_state(PART:"elm.swallow.entry", "active", 0.0);
28847                    else
28848                    set_state(PART:"elm.swallow.entry", "default", 0.0);
28849                }
28850            }
28851            program { name: "active";
28852                signal: "elm,state,active";
28853                source: "elm";
28854                action: STATE_SET "active" 0.0;
28855                target: "elm.text";
28856                target: "elm.swallow.entry";
28857            }
28858            program { name: "inactive";
28859                signal: "elm,state,inactive";
28860                source: "elm";
28861                action: STATE_SET "default" 0.0;
28862                target: "elm.text";
28863                target: "elm.swallow.entry";
28864            }
28865            program { name: "toggle_text";
28866                signal: "mouse,up,1";
28867                source: "button_events";
28868                action: SIGNAL_EMIT "elm,action,entry,toggle" "";
28869            }
28870        }
28871    }
28872
28873
28874    ///////////////////////////////////////////////////////////////////////////////
28875    group { name: "elm/index/base/vertical/default";
28876        images {
28877            image: "bt_base1.png" COMP;
28878            image: "bt_base2.png" COMP;
28879            image: "bt_hilight.png" COMP;
28880            image: "bt_shine.png" COMP;
28881        }
28882        parts {
28883            part { name: "clip";
28884                type: RECT;
28885                mouse_events:  0;
28886                description { state: "default" 0.0;
28887                    visible:  0;
28888                    color: 255 255 255 0;
28889                }
28890                description { state: "active" 0.0;
28891                    visible:  1;
28892                    color: 255 255 255 255;
28893                }
28894            }
28895            part { name: "clip2";
28896                type: RECT;
28897                mouse_events:  0;
28898                clip_to: "clip";
28899                description { state: "default" 0.0;
28900                    visible: 0;
28901                    color: 255 255 255 0;
28902                }
28903                description { state: "active" 0.0;
28904                    visible:  1;
28905                    color: 255 255 255 255;
28906                }
28907            }
28908            part { name: "elm.swallow.index.0";
28909                type: SWALLOW;
28910                clip_to: "clip";
28911                description { state: "default" 0.0;
28912                    align: 1.0 0.5;
28913                    fixed: 1 1;
28914                    rel1 {
28915                        relative: 1.0 0.5;
28916                        offset: -1 5;
28917                    }
28918                    rel2 {
28919                        relative: 1.0 0.5;
28920                        offset: -1 -6;
28921                    }
28922                }
28923            }
28924            part { name: "button_image";
28925                mouse_events: 1;
28926                clip_to: "clip";
28927                description { state: "default" 0.0;
28928                    rel1 {
28929                        to: "elm.text.body";
28930                        offset: -5 -5;
28931                    }
28932                    rel2 {
28933                        to: "elm.text";
28934                        offset: 4 4;
28935                    }
28936                    image {
28937                        normal: "bt_base2.png";
28938                        border: 7 7 7 7;
28939                    }
28940                    image.middle: SOLID;
28941                }
28942            }
28943            part { name: "elm.text.body";
28944                type: TEXT;
28945                effect: SOFT_SHADOW;
28946                mouse_events: 0;
28947                scale: 1;
28948                clip_to: "clip";
28949                description { state: "default" 0.0;
28950                    align: 1.0 0.5;
28951                    fixed: 1 1;
28952                    rel1 {
28953                        to: "elm.text";
28954                        relative: 0.0 0.0;
28955                        offset: 5 0;
28956                    }
28957                    rel2 {
28958                        to: "elm.text";
28959                        relative: 0.0 1.0;
28960                        offset: 5 -1;
28961                    }
28962                    color: 224 224 224 255;
28963                    color3: 0 0 0 64;
28964                    text {
28965                        font:     "Sans,Edje-Vera";
28966                        size:     20;
28967                        min:      1 1;
28968                        align:    1.0 0.5;
28969                    }
28970                }
28971            }
28972            part { name: "elm.text";
28973                type: TEXT;
28974                effect: SOFT_SHADOW;
28975                mouse_events: 0;
28976                scale: 1;
28977                clip_to: "clip";
28978                description { state: "default" 0.0;
28979                    align: 1.0 0.5;
28980                    fixed: 1 1;
28981                    rel1 {
28982                        to_x: "elm.swallow.event.0";
28983                        to_y: "elm.dragable.pointer";
28984                        relative: 0.0 0.5;
28985                        offset: -16 0;
28986                    }
28987                    rel2 {
28988                        to_x: "elm.swallow.event.0";
28989                        to_y: "elm.dragable.pointer";
28990                        relative: 0.0 0.5;
28991                        offset: -16 -1;
28992                    }
28993                    color: 255 0 0 255;
28994                    color3: 0 0 0 64;
28995                    text {
28996                        font:     "Sans,Edje-Vera";
28997                        size:     20;
28998                        min:      1 1;
28999                        align:    1.0 0.5;
29000                    }
29001                }
29002            }
29003            part {       name: "over1";
29004                mouse_events: 0;
29005                clip_to: "clip";
29006                description { state: "default" 0.0;
29007                    rel1 {
29008                        to: "button_image";
29009                    }
29010                    rel2 {
29011                        to: "button_image";
29012                        relative: 1.0 0.5;
29013                    }
29014                    image {
29015                        normal: "bt_hilight.png";
29016                        border: 7 7 7 0;
29017                    }
29018                }
29019            }
29020            part { name: "over2";
29021                mouse_events: 1;
29022                repeat_events: 1;
29023                ignore_flags: ON_HOLD;
29024                clip_to: "clip";
29025                description { state: "default" 0.0;
29026                    rel1 {
29027                        to: "button_image";
29028                    }
29029                    rel2 {
29030                        to: "button_image";
29031                    }
29032                    image {
29033                        normal: "bt_shine.png";
29034                        border: 7 7 7 7;
29035                    }
29036                }
29037            }
29038            part { name: "elm.dragable.pointer";
29039                type: RECT;
29040                mouse_events: 0;
29041                dragable {
29042                    x: 1 1 0;
29043                    y: 1 1 0;
29044                }
29045                clip_to: "clip";
29046                description { state: "default" 0.0;
29047                    fixed: 1 1;
29048                    min: 8 8;
29049                    max: 8 8;
29050                    rel1 {
29051                        relative: 0.0 0.0;
29052                        offset:   0 0;
29053                    }
29054                    rel2 {
29055                        relative: 0.0 0.0;
29056                        offset:   0 0;
29057                    }
29058                    color: 0 0 255 128;
29059                }
29060            }
29061            part { name: "elm.swallow.event.0";
29062                type: SWALLOW;
29063                description { state: "default" 0.0;
29064                    align: 1.0 0.5;
29065                    fixed: 1 1;
29066                    rel1 {
29067                        relative: 1.0 0.0;
29068                        offset: -1 0;
29069                    }
29070                    rel2 {
29071                        relative: 1.0 1.0;
29072                        offset: -1 -1;
29073                    }
29074                }
29075            }
29076        }
29077        programs {
29078            program { name: "active";
29079                signal: "elm,state,active";
29080                source: "elm";
29081                action: STATE_SET "active" 0.0;
29082                transition: DECELERATE 0.5;
29083                target: "clip";
29084            }
29085            program { name: "inactive";
29086                signal: "elm,state,inactive";
29087                source: "elm";
29088                action: STATE_SET "default" 0.0;
29089                transition: DECELERATE 0.5;
29090                target: "clip";
29091            }
29092        }
29093    }
29094
29095    group { name: "elm/index/item/vertical/default";
29096        data.item: "stacking" "above";
29097        data.item: "selectraise" "on";
29098        images {
29099            image: "ilist_1.png" COMP;
29100            image: "ilist_item_shadow.png" COMP;
29101        }
29102        parts {
29103            part {
29104                name: "base_sh";
29105                mouse_events: 0;
29106                description {
29107                    state: "default" 0.0;
29108                    align: 0.0 0.0;
29109                    min: 0 10;
29110                    fixed: 1 1;
29111                    rel1 {
29112                        to: "base";
29113                        relative: 0.0 1.0;
29114                        offset: 0 0;
29115                    }
29116                    rel2 {
29117                        to: "base";
29118                        relative: 1.0 1.0;
29119                        offset: -1 0;
29120                    }
29121                    image {
29122                        normal: "ilist_item_shadow.png";
29123                    }
29124                    fill.smooth: 0;
29125                }
29126            }
29127            part {
29128                name: "base";
29129                mouse_events: 0;
29130                description {
29131                    state: "default" 0.0;
29132                    image {
29133                        normal: "ilist_1.png";
29134                        border: 2 2 2 2;
29135                    }
29136                    fill.smooth: 0;
29137                }
29138                description { state: "active" 0.0;
29139                    inherit: "default" 0.0;
29140                    rel1 {
29141                        offset: -16 0;
29142                    }
29143                }
29144            }
29145            part { name: "elm.text";
29146                type:           TEXT;
29147                mouse_events:   0;
29148                scale: 1;
29149                description {
29150                    state: "default" 0.0;
29151                           //               min: 16 16;
29152                    rel1 {
29153                        to: "base";
29154                        relative: 0.0  0.0;
29155                        offset:   4 4;
29156                    }
29157                    rel2 {
29158                        to: "base";
29159                        relative: 1.0  1.0;
29160                        offset:   -5 -5;
29161                    }
29162                    color: 0 0 0 128;
29163                    text {
29164                        font: "Sans";
29165                        size: 10;
29166                        min: 1 1;
29167                             //                  min: 0 1;
29168                        align: 0.0 0.5;
29169                    }
29170                }
29171                description { state: "active" 0.0;
29172                    inherit: "default" 0.0;
29173                    color: 0 0 0 255;
29174                }
29175            }
29176        }
29177        programs {
29178            program { name: "active";
29179                signal: "elm,state,active";
29180                source: "elm";
29181                action: STATE_SET "active" 0.0;
29182                transition: DECELERATE 0.5;
29183                target: "elm.text";
29184                target: "base";
29185            }
29186            program { name: "inactive";
29187                signal: "elm,state,inactive";
29188                source: "elm";
29189                action: STATE_SET "default" 0.0;
29190                transition: DECELERATE 0.5;
29191                target: "elm.text";
29192                target: "base";
29193            }
29194        }
29195    }
29196
29197    group { name: "elm/index/item_odd/vertical/default";
29198        data.item: "stacking" "below";
29199        images {
29200            image: "ilist_2.png" COMP;
29201        }
29202        parts {
29203            part {
29204                name: "base";
29205                mouse_events: 0;
29206                description {
29207                    state: "default" 0.0;
29208                    image {
29209                        normal: "ilist_2.png";
29210                        border: 2 2 2 2;
29211                    }
29212                    fill.smooth: 0;
29213                }
29214                description { state: "active" 0.0;
29215                    inherit: "default" 0.0;
29216                    rel1 {
29217                        offset: -16 0;
29218                    }
29219                }
29220            }
29221            part { name: "elm.text";
29222                type:           TEXT;
29223                mouse_events:   0;
29224                scale: 1;
29225                description {
29226                    state: "default" 0.0;
29227                           //               min: 16 16;
29228                    rel1 {
29229                        to: "base";
29230                        relative: 0.0  0.0;
29231                        offset:   4 4;
29232                    }
29233                    rel2 {
29234                        to: "base";
29235                        relative: 1.0  1.0;
29236                        offset:   -5 -5;
29237                    }
29238                    color: 0 0 0 128;
29239                    text {
29240                        font: "Sans";
29241                        size: 10;
29242                        min: 1 1;
29243                             //                  min: 0 1;
29244                        align: 0.0 0.5;
29245                    }
29246                }
29247                description { state: "active" 0.0;
29248                    inherit: "default" 0.0;
29249                    color: 0 0 0 255;
29250                }
29251            }
29252        }
29253        programs {
29254            program { name: "active";
29255                signal: "elm,state,active";
29256                source: "elm";
29257                action: STATE_SET "active" 0.0;
29258                transition: DECELERATE 0.5;
29259                target: "elm.text";
29260                target: "base";
29261            }
29262            program { name: "inactive";
29263                signal: "elm,state,inactive";
29264                source: "elm";
29265                action: STATE_SET "default" 0.0;
29266                transition: DECELERATE 0.5;
29267                target: "elm.text";
29268                target: "base";
29269            }
29270        }
29271    }
29272
29273 ///////////////////////////////////////////////////////////////////////////////
29274    group { name: "elm/gengrid/item/default/default";
29275       data.item: "labels" "elm.text";
29276       data.item: "icons" "elm.swallow.icon elm.swallow.end";
29277       images {
29278          image: "bt_sm_base1.png" COMP;
29279          image: "bt_sm_shine.png" COMP;
29280          image: "bt_sm_hilight.png" COMP;
29281          image: "ilist_1.png" COMP;
29282          image: "ilist_item_shadow.png" COMP;
29283       }
29284       parts {
29285          part { name: "event";
29286             type: RECT;
29287             repeat_events: 1;
29288             description {
29289                state: "default" 0.0;
29290                color: 0 0 0 0;
29291             }
29292          }
29293          part { name: "base_sh";
29294             mouse_events: 0;
29295             description { state: "default" 0.0;
29296                align: 0.0 0.0;
29297                min: 0 10;
29298                fixed: 1 1;
29299                rel1 {
29300                   to: "base";
29301                   relative: 0.0 1.0;
29302                   offset: 0 0;
29303                }
29304                rel2 {
29305                   to: "base";
29306                   relative: 1.0 1.0;
29307                   offset: -1 0;
29308                }
29309                image {
29310                   normal: "ilist_item_shadow.png";
29311                }
29312                fill.smooth: 0;
29313             }
29314          }
29315          part { name: "base";
29316             mouse_events: 0;
29317             description { state: "default" 0.0;
29318                image {
29319                   normal: "ilist_1.png";
29320                   border: 2 2 2 2;
29321                }
29322                fill.smooth: 0;
29323             }
29324          }
29325          part { name: "bg";
29326             clip_to: "disclip";
29327             mouse_events: 0;
29328             description { state: "default" 0.0;
29329                visible: 0;
29330                color: 255 255 255 0;
29331                rel1 {
29332                   relative: 0.0 0.0;
29333                   offset: -5 -5;
29334                }
29335                rel2 {
29336                   relative: 1.0 1.0;
29337                   offset: 4 4;
29338                }
29339                image {
29340                   normal: "bt_sm_base1.png";
29341                   border: 6 6 6 6;
29342                }
29343                image.middle: SOLID;
29344             }
29345             description { state: "selected" 0.0;
29346                inherit: "default" 0.0;
29347                visible: 1;
29348                color: 255 255 255 255;
29349                rel1 {
29350                   relative: 0.0 0.0;
29351                   offset: -2 -2;
29352                }
29353                rel2 {
29354                   relative: 1.0 1.0;
29355                   offset: 1 1;
29356                }
29357             }
29358          }
29359          part { name: "elm.swallow.pad";
29360             type: SWALLOW;
29361             description { state: "default" 0.0;
29362                fixed: 1 0;
29363                align: 0.0 0.5;
29364                rel1 {
29365                   relative: 0.0  1.0;
29366                   offset:   0    -10;
29367                }
29368                rel2 {
29369                   to_y: "elm.text";
29370                   relative: 0.0  0.0;
29371                   offset:   -1   -1;
29372                }
29373             }
29374          }
29375          part { name: "elm.swallow.icon";
29376             clip_to: "disclip";
29377             type: SWALLOW;
29378             description { state: "default" 0.0;
29379                fixed: 1 0;
29380                align: 0.5 0.5;
29381                rel1 {
29382                   relative: 0.0  0.0;
29383                   offset:   -1    4;
29384                }
29385                rel2 {
29386                   to_y: "elm.swallow.pad";
29387                   relative: 1.0  0.0;
29388                   offset:   -1   -5;
29389                }
29390             }
29391          }
29392          part { name: "elm.swallow.end";
29393             clip_to: "disclip";
29394             type: SWALLOW;
29395             description { state: "default" 0.0;
29396                fixed: 1 0;
29397                align: 1.0 0.0;
29398                aspect: 1.0 1.0;
29399                aspect_preference: HORIZONTAL;
29400                rel1 {
29401                   relative: 1.0 0.0;
29402                   offset: -5 -5;
29403                }
29404                rel2 {
29405                   relative: 1.0 1.0;
29406                   offset: 5 5;
29407                }
29408             }
29409          }
29410          part { name: "elm.text";
29411             clip_to: "disclip";
29412             type: TEXT;
29413             effect: SOFT_SHADOW;
29414             mouse_events: 0;
29415             scale: 1;
29416             description { state: "default" 0.0;
29417                rel1 {
29418                   relative: 0.0  1.0;
29419                   offset: 0 0;
29420                }
29421                rel2 {
29422                   relative: 1.0  1.0;
29423                   offset: -5 -5;
29424                }
29425                color: 0 0 0 255;
29426                color3: 0 0 0 0;
29427                text {
29428                   font: "Sans";
29429                   size: 10;
29430                   min: 0 1;
29431                   align: 0.5 0.0;
29432                   text_class: "grid_item";
29433                }
29434             }
29435             description { state: "selected" 0.0;
29436                inherit: "default" 0.0;
29437                color: 224 224 224 255;
29438                color3: 0 0 0 64;
29439             }
29440          }
29441          part { name: "fg1";
29442             clip_to: "disclip";
29443             mouse_events: 0;
29444             description { state: "default" 0.0;
29445                visible: 0;
29446                color: 255 255 255 0;
29447                rel1.to: "bg";
29448                rel2.relative: 1.0 0.5;
29449                rel2.to: "bg";
29450                image {
29451                   normal: "bt_sm_hilight.png";
29452                   border: 6 6 6 0;
29453                }
29454             }
29455             description { state: "selected" 0.0;
29456                inherit: "default" 0.0;
29457                visible: 1;
29458                color: 255 255 255 255;
29459             }
29460          }
29461          part { name: "fg2";
29462             clip_to: "disclip";
29463             mouse_events: 0;
29464             description { state: "default" 0.0;
29465                visible: 0;
29466                color: 255 255 255 0;
29467                rel1.to: "bg";
29468                rel2.to: "bg";
29469                image {
29470                   normal: "bt_sm_shine.png";
29471                   border: 6 6 6 0;
29472                }
29473             }
29474             description { state: "selected" 0.0;
29475                inherit: "default" 0.0;
29476                visible: 1;
29477                color: 255 255 255 255;
29478             }
29479          }
29480          part { name: "disclip";
29481             type: RECT;
29482             description { state: "default" 0.0;
29483                rel1.to: "bg";
29484                rel2.to: "bg";
29485             }
29486             description { state: "disabled" 0.0;
29487                inherit: "default" 0.0;
29488                color: 255 255 255 64;
29489             }
29490          }
29491       }
29492       programs {
29493          // signal: elm,state,%s,active
29494          //   a "check" item named %s went active
29495          // signal: elm,state,%s,passive
29496          //   a "check" item named %s went passive
29497          // default is passive
29498          program { name:    "go_active";
29499             signal:  "elm,state,selected";
29500             source:  "elm";
29501             action:  STATE_SET "selected" 0.0;
29502             target:  "bg";
29503             target:  "fg1";
29504             target:  "fg2";
29505             target:  "elm.text";
29506          }
29507          program { name:    "go_passive";
29508             signal:  "elm,state,unselected";
29509             source:  "elm";
29510             action:  STATE_SET "default" 0.0;
29511             target:  "bg";
29512             target:  "fg1";
29513             target:  "fg2";
29514             target:  "elm.text";
29515             transition: LINEAR 0.1;
29516          }
29517          program { name:    "go_disabled";
29518             signal:  "elm,state,disabled";
29519             source:  "elm";
29520             action:  STATE_SET "disabled" 0.0;
29521             target:  "disclip";
29522          }
29523          program { name:    "go_enabled";
29524             signal:  "elm,state,enabled";
29525             source:  "elm";
29526             action:  STATE_SET "default" 0.0;
29527             target:  "disclip";
29528          }
29529       }
29530    }
29531    group { name: "elm/gengrid/item/default_style/default";
29532        styles
29533        {
29534            style { name: "gengrid_style";
29535                base: "font=Sans font_size=10 align=left valign=0.5 color=#000 text_class=grid_item";
29536                tag:  "br" "\n";
29537                tag:  "ps" "ps";
29538                tag:  "hilight" "+ font=Sans:style=Bold";
29539                tag:  "b" "+ font=Sans:style=Bold";
29540                tag:  "tab" "\t";
29541            }
29542            style { name: "gengrid_selected_style";
29543                base: "font=Sans font_size=10 align=left valign=0.5 color=#fff text_class=grid_item";
29544                tag:  "br" "\n";
29545                tag:  "ps" "ps";
29546                tag:  "hilight" "+ font=Sans:style=Bold";
29547                tag:  "b" "+ font=Sans:style=Bold";
29548                tag:  "tab" "\t";
29549            }
29550        }
29551        data.item: "labels" "elm.text";
29552        data.item: "icons" "elm.swallow.icon elm.swallow.end";
29553        images {
29554            image: "bt_sm_base1.png" COMP;
29555            image: "bt_sm_shine.png" COMP;
29556            image: "bt_sm_hilight.png" COMP;
29557            image: "ilist_1.png" COMP;
29558            image: "ilist_item_shadow.png" COMP;
29559        }
29560        parts {
29561            part { name: "event";
29562                type: RECT;
29563                repeat_events: 1;
29564                description { state: "default" 0.0;
29565                    color: 0 0 0 0;
29566                }
29567            }
29568            part { name: "base_sh";
29569                mouse_events: 0;
29570                description { state: "default" 0.0;
29571                    align: 0.0 0.0;
29572                    min: 0 10;
29573                    fixed: 1 1;
29574                    rel1 {
29575                        to: "base";
29576                        relative: 0.0 1.0;
29577                        offset: 0 0;
29578                    }
29579                    rel2 {
29580                        to: "base";
29581                        relative: 1.0 1.0;
29582                        offset: -1 0;
29583                    }
29584                    image {
29585                        normal: "ilist_item_shadow.png";
29586                    }
29587                    fill.smooth: 0;
29588                }
29589            }
29590            part { name: "base";
29591                mouse_events: 0;
29592                description { state: "default" 0.0;
29593                    min: 16 28;
29594                    image {
29595                        normal: "ilist_1.png";
29596                        border: 2 2 2 2;
29597                    }
29598                    fill.smooth: 0;
29599                }
29600            }
29601            part { name: "bg";
29602                clip_to: "disclip";
29603                mouse_events: 0;
29604                description { state: "default" 0.0;
29605                    visible: 0;
29606                    color: 255 255 255 0;
29607                    rel1 {
29608                        relative: 0.0 0.0;
29609                        offset: -5 -5;
29610                    }
29611                    rel2 {
29612                        relative: 1.0 1.0;
29613                        offset: 4 4;
29614                    }
29615                    image {
29616                        normal: "bt_sm_base1.png";
29617                        border: 6 6 6 6;
29618                    }
29619                    image.middle: SOLID;
29620                }
29621                description { state: "selected" 0.0;
29622                    inherit: "default" 0.0;
29623                    visible: 1;
29624                    color: 255 255 255 255;
29625                    rel1 {
29626                        relative: 0.0 0.0;
29627                        offset: -2 -2;
29628                    }
29629                    rel2 {
29630                        relative: 1.0 1.0;
29631                        offset: 1 1;
29632                    }
29633                }
29634            }
29635            part { name: "elm.swallow.pad";
29636                type: SWALLOW;
29637                description { state: "default" 0.0;
29638                    fixed: 1 0;
29639                    align: 0.0 0.5;
29640                    rel1 {
29641                        relative: 0.0  0.0;
29642                        offset:   4    4;
29643                    }
29644                    rel2 {
29645                        relative: 0.0  1.0;
29646                        offset:   4   -5;
29647                    }
29648                }
29649            }
29650            part { name: "elm.swallow.icon";
29651                clip_to: "disclip";
29652                type: SWALLOW;
29653                description { state: "default" 0.0;
29654                    fixed: 1 0;
29655                    align: 0.0 0.5;
29656                    rel1 {
29657                        to_x: "elm.swallow.pad";
29658                        relative: 1.0  0.0;
29659                        offset:   -1    4;
29660                    }
29661                    rel2 {
29662                        to_x: "elm.swallow.pad";
29663                        relative: 1.0  1.0;
29664                        offset:   -1   -5;
29665                    }
29666                }
29667            }
29668            part { name: "elm.swallow.end";
29669                clip_to: "disclip";
29670                type: SWALLOW;
29671                description { state: "default" 0.0;
29672                    fixed: 1 0;
29673                    align: 1.0 0.5;
29674                    aspect: 1.0 1.0;
29675                    aspect_preference: VERTICAL;
29676                    rel1 {
29677                        relative: 1.0  0.0;
29678                        offset:   -5    4;
29679                    }
29680                    rel2 {
29681                        relative: 1.0  1.0;
29682                        offset:   -5   -5;
29683                    }
29684                }
29685            }
29686            part { name: "elm.text";
29687                clip_to: "disclip";
29688                type: TEXTBLOCK;
29689                mouse_events: 0;
29690                scale: 1;
29691                description {
29692                    state: "default" 0.0;
29693                    align: 0.0 0.5;
29694                    fixed: 0 1;
29695                    rel1 {
29696                        to_x: "elm.swallow.icon";
29697                        to_y: "base";
29698                        relative: 1.0  0.5;
29699                        offset:   0 4;
29700                    }
29701                    rel2 {
29702                        to_x: "elm.swallow.end";
29703                        to_y: "base";
29704                        relative: 0.0  0.5;
29705                        offset:   -1 -5;
29706                    }
29707                    text {
29708                        style: "gengrid_style";
29709                        min: 1 1;
29710                    }
29711                }
29712                description { state: "selected" 0.0;
29713                    inherit: "default" 0.0;
29714                    text {
29715                        style: "gengrid_selected_style";
29716                    }
29717                }
29718            }
29719            part { name: "fg1";
29720                clip_to: "disclip";
29721                mouse_events: 0;
29722                description { state: "default" 0.0;
29723                    visible: 0;
29724                    color: 255 255 255 0;
29725                    rel1.to: "bg";
29726                    rel2.relative: 1.0 0.5;
29727                    rel2.to: "bg";
29728                    image {
29729                        normal: "bt_sm_hilight.png";
29730                        border: 6 6 6 0;
29731                    }
29732                }
29733                description { state: "selected" 0.0;
29734                    inherit: "default" 0.0;
29735                    visible: 1;
29736                    color: 255 255 255 255;
29737                }
29738            }
29739            part { name: "fg2";
29740                clip_to: "disclip";
29741                mouse_events: 0;
29742                description { state: "default" 0.0;
29743                    visible: 0;
29744                    color: 255 255 255 0;
29745                    rel1.to: "bg";
29746                    rel2.to: "bg";
29747                    image {
29748                        normal: "bt_sm_shine.png";
29749                        border: 6 6 6 0;
29750                    }
29751                }
29752                description { state: "selected" 0.0;
29753                    inherit: "default" 0.0;
29754                    visible: 1;
29755                    color: 255 255 255 255;
29756                }
29757            }
29758            part { name: "disclip";
29759                type: RECT;
29760                description { state: "default" 0.0;
29761                    rel1.to: "bg";
29762                    rel2.to: "bg";
29763                }
29764                description { state: "disabled" 0.0;
29765                    inherit: "default" 0.0;
29766                    color: 255 255 255 64;
29767                }
29768            }
29769        }
29770        programs {
29771            // signal: elm,state,%s,active
29772            //   a "check" item named %s went active
29773            // signal: elm,state,%s,passive
29774            //   a "check" item named %s went passive
29775            // default is passive
29776            program { name:    "go_active";
29777                signal:  "elm,state,selected";
29778                source:  "elm";
29779                action:  STATE_SET "selected" 0.0;
29780                target:  "bg";
29781                target:  "fg1";
29782                target:  "fg2";
29783                target:  "elm.text";
29784            }
29785            program { name:    "go_passive";
29786                signal:  "elm,state,unselected";
29787                source:  "elm";
29788                action:  STATE_SET "default" 0.0;
29789                target:  "bg";
29790                target:  "fg1";
29791                target:  "fg2";
29792                target:  "elm.text";
29793                transition: LINEAR 0.1;
29794            }
29795            program { name:    "go_disabled";
29796                signal:  "elm,state,disabled";
29797                source:  "elm";
29798                action:  STATE_SET "disabled" 0.0;
29799                target:  "disclip";
29800            }
29801            program { name:    "go_enabled";
29802                signal:  "elm,state,enabled";
29803                source:  "elm";
29804                action:  STATE_SET "default" 0.0;
29805                target:  "disclip";
29806            }
29807        }
29808    }
29809
29810    group { name: "elm/gengrid/item/up/default";
29811       data.item: "labels" "elm.text";
29812       images {
29813           image: "bt_sm_base1.png" COMP;
29814           image: "bt_sm_shine.png" COMP;
29815           image: "bt_sm_hilight.png" COMP;
29816           image: "arrow_up.png" COMP;
29817       }
29818       parts {
29819          part { name: "event";
29820             type: RECT;
29821             repeat_events: 1;
29822             description { state: "default" 0.0;
29823                color: 0 0 0 0;
29824             }
29825          }
29826          part { name: "bg";
29827             clip_to: "disclip";
29828             mouse_events: 0;
29829             description { state: "default" 0.0;
29830                visible: 0;
29831                color: 255 255 255 0;
29832                rel1.offset: -3 -3;
29833                rel2.offset: 2 2;
29834                image { normal: "bt_sm_base1.png";
29835                   border: 6 6 6 6;
29836                   middle: SOLID;
29837                }
29838             }
29839             description { state: "selected" 0.0;
29840                inherit: "default" 0.0;
29841                visible: 1;
29842                color: 255 255 255 255;
29843             }
29844          }
29845          part { name: "image";
29846              type: IMAGE;
29847              mouse_events: 0;
29848              description { state: "default" 0.0;
29849                  aspect_preference: BOTH;
29850                  aspect: 1.0 1.0;
29851                  image.normal: "arrow_up.png";
29852                  rel2 {
29853                      to_y: "elm.text";
29854                      relative: 1.0 0.0;
29855                      offset: -1 -2;
29856                  }
29857              }
29858          }
29859          part { name: "elm.text";
29860             clip_to: "disclip";
29861             type: TEXT;
29862             effect: SOFT_SHADOW;
29863             mouse_events: 0;
29864             scale: 1;
29865             description { state: "default" 0.0;
29866                rel1 {
29867                   relative: 0.0  1.0;
29868                   offset: 20 -25;
29869                }
29870                rel2 {
29871                   relative: 1.0  1.0;
29872                   offset: -21 -3;
29873                }
29874                color: 0 0 0 255;
29875                color3: 0 0 0 0;
29876                text {
29877                   font: "Sans";
29878                   size: 10;
29879                   min: 0 1;
29880                   align: 0.5 0.0;
29881                   text_class: "grid_item";
29882                }
29883             }
29884             description { state: "selected" 0.0;
29885                inherit: "default" 0.0;
29886                color: 224 224 224 255;
29887                color3: 0 0 0 64;
29888             }
29889          }
29890          part { name: "fg1";
29891             clip_to: "disclip";
29892             mouse_events: 0;
29893             description { state: "default" 0.0;
29894                visible: 0;
29895                color: 255 255 255 0;
29896                rel1.offset: -3 -3;
29897                rel2 {
29898                    relative: 1.0 0.5;
29899                    offset: 2 -1;
29900                }
29901                image {
29902                   normal: "bt_sm_hilight.png";
29903                   border: 6 6 6 0;
29904                }
29905             }
29906             description { state: "selected" 0.0;
29907                inherit: "default" 0.0;
29908                visible: 1;
29909                color: 255 255 255 255;
29910             }
29911          }
29912          part { name: "fg2";
29913             clip_to: "disclip";
29914             mouse_events: 0;
29915             description { state: "default" 0.0;
29916                visible: 0;
29917                color: 255 255 255 0;
29918                rel1.offset: -3 -3;
29919                rel2.offset: 2 2;
29920                image {
29921                   normal: "bt_sm_shine.png";
29922                   border: 6 6 6 0;
29923                }
29924             }
29925             description { state: "selected" 0.0;
29926                inherit: "default" 0.0;
29927                visible: 1;
29928                color: 255 255 255 255;
29929             }
29930          }
29931          part { name: "disclip";
29932             type: RECT;
29933             description { state: "default" 0.0;
29934                rel1.to: "bg";
29935                rel2.to: "bg";
29936             }
29937             description { state: "disabled" 0.0;
29938                inherit: "default" 0.0;
29939                color: 255 255 255 64;
29940             }
29941          }
29942       }
29943       programs {
29944          program { name:    "go_active";
29945             signal:  "elm,state,selected";
29946             source:  "elm";
29947             action:  STATE_SET "selected" 0.0;
29948             target:  "bg";
29949             target:  "fg1";
29950             target:  "fg2";
29951             target:  "elm.text";
29952          }
29953          program { name:    "go_passive";
29954             signal:  "elm,state,unselected";
29955             source:  "elm";
29956             action:  STATE_SET "default" 0.0;
29957             target:  "bg";
29958             target:  "fg1";
29959             target:  "fg2";
29960             target:  "elm.text";
29961             transition: LINEAR 0.1;
29962          }
29963          program { name:    "go_disabled";
29964             signal:  "elm,state,disabled";
29965             source:  "elm";
29966             action:  STATE_SET "disabled" 0.0;
29967             target:  "disclip";
29968          }
29969          program { name:    "go_enabled";
29970             signal:  "elm,state,enabled";
29971             source:  "elm";
29972             action:  STATE_SET "default" 0.0;
29973             target:  "disclip";
29974          }
29975       }
29976    }
29977
29978    group { name: "elm/gengrid/item/album-preview/default";
29979       data.item: "labels" "elm.text";
29980       data.item: "icons" "elm.swallow.icon.1 elm.swallow.icon.2 elm.swallow.icon.3 elm.swallow.icon.4";
29981       data.item: "states" "have_files";
29982       images {
29983          image: "bt_sm_base1.png" COMP;
29984          image: "bt_sm_shine.png" COMP;
29985          image: "bt_sm_hilight.png" COMP;
29986          image: "icon_folder.png" COMP;
29987       }
29988       parts {
29989          part { name: "event";
29990             type: RECT;
29991             repeat_events: 1;
29992             description { state: "default" 0.0;
29993                color: 0 0 0 0;
29994             }
29995          }
29996          part { name: "bg";
29997             clip_to: "disclip";
29998             mouse_events: 0;
29999             description { state: "default" 0.0;
30000                visible: 0;
30001                color: 255 255 255 0;
30002                rel1.offset: -3 -3;
30003                rel2.offset: 2 2;
30004                image {
30005                   normal: "bt_sm_base1.png";
30006                   border: 6 6 6 6;
30007                   middle: SOLID;
30008                }
30009             }
30010             description { state: "selected" 0.0;
30011                inherit: "default" 0.0;
30012                visible: 1;
30013                color: 255 255 255 255;
30014             }
30015          }
30016          part { name: "image";
30017              type: IMAGE;
30018              mouse_events: 0;
30019              description { state: "default" 0.0;
30020                  aspect_preference: BOTH;
30021                  aspect: 1.0 1.0;
30022                  image.normal: "icon_folder.png";
30023                  rel2 {
30024                      to_y: "elm.text";
30025                      relative: 1.0 0.0;
30026                      offset: -1 -2;
30027                  }
30028              }
30029          }
30030          part { name: "have-files-clipper";
30031              type: RECT;
30032              description { state: "default" 0.0;
30033                  color: 255 255 255 0;
30034                  visible: 0;
30035              }
30036              description { state: "visible" 0.0;
30037                  inherit: "default" 0.0;
30038                  color: 255 255 255 255;
30039                  visible: 1;
30040              }
30041          }
30042          part { name: "icon_box_margin";
30043              type: RECT;
30044              mouse_events: 0;
30045              clip_to: "have-files-clipper";
30046              description { state: "default" 0.0;
30047                  color: 0 0 0 255;
30048                  rel1 {
30049                      to: "icon_box";
30050                      offset: -1 -1;
30051                  }
30052                  rel2 {
30053                      to: "icon_box";
30054                      offset: 0 0;
30055                  }
30056              }
30057          }
30058          part { name: "icon_box";
30059              type: RECT;
30060              mouse_events: 0;
30061              clip_to: "have-files-clipper";
30062              description { state: "default" 0.0;
30063                  color: 255 255 255 255;
30064                  align: 1.0 1.0;
30065                  min: 32 32;
30066                  rel1 {
30067                      relative: 0.25 0.25;
30068                      offset: 0 0;
30069                  }
30070                  rel2 {
30071                      relative: 1.0 0.0;
30072                      offset: -11 -4;
30073                      to_y: "elm.text";
30074                  }
30075              }
30076          }
30077          part { name: "elm.swallow.icon.1";
30078              type: SWALLOW;
30079              mouse_events: 0;
30080              clip_to: "have-files-clipper";
30081              description { state: "default" 0.0;
30082                rel1 {
30083                   relative: 0.0  0.0;
30084                   to: "icon_box";
30085                }
30086                rel2 {
30087                   relative: 0.5  0.5;
30088                   offset: -1 -1;
30089                   to: "icon_box";
30090                }
30091             }
30092          }
30093          part { name: "elm.swallow.icon.2";
30094              type: SWALLOW;
30095              mouse_events: 0;
30096              clip_to: "have-files-clipper";
30097              description { state: "default" 0.0;
30098                rel1 {
30099                   relative: 0.5  0.0;
30100                   to: "icon_box";
30101                }
30102                rel2 {
30103                   relative: 1.0  0.5;
30104                   offset: -1 -1;
30105                   to: "icon_box";
30106                }
30107             }
30108          }
30109          part { name: "elm.swallow.icon.3";
30110              type: SWALLOW;
30111              mouse_events: 0;
30112              clip_to: "have-files-clipper";
30113              description { state: "default" 0.0;
30114                rel1 {
30115                   relative: 0.0  0.5;
30116                   to: "icon_box";
30117                }
30118                rel2 {
30119                   relative: 0.5  1.0;
30120                   offset: -1 -1;
30121                   to: "icon_box";
30122                }
30123             }
30124          }
30125          part { name: "elm.swallow.icon.4";
30126              type: SWALLOW;
30127              mouse_events: 0;
30128              clip_to: "have-files-clipper";
30129              description { state: "default" 0.0;
30130                rel1 {
30131                   relative: 0.5  0.5;
30132                   to: "icon_box";
30133                }
30134                rel2 {
30135                   relative: 1.0  1.0;
30136                   offset: -1 -1;
30137                   to: "icon_box";
30138                }
30139             }
30140          }
30141          part { name: "elm.text";
30142             clip_to: "disclip";
30143             type: TEXT;
30144             effect: SOFT_SHADOW;
30145             mouse_events: 0;
30146             scale: 1;
30147             description { state: "default" 0.0;
30148                rel1 {
30149                   relative: 0.0  1.0;
30150                   offset: 20 -30;
30151                }
30152                rel2 {
30153                   relative: 1.0  1.0;
30154                   offset: -21 -15;
30155                }
30156                color: 0 0 0 255;
30157                color3: 0 0 0 0;
30158                text {
30159                   font: "Sans";
30160                   size: 10;
30161                   min: 0 1;
30162                   align: 0.5 0.0;
30163                   text_class: "grid_item";
30164                }
30165             }
30166             description { state: "selected" 0.0;
30167                 inherit: "default" 0.0;
30168                 color: 255 255 255 255;
30169             }
30170          }
30171          part { name: "fg1";
30172             clip_to: "disclip";
30173             mouse_events: 0;
30174             description { state: "default" 0.0;
30175                visible: 0;
30176                color: 255 255 255 0;
30177                rel1.offset: -3 -3;
30178                rel2 {
30179                    relative: 1.0 0.5;
30180                    offset: 2 -1;
30181                }
30182                image {
30183                   normal: "bt_sm_hilight.png";
30184                   border: 6 6 6 0;
30185                }
30186             }
30187             description { state: "selected" 0.0;
30188                inherit: "default" 0.0;
30189                visible: 1;
30190                color: 255 255 255 255;
30191             }
30192          }
30193          part { name: "fg2";
30194             clip_to: "disclip";
30195             mouse_events: 0;
30196             description { state: "default" 0.0;
30197                visible: 0;
30198                color: 255 255 255 0;
30199                rel1.offset: -3 -3;
30200                rel2.offset: 2 2;
30201                image {
30202                   normal: "bt_sm_shine.png";
30203                   border: 6 6 6 0;
30204                }
30205             }
30206             description { state: "selected" 0.0;
30207                inherit: "default" 0.0;
30208                visible: 1;
30209                color: 255 255 255 255;
30210             }
30211          }
30212          part { name: "disclip";
30213             type: RECT;
30214             description { state: "default" 0.0;
30215                rel1.to: "bg";
30216                rel2.to: "bg";
30217             }
30218             description { state: "disabled" 0.0;
30219                inherit: "default" 0.0;
30220                color: 255 255 255 64;
30221             }
30222          }
30223       }
30224       programs {
30225          program { name:    "go_active";
30226             signal:  "elm,state,selected";
30227             source:  "elm";
30228             action:  STATE_SET "selected" 0.0;
30229             target:  "bg";
30230             target:  "fg1";
30231             target:  "fg2";
30232             target:  "elm.text";
30233          }
30234          program { name:    "go_passive";
30235             signal:  "elm,state,unselected";
30236             source:  "elm";
30237             action:  STATE_SET "default" 0.0;
30238             target:  "bg";
30239             target:  "fg1";
30240             target:  "fg2";
30241             target:  "elm.text";
30242             transition: LINEAR 0.1;
30243          }
30244          program { name:    "go_disabled";
30245             signal:  "elm,state,disabled";
30246             source:  "elm";
30247             action:  STATE_SET "disabled" 0.0;
30248             target:  "disclip";
30249          }
30250          program { name:    "go_enabled";
30251             signal:  "elm,state,enabled";
30252             source:  "elm";
30253             action:  STATE_SET "default" 0.0;
30254             target:  "disclip";
30255          }
30256          program {
30257              signal: "elm,state,have_files,active";
30258              source: "elm";
30259              action: STATE_SET "visible" 0.0;
30260              target: "have-files-clipper";
30261          }
30262       }
30263    }
30264
30265    group { name: "elm/gengrid/item/thumb/default";
30266        data {
30267            item: "icons" "elm.swallow.icon";
30268            item: "labels" "elm.text";
30269        }
30270        images {
30271            image: "bt_sm_base1.png" COMP;
30272            image: "bt_sm_shine.png" COMP;
30273            image: "bt_sm_hilight.png" COMP;
30274            image: "thumb_shadow.png" COMP;
30275        }
30276        parts {
30277            part { name: "event";
30278                type: RECT;
30279                repeat_events: 1;
30280                description { state: "default" 0.0;
30281                    color: 0 0 0 0;
30282                }
30283            }
30284            part { name: "bg";
30285                mouse_events: 0;
30286                description { state: "default" 0.0;
30287                    visible: 0;
30288                    color: 255 255 255 0;
30289                    rel1.offset: -3 -3;
30290                    rel2.offset: 2 2;
30291                    image {
30292                        normal: "bt_sm_base1.png";
30293                        border: 6 6 6 6;
30294                        middle: SOLID;
30295                    }
30296                }
30297                description { state: "selected" 0.0;
30298                    inherit: "default" 0.0;
30299                    visible: 1;
30300                    color: 255 255 255 255;
30301                }
30302            }
30303            part { name: "border-shadow";
30304                type: IMAGE;
30305                mouse_events: 0;
30306                description { state: "default" 0.0;
30307                    rel1 {
30308                        to: "elm.swallow.icon";
30309                        offset: -18 -18;
30310                    }
30311                    rel2 {
30312                        to_x: "elm.swallow.icon";
30313                        to_y: "elm.text";
30314                        offset: 17 17;
30315                    }
30316                    image {
30317                        normal: "thumb_shadow.png";
30318                        border: 17 17 17 17;
30319                        middle: NONE;
30320                    }
30321                }
30322            }
30323            part { name: "border";
30324                type: RECT;
30325                mouse_events: 0;
30326                description { state: "default" 0.0;
30327                    rel1 {
30328                        to: "border-shadow";
30329                        offset: 16 16;
30330                    }
30331                    rel2 {
30332                        to: "border-shadow";
30333                        offset: -15 -15;
30334                    }
30335                }
30336            }
30337            part { name: "elm.swallow.icon";
30338                type: SWALLOW;
30339                mouse_events: 0;
30340                description { state: "default" 0.0;
30341                    aspect_preference: BOTH;
30342                    aspect: 1.0 1.0;
30343                    rel1.offset: 0 8;
30344                    rel2 {
30345                        to_y: "elm.text";
30346                        relative: 1.0 0.0;
30347                        offset: -1 -2;
30348                    }
30349                }
30350            }
30351            part { name: "elm.text";
30352                type: TEXT;
30353                effect: SOFT_SHADOW;
30354                mouse_events: 0;
30355                scale: 1;
30356                description { state: "default" 0.0;
30357                    color: 0 0 0 255;
30358                    color3: 0 0 0 0;
30359                    align: 0.5 1.0;
30360                    rel1 {
30361                        relative: 0.0 1.0;
30362                        offset: 20 -30;
30363                    }
30364                    rel2 {
30365                        relative: 1.0 1.0;
30366                        offset: -21 -15;
30367                    }
30368                    text {
30369                        font: "Sans";
30370                        size: 10;
30371                        min: 0 1;
30372                        align: 0.5 0.0;
30373                        text_class: "grid_item";
30374                    }
30375                }
30376            }
30377            part { name: "fg1";
30378                mouse_events: 0;
30379                description { state: "default" 0.0;
30380                    visible: 0;
30381                    color: 255 255 255 0;
30382                    rel1.offset: -3 -3;
30383                    rel2 {
30384                        relative: 1.0 0.5;
30385                        offset: 2 -1;
30386                    }
30387                    image {
30388                        normal: "bt_sm_hilight.png";
30389                        border: 6 6 6 0;
30390                    }
30391                }
30392                description { state: "selected" 0.0;
30393                    inherit: "default" 0.0;
30394                    visible: 1;
30395                    color: 255 255 255 255;
30396                }
30397            }
30398            part { name: "fg2";
30399                mouse_events: 0;
30400                description { state: "default" 0.0;
30401                    visible: 0;
30402                    color: 255 255 255 0;
30403                    rel1.offset: -3 -3;
30404                    rel2.offset: 2 2;
30405                    image {
30406                        image: "bt_sm_shine.png";
30407                        border: 6 6 6 0;
30408                    }
30409                }
30410                description { state: "selected" 0.0;
30411                    inherit: "default" 0.0;
30412                    visible: 1;
30413                    color: 255 255 255 255;
30414                }
30415            }
30416        }
30417        programs {
30418            program {
30419                signal: "elm,state,selected";
30420                source: "elm";
30421                action: STATE_SET "selected" 0.0;
30422                target: "bg";
30423                target: "fg1";
30424                target: "fg2";
30425            }
30426            program {
30427                signal: "elm,state,unselected";
30428                source: "elm";
30429                action:  STATE_SET "default" 0.0;
30430                target: "bg";
30431                target: "fg1";
30432                target: "fg2";
30433                transition: LINEAR 0.1;
30434            }
30435        }
30436    }
30437
30438 ///////////////////////////////////////////////////////////////////////////////
30439    group { name: "elm/photocam/base/default";
30440        script {
30441            public sbvis_v, sbvis_h, sbalways_v, sbalways_h, sbvis_timer;
30442            public timer0(val) {
30443                new v;
30444                v = get_int(sbvis_v);
30445                if (v) {
30446                    v = get_int(sbalways_v);
30447                    if (!v) {
30448                        emit("do-hide-vbar", "");
30449                        set_int(sbvis_v, 0);
30450                    }
30451                }
30452                v = get_int(sbvis_h);
30453                if (v) {
30454                    v = get_int(sbalways_h);
30455                    if (!v) {
30456                        emit("do-hide-hbar", "");
30457                        set_int(sbvis_h, 0);
30458                    }
30459                }
30460                set_int(sbvis_timer, 0);
30461                return 0;
30462            }
30463        }
30464        images {
30465            image: "shelf_inset.png" COMP;
30466            image: "bt_sm_base2.png" COMP;
30467            image: "bt_sm_shine.png" COMP;
30468            image: "bt_sm_hilight.png" COMP;
30469            image: "busy-1.png" COMP;
30470            image: "busy-2.png" COMP;
30471            image: "busy-3.png" COMP;
30472            image: "busy-4.png" COMP;
30473            image: "busy-5.png" COMP;
30474            image: "busy-6.png" COMP;
30475            image: "busy-7.png" COMP;
30476            image: "busy-8.png" COMP;
30477            image: "busy-9.png" COMP;
30478        }
30479        parts {
30480            part { name: "bg";
30481                type: RECT;
30482                description { state: "default" 0.0;
30483                    rel1.offset: 1 1;
30484                    rel2.offset: -2 -2;
30485                    color: 255 255 255 0;
30486                }
30487            }
30488            part { name: "clipper";
30489                type: RECT;
30490                mouse_events: 0;
30491                description { state: "default" 0.0;
30492                    rel1.to: "bg";
30493                    rel2.to: "bg";
30494                }
30495            }
30496            part { name: "elm.swallow.content";
30497                clip_to: "clipper";
30498                type: SWALLOW;
30499                description { state: "default" 0.0;
30500                    rel1.offset: 1 1;
30501                    rel2.offset: -2 -2;
30502                }
30503            }
30504            part { name: "busy_clip";
30505                type: RECT;
30506                mouse_events: 0;
30507                description { state: "default" 0.0;
30508                    visible: 0;
30509                    color: 255 255 255 0;
30510                }
30511                description { state: "active" 0.0;
30512                    visible: 1;
30513                    color: 255 255 255 255;
30514                }
30515            }
30516            part { name: "busy";
30517                clip_to: "busy_clip";
30518                mouse_events: 0;
30519                description { state: "default" 0.0;
30520                    fixed: 1 1;
30521                    min: 32 32;
30522                    aspect: 1.0 1.0;
30523                    align: 1.0 1.0;
30524                    aspect_preference: BOTH;
30525                    rel1 {
30526                        relative: 0.9 0.9;
30527                        offset:   -9 -9;
30528                    }
30529                    rel2 {
30530                        relative: 0.9 0.9;
30531                        offset:   -9 -9;
30532                    }
30533                    image {
30534                        normal: "busy-9.png";
30535                        tween:  "busy-1.png";
30536                        tween:  "busy-2.png";
30537                        tween:  "busy-3.png";
30538                        tween:  "busy-4.png";
30539                        tween:  "busy-5.png";
30540                        tween:  "busy-6.png";
30541                        tween:  "busy-7.png";
30542                        tween:  "busy-8.png";
30543                    }
30544                }
30545            }
30546            part { name: "conf_over";
30547                mouse_events:  0;
30548                description { state: "default" 0.0;
30549                    rel1.offset: 0 0;
30550                    rel2.offset: -1 -1;
30551                    image {
30552                        normal: "shelf_inset.png";
30553                        border: 7 7 7 7;
30554                        middle: 0;
30555                    }
30556                    fill.smooth : 0;
30557                }
30558            }
30559            part { name: "sb_vbar_clip_master";
30560                type: RECT;
30561                mouse_events: 0;
30562                description { state: "default" 0.0;
30563                }
30564                description { state: "hidden" 0.0;
30565                    visible: 0;
30566                    color: 255 255 255 0;
30567                }
30568            }
30569            part { name: "sb_vbar_clip";
30570                clip_to: "sb_vbar_clip_master";
30571                type: RECT;
30572                mouse_events: 0;
30573                description { state: "default" 0.0;
30574                }
30575                description { state: "hidden" 0.0;
30576                    visible: 0;
30577                    color: 255 255 255 0;
30578                }
30579            }
30580            part { name: "sb_vbar";
30581                type: RECT;
30582                mouse_events: 0;
30583                description { state: "default" 0.0;
30584                    fixed: 1 1;
30585                    visible: 0;
30586                    min: 10 17;
30587                    align: 1.0 0.0;
30588                    rel1 {
30589                        relative: 1.0 0.0;
30590                        offset:   -2 0;
30591                    }
30592                    rel2 {
30593                        relative: 1.0 0.0;
30594                        offset:   -2 -1;
30595                        to_y:     "sb_hbar";
30596                    }
30597                }
30598            }
30599            part { name: "elm.dragable.vbar";
30600                clip_to: "sb_vbar_clip";
30601                mouse_events: 0;
30602                dragable {
30603                    x: 0 0 0;
30604                    y: 1 1 0;
30605                    confine: "sb_vbar";
30606                }
30607                description { state: "default" 0.0;
30608                    fixed: 1 1;
30609                    min: 10 17;
30610                    max: 10 99999;
30611                    rel1 {
30612                        relative: 0.5  0.5;
30613                        offset:   0    0;
30614                        to: "sb_vbar";
30615                    }
30616                    rel2 {
30617                        relative: 0.5  0.5;
30618                        offset:   0    0;
30619                        to: "sb_vbar";
30620                    }
30621                    image {
30622                        normal: "bt_sm_base2.png";
30623                        border: 6 6 6 6;
30624                        middle: SOLID;
30625                    }
30626                }
30627            }
30628            part { name: "sb_vbar_over1";
30629                clip_to: "sb_vbar_clip";
30630                mouse_events: 0;
30631                description { state: "default" 0.0;
30632                    rel1.to: "elm.dragable.vbar";
30633                    rel2.relative: 1.0 0.5;
30634                    rel2.to: "elm.dragable.vbar";
30635                    image {
30636                        normal: "bt_sm_hilight.png";
30637                        border: 6 6 6 0;
30638                    }
30639                }
30640            }
30641            part { name: "sb_vbar_over2";
30642                clip_to: "sb_vbar_clip";
30643                mouse_events: 0;
30644                description { state: "default" 0.0;
30645                    rel1.to: "elm.dragable.vbar";
30646                    rel2.to: "elm.dragable.vbar";
30647                    image {
30648                        normal: "bt_sm_shine.png";
30649                        border: 6 6 6 0;
30650                    }
30651                }
30652            }
30653
30654            part { name: "sb_hbar_clip_master";
30655                type: RECT;
30656                mouse_events: 0;
30657                description { state: "default" 0.0;
30658                }
30659                description { state: "hidden" 0.0;
30660                    visible: 0;
30661                    color: 255 255 255 0;
30662                }
30663            }
30664            part { name: "sb_hbar_clip";
30665                clip_to: "sb_hbar_clip_master";
30666                type: RECT;
30667                mouse_events: 0;
30668                description { state: "default" 0.0;
30669                }
30670                description { state: "hidden" 0.0;
30671                    visible: 0;
30672                    color: 255 255 255 0;
30673                }
30674            }
30675            part { name: "sb_hbar";
30676                type: RECT;
30677                mouse_events: 0;
30678                description { state: "default" 0.0;
30679                    fixed: 1 1;
30680                    visible: 0;
30681                    min: 17 10;
30682                    align: 0.0 1.0;
30683                    rel1 {
30684                        relative: 0.0 1.0;
30685                        offset:   0 -2;
30686                    }
30687                    rel2 {
30688                        relative: 0.0 1.0;
30689                        offset:   -1 -2;
30690                        to_x:     "sb_vbar";
30691                    }
30692                }
30693            }
30694            part { name: "elm.dragable.hbar";
30695                clip_to: "sb_hbar_clip";
30696                mouse_events: 0;
30697                dragable {
30698                    x: 1 1 0;
30699                    y: 0 0 0;
30700                    confine: "sb_hbar";
30701                }
30702                description { state: "default" 0.0;
30703                    fixed: 1 1;
30704                    min: 17 10;
30705                    max: 99999 10;
30706                    rel1 {
30707                        relative: 0.5  0.5;
30708                        offset:   0    0;
30709                        to: "sb_hbar";
30710                    }
30711                    rel2 {
30712                        relative: 0.5  0.5;
30713                        offset:   0    0;
30714                        to: "sb_hbar";
30715                    }
30716                    image {
30717                        normal: "bt_sm_base2.png";
30718                        border: 4 4 4 4;
30719                        middle: SOLID;
30720                    }
30721                }
30722            }
30723            part { name: "sb_hbar_over1";
30724                clip_to: "sb_hbar_clip";
30725                mouse_events: 0;
30726                description { state: "default" 0.0;
30727                    rel1.to: "elm.dragable.hbar";
30728                    rel2.relative: 1.0 0.5;
30729                    rel2.to: "elm.dragable.hbar";
30730                    image {
30731                        normal: "bt_sm_hilight.png";
30732                        border: 4 4 4 0;
30733                    }
30734                }
30735            }
30736            part { name: "sb_hbar_over2";
30737                clip_to: "sb_hbar_clip";
30738                mouse_events: 0;
30739                description { state: "default" 0.0;
30740                    rel1.to: "elm.dragable.hbar";
30741                    rel2.to: "elm.dragable.hbar";
30742                    image {
30743                        normal: "bt_sm_shine.png";
30744                        border: 4 4 4 0;
30745                    }
30746                }
30747            }
30748        }
30749        programs {
30750            program { name: "load";
30751                signal: "load";
30752                source: "";
30753                script {
30754                    set_state(PART:"sb_hbar_clip", "hidden", 0.0);
30755                    set_state(PART:"sb_vbar_clip", "hidden", 0.0);
30756                    set_int(sbvis_h, 0);
30757                    set_int(sbvis_v, 0);
30758                    set_int(sbalways_v, 0);
30759                    set_int(sbalways_h, 0);
30760                    set_int(sbvis_timer, 0);
30761                }
30762            }
30763
30764            program { name: "vbar_show";
30765                signal: "elm,action,show,vbar";
30766                source: "elm";
30767                action:  STATE_SET "default" 0.0;
30768                target: "sb_vbar_clip_master";
30769            }
30770            program { name: "vbar_hide";
30771                signal: "elm,action,hide,vbar";
30772                source: "elm";
30773                action:  STATE_SET "hidden" 0.0;
30774                target: "sb_vbar_clip_master";
30775            }
30776            program { name: "vbar_show_always";
30777                signal: "elm,action,show_always,vbar";
30778                source: "elm";
30779                script {
30780                    new v;
30781                    v = get_int(sbvis_v);
30782                    v |= get_int(sbalways_v);
30783                    if (!v) {
30784                        set_int(sbalways_v, 1);
30785                        emit("do-show-vbar", "");
30786                        set_int(sbvis_v, 1);
30787                    }
30788                }
30789            }
30790            program { name: "vbar_show_notalways";
30791                signal: "elm,action,show_notalways,vbar";
30792                source: "elm";
30793                script {
30794                    new v;
30795                    v = get_int(sbalways_v);
30796                    if (v) {
30797                        set_int(sbalways_v, 0);
30798                        v = get_int(sbvis_v);
30799                        if (!v) {
30800                            emit("do-hide-vbar", "");
30801                            set_int(sbvis_v, 0);
30802                        }
30803                    }
30804                }
30805            }
30806            program { name: "sb_vbar_show";
30807                signal: "do-show-vbar";
30808                source: "";
30809                action:  STATE_SET "default" 0.0;
30810                transition: LINEAR 0.5;
30811                target: "sb_vbar_clip";
30812            }
30813            program { name: "sb_vbar_hide";
30814                signal: "do-hide-vbar";
30815                source: "";
30816                action:  STATE_SET "hidden" 0.0;
30817                transition: LINEAR 0.5;
30818                target: "sb_vbar_clip";
30819            }
30820
30821            program { name: "hbar_show";
30822                signal: "elm,action,show,hbar";
30823                source: "elm";
30824                action:  STATE_SET "default" 0.0;
30825                target: "sb_hbar_clip_master";
30826            }
30827            program { name: "hbar_hide";
30828                signal: "elm,action,hide,hbar";
30829                source: "elm";
30830                action:  STATE_SET "hidden" 0.0;
30831                target: "sb_hbar_clip_master";
30832            }
30833            program { name: "hbar_show_always";
30834                signal: "elm,action,show_always,hbar";
30835                source: "elm";
30836                script {
30837                    new v;
30838                    v = get_int(sbvis_h);
30839                    v |= get_int(sbalways_h);
30840                    if (!v) {
30841                        set_int(sbalways_h, 1);
30842                        emit("do-show-hbar", "");
30843                        set_int(sbvis_h, 1);
30844                    }
30845                }
30846            }
30847            program { name: "hbar_show_notalways";
30848                signal: "elm,action,show_notalways,hbar";
30849                source: "elm";
30850                script {
30851                    new v;
30852                    v = get_int(sbalways_h);
30853                    if (v) {
30854                        set_int(sbalways_h, 0);
30855                        v = get_int(sbvis_h);
30856                        if (!v) {
30857                            emit("do-hide-hbar", "");
30858                            set_int(sbvis_h, 0);
30859                        }
30860                    }
30861                }
30862            }
30863            program { name: "sb_hbar_show";
30864                signal: "do-show-hbar";
30865                source: "";
30866                action:  STATE_SET "default" 0.0;
30867                transition: LINEAR 0.5;
30868                target: "sb_hbar_clip";
30869            }
30870            program { name: "sb_hbar_hide";
30871                signal: "do-hide-hbar";
30872                source: "";
30873                action:  STATE_SET "hidden" 0.0;
30874                transition: LINEAR 0.5;
30875                target: "sb_hbar_clip";
30876            }
30877
30878            program { name: "scroll";
30879                signal: "elm,action,scroll";
30880                source: "elm";
30881                script {
30882                    new v;
30883                    v = get_int(sbvis_v);
30884                    v |= get_int(sbalways_v);
30885                    if (!v) {
30886                        emit("do-show-vbar", "");
30887                        set_int(sbvis_v, 1);
30888                    }
30889                    v = get_int(sbvis_h);
30890                    v |= get_int(sbalways_h);
30891                    if (!v) {
30892                        emit("do-show-hbar", "");
30893                        set_int(sbvis_h, 1);
30894                    }
30895                    v = get_int(sbvis_timer);
30896                    if (v > 0) cancel_timer(v);
30897                    v = timer(1.0, "timer0", 0);
30898                    set_int(sbvis_timer, v);
30899                }
30900            }
30901            program { name: "go1";
30902                signal: "elm,state,busy,start";
30903                source: "elm";
30904                action: STATE_SET "active" 0.0;
30905                transition: SINUSOIDAL 1.0;
30906                target:  "busy_clip";
30907            }
30908            program { name: "go2";
30909                signal: "elm,state,busy,start";
30910                source: "elm";
30911                action: STATE_SET "default" 0.0;
30912                transition: LINEAR 0.5;
30913                target: "busy";
30914                after:  "go2";
30915            }
30916            program { name: "stop1";
30917                signal: "elm,state,busy,stop";
30918                source: "elm";
30919                action: STATE_SET "default" 0.0;
30920                transition: SINUSOIDAL 1.0;
30921                target: "busy_clip";
30922                after: "stop2";
30923            }
30924          program { name: "stop2";
30925             action: ACTION_STOP;
30926             target: "go2";
30927          }
30928       }
30929    }
30930
30931    ///////////////////////////////////////////////////////////////////////////////
30932    group { name: "elm/map/base/default";
30933        script {
30934            public sbvis_v, sbvis_h, sbalways_v, sbalways_h, sbvis_timer;
30935            public timer0(val) {
30936                new v;
30937                v = get_int(sbvis_v);
30938                if (v) {
30939                    v = get_int(sbalways_v);
30940                    if (!v) {
30941                        emit("do-hide-vbar", "");
30942                        set_int(sbvis_v, 0);
30943                    }
30944                }
30945                v = get_int(sbvis_h);
30946                if (v) {
30947                    v = get_int(sbalways_h);
30948                    if (!v) {
30949                        emit("do-hide-hbar", "");
30950                        set_int(sbvis_h, 0);
30951                    }
30952                }
30953                set_int(sbvis_timer, 0);
30954                return 0;
30955            }
30956        }
30957        images {
30958            image: "shelf_inset.png" COMP;
30959            image: "bt_sm_base2.png" COMP;
30960            image: "bt_sm_shine.png" COMP;
30961            image: "bt_sm_hilight.png" COMP;
30962            image: "busy-1.png" COMP;
30963            image: "busy-2.png" COMP;
30964            image: "busy-3.png" COMP;
30965            image: "busy-4.png" COMP;
30966            image: "busy-5.png" COMP;
30967            image: "busy-6.png" COMP;
30968            image: "busy-7.png" COMP;
30969            image: "busy-8.png" COMP;
30970            image: "busy-9.png" COMP;
30971        }
30972        parts {
30973            part { name: "bg";
30974                type: RECT;
30975                description { state: "default" 0.0;
30976                    rel1.offset: 1 1;
30977                    rel2.offset: -2 -2;
30978                    color: 255 255 255 0;
30979                }
30980            }
30981            part { name: "clipper";
30982                type: RECT;
30983                mouse_events: 0;
30984                description { state: "default" 0.0;
30985                    rel1.to: "bg";
30986                    rel2.to: "bg";
30987                }
30988            }
30989            part { name: "elm.swallow.content";
30990                clip_to: "clipper";
30991                type: SWALLOW;
30992                description { state: "default" 0.0;
30993                    rel1.offset: 1 1;
30994                    rel2.offset: -2 -2;
30995                }
30996            }
30997            part { name: "busy_clip";
30998                type: RECT;
30999                mouse_events: 0;
31000                description { state: "default" 0.0;
31001                    visible: 0;
31002                    color: 255 255 255 0;
31003                }
31004                description { state: "active" 0.0;
31005                    visible: 1;
31006                    color: 255 255 255 255;
31007                }
31008            }
31009            part { name: "busy";
31010                clip_to: "busy_clip";
31011                mouse_events: 0;
31012                description { state: "default" 0.0;
31013                    fixed: 1 1;
31014                    min: 32 32;
31015                    aspect: 1.0 1.0;
31016                    align: 1.0 1.0;
31017                    aspect_preference: BOTH;
31018                    rel1 {
31019                        relative: 0.9 0.9;
31020                        offset:   -9 -9;
31021                    }
31022                    rel2 {
31023                        relative: 0.9 0.9;
31024                        offset:   -9 -9;
31025                    }
31026                    image {
31027                        normal: "busy-9.png";
31028                        tween:  "busy-1.png";
31029                        tween:  "busy-2.png";
31030                        tween:  "busy-3.png";
31031                        tween:  "busy-4.png";
31032                        tween:  "busy-5.png";
31033                        tween:  "busy-6.png";
31034                        tween:  "busy-7.png";
31035                        tween:  "busy-8.png";
31036                    }
31037                }
31038            }
31039            part { name: "conf_over";
31040                mouse_events:  0;
31041                description { state: "default" 0.0;
31042                    rel1.offset: 0 0;
31043                    rel2.offset: -1 -1;
31044                    image {
31045                        normal: "shelf_inset.png";
31046                        border: 7 7 7 7;
31047                        middle: 0;
31048                    }
31049                    fill.smooth : 0;
31050                }
31051            }
31052            part { name: "sb_vbar_clip_master";
31053                type: RECT;
31054                mouse_events: 0;
31055                description { state: "default" 0.0;
31056                }
31057                description { state: "hidden" 0.0;
31058                    visible: 0;
31059                    color: 255 255 255 0;
31060                }
31061            }
31062            part { name: "sb_vbar_clip";
31063                clip_to: "sb_vbar_clip_master";
31064                type: RECT;
31065                mouse_events: 0;
31066                description { state: "default" 0.0;
31067                }
31068                description { state: "hidden" 0.0;
31069                    visible: 0;
31070                    color: 255 255 255 0;
31071                }
31072            }
31073            part { name: "sb_vbar";
31074                type: RECT;
31075                mouse_events: 0;
31076                description { state: "default" 0.0;
31077                    fixed: 1 1;
31078                    visible: 0;
31079                    min: 10 17;
31080                    align: 1.0 0.0;
31081                    rel1 {
31082                        relative: 1.0 0.0;
31083                        offset:   -2 0;
31084                    }
31085                    rel2 {
31086                        relative: 1.0 0.0;
31087                        offset:   -2 -1;
31088                        to_y:     "sb_hbar";
31089                    }
31090                }
31091            }
31092            part { name: "elm.dragable.vbar";
31093                clip_to: "sb_vbar_clip";
31094                mouse_events: 0;
31095                dragable {
31096                    x: 0 0 0;
31097                    y: 1 1 0;
31098                    confine: "sb_vbar";
31099                }
31100                description { state: "default" 0.0;
31101                    fixed: 1 1;
31102                    min: 10 17;
31103                    max: 10 99999;
31104                    rel1 {
31105                        relative: 0.5  0.5;
31106                        offset:   0    0;
31107                        to: "sb_vbar";
31108                    }
31109                    rel2 {
31110                        relative: 0.5  0.5;
31111                        offset:   0    0;
31112                        to: "sb_vbar";
31113                    }
31114                    image {
31115                        normal: "bt_sm_base2.png";
31116                        border: 6 6 6 6;
31117                        middle: SOLID;
31118                    }
31119                }
31120            }
31121            part { name: "sb_vbar_over1";
31122                clip_to: "sb_vbar_clip";
31123                mouse_events: 0;
31124                description { state: "default" 0.0;
31125                    rel1.to: "elm.dragable.vbar";
31126                    rel2.relative: 1.0 0.5;
31127                    rel2.to: "elm.dragable.vbar";
31128                    image {
31129                        normal: "bt_sm_hilight.png";
31130                        border: 6 6 6 0;
31131                    }
31132                }
31133            }
31134            part { name: "sb_vbar_over2";
31135                clip_to: "sb_vbar_clip";
31136                mouse_events: 0;
31137                description { state: "default" 0.0;
31138                    rel1.to: "elm.dragable.vbar";
31139                    rel2.to: "elm.dragable.vbar";
31140                    image {
31141                        normal: "bt_sm_shine.png";
31142                        border: 6 6 6 0;
31143                    }
31144                }
31145            }
31146
31147            part { name: "sb_hbar_clip_master";
31148                type: RECT;
31149                mouse_events: 0;
31150                description { state: "default" 0.0;
31151                }
31152                description { state: "hidden" 0.0;
31153                    visible: 0;
31154                    color: 255 255 255 0;
31155                }
31156            }
31157            part { name: "sb_hbar_clip";
31158                clip_to: "sb_hbar_clip_master";
31159                type: RECT;
31160                mouse_events: 0;
31161                description { state: "default" 0.0;
31162                }
31163                description { state: "hidden" 0.0;
31164                    visible: 0;
31165                    color: 255 255 255 0;
31166                }
31167            }
31168            part { name: "sb_hbar";
31169                type: RECT;
31170                mouse_events: 0;
31171                description { state: "default" 0.0;
31172                    fixed: 1 1;
31173                    visible: 0;
31174                    min: 17 10;
31175                    align: 0.0 1.0;
31176                    rel1 {
31177                        relative: 0.0 1.0;
31178                        offset:   0 -2;
31179                    }
31180                    rel2 {
31181                        relative: 0.0 1.0;
31182                        offset:   -1 -2;
31183                        to_x:     "sb_vbar";
31184                    }
31185                }
31186            }
31187            part { name: "elm.dragable.hbar";
31188                clip_to: "sb_hbar_clip";
31189                mouse_events: 0;
31190                dragable {
31191                    x: 1 1 0;
31192                    y: 0 0 0;
31193                    confine: "sb_hbar";
31194                }
31195                description { state: "default" 0.0;
31196                    fixed: 1 1;
31197                    min: 17 10;
31198                    max: 99999 10;
31199                    rel1 {
31200                        relative: 0.5  0.5;
31201                        offset:   0    0;
31202                        to: "sb_hbar";
31203                    }
31204                    rel2 {
31205                        relative: 0.5  0.5;
31206                        offset:   0    0;
31207                        to: "sb_hbar";
31208                    }
31209                    image {
31210                        normal: "bt_sm_base2.png";
31211                        border: 4 4 4 4;
31212                        middle: SOLID;
31213                    }
31214                }
31215            }
31216            part { name: "sb_hbar_over1";
31217                clip_to: "sb_hbar_clip";
31218                mouse_events: 0;
31219                description { state: "default" 0.0;
31220                    rel1.to: "elm.dragable.hbar";
31221                    rel2.relative: 1.0 0.5;
31222                    rel2.to: "elm.dragable.hbar";
31223                    image {
31224                        normal: "bt_sm_hilight.png";
31225                        border: 4 4 4 0;
31226                    }
31227                }
31228            }
31229            part { name: "sb_hbar_over2";
31230                clip_to: "sb_hbar_clip";
31231                mouse_events: 0;
31232                description { state: "default" 0.0;
31233                    rel1.to: "elm.dragable.hbar";
31234                    rel2.to: "elm.dragable.hbar";
31235                    image {
31236                        normal: "bt_sm_shine.png";
31237                        border: 4 4 4 0;
31238                    }
31239                }
31240            }
31241        }
31242        programs {
31243            program { name: "load";
31244                signal: "load";
31245                source: "";
31246                script {
31247                    set_state(PART:"sb_hbar_clip", "hidden", 0.0);
31248                    set_state(PART:"sb_vbar_clip", "hidden", 0.0);
31249                    set_int(sbvis_h, 0);
31250                    set_int(sbvis_v, 0);
31251                    set_int(sbalways_v, 0);
31252                    set_int(sbalways_h, 0);
31253                    set_int(sbvis_timer, 0);
31254                }
31255            }
31256
31257            program { name: "vbar_show";
31258                signal: "elm,action,show,vbar";
31259                source: "elm";
31260                action:  STATE_SET "default" 0.0;
31261                target: "sb_vbar_clip_master";
31262            }
31263            program { name: "vbar_hide";
31264                signal: "elm,action,hide,vbar";
31265                source: "elm";
31266                action:  STATE_SET "hidden" 0.0;
31267                target: "sb_vbar_clip_master";
31268            }
31269            program { name: "vbar_show_always";
31270                signal: "elm,action,show_always,vbar";
31271                source: "elm";
31272                script {
31273                    new v;
31274                    v = get_int(sbvis_v);
31275                    v |= get_int(sbalways_v);
31276                    if (!v) {
31277                        set_int(sbalways_v, 1);
31278                        emit("do-show-vbar", "");
31279                        set_int(sbvis_v, 1);
31280                    }
31281                }
31282            }
31283            program { name: "vbar_show_notalways";
31284                signal: "elm,action,show_notalways,vbar";
31285                source: "elm";
31286                script {
31287                    new v;
31288                    v = get_int(sbalways_v);
31289                    if (v) {
31290                        set_int(sbalways_v, 0);
31291                        v = get_int(sbvis_v);
31292                        if (!v) {
31293                            emit("do-hide-vbar", "");
31294                            set_int(sbvis_v, 0);
31295                        }
31296                    }
31297                }
31298            }
31299            program { name: "sb_vbar_show";
31300                signal: "do-show-vbar";
31301                source: "";
31302                action:  STATE_SET "default" 0.0;
31303                transition: LINEAR 0.5;
31304                target: "sb_vbar_clip";
31305            }
31306            program { name: "sb_vbar_hide";
31307                signal: "do-hide-vbar";
31308                source: "";
31309                action:  STATE_SET "hidden" 0.0;
31310                transition: LINEAR 0.5;
31311                target: "sb_vbar_clip";
31312            }
31313
31314            program { name: "hbar_show";
31315                signal: "elm,action,show,hbar";
31316                source: "elm";
31317                action:  STATE_SET "default" 0.0;
31318                target: "sb_hbar_clip_master";
31319            }
31320            program { name: "hbar_hide";
31321                signal: "elm,action,hide,hbar";
31322                source: "elm";
31323                action:  STATE_SET "hidden" 0.0;
31324                target: "sb_hbar_clip_master";
31325            }
31326            program { name: "hbar_show_always";
31327                signal: "elm,action,show_always,hbar";
31328                source: "elm";
31329                script {
31330                    new v;
31331                    v = get_int(sbvis_h);
31332                    v |= get_int(sbalways_h);
31333                    if (!v) {
31334                        set_int(sbalways_h, 1);
31335                        emit("do-show-hbar", "");
31336                        set_int(sbvis_h, 1);
31337                    }
31338                }
31339            }
31340            program { name: "hbar_show_notalways";
31341                signal: "elm,action,show_notalways,hbar";
31342                source: "elm";
31343                script {
31344                    new v;
31345                    v = get_int(sbalways_h);
31346                    if (v) {
31347                        set_int(sbalways_h, 0);
31348                        v = get_int(sbvis_h);
31349                        if (!v) {
31350                            emit("do-hide-hbar", "");
31351                            set_int(sbvis_h, 0);
31352                        }
31353                    }
31354                }
31355            }
31356            program { name: "sb_hbar_show";
31357                signal: "do-show-hbar";
31358                source: "";
31359                action:  STATE_SET "default" 0.0;
31360                transition: LINEAR 0.5;
31361                target: "sb_hbar_clip";
31362            }
31363            program { name: "sb_hbar_hide";
31364                signal: "do-hide-hbar";
31365                source: "";
31366                action:  STATE_SET "hidden" 0.0;
31367                transition: LINEAR 0.5;
31368                target: "sb_hbar_clip";
31369            }
31370
31371            program { name: "scroll";
31372                signal: "elm,action,scroll";
31373                source: "elm";
31374                script {
31375                    new v;
31376                    v = get_int(sbvis_v);
31377                    v |= get_int(sbalways_v);
31378                    if (!v) {
31379                        emit("do-show-vbar", "");
31380                        set_int(sbvis_v, 1);
31381                    }
31382                    v = get_int(sbvis_h);
31383                    v |= get_int(sbalways_h);
31384                    if (!v) {
31385                        emit("do-show-hbar", "");
31386                        set_int(sbvis_h, 1);
31387                    }
31388                    v = get_int(sbvis_timer);
31389                    if (v > 0) cancel_timer(v);
31390                    v = timer(1.0, "timer0", 0);
31391                    set_int(sbvis_timer, v);
31392                }
31393            }
31394            program { name: "go1";
31395                signal: "elm,state,busy,start";
31396                source: "elm";
31397                action: STATE_SET "active" 0.0;
31398                transition: SINUSOIDAL 1.0;
31399                target:  "busy_clip";
31400            }
31401            program { name: "go2";
31402                signal: "elm,state,busy,start";
31403                source: "elm";
31404                action: STATE_SET "default" 0.0;
31405                transition: LINEAR 0.5;
31406                target: "busy";
31407                after:  "go2";
31408            }
31409            program { name: "stop1";
31410                signal: "elm,state,busy,stop";
31411                source: "elm";
31412                action: STATE_SET "default" 0.0;
31413                transition: SINUSOIDAL 1.0;
31414                target: "busy_clip";
31415                after: "stop2";
31416            }
31417          program { name: "stop2";
31418             action: ACTION_STOP;
31419             target: "go2";
31420          }
31421       }
31422    }
31423    group { name: "elm/map/marker/radio/default";
31424         data {
31425             item: size_w 24;
31426             item: size_h 24;
31427             item: size_max_w 58;
31428             item: size_max_h 58;
31429         }
31430         images {
31431                 image: "map_item.png" COMP;
31432         }
31433         parts {
31434             part { name: "whole";
31435                 description { state: "default" 0.0;
31436                 }
31437             }
31438             part { name: "base";
31439                 ignore_flags: ON_HOLD;
31440                 description { state: "default" 0.0;
31441                     image.normal: "map_item.png";
31442                 }
31443             }
31444             part { name: "elm.icon";
31445                 type: SWALLOW;
31446                 clip_to: "whole";
31447                 mouse_events:  0;
31448                 description { state: "default" 0.0;
31449                     rel1.relative: 0.27 0.27;
31450                     rel2.relative: 0.73 0.73;
31451                 }
31452             }
31453             part { name: "elm.text";
31454                 type:          TEXT;
31455                 effect:        SOFT_SHADOW;
31456                 mouse_events:  0;
31457                 scale: 1;
31458                 description { state: "default" 0.0;
31459                     align:    0.5 0.5;
31460                     color: 224 224 224 255;
31461                     color3: 0 0 0 64;
31462                     rel1.relative: 0.28 0.25;
31463                     rel2.relative: 0.75 0.75;
31464                     text {
31465                         font:     "Sans,Edje-Vera";
31466                         size:     10;
31467                         min:      0 0;
31468                         align:    0.5 0.5;
31469                     }
31470                 }
31471             }
31472        }
31473        programs {
31474             program { name: "open";
31475                 signal: "mouse,clicked,1";
31476                 source: "base";
31477                 action: SIGNAL_EMIT "open" "elm";
31478             }
31479             program { name: "bringin";
31480                 signal: "mouse,down,1,double";
31481                 source: "base";
31482                 action: SIGNAL_EMIT "bringin" "elm";
31483             }
31484        }
31485    }
31486    group { name: "elm/map/marker/radio2/default";
31487         data {
31488             item: size_w 24;
31489             item: size_h 24;
31490             item: size_max_w 58;
31491             item: size_max_h 58;
31492         }
31493         images {
31494                 image: "map_item_2.png" COMP;
31495         }
31496         parts {
31497             part { name: "base";
31498                 ignore_flags: ON_HOLD;
31499                 description { state: "default" 0.0;
31500                     image.normal: "map_item_2.png";
31501                 }
31502             }
31503             part { name: "elm.text";
31504                 type:          TEXT;
31505                 effect:        SOFT_SHADOW;
31506                 mouse_events:  0;
31507                 scale: 1;
31508                 description { state: "default" 0.0;
31509                     align:    0.5 0.5;
31510                     color: 224 224 224 255;
31511                     color3: 0 0 0 64;
31512                     rel1.relative: 0.28 0.25;
31513                     rel2.relative: 0.75 0.75;
31514                     text {
31515                         font:     "Sans,Edje-Vera";
31516                         size:     10;
31517                         min:      0 0;
31518                         align:    0.5 0.5;
31519                     }
31520                 }
31521             }
31522        }
31523        programs {
31524             program { name: "open";
31525                 signal: "mouse,clicked,1";
31526                 source: "base";
31527                 action: SIGNAL_EMIT "open" "elm";
31528             }
31529             program { name: "bringin";
31530                 signal: "mouse,down,1,double";
31531                 source: "base";
31532                 action: SIGNAL_EMIT "bringin" "elm";
31533             }
31534        }
31535    }
31536    group { name: "elm/map/marker/empty/default";
31537         data {
31538             item: size_w 22;
31539             item: size_h 22;
31540             item: size_max_w 64;
31541             item: size_max_h 64;
31542         }
31543         parts {
31544             part { name: "whole";
31545                 description { state: "default" 0.0;
31546                 }
31547             }
31548             part { name: "base";
31549                 ignore_flags: ON_HOLD;
31550                 description { state: "default" 0.0;
31551                 }
31552             }
31553             part { name: "elm.icon";
31554                 type: SWALLOW;
31555                 clip_to: "whole";
31556                 mouse_events:  0;
31557                 description { state: "default" 0.0;
31558                 }
31559             }
31560             part { name: "elm.text";
31561                 type:          TEXT;
31562                 effect:        SOFT_SHADOW;
31563                 mouse_events:  0;
31564                 scale: 1;
31565                 description { state: "default" 0.0;
31566                     align:    0.5 0.5;
31567                     color: 224 224 224 255;
31568                     color3: 0 0 0 64;
31569                     rel1.relative: 0.28 0.25;
31570                     rel2.relative: 0.75 0.75;
31571                     text {
31572                         font:     "Sans,Edje-Vera";
31573                         size:     10;
31574                         min:      0 0;
31575                         align:    0.5 0.5;
31576                     }
31577                 }
31578             }
31579        }
31580        programs {
31581             program { name: "open";
31582                 signal: "mouse,clicked,1";
31583                 source: "base";
31584                 action: SIGNAL_EMIT "open" "elm";
31585             }
31586             program { name: "bringin";
31587                 signal: "mouse,down,1,double";
31588                 source: "base";
31589                 action: SIGNAL_EMIT "bringin" "elm";
31590             }
31591        }
31592    }
31593    group { name: "elm/map/marker_bubble/default";
31594     images {
31595       image: "bubble.png" COMP;
31596       image: "bubble_shine.png" COMP;
31597     }
31598     data {
31599             item: size_w 400;
31600             item: size_h 100;
31601         }
31602     parts {
31603     part { name: "clipper";
31604         mouse_events:  1;
31605         description { state: "default" 0.0;
31606           color: 255 255 255 0;
31607         }
31608         description { state: "show" 0.0;
31609             inherit: "default" 0.0;
31610             color: 255 255 255 255;
31611         }
31612       }
31613      part { name: "base0";
31614         mouse_events:  0;
31615         clip_to: "clipper";
31616         description { state: "default" 0.0;
31617           image {
31618             normal: "bubble.png";
31619             border: 11 36 10 19;
31620           }
31621           image.middle: SOLID;
31622           fill.smooth: 0;
31623         }
31624       }
31625       part { name: "elm.swallow.content";
31626         type: SWALLOW;
31627         clip_to: "clipper";
31628         description { state: "default" 0.0;
31629             align: 0.5 0.5;
31630           rel1 {
31631             offset: 9 8;
31632           }
31633           rel2 {
31634             offset: -10 -17;
31635           }
31636         }
31637       }
31638       part { name: "shine";
31639         mouse_events:  0;
31640         clip_to: "clipper";
31641         description { state:    "default" 0.0;
31642           rel1 {
31643             to: "base0";
31644           }
31645           rel2 {
31646             to: "base0";
31647             relative: 1.0 0.5;
31648           }
31649           image {
31650             normal: "bubble_shine.png";
31651             border: 5 5 5 0;
31652           }
31653           fill.smooth: 0;
31654         }
31655         }
31656     }
31657     programs {
31658         program { name: "show";
31659             signal: "show";
31660             action: STATE_SET "show" 0.0;
31661             target: "clipper";
31662             transition: ACCELERATE 0.5;
31663         }
31664     }
31665   }
31666
31667 /////////////////////////////////////////////////////////////////////////////
31668 // PANES
31669 /////////////////////////////////////////////////////////////////////////////
31670   group {
31671      name: "elm/panes/vertical/default";
31672       images {
31673          image: "bt_base1.png" COMP;
31674          image: "bt_base2.png" COMP;
31675          image: "bt_hilight.png" COMP;
31676          image: "bt_shine.png" COMP;
31677          image: "bt_glow.png" COMP;
31678          image: "bt_dis_base.png" COMP;
31679          image: "bt_dis_hilight.png" COMP;
31680          image: "arrow_right.png" COMP;
31681          image: "arrow_left.png" COMP;
31682       }
31683      script {
31684         public state_pair = 0; //0:both content are not set, 1:both content are set
31685      }
31686      parts
31687        {
31688           part
31689             {
31690                name: "whole";
31691                type: RECT;
31692                mouse_events: 1;
31693                description
31694                  {
31695                     state: "default" 0.0;
31696                     visible: 0;
31697                  }
31698             }
31699
31700          //2 contents
31701           part
31702             {
31703                name: "whole_left";
31704                type: RECT;
31705                mouse_events: 0;
31706                description
31707                  {
31708                     state: "default" 0.0;
31709                     rel2.to_x: "elm.bar";
31710                     rel2.relative: 0.0 1.0;
31711                     visible: 1;
31712                  }
31713             }
31714           part
31715             {
31716                name: "elm.swallow.left";
31717                type: SWALLOW;
31718                clip_to: "whole_left";
31719                description
31720                  {
31721                     state: "default" 0.0;
31722                     rel1.to: "whole_left";
31723                     rel2.to: "whole_left";
31724                  }
31725             }
31726
31727             part
31728             {
31729                name: "whole_right";
31730                type: RECT;
31731                mouse_events: 0;
31732                description
31733                  {
31734                     state: "default" 0.0;
31735                     rel1.to_x: "elm.bar";
31736                     rel1.relative: 1.0 0.0;
31737                     visible: 1;
31738                  }
31739             }
31740           part
31741             {
31742                name: "elm.swallow.right";
31743                type: SWALLOW;
31744                clip_to: "whole_right";
31745                description
31746                  {
31747                     state: "default" 0.0;
31748                     rel1.to: "whole_right";
31749                     rel2.to: "whole_right";
31750                  }
31751             }
31752          //BAR
31753          part { name: "elm.bar";
31754             mouse_events: 1;
31755             dragable {
31756                confine: "whole";
31757                x: 1 1 1;
31758                y: 0 0 0;
31759             }
31760             description { state: "default" 0.0;
31761                max: 0 999;
31762                min: 0 100;
31763                rel1.relative: 0.0 0.5;
31764                rel2.relative: 1.0 0.5;
31765                image {
31766                   normal: "bt_base2.png";
31767                   border: 7 7 7 7;
31768                }
31769                image.middle: SOLID;
31770             }
31771        description { state: "default" 0.1;
31772           inherit: "default" 0.0;
31773           max: 15 999;
31774           min: 15 100;
31775        }
31776             description { state: "clicked" 0.0;
31777                inherit: "default" 0.0;
31778                image.normal: "bt_base1.png";
31779                image.middle: SOLID;
31780             }
31781        description { state: "clicked" 0.1;
31782           inherit: "default" 0.1;
31783           image.normal: "bt_base1.png";
31784           image.middle: SOLID;
31785        }
31786             description { state: "disabled" 0.0;
31787                inherit:  "default" 0.0;
31788                image {
31789                   normal: "bt_dis_base.png";
31790                   border: 4 4 4 4;
31791                }
31792             }
31793        description { state: "disabled" 0.1;
31794           inherit:  "default" 0.1;
31795           image {
31796              normal: "bt_dis_base.png";
31797              border: 4 4 4 4;
31798          }
31799       }
31800          }
31801          part {   name: "over1";
31802             mouse_events: 0;
31803             description { state: "default" 0.0;
31804             rel1.to: "elm.bar";
31805             rel2.to: "elm.bar";
31806                rel2.relative: 1.0 0.5;
31807                image {
31808                   normal: "bt_hilight.png";
31809                   border: 7 7 7 0;
31810                }
31811             }
31812             description { state: "disabled" 0.0;
31813                inherit:  "default" 0.0;
31814                image {
31815                   normal: "bt_dis_hilight.png";
31816                   border: 4 4 4 0;
31817                }
31818             }
31819          }
31820          part { name: "over2";
31821             mouse_events: 1;
31822             repeat_events: 1;
31823             ignore_flags: ON_HOLD;
31824             description { state: "default" 0.0;
31825             rel1.to: "elm.bar";
31826             rel2.to: "elm.bar";
31827                image {
31828                   normal: "bt_shine.png";
31829                   border: 7 7 7 7;
31830                }
31831             }
31832             description { state: "disabled" 0.0;
31833                inherit:  "default" 0.0;
31834                visible: 0;
31835             }
31836          }
31837          part { name: "over3";
31838             mouse_events: 1;
31839             repeat_events: 1;
31840             description { state: "default" 0.0;
31841                color: 255 255 255 0;
31842             rel1.to: "elm.bar";
31843             rel2.to: "elm.bar";
31844                image {
31845                   normal: "bt_glow.png";
31846                   border: 12 12 12 12;
31847                }
31848                fill.smooth : 0;
31849             }
31850             description { state: "clicked" 0.0;
31851                inherit:  "default" 0.0;
31852                visible: 1;
31853                color: 255 255 255 255;
31854             }
31855          }
31856
31857          //Arrow
31858          part {
31859             name: "arrow_right";
31860             mouse_events: 0;
31861             description { state: "default" 0.0;
31862                 min: 45 45;
31863                 max: 45 45;
31864                 color: 255 255 255 0;
31865
31866                 rel1.relative: 1.0 0.5;
31867                 rel1.to_x: "elm.bar";
31868                 rel1.offset: 45/2 -45/2;
31869
31870                 rel2.relative: 1.0 0.5;
31871                 rel2.to_x: "elm.bar";
31872                 rel2.offset: 45/2 45/2;
31873
31874                 image.normal: "arrow_right.png";
31875
31876                 fixed: 1 1;
31877             }
31878             description { state: "anim_1" 0.0;
31879                 inherit: "default" 0.0;
31880                 color: 255 255 255 200;
31881                 rel1.offset: (45/2 + 10) -45/2;
31882                 rel2.offset: (45/2 +10) 45/2;
31883             }
31884             description { state: "anim_2" 0.0;
31885                 inherit: "default" 0.0;
31886                 color: 255 255 255 0;
31887                 rel1.offset: (45/2 + 20) -45/2;
31888                 rel2.offset: (45/2 + 20) 45/2;
31889             }
31890          }
31891         part {
31892             name: "arrow_left";
31893             mouse_events: 0;
31894             description { state: "default" 0.0;
31895                 min: 45 45;
31896                 max: 45 45;
31897                 color: 255 255 255 0;
31898
31899                 rel1.relative: 0.0 0.5;
31900                 rel1.to_x: "elm.bar";
31901                 rel1.offset: -45/2 -45/2;
31902
31903                 rel2.relative: 0.0 0.5;
31904                 rel2.to_x: "elm.bar";
31905                 rel2.offset: -45/2 45/2;
31906
31907                 image.normal: "arrow_left.png";
31908
31909                 fixed: 1 1;
31910             }
31911             description { state: "anim_1" 0.0;
31912                 inherit: "default" 0.0;
31913                 color: 255 255 255 200;
31914                 rel1.offset: (-45/2 - 10) -45/2;
31915                 rel2.offset: (-45/2 - 10) 45/2;
31916             }
31917             description { state: "anim_2" 0.0;
31918                 inherit: "default" 0.0;
31919                 color: 255 255 255 0;
31920                 rel1.offset: (-45/2 - 20) -45/2;
31921                 rel2.offset: (-45/2 - 20) 45/2;
31922             }
31923          }
31924          part { name: "movement.decider";
31925             mouse_events: 1;
31926             description { state: "default" 0.0;
31927                rel1.to: "elm.bar";
31928                rel2.to: "elm.bar";
31929                visible: 0;
31930             }
31931             description { state: "disabled" 0.0;
31932                inherit: "default" 0.0;
31933                visible: 1;
31934             }
31935          }
31936
31937        }
31938         programs {
31939          program {
31940             name:   "button_click";
31941             signal: "mouse,down,1";
31942             source: "over2";
31943             action: SIGNAL_EMIT "elm,action,press" "";
31944             after: "button_click_anim";
31945             after: "arrow_anim_start";
31946          }
31947          program {
31948             name:   "button_click_anim";
31949        script {
31950           if(get_int(state_pair) == 1)
31951              set_state(PART:"elm.bar", "clicked", 0.1);
31952           else
31953              set_state(PART:"elm.bar", "clicked", 0.0);                         
31954        }
31955          }
31956          program {
31957             name:   "button_unclick";
31958             signal: "mouse,up,1";
31959             source: "over2";
31960             action: SIGNAL_EMIT "elm,action,unpress" "";
31961             after: "button_unclick_anim";
31962             after: "arrow_anim_stop";
31963          }
31964          program {
31965             name:   "button_unclick_anim";
31966           script {
31967           if(get_int(state_pair) == 1)
31968              set_state(PART:"elm.bar", "default", 0.1);
31969           else
31970              set_state(PART:"elm.bar", "default", 0.0);                         
31971        }
31972          }
31973          program {
31974             name:   "button_click2";
31975             signal: "mouse,down,1";
31976             source: "over3";
31977             action: STATE_SET "clicked" 0.0;
31978             target: "over3";
31979          }
31980          program {
31981             name:   "button_unclick2";
31982             signal: "mouse,up,1";
31983             source: "over3";
31984             action: STATE_SET "default" 0.0;
31985             transition: DECELERATE 0.5;
31986             target: "over3";
31987          }
31988          program {
31989             name:   "button_unclick3";
31990             signal: "mouse,up,1";
31991             source: "over2";
31992             action: SIGNAL_EMIT "elm,action,click" "";
31993          }
31994          program {
31995             name:   "button_down_double";
31996             signal: "mouse,down,1,double";
31997             source: "over3";
31998             action: SIGNAL_EMIT "elm,action,click,double" "";
31999          }
32000
32001          //arrows animation
32002          program {
32003             name: "arrow_anim_start";
32004             action: STATE_SET "anim_1" 0.0;
32005             target: "arrow_right";
32006             target: "arrow_left";
32007             transition: LINEAR 0.6;
32008             after: "arrow_anim_1";
32009          }
32010          program {
32011             name: "arrow_anim_1";
32012             action: STATE_SET "anim_2" 0.0;
32013             target: "arrow_right";
32014             target: "arrow_left";
32015             transition: LINEAR 0.6;
32016             after: "arrow_anim_2";
32017          }
32018          program {
32019             name: "arrow_anim_2";
32020             action: STATE_SET "default" 0.0;
32021             target: "arrow_right";
32022             target: "arrow_left";
32023             after: "arrow_anim_start";
32024          }
32025          program {
32026             name: "arrow_anim_stop";
32027             action: ACTION_STOP;
32028             target: "arrow_anim_start";
32029             target: "arrow_anim_1";
32030             target: "arrow_anim_2";
32031             after: "arrow_anim_stop_1";
32032          }
32033          program {
32034             name: "arrow_anim_stop_1";
32035             action: STATE_SET "default" 0.0;
32036             target: "arrow_right";
32037             target: "arrow_left";
32038             transition: DECELERATE 0.4;
32039         }
32040         //fix the pane
32041         program {
32042            name:   "panes_fixed";
32043            signal: "elm.panes.fixed";
32044            source: "elm";
32045            action: STATE_SET "disabled" 0.0;
32046            target: "movement.decider";
32047            target: "elm.bar";
32048         }
32049         //allow the movement by interaction
32050         program {
32051            name:   "panes_unfixed";
32052            signal: "elm.panes.unfixed";
32053            source: "elm";
32054            action: STATE_SET "default" 0.0;
32055            target: "movement.decider";
32056            target: "elm.bar";
32057         }
32058         program {
32059            name:   "panes_pair";
32060            signal: "elm.panes.pair";
32061            source: "elm";
32062            script {
32063               new st[31];
32064               new Float:vl;
32065               set_int(state_pair, 1);
32066               get_state(PART:"elm.bar", st, 30, vl);
32067               set_state(PART:"elm.bar", st, 0.1);
32068            }
32069         }
32070         program {
32071            name:   "panes_unpair";
32072            signal: "elm.panes.unpair";
32073            source: "elm";
32074            script {
32075               new st[31];
32076               new Float:vl;
32077               set_int(state_pair, 0);
32078               get_state(PART:"elm.bar", st, 30, vl);
32079               set_state(PART:"elm.bar", st, 0.0);
32080            }
32081         }
32082       }
32083   }
32084
32085   group {
32086      name: "elm/panes/horizontal/default";
32087       images {
32088          image: "bt_base1.png" COMP;
32089          image: "bt_base2.png" COMP;
32090          image: "bt_hilight.png" COMP;
32091          image: "bt_shine.png" COMP;
32092          image: "bt_glow.png" COMP;
32093          image: "bt_dis_base.png" COMP;
32094          image: "bt_dis_hilight.png" COMP;
32095          image: "arrow_up.png" COMP;
32096          image: "arrow_down.png" COMP;
32097       }
32098      script {
32099         public state_pair = 0; //0:both content are not set, 1:both content are set
32100      }
32101      parts
32102        {
32103           part
32104             {
32105                name: "whole";
32106                type: RECT;
32107                mouse_events: 1;
32108                description
32109                  {
32110                     state: "default" 0.0;
32111                     visible: 0;
32112                  }
32113             }
32114
32115          //2 contents
32116           part
32117             {
32118                name: "whole_left";
32119                type: RECT;
32120                mouse_events: 0;
32121                description
32122                  {
32123                     state: "default" 0.0;
32124                     rel2.to_y: "elm.bar";
32125                     rel2.relative: 1.0 0.0;
32126                     visible: 1;
32127                  }
32128             }
32129           part
32130             {
32131                name: "elm.swallow.left";
32132                type: SWALLOW;
32133                clip_to: "whole_left";
32134                description
32135                  {
32136                     state: "default" 0.0;
32137                     rel1.to: "whole_left";
32138                     rel2.to: "whole_left";
32139                  }
32140             }
32141
32142             part
32143             {
32144                name: "whole_right";
32145                type: RECT;
32146                mouse_events: 0;
32147                description
32148                  {
32149                     state: "default" 0.0;
32150                     rel1.to_y: "elm.bar";
32151                     rel1.relative: 0.0 1.0;
32152                     visible: 1;
32153                  }
32154             }
32155           part
32156             {
32157                name: "elm.swallow.right";
32158                type: SWALLOW;
32159                clip_to: "whole_right";
32160                description
32161                  {
32162                     state: "default" 0.0;
32163                     rel1.to: "whole_right";
32164                     rel2.to: "whole_right";
32165                  }
32166             }
32167          //BAR
32168          part { name: "elm.bar";
32169             mouse_events: 1;
32170             dragable {
32171                confine: "whole";
32172                x: 0 0 0;
32173                y: 1 1 1;
32174             }
32175             description { state: "default" 0.0;
32176                max: 999 0;
32177                min: 100 0;
32178                rel1.relative: 0.5 0.0;
32179                rel2.relative: 0.5 1.0;
32180                image {
32181                   normal: "bt_base2.png";
32182                   border: 7 7 7 7;
32183                }
32184                image.middle: SOLID;
32185             }
32186        description { state: "default" 0.1;
32187           inherit: "default" 0.0;
32188           max: 999 15;
32189           min: 100 15;
32190        }
32191             description { state: "clicked" 0.0;
32192                inherit: "default" 0.0;
32193                image.normal: "bt_base1.png";
32194                image.middle: SOLID;
32195             }
32196        description { state: "clicked" 0.1;
32197           inherit: "default" 0.1;
32198           image.normal: "bt_base1.png";
32199           image.middle: SOLID;
32200        }
32201             description { state: "disabled" 0.0;
32202                inherit:  "default" 0.0;
32203                image {
32204                   normal: "bt_dis_base.png";
32205                   border: 4 4 4 4;
32206                }
32207             }
32208        description { state: "disabled" 0.1;
32209           inherit:  "default" 0.1;
32210           image {
32211              normal: "bt_dis_base.png";
32212              border: 4 4 4 4;
32213           }
32214        }
32215          }
32216          part {   name: "over1";
32217             mouse_events: 0;
32218             description { state: "default" 0.0;
32219             rel1.to: "elm.bar";
32220             rel2.to: "elm.bar";
32221                rel2.relative: 1.0 0.5;
32222                image {
32223                   normal: "bt_hilight.png";
32224                   border: 7 7 7 0;
32225                }
32226             }
32227             description { state: "disabled" 0.0;
32228                inherit:  "default" 0.0;
32229                image {
32230                   normal: "bt_dis_hilight.png";
32231                   border: 4 4 4 0;
32232                }
32233             }
32234          }
32235          part { name: "over2";
32236             mouse_events: 1;
32237             repeat_events: 1;
32238             ignore_flags: ON_HOLD;
32239             description { state: "default" 0.0;
32240             rel1.to: "elm.bar";
32241             rel2.to: "elm.bar";
32242                image {
32243                   normal: "bt_shine.png";
32244                   border: 7 7 7 7;
32245                }
32246             }
32247             description { state: "disabled" 0.0;
32248                inherit:  "default" 0.0;
32249                visible: 0;
32250             }
32251          }
32252          part { name: "over3";
32253             mouse_events: 1;
32254             repeat_events: 1;
32255             description { state: "default" 0.0;
32256                color: 255 255 255 0;
32257             rel1.to: "elm.bar";
32258             rel2.to: "elm.bar";
32259                image {
32260                   normal: "bt_glow.png";
32261                   border: 12 12 12 12;
32262                }
32263                fill.smooth : 0;
32264             }
32265             description { state: "clicked" 0.0;
32266                inherit:  "default" 0.0;
32267                visible: 1;
32268                color: 255 255 255 255;
32269             }
32270          }
32271
32272          //Arrow
32273          part {
32274             name: "arrow_right";
32275             mouse_events: 0;
32276             description { state: "default" 0.0;
32277                 min: 45 45;
32278                 max: 45 45;
32279                 color: 255 255 255 0;
32280
32281                 rel1.relative: 0.5 1.0;
32282                 rel1.to_y: "elm.bar";
32283                 rel1.offset: -45/2 45/2;
32284
32285                 rel2.relative: 0.5 1.0;
32286                 rel2.to_y: "elm.bar";
32287                 rel2.offset: 45/2 45/2;
32288
32289                 image.normal: "arrow_down.png";
32290
32291                 fixed: 1 1;
32292             }
32293             description { state: "anim_1" 0.0;
32294                 inherit: "default" 0.0;
32295                 color: 255 255 255 200;
32296                 rel1.offset: -45/2 (45/2 +10);
32297                 rel2.offset: 45/2 (45/2 +10);
32298             }
32299             description { state: "anim_2" 0.0;
32300                 inherit: "default" 0.0;
32301                 color: 255 255 255 0;
32302                 rel1.offset: -45/2 (45/2 + 20);
32303                 rel2.offset: 45/2 (45/2 + 20);
32304             }
32305          }
32306         part {
32307             name: "arrow_left";
32308             mouse_events: 0;
32309             description { state: "default" 0.0;
32310                 min: 45 45;
32311                 max: 45 45;
32312                 color: 255 255 255 0;
32313
32314                 rel1.relative: 0.5 0.0;
32315                 rel1.to_y: "elm.bar";
32316                 rel1.offset: -45/2 -45/2;
32317
32318                 rel2.relative: 0.5 0.0;
32319                 rel2.to_y: "elm.bar";
32320                 rel2.offset: 45/2 -45/2;
32321
32322                 image.normal: "arrow_up.png";
32323
32324                 fixed: 1 1;
32325             }
32326             description { state: "anim_1" 0.0;
32327                 inherit: "default" 0.0;
32328                 color: 255 255 255 200;
32329                 rel1.offset: -45/2 (-45/2 - 10);
32330                 rel2.offset: 45/2 (-45/2 - 10);
32331             }
32332             description { state: "anim_2" 0.0;
32333                 inherit: "default" 0.0;
32334                 color: 255 255 255 0;
32335                 rel1.offset: -45/2 (-45/2 - 20);
32336                 rel2.offset: 45/2 (-45/2 - 20);
32337             }
32338          }
32339          part {
32340             name: "movement.decider";
32341             mouse_events: 1;
32342             description { state: "default" 0.0;
32343                rel1.to: "elm.bar";
32344                rel2.to: "elm.bar";
32345                visible: 0;
32346             }
32347             description { state: "disabled" 0.0;
32348                inherit: "default" 0.0;
32349                visible: 1;
32350             }
32351          }
32352
32353        }
32354         programs {
32355          program {
32356             name:   "button_click";
32357             signal: "mouse,down,1";
32358             source: "over2";
32359             action: SIGNAL_EMIT "elm,action,press" "";
32360             after: "button_click_anim";
32361             after: "arrow_anim_start";
32362          }
32363     program {
32364        name:   "button_click_anim";
32365        script {
32366           if(get_int(state_pair) == 1)
32367              set_state(PART:"elm.bar", "clicked", 0.1);
32368           else
32369              set_state(PART:"elm.bar", "clicked", 0.0);                         
32370        }
32371     }
32372          program {
32373             name:   "button_unclick";
32374             signal: "mouse,up,1";
32375             source: "over2";
32376             action: SIGNAL_EMIT "elm,action,unpress" "";
32377             after: "button_unclick_anim";
32378             after: "arrow_anim_stop";
32379          }
32380     program {
32381        name:   "button_unclick_anim";
32382        script {
32383           if(get_int(state_pair) == 1)
32384              set_state(PART:"elm.bar", "default", 0.1);
32385           else
32386              set_state(PART:"elm.bar", "default", 0.0);                         
32387        }
32388     }
32389          program {
32390             name:   "button_click2";
32391             signal: "mouse,down,1";
32392             source: "over3";
32393             action: STATE_SET "clicked" 0.0;
32394             target: "over3";
32395          }
32396          program {
32397             name:   "button_unclick2";
32398             signal: "mouse,up,1";
32399             source: "over3";
32400             action: STATE_SET "default" 0.0;
32401             transition: DECELERATE 0.5;
32402             target: "over3";
32403          }
32404          program {
32405             name:   "button_unclick3";
32406             signal: "mouse,up,1";
32407             source: "over2";
32408             action: SIGNAL_EMIT "elm,action,click" "";
32409          }
32410          program {
32411             name:   "button_down_double";
32412             signal: "mouse,down,1,double";
32413             source: "over3";
32414             action: SIGNAL_EMIT "elm,action,click,double" "";
32415          }
32416
32417          //arrows animation
32418          program {
32419             name: "arrow_anim_start";
32420             action: STATE_SET "anim_1" 0.0;
32421             target: "arrow_right";
32422             target: "arrow_left";
32423             transition: LINEAR 0.6;
32424             after: "arrow_anim_1";
32425          }
32426          program {
32427             name: "arrow_anim_1";
32428             action: STATE_SET "anim_2" 0.0;
32429             target: "arrow_right";
32430             target: "arrow_left";
32431             transition: LINEAR 0.6;
32432             after: "arrow_anim_2";
32433          }
32434          program {
32435             name: "arrow_anim_2";
32436             action: STATE_SET "default" 0.0;
32437             target: "arrow_right";
32438             target: "arrow_left";
32439             after: "arrow_anim_start";
32440          }
32441          program {
32442             name: "arrow_anim_stop";
32443             action: ACTION_STOP;
32444             target: "arrow_anim_start";
32445             target: "arrow_anim_1";
32446             target: "arrow_anim_2";
32447             after: "arrow_anim_stop_1";
32448          }
32449          program {
32450             name: "arrow_anim_stop_1";
32451             action: STATE_SET "default" 0.0;
32452             target: "arrow_right";
32453             target: "arrow_left";
32454             transition: DECELERATE 0.4;
32455         }
32456         //fix the pane
32457         program {
32458            name:   "panes_fixed";
32459            signal: "elm.panes.fixed";
32460            source: "elm";
32461            action: STATE_SET "disabled" 0.0;
32462            target: "movement.decider";
32463            target: "elm.bar";
32464         }
32465         //allow the movement by interaction
32466         program {
32467            name:   "panes_unfixed";
32468            signal: "elm.panes.unfixed";
32469            source: "elm";
32470            action: STATE_SET "default" 0.0;
32471            target: "movement.decider";
32472            target: "elm.bar";
32473         }
32474         program {
32475            name:   "panes_pair";
32476            signal: "elm.panes.pair";
32477            source: "elm";
32478            script {
32479               new st[31];
32480               new Float:vl;
32481               set_int(state_pair, 1);
32482               get_state(PART:"elm.bar", st, 30, vl);
32483               set_state(PART:"elm.bar", st, 0.1);
32484            }
32485         }
32486         program {
32487            name:   "panes_unpair";
32488            signal: "elm.panes.unpair";
32489            source: "elm";
32490            script {
32491               new st[31];
32492               new Float:vl;
32493               set_int(state_pair, 0);
32494               get_state(PART:"elm.bar", st, 30, vl);
32495               set_state(PART:"elm.bar", st, 0.0);
32496            }
32497         }
32498       }
32499   }
32500
32501
32502
32503 /////////////////////////////////////////////////////////////////////////////
32504 // PANEL
32505 /////////////////////////////////////////////////////////////////////////////
32506   group {
32507      name: "elm/panel/base/left";
32508      alias: "elm/panel/base/top";
32509      images
32510        {
32511           image: "bt_base1.png" COMP;
32512           image: "bt_hilight.png" COMP;
32513           image: "bt_shine.png" COMP;
32514           image: "bt_glow.png" COMP;
32515           image: "bt_dis_base.png" COMP;
32516           image: "icon_arrow_left.png" COMP;
32517           image: "icon_arrow_right.png" COMP;
32518        }
32519        data {
32520           item: "focus_highlight" "on";
32521        }
32522      parts
32523        {
32524             part { name: "focus_highlight";
32525                description { state: "default" 0.0;
32526                   visible: 0;
32527                   color: 255 255 255 0;
32528                   rel1 {
32529                      to: "btn";
32530                      offset: -8 -8;
32531                   }
32532                   rel2 {
32533                      to: "btn";
32534                      offset: 7 7;
32535                   }
32536                   image {
32537                      normal: "frame_2.png";
32538                      border: 5 5 32 26;
32539                      middle: 0;
32540                   }
32541                }
32542                description { state: "enabled" 0.0;
32543                   inherit: "default" 0.0;
32544                   visible: 1;
32545                   color: 255 255 255 255;
32546                }
32547             }
32548           part
32549             {
32550                name: "bg";
32551                type: RECT;
32552                mouse_events: 0;
32553                description
32554                  {
32555                     state: "default" 0.0;
32556                     color: 255 255 255 0;
32557                     rel1.relative: 0.0 0.0;
32558                     rel1.offset: 0 0;
32559                     rel2.relative: 1.0 1.0;
32560                     rel2.offset: -1 -1;
32561                  }
32562                description
32563                  {
32564                     state: "hidden" 0.0;
32565                     inherit: "default" 0.0;
32566                     rel1.relative: -1.0 0.0;
32567                     rel1.offset: 21 0;
32568                     rel2.relative: 0.0 1.0;
32569                     rel2.offset: 20 -1;
32570                  }
32571             }
32572           part
32573             {
32574                name: "base";
32575                type: IMAGE;
32576                mouse_events: 0;
32577                description
32578                  {
32579                     state: "default" 0.0;
32580                     rel1.to: "bg";
32581                     rel2.to: "bg";
32582                     rel2.offset: -20 -1;
32583                     image
32584                       {
32585                          normal: "bt_dis_base.png";
32586                          border: 4 4 4 4;
32587                       }
32588                  }
32589             }
32590           part
32591             {
32592                name: "clipper";
32593                type: RECT;
32594                mouse_events: 0;
32595                description
32596                  {
32597                     state: "default" 0.0;
32598                     rel1
32599                       {
32600                          offset: 4 4;
32601                          to: "base";
32602                       }
32603                     rel2
32604                       {
32605                          offset: -5 -5;
32606                          to: "base";
32607                       }
32608                  }
32609             }
32610           part
32611             {
32612                name: "elm.swallow.content";
32613                type: SWALLOW;
32614                clip_to: "clipper";
32615                description
32616                  {
32617                     state: "default" 0.0;
32618                     rel1.to: "clipper";
32619                     rel2.to: "clipper";
32620                  }
32621             }
32622           part
32623             {
32624                name: "btn";
32625                type: IMAGE;
32626                mouse_events: 1;
32627                description
32628                  {
32629                     state: "default" 0.0;
32630                     max: 32 48;
32631                     fixed: 1 1;
32632                     align: 0.0 0.5;
32633                     rel1
32634                       {
32635                          relative: 1.0 0.0;
32636                          offset: -3 0;
32637                          to_x: "base";
32638                       }
32639                     rel2.to_x: "bg";
32640                     image
32641                       {
32642                          normal: "bt_base1.png";
32643                          border: 0 5 4 12;
32644                       }
32645                     fill.smooth: 0;
32646                  }
32647                description
32648                  {
32649                     state: "clicked" 0.0;
32650                     inherit: "default" 0.0;
32651                  }
32652             }
32653           part
32654             {
32655                name: "btn_over";
32656                type: IMAGE;
32657                mouse_events: 0;
32658                description
32659                  {
32660                     state: "default" 0.0;
32661                     rel1.to: "btn";
32662                     rel2
32663                       {
32664                          relative: 1.0 0.5;
32665                          to: "btn";
32666                       }
32667                     image
32668                       {
32669                          normal: "bt_hilight.png";
32670                          border: 0 7 7 0;
32671                       }
32672                  }
32673             }
32674           part
32675             {
32676                name: "btn_over2";
32677                type: IMAGE;
32678                mouse_events: 1;
32679                repeat_events: 1;
32680                ignore_flags: ON_HOLD;
32681                description
32682                  {
32683                     state: "default" 0.0;
32684                     rel1.to: "btn";
32685                     rel2.to: "btn";
32686                     image
32687                       {
32688                          normal: "bt_shine.png";
32689                          border: 0 7 7 7;
32690                     }
32691                  }
32692             }
32693           part
32694             {
32695                name: "btn_over3";
32696                type: IMAGE;
32697                mouse_events: 1;
32698                repeat_events: 1;
32699                description
32700                  {
32701                     state: "default" 0.0;
32702                     color: 255 255 255 0;
32703                     rel1.to: "btn";
32704                     rel2.to: "btn";
32705                     image
32706                       {
32707                        normal: "bt_glow.png";
32708                        border: 12 12 12 12;
32709                     }
32710                   fill.smooth: 0;
32711                }
32712              description
32713                {
32714                   state: "clicked" 0.0;
32715                   inherit: "default" 0.0;
32716                   visible: 1;
32717                   color: 255 255 255 255;
32718                }
32719             }
32720           part
32721             {
32722                name: "btn_icon";
32723                type: IMAGE;
32724                repeat_events: 1;
32725                description
32726                  {
32727                     state: "default" 0.0;
32728                     rel1.to: "btn";
32729                     rel2.to: "btn";
32730                     align: 0.5 0.5;
32731                     min: 16 16;
32732                     max: 16 16;
32733                     image.normal: "icon_arrow_left.png";
32734                  }
32735                description
32736                  {
32737                     state: "hidden" 0.0;
32738                     inherit: "default" 0.0;
32739                     image.normal: "icon_arrow_right.png";
32740                  }
32741             }
32742        }
32743      programs
32744        {
32745           program
32746             {
32747                name: "show";
32748                signal: "elm,action,show";
32749                source: "elm";
32750                action: STATE_SET "default" 0.0;
32751                target: "bg";
32752                target: "btn_icon";
32753                transition: LINEAR 0.5;
32754             }
32755           program
32756             {
32757                name: "hide";
32758                signal: "elm,action,hide";
32759                source: "elm";
32760                action: STATE_SET "hidden" 0.0;
32761                target: "bg";
32762                target: "btn_icon";
32763                transition: LINEAR 0.5;
32764             }
32765           program
32766             {
32767                name: "btn_click";
32768                signal: "mouse,down,1";
32769                source: "btn_over2";
32770                action: STATE_SET "clicked" 0.0;
32771                target: "btn";
32772             }
32773           program
32774             {
32775                name: "btn_unclick";
32776                signal: "mouse,up,1";
32777                source: "btn_over2";
32778                action: STATE_SET "default" 0.0;
32779                target: "btn";
32780             }
32781           program
32782             {
32783                name: "btn_click2";
32784                signal: "mouse,down,1";
32785                source: "btn_over3";
32786                action: STATE_SET "clicked" 0.0;
32787                target: "btn_over3";
32788             }
32789           program
32790             {
32791                name: "btn_unclick2";
32792                signal: "mouse,up,1";
32793                source: "btn_over3";
32794                action: STATE_SET "default" 0.0;
32795                transition: DECELERATE 0.5;
32796                target: "btn_over3";
32797             }
32798           program
32799             {
32800                name: "btn_unclick3";
32801                signal: "mouse,clicked,1";
32802                source: "btn_over2";
32803                action: SIGNAL_EMIT "elm,action,panel,toggle" "";
32804             }
32805          program { name: "highlight_show";
32806             signal: "elm,action,focus_highlight,show";
32807             source: "elm";
32808             action: STATE_SET "enabled" 0.0;
32809             transition: ACCELERATE 0.3;
32810             target: "focus_highlight";
32811          }
32812          program { name: "highlight_hide";
32813             signal: "elm,action,focus_highlight,hide";
32814             source: "elm";
32815             action: STATE_SET "default" 0.0;
32816             transition: DECELERATE 0.3;
32817             target: "focus_highlight";
32818          }
32819        }
32820   }
32821
32822   group {
32823      name: "elm/panel/base/right";
32824      alias: "elm/panel/base/bottom";
32825      images
32826        {
32827           image: "bt_base1.png" COMP;
32828           image: "bt_hilight.png" COMP;
32829           image: "bt_shine.png" COMP;
32830           image: "bt_glow.png" COMP;
32831           image: "bt_dis_base.png" COMP;
32832           image: "icon_arrow_left.png" COMP;
32833           image: "icon_arrow_right.png" COMP;
32834        }
32835      parts
32836        {
32837             part { name: "focus_highlight";
32838                description { state: "default" 0.0;
32839                   visible: 0;
32840                   color: 255 255 255 0;
32841                   rel1 {
32842                      to: "btn";
32843                      offset: -8 -8;
32844                   }
32845                   rel2 {
32846                      to: "btn";
32847                      offset: 7 7;
32848                   }
32849                   image {
32850                      normal: "frame_2.png";
32851                      border: 5 5 32 26;
32852                      middle: 0;
32853                   }
32854                }
32855                description { state: "enabled" 0.0;
32856                   inherit: "default" 0.0;
32857                   visible: 1;
32858                   color: 255 255 255 255;
32859                }
32860             }
32861           part
32862             {
32863                name: "bg";
32864                type: RECT;
32865                mouse_events: 0;
32866                description
32867                  {
32868                     state: "default" 0.0;
32869                     color: 255 255 255 0;
32870                     rel1.relative: 0.0 0.0;
32871                     rel1.offset: 0 0;
32872                     rel2.relative: 1.0 1.0;
32873                     rel2.offset: -1 -1;
32874                  }
32875                description
32876                  {
32877                     state: "hidden" 0.0;
32878                     inherit: "default" 0.0;
32879                     rel1.relative: 1.0 0.0;
32880                     rel1.offset: -22 0;
32881                     rel2.relative: 2.0 1.0;
32882                     rel2.offset: -23 -1;
32883                  }
32884             }
32885           part
32886             {
32887                name: "base";
32888                type: IMAGE;
32889                mouse_events: 0;
32890                description
32891                  {
32892                     state: "default" 0.0;
32893                     rel1.to: "bg";
32894                     rel1.offset: 20 0;
32895                     rel2.to: "bg";
32896                     image
32897                       {
32898                          normal: "bt_dis_base.png";
32899                          border: 4 4 4 4;
32900                       }
32901                  }
32902             }
32903           part
32904             {
32905                name: "clipper";
32906                type: RECT;
32907                mouse_events: 0;
32908                description
32909                  {
32910                     state: "default" 0.0;
32911                     rel1
32912                       {
32913                          offset: 4 4;
32914                          to: "base";
32915                       }
32916                     rel2
32917                       {
32918                          offset: -5 -5;
32919                          to: "base";
32920                       }
32921                  }
32922             }
32923           part
32924             {
32925                name: "elm.swallow.content";
32926                type: SWALLOW;
32927                clip_to: "clipper";
32928                description
32929                  {
32930                     state: "default" 0.0;
32931                     rel1.to: "clipper";
32932                     rel2.to: "clipper";
32933                  }
32934             }
32935           part
32936             {
32937                name: "btn";
32938                type: IMAGE;
32939                mouse_events: 1;
32940                description
32941                  {
32942                     state: "default" 0.0;
32943                     max: 32 48;
32944                     fixed: 1 1;
32945                     align: 1 0.5;
32946                     rel1
32947                       {
32948                          to_x: "bg";
32949                       }
32950                     rel2
32951                       {
32952                          offset: 2 0;
32953                          relative: 0.0 1;
32954                          to_x: "base";
32955                       }
32956                     image
32957                       {
32958                          normal: "bt_base1.png";
32959                          border: 5 0 4 12;
32960                       }
32961                     fill.smooth: 0;
32962                  }
32963                description
32964                  {
32965                     state: "clicked" 0.0;
32966                     inherit: "default" 0.0;
32967                  }
32968             }
32969           part
32970             {
32971                name: "btn_over";
32972                type: IMAGE;
32973                mouse_events: 0;
32974                description
32975                  {
32976                     state: "default" 0.0;
32977                     rel1.to: "btn";
32978                     rel2
32979                       {
32980                          relative: 1.0 0.5;
32981                          to: "btn";
32982                       }
32983                     image
32984                       {
32985                          normal: "bt_hilight.png";
32986                          border: 7 0 7 0;
32987                       }
32988                  }
32989             }
32990           part
32991             {
32992                name: "btn_over2";
32993                type: IMAGE;
32994                mouse_events: 1;
32995                repeat_events: 1;
32996                ignore_flags: ON_HOLD;
32997                description
32998                  {
32999                     state: "default" 0.0;
33000                     rel1.to: "btn";
33001                     rel2.to: "btn";
33002                     image
33003                       {
33004                          normal: "bt_shine.png";
33005                          border: 7 0 7 7;
33006                     }
33007                  }
33008             }
33009           part
33010             {
33011                name: "btn_over3";
33012                type: IMAGE;
33013                mouse_events: 1;
33014                repeat_events: 1;
33015                description
33016                  {
33017                     state: "default" 0.0;
33018                     color: 255 255 255 0;
33019                     rel1.to: "btn";
33020                     rel2.to: "btn";
33021                     image
33022                       {
33023                        normal: "bt_glow.png";
33024                        border: 12 12 12 12;
33025                     }
33026                   fill.smooth: 0;
33027                }
33028              description
33029                {
33030                   state: "clicked" 0.0;
33031                   inherit: "default" 0.0;
33032                   visible: 1;
33033                   color: 255 255 255 255;
33034                }
33035             }
33036           part
33037             {
33038                name: "btn_icon";
33039                type: IMAGE;
33040                repeat_events: 1;
33041                description
33042                  {
33043                     state: "default" 0.0;
33044                     rel1.to: "btn";
33045                     rel2.to: "btn";
33046                     align: 0.5 0.5;
33047                     min: 16 16;
33048                     max: 16 16;
33049                     image.normal: "icon_arrow_right.png";
33050                  }
33051                description
33052                  {
33053                     state: "hidden" 0.0;
33054                     inherit: "default" 0.0;
33055                     image.normal: "icon_arrow_left.png";
33056                  }
33057             }
33058        }
33059      programs
33060        {
33061           program
33062             {
33063                name: "show";
33064                signal: "elm,action,show";
33065                source: "elm";
33066                action: STATE_SET "default" 0.0;
33067                target: "bg";
33068                target: "btn_icon";
33069                transition: LINEAR 0.5;
33070             }
33071           program
33072             {
33073                name: "hide";
33074                signal: "elm,action,hide";
33075                source: "elm";
33076                action: STATE_SET "hidden" 0.0;
33077                target: "bg";
33078                target: "btn_icon";
33079                transition: LINEAR 0.5;
33080             }
33081           program
33082             {
33083                name: "btn_click";
33084                signal: "mouse,down,1";
33085                source: "btn_over2";
33086                action: STATE_SET "clicked" 0.0;
33087                target: "btn";
33088             }
33089           program
33090             {
33091                name: "btn_unclick";
33092                signal: "mouse,up,1";
33093                source: "btn_over2";
33094                action: STATE_SET "default" 0.0;
33095                target: "btn";
33096             }
33097           program
33098             {
33099                name: "btn_click2";
33100                signal: "mouse,down,1";
33101                source: "btn_over3";
33102                action: STATE_SET "clicked" 0.0;
33103                target: "btn_over3";
33104             }
33105           program
33106             {
33107                name: "btn_unclick2";
33108                signal: "mouse,up,1";
33109                source: "btn_over3";
33110                action: STATE_SET "default" 0.0;
33111                transition: DECELERATE 0.5;
33112                target: "btn_over3";
33113             }
33114           program
33115             {
33116                name: "btn_unclick3";
33117                signal: "mouse,up,1";
33118                source: "btn_over2";
33119                action: SIGNAL_EMIT "elm,action,panel,toggle" "";
33120             }
33121          program { name: "highlight_show";
33122             signal: "elm,action,focus";
33123             source: "elm";
33124             action: STATE_SET "enabled" 0.0;
33125             transition: ACCELERATE 0.3;
33126             target: "focus_highlight";
33127          }
33128          program { name: "highlight_hide";
33129             signal: "elm,action,unfocus";
33130             source: "elm";
33131             action: STATE_SET "default" 0.0;
33132             transition: DECELERATE 0.3;
33133             target: "focus_highlight";
33134          }
33135        }
33136   }
33137
33138 ///////////////////////////////////////////////////////////////////////////////
33139   group { name: "elm/conformant/base/default";
33140      parts {
33141         part { name: "elm.swallow.shelf";
33142            type: SWALLOW;
33143            description { state: "default" 0.0;
33144               fixed: 1 1;
33145               align: 0.0 0.0;
33146               rel2.relative: 1.0 0.0;
33147            }
33148         }
33149         part { name: "elm.swallow.content";
33150            type: SWALLOW;
33151            description { state: "default" 0.0;
33152               align: 0.5 0.5;
33153               rel1.relative: 0.0 1.0;
33154               rel1.to_y: "elm.swallow.shelf";
33155               rel2.relative: 1.0 0.0;
33156               rel2.to_y: "elm.swallow.virtualkeypad";
33157            }
33158         }
33159         part { name: "elm.swallow.virtualkeypad";
33160            type: SWALLOW;
33161            description { state: "default" 0.0;
33162               fixed: 0 1;
33163               align: 0.0 1.0;
33164               rel1.relative: 0.0 0.0;
33165               rel1.to_y: "elm.swallow.panel";
33166               rel2.relative: 1.0 0.0;
33167               rel2.to_y: "elm.swallow.panel";
33168            }
33169         }
33170         part { name: "elm.swallow.panel";
33171            type: SWALLOW;
33172            description { state: "default" 0.0;
33173               fixed: 1 1;
33174               align: 0.0 1.0;
33175               rel1.relative: 0.0 1.0;
33176            }
33177         }
33178      }
33179   }
33180
33181 /////////////////////////////////////////////////////////////////////////////
33182 // CALENDAR
33183 /////////////////////////////////////////////////////////////////////////////
33184 #define CH(_pos) \
33185          part { name: "ch_"#_pos".base"; \
33186             type: RECT; \
33187             description { state: "default" 0.0; \
33188                rel1 { \
33189                   relative: (_pos % 7 * 7 / 8 / 6) 0; \
33190                   to: "header"; \
33191                } \
33192                rel2 { \
33193                   relative: (_pos % 7 * 7 / 8 / 6 + 1 / 8) 1; \
33194                   to: "header"; \
33195                } \
33196                color: 0 0 0 0; \
33197                visible: 0; \
33198             } \
33199          } \
33200          part { name: "ch_"#_pos".text"; \
33201             type: TEXT; \
33202             effect: SOFT_SHADOW; \
33203             mouse_events: 0; \
33204             scale: 1; \
33205             clip_to: "ch_"#_pos".clipper"; \
33206             description { \
33207                state: "default" 0.0; \
33208                rel1.to: "ch_"#_pos".base"; \
33209                rel2.to: "ch_"#_pos".base"; \
33210                color: 0 0 0 255; \
33211                color3: 0 0 0 0; \
33212                text { \
33213                   font: "Sans"; \
33214                   size: 10; \
33215                   min: 1 1; \
33216                   align: 0.5 0.5; \
33217                } \
33218             } \
33219          } \
33220          part { name: "ch_"#_pos".clipper"; \
33221             type: RECT; \
33222             description { state: "default" 0.0; \
33223                rel1.to: "ch_"#_pos".base"; \
33224                rel2.to: "ch_"#_pos".base"; \
33225             } \
33226          }
33227
33228 #define CIT(_pos) \
33229          part { name: "cit_"#_pos".rect"; \
33230             type: RECT; \
33231             description { state: "default" 0.0; \
33232                rel1 { \
33233                   relative: (_pos % 7 * 7 / 8 / 6) \
33234                             (_pos / 8 / 5 - _pos % 7 / 8 / 5); \
33235                   to: "base"; \
33236                } \
33237                rel2 { \
33238                   relative: (_pos % 7 * 7 / 8 / 6 + 1 / 8) \
33239                             (_pos / 8 / 5 - _pos % 7 / 8 / 5 + 1 / 8); \
33240                   to: "base"; \
33241                } \
33242                color: 0 0 0 0; \
33243                visible: 0; \
33244             } \
33245          } \
33246          part { \
33247             name: "cit_"#_pos".event"; \
33248             type: RECT; \
33249             repeat_events: 1; \
33250             description { \
33251                rel1.to: "cit_"#_pos".rect"; \
33252                rel2.to: "cit_"#_pos".rect"; \
33253                state: "default" 0.0; \
33254                color: 0 0 0 0; \
33255             } \
33256          } \
33257          part { name: "cit_"#_pos".shelf"; \
33258             type: RECT; \
33259             mouse_events: 0; \
33260             description { state: "default" 0.0; \
33261                rel1 { \
33262                   to: "cit_"#_pos".bg"; \
33263                   offset: -1 -1; \
33264                } \
33265                rel2 { \
33266                   to: "cit_"#_pos".bg"; \
33267                } \
33268                color: 200 200 200 255; \
33269             } \
33270          } \
33271          part { name: "cit_"#_pos".hd"; \
33272             type: RECT; \
33273             mouse_events: 0; \
33274             description { state: "default" 0.0; \
33275                rel1 { \
33276                   to: "cit_"#_pos".bg"; \
33277                   offset: -1 -1; \
33278                } \
33279                rel2 { \
33280                   to: "cit_"#_pos".bg"; \
33281                } \
33282                visible: 0; \
33283                color: 160 0 0 255; \
33284             } \
33285             description { state: "visible" 0.0; \
33286                inherit: "default" 0.0; \
33287                visible: 1; \
33288             } \
33289          } \
33290          part { \
33291             name: "cit_"#_pos".base_sh"; \
33292             mouse_events: 0; \
33293             description { \
33294                state: "default" 0.0; \
33295                align: 0.0 0.0; \
33296                min: 0 1; \
33297                rel1 { \
33298                   to: "cit_"#_pos".base"; \
33299                   relative: 0.0 1.0; \
33300                   offset: 0 0; \
33301                } \
33302                rel2 { \
33303                   to: "cit_"#_pos".base"; \
33304                   relative: 1.0 1.05; \
33305                   offset: -1 0; \
33306                } \
33307                image { \
33308                   normal: "ilist_item_shadow.png"; \
33309                } \
33310                fill.smooth: 0; \
33311             } \
33312          } \
33313          part { \
33314             name: "cit_"#_pos".base"; \
33315             mouse_events: 0; \
33316             description { \
33317                state: "default" 0.0; \
33318                rel1.to: "cit_"#_pos".rect"; \
33319                rel2.to: "cit_"#_pos".rect"; \
33320                rel2.offset: -1 -1; \
33321                image { \
33322                   normal: "ilist_1.png"; \
33323                   border: 2 2 2 2; \
33324                } \
33325                fill.smooth: 0; \
33326             } \
33327             description { \
33328                state: "today" 0.0; \
33329                inherit: "default" 0.0; \
33330                image.normal: "ilist_2.png"; \
33331                color: 240 240 240 255; \
33332             } \
33333          } \
33334          part { name: "cit_"#_pos".bg"; \
33335             mouse_events: 0; \
33336             description { state: "default" 0.0; \
33337                visible: 0; \
33338                color: 255 255 255 0; \
33339                rel1 { \
33340                   to: "cit_"#_pos".rect"; \
33341                   relative: 0.0 0.0; \
33342                } \
33343                rel2 { \
33344                   to: "cit_"#_pos".rect"; \
33345                   relative: 1.0 1.0; \
33346                   offset: -1 -1; \
33347                } \
33348                image { \
33349                   normal: "bt_sm_base1.png"; \
33350                   border: 6 6 6 6; \
33351                } \
33352                image.middle: SOLID; \
33353             } \
33354             description { state: "selected" 0.0; \
33355                inherit: "default" 0.0; \
33356                visible: 1; \
33357                color: 255 255 255 255; \
33358             } \
33359          } \
33360          part { name: "cit_"#_pos".text"; \
33361             type: TEXT; \
33362             effect: SOFT_SHADOW; \
33363             mouse_events: 0; \
33364             scale: 1; \
33365             description { \
33366                state: "default" 0.0; \
33367                rel1.to: "cit_"#_pos".bg"; \
33368                rel2.to: "cit_"#_pos".bg"; \
33369                color: 0 0 0 255; \
33370                color3: 0 0 0 0; \
33371                text { \
33372                   font: "Sans"; \
33373                   size: 10; \
33374                   min: 1 1; \
33375                   align: 0.5 0.5; \
33376                } \
33377             } \
33378             description { state: "selected" 0.0; \
33379                inherit: "default" 0.0; \
33380                color: 224 224 224 255; \
33381                color3: 0 0 0 64; \
33382             } \
33383          } \
33384          part { name: "cit_"#_pos".fg1"; \
33385             mouse_events: 0; \
33386             description { state: "default" 0.0; \
33387                visible: 0; \
33388                color: 255 255 255 0; \
33389                rel1.to: "cit_"#_pos".bg"; \
33390                rel2.relative: 1.0 0.5; \
33391                rel2.to: "cit_"#_pos".bg"; \
33392                image { \
33393                   normal: "bt_sm_hilight.png"; \
33394                   border: 6 6 6 0; \
33395                } \
33396             } \
33397             description { state: "selected" 0.0; \
33398                inherit: "default" 0.0; \
33399                visible: 1; \
33400                color: 255 255 255 255; \
33401             } \
33402          } \
33403          part { name: "cit_"#_pos".fg2"; \
33404             mouse_events: 0; \
33405             description { state: "default" 0.0; \
33406                visible: 0; \
33407                color: 255 255 255 0; \
33408                rel1.to: "cit_"#_pos".bg"; \
33409                rel2.to: "cit_"#_pos".bg"; \
33410                image { \
33411                   normal: "bt_sm_shine.png"; \
33412                   border: 6 6 6 0; \
33413                } \
33414             } \
33415             description { state: "selected" 0.0; \
33416                inherit: "default" 0.0; \
33417                visible: 1; \
33418                color: 255 255 255 255; \
33419             } \
33420          } \
33421          part { name: "cit_"#_pos".check"; \
33422             mouse_events: 0; \
33423             description { state: "default" 0.0; \
33424                rel1 { \
33425                   to: "cit_"#_pos".bg"; \
33426                   relative: 0.7 0.6; \
33427                   offset: 1 1; \
33428                } \
33429                rel2 { \
33430                   to: "cit_"#_pos".bg"; \
33431                   relative: 1.1 1.2; \
33432                   offset: -2 -2; \
33433                } \
33434                aspect: 1 1; \
33435                visible: 0; \
33436                color: 255 0 0 255; \
33437                image.normal: "check.png"; \
33438             } \
33439             description { state: "visible" 0.0; \
33440                inherit: "default" 0.0; \
33441                visible: 1; \
33442             } \
33443          } \
33444       programs { \
33445          program { \
33446             name:    "cit_"#_pos".go_active"; \
33447             signal:  "cit_"#_pos",selected"; \
33448             source:  "elm"; \
33449             action:  STATE_SET "selected" 0.0; \
33450             target:  "cit_"#_pos".bg"; \
33451             target:  "cit_"#_pos".fg1"; \
33452             target:  "cit_"#_pos".fg2"; \
33453             target:  "cit_"#_pos".text"; \
33454          } \
33455          program { \
33456             name:    "cit_"#_pos".go_passive"; \
33457             signal:  "cit_"#_pos",unselected"; \
33458             source:  "elm"; \
33459             action:  STATE_SET "default" 0.0; \
33460             target:  "cit_"#_pos".bg"; \
33461             target:  "cit_"#_pos".fg1"; \
33462             target:  "cit_"#_pos".fg2"; \
33463             target:  "cit_"#_pos".text"; \
33464          } \
33465          program { \
33466             name:    "cit_"#_pos".is_today"; \
33467             signal:  "cit_"#_pos",today"; \
33468             source:  "elm"; \
33469             action:  STATE_SET "today" 0.0; \
33470             target: "cit_"#_pos".base"; \
33471          } \
33472          program { \
33473             name:    "cit_"#_pos".not_today"; \
33474             signal:  "cit_"#_pos",not_today"; \
33475             source:  "elm"; \
33476             action:  STATE_SET "default" 0.0; \
33477             target: "cit_"#_pos".base"; \
33478          } \
33479          program { \
33480             source: "cit_"#_pos".clicked"; \
33481             signal: "mouse,clicked,1"; \
33482             source: "cit_"#_pos".event"; \
33483             action: SIGNAL_EMIT "elm,action,selected" #_pos; \
33484          } \
33485          program { \
33486             name:    "cit_"#_pos".clear"; \
33487             signal:  "cit_"#_pos",clear"; \
33488             source:  "elm"; \
33489             action:  STATE_SET "default" 0.0; \
33490             target: "cit_"#_pos".check"; \
33491             target: "cit_"#_pos".hd"; \
33492          } \
33493          program { \
33494             name:    "cit_"#_pos".checked"; \
33495             signal:  "cit_"#_pos",checked"; \
33496             source:  "elm"; \
33497             action:  STATE_SET "visible" 0.0; \
33498             target: "cit_"#_pos".check"; \
33499          } \
33500          program { \
33501             name:    "cit_"#_pos".holiday"; \
33502             signal:  "cit_"#_pos",holiday"; \
33503             source:  "elm"; \
33504             action:  STATE_SET "visible" 0.0; \
33505             target: "cit_"#_pos".hd"; \
33506          } \
33507       }
33508
33509    group { name: "elm/calendar/base/default";
33510        images {
33511            image: "shelf_inset.png" COMP;
33512            image: "bt_base1.png" COMP;
33513            image: "bt_hilight.png" COMP;
33514            image: "bt_shine.png" COMP;
33515            image: "bt_glow.png" COMP;
33516            image: "bt_dis_base.png" COMP;
33517            image: "bt_dis_hilight.png" COMP;
33518            image: "sp_bt_l.png" COMP;
33519            image: "sp_bt_r.png" COMP;
33520            image: "bt_sm_base1.png" COMP;
33521            image: "bt_sm_shine.png" COMP;
33522            image: "bt_sm_hilight.png" COMP;
33523            image: "ilist_1.png" COMP;
33524            image: "ilist_2.png" COMP;
33525            image: "ilist_item_shadow.png" COMP;
33526            image: "check.png" COMP;
33527        }
33528        parts {
33529            part { name: "bg";
33530                type: RECT;
33531                description { state: "default" 0.0;
33532                    min: 0 30;
33533                    rel1.offset: 1 1;
33534                    rel2.offset: -2 -2;
33535                    color: 255 255 255 0;
33536                    align: 0.0 0.5;
33537                }
33538            }
33539            part { name: "spinner-base";
33540                type: RECT;
33541                mouse_events: 0;
33542                description { state: "default" 0.0;
33543                    min: 24 24;
33544                    max: 999999 24;
33545                    rel1.to: "bg";
33546                    rel1.offset: 6 6;
33547                    rel2.to: "bg";
33548                    rel2.offset: -7 -7;
33549                    color: 255 255 255 0;
33550                    align: 0.0 0.0;
33551                }
33552            }
33553            part { name: "conf_over_spinner";
33554                mouse_events:  0;
33555                description { state: "default" 0.0;
33556                    rel1.to: "spinner-base";
33557                    rel1.offset: -3 -3;
33558                    rel2.to: "spinner-base";
33559                    rel2.offset: 2 2;
33560                    image {
33561                        normal: "shelf_inset.png";
33562                        border: 7 7 7 7;
33563                        middle: 0;
33564                    }
33565                    fill.smooth : 0;
33566                }
33567            }
33568            part { name: "table-base";
33569                type: RECT;
33570                mouse_events: 0;
33571                description { state: "default" 0.0;
33572                    min: 256 220;
33573                    rel1.to_x: "bg";
33574                    rel1.to_y: "spinner-base";
33575                    rel1.offset: 6 6;
33576                    rel1.relative: 0 1;
33577                    rel2.to: "bg";
33578                    rel2.offset: -7 -7;
33579                    color: 255 255 255 0;
33580                }
33581            }
33582            part { name: "conf_over_table";
33583                mouse_events:  0;
33584                description { state: "default" 0.0;
33585                    rel1.to: "table-base";
33586                    rel1.offset: -3 -3;
33587                    rel2.to: "table-base";
33588                    rel2.offset: 2 2;
33589                    image {
33590                        normal: "shelf_inset.png";
33591                        border: 7 7 7 7;
33592                        middle: 0;
33593                    }
33594                    fill.smooth : 0;
33595                }
33596            }
33597            part { name: "header";
33598                type: RECT;
33599                mouse_events: 0;
33600                description { state: "default" 0.0;
33601                    rel1.to: "table-base";
33602                    rel1.relative: 0 0;
33603                    rel2.to: "table-base";
33604                    rel2.relative: 1 0.1;
33605                    color: 255 255 255 0;
33606                }
33607            }
33608            part { name: "base";
33609                type: RECT;
33610                mouse_events: 0;
33611                description { state: "default" 0.0;
33612                    rel1.to_x: "table-base";
33613                    rel1.to_y: "header";
33614                    rel1.relative: 0 1;
33615                    rel1.offset: 3 0;
33616                    rel2.to: "table-base";
33617                    rel2.offset: -3 0;
33618                    color: 255 255 255 0;
33619                }
33620            }
33621            part { name: "left_bt";
33622                mouse_events:  1;
33623                description { state: "default" 0.0;
33624                    rel1 { to: "spinner-base";
33625                        offset: 2 2;
33626                    }
33627                    rel2 { to: "spinner-base";
33628                        offset: -3 -3;
33629                    }
33630                    align: 0.0 0.5;
33631                    min: 24 24;
33632                    max: 24 24;
33633                    fixed: 1 1;
33634                    image {
33635                        normal: "bt_base1.png";
33636                        border: 6 6 6 6;
33637                    }
33638                    fill.smooth : 0;
33639                }
33640                description { state: "clicked" 0.0;
33641                    inherit: "default" 0.0;
33642                    image.normal: "bt_base1.png";
33643                    image.middle: SOLID;
33644                }
33645            }
33646            part { name: "left_over1";
33647                mouse_events: 0;
33648                description { state: "default" 0.0;
33649                    rel1.to: "left_bt";
33650                    rel2 { to: "left_bt";
33651                        relative: 1.0 0.5;
33652                    }
33653                    image {
33654                        normal: "bt_hilight.png";
33655                        border: 7 7 7 0;
33656                    }
33657                }
33658            }
33659            part { name: "left_over2";
33660                mouse_events: 1;
33661                repeat_events: 1;
33662                description { state: "default" 0.0;
33663                    rel1.to: "left_bt";
33664                    rel2.to: "left_bt";
33665                    image {
33666                        normal: "bt_shine.png";
33667                        border: 7 7 7 7;
33668                    }
33669                }
33670            }
33671            part { name: "left_over3";
33672                mouse_events: 1;
33673                repeat_events: 1;
33674                description { state: "default" 0.0;
33675                    color: 255 255 255 0;
33676                    rel1.to: "left_bt";
33677                    rel2.to: "left_bt";
33678                    image {
33679                        normal: "bt_glow.png";
33680                        border: 12 12 12 12;
33681                    }
33682                    fill.smooth : 0;
33683                }
33684                description { state: "clicked" 0.0;
33685                    inherit:  "default" 0.0;
33686                    visible: 1;
33687                    color: 255 255 255 255;
33688                }
33689            }
33690            part { name: "right_bt";
33691                mouse_events:  1;
33692                description { state: "default" 0.0;
33693                    rel1 { to: "spinner-base";
33694                        offset: -27 3;
33695                    }
33696                    rel2 { to: "spinner-base";
33697                        offset: -3 -3;
33698                    }
33699                    align: 1.0 0.5;
33700                    min: 24 24;
33701                    max: 24 24;
33702                    fixed: 1 1;
33703                    image {
33704                        normal: "bt_base1.png";
33705                        border: 5 5 4 12;
33706                    }
33707                    fill.smooth : 0;
33708                }
33709                description { state: "clicked" 0.0;
33710                    inherit: "default" 0.0;
33711                    image.normal: "bt_base1.png";
33712                    image.middle: SOLID;
33713                }
33714            }
33715            part { name: "right_over1";
33716                mouse_events: 0;
33717                description { state: "default" 0.0;
33718                    rel1.to: "right_bt";
33719                    rel2 { to: "right_bt";
33720                        relative: 1.0 0.5;
33721                    }
33722                    image {
33723                        normal: "bt_hilight.png";
33724                        border: 7 7 7 0;
33725                    }
33726                }
33727            }
33728            part { name: "right_over2";
33729                mouse_events: 1;
33730                repeat_events: 1;
33731                description { state: "default" 0.0;
33732                    rel1.to: "right_bt";
33733                    rel2.to: "right_bt";
33734                    image {
33735                        normal: "bt_shine.png";
33736                        border: 7 7 7 7;
33737                    }
33738                }
33739            }
33740            part { name: "right_over3";
33741                mouse_events: 1;
33742                repeat_events: 1;
33743                description { state: "default" 0.0;
33744                    color: 255 255 255 0;
33745                    rel1.to: "right_bt";
33746                    rel2.to: "right_bt";
33747                    image {
33748                        normal: "bt_glow.png";
33749                        border: 12 12 12 12;
33750                    }
33751                    fill.smooth : 0;
33752                }
33753                description { state: "clicked" 0.0;
33754                    inherit:  "default" 0.0;
33755                    visible: 1;
33756                    color: 255 255 255 255;
33757                }
33758            }
33759            part { name: "left_bt_icon";
33760                repeat_events: 1;
33761                description { state: "default" 0.0;
33762                    rel1.to: "left_bt";
33763                    rel2.to: "left_bt";
33764                    align: 0.5 0.5;
33765                    min: 16 16;
33766                    max: 16 16;
33767                    image.normal: "sp_bt_l.png";
33768                }
33769            }
33770            part { name: "right_bt_icon";
33771                repeat_events: 1;
33772                description { state: "default" 0.0;
33773                    rel1.to: "right_bt";
33774                    rel2.to: "right_bt";
33775                    align: 0.5 0.5;
33776                    min: 16 16;
33777                    max: 16 16;
33778                    image.normal: "sp_bt_r.png";
33779                }
33780            }
33781            part { name: "month_text";
33782                type: TEXT;
33783                mouse_events: 0;
33784                scale: 1;
33785                description { state: "default" 0.0;
33786                    align: 0 0.5;
33787                    fixed: 1 1;
33788                    rel1 { relative: 1.0 0.0;
33789                        offset: 3 2;
33790                        to: "left_bt";
33791                        to_y: "spinner-base";
33792                    }
33793                    rel2 { relative: 0.0 1.0;
33794                        offset: -3 -2;
33795                        to_x: "right_bt";
33796                        to_y: "spinner-base";
33797                    }
33798                    color: 0 0 0 255;
33799                    text {
33800                        font: "Sans,Edje-Vera";
33801                        size: 12;
33802                        min: 1 1;
33803                        align: 0.5 0.5;
33804                    }
33805                }
33806            }
33807            CH(0)   CH(1)   CH(2)   CH(3)   CH(4)   CH(5)   CH(6)
33808            CIT(0)  CIT(1)  CIT(2)  CIT(3)  CIT(4)  CIT(5)  CIT(6)
33809            CIT(7)  CIT(8)  CIT(9)  CIT(10) CIT(11) CIT(12) CIT(13)
33810            CIT(14) CIT(15) CIT(16) CIT(17) CIT(18) CIT(19) CIT(20)
33811            CIT(21) CIT(22) CIT(23) CIT(24) CIT(25) CIT(26) CIT(27)
33812            CIT(28) CIT(29) CIT(30) CIT(31) CIT(32) CIT(33) CIT(34)
33813            CIT(35) CIT(36) CIT(37) CIT(38) CIT(39) CIT(40) CIT(41)
33814        }
33815        programs {
33816            program { name: "dec_start";
33817                signal: "mouse,down,1";
33818                source: "left_bt";
33819                action: SIGNAL_EMIT "elm,action,decrement,start" "";
33820            }
33821            program { name: "dec_stop";
33822                signal: "mouse,up,1";
33823                source: "left_bt";
33824                action: SIGNAL_EMIT "elm,action,stop" "";
33825            }
33826            program { name: "inc_start";
33827                signal: "mouse,down,1";
33828                source: "right_bt";
33829                action: SIGNAL_EMIT "elm,action,increment,start" "";
33830            }
33831            program { name: "inc_stop";
33832                signal: "mouse,up,1";
33833                source: "right_bt";
33834                action: SIGNAL_EMIT "elm,action,stop" "";
33835            }
33836            program {
33837                name:   "left_bt_click";
33838                signal: "mouse,down,1";
33839                source: "left_over2";
33840                action: STATE_SET "clicked" 0.0;
33841                target: "left_bt";
33842            }
33843            program {
33844                name:   "left_bt_unclick";
33845                signal: "mouse,up,1";
33846                source: "left_over2";
33847                action: STATE_SET "default" 0.0;
33848                target: "left_bt";
33849            }
33850            program {
33851                name:   "left_bt_click2";
33852                signal: "mouse,down,1";
33853                source: "left_over3";
33854                action: STATE_SET "clicked" 0.0;
33855                target: "left_over3";
33856            }
33857            program {
33858                name:   "left_bt_unclick2";
33859                signal: "mouse,up,1";
33860                source: "left_over3";
33861                action: STATE_SET "default" 0.0;
33862                transition: DECELERATE 0.5;
33863                target: "left_over3";
33864            }
33865            program {
33866                name:   "right_bt_click";
33867                signal: "mouse,down,1";
33868                source: "right_over2";
33869                action: STATE_SET "clicked" 0.0;
33870                target: "right_bt";
33871            }
33872            program {
33873                name:   "right_bt_unclick";
33874                signal: "mouse,up,1";
33875                source: "right_over2";
33876                action: STATE_SET "default" 0.0;
33877                target: "right_bt";
33878            }
33879            program {
33880                name:   "right_bt_click2";
33881                signal: "mouse,down,1";
33882                source: "right_over3";
33883                action: STATE_SET "clicked" 0.0;
33884                target: "right_over3";
33885            }
33886            program {
33887                name:   "right_bt_unclick2";
33888                signal: "mouse,up,1";
33889                source: "right_over3";
33890                action: STATE_SET "default" 0.0;
33891                transition: DECELERATE 0.5;
33892                target: "right_over3";
33893            }
33894        }
33895    }
33896
33897 #undef CIT
33898 #undef CH
33899
33900 ////////////////////////////////////////////////////////////////////////////////
33901 // colorselector
33902 ////////////////////////////////////////////////////////////////////////////////
33903    group { name: "elm/colorselector/bg/default";
33904       parts {
33905          part { name: "elm.colorbar_0";
33906             type: SWALLOW;
33907             mouse_events: 1;
33908             description { state: "default" 0.0;
33909                min: 120 30;
33910                rel1.relative: 0.0 0.00653594771;
33911                rel2.relative: 1.0 0.254901961;
33912             }
33913          }
33914          part { name: "elm.colorbar_1";
33915             type: SWALLOW;
33916             mouse_events: 1;
33917             description { state: "default" 0.0;
33918                min: 120 30;
33919                rel1.relative: 0.0 0.254901961;
33920                rel2.relative: 1.0 0.503267974;
33921             }
33922          }
33923          part { name: "elm.colorbar_2";
33924             type: SWALLOW;
33925             mouse_events: 1;
33926             description { state: "default" 0.0;
33927                min: 120 30;
33928                rel1.relative: 0.0 0.503267974;
33929                rel2.relative: 1.0 0.751633987;
33930             }
33931          }
33932          part { name: "elm.colorbar_3";
33933             type: SWALLOW;
33934             mouse_events: 1;
33935             description { state: "default" 0.0;
33936                min: 120 30;
33937                rel1.relative: 0.0 0.751633987;
33938                rel2.relative: 1.0 1.0;
33939             }
33940          }
33941       }
33942    }
33943
33944    group { name: "elm/colorselector/base/default";
33945       parts {
33946          part { name: "elm.bar_bg";
33947             type: SWALLOW;
33948             mouse_events: 0;
33949             description { state: "default" 0.0;
33950                min: 60 22;
33951                rel1 {
33952                   relative: 0.0 0.8;
33953                   to_x: "elm.arrow_bg";
33954                   to_y: "elm.arrow_icon";
33955                   offset: 0 0;
33956                }
33957                rel2 {
33958                   relative: 1.0 0.83;
33959                   to_x: "elm.arrow_bg";
33960                   offset: 0 0;
33961                }
33962             }
33963          }
33964          part { name: "elm.bar";
33965             type: SWALLOW;
33966             mouse_events: 0;
33967             description { state: "default" 0.0;
33968                rel1.to: "elm.bar_bg";
33969                rel2.to: "elm.bar_bg";
33970             }
33971          }
33972          part { name: "elm.arrow_bg";
33973             type: SWALLOW;
33974             mouse_events: 1;
33975             description { state: "default" 0.0;
33976                rel1 {
33977                   relative: 1.0 0.17;
33978                   offset: 3 0;
33979                   to_x: "elm.l_button";
33980                }
33981                rel2 {
33982                   relative: 0.0 0.83;
33983                      offset: -4 0;
33984                   to_x: "elm.r_button";
33985                }
33986             }
33987          }
33988          part { name: "elm.arrow";
33989             type: RECT;
33990             mouse_events: 1;
33991             scale: 1;
33992             description { state: "default" 0.0;
33993                min: 1 1;
33994                fixed: 1 1;
33995                align: 0 0;
33996                rel1 {
33997                   to_x: "elm.arrow_bg";
33998                }
33999                rel2 {
34000                   relative: 0.0 0.17;
34001                   to_x: "elm.arrow_bg";
34002                }
34003                color: 0 0 0 0;
34004                visible: 0;
34005             }
34006             dragable {
34007                confine: "elm.arrow_bg";
34008                x: 1 1 0;
34009                y: 0 0 0;
34010             }
34011          }
34012          part { name: "elm.arrow_icon";
34013             type: SWALLOW;
34014             mouse_events: 0;
34015             description { state: "default" 0.0;
34016                min: 25 15;
34017                max: 25 15;
34018                fixed: 1 1;
34019                align: 0.5 0;
34020                rel1 {
34021                   to_x: "elm.arrow";
34022                }
34023                rel2 {
34024                   relative: 1.0 0.0;
34025                   offset: 0 10;
34026                   to_x: "elm.arrow";
34027                }
34028             }
34029          }
34030          part { name: "event";
34031             type: RECT;
34032             mouse_events: 1;
34033             description { state: "default" 0.0;
34034                rel1 {
34035                   to: "elm.arrow_icon";
34036                }
34037                rel2 {
34038                   to_x: "elm.arrow_icon";
34039                   to_y: "elm.arrow_bg";
34040                   offset: 0 0;
34041                }
34042                color: 0 0 0 0;
34043             }
34044             dragable {
34045                events: "elm.arrow";
34046             }
34047          }
34048          part { name: "elm.l_button";
34049             type: SWALLOW;
34050             mouse_events: 1;
34051             scale: 1;
34052             description { state: "default" 0.0;
34053                min: 24 24;
34054                fixed: 1 1;
34055                rel1 {
34056                   relative: 0.0 0.0;
34057                   to_y: "elm.bar_bg";
34058                }
34059                rel2 {
34060                   relative: 0.0 1.0;
34061                   to_y: "elm.bar_bg";
34062                }
34063                align: 0.0 0.5;
34064             }
34065          }
34066          part { name: "elm.r_button";
34067             type: SWALLOW;
34068             mouse_events: 1;
34069             scale: 1;
34070             description {
34071                state: "default" 0.0;
34072                min: 24 24;
34073                fixed: 1 1;
34074                rel1 {
34075                   relative: 1.0 0.0;
34076                   to_y: "elm.bar_bg";
34077                }
34078                rel2 {
34079                   relative: 1.0 1.0;
34080                   to_y: "elm.bar_bg";
34081                }
34082                align: 1.0 0.5;
34083             }
34084          }
34085       }
34086    }
34087
34088    group{ name: "elm/colorselector/image/colorbar_0";
34089       images {
34090          image: "color_picker_color.png" COMP;
34091       }
34092       parts {
34093          part { name: "colorbar_0_image";
34094             type: IMAGE;
34095             mouse_events: 1;
34096             description { state: "default" 0.0;
34097                rel2.offset: -1 -1;
34098                image.normal: "color_picker_color.png";
34099             }
34100          }
34101       }
34102    }
34103
34104    group { name: "elm/colorselector/image/colorbar_1";
34105       images {
34106          image: "color_picker_opacity.png" COMP;
34107       }
34108       parts {
34109          part { name: "colorbar_1_image";
34110             type: IMAGE;
34111             mouse_events: 1;
34112             description { state: "default" 0.0;
34113                rel2.offset: -1 -1;
34114                image.normal: "color_picker_opacity.png";
34115             }
34116          }
34117       }
34118    }
34119
34120    group { name: "elm/colorselector/image/colorbar_2";
34121       images {
34122          image: "color_picker_brightness.png" COMP;
34123       }
34124       parts {
34125          part { name: "colorbar_2_image";
34126             type: IMAGE;
34127             mouse_events: 1;
34128             description { state: "default" 0.0;
34129                rel2.offset: -1 -1;
34130                image.normal: "color_picker_brightness.png";
34131             }
34132          }
34133       }
34134    }
34135
34136    group { name: "elm/colorselector/image/colorbar_3";
34137       images {
34138          image: "color_picker_alpha.png" COMP;
34139       }
34140       parts {
34141          part { name: "colorbar_3_image";
34142             type: IMAGE;
34143             mouse_events: 1;
34144             description { state: "default" 0.0;
34145                rel2.offset: -1 -1;
34146                image.normal: "color_picker_alpha.png";
34147             }
34148          }
34149       }
34150    }
34151
34152    group { name: "elm/colorselector/bg_image/colorbar_3";
34153       images {
34154          image: "color_picker_alpha_bg.png" COMP;
34155       }
34156       parts {
34157          part { name: "colorbar_3_image";
34158             type: IMAGE;
34159             mouse_events: 1;
34160             description { state: "default" 0.0;
34161                rel2.offset: -1 -1;
34162                image.normal: "color_picker_alpha_bg.png";
34163             }
34164          }
34165       }
34166    }
34167
34168    group { name: "elm/colorselector/image/updown";
34169       images {
34170          image: "icon_arrow_down.png" COMP;
34171       }
34172       parts {
34173          part { name: "bg";
34174             type: RECT;
34175             mouse_events: 1;
34176             description { state: "default" 0.0;
34177                color: 0 0 0 0;
34178             }
34179          }
34180          part { name: "arrow_image";
34181             type: IMAGE;
34182             mouse_events: 1;
34183             description { state: "default" 0.0;
34184                image.normal: "icon_arrow_down.png";
34185             }
34186          }
34187       }
34188    }
34189
34190    group { name: "elm/colorselector/button/left";
34191       images {
34192          image: "bt_base1.png" COMP;
34193          image: "bt_shine.png" COMP;
34194          image: "sp_bt_l.png" COMP;
34195       }
34196       parts {
34197          part { name: "button_image";
34198             mouse_events: 1;
34199             description { state: "default" 0.0;
34200                image.normal: "bt_base1.png";
34201                image.border: 6 6 6 6;
34202                image.middle: SOLID;
34203             }
34204
34205             description { state: "clicked" 0.0;
34206                inherit: "default" 0.0;
34207                image.normal: "bt_shine.png";
34208                image.border: 6 6 6 6;
34209                image.middle: SOLID;
34210             }
34211          }
34212          part { name: "btn_over";
34213             type: IMAGE;
34214             mouse_events: 0;
34215             description { state: "default" 0.0;
34216                rel1.to: "button_image";
34217                rel2 {
34218                   relative: 1.0 0.5;
34219                   to: "button_image";
34220                }
34221                image {
34222                   normal: "bt_hilight.png";
34223                   border: 7 7 7 0;
34224                }
34225             }
34226          }
34227          part { name: "btn_over2";
34228             type: IMAGE;
34229             mouse_events: 1;
34230             repeat_events: 1;
34231             ignore_flags: ON_HOLD;
34232             description { state: "default" 0.0;
34233                rel1.to: "button_image";
34234                rel2.to: "button_image";
34235                image {
34236                   normal: "bt_shine.png";
34237                   border: 7 7 7 7;
34238                }
34239             }
34240          }
34241          part { name: "focus_image";
34242             type: IMAGE;
34243             description { state: "default" 0.0;
34244                color: 255 255 255 0;
34245                rel1.to: "button_image";
34246                rel2.to: "button_image";
34247                image {
34248                   normal: "bt_glow.png";
34249                   border: 12 12 12 12;
34250                }
34251                fill.smooth: 0;
34252
34253             }
34254             description { state: "clicked" 0.0;
34255                inherit: "default" 0.0;
34256                visible: 1;
34257                color: 255 255 255 255;
34258             }
34259          }
34260          part { name: "left_arrow";
34261             mouse_events: 1;
34262             description { state: "default" 0.0;
34263                min: 16 16;
34264                max: 16 16;
34265                image.normal: "sp_bt_l.png";
34266             }
34267          }
34268       }
34269
34270       programs {
34271          program {
34272             name:   "button_down";
34273             signal: "elm,state,left,button,down";
34274             source: "left_button";
34275             action: STATE_SET "clicked" 0.0;
34276             target: "button_image";
34277             target: "focus_image";
34278          }
34279          program {
34280             name:   "button_up";
34281             signal: "elm,state,left,button,up";
34282             source: "left_button";
34283             action: STATE_SET "default" 0.0;
34284             target: "button_image";
34285             target: "focus_image";
34286          }
34287       }
34288    }
34289
34290    group { name: "elm/colorselector/button/right";
34291       images {
34292          image: "bt_base1.png" COMP;
34293          image: "bt_shine.png" COMP;
34294          image: "sp_bt_r.png" COMP;
34295       }
34296       parts {
34297          part { name: "button_image";
34298             mouse_events: 1;
34299             description { state: "default" 0.0;
34300                image.normal: "bt_base1.png";
34301                image.border: 6 6 6 6;
34302                image.middle: SOLID;
34303             }
34304
34305             description { state: "clicked" 0.0;
34306                inherit: "default" 0.0;
34307                image.normal: "bt_shine.png";
34308                image.border: 6 6 6 6;
34309                image.middle: SOLID;
34310             }
34311          }
34312          part { name: "btn_over";
34313             type: IMAGE;
34314             mouse_events: 0;
34315             description { state: "default" 0.0;
34316                rel1.to: "button_image";
34317                rel2 {
34318                   relative: 1.0 0.5;
34319                   to: "button_image";
34320                }
34321                image {
34322                   normal: "bt_hilight.png";
34323                   border: 7 7 7 0;
34324                }
34325             }
34326          }
34327          part { name: "btn_over2";
34328             type: IMAGE;
34329             mouse_events: 1;
34330             repeat_events: 1;
34331             ignore_flags: ON_HOLD;
34332             description { state: "default" 0.0;
34333                rel1.to: "button_image";
34334                rel2.to: "button_image";
34335                image {
34336                   normal: "bt_shine.png";
34337                   border: 7 7 7 7;
34338                }
34339             }
34340          }
34341          part { name: "focus_image";
34342             type: IMAGE;
34343             description { state: "default" 0.0;
34344                color: 255 255 255 0;
34345                rel1.to: "button_image";
34346                rel2.to: "button_image";
34347                image {
34348                   normal: "bt_glow.png";
34349                   border: 12 12 12 12;
34350                }
34351                fill.smooth: 0;
34352
34353             }
34354             description { state: "clicked" 0.0;
34355                inherit: "default" 0.0;
34356                visible: 1;
34357                color: 255 255 255 255;
34358             }
34359          }
34360          part { name: "right_arrow";
34361             mouse_events: 1;
34362             description { state: "default" 0.0;
34363                min: 16 16;
34364                max: 16 16;
34365                image.normal: "sp_bt_r.png";
34366             }
34367          }
34368       }
34369
34370       programs {
34371          program {
34372             name:   "button_down";
34373             signal: "elm,state,right,button,down";
34374             source: "right_button";
34375             action: STATE_SET "clicked" 0.0;
34376             target: "button_image";
34377             target: "focus_image";
34378          }
34379          program {
34380             name:   "button_up";
34381             signal: "elm,state,right,button,up";
34382             source: "right_button";
34383             action: STATE_SET "default" 0.0;
34384             target: "button_image";
34385             target: "focus_image";
34386          }
34387       }
34388    }
34389
34390 ///////////////////////////////////////////////////////////////////////////////
34391 #define FLIP_PICKER_MAX_LEN (50)
34392 #define FLIP_PICKER_MAX_LEN_STR "50"
34393
34394    group { name: "elm/flipselector/base/default";
34395       images {
34396          image: "flip_base.png" COMP;
34397          image: "flip_base_shad.png" COMP;
34398          image: "flip_shad.png" COMP;
34399          image: "arrow_up.png" COMP;
34400          image: "arrow_down.png" COMP;
34401          image: "flip_t.png" COMP;
34402          image: "flip_b.png" COMP;
34403       }
34404
34405       data {
34406          item: "max_len" FLIP_PICKER_MAX_LEN_STR;
34407       }
34408
34409       //FIXME: quick successive clicks on, say, up, lead to nastiness
34410       script {
34411          public cur, prev, next, lock;
34412
34413          public animator_bottom_down(val, Float:pos) {
34414             new tmp[FLIP_PICKER_MAX_LEN];
34415
34416             set_tween_state(PART:"bottom", pos, "shrink", 0.0, "default", 0.0);
34417             set_tween_state(PART:"bottom_sheet", pos, "shrink", 0.0, "default",
34418                             0.0);
34419             set_tween_state(PART:"shadow", pos, "half", 0.0, "full",
34420                             0.0);
34421
34422             if (pos >= 1.0) {
34423                set_state(PART:"shadow", "default", 0.0);
34424                set_int(lock, 0);
34425
34426                fetch_str(next, 0, tmp, FLIP_PICKER_MAX_LEN);
34427                if (strncmp(tmp, "", FLIP_PICKER_MAX_LEN) != 0) {
34428                   replace_str(next, 0, "");
34429                   message(MSG_STRING, 1, tmp);
34430                }
34431             }
34432          }
34433
34434          public animator_top_down(val, Float:pos) {
34435             set_tween_state(PART:"top", pos, "default", 0.0, "shrink", 0.0);
34436             set_tween_state(PART:"top_sheet", pos, "default", 0.0, "shrink",
34437                             0.0);
34438             set_tween_state(PART:"shadow", pos, "default", 0.0, "half",
34439                             0.0);
34440
34441             if (pos >= 1.0)
34442                anim(0.2, "animator_bottom_down", val);
34443          }
34444
34445          public animator_bottom_up(val, Float:pos) {
34446             set_tween_state(PART:"bottom", pos, "default", 0.0, "shrink", 0.0);
34447             set_tween_state(PART:"bottom_sheet", pos, "default", 0.0, "shrink",
34448                             0.0);
34449             set_tween_state(PART:"shadow", pos, "full", 0.0, "half",
34450                             0.0);
34451
34452             if (pos >= 1.0)
34453                anim(0.2, "animator_top_up", val);
34454          }
34455
34456          public animator_top_up(val, Float:pos) {
34457             new tmp[FLIP_PICKER_MAX_LEN];
34458
34459             set_tween_state(PART:"top", pos, "shrink", 0.0, "default", 0.0);
34460             set_tween_state(PART:"top_sheet", pos, "shrink", 0.0, "default",
34461                             0.0);
34462             set_tween_state(PART:"shadow", pos, "half", 0.0, "default",
34463                             0.0);
34464
34465             if (pos >= 1.0) {
34466                set_state(PART:"shadow", "default", 0.0);
34467                set_int(lock, 0);
34468
34469                fetch_str(next, 0, tmp, FLIP_PICKER_MAX_LEN);
34470                if (strncmp(tmp, "", FLIP_PICKER_MAX_LEN) != 0) {
34471                   replace_str(next, 0, "");
34472                   message(MSG_STRING, 2, tmp);
34473                }
34474             }
34475          }
34476
34477          public message(Msg_Type:type, id, ...) {
34478             /* flip down */
34479             if ((type == MSG_STRING) && (id == 1)) {
34480                new value[FLIP_PICKER_MAX_LEN], tmp[FLIP_PICKER_MAX_LEN];
34481
34482                snprintf(value, FLIP_PICKER_MAX_LEN, "%s", getarg(2));
34483
34484                if (get_int(lock) == 1) {
34485                   replace_str(next, 0, value);
34486                   return;
34487                }
34488
34489                fetch_str(cur, 0, tmp, FLIP_PICKER_MAX_LEN);
34490
34491                set_text(PART:"bottom_b", tmp);
34492
34493                set_state(PART:"top", "shrink", 0.0);
34494                set_text(PART:"top", tmp);
34495                set_state(PART:"top", "default", 0.0);
34496                set_text(PART:"top", tmp);
34497
34498                replace_str(prev, 0, tmp);
34499
34500                set_state(PART:"bottom", "default", 0.0);
34501                set_text(PART:"bottom", value);
34502                set_state(PART:"bottom", "shrink", 0.0);
34503                set_text(PART:"bottom", value);
34504
34505                set_text(PART:"top_b", value);
34506
34507                replace_str(cur, 0, value);
34508
34509                set_state(PART:"bottom_sheet", "shrink", 0.0);
34510                set_state(PART:"top_sheet", "default", 0.0);
34511
34512                set_int(lock, 1);
34513                set_state(PART:"shadow", "default", 0.0);
34514                anim(0.2, "animator_top_down", 1);
34515             }
34516
34517             /* flip up */
34518             if ((type == MSG_STRING) && (id == 2)) {
34519                new value[FLIP_PICKER_MAX_LEN], tmp[FLIP_PICKER_MAX_LEN];
34520
34521                snprintf(value, FLIP_PICKER_MAX_LEN, "%s", getarg(2));
34522
34523                if (get_int(lock) == 1) {
34524                   replace_str(next, 0, value);
34525                   return;
34526                }
34527
34528                fetch_str(cur, 0, tmp, FLIP_PICKER_MAX_LEN);
34529
34530                set_text(PART:"top_b", tmp);
34531
34532                set_state(PART:"bottom", "shrink", 0.0);
34533                set_text(PART:"bottom", tmp);
34534                set_state(PART:"bottom", "default", 0.0);
34535                set_text(PART:"bottom", tmp);
34536
34537                replace_str(prev, 0, tmp);
34538
34539                set_state(PART:"top", "default", 0.0);
34540                set_text(PART:"top", value);
34541                set_state(PART:"top", "shrink", 0.0);
34542                set_text(PART:"top", value);
34543
34544                set_text(PART:"bottom_b", value);
34545
34546                replace_str(cur, 0, value);
34547
34548                set_state(PART:"bottom_sheet", "default", 0.0);
34549                set_state(PART:"top_sheet", "shrink", 0.0);
34550
34551                set_int(lock, 1);
34552                set_state(PART:"shadow", "full", 0.0);
34553                anim(0.2, "animator_bottom_up", 1);
34554             }
34555          }
34556       }
34557
34558       parts {
34559          part { name: "shad";
34560             mouse_events: 0;
34561             description { state: "default" 0.0;
34562                rel1.offset: -4 -4;
34563                rel1.to: "base";
34564                rel2.offset: 3 3;
34565                rel2.to: "base";
34566                image {
34567                   normal: "flip_base_shad.png";
34568                   border: 8 8 8 8;
34569                }
34570             }
34571          }
34572
34573          part { name: "base";
34574             scale: 1;
34575             description { state: "default" 0.0;
34576                rel1.offset: 4 4;
34577                rel2.offset: -5 -5;
34578                min: 24 48;
34579                image.normal: "flip_base.png";
34580             }
34581          }
34582
34583          part { name: "b";
34584             type: RECT;
34585             mouse_events: 1;
34586             description { state: "default" 0.0;
34587                rel1.to: "base";
34588                rel1.relative: 0.0 0.5;
34589                rel2.to: "base";
34590                color: 0 0 0 0;
34591             }
34592             description { state: "hidden" 0.0;
34593                inherit: "default" 0.0;
34594                visible: 0;
34595             }
34596          }
34597
34598          part { name: "t";
34599             type: RECT;
34600             mouse_events: 1;
34601             description { state: "default" 0.0;
34602                rel1.to: "base";
34603                rel2.to: "base";
34604                rel2.relative: 1.0 0.5;
34605                color: 0 0 0 0;
34606             }
34607             description { state: "hidden" 0.0;
34608                inherit: "default" 0.0;
34609                visible: 0;
34610             }
34611          }
34612
34613          part { name: "bottom_sheet_static";
34614             mouse_events: 0;
34615             description { state: "default" 0.0;
34616                visible: 1;
34617                rel1.to: "b";
34618                rel2.to: "b";
34619                image.normal: "flip_b.png";
34620             }
34621          }
34622
34623          part { name: "bottom_b";
34624             mouse_events: 0;
34625             clip_to: "bottom_clipper";
34626             type: TEXT;
34627             scale: 1;
34628             description { state: "default" 0.0;
34629                rel1.to: "base";
34630                rel2.to: "base";
34631                color: 0 0 0 255;
34632                color2: 0 0 0 255;
34633                text {
34634                   font: "Sans:style=Bold,Edje-Vera-Bold";
34635                   size: 30;
34636                   min: 1 1;
34637                   align: 0.5 0.5;
34638                }
34639             }
34640          }
34641
34642          part { name: "shadow";
34643             mouse_events: 0;
34644             description { state: "default" 0.0;
34645                rel1.to: "b";
34646                rel2.to: "b";
34647                rel2.relative: 1.0 0.0;
34648                image.normal: "flip_shad.png";
34649             }
34650             description { state: "half" 0.0;
34651                inherit: "default" 0.0;
34652                rel2.relative: 1.0 0.5;
34653             }
34654             description { state: "full" 0.0;
34655                inherit: "default" 0.0;
34656                rel2.relative: 1.0 1.0;
34657             }
34658          }
34659
34660          part { name: "bottom_sheet";
34661             mouse_events: 0;
34662             description { state: "default" 0.0;
34663                visible: 1;
34664                rel1.to: "b";
34665                rel2.to: "b";
34666                image.normal: "flip_b.png";
34667             }
34668             description { state: "shrink" 0.0;
34669                inherit: "default" 0.0;
34670                visible: 0;
34671                rel2.relative: 1.0 0.0;
34672             }
34673          }
34674
34675          part { name: "bottom";
34676             mouse_events: 0;
34677             clip_to: "bottom_clipper";
34678             type: TEXT;
34679             scale: 1;
34680             description { state: "default" 0.0;
34681                rel1.to: "base";
34682                rel2.to: "base";
34683                color: 0 0 0 255;
34684                color2: 0 0 0 255;
34685                text {
34686                   font: "Sans:style=Bold,Edje-Vera-Bold";
34687                   size: 30;
34688                   min: 1 1;
34689                   align: 0.5 0.5;
34690                }
34691             }
34692             description { state: "shrink" 0.0;
34693                inherit: "default" 0.0;
34694                color: 128 128 128 255;
34695                visible: 0;
34696                rel2.relative: 1.0 0.5; /* FIXME: same visual effect? --> MAP! */
34697             }
34698          }
34699
34700          part { name: "top_sheet_static";
34701             mouse_events: 0;
34702             description { state: "default" 0.0;
34703                visible: 1;
34704                rel1.to: "t";
34705                rel2.to: "t";
34706                image.normal: "flip_t.png";
34707             }
34708          }
34709
34710          part { name: "top_b";
34711             mouse_events: 0;
34712             clip_to: "top_clipper";
34713             type: TEXT;
34714             scale: 1;
34715             description { state: "default" 0.0;
34716                rel1.to: "base";
34717                rel2.to: "base";
34718                color: 0 0 0 255;
34719                color2: 0 0 0 255;
34720                text {
34721                   font: "Sans:style=Bold,Edje-Vera-Bold";
34722                   size: 30;
34723                   min: 1 1;
34724                   align: 0.5 0.5;
34725                   source: "top";
34726                }
34727             }
34728          }
34729
34730          part { name: "top_sheet";
34731             mouse_events: 0;
34732             description { state: "default" 0.0;
34733                visible: 1;
34734                rel1.to: "t";
34735                rel2.to: "t";
34736                image.normal: "flip_t.png";
34737             }
34738             description { state: "shrink" 0.0;
34739                inherit: "default" 0.0;
34740                color: 128 128 128 255;
34741                visible: 0;
34742                rel1.relative: 0.0 1.0;
34743             }
34744          }
34745
34746          part { name: "top";
34747             mouse_events: 0;
34748             clip_to: "top_clipper";
34749             type: TEXT;
34750             scale: 1;
34751             description { state: "default" 0.0;
34752                rel1.to: "base";
34753                rel2.to: "base";
34754                color: 0 0 0 255;
34755                color2: 0 0 0 255;
34756                text {
34757                   font: "Sans:style=Bold,Edje-Vera-Bold";
34758                   size: 30;
34759                   min: 1 1;
34760                   align: 0.5 0.5;
34761                }
34762             }
34763             description { state: "shrink" 0.0;
34764                inherit: "default" 0.0;
34765                visible: 0;
34766                rel1.relative: 0.0 0.5;
34767             }
34768          }
34769
34770          part { name: "arrow_top";
34771             mouse_events: 0;
34772             scale: 1;
34773             description { state: "default" 0.0;
34774                min: 15 15;
34775                max: 15 15;
34776                align: 0.5 0.0;
34777                rel1.to: "t";
34778                rel2.to: "t";
34779                image.normal: "arrow_up.png";
34780             }
34781             description { state: "hidden" 0.0;
34782                inherit: "default" 0.0;
34783                visible: 0;
34784             }
34785          }
34786          part { name: "arrow_bottom";
34787             mouse_events: 0;
34788             scale: 1;
34789             description { state: "default" 0.0;
34790                min: 15 15;
34791                max: 15 15;
34792                align: 0.5 1.0;
34793                rel1.to: "b";
34794                rel2.to: "b";
34795                image.normal: "arrow_down.png";
34796             }
34797             description { state: "hidden" 0.0;
34798                inherit: "default" 0.0;
34799                visible: 0;
34800             }
34801          }
34802
34803          part {
34804             type: RECT;
34805             mouse_events: 0;
34806             name: "top_clipper";
34807             description {
34808                state: "default" 0.0;
34809                rel1.to: "t";
34810                rel2.to: "t";
34811                visible: 1;
34812             }
34813          }
34814
34815          part {
34816             type: RECT;
34817             mouse_events: 0;
34818             name: "bottom_clipper";
34819             description {
34820                state: "default" 0.0;
34821                rel1.to: "b";
34822                rel2.to: "b";
34823                visible: 1;
34824             }
34825          }
34826       }
34827
34828       programs {
34829          program { name: "load";
34830             signal: "load";
34831             source: "";
34832             script {
34833                append_str(cur, "");
34834                append_str(prev, "");
34835                append_str(next, "");
34836                set_int(lock, 0);
34837             }
34838          }
34839
34840          program { name: "hide_arrows";
34841             signal: "elm,state,button,hidden";
34842             source: "elm";
34843             action: STATE_SET "hidden" 0.0;
34844             target: "arrow_top";
34845             target: "arrow_bottom";
34846             target: "t";
34847             target: "b";
34848          }
34849
34850          program { name: "show_arrows";
34851             signal: "elm,state,button,visible";
34852             source: "elm";
34853             action: STATE_SET "default" 0.0;
34854             target: "arrow_top";
34855             target: "arrow_bottom";
34856             target: "t";
34857             target: "b";
34858          }
34859
34860          program { name: "up";
34861             signal: "mouse,down,1";
34862             source: "t";
34863             action: SIGNAL_EMIT "elm,action,up,start" "";
34864          }
34865          program { name: "up,stop";
34866             signal: "mouse,up,1";
34867             source: "t";
34868             action: SIGNAL_EMIT "elm,action,up,stop" "";
34869          }
34870          program { name: "down";
34871             signal: "mouse,down,1";
34872             source: "b";
34873             action: SIGNAL_EMIT "elm,action,down,start" "";
34874          }
34875          program { name: "down,stop";
34876             signal: "mouse,up,1";
34877             source: "b";
34878             action: SIGNAL_EMIT "elm,action,down,stop" "";
34879          }
34880       }
34881    }
34882
34883 ////////////////////////////////////////////////////////////////////////////////
34884 // diskselector
34885 ////////////////////////////////////////////////////////////////////////////////
34886    group { name: "elm/diskselector/base/default";
34887       images {
34888          image: "bar_shine.png" COMP;
34889       }
34890
34891       parts {
34892          part { name: "bg";
34893             type: RECT;
34894             mouse_events: 0;
34895             description { state: "default" 0.0;
34896                color: 0 0 0 255;
34897             }
34898          }
34899          part { name: "shine_left";
34900             mouse_events:  0;
34901             description { state: "default" 0.0;
34902                rel1.to: "bg";
34903                rel1.relative: -0.1 0;
34904                rel2.to: "bg";
34905                rel2.relative: 0.1 1;
34906                image.normal: "bar_shine.png";
34907                color: 255 255 255 120;
34908             }
34909          }
34910          part { name: "shine_center";
34911             mouse_events:  0;
34912             description { state: "default" 0.0;
34913                rel1.to: "bg";
34914                rel1.relative: 0.2 0;
34915                rel2.to: "bg";
34916                rel2.relative: 0.8 1;
34917                image.normal: "bar_shine.png";
34918                color: 255 255 255 180;
34919             }
34920          }
34921          part { name: "shine_right";
34922             mouse_events:  0;
34923             description { state: "default" 0.0;
34924                rel1.to: "bg";
34925                rel1.relative: 0.9 0;
34926                rel2.to: "bg";
34927                rel2.relative: 1.1 1;
34928                image.normal: "bar_shine.png";
34929                color: 255 255 255 120;
34930             }
34931          }
34932          part { name: "clipper";
34933             type: RECT;
34934             mouse_events: 0;
34935             description { state: "default" 0.0;
34936                rel1.to: "bg";
34937                rel2.to: "bg";
34938                rel1.offset: 2 2;
34939                rel2.offset: -3 -3;
34940             }
34941          }
34942          part { name: "elm.swallow.content";
34943             clip_to: "clipper";
34944             type: SWALLOW;
34945             description { state: "default" 0.0;
34946                rel1.to: "bg";
34947                rel2.to: "bg";
34948             }
34949          }
34950       }
34951    }
34952
34953    group { name: "elm/diskselector/item/default";
34954
34955       data {
34956          item: "len_threshold" "14";
34957       }
34958
34959       parts {
34960          part { name: "elm.swallow.icon";
34961             type: SWALLOW;
34962             description { state: "default" 0.0;
34963                fixed: 1 0;
34964                align: 0.0 0.5;
34965                rel1 {
34966                   relative: 0 0;
34967                   offset: 4 4;
34968                }
34969                rel2 {
34970                   relative: 0 1;
34971                   offset: 4 -5;
34972                }
34973             }
34974             description { state: "show" 0.0;
34975                inherit: "default" 0.0;
34976             }
34977             description { state: "default_small" 0.0;
34978                inherit: "default" 0.0;
34979                rel1.relative: 0 0.2;
34980                rel2.relative: 0 0.8;
34981             }
34982             description { state: "left_side" 0.0;
34983                inherit: "default" 0.0;
34984                rel1.relative: 0 0.2;
34985                rel2.relative: 0 0.8;
34986                color: 255 255 255 160;
34987             }
34988             description { state: "right_side" 0.0;
34989                inherit: "left_side" 0.0;
34990                rel1.relative: 0.4 0.2;
34991                rel2.relative: 0.4 0.8;
34992                color: 255 255 255 160;
34993             }
34994          }
34995          part { name: "elm.text";
34996             type: TEXT;
34997             mouse_events: 0;
34998             scale: 1;
34999             description { state: "default" 0.0;
35000                rel1.relative: 1 0.0;
35001                rel1.to_x: "elm.swallow.icon";
35002                rel2.relative: 1.0 1.0;
35003                color: 255 255 255 255;
35004                visible: 0;
35005                text {
35006                   font: "Sans,Edje-Vera";
35007                   size: 13;
35008                   align: 0.5 0.5;
35009                   min: 0 1;
35010                }
35011             }
35012             description { state: "show" 0.0;
35013                inherit: "default" 0.0;
35014                visible: 1;
35015             }
35016             description { state: "default_small" 0.0;
35017                inherit: "default" 0.0;
35018                visible: 1;
35019                text.size: 10;
35020             }
35021             description { state: "left_side" 0.0;
35022                inherit: "default" 0.0;
35023                color: 172 172 172 255;
35024                text.size: 10;
35025                visible: 1;
35026                text.align: 0.2 0.5;
35027             }
35028             description { state: "right_side" 0.0;
35029                inherit: "default" 0.0;
35030                color: 172 172 172 255;
35031                visible: 1;
35032                text.size: 10;
35033                text.align: 0.8 0.5;
35034             }
35035          }
35036       }
35037
35038       programs {
35039          program { name: "center_text";
35040             signal: "elm,state,center";
35041             source: "elm";
35042             action: STATE_SET "show" 0.0;
35043             target: "elm.text";
35044             target: "elm.swallow.icon";
35045          }
35046          program { name: "center_small_text";
35047             signal: "elm,state,center_small";
35048             source: "elm";
35049             action: STATE_SET "default_small" 0.0;
35050             target: "elm.text";
35051             target: "elm.swallow.icon";
35052          }
35053          program { name: "l_side_text";
35054             signal: "elm,state,left_side";
35055             source: "elm";
35056             action: STATE_SET "left_side" 0.0;
35057             target: "elm.text";
35058             target: "elm.swallow.icon";
35059          }
35060          program { name: "r_side_text";
35061             signal: "elm,state,right_side";
35062             source: "elm";
35063             action: STATE_SET "right_side" 0.0;
35064             target: "elm.text";
35065             target: "elm.swallow.icon";
35066          }
35067       }
35068    }
35069
35070    group { name: "elm/entry/path/separator/default";
35071       images.image: "arrow_right.png" COMP;
35072       parts {
35073          part { name: "icon";
35074             mouse_events: 0;
35075             description { state: "default" 0.0;
35076                image.normal: "arrow_right.png";
35077                max: 64 64;
35078                aspect: 1.0 1.0;
35079             }
35080          }
35081       }
35082    }
35083
35084    group { name: "elm/fileselector/base/default";
35085       data {
35086          item: "path_separator" "<item relsize=16x16 vsize=full href=path/separator></item>";
35087       }
35088       parts {
35089          part { name: "elm.swallow.up";
35090             type: SWALLOW;
35091             description { state: "default" 0.0;
35092                align: 0.0 0.0;
35093                min: 10 10;
35094                fixed: 1 1;
35095                rel2 {
35096                   relative: 0.0 0.0;
35097                   offset: 0 0;
35098                }
35099             }
35100          }
35101          part { name: "elm.swallow.home";
35102             type: SWALLOW;
35103             description { state: "default" 0.0;
35104                align: 0.0 0.0;
35105                min: 10 10;
35106                fixed: 1 1;
35107                rel1 {
35108                   to: "elm.swallow.up";
35109                   relative: 1.0 0.0;
35110                   offset: 5 0;
35111                }
35112                rel2 {
35113                   to: "elm.swallow.up";
35114                   relative: 1.0 1.0;
35115                   offset: 20 -1;
35116                }
35117             }
35118          }
35119          part { name: "elm.swallow.files";
35120             type: SWALLOW;
35121             description { state: "default" 0.0;
35122                align: 1.0 0.0;
35123                min: 10 10;
35124                fixed: 1 1;
35125                rel1 {
35126                   to_y: "elm.swallow.home";
35127                   relative: 0.0 1.0;
35128                   offset: 0 0;
35129                }
35130                rel2 {
35131                   to_y: "elm.swallow.path";
35132                   relative: 1.0 0.0;
35133                   offset: -1 -1;
35134                }
35135             }
35136          }
35137          part { name: "elm.swallow.path";
35138             type: SWALLOW;
35139             description { state: "default" 0.0;
35140                align: 0.5 1.0;
35141                fixed: 1 1;
35142                rel1 {
35143                   to_y: "elm.swallow.filename";
35144                   relative: 0.0 0.0;
35145                   offset: 0 -1;
35146                }
35147                rel2 {
35148                   to_y: "elm.swallow.filename";
35149                   relative: 1.0 0.0;
35150                   offset: -1 -1;
35151                }
35152             }
35153          }
35154          part { name: "elm.swallow.filename";
35155             type: SWALLOW;
35156             description { state: "default" 0.0;
35157                align: 0.5 1.0;
35158                fixed: 1 1;
35159                rel1 {
35160                   to_y: "elm.swallow.ok";
35161                   relative: 0.0 0.0;
35162                   offset: 0 -1;
35163                }
35164                rel2 {
35165                   to_y: "elm.swallow.ok";
35166                   relative: 1.0 0.0;
35167                   offset: -1 -1;
35168                }
35169             }
35170          }
35171          part { name: "elm.swallow.cancel";
35172             type: SWALLOW;
35173             description { state: "default" 0.0;
35174                align: 1.0 1.0;
35175                fixed: 1 1;
35176                rel1 {
35177                   to: "elm.swallow.ok";
35178                   relative: 0.0 0.0;
35179                   offset: -3 0;
35180                }
35181                rel2 {
35182                   to: "elm.swallow.ok";
35183                   relative: 0.0 1.0;
35184                   offset: -3 -1;
35185                }
35186             }
35187          }
35188          part { name: "elm.swallow.ok";
35189             type: SWALLOW;
35190             description { state: "default" 0.0;
35191                align: 1.0 1.0;
35192                fixed: 1 1;
35193                rel1 {
35194                   relative: 1.0 1.0;
35195                   offset: -1 -1;
35196                }
35197             }
35198          }
35199       }
35200    }
35201
35202    group { name: "elm/fileselector_entry/base/default";
35203       parts {
35204          part { name: "elm.swallow.entry";
35205             type: SWALLOW;
35206             description { state: "default" 0.0;
35207                align: 0.0 0.0;
35208                min: 50 10;
35209                rel2 { to_x: "elm.swallow.button";
35210                   relative: 0.0 1.0;
35211                   offset: -1 -1;
35212                }
35213             }
35214          }
35215          part { name: "elm.swallow.button";
35216             type: SWALLOW;
35217             description { state: "default" 0.0;
35218                align: 1.0 0.0;
35219                min: 10 10;
35220                fixed: 1 1;
35221                rel1 {
35222                   relative: 1.0 0.0;
35223                   offset: -21 0;
35224                }
35225             }
35226          }
35227       }
35228    }
35229
35230 ////////////////////////////////////////////////////////////////////////
35231 // Standard layouts to be used                                        //
35232 ////////////////////////////////////////////////////////////////////////
35233    /* application with toolbar and main content area */
35234    group { name: "elm/layout/application/toolbar-content";
35235       parts {
35236          part { name: "elm.swallow.content";
35237             type: SWALLOW;
35238             description { state: "default" 0.0;
35239                rel1 { to_y: "elm.external.toolbar";
35240                   relative: 0.0 1.0;
35241                   offset: -1 1;
35242                }
35243             }
35244          }
35245
35246          part { name: "elm.external.toolbar";
35247             type: EXTERNAL;
35248             source: "elm/toolbar";
35249             description { state: "default" 0.0;
35250                align: 0.5 0.0;
35251                fixed: 0 1;
35252                rel2 {
35253                   relative: 1.0 0.0;
35254                   offset: -1 47;
35255                }
35256             }
35257          }
35258       }
35259    }
35260
35261    /* application with toolbar and main content area with a back button and title area */
35262    group { name: "elm/layout/application/toolbar-content-back";
35263       parts {
35264          part { name: "elm.swallow.content";
35265             type: SWALLOW;
35266             description { state: "default" 0.0;
35267                rel1 { to_y: "title_clipper";
35268                   relative: 0.0 1.0;
35269                   offset: -1 1;
35270                }
35271             }
35272          }
35273
35274          part { name: "elm.external.toolbar";
35275             type: EXTERNAL;
35276             source: "elm/toolbar";
35277             description { state: "default" 0.0;
35278                fixed: 0 1;
35279                align: 0.5 0.0;
35280                rel2 {
35281                   relative: 1.0 0.0;
35282                   offset: -1 47;
35283                }
35284             }
35285          }
35286          part { name: "title_clipper";
35287             type: RECT;
35288             description { state: "default" 0.0;
35289                visible: 1;
35290                rel1 {
35291                   to_y: "back";
35292                }
35293                rel2 {
35294                   to_y: "back";
35295                }
35296             }
35297             description { state: "hidden" 0.0;
35298                inherit: "default" 0.0;
35299                visible: 0;
35300                rel2 {
35301                   relative: 1.0 0.0;
35302                }
35303             }
35304          }
35305          part { name: "back_clipper";
35306             type: RECT;
35307             clip_to: "title_clipper";
35308             description { state: "default" 0.0;
35309                visible: 1;
35310             }
35311             description { state: "hidden" 0.0;
35312                visible: 0;
35313             }
35314          }
35315          part { name: "back";
35316             type: EXTERNAL;
35317             source: "elm/button";
35318             clip_to: "back_clipper";
35319             description { state: "default" 0.0;
35320                align: 0.0 0.0;
35321                fixed: 1 1;
35322                rel1 { to_y: "elm.external.toolbar";
35323                   relative: 0.0 1.0;
35324                   offset: 0 1;
35325                }
35326                rel2 { to_y: "elm.external.toolbar";
35327                   relative: 0.0 1.0;
35328                   offset: 50 32;
35329                }
35330                params.string: "label" "Back";
35331             }
35332          }
35333          programs {
35334             program {
35335                signal: "clicked";
35336                source: "back";
35337                action: SIGNAL_EMIT "elm,action,back" "";
35338             }
35339             program {
35340                signal: "elm,back,hide";
35341                source: "elm";
35342                action: STATE_SET "hidden" 0.0;
35343                target: "back_clipper";
35344             }
35345             program {
35346                signal: "elm,back,show";
35347                source: "elm";
35348                action: STATE_SET "default" 0.0;
35349                target: "back_clipper";
35350             }
35351             program {
35352                signal: "elm,title,hide";
35353                source: "elm";
35354                action: STATE_SET "hidden" 0.0;
35355                transition: LINEAR 0.1;
35356                target: "title_clipper";
35357             }
35358             program {
35359                signal: "elm,title,show";
35360                source: "elm";
35361                action: STATE_SET "default" 0.0;
35362                target: "title_clipper";
35363             }
35364          }
35365
35366          part { name: "elm.swallow.end";
35367             type: SWALLOW;
35368             description { state: "default" 0.0;
35369                align: 1.0 0.0;
35370                fixed: 1 1;
35371                rel1 { to_y: "elm.external.toolbar";
35372                   relative: 1.0 1.0;
35373                   offset: -2 1;
35374                }
35375                rel2 { to_y: "elm.external.toolbar";
35376                   relative: 1.0 1.0;
35377                   offset: -1 32;
35378                }
35379             }
35380          }
35381
35382          part { name: "elm.text.title";
35383             type: TEXT;
35384             effect: SOFT_SHADOW;
35385             scale: 1;
35386             description { state: "default" 0.0;
35387                rel1 { to_y: "elm.external.toolbar";
35388                   to_x: "back";
35389                   relative: 1.0 1.0;
35390                   offset: 2 1;
35391                }
35392                rel2 { to_y: "back";
35393                   to_x: "elm.swallow.end";
35394                   relative: 0.0 1.0;
35395                   offset: -3 -1;
35396                }
35397                text {
35398                   font: "Sans:style=Bold";
35399                   size: 12;
35400                }
35401             }
35402          }
35403       }
35404    }
35405
35406    /* application with toolbar and main content area with a back and next buttons and title area */
35407    group { name: "elm/layout/application/toolbar-content-back-next";
35408       parts {
35409          part { name: "elm.swallow.content";
35410             type: SWALLOW;
35411             description { state: "default" 0.0;
35412                rel1 { to_y: "title_clipper";
35413                   relative: 0.0 1.0;
35414                   offset: -1 1;
35415                }
35416             }
35417          }
35418
35419          part { name: "elm.external.toolbar";
35420             type: EXTERNAL;
35421             source: "elm/toolbar";
35422             description { state: "default" 0.0;
35423                fixed: 0 1;
35424                align: 0.5 0.0;
35425                rel2 {
35426                   relative: 1.0 0.0;
35427                   offset: -1 47;
35428                }
35429             }
35430          }
35431          part { name: "title_clipper";
35432             type: RECT;
35433             description { state: "default" 0.0;
35434                visible: 1;
35435                rel1 {
35436                   to_y: "back";
35437                }
35438                rel2 {
35439                   to_y: "back";
35440                }
35441             }
35442             description { state: "hidden" 0.0;
35443                inherit: "default" 0.0;
35444                visible: 0;
35445                rel2 {
35446                   relative: 1.0 0.0;
35447                }
35448             }
35449          }
35450          part { name: "back";
35451             type: EXTERNAL;
35452             source: "elm/button";
35453             clip_to: "back_clipper";
35454             description { state: "default" 0.0;
35455                align: 0.0 0.0;
35456                fixed: 1 1;
35457                rel1 { to_y: "elm.external.toolbar";
35458                   relative: 0.0 1.0;
35459                   offset: 0 1;
35460                }
35461                rel2 { to_y: "elm.external.toolbar";
35462                   relative: 0.0 1.0;
35463                   offset: 50 32;
35464                }
35465                params.string: "label" "Back";
35466             }
35467          }
35468          part { name: "back_clipper";
35469             type: RECT;
35470             clip_to: "title_clipper";
35471             description { state: "default" 0.0;
35472                visible: 1;
35473             }
35474             description { state: "hidden" 0.0;
35475                visible: 0;
35476             }
35477          }
35478          part { name: "next";
35479             type: EXTERNAL;
35480             source: "elm/button";
35481             clip_to: "next_clipper";
35482             description { state: "default" 0.0;
35483                align: 1.0 0.0;
35484                fixed: 1 1;
35485                rel1 { to_y: "elm.external.toolbar";
35486                   relative: 1.0 1.0;
35487                   offset: -2 1;
35488                }
35489                rel2 { to_y: "elm.external.toolbar";
35490                   relative: 1.0 1.0;
35491                   offset: -1 32;
35492                }
35493                params.string: "label" "Next";
35494            }
35495          }
35496          part { name: "next_clipper";
35497             type: RECT;
35498             clip_to: "title_clipper";
35499             description { state: "default" 0.0;
35500                visible: 1;
35501             }
35502             description { state: "hidden" 0.0;
35503                visible: 0;
35504             }
35505          }
35506          programs {
35507             program {
35508                signal: "clicked";
35509                source: "back";
35510                action: SIGNAL_EMIT "elm,action,back" "";
35511             }
35512             program {
35513                signal: "elm,title,hide";
35514                source: "elm";
35515                action: STATE_SET "hidden" 0.0;
35516                transition: LINEAR 0.1;
35517                target: "title_clipper";
35518             }
35519             program {
35520                signal: "elm,title,show";
35521                source: "elm";
35522                action: STATE_SET "default" 0.0;
35523                target: "title_clipper";
35524             }
35525             program {
35526                signal: "elm,back,hide";
35527                source: "elm";
35528                action: STATE_SET "hidden" 0.0;
35529                target: "back_clipper";
35530             }
35531             program {
35532                signal: "elm,back,show";
35533                source: "elm";
35534                action: STATE_SET "default" 0.0;
35535                target: "back_clipper";
35536             }
35537             program {
35538                signal: "clicked";
35539                source: "next";
35540                action: SIGNAL_EMIT "elm,action,next" "";
35541             }
35542             program {
35543                signal: "elm,next,hide";
35544                source: "elm";
35545                action: STATE_SET "hidden" 0.0;
35546                target: "next_clipper";
35547             }
35548             program {
35549                signal: "elm,next,show";
35550                source: "elm";
35551                action: STATE_SET "default" 0.0;
35552                target: "next_clipper";
35553             }
35554          }
35555          part { name: "elm.text.title";
35556             type: TEXT;
35557             effect: SOFT_SHADOW;
35558             scale: 1;
35559             clip_to: "title_clipper";
35560             description { state: "default" 0.0;
35561                rel1 { to_y: "elm.external.toolbar";
35562                   to_x: "back";
35563                   relative: 1.0 1.0;
35564                   offset: 2 1;
35565                }
35566                rel2 { to_y: "back";
35567                   to_x: "next";
35568                   relative: 0.0 1.0;
35569                   offset: -3 -1;
35570                }
35571                text {
35572                   font: "Sans:style=Bold";
35573                   size: 12;
35574                }
35575             }
35576          }
35577       }
35578    }
35579    /* application with a main content area with a back button and title area */
35580    group { name: "elm/layout/application/content-back";
35581       parts {
35582          part { name: "elm.swallow.content";
35583             type: SWALLOW;
35584             description { state: "default" 0.0;
35585                rel1 { to_y: "title_clipper";
35586                   relative: 0.0 1.0;
35587                   offset: -1 1;
35588                }
35589             }
35590          }
35591          part { name: "title_clipper";
35592             type: RECT;
35593             description { state: "default" 0.0;
35594                visible: 1;
35595                rel1 {
35596                   to_y: "back";
35597                }
35598                rel2 {
35599                   to_y: "back";
35600                }
35601             }
35602             description { state: "hidden" 0.0;
35603                inherit: "default" 0.0;
35604                visible: 0;
35605                rel2 {
35606                   relative: 1.0 0.0;
35607                }
35608             }
35609          }
35610          part { name: "back_clipper";
35611             type: RECT;
35612             clip_to: "title_clipper";
35613             description { state: "default" 0.0;
35614                visible: 1;
35615             }
35616             description { state: "hidden" 0.0;
35617                visible: 0;
35618             }
35619          }
35620          part { name: "back";
35621             type: EXTERNAL;
35622             source: "elm/button";
35623             clip_to: "back_clipper";
35624             description { state: "default" 0.0;
35625                align: 0.0 0.0;
35626                fixed: 1 1;
35627                rel1 {
35628                   relative: 0.0 0.0;
35629                   offset: 0 1;
35630                }
35631                rel2 {
35632                   relative: 0.0 0.0;
35633                   offset: 50 32;
35634                }
35635                params.string: "label" "Back";
35636             }
35637          }
35638          programs {
35639             program {
35640                signal: "clicked";
35641                source: "back";
35642                action: SIGNAL_EMIT "elm,action,back" "";
35643             }
35644             program {
35645                signal: "elm,back,hide";
35646                source: "elm";
35647                action: STATE_SET "hidden" 0.0;
35648                target: "back_clipper";
35649             }
35650             program {
35651                signal: "elm,back,show";
35652                source: "elm";
35653                action: STATE_SET "default" 0.0;
35654                target: "back_clipper";
35655             }
35656             program {
35657                signal: "elm,title,hide";
35658                source: "elm";
35659                action: STATE_SET "hidden" 0.0;
35660                transition: LINEAR 0.1;
35661                target: "title_clipper";
35662             }
35663             program {
35664                signal: "elm,title,show";
35665                source: "elm";
35666                action: STATE_SET "default" 0.0;
35667                target: "title_clipper";
35668             }
35669          }
35670
35671          part { name: "elm.swallow.end";
35672             type: SWALLOW;
35673             description { state: "default" 0.0;
35674                align: 1.0 0.0;
35675                fixed: 1 1;
35676                rel1 {
35677                   relative: 1.0 0.0;
35678                   offset: -2 1;
35679                }
35680                rel2 {
35681                   relative: 1.0 1.0;
35682                   offset: -1 32;
35683                }
35684             }
35685          }
35686
35687          part { name: "elm.text.title";
35688             type: TEXT;
35689             effect: SOFT_SHADOW;
35690             scale: 1;
35691             description { state: "default" 0.0;
35692                rel1 {
35693                   to_x: "back";
35694                   relative: 1.0 0.0;
35695                   offset: 2 1;
35696                }
35697                rel2 { to_y: "back";
35698                   to_x: "elm.swallow.end";
35699                   relative: 0.0 1.0;
35700                   offset: -3 -1;
35701                }
35702                text {
35703                   font: "Sans:style=Bold";
35704                   size: 12;
35705                }
35706             }
35707          }
35708       }
35709    }
35710
35711    /* application with a main content area with a back and next buttons and title area */
35712    group { name: "elm/layout/application/content-back-next";
35713       parts {
35714          part { name: "elm.swallow.content";
35715             type: SWALLOW;
35716             description { state: "default" 0.0;
35717                rel1 { to_y: "title_clipper";
35718                   relative: 0.0 1.0;
35719                   offset: -1 1;
35720                }
35721             }
35722          }
35723
35724          part { name: "title_clipper";
35725             type: RECT;
35726             description { state: "default" 0.0;
35727                visible: 1;
35728                rel1 {
35729                   to_y: "back";
35730                }
35731                rel2 {
35732                   to_y: "back";
35733                }
35734             }
35735             description { state: "hidden" 0.0;
35736                inherit: "default" 0.0;
35737                visible: 0;
35738                rel2 {
35739                   relative: 1.0 0.0;
35740                }
35741             }
35742          }
35743          part { name: "back";
35744             type: EXTERNAL;
35745             source: "elm/button";
35746             clip_to: "back_clipper";
35747             description { state: "default" 0.0;
35748                align: 0.0 0.0;
35749                fixed: 1 1;
35750                rel1 {
35751                   relative: 0.0 0.0;
35752                   offset: 0 1;
35753                }
35754                rel2 {
35755                   relative: 0.0 0.0;
35756                   offset: 50 32;
35757                }
35758                params.string: "label" "Back";
35759             }
35760          }
35761          part { name: "back_clipper";
35762             type: RECT;
35763             clip_to: "title_clipper";
35764             description { state: "default" 0.0;
35765                visible: 1;
35766             }
35767             description { state: "hidden" 0.0;
35768                visible: 0;
35769             }
35770          }
35771          part { name: "next";
35772             type: EXTERNAL;
35773             source: "elm/button";
35774             clip_to: "next_clipper";
35775             description { state: "default" 0.0;
35776                align: 1.0 0.0;
35777                fixed: 1 1;
35778                rel1 {
35779                   relative: 1.0 0.0;
35780                   offset: -2 1;
35781                }
35782                rel2 {
35783                   relative: 1.0 0.0;
35784                   offset: -1 32;
35785                }
35786                params.string: "label" "Next";
35787            }
35788          }
35789          part { name: "next_clipper";
35790             type: RECT;
35791             clip_to: "title_clipper";
35792             description { state: "default" 0.0;
35793                visible: 1;
35794             }
35795             description { state: "hidden" 0.0;
35796                visible: 0;
35797             }
35798          }
35799          programs {
35800             program {
35801                signal: "clicked";
35802                source: "back";
35803                action: SIGNAL_EMIT "elm,action,back" "";
35804             }
35805             program {
35806                signal: "elm,title,hide";
35807                source: "elm";
35808                action: STATE_SET "hidden" 0.0;
35809                transition: LINEAR 0.1;
35810                target: "title_clipper";
35811             }
35812             program {
35813                signal: "elm,title,show";
35814                source: "elm";
35815                action: STATE_SET "default" 0.0;
35816                target: "title_clipper";
35817             }
35818             program {
35819                signal: "elm,back,hide";
35820                source: "elm";
35821                action: STATE_SET "hidden" 0.0;
35822                target: "back_clipper";
35823             }
35824             program {
35825                signal: "elm,back,show";
35826                source: "elm";
35827                action: STATE_SET "default" 0.0;
35828                target: "back_clipper";
35829             }
35830             program {
35831                signal: "clicked";
35832                source: "next";
35833                action: SIGNAL_EMIT "elm,action,next" "";
35834             }
35835             program {
35836                signal: "elm,next,hide";
35837                source: "elm";
35838                action: STATE_SET "hidden" 0.0;
35839                target: "next_clipper";
35840             }
35841             program {
35842                signal: "elm,next,show";
35843                source: "elm";
35844                action: STATE_SET "default" 0.0;
35845                target: "next_clipper";
35846             }
35847          }
35848          part { name: "elm.text.title";
35849             type: TEXT;
35850             effect: SOFT_SHADOW;
35851             scale: 1;
35852             clip_to: "title_clipper";
35853             description { state: "default" 0.0;
35854                rel1 {
35855                   to_x: "back";
35856                   relative: 1.0 0.0;
35857                   offset: 2 1;
35858                }
35859                rel2 { to_y: "back";
35860                   to_x: "next";
35861                   relative: 0.0 1.0;
35862                   offset: -3 -1;
35863                }
35864                text {
35865                   font: "Sans:style=Bold";
35866                   size: 12;
35867                }
35868             }
35869          }
35870       }
35871    }
35872
35873    /* application with toolbar and main content area as a vertical box */
35874    group { name: "elm/layout/application/toolbar-vbox";
35875       parts {
35876          part { name: "elm.box.content";
35877             type: BOX;
35878             description { state: "default" 0.0;
35879                rel1 { to_y: "elm.external.toolbar";
35880                   relative: 0.0 1.0;
35881                   offset: -1 1;
35882                }
35883                box.layout: "vertical";
35884             }
35885          }
35886
35887          part { name: "elm.external.toolbar";
35888             type: EXTERNAL;
35889             source: "elm/toolbar";
35890             description { state: "default" 0.0;
35891                align: 0.5 0.0;
35892                fixed: 0 1;
35893                rel2 {
35894                   relative: 1.0 0.0;
35895                   offset: -1 47;
35896                }
35897             }
35898          }
35899       }
35900    }
35901
35902    /* application with toolbar and main content area as a table */
35903    group { name: "elm/layout/application/toolbar-table";
35904       parts {
35905          part { name: "elm.table.content";
35906             type: TABLE;
35907             description { state: "default" 0.0;
35908                rel1 { to_y: "elm.external.toolbar";
35909                   relative: 0.0 1.0;
35910                   offset: -1 1;
35911                }
35912             }
35913          }
35914
35915          part { name: "elm.external.toolbar";
35916             type: EXTERNAL;
35917             source: "elm/toolbar";
35918             description { state: "default" 0.0;
35919                align: 0.5 0.0;
35920                fixed: 0 1;
35921                rel2 {
35922                   relative: 1.0 0.0;
35923                   offset: -1 47;
35924                }
35925             }
35926          }
35927       }
35928    }
35929
35930    /* a simple title layout, with a label and two icons */
35931    group { name: "elm/layout/application/titlebar";
35932       images {
35933          image: "toolbar_sel.png" COMP;
35934       }
35935       parts {
35936          part { name: "base";
35937             mouse_events: 0;
35938             scale: 1;
35939             description { state: "default" 0.0;
35940                min: 0 33;
35941                max: 99999 33;
35942                align: 0.5 0.0;
35943                rel1.offset: -1 0;
35944                rel2.offset: 1 0;
35945                image {
35946                   normal: "toolbar_sel.png";
35947                   border: 3 3 0 0;
35948                }
35949             }
35950          }
35951          part { name: "elm.swallow.content";
35952             type: SWALLOW;
35953             description { state: "default" 0.0;
35954                visible: 1;
35955                rel1 {
35956                   to: "base";
35957                   relative: 0.0 1.0;
35958                }
35959             }
35960          }
35961          part { name: "elm.swallow.icon";
35962             type: SWALLOW;
35963             scale: 1;
35964             description { state: "default" 0.0;
35965                visible: 0;
35966                fixed: 1 1;
35967                align: 0.0 0.0;
35968                rel1 {
35969                   to: "base";
35970                   relative: 0.0 0.0;
35971                   offset: 4 0;
35972                }
35973                rel2 {
35974                   to: "base";
35975                   relative: 0.0 1.0;
35976                }
35977             }
35978             description { state: "visible" 0.0;
35979                inherit: "default" 0.0;
35980                visible: 1;
35981             }
35982          }
35983          part { name: "elm.swallow.end";
35984             type: SWALLOW;
35985             scale: 1;
35986             description { state: "default" 0.0;
35987                visible: 0;
35988                fixed: 1 1;
35989                align: 1.0 0.0;
35990                rel1 {
35991                   to: "base";
35992                   relative: 1.0 0.0;
35993                   offset: 0 0;
35994                }
35995                rel2 {
35996                   to: "base";
35997                   relative: 1.0 1.0;
35998                   offset: -5 -1;
35999                }
36000             }
36001             description { state: "visible" 0.0;
36002                inherit: "default" 0.0;
36003                visible: 1;
36004             }
36005          }
36006          part { name: "elm.text";
36007             type: TEXT;
36008             effect: SOFT_SHADOW;
36009             mouse_events: 0;
36010             scale: 1;
36011             description { state: "default" 0.0;
36012                fixed: 1 1;
36013                rel1 {
36014                   to_x: "elm.swallow.icon";
36015                   to_y: "base";
36016                   relative: 1.0 0.0;
36017                }
36018                rel2 {
36019                   to_x: "elm.swallow.end";
36020                   to_y: "base";
36021                   relative: 0.0 1.0;
36022                }
36023                text {
36024                   font: "Sans";
36025                   size: 12;
36026                   min: 0 0;
36027                   align: 0.5 0.5;
36028                   text_class: "title_bar";
36029                }
36030             }
36031          }
36032       }
36033       programs {
36034          program { name: "show_icon";
36035             signal: "elm,state,icon,visible";
36036             source: "elm";
36037             action: STATE_SET "visible" 0.0;
36038             target: "elm.swallow.icon";
36039          }
36040          program { name: "hide_icon";
36041             signal: "elm,state,icon,hidden";
36042             source: "elm";
36043             action: STATE_SET "default" 0.0;
36044             target: "elm.swallow.icon";
36045          }
36046          program { name: "show_end";
36047             signal: "elm,state,end,visible";
36048             source: "elm";
36049             action: STATE_SET "visible" 0.0;
36050             target: "elm.swallow.end";
36051          }
36052          program { name: "hide_end";
36053             signal: "elm,state,end,hidden";
36054             source: "elm";
36055             action: STATE_SET "default" 0.0;
36056             target: "elm.swallow.end";
36057          }
36058       }
36059    }
36060 }