Merge "Merge Conflict resolved. [SegmentControl] Complete Refactoring of SegmentContr...
[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    group { name: "elm/segment_control/base/default";
14       parts {
15          part { name: "bg";
16             type: RECT;
17             mouse_events: 0;
18             scale: 1;
19             description {
20                state: "default" 0.0;
21                color: 0 0 0 0;
22                min: 100 40;
23             }
24          }
25       }
26    }
27    group { name: "elm/segment_control/item/default";
28       data.item: "label.wrap.part" "label.bg";
29       images {
30          image: "seg_single_pressed.png" COMP;
31          image: "seg_single_selected.png" COMP;
32          image: "seg_single_normal.png" COMP;
33
34          image: "seg_left_pressed.png" COMP;
35          image: "seg_left_selected.png" COMP;
36          image: "seg_left_normal.png" COMP;
37
38          image: "seg_middle_pressed.png" COMP;
39          image: "seg_middle_selected.png" COMP;
40          image: "seg_middle_normal.png" COMP;
41
42          image: "seg_right_pressed.png" COMP;
43          image: "seg_right_selected.png" COMP;
44          image: "seg_right_normal.png" COMP;
45       }
46       parts {
47          part { name: "segment";
48             mouse_events: 1;
49             scale: 1;
50             description { state: "default" 0.0;
51                min: 1 1;
52                visible: 0;
53                image {
54                   normal: "seg_single_normal.png";
55                   border: 7 7 7 7;
56                   border_scale: 1;
57                   middle: 1;
58                }
59             }
60             description { state: "default_single" 0.0;
61                inherit: "default" 0.0;
62                visible: 1;
63                image {
64                   normal: "seg_single_normal.png";
65                   border: 7 7 7 7;
66                }
67             }
68             description { state: "default_left" 0.0;
69                inherit: "default" 0.0;
70                visible: 1;
71                image {
72                normal: "seg_left_normal.png";
73                   border:  6 1 7 7;
74                }
75             }
76             description { state: "default_right" 0.0;
77                inherit: "default" 0.0;
78                visible: 1;
79                image {
80                   normal: "seg_right_normal.png";
81                   border: 1 6 7 7;
82                }
83             }
84             description { state: "default_middle" 0.0;
85                inherit: "default" 0.0;
86                visible: 1;
87                image {
88                   normal: "seg_middle_normal.png";
89                   border: 2 2 2 2;
90                }
91             }
92             description { state: "pressed_single" 0.0;
93                inherit: "default" 0.0;
94                visible: 1;
95                image {
96                   normal: "seg_single_pressed.png";
97                   border: 7 7 7 7;
98                }
99             }
100             description { state: "pressed_left" 0.0;
101                inherit: "default" 0.0;
102                visible: 1;
103                image {
104                   normal: "seg_left_pressed.png";
105                   border:  6 1 7 7;
106                }
107             }
108             description { state: "pressed_right" 0.0;
109                inherit: "default" 0.0;
110                visible: 1;
111                image {
112                   normal: "seg_right_pressed.png";
113                   border: 1 6 7 7;
114                }
115             }  
116             description { state: "pressed_middle" 0.0;
117                inherit: "default" 0.0;
118                visible: 1;
119                image {
120                   normal: "seg_middle_pressed.png";
121                   border: 1 1 2 2;
122                }
123             }
124             description { state: "selected_single" 0.0;
125                inherit: "default" 0.0;
126                visible: 1;
127                image {
128                   normal: "seg_single_selected.png";
129                   border: 7 7 7 7;
130                }
131             }
132             description { state: "selected_left" 0.0;
133                inherit: "default" 0.0;
134                visible: 1;
135                image {
136                   normal: "seg_left_selected.png";
137                   border:  6 3 7 7;
138                }
139             }
140             description { state: "selected_right" 0.0;
141                inherit: "default" 0.0;
142                visible: 1;
143                image {
144                   normal: "seg_right_selected.png";
145                   border: 3 6 7 7;
146                }
147             }
148             description { state: "selected_middle" 0.0;
149                inherit: "default" 0.0;
150                visible: 1;
151                image {
152                   normal: "seg_middle_selected.png";
153                   border: 3 3 3 3;
154                }
155             }
156          }
157          part { name: "padding_left";
158             type: RECT;
159             scale: 1;
160             mouse_events: 0;
161             description { state: "default" 0.0;
162                align: 0.0 0.0;
163                rel1.relative: 0.0 0.0;
164                rel2.relative: 0.0 1.0;
165                min: 2 2;
166                max: 2 2;
167                fixed: 1 0;
168                color: 0 0 0 0;
169             }
170          }
171          part { name: "padding_right";
172             type: RECT;
173             scale: 1;
174             mouse_events: 0;
175             description { state: "default" 0.0;
176                align: 1.0 0.0;
177                rel1.relative: 1.0 0.0;
178                rel2.relative: 1.0 1.0;
179                min: 2 2;
180                max: 2 2;
181                fixed: 1 0;
182                color: 0 0 0 0;
183             }
184          }
185          part { name: "padding_top";
186             type: RECT;
187             scale: 1;
188             mouse_events: 0;
189             description { state: "default" 0.0;
190                align: 0.0 0.0;
191                rel1.relative: 0.0 0.0;
192                rel2.relative: 1.0 0.0;
193                min: 2 2;
194                max: 2 2;
195                fixed: 0 1;
196                color: 0 0 0 0;
197             }
198          }
199          part { name: "padding_bottom";
200             type: RECT;
201             scale: 1;
202             mouse_events: 0;
203             description { state: "default" 0.0;
204                align: 1.0 1.0;
205                rel1.relative: 0.0 1.0;
206                rel2.relative: 1.0 1.0;
207                min: 2 2;
208                max: 2 2;
209                fixed: 0 1;
210                color: 0 0 0 0;
211             }
212          }
213          part { name: "icon.bg";
214             type: RECT;
215             scale: 1;
216             mouse_events: 0;
217             description { state: "default" 0.0;
218                visible: 1;
219                fixed: 1 0;
220                rel1 {relative: 1.0 1.0; to_x: "padding_left"; to_y: "padding_top"; }
221                rel2 {relative: 1.0 1.0; to: "elm.swallow.icon"; }
222                align: 0.0 0.5;
223                color: 0 0 0 0;
224             }
225          }
226          part { name: "padding_icon_text";
227             type: RECT;
228             scale: 1;
229             mouse_events: 0;
230             description { state: "default" 0.0; //when only icon or no icon is there
231                align: 0.0 0.0;
232                rel1 { relative: 1.0 0.0; to: "icon.bg"; }
233                rel2 { relative: 1.0 1.0; to: "icon.bg"; }
234                fixed: 1 0;
235                min: 0 0;
236                color: 0 0 0 0;
237             }
238             description { state: "icononly" 0.0;
239                inherit: "default" 0.0;
240             }
241             description { state: "visible" 0.0; //when icon is visible
242                align: 0.0 0.0;
243                rel1 { relative: 1.0 0.0; to: "icon.bg"; }
244                rel2 { relative: 1.0 1.0; to: "icon.bg"; }
245                fixed: 1 0;
246                min: 2 0;
247                color: 0 0 0 0;
248             }
249          }
250          part { name: "elm.swallow.icon";
251             type: SWALLOW;
252             scale: 1;
253             description { state: "default" 0.0;
254                visible: 0;
255                align: 0.0 0.5;
256                rel1 {relative: 1.0 1.0; to_x: "padding_left"; to_y: "padding_top"; }
257                rel2 {relative: 0.0 0.0; to_y: "padding_bottom"; }
258                fixed: 1 0;
259                aspect: 1.0 1.0;
260                aspect_preference: BOTH;
261             }
262             description { state: "visible" 0.0;
263                inherit: "default" 0.0;
264                visible: 1;
265                rel2 {relative: 0.3 0.0; to_y: "padding_bottom"; }
266             }
267             description { state: "icononly" 0.0;;
268                inherit: "default" 0.0;
269                visible: 1;
270                rel2 {relative: 0.0 0.0; to_x: "padding_right"; to_y: "padding_bottom"; }
271                align: 0.5 0.5;
272             }
273          }
274          part { name: "label.bg";
275             repeat_events: 1;
276             scale: 1;
277             description { state: "default" 0.0;
278                rel1 { relative: 1.0 1.0; to_x: "padding_icon_text"; to_y: "padding_top"; }
279                rel2 { relative: 0.0 0.0; to_x: "padding_right"; to_y: "padding_bottom"; }
280             }
281          }
282          part { name: "elm.swallow.label";
283             type: SWALLOW;
284             mouse_events: 0;
285             scale: 1;
286             clip_to: "label.bg";
287             description { state: "default" 0.0;
288                visible: 0;
289                fixed: 1 1;
290                min: 1 1;
291                align: 0.0 0.5;
292                rel1 { relative: 1.0 1.0; to_x: "padding_icon_text";}
293                rel2 { relative: 0.0 0.0; to_x: "padding_right";}
294             }
295             description { state: "visible" 0.0;
296                inherit: "default" 0.0;
297                visible: 1;
298             }
299          }
300          part { name: "disabler";
301             repeat_events: 0;
302             scale: 1;
303             description { state: "default" 0.0;
304                visible: 0;
305                fixed: 1 1;
306                min: 1 1;
307                align: 0.0 0.5;
308                rel1 { relative: 0.0 0.0; to: "segment";}
309                rel2 { relative: 1.0 1.0; to: "segment";}
310                color: 255 255 255 150;
311             }
312             description { state: "disabled_single" 0.0;
313                inherit: "default" 0.0;
314                visible: 1;
315                image {
316                   normal: "seg_single_normal.png";
317                   border: 7 7 7 7;
318                }
319             }
320             description { state: "disabled_left" 0.0;
321                inherit: "default" 0.0;
322                visible: 1;
323                image {
324                   normal: "seg_left_normal.png";
325                   border:  6 1 7 7;
326                }
327             }
328             description { state: "disabled_right" 0.0;
329                inherit: "default" 0.0;
330                visible: 1;
331                image {
332                   normal: "seg_right_normal.png";
333                   border: 1 6 7 7;
334                }
335             }
336             description { state: "disabled_middle" 0.0;
337                inherit: "default" 0.0;
338                visible: 1;
339                image {
340                   normal: "seg_middle_normal.png";
341                   border: 2 2 2 2;
342                }
343             }
344          }
345       }
346       programs {
347          script {
348             public seg_type; // 1-Single, 2-Left, 3-Middle, 4-Right.
349             public seg_state; // 1-Normal/Default, 2-Pressed, 3-Selected.
350             public seg_status;// 0-Enabled/Default, 1-Disabled
351          
352             public update_state() { 
353                new type, state, disabled;
354                type = get_int(seg_type);
355                state = get_int(seg_state);
356                disabled = get_int(seg_status);
357
358                if( state ==1 )
359                  {
360                     if(type == 1)
361                       set_state(PART:"segment", "default_single", 0.0);
362                     else if(type == 2)
363                       set_state(PART:"segment", "default_left", 0.0);
364                     else if(type == 3)
365                       set_state(PART:"segment", "default_middle", 0.0);
366                     else if(type == 4)
367                       set_state(PART:"segment", "default_right", 0.0);
368                  }
369                else if( state == 2 )
370                  {
371                     if(type == 1)
372                       set_state(PART:"segment", "pressed_single", 0.0);
373                     else if(type == 2)
374                       set_state(PART:"segment", "pressed_left", 0.0);
375                     else if(type == 3)
376                       set_state(PART:"segment", "pressed_middle", 0.0);
377                     else if(type == 4)
378                       set_state(PART:"segment", "pressed_right", 0.0);
379                  }
380                else if( state == 3 )
381                  {
382                     if(type == 1)
383                       set_state(PART:"segment", "selected_single", 0.0);
384                     else if(type == 2)
385                       set_state(PART:"segment", "selected_left", 0.0);
386                     else if(type == 3)
387                       set_state(PART:"segment", "selected_middle", 0.0);
388                     else if(type == 4)
389                       set_state(PART:"segment", "selected_right", 0.0);
390                  }
391                if( disabled == 1 )
392                  {
393                     if(type == 1)
394                       set_state(PART:"disabler", "disabled_single", 0.0);
395                     else if(type == 2)
396                       set_state(PART:"disabler", "disabled_left", 0.0);
397                     else if(type == 3)
398                       set_state(PART:"disabler", "disabled_middle", 0.0);
399                     else if(type == 4)
400                       set_state(PART:"disabler", "disabled_right", 0.0);
401                  }
402             }
403          }
404          program {
405             name: "segment_type_s";
406             signal: "elm,type,segment,single";
407             source: "elm";
408             script {
409                set_int(seg_type, 1);
410                update_state();
411             }
412          }
413          program {
414             name: "segment_type_l";
415             signal: "elm,type,segment,left";
416             source: "elm";     
417             script {
418                set_int(seg_type, 2);
419                update_state();
420             }
421          }
422          program {
423             name: "segment_type_m";
424             signal: "elm,type,segment,middle";
425             source: "elm";
426             script {
427                set_int(seg_type, 3);
428                update_state();
429             }
430          }
431          program {
432             name: "segment_type_r";
433             signal: "elm,type,segment,right";
434             source: "elm";
435             script {
436                set_int(seg_type, 4);
437                update_state();
438             }
439          }
440          program {
441             name: "normal_segment";
442             signal: "elm,state,segment,normal";
443             source: "elm";
444             script {
445                set_int(seg_state, 1);
446                update_state();
447             }
448          }
449          program {
450             name: "pressed_segment";
451             signal: "elm,state,segment,pressed";
452             source: "elm";
453             script {
454                set_int(seg_state, 2);
455                update_state();
456             }
457          }
458          program {
459             name: "selected_segment";
460             signal: "elm,state,segment,selected";
461             source: "elm";
462             script {
463                set_int(seg_state, 3 );
464                update_state();
465             }
466          }
467          program { name: "disable_segment";
468             signal: "elm,state,disabled";
469             source: "elm";
470             script {
471                set_int(seg_status, 1);
472                update_state();
473             }
474          }
475          program { name: "enable_segment";
476             signal: "elm,state,enabled";
477             source: "elm";
478             script {
479                set_int(seg_status, 0);
480                update_state();
481             }
482          }
483          program { name: "text_show";
484             signal: "elm,state,text,visible";
485             source: "elm";
486             script {
487                new st[31];
488                new Float:vl;
489                get_state(PART:"elm.swallow.icon", st, 30, vl);
490                if (!strcmp(st, "icononly"))
491                  {
492                     set_state(PART:"elm.swallow.icon", "visible", 0.0);
493                     set_state(PART:"padding_icon_text", "visible", 0.0);
494                  }
495                set_state(PART:"elm.swallow.label", "visible", 0.0);
496             }
497          }
498          program { name: "text_hide";
499             signal: "elm,state,text,hidden";
500             source: "elm";
501             script {
502                new st[31];
503                new Float:vl;
504                get_state(PART:"elm.swallow.icon", st, 30, vl);
505                if (!strcmp(st, "visible"))
506                  {
507                     set_state(PART:"elm.swallow.icon", "icononly", 0.0);
508                     set_state(PART:"padding_icon_text", "icononly", 0.0);
509                  }
510                set_state(PART:"elm.swallow.label", "default", 0.0);
511             }
512          }
513          program { name: "icon_show";
514             signal: "elm,state,icon,visible";
515             source: "elm";
516             script {
517                new st[31];
518                new Float:vl;
519                get_state(PART:"elm.swallow.label", st, 30, vl);
520                if (!strcmp(st, "normal"))
521                  {
522                     set_state(PART:"elm.swallow.icon", "visible", 0.0);
523                     set_state(PART:"padding_icon_text", "visible", 0.0);
524                  }
525                else
526                  {
527                     set_state(PART:"elm.swallow.icon", "icononly", 0.0);
528                     set_state(PART:"padding_icon_text", "icononly", 0.0);
529                  }
530             }
531          }
532          program { name: "icon_hide";
533             signal: "elm,state,icon,hidden";
534             source: "elm";
535             action:  STATE_SET "default" 0.0;
536             target: "elm.swallow.icon";
537          }
538       }
539    }
540    group { name: "elm/label/base/segment_normal";
541       data.item: "default_font_size" "24";
542       data.item: "min_font_size" "16";
543       data.item: "max_font_size" "24";
544       styles {
545          style { name: "seg_text_style_normal";
546             base: "font=Sans font_size=16 style=shadow \
547             shadow_color=#2924224d \
548             align=center \
549             color=#ffffffff wrap=char";
550             tag:  "br" "\n";
551             tag:  "hilight" "+ font=Sans:style=Bold";
552             tag:  "tab" "\t";
553          }
554          style { name: "seg_text_style_selected";
555             base: "font=Sans:style=Bold font_size=16 style=shadow \
556             shadow_color=#aaaaaa4d \
557             align=center \
558             color=#111111ff wrap=char";
559             tag:  "br" "\n";
560             tag:  "hilight" "+ font=Sans:style=Bold";
561             tag:  "b" "+ font=Sans:style=Bold";
562             tag:  "tab" "\t";
563          }
564          style { name: "seg_text_style_disabled";
565             base: "font=SLP:style=Medium font_size=24 style=shadow \
566             shadow_color=#2924224d \
567             align=center color=#2924224d \
568             wrap=char";
569             tag:  "br" "\n";
570             tag:  "hilight" "+ font=SLP:style=Bold";
571             tag:  "b" "+ font=SLP:style=Bold";
572             tag:  "tab" "\t";
573          }
574       }
575       parts {
576          part { name: "label.swallow.background";
577             type: SWALLOW;
578             description { state: "default" 0.0;
579                visible: 1;
580                rel1.relative, 0.0 0.0;
581                rel2.relative, 1.0 1.0;
582             }
583          }
584          part { name: "label.text.clip";
585             type: RECT;
586             description { state: "default" 0.0;
587                visible: 1;
588                rel1 { relative: 0 0; to: "label.swallow.background"; }
589                rel2 { relative: 1 1; to: "label.swallow.background"; }
590             }
591          }
592          part { name: "elm.text";
593             type: TEXTBLOCK;
594             effect: SHADOW;
595             mouse_events: 0;
596             scale: 1;
597             clip_to: "label.text.clip";
598             description { state: "default" 0.0;
599                rel1.relative, 0.0 0.0;
600                rel2.relative, 1.0 1.0;
601                align: 0.0 0.5;
602                text {
603                   style: "seg_text_style_normal";
604                   align: 0.0 0.5;
605                   min: 1 0;
606                }
607             }
608          }
609       }
610    }
611    
612    group { name: "elm/label/base/segment_pressed";
613    data.item: "default_font_size" "24";
614    data.item: "min_font_size" "16";
615    data.item: "max_font_size" "24";
616    parts {
617       part { name: "label.swallow.background";
618          type: SWALLOW;
619          description { state: "default" 0.0;
620             visible: 1;
621             rel1.relative, 0.0 0.0;
622             rel2.relative, 1.0 1.0;
623          }
624       }
625       part { name: "label.text.clip";
626          type: RECT;
627          description { state: "default" 0.0;
628             visible: 1;
629             rel1 { relative: 0 0; to: "label.swallow.background"; }
630             rel2 { relative: 1 1; to: "label.swallow.background"; }
631          }
632       }
633       part { name: "elm.text";
634          type: TEXTBLOCK;
635          effect: SHADOW;
636          mouse_events: 0;
637          scale: 1;
638          clip_to: "label.text.clip";
639          description { state: "default" 0.0;
640             rel1.relative, 0.0 0.0;
641             rel2.relative, 1.0 1.0;
642             align: 0.0 0.5;
643             text {
644                style: "seg_text_style_selected";
645                align: 0.0 0.5;
646                min: 1 0;
647             }
648          }
649       }
650    }
651 }
652    
653    group { name: "elm/label/base/segment_selected";
654       data.item: "default_font_size" "24";
655       data.item: "min_font_size" "16";
656       data.item: "max_font_size" "24";
657       parts {
658          part { name: "label.swallow.background";
659             type: SWALLOW;
660             description { state: "default" 0.0;
661                visible: 1;
662                rel1.relative, 0.0 0.0;
663                rel2.relative, 1.0 1.0;
664             }
665          }
666          part { name: "label.text.clip";
667             type: RECT;
668             description { state: "default" 0.0;
669                visible: 1;
670                rel1 { relative: 0 0; to: "label.swallow.background"; }
671                rel2 { relative: 1 1; to: "label.swallow.background"; }
672             }
673          }
674          part { name: "elm.text";
675             type: TEXTBLOCK;
676             effect: SHADOW;
677             mouse_events: 0;
678             scale: 1;
679             clip_to: "label.text.clip";
680             description { state: "default" 0.0;
681                rel1.relative, 0.0 0.0;
682                rel2.relative, 1.0 1.0;
683                align: 0.0 0.5;
684                text {
685                   style: "seg_text_style_selected";
686                   align: 0.0 0.5;
687                   min: 1 0;
688                }
689             }
690          }
691       }
692    }
693    group { name: "elm/label/base/segment_disabled";
694       data.item: "default_font_size" "24";
695       data.item: "min_font_size" "16";
696       data.item: "max_font_size" "24";
697       parts {
698          part { name: "label.swallow.background";
699             type: SWALLOW;
700             description { state: "default" 0.0;
701                visible: 1;
702                rel1.relative, 0.0 0.0;
703                rel2.relative, 1.0 1.0;
704             }
705          }
706          part { name: "label.text.clip";
707             type: RECT;
708             description { state: "default" 0.0;
709                visible: 1;
710                rel1 { relative: 0 0; to: "label.swallow.background"; }
711                rel2 { relative: 1 1; to: "label.swallow.background"; }
712             }
713          }
714          part { name: "elm.text";
715             type: TEXTBLOCK;
716             effect: SHADOW;
717             mouse_events: 0;
718             scale: 1;
719             clip_to: "label.text.clip";
720             description { state: "default" 0.0;
721                rel1.relative, 0.0 0.0;
722                rel2.relative, 1.0 1.0;
723                align: 0.0 0.5;
724                text {
725                   style: "seg_text_style_disabled";
726                   align: 0.0 0.5;
727                   min: 1 0;
728                }
729             }
730          }
731       }
732    }
733 ///////////////////////////////////////////////////////////////////////////////
734    group { name: "elm/focus_highlight/top/default";
735       images {
736          image: "emo-unhappy.png" COMP;
737       }
738
739       data {
740          item: "animate" "on";
741       }
742
743       script {
744          public s_x, s_y, s_w, s_h; /* source */
745          public difx, dify, difw, difh;
746          public rot_dir;
747
748          public animator1(val, Float:pos) {
749             new x, y, w, h, dx, dy, dw, dh, Float:rot;
750
751             dx = round(float_mul(float(get_int(difx)), pos));
752             x = get_int(s_x) + dx;
753             dy = round(float_mul(float(get_int(dify)), pos));
754             y = get_int(s_y) + dy;
755             dw = round(float_mul(float(get_int(difw)), pos));
756             w = get_int(s_w) + dw;
757             dy = round(float_mul(float(get_int(difh)), pos));
758             h = get_int(s_h) + dh;
759
760             update_offset(x, y, w, h);
761
762             rot = 360.0 * pos * float(get_int(rot_dir));
763             set_state_val(PART:"shine", STATE_MAP_ROT_Z, rot);
764
765             if (pos >= 1.0) {
766                emit("elm,action,focus,anim,end", "");
767                set_state(PART:"shine", "default", 0.0);
768             }
769          }
770
771          public update_offset(x, y, w, h) {
772             new x1, y1, x2, y2;
773             x1 = x + w - 15;
774             y1 = y - 15;
775             x2 = x + w + 14;
776             y2 = y + 14;
777             set_state_val(PART:"shine", STATE_REL1_OFFSET, x1, y1);
778             set_state_val(PART:"shine", STATE_REL2_OFFSET, x2, y2);
779          }
780
781          public message(Msg_Type:type, id, ...) {
782             if ((type == MSG_INT_SET) && (id == 1)) {
783                new x1, y1, w1, h1;
784                new x2, y2, w2, h2;
785                new px1, px2, py1, py2;
786                new rd;
787
788                x1 = getarg(2);
789                y1 = getarg(3);
790                w1 = getarg(4);
791                h1 = getarg(5);
792                x2 = getarg(6);
793                y2 = getarg(7);
794                w2 = getarg(8);
795                h2 = getarg(9);
796
797                set_int(s_x, x1);
798                set_int(s_y, y1);
799                set_int(s_w, w1);
800                set_int(s_h, h1);
801                set_int(difx, x2 - x1);
802                set_int(dify, y2 - y1);
803                set_int(difw, w2 - w1);
804                set_int(difh, h2 - h1);
805
806                px1 = x1 + w1;
807                px2 = x2 + w2;
808                py1 = y1 + h1;
809                py2 = y2 + h2;
810                if (px2 > px1) {
811                   rd = 1;
812                } else if (px1 > px2) {
813                   rd = -1;
814                } else {
815                   if (py2 > py1) {
816                      rd = 1;
817                   } else {
818                      rd = -1;
819                   }
820                }
821                set_int(rot_dir, rd);
822
823                custom_state(PART:"shine", "default", 0.0);
824                set_state_val(PART:"shine", STATE_REL1, 0.0, 0.0);
825                set_state_val(PART:"shine", STATE_REL2, 0.0, 0.0);
826                set_state_val(PART:"shine", STATE_MAP_ON, 1);
827                set_state_val(PART:"shine", STATE_MAP_ROT_Z, 0.0);
828                update_offset(x1, y1, w1, h1);
829                set_state(PART:"shine", "custom", 0.0);
830
831                anim(0.2, "animator1", 1);
832             }
833          }
834       }
835
836       parts {
837          part { name: "base";
838             type: RECT;
839             repeat_events: 1;
840             description { state: "default" 0.0;
841                rel1.relative: 0.0 0.0;
842                rel2.relative: 1.0 1.0;
843                visible: 0;
844             }
845          }
846          part { name: "shine";
847             type: IMAGE;
848             mouse_events: 1;
849             repeat_events: 1;
850             ignore_flags: ON_HOLD;
851             description { state: "default" 0.0;
852                image {
853                   normal: "emo-unhappy.png";
854                }
855                rel1.to: "base";
856                rel1.relative: 1.0 0.0;
857                rel1.offset: -15 -15;
858                rel2.to: "base";
859                rel2.relative: 1.0 0.0;
860                rel2.offset: 14 14;
861             }
862             description { state: "disabled" 0.0;
863                inherit:  "default" 0.0;
864                color: 0 0 0 0;
865             }
866          }
867
868          program { name: "show";
869             signal: "elm,action,focus,show";
870             source: "elm";
871             action: ACTION_STOP;
872             target: "hide";
873             target: "hide_start";
874             target: "hide_end";
875             after: "show_start";
876          }
877          program { name: "show_start";
878             action:  STATE_SET "default" 0.0;
879             transition: LINEAR 0.2;
880             target: "shine";
881             after: "show_end";
882          }
883          program { name: "show_end";
884             action: SIGNAL_EMIT "elm,action,focus,show,end" "";
885          }
886          program { name: "hide";
887             signal: "elm,action,focus,hide";
888             source: "elm";
889             action: ACTION_STOP;
890             target: "show";
891             target: "show_start";
892             target: "show_end";
893             after: "hide_start";
894          }
895          program { name: "hide_start";
896             action:  STATE_SET "disabled" 0.0;
897             transition: LINEAR 0.2;
898             target: "shine";
899             after: "hide_end";
900          }
901          program { name: "hide_end";
902             action: SIGNAL_EMIT "elm,action,focus,hide,end" "";
903          }
904       }
905    }
906
907 ///////////////////////////////////////////////////////////////////////////////
908    group { name: "elm/focus_highlight/bottom/default";
909       parts {
910          part { name: "shine";
911             type: RECT;
912             mouse_events: 1;
913             repeat_events: 1;
914             ignore_flags: ON_HOLD;
915             description { state: "default" 0.0;
916                color: 0 255 0 50;
917                rel1.offset: 0 0;
918                rel2.offset: 0 0;
919             }
920             description { state: "disabled" 0.0;
921                inherit:  "default" 0.0;
922                color: 0 0 0 0;
923             }
924          }
925
926          program { name: "show";
927             signal: "elm,action,focus,show";
928             source: "elm";
929             action: ACTION_STOP;
930             target: "hide";
931             target: "hide_start";
932             target: "hide_end";
933             after: "show_start";
934          }
935          program { name: "show_start";
936             action:  STATE_SET "default" 0.0;
937             transition: LINEAR 0.2;
938             target: "shine";
939             after: "show_end";
940          }
941          program { name: "show_end";
942             action: SIGNAL_EMIT "elm,action,focus,show,end" "";
943          }
944          program { name: "hide";
945             signal: "elm,action,focus,hide";
946             source: "elm";
947             action: ACTION_STOP;
948             target: "show";
949             target: "show_start";
950             target: "show_end";
951             after: "hide_start";
952          }
953          program { name: "hide_start";
954             action:  STATE_SET "disabled" 0.0;
955             transition: LINEAR 0.2;
956             target: "shine";
957             after: "hide_end";
958          }
959          program { name: "hide_end";
960             action: SIGNAL_EMIT "elm,action,focus,hide,end" "";
961          }
962       }
963    }
964
965 ///////////////////////////////////////////////////////////////////////////////
966    group { name: "elm/bg/base/default";
967       images {
968          image: "dia_grad.png" COMP;
969          image: "dia_topshad.png" COMP;
970          image: "dia_botshad.png" COMP;
971       }
972       parts {
973          part { name: "base";
974             mouse_events:  0;
975             description { state: "default" 0.0;
976                image.normal: "dia_grad.png";
977                fill {
978                   smooth: 0;
979                   size {
980                      relative: 0.0 1.0;
981                      offset: 64 0;
982                   }
983                }
984             }
985          }
986          part { name: "elm.swallow.rectangle";
987             type: SWALLOW;
988             description { state: "default" 0.0;
989             }
990          }
991          part { name: "elm.swallow.background";
992             type: SWALLOW;
993             description { state: "default" 0.0;
994             }
995          }
996          part { name: "shadow";
997             mouse_events:  0;
998             description { state: "default" 0.0;
999                rel2.relative: 1.0 0.0;
1000                rel2.offset: -1 31;
1001                image.normal: "dia_topshad.png";
1002                fill {
1003                   smooth: 0;
1004                   size {
1005                      relative: 0.0 1.0;
1006                      offset: 64 0;
1007                   }
1008                }
1009             }
1010          }
1011          part { name: "shadow2";
1012             mouse_events:  0;
1013             description { state: "default" 0.0;
1014                rel1.relative: 0.0 1.0;
1015                rel1.offset: 0 -9;
1016                image.normal: "dia_botshad.png";
1017                fill {
1018                   smooth: 0;
1019                   size {
1020                      relative: 0.0 1.0;
1021                      offset: 64 0;
1022                   }
1023                }
1024             }
1025          }
1026          part { name: "elm.swallow.content";
1027             type: SWALLOW;
1028             description { state: "default" 0.0;
1029             }
1030          }
1031       }
1032    }
1033
1034 ///////////////////////////////////////////////////////////////////////////////
1035    group { name: "elm/scroller/base/default";
1036
1037       alias: "elm/list/base/default";
1038       alias: "elm/genlist/base/default";
1039       alias: "elm/carousel/base/default";
1040       alias: "elm/gengrid/base/default";
1041
1042       data {
1043          item: "focus_highlight" "on";
1044       }
1045
1046       script {
1047          public sbvis_v, sbvis_h, sbalways_v, sbalways_h, sbvis_timer;
1048          public timer0(val) {
1049             new v;
1050             v = get_int(sbvis_v);
1051             if (v) {
1052                v = get_int(sbalways_v);
1053                if (!v) {
1054                   emit("do-hide-vbar", "");
1055                   set_int(sbvis_v, 0);
1056                }
1057             }
1058             v = get_int(sbvis_h);
1059             if (v) {
1060                v = get_int(sbalways_h);
1061                if (!v) {
1062                   emit("do-hide-hbar", "");
1063                   set_int(sbvis_h, 0);
1064                }
1065             }
1066             set_int(sbvis_timer, 0);
1067             return 0;
1068          }
1069       }
1070       images {
1071          image: "shelf_inset.png" COMP;
1072          image: "bt_sm_base2.png" COMP;
1073          image: "bt_sm_shine.png" COMP;
1074          image: "bt_sm_hilight.png" COMP;
1075          image: "sl_bt2_2.png" COMP;
1076       }
1077       parts {
1078          part { name: "bg";
1079             type: RECT;
1080             description { state: "default" 0.0;
1081                rel1.offset: 2 2;
1082                rel2.offset: -3 -3;
1083                color: 255 255 255 0;
1084             }
1085          }
1086          part { name: "clipper";
1087             type: RECT;
1088             mouse_events: 0;
1089             description { state: "default" 0.0;
1090                rel1.to: "bg";
1091                rel2.to: "bg";
1092                rel1.offset: 2 2;
1093                rel2.offset: -3 -3;
1094             }
1095          }
1096          part { name: "elm.swallow.content";
1097             clip_to: "clipper";
1098             type: SWALLOW;
1099             description { state: "default" 0.0;
1100                rel1.to: "bg";
1101                rel2.to: "bg";
1102                rel1.offset: 2 2;
1103                rel2.offset: -3 -3;
1104             }
1105          }
1106          part { name: "conf_over";
1107             mouse_events:  0;
1108             description { state: "default" 0.0;
1109                rel1.to: "bg";
1110                rel2.to: "bg";
1111                image {
1112                   normal: "shelf_inset.png";
1113                   border: 7 7 7 7;
1114                   middle: 0;
1115                }
1116                fill.smooth : 0;
1117             }
1118             description { state: "enabled" 0.0;
1119                inherit: "default" 0.0;
1120                color: 200 155 0 255;
1121             }
1122          }
1123          part { name: "focus_highlight";
1124             mouse_events: 0;
1125             description { state: "default" 0.0;
1126                rel1.offset: -1 -1;
1127                rel2.offset: 0 0;
1128                image {
1129                   normal: "sl_bt2_2.png";
1130                   border: 7 7 7 7;
1131                   middle: 0;
1132                }
1133                fill.smooth : 0;
1134                color: 200 155 0 0;
1135             }
1136             description { state: "enabled" 0.0;
1137                inherit: "default" 0.0;
1138                color: 200 155 0 255;
1139             }
1140          }
1141          part { name: "sb_vbar_clip_master";
1142             type: RECT;
1143             mouse_events: 0;
1144             description { state: "default" 0.0;
1145             }
1146             description { state: "hidden" 0.0;
1147                visible: 0;
1148                color: 255 255 255 0;
1149             }
1150          }
1151          part { name: "sb_vbar_clip";
1152             clip_to: "sb_vbar_clip_master";
1153             type: RECT;
1154             mouse_events: 0;
1155             description { state: "default" 0.0;
1156             }
1157             description { state: "hidden" 0.0;
1158                visible: 0;
1159                color: 255 255 255 0;
1160             }
1161          }
1162          part { name: "sb_vbar";
1163             type: RECT;
1164             mouse_events: 0;
1165             description { state: "default" 0.0;
1166                fixed: 1 1;
1167                visible: 0;
1168                min: 10 17;
1169                align: 1.0 0.0;
1170                rel1 {
1171                   relative: 1.0 0.0;
1172                   offset:   0 2;
1173                   to_y:     "elm.swallow.content";
1174                   to_x:     "elm.swallow.content";
1175                }
1176                rel2 {
1177                   relative: 1.0 0.0;
1178                   offset:   -1 -1;
1179                   to_y:     "sb_hbar";
1180                   to_x:     "elm.swallow.content";
1181                }
1182             }
1183          }
1184          part { name: "elm.dragable.vbar";
1185             clip_to: "sb_vbar_clip";
1186             mouse_events: 0;
1187             dragable {
1188                x: 0 0 0;
1189                y: 1 1 0;
1190                confine: "sb_vbar";
1191             }
1192             description { state: "default" 0.0;
1193                fixed: 1 1;
1194                min: 10 17;
1195                max: 10 99999;
1196                rel1 {
1197                   relative: 0.5  0.5;
1198                   offset:   0    0;
1199                   to: "sb_vbar";
1200                }
1201                rel2 {
1202                   relative: 0.5  0.5;
1203                   offset:   0    0;
1204                   to: "sb_vbar";
1205                }
1206                image {
1207                   normal: "bt_sm_base2.png";
1208                   border: 6 6 6 6;
1209                   middle: SOLID;
1210                }
1211             }
1212          }
1213          part { name: "sb_vbar_over1";
1214             clip_to: "sb_vbar_clip";
1215             mouse_events: 0;
1216             description { state: "default" 0.0;
1217                rel1.to: "elm.dragable.vbar";
1218                rel2.relative: 1.0 0.5;
1219                rel2.to: "elm.dragable.vbar";
1220                image {
1221                   normal: "bt_sm_hilight.png";
1222                   border: 6 6 6 0;
1223                }
1224             }
1225          }
1226          part { name: "sb_vbar_over2";
1227             clip_to: "sb_vbar_clip";
1228             mouse_events: 0;
1229             description { state: "default" 0.0;
1230                rel1.to: "elm.dragable.vbar";
1231                rel2.to: "elm.dragable.vbar";
1232                image {
1233                   normal: "bt_sm_shine.png";
1234                   border: 6 6 6 0;
1235                }
1236             }
1237          }
1238
1239          part { name: "sb_hbar_clip_master";
1240             type: RECT;
1241             mouse_events: 0;
1242             description { state: "default" 0.0;
1243             }
1244             description { state: "hidden" 0.0;
1245                visible: 0;
1246                color: 255 255 255 0;
1247             }
1248          }
1249          part { name: "sb_hbar_clip";
1250             clip_to: "sb_hbar_clip_master";
1251             type: RECT;
1252             mouse_events: 0;
1253             description { state: "default" 0.0;
1254             }
1255             description { state: "hidden" 0.0;
1256                visible: 0;
1257                color: 255 255 255 0;
1258             }
1259          }
1260          part { name: "sb_hbar";
1261             type: RECT;
1262             mouse_events: 0;
1263             description { state: "default" 0.0;
1264                fixed: 1 1;
1265                visible: 0;
1266                min: 17 10;
1267                align: 0.0 1.0;
1268                rel1 {
1269                   relative: 0.0 1.0;
1270                   offset:   2 0;
1271                   to_x:     "elm.swallow.content";
1272                   to_y:     "elm.swallow.content";
1273                }
1274                rel2 {
1275                   relative: 0.0 1.0;
1276                   offset:   -1 -1;
1277                   to_x:     "sb_vbar";
1278                   to_y:     "elm.swallow.content";
1279                }
1280             }
1281          }
1282          part { name: "elm.dragable.hbar";
1283             clip_to: "sb_hbar_clip";
1284             mouse_events: 0;
1285             dragable {
1286                x: 1 1 0;
1287                y: 0 0 0;
1288                confine: "sb_hbar";
1289             }
1290             description { state: "default" 0.0;
1291                fixed: 1 1;
1292                min: 17 10;
1293                max: 99999 10;
1294                rel1 {
1295                   relative: 0.5  0.5;
1296                   offset:   0    0;
1297                   to: "sb_hbar";
1298                }
1299                rel2 {
1300                   relative: 0.5  0.5;
1301                   offset:   0    0;
1302                   to: "sb_hbar";
1303                }
1304                image {
1305                   normal: "bt_sm_base2.png";
1306                   border: 4 4 4 4;
1307                   middle: SOLID;
1308                }
1309             }
1310          }
1311          part { name: "sb_hbar_over1";
1312             clip_to: "sb_hbar_clip";
1313             mouse_events: 0;
1314             description { state: "default" 0.0;
1315                rel1.to: "elm.dragable.hbar";
1316                rel2.relative: 1.0 0.5;
1317                rel2.to: "elm.dragable.hbar";
1318                image {
1319                   normal: "bt_sm_hilight.png";
1320                   border: 4 4 4 0;
1321                }
1322             }
1323          }
1324          part { name: "sb_hbar_over2";
1325             clip_to: "sb_hbar_clip";
1326             mouse_events: 0;
1327             description { state: "default" 0.0;
1328                rel1.to: "elm.dragable.hbar";
1329                rel2.to: "elm.dragable.hbar";
1330                image {
1331                   normal: "bt_sm_shine.png";
1332                   border: 4 4 4 0;
1333                }
1334             }
1335          }
1336          part { name: "disabler";
1337             type: RECT;
1338             description { state: "default" 0.0;
1339                rel1.to: "clipper";
1340                rel2.to: "clipper";
1341                color: 0 0 0 0;
1342                visible: 0;
1343             }
1344             description { state: "disabled" 0.0;
1345                inherit: "default" 0.0;
1346                visible: 1;
1347                color: 128 128 128 128;
1348             }
1349          }
1350       }
1351       programs {
1352          program { name: "load";
1353             signal: "load";
1354             source: "";
1355             script {
1356                set_state(PART:"sb_hbar_clip", "hidden", 0.0);
1357                set_state(PART:"sb_vbar_clip", "hidden", 0.0);
1358                set_int(sbvis_h, 0);
1359                set_int(sbvis_v, 0);
1360                set_int(sbalways_v, 0);
1361                set_int(sbalways_h, 0);
1362                set_int(sbvis_timer, 0);
1363             }
1364          }
1365
1366          program { name: "vbar_show";
1367             signal: "elm,action,show,vbar";
1368             source: "elm";
1369             action:  STATE_SET "default" 0.0;
1370             target: "sb_vbar_clip_master";
1371          }
1372          program { name: "vbar_hide";
1373             signal: "elm,action,hide,vbar";
1374             source: "elm";
1375             action:  STATE_SET "hidden" 0.0;
1376             target: "sb_vbar_clip_master";
1377          }
1378          program { name: "vbar_show_always";
1379             signal: "elm,action,show_always,vbar";
1380             source: "elm";
1381             script {
1382                new v;
1383                v = get_int(sbvis_v);
1384                v |= get_int(sbalways_v);
1385                if (!v) {
1386                   set_int(sbalways_v, 1);
1387                   emit("do-show-vbar", "");
1388                   set_int(sbvis_v, 1);
1389                }
1390             }
1391          }
1392          program { name: "vbar_show_notalways";
1393             signal: "elm,action,show_notalways,vbar";
1394             source: "elm";
1395             script {
1396                new v;
1397                v = get_int(sbalways_v);
1398                if (v) {
1399                   set_int(sbalways_v, 0);
1400                   v = get_int(sbvis_v);
1401                   if (!v) {
1402                      emit("do-hide-vbar", "");
1403                      set_int(sbvis_v, 0);
1404                   }
1405                }
1406             }
1407          }
1408          program { name: "sb_vbar_show";
1409             signal: "do-show-vbar";
1410             source: "";
1411             action:  STATE_SET "default" 0.0;
1412             transition: LINEAR 0.5;
1413             target: "sb_vbar_clip";
1414          }
1415          program { name: "sb_vbar_hide";
1416             signal: "do-hide-vbar";
1417             source: "";
1418             action:  STATE_SET "hidden" 0.0;
1419             transition: LINEAR 0.5;
1420             target: "sb_vbar_clip";
1421          }
1422
1423          program { name: "hbar_show";
1424             signal: "elm,action,show,hbar";
1425             source: "elm";
1426             action:  STATE_SET "default" 0.0;
1427             target: "sb_hbar_clip_master";
1428          }
1429          program { name: "hbar_hide";
1430             signal: "elm,action,hide,hbar";
1431             source: "elm";
1432             action:  STATE_SET "hidden" 0.0;
1433             target: "sb_hbar_clip_master";
1434          }
1435          program { name: "hbar_show_always";
1436             signal: "elm,action,show_always,hbar";
1437             source: "elm";
1438             script {
1439                new v;
1440                v = get_int(sbvis_h);
1441                v |= get_int(sbalways_h);
1442                if (!v) {
1443                   set_int(sbalways_h, 1);
1444                   emit("do-show-hbar", "");
1445                   set_int(sbvis_h, 1);
1446                }
1447             }
1448          }
1449          program { name: "hbar_show_notalways";
1450             signal: "elm,action,show_notalways,hbar";
1451             source: "elm";
1452             script {
1453                new v;
1454                v = get_int(sbalways_h);
1455                if (v) {
1456                   set_int(sbalways_h, 0);
1457                   v = get_int(sbvis_h);
1458                   if (!v) {
1459                      emit("do-hide-hbar", "");
1460                      set_int(sbvis_h, 0);
1461                   }
1462                }
1463             }
1464          }
1465          program { name: "sb_hbar_show";
1466             signal: "do-show-hbar";
1467             source: "";
1468             action:  STATE_SET "default" 0.0;
1469             transition: LINEAR 0.5;
1470             target: "sb_hbar_clip";
1471          }
1472          program { name: "sb_hbar_hide";
1473             signal: "do-hide-hbar";
1474             source: "";
1475             action:  STATE_SET "hidden" 0.0;
1476             transition: LINEAR 0.5;
1477             target: "sb_hbar_clip";
1478          }
1479
1480          program { name: "scroll";
1481             signal: "elm,action,scroll";
1482             source: "elm";
1483             script {
1484                new v;
1485                v = get_int(sbvis_v);
1486                v |= get_int(sbalways_v);
1487                if (!v) {
1488                   emit("do-show-vbar", "");
1489                   set_int(sbvis_v, 1);
1490                }
1491                v = get_int(sbvis_h);
1492                v |= get_int(sbalways_h);
1493                if (!v) {
1494                   emit("do-show-hbar", "");
1495                   set_int(sbvis_h, 1);
1496                }
1497                v = get_int(sbvis_timer);
1498                if (v > 0) cancel_timer(v);
1499                v = timer(1.0, "timer0", 0);
1500                set_int(sbvis_timer, v);
1501             }
1502          }
1503
1504          program { name: "highlight_show";
1505             signal: "elm,action,focus_highlight,show";
1506             source: "elm";
1507             action: STATE_SET "enabled" 0.0;
1508             transition: ACCELERATE 0.3;
1509             target: "focus_highlight";
1510             target: "conf_over";
1511          }
1512          program { name: "highlight_hide";
1513             signal: "elm,action,focus_highlight,hide";
1514             source: "elm";
1515             action: STATE_SET "default" 0.0;
1516             transition: DECELERATE 0.3;
1517             target: "focus_highlight";
1518             target: "conf_over";
1519          }
1520          program { name: "disable";
1521             signal: "elm,state,disabled";
1522             source: "elm";
1523             action: STATE_SET "disabled" 0.0;
1524             target: "disabler";
1525          }
1526          program { name: "enable";
1527             signal: "elm,state,enabled";
1528             source: "elm";
1529             action: STATE_SET "default" 0.0;
1530             target: "disabler";
1531          }
1532       }
1533    }
1534
1535 ///////////////////////////////////////////////////////////////////////////////
1536    group { name: "elm/scroller/entry/default";
1537
1538       data {
1539          item: "focus_highlight" "on";
1540       }
1541
1542       script {
1543          public sbvis_v, sbvis_h, sbalways_v, sbalways_h, sbvis_timer;
1544          public timer0(val) {
1545             new v;
1546             v = get_int(sbvis_v);
1547             if (v) {
1548                v = get_int(sbalways_v);
1549                if (!v) {
1550                   emit("do-hide-vbar", "");
1551                   set_int(sbvis_v, 0);
1552                }
1553             }
1554             v = get_int(sbvis_h);
1555             if (v) {
1556                v = get_int(sbalways_h);
1557                if (!v) {
1558                   emit("do-hide-hbar", "");
1559                   set_int(sbvis_h, 0);
1560                }
1561             }
1562             set_int(sbvis_timer, 0);
1563             return 0;
1564          }
1565       }
1566       images {
1567          image: "shelf_inset.png" COMP;
1568          image: "bt_sm_base2.png" COMP;
1569          image: "bt_sm_shine.png" COMP;
1570          image: "bt_sm_hilight.png" COMP;
1571          image: "sl_bt2_2.png" COMP;
1572       }
1573       parts {
1574          part { name: "bg";
1575             type: RECT;
1576             description { state: "default" 0.0;
1577                rel1.offset: 2 2;
1578                rel2.offset: -3 -3;
1579             }
1580          }
1581          part { name: "clipper";
1582             type: RECT;
1583             mouse_events: 0;
1584             description { state: "default" 0.0;
1585                rel1.to: "bg";
1586                rel2.to: "bg";
1587                rel1.offset: 2 2;
1588                rel2.offset: -3 -3;
1589             }
1590          }
1591          part { name: "contentclipper";
1592             type: RECT;
1593             mouse_events: 0;
1594             clip_to: "clipper";
1595             description { state: "default" 0.0;
1596                rel1.to: "elm.swallow.icon";
1597                rel1.relative: 1.0 0.0;
1598                rel2.to: "elm.swallow.end";
1599                rel2.relative: 0.0 1.0;
1600             }
1601          }
1602          part { name: "elm.swallow.icon";
1603             type: SWALLOW;
1604             clip_to: "clipper";
1605             description { state: "default" 0.0;
1606                fixed: 1 1;
1607                rel1 {
1608                   to: "bg";
1609                   relative: 0.0 0.0;
1610                   offset: 0 0;
1611                }
1612                rel2 {
1613                   to: "bg";
1614                   relative: 0.0 1.0;
1615                   offset: -1 -1;
1616                }
1617                visible: 0;
1618             }
1619             description { state: "visible" 0.0;
1620                fixed: 1 1;
1621                align: 0.0 1.0;
1622                rel1 {
1623                   to: "bg";
1624                   relative: 0.0 0.0;
1625                   offset: 0 0;
1626                }
1627                rel2 {
1628                   to: "bg";
1629                   relative: 0.0 1.0;
1630                   offset: -1 -1;
1631                }
1632                visible: 1;
1633             }
1634          }
1635          part { name: "elm.swallow.end";
1636             type: SWALLOW;
1637             clip_to: "clipper";
1638             description { state: "default" 0.0;
1639                fixed: 1 1;
1640                rel1 {
1641                   to: "bg";
1642                   relative: 1.0 0.0;
1643                   offset: 0 0;
1644                }
1645                rel2 {
1646                   to: "bg";
1647                   relative: 1.0 1.0;
1648                   offset: -1 -1;
1649                }
1650                visible: 0;
1651             }
1652             description { state: "visible" 0.0;
1653                fixed: 1 1;
1654                align: 1.0 1.0;
1655                rel1 {
1656                   to: "bg";
1657                   relative: 1.0 0.0;
1658                   offset: 0 0;
1659                }
1660                rel2 {
1661                   to: "bg";
1662                   relative: 1.0 1.0;
1663                   offset: -1 -1;
1664                }
1665                visible: 1;
1666             }
1667          }
1668          part { name: "elm.swallow.content";
1669             clip_to: "contentclipper";
1670             type: SWALLOW;
1671             description { state: "default" 0.0;
1672                rel1 {
1673                 to: "elm.swallow.icon";
1674                 relative: 1.0 0.0;
1675                 offset: 4 4;
1676                }
1677                rel2 {
1678                 to: "elm.swallow.end";
1679                 relative: 0.0 1.0;
1680                 offset: -5 -5;
1681                }
1682             }
1683          }
1684          part { name: "conf_over";
1685             mouse_events:  0;
1686             description { state: "default" 0.0;
1687                rel1.to: "bg";
1688                rel2.to: "bg";
1689                image {
1690                   normal: "shelf_inset.png";
1691                   border: 7 7 7 7;
1692                   middle: 0;
1693                }
1694                fill.smooth : 0;
1695             }
1696             description { state: "enabled" 0.0;
1697                inherit: "default" 0.0;
1698                color: 200 155 0 255;
1699             }
1700          }
1701          part { name: "focus_highlight";
1702             mouse_events: 0;
1703             description { state: "default" 0.0;
1704                rel1.offset: -1 -1;
1705                rel2.offset: 0 0;
1706                image {
1707                   normal: "sl_bt2_2.png";
1708                   border: 7 7 7 7;
1709                   middle: 0;
1710                }
1711                fill.smooth : 0;
1712                color: 200 155 0 0;
1713             }
1714             description { state: "enabled" 0.0;
1715                inherit: "default" 0.0;
1716                color: 200 155 0 255;
1717             }
1718          }
1719          part { name: "sb_vbar_clip_master";
1720             type: RECT;
1721             mouse_events: 0;
1722             description { state: "default" 0.0;
1723             }
1724             description { state: "hidden" 0.0;
1725                visible: 0;
1726                color: 255 255 255 0;
1727             }
1728          }
1729          part { name: "sb_vbar_clip";
1730             clip_to: "sb_vbar_clip_master";
1731             type: RECT;
1732             mouse_events: 0;
1733             description { state: "default" 0.0;
1734             }
1735             description { state: "hidden" 0.0;
1736                visible: 0;
1737                color: 255 255 255 0;
1738             }
1739          }
1740          part { name: "sb_vbar";
1741             type: RECT;
1742             mouse_events: 0;
1743             description { state: "default" 0.0;
1744                fixed: 1 1;
1745                visible: 0;
1746                min: 10 17;
1747                align: 1.0 0.0;
1748                rel1 {
1749                   relative: 0.0 0.0;
1750                   offset:   -2 2;
1751                   to_y:     "elm.swallow.content";
1752                   to_x:     "elm.swallow.end";
1753                }
1754                rel2 {
1755                   relative: 0.0 0.0;
1756                   offset:   -2 -1;
1757                   to_y:     "sb_hbar";
1758                   to_x:     "elm.swallow.end";
1759                }
1760             }
1761          }
1762          part { name: "elm.dragable.vbar";
1763             clip_to: "sb_vbar_clip";
1764             mouse_events: 0;
1765             dragable {
1766                x: 0 0 0;
1767                y: 1 1 0;
1768                confine: "sb_vbar";
1769             }
1770             description { state: "default" 0.0;
1771                fixed: 1 1;
1772                min: 10 17;
1773                max: 10 99999;
1774                rel1 {
1775                   relative: 0.5  0.5;
1776                   offset:   0    0;
1777                   to: "sb_vbar";
1778                }
1779                rel2 {
1780                   relative: 0.5  0.5;
1781                   offset:   0    0;
1782                   to: "sb_vbar";
1783                }
1784                image {
1785                   normal: "bt_sm_base2.png";
1786                   border: 6 6 6 6;
1787                   middle: SOLID;
1788                }
1789             }
1790          }
1791          part { name: "sb_vbar_over1";
1792             clip_to: "sb_vbar_clip";
1793             mouse_events: 0;
1794             description { state: "default" 0.0;
1795                rel1.to: "elm.dragable.vbar";
1796                rel2.relative: 1.0 0.5;
1797                rel2.to: "elm.dragable.vbar";
1798                image {
1799                   normal: "bt_sm_hilight.png";
1800                   border: 6 6 6 0;
1801                }
1802             }
1803          }
1804          part { name: "sb_vbar_over2";
1805             clip_to: "sb_vbar_clip";
1806             mouse_events: 0;
1807             description { state: "default" 0.0;
1808                rel1.to: "elm.dragable.vbar";
1809                rel2.to: "elm.dragable.vbar";
1810                image {
1811                   normal: "bt_sm_shine.png";
1812                   border: 6 6 6 0;
1813                }
1814             }
1815          }
1816
1817          part { name: "sb_hbar_clip_master";
1818             type: RECT;
1819             mouse_events: 0;
1820             description { state: "default" 0.0;
1821             }
1822             description { state: "hidden" 0.0;
1823                visible: 0;
1824                color: 255 255 255 0;
1825             }
1826          }
1827          part { name: "sb_hbar_clip";
1828             clip_to: "sb_hbar_clip_master";
1829             type: RECT;
1830             mouse_events: 0;
1831             description { state: "default" 0.0;
1832             }
1833             description { state: "hidden" 0.0;
1834                visible: 0;
1835                color: 255 255 255 0;
1836             }
1837          }
1838          part { name: "sb_hbar";
1839             type: RECT;
1840             mouse_events: 0;
1841             description { state: "default" 0.0;
1842                fixed: 1 1;
1843                visible: 0;
1844                min: 17 10;
1845                align: 0.0 1.0;
1846                rel1 {
1847                   relative: 0.0 1.0;
1848                   offset:   2 0;
1849                   to_x:     "elm.swallow.content";
1850                   to_y:     "elm.swallow.content";
1851                }
1852                rel2 {
1853                   relative: 0.0 1.0;
1854                   offset:   -1 -1;
1855                   to_x:     "sb_vbar";
1856                   to_y:     "elm.swallow.content";
1857                }
1858             }
1859          }
1860          part { name: "elm.dragable.hbar";
1861             clip_to: "sb_hbar_clip";
1862             mouse_events: 0;
1863             dragable {
1864                x: 1 1 0;
1865                y: 0 0 0;
1866                confine: "sb_hbar";
1867             }
1868             description { state: "default" 0.0;
1869                fixed: 1 1;
1870                min: 17 10;
1871                max: 99999 10;
1872                rel1 {
1873                   relative: 0.5  0.5;
1874                   offset:   0    0;
1875                   to: "sb_hbar";
1876                }
1877                rel2 {
1878                   relative: 0.5  0.5;
1879                   offset:   0    0;
1880                   to: "sb_hbar";
1881                }
1882                image {
1883                   normal: "bt_sm_base2.png";
1884                   border: 4 4 4 4;
1885                   middle: SOLID;
1886                }
1887             }
1888          }
1889          part { name: "sb_hbar_over1";
1890             clip_to: "sb_hbar_clip";
1891             mouse_events: 0;
1892             description { state: "default" 0.0;
1893                rel1.to: "elm.dragable.hbar";
1894                rel2.relative: 1.0 0.5;
1895                rel2.to: "elm.dragable.hbar";
1896                image {
1897                   normal: "bt_sm_hilight.png";
1898                   border: 4 4 4 0;
1899                }
1900             }
1901          }
1902          part { name: "sb_hbar_over2";
1903             clip_to: "sb_hbar_clip";
1904             mouse_events: 0;
1905             description { state: "default" 0.0;
1906                rel1.to: "elm.dragable.hbar";
1907                rel2.to: "elm.dragable.hbar";
1908                image {
1909                   normal: "bt_sm_shine.png";
1910                   border: 4 4 4 0;
1911                }
1912             }
1913          }
1914       }
1915       programs {
1916          program { name: "load";
1917             signal: "load";
1918             source: "";
1919             script {
1920                set_state(PART:"sb_hbar_clip", "hidden", 0.0);
1921                set_state(PART:"sb_vbar_clip", "hidden", 0.0);
1922                set_int(sbvis_h, 0);
1923                set_int(sbvis_v, 0);
1924                set_int(sbalways_v, 0);
1925                set_int(sbalways_h, 0);
1926                set_int(sbvis_timer, 0);
1927             }
1928          }
1929          program { name: "icon_show";
1930             signal: "elm,action,show,icon";
1931             source: "elm";
1932             action: STATE_SET "visible" 0.0;
1933             target: "elm.swallow.icon";
1934          }
1935          program { name: "icon_hide";
1936             signal: "elm,action,hide,icon";
1937             source: "elm";
1938             action: STATE_SET "default" 0.0;
1939             target: "elm.swallow.icon";
1940          }
1941          program { name: "end_show";
1942             signal: "elm,action,show,end";
1943             source: "elm";
1944             action: STATE_SET "visible" 0.0;
1945             target: "elm.swallow.end";
1946          }
1947          program { name: "end_hide";
1948             signal: "elm,action,hide,end";
1949             source: "elm";
1950             action: STATE_SET "default" 0.0;
1951             target: "elm.swallow.end";
1952          }
1953          program { name: "vbar_show";
1954             signal: "elm,action,show,vbar";
1955             source: "elm";
1956             action:  STATE_SET "default" 0.0;
1957             target: "sb_vbar_clip_master";
1958          }
1959          program { name: "vbar_hide";
1960             signal: "elm,action,hide,vbar";
1961             source: "elm";
1962             action:  STATE_SET "hidden" 0.0;
1963             target: "sb_vbar_clip_master";
1964          }
1965          program { name: "vbar_show_always";
1966             signal: "elm,action,show_always,vbar";
1967             source: "elm";
1968             script {
1969                new v;
1970                v = get_int(sbvis_v);
1971                v |= get_int(sbalways_v);
1972                if (!v) {
1973                   set_int(sbalways_v, 1);
1974                   emit("do-show-vbar", "");
1975                   set_int(sbvis_v, 1);
1976                }
1977             }
1978          }
1979          program { name: "vbar_show_notalways";
1980             signal: "elm,action,show_notalways,vbar";
1981             source: "elm";
1982             script {
1983                new v;
1984                v = get_int(sbalways_v);
1985                if (v) {
1986                   set_int(sbalways_v, 0);
1987                   v = get_int(sbvis_v);
1988                   if (!v) {
1989                      emit("do-hide-vbar", "");
1990                      set_int(sbvis_v, 0);
1991                   }
1992                }
1993             }
1994          }
1995          program { name: "sb_vbar_show";
1996             signal: "do-show-vbar";
1997             source: "";
1998             action:  STATE_SET "default" 0.0;
1999             transition: LINEAR 0.5;
2000             target: "sb_vbar_clip";
2001          }
2002          program { name: "sb_vbar_hide";
2003             signal: "do-hide-vbar";
2004             source: "";
2005             action:  STATE_SET "hidden" 0.0;
2006             transition: LINEAR 0.5;
2007             target: "sb_vbar_clip";
2008          }
2009
2010          program { name: "hbar_show";
2011             signal: "elm,action,show,hbar";
2012             source: "elm";
2013             action:  STATE_SET "default" 0.0;
2014             target: "sb_hbar_clip_master";
2015          }
2016          program { name: "hbar_hide";
2017             signal: "elm,action,hide,hbar";
2018             source: "elm";
2019             action:  STATE_SET "hidden" 0.0;
2020             target: "sb_hbar_clip_master";
2021          }
2022          program { name: "hbar_show_always";
2023             signal: "elm,action,show_always,hbar";
2024             source: "elm";
2025             script {
2026                new v;
2027                v = get_int(sbvis_h);
2028                v |= get_int(sbalways_h);
2029                if (!v) {
2030                   set_int(sbalways_h, 1);
2031                   emit("do-show-hbar", "");
2032                   set_int(sbvis_h, 1);
2033                }
2034             }
2035          }
2036          program { name: "hbar_show_notalways";
2037             signal: "elm,action,show_notalways,hbar";
2038             source: "elm";
2039             script {
2040                new v;
2041                v = get_int(sbalways_h);
2042                if (v) {
2043                   set_int(sbalways_h, 0);
2044                   v = get_int(sbvis_h);
2045                   if (!v) {
2046                      emit("do-hide-hbar", "");
2047                      set_int(sbvis_h, 0);
2048                   }
2049                }
2050             }
2051          }
2052          program { name: "sb_hbar_show";
2053             signal: "do-show-hbar";
2054             source: "";
2055             action:  STATE_SET "default" 0.0;
2056             transition: LINEAR 0.5;
2057             target: "sb_hbar_clip";
2058          }
2059          program { name: "sb_hbar_hide";
2060             signal: "do-hide-hbar";
2061             source: "";
2062             action:  STATE_SET "hidden" 0.0;
2063             transition: LINEAR 0.5;
2064             target: "sb_hbar_clip";
2065          }
2066
2067          program { name: "scroll";
2068             signal: "elm,action,scroll";
2069             source: "elm";
2070             script {
2071                new v;
2072                v = get_int(sbvis_v);
2073                v |= get_int(sbalways_v);
2074                if (!v) {
2075                   emit("do-show-vbar", "");
2076                   set_int(sbvis_v, 1);
2077                }
2078                v = get_int(sbvis_h);
2079                v |= get_int(sbalways_h);
2080                if (!v) {
2081                   emit("do-show-hbar", "");
2082                   set_int(sbvis_h, 1);
2083                }
2084                v = get_int(sbvis_timer);
2085                if (v > 0) cancel_timer(v);
2086                v = timer(1.0, "timer0", 0);
2087                set_int(sbvis_timer, v);
2088             }
2089          }
2090
2091          program { name: "highlight_show";
2092             signal: "elm,action,focus_highlight,show";
2093             source: "elm";
2094             action: STATE_SET "enabled" 0.0;
2095             transition: ACCELERATE 0.3;
2096             target: "focus_highlight";
2097             target: "conf_over";
2098          }
2099          program { name: "highlight_hide";
2100             signal: "elm,action,focus_highlight,hide";
2101             source: "elm";
2102             action: STATE_SET "default" 0.0;
2103             transition: DECELERATE 0.3;
2104             target: "focus_highlight";
2105             target: "conf_over";
2106          }
2107       }
2108    }
2109
2110 ///////////////////////////////////////////////////////////////////////////////
2111 #define TEXT_SLIDE_DURATION     10
2112
2113    group { name: "elm/label/base/default";
2114       data.item: "default_font_size" "10";
2115       data.item: "min_font_size" "6";
2116       data.item: "max_font_size" "60";
2117       styles {
2118          style { name: "textblock_style";
2119             base: "font=Sans font_size=10 color=#000 wrap=word text_class=label";
2120             tag:  "br" "\n";
2121             tag:  "ps" "ps";
2122             tag:  "hilight" "+ font=Sans:style=Bold";
2123             tag:  "b" "+ font=Sans:style=Bold";
2124             tag:  "tab" "\t";
2125            }
2126         }
2127       parts {
2128          part { name: "label.swallow.background";
2129             type: SWALLOW;
2130             description { state: "default" 0.0;
2131                visible: 1;
2132             }
2133          }
2134          part { name: "label.text.clip";
2135             type: RECT;
2136             description { state: "default" 0.0;
2137                rel1 { relative: 0 0; to: "label.swallow.background"; }
2138                rel2 { relative: 1 1; to: "label.swallow.background"; }
2139             }
2140          }
2141          part { name: "elm.text";
2142             type: TEXTBLOCK;
2143             mouse_events: 0;
2144             scale: 1;
2145             clip_to: "label.text.clip";
2146             description { state: "default" 0.0;
2147                rel1.relative: 0.0 0.0;
2148                rel2.relative: 1.0 1.0;
2149                text {
2150                   style: "textblock_style";
2151                   min: 1 0;
2152                }
2153             }
2154          }
2155       }
2156    }
2157
2158    group { name: "elm/label/base_wrap/default";
2159       data.item: "default_font_size" "10";
2160       data.item: "min_font_size" "6";
2161       data.item: "max_font_size" "60";
2162       parts {
2163          part { name: "label.swallow.background";
2164             type: SWALLOW;
2165             description { state: "default" 0.0;
2166                visible: 1;
2167                rel1 { relative: 0 0; to: "elm.text"; }
2168                rel2 { relative: 1 1; to: "elm.text"; }
2169             }
2170          }
2171          part { name: "elm.text";
2172             type: TEXTBLOCK;
2173             mouse_events: 0;
2174             scale: 1;
2175             description { state: "default" 0.0;
2176                text {
2177                   style: "textblock_style";
2178                   min: 0 1;
2179                }
2180             } 
2181          }
2182       }
2183    } 
2184
2185    group { name: "elm/label/base_wrap_ellipsis/default";
2186       data.item: "default_font_size" "10";
2187       data.item: "min_font_size" "6";
2188       data.item: "max_font_size" "60";
2189       parts {
2190          part { name: "label.swallow.background";
2191             type: SWALLOW;
2192             description { state: "default" 0.0;
2193                visible: 1;
2194                rel1 { relative: 0 0; to: "elm.text"; }
2195                rel2 { relative: 1 1; to: "elm.text"; }
2196             }
2197          }
2198          part { name: "elm.text";
2199             type: TEXTBLOCK;
2200             mouse_events: 0;
2201             scale: 1;
2202             multiline: 1;
2203             description { state: "default" 0.0;
2204                fixed: 0 1; 
2205                text {
2206                   style: "textblock_style";
2207                   min: 0 1;
2208                }
2209             }
2210          }
2211       }
2212    }
2213
2214    group { name: "elm/label/base/marker";
2215       data.item: "default_font_size" "10";
2216       data.item: "min_font_size" "6";
2217       data.item: "max_font_size" "60";
2218       styles {
2219          style { name: "textblock_style2";
2220            base: "font=Sans:style=Bold font_size=10 align=center color=#fff wrap=word text_class=label";
2221            tag:  "br" "\n";
2222            tag:  "ps" "ps";
2223            tag:  "hilight" "+ color=#ffff";
2224            tag:  "b" "+ color=#ffff";
2225            tag:  "tab" "\t";
2226          }
2227       }
2228       parts {
2229          part { name: "label.swallow.background";
2230             type: SWALLOW;
2231             description { state: "default" 0.0;
2232                visible: 1;
2233                rel1 { relative: 0 0; to: "elm.text"; }
2234                rel2 { relative: 1 1; to: "elm.text"; }
2235             }
2236          }
2237          part { name: "elm.text";
2238             type: TEXTBLOCK;
2239             mouse_events: 0;
2240             scale: 1;
2241             description { state: "default" 0.0;
2242                text {
2243                   style: "textblock_style2";
2244                   min: 1 1;
2245                }
2246             }
2247          }
2248       }
2249    }
2250
2251    group { name: "elm/label/base_wrap/marker";
2252       data.item: "default_font_size" "10";
2253       data.item: "min_font_size" "6";
2254       data.item: "max_font_size" "60";
2255       parts {
2256          part { name: "label.swallow.background";
2257             type: SWALLOW;
2258             description { state: "default" 0.0;
2259                visible: 1;
2260                rel1 { relative: 0 0; to: "elm.text"; }
2261                rel2 { relative: 1 1; to: "elm.text"; }
2262             }
2263          }
2264          part { name: "elm.text";
2265             type: TEXTBLOCK;
2266             mouse_events: 0;
2267             scale: 1;
2268             description { state: "default" 0.0;
2269                text {
2270                   style: "textblock_style2";
2271                   min: 0 1;
2272                }
2273             }
2274          }
2275       }
2276    }
2277
2278    group { name: "elm/label/base/slide_long";
2279       data.item: "default_font_size" "10";
2280       data.item: "min_font_size" "6";
2281       data.item: "max_font_size" "60";
2282       
2283       script {
2284         public g_duration, g_stopslide, g_timer_id, g_anim_id;
2285           
2286         public message(Msg_Type:type, id, ...) {
2287            if ((type == MSG_FLOAT_SET) && (id == 0)) {
2288               new Float:duration;
2289               duration = getarg(2);
2290               set_float(g_duration, duration);
2291            }
2292         }
2293         public slide_to_end_anim(val, Float:pos) {
2294            new stopflag;
2295            new id;
2296            stopflag = get_int(g_stopslide);
2297            if (stopflag == 1) return;
2298            set_tween_state(PART:"elm.text", pos, "slide_begin", 0.0, "slide_end", 0.0);
2299            if (pos >= 1.0) {
2300               id = timer(0.5, "slide_to_begin", 1);
2301               set_int(g_timer_id, id);
2302            }
2303         }
2304         public slide_to_end() {
2305            new stopflag;
2306            new id;
2307            new Float:duration;
2308            stopflag = get_int(g_stopslide);
2309            if (stopflag == 1) return;
2310            duration = get_float(g_duration);
2311            id = anim(duration, "slide_to_end_anim", 1);
2312            set_int(g_anim_id, id);
2313         }
2314         public slide_to_begin() {
2315            new stopflag;
2316            new id;
2317            stopflag = get_int(g_stopslide);
2318            if (stopflag == 1) return;
2319            set_state(PART:"elm.text", "slide_begin", 0.0);
2320            id = timer(0.5, "slide_to_end", 1);
2321            set_int(g_timer_id, id);
2322         }
2323         public start_slide() {
2324            set_int(g_stopslide, 0);
2325            set_state(PART:"elm.text", "slide_begin", 0.0);
2326            slide_to_end();
2327         }
2328         public stop_slide() {
2329            new id;
2330            set_int(g_stopslide, 1);
2331            id = get_int(g_anim_id);
2332            cancel_anim(id);
2333            id = get_int(g_timer_id);
2334            cancel_timer(id);
2335            set_state(PART:"elm.text", "default", 0.0);
2336         }
2337       }
2338        
2339       parts {
2340          part { name: "label.swallow.background";
2341             type: SWALLOW;
2342             description { state: "default" 0.0;
2343                visible: 1;
2344             }
2345          }
2346          part { name: "label.text.clip";
2347             type: RECT;
2348             description { state: "default" 0.0;
2349                visible: 1;
2350                color: 255 255 255 255;
2351                rel1 { relative: 0 0; to: "label.swallow.background"; }
2352                rel2 { relative: 1 1; to: "label.swallow.background"; }
2353             }
2354          }
2355          part { name: "elm.text";
2356             type: TEXTBLOCK;
2357             mouse_events: 0;
2358             scale: 1;
2359             clip_to: "label.text.clip";
2360             description { state: "default" 0.0;
2361                rel1.relative: 0.0 0.0;
2362                rel2.relative: 1.0 1.0;
2363                align: 0.0 0.0;
2364                text {
2365                   style: "textblock_style";
2366                   min: 1 0;
2367                }
2368             }
2369             description { state: "slide_end" 0.0;
2370                inherit: "default" 0.0;
2371                rel1.relative: 0.0 0.0;
2372                rel2.relative: 0.0 1.0;
2373                align: 1.0 0.0;
2374             }
2375             description { state: "slide_begin" 0.0;
2376                inherit: "default" 0.0;
2377                rel1.relative: 1.0 0.0;
2378                rel2.relative: 1.0 1.0;
2379                align: 0.0 0.0;
2380             }
2381          }
2382        }
2383        programs {
2384           program { name: "start_slide";
2385              source: "elm";
2386              signal: "elm,state,slide,start";
2387              script
2388                {
2389                   start_slide();
2390                }
2391           }
2392           program { name: "stop_slide";
2393              source: "elm";
2394              signal: "elm,state,slide,stop";
2395              script
2396                {
2397                   stop_slide();
2398                }
2399           }
2400        }
2401    }
2402    
2403
2404    group { name: "elm/label/base/slide_short";
2405       data.item: "default_font_size" "10";
2406       data.item: "min_font_size" "6";
2407       data.item: "max_font_size" "60";
2408
2409       script {
2410          public g_duration, g_stopslide, g_timer_id, g_anim_id;
2411          
2412          public message(Msg_Type:type, id, ...) {
2413             if ((type == MSG_FLOAT_SET) && (id == 0)) {
2414                new Float:duration;
2415                duration = getarg(2);
2416                set_float(g_duration, duration);
2417             }
2418          }
2419          public slide_to_end_anim(val, Float:pos) {
2420             new stopflag;
2421             new id;
2422             stopflag = get_int(g_stopslide);
2423             if (stopflag == 1) return;
2424             set_tween_state(PART:"elm.text", pos, "slide_begin", 0.0, "slide_end", 0.0);
2425             if (pos >= 1.0) {
2426                id = timer(0.5, "slide_to_begin", 1);
2427                set_int(g_timer_id, id);
2428             }
2429          }
2430          public slide_to_end() {
2431             new stopflag;
2432             new id;
2433             new Float:duration;
2434             stopflag = get_int(g_stopslide);
2435             if (stopflag == 1) return;
2436             duration = get_float(g_duration);
2437             id = anim(duration, "slide_to_end_anim", 1);
2438             set_int(g_anim_id, id);
2439          }
2440          public slide_to_begin() {
2441             new stopflag;
2442             new id;
2443             stopflag = get_int(g_stopslide);
2444             if (stopflag == 1) return;
2445             set_state(PART:"elm.text", "slide_begin", 0.0);
2446             id = timer(0.5, "slide_to_end", 1);
2447             set_int(g_timer_id, id);
2448          }
2449          public start_slide() {
2450             set_int(g_stopslide, 0);
2451             set_state(PART:"elm.text", "slide_begin", 0.0);
2452             slide_to_end();
2453          }
2454          public stop_slide() {
2455             new id;
2456             set_int(g_stopslide, 1);
2457             id = get_int(g_anim_id);
2458             cancel_anim(id);
2459             id = get_int(g_timer_id);
2460             cancel_timer(id);
2461             set_state(PART:"elm.text", "default", 0.0);
2462          }
2463       }
2464
2465       parts {
2466          part { name: "label.swallow.background";
2467             type: SWALLOW;
2468             description { state: "default" 0.0;
2469                visible: 1;
2470             }
2471          }
2472          part { name: "label.text.clip";
2473             type: RECT;
2474             description { state: "default" 0.0;
2475                visible: 1;
2476                color: 255 255 255 255;
2477                rel1 { relative: 0 0; to: "label.swallow.background"; }
2478                rel2 { relative: 1 1; to: "label.swallow.background"; }
2479             }
2480          }
2481          part { name: "elm.text";
2482             type: TEXTBLOCK;
2483             mouse_events: 0;
2484             scale: 1;
2485             clip_to: "label.text.clip";
2486             description { state: "default" 0.0;
2487                rel1.relative: 0.0 0.0;
2488                rel2.relative: 1.0 1.0;
2489                align: 0.0 0.0;
2490                text {
2491                   style: "textblock_style";
2492                   min: 1 0;
2493                }
2494             }
2495             description { state: "slide_end" 0.0;
2496                inherit: "default" 0.0;
2497                rel1.relative: 1.0 0.0;
2498                rel2.relative: 1.0 1.0;
2499                align: 1.0 0.0;
2500             }
2501             description { state: "slide_begin" 0.0;
2502                inherit: "default" 0.0;
2503                rel1.relative: 0.0 0.0;
2504                rel2.relative: 0.0 1.0;
2505                align: 0.0 0.0;
2506             }
2507          }
2508       }
2509       programs {
2510          program { name: "start_slide";
2511             source: "elm";
2512             signal: "elm,state,slide,start";
2513             script
2514               {
2515                  start_slide();
2516               }
2517          }
2518          program { name: "stop_slide";
2519             source: "elm";
2520             signal: "elm,state,slide,stop";
2521             script
2522               {
2523                  stop_slide();
2524               }
2525          }
2526       }
2527    }
2528
2529    group { name: "elm/label/base/slide_bounce";
2530       data.item: "default_font_size" "10";
2531       data.item: "min_font_size" "6";
2532       data.item: "max_font_size" "60";
2533       
2534       script {
2535          public g_duration, g_stopslide, g_timer_id, g_anim_id;
2536          
2537          public message(Msg_Type:type, id, ...) {
2538             if ((type == MSG_FLOAT_SET) && (id == 0)) {
2539                new Float:duration;
2540                duration = getarg(2);
2541                set_float(g_duration, duration);
2542             }
2543          }
2544          public slide_to_end_anim(val, Float:pos) {
2545             new stopflag;
2546             new id;
2547             stopflag = get_int(g_stopslide);
2548             if (stopflag == 1) return;
2549             set_tween_state(PART:"elm.text", pos, "slide_begin", 0.0, "slide_end", 0.0);
2550             if (pos >= 1.0) {
2551                id = timer(0.5, "slide_to_begin", 1);
2552                set_int(g_timer_id, id);
2553             }
2554          }
2555          public slide_to_end() {
2556             new stopflag;
2557             new id;
2558             new Float:duration;
2559             stopflag = get_int(g_stopslide);
2560             if (stopflag == 1) return;
2561             duration = get_float(g_duration);
2562             id = anim(duration, "slide_to_end_anim", 1);
2563             set_int(g_anim_id, id);
2564          }
2565          public slide_to_begin_anim(val, Float:pos) {
2566             new stopflag;
2567             new id;
2568             stopflag = get_int(g_stopslide);
2569             if (stopflag == 1) return;
2570             set_tween_state(PART:"elm.text", pos, "slide_end", 0.0, "slide_begin", 0.0);
2571             if (pos >= 1.0) {
2572                id = timer(0.5, "slide_to_end", 1);
2573                set_int(g_timer_id, id);
2574             }
2575          }
2576          public slide_to_begin() {
2577             new stopflag;
2578             new id;
2579             new Float:duration;
2580             stopflag = get_int(g_stopslide);
2581             if (stopflag == 1) return;
2582             duration = get_float(g_duration);
2583             id = anim(duration, "slide_to_begin_anim", 1);
2584             set_int(g_anim_id, id);
2585          }
2586          public start_slide() {
2587             set_int(g_stopslide, 0);
2588             set_state(PART:"elm.text", "slide_begin", 0.0);
2589             slide_to_end();
2590          }
2591          public stop_slide() {
2592             new id;
2593             set_int(g_stopslide, 1);
2594             id = get_int(g_anim_id);
2595             cancel_anim(id);
2596             id = get_int(g_timer_id);
2597             cancel_timer(id);
2598             set_state(PART:"elm.text", "default", 0.0);
2599          }
2600       }
2601
2602       parts {
2603          part { name: "label.swallow.background";
2604             type: SWALLOW;
2605             description { state: "default" 0.0;
2606                visible: 1;
2607             }
2608          }
2609          part { name: "label.text.clip";
2610             type: RECT;
2611             description { state: "default" 0.0;
2612                visible: 1;
2613                color: 255 255 255 255;
2614                rel1 { relative: 0 0; to: "label.swallow.background"; }
2615                rel2 { relative: 1 1; to: "label.swallow.background"; }
2616             }
2617          }
2618          part { name: "elm.text";
2619             type: TEXTBLOCK;
2620             mouse_events: 0;
2621             scale: 1;
2622             clip_to: "label.text.clip";
2623             description { state: "default" 0.0;
2624                rel1.relative: 0.0 0.0;
2625                rel2.relative: 1.0 1.0;
2626                align: 0.0 0.0;
2627                text {
2628                   style: "textblock_style";
2629                   min: 1 0;
2630                }
2631             }
2632             description { state: "slide_end" 0.0;
2633                inherit: "default" 0.0;
2634                rel1.relative: 1.0 0.0;
2635                rel2.relative: 1.0 1.0;
2636                align: 1.0 0.0;
2637             }
2638             description { state: "slide_begin" 0.0;
2639                inherit: "default" 0.0;
2640                rel1.relative: 0.0 0.0;
2641                rel2.relative: 0.0 1.0;
2642                align: 0.0 0.0;
2643             }
2644          }
2645       }
2646       programs {
2647          program { name: "start_slide";
2648             source: "elm";
2649             signal: "elm,state,slide,start";
2650             script
2651               {
2652                  start_slide();
2653               }
2654          }
2655          program { name: "stop_slide";
2656             source: "elm";
2657             signal: "elm,state,slide,stop";
2658             script
2659               {
2660                  stop_slide();
2661               }
2662          }
2663       }
2664    }
2665
2666
2667 ///////////////////////////////////////////////////////////////////////////////
2668
2669    group { name: "elm/button/base/default";
2670       images {
2671          image: "bt_base1.png" COMP;
2672          image: "bt_base2.png" COMP;
2673          image: "bt_hilight.png" COMP;
2674          image: "bt_shine.png" COMP;
2675          image: "bt_glow.png" COMP;
2676          image: "bt_dis_base.png" COMP;
2677          image: "bt_dis_hilight.png" COMP;
2678       }
2679       parts {
2680          part { name: "button_image";
2681             mouse_events: 1;
2682             description { state: "default" 0.0;
2683           min: 15 15;
2684                image {
2685                   normal: "bt_base2.png";
2686                   border: 7 7 7 7;
2687                }
2688                image.middle: SOLID;
2689             }
2690             description { state: "clicked" 0.0;
2691                inherit: "default" 0.0;
2692                image.normal: "bt_base1.png";
2693                image.middle: SOLID;
2694             }
2695             description { state: "disabled" 0.0;
2696                inherit:  "default" 0.0;
2697                image {
2698                   normal: "bt_dis_base.png";
2699                   border: 4 4 4 4;
2700                }
2701             }
2702          }
2703          part { name: "elm.swallow.content";
2704             type: SWALLOW;
2705             description { state: "default" 0.0;
2706                fixed: 1 0;
2707                visible: 0;
2708                align: 0.0 0.5;
2709                rel1.offset: 4 4;
2710                rel2.offset: 3 -5;
2711                rel2.relative: 0.0 1.0;
2712             }
2713             description { state: "visible" 0.0;
2714                inherit: "default" 0.0;
2715                fixed: 1 0;
2716                visible: 1;
2717                aspect: 1.0 1.0;
2718 //             aspect_preference: VERTICAL;
2719                rel2.offset: 4 -5;
2720             }
2721             description { state: "icononly" 0.0;
2722                inherit: "default" 0.0;
2723                fixed: 0 0;
2724                visible: 1;
2725                align: 0.5 0.5;
2726 //             aspect: 1.0 1.0;
2727                rel2.offset: -5 -5;
2728                rel2.relative: 1.0 1.0;
2729 //             aspect_preference: VERTICAL;
2730             }
2731          }
2732          part {
2733             name:          "elm.text";
2734             type:          TEXT;
2735             effect:        SOFT_SHADOW;
2736             mouse_events:  0;
2737             scale: 1;
2738             description { state: "default" 0.0;
2739                visible: 0;
2740                rel1.to_x: "elm.swallow.content";
2741                rel1.relative: 1.0 0.0;
2742                rel1.offset: 0 4;
2743                rel2.offset: -5 -5;
2744                color: 224 224 224 255;
2745                color3: 0 0 0 64;
2746                text {
2747                   font:     "Sans,Edje-Vera";
2748                   size:     10;
2749                   min:      0 0;
2750                   align:    0.5 0.5;
2751                   text_class: "button";
2752                }
2753             }
2754             description { state: "visible" 0.0;
2755                inherit: "default" 0.0;
2756                visible: 1;
2757                text.min: 1 1;
2758             }
2759             description { state: "disabled" 0.0;
2760                inherit: "default" 0.0;
2761                color: 0 0 0 128;
2762                color3: 0 0 0 0;
2763             }
2764             description { state: "disabled_visible" 0.0;
2765                inherit: "default" 0.0;
2766                color: 0 0 0 128;
2767                color3: 0 0 0 0;
2768                visible: 1;
2769                text.min: 1 1;
2770             }
2771          }
2772          part {   name: "over1";
2773             mouse_events: 0;
2774             description { state: "default" 0.0;
2775                rel2.relative: 1.0 0.5;
2776                image {
2777                   normal: "bt_hilight.png";
2778                   border: 7 7 7 0;
2779                }
2780             }
2781             description { state: "disabled" 0.0;
2782                inherit:  "default" 0.0;
2783                image {
2784                   normal: "bt_dis_hilight.png";
2785                   border: 4 4 4 0;
2786                }
2787             }
2788          }
2789          part { name: "over2";
2790             mouse_events: 1;
2791             repeat_events: 1;
2792             ignore_flags: ON_HOLD;
2793             description { state: "default" 0.0;
2794                image {
2795                   normal: "bt_shine.png";
2796                   border: 7 7 7 7;
2797                }
2798             }
2799             description { state: "disabled" 0.0;
2800                inherit:  "default" 0.0;
2801                visible: 0;
2802             }
2803          }
2804          part { name: "over3";
2805             mouse_events: 1;
2806             repeat_events: 1;
2807             description { state: "default" 0.0;
2808                color: 255 255 255 0;
2809                image {
2810                   normal: "bt_glow.png";
2811                   border: 12 12 12 12;
2812                }
2813                fill.smooth : 0;
2814             }
2815             description { state: "clicked" 0.0;
2816                inherit:  "default" 0.0;
2817                color: 255 255 255 255;
2818             }
2819          }
2820          part { name: "disabler";
2821             type: RECT;
2822             description { state: "default" 0.0;
2823                color: 0 0 0 0;
2824                visible: 0;
2825             }
2826             description { state: "disabled" 0.0;
2827                inherit: "default" 0.0;
2828                visible: 1;
2829             }
2830          }
2831       }
2832       programs {
2833          program {
2834             name:   "button_click";
2835             signal: "mouse,down,1";
2836             source: "over2";
2837             action: SIGNAL_EMIT "elm,action,press" "";
2838             after: "button_click_anim";
2839          }
2840          program {
2841             name:   "button_click_anim";
2842             action: STATE_SET "clicked" 0.0;
2843             target: "button_image";
2844          }
2845          program {
2846             name:   "button_unclick";
2847             signal: "mouse,up,1";
2848             source: "over3";
2849             action: SIGNAL_EMIT "elm,action,unpress" "";
2850             after: "button_unclick_anim";
2851          }
2852          program {
2853             name:   "button_pressed_anim";
2854             signal: "elm,anim,activate";
2855             source: "elm";
2856             action: STATE_SET "clicked" 0.0;
2857             target: "button_image";
2858             target: "over3";
2859             after: "button_unpressed_anim";
2860          }
2861          program {
2862             name:   "button_unpressed_anim";
2863             action: STATE_SET "default" 0.0;
2864             transition: DECELERATE 0.5;
2865             target: "button_image";
2866             target: "over3";
2867          }
2868          program {
2869             name:   "button_unclick_anim";
2870             action: STATE_SET "default" 0.0;
2871             target: "button_image";
2872          }
2873          program {
2874             name:   "button_click2";
2875             signal: "mouse,down,1";
2876             source: "over3";
2877             action: STATE_SET "clicked" 0.0;
2878             target: "over3";
2879          }
2880          program {
2881             name:   "button_unclick2";
2882             signal: "mouse,up,1";
2883             source: "over3";
2884             action: STATE_SET "default" 0.0;
2885             transition: DECELERATE 0.5;
2886             target: "over3";
2887          }
2888          program {
2889             name:   "button_unclick3";
2890             signal: "mouse,clicked,1";
2891             source: "over2";
2892             action: SIGNAL_EMIT "elm,action,click" "";
2893          }
2894          program { name: "text_show";
2895             signal: "elm,state,text,visible";
2896             source: "elm";
2897             script {
2898                new st[31];
2899                new Float:vl;
2900                get_state(PART:"elm.swallow.content", st, 30, vl);
2901                if (!strcmp(st, "icononly"))
2902                  set_state(PART:"elm.swallow.content", "visible", 0.0);
2903                set_state(PART:"elm.text", "visible", 0.0);
2904             }
2905          }
2906          program { name: "text_hide";
2907             signal: "elm,state,text,hidden";
2908             source: "elm";
2909             script {
2910                new st[31];
2911                new Float:vl;
2912                get_state(PART:"elm.swallow.content", st, 30, vl);
2913                if (!strcmp(st, "visible"))
2914                  set_state(PART:"elm.swallow.content", "icononly", 0.0);
2915                set_state(PART:"elm.text", "default", 0.0);
2916             }
2917          }
2918          program { name: "icon_show";
2919             signal: "elm,state,icon,visible";
2920             source: "elm";
2921             script {
2922                new st[31];
2923                new Float:vl;
2924                get_state(PART:"elm.text", st, 30, vl);
2925                if (!strcmp(st, "visible"))
2926                  set_state(PART:"elm.swallow.content", "visible", 0.0);
2927                else
2928                  set_state(PART:"elm.swallow.content", "icononly", 0.0);
2929             }
2930          }
2931          program { name: "icon_hide";
2932             signal: "elm,state,icon,hidden";
2933             source: "elm";
2934             action:  STATE_SET "default" 0.0;
2935             target: "elm.swallow.content";
2936          }
2937          program { name: "disable";
2938             signal: "elm,state,disabled";
2939             source: "elm";
2940             action: STATE_SET "disabled" 0.0;
2941             target: "button_image";
2942             target: "over1";
2943             target: "over2";
2944             target: "disabler";
2945             after: "disable_text";
2946          }
2947          program { name: "disable_text";
2948             script {
2949                new st[31];
2950                new Float:vl;
2951                get_state(PART:"elm.text", st, 30, vl);
2952                if (!strcmp(st, "visible"))
2953                  set_state(PART:"elm.text", "disabled_visible", 0.0);
2954                else
2955                  set_state(PART:"elm.text", "disabled", 0.0);
2956             }
2957          }
2958          program { name: "enable";
2959             signal: "elm,state,enabled";
2960             source: "elm";
2961             action: STATE_SET "default" 0.0;
2962             target: "button_image";
2963             target: "over1";
2964             target: "over2";
2965             target: "disabler";
2966             after: "enable_text";
2967          }
2968          program { name: "enable_text";
2969             script {
2970                new st[31];
2971                new Float:vl;
2972                get_state(PART:"elm.text", st, 30, vl);
2973                if (!strcmp(st, "disabled_visible"))
2974                  set_state(PART:"elm.text", "visible", 0.0);
2975                else
2976                  set_state(PART:"elm.text", "default", 0.0);
2977             }
2978          }
2979       }
2980    }
2981
2982    group { name: "elm/button/base/hoversel_vertical/default";
2983       alias: "elm/button/base/hoversel_vertical/entry";
2984       alias: "elm/button/base/hoversel_horizontal/default";
2985       alias: "elm/button/base/hoversel_horizontal/entry";
2986       images {
2987          image: "bt_base1.png" COMP;
2988          image: "bt_base2.png" COMP;
2989          image: "bt_hilight.png" COMP;
2990          image: "bt_shine.png" COMP;
2991          image: "bt_glow.png" COMP;
2992          image: "updown.png" COMP;
2993          image: "bt_dis_base.png" COMP;
2994          image: "bt_dis_hilight.png" COMP;
2995       }
2996       parts {
2997          part { name: "button_image";
2998             mouse_events: 1;
2999             description { state: "default" 0.0;
3000                image {
3001                   normal: "bt_base2.png";
3002                   border: 7 7 7 7;
3003                }
3004                image.middle: SOLID;
3005             }
3006             description { state: "clicked" 0.0;
3007                inherit: "default" 0.0;
3008                image.normal: "bt_base1.png";
3009                image.middle: SOLID;
3010             }
3011             description { state: "disabled" 0.0;
3012                inherit:  "default" 0.0;
3013                image {
3014                   normal: "bt_dis_base.png";
3015                   border: 4 4 4 4;
3016                }
3017             }
3018          }
3019          part { name: "arrow";
3020             mouse_events: 0;
3021             description { state: "default" 0.0;
3022                image.normal: "updown.png";
3023                aspect: 0.6666666666 0.6666666666;
3024                aspect_preference: VERTICAL;
3025                rel1.offset: 6 7;
3026                rel2.offset: 6 -7;
3027                rel2.relative: 0.0 1.0;
3028                align: 0.0 0.5;
3029             }
3030          }
3031          part { name: "elm.swallow.content";
3032             type: SWALLOW;
3033             description { state: "default" 0.0;
3034                fixed: 1 0;
3035                visible: 0;
3036                align: 0.0 0.5;
3037                rel1 {
3038                   to_x: "arrow";
3039                   offset: 2 4;
3040                   relative: 1.0 0.0;
3041                }
3042                rel2 {
3043                   to_x: "arrow";
3044                   offset: 1 -5;
3045                   relative: 1.0 1.0;
3046                }
3047             }
3048             description { state: "visible" 0.0;
3049                inherit: "default" 0.0;
3050                fixed: 0 0;
3051                visible: 1;
3052                aspect: 1.0 1.0;
3053                aspect_preference: VERTICAL;
3054                rel2.offset: 2 -5;
3055             }
3056             description { state: "icononly" 0.0;
3057                inherit: "default" 0.0;
3058                fixed: 0 0;
3059                visible: 1;
3060                align: 0.5 0.5;
3061                aspect: 1.0 1.0;
3062                rel1 {
3063                   to_x: "button_image";
3064                   offset: -5 -5;
3065                   relative: 1.0 1.0;
3066                }
3067                aspect_preference: VERTICAL;
3068             }
3069          }
3070          part {
3071             name:          "elm.text";
3072             type:          TEXT;
3073             effect:        SOFT_SHADOW;
3074             mouse_events:  0;
3075             scale: 1;
3076             description { state: "default" 0.0;
3077                visible: 0;
3078                rel1.to_x: "elm.swallow.content";
3079                rel1.relative: 1.0 0.0;
3080                rel1.offset: 0 4;
3081                rel2.offset: -5 -5;
3082                color: 224 224 224 255;
3083                color3: 0 0 0 64;
3084                text {
3085                   font:     "Sans,Edje-Vera";
3086                   size:     10;
3087                   min:      0 0;
3088                   align:    0.5 0.5;
3089                   text_class: "button";
3090                }
3091             }
3092             description { state: "visible" 0.0;
3093                inherit: "default" 0.0;
3094                visible: 1;
3095                text.min: 1 1;
3096             }
3097             description { state: "disabled" 0.0;
3098                inherit: "default" 0.0;
3099                color: 0 0 0 128;
3100                color3: 0 0 0 0;
3101             }
3102             description { state: "disabled_visible" 0.0;
3103                inherit: "default" 0.0;
3104                color: 0 0 0 128;
3105                color3: 0 0 0 0;
3106                visible: 1;
3107                text.min: 1 1;
3108             }
3109          }
3110          part {   name: "over1";
3111             mouse_events: 0;
3112             description { state: "default" 0.0;
3113                rel2.relative: 1.0 0.5;
3114                image {
3115                   normal: "bt_hilight.png";
3116                   border: 7 7 7 0;
3117                }
3118             }
3119             description { state: "disabled" 0.0;
3120                inherit:  "default" 0.0;
3121                image {
3122                   normal: "bt_dis_hilight.png";
3123                   border: 4 4 4 0;
3124                }
3125             }
3126          }
3127          part { name: "over2";
3128             mouse_events: 1;
3129             repeat_events: 1;
3130             ignore_flags: ON_HOLD;
3131             description { state: "default" 0.0;
3132                image {
3133                   normal: "bt_shine.png";
3134                   border: 7 7 7 7;
3135                }
3136             }
3137             description { state: "disabled" 0.0;
3138                inherit:  "default" 0.0;
3139                visible: 0;
3140             }
3141          }
3142          part { name: "over3";
3143             mouse_events: 1;
3144             repeat_events: 1;
3145             description { state: "default" 0.0;
3146                color: 255 255 255 0;
3147                image {
3148                   normal: "bt_glow.png";
3149                   border: 12 12 12 12;
3150                }
3151                fill.smooth : 0;
3152             }
3153             description { state: "clicked" 0.0;
3154                inherit:  "default" 0.0;
3155                visible: 1;
3156                color: 255 255 255 255;
3157             }
3158          }
3159          part { name: "disabler";
3160             type: RECT;
3161             description { state: "default" 0.0;
3162                color: 0 0 0 0;
3163                visible: 0;
3164             }
3165             description { state: "disabled" 0.0;
3166                inherit: "default" 0.0;
3167                visible: 1;
3168             }
3169          }
3170       }
3171       programs {
3172          program {
3173             name:   "button_click";
3174             signal: "mouse,down,1";
3175             source: "over2";
3176             action: STATE_SET "clicked" 0.0;
3177             target: "button_image";
3178          }
3179          program {
3180             name:   "button_unclick";
3181             signal: "mouse,up,1";
3182             source: "over2";
3183             action: STATE_SET "default" 0.0;
3184             target: "button_image";
3185          }
3186          program {
3187             name:   "button_click2";
3188             signal: "mouse,down,1";
3189             source: "over3";
3190             action: STATE_SET "clicked" 0.0;
3191             target: "over3";
3192          }
3193          program {
3194             name:   "button_unclick2";
3195             signal: "mouse,up,1";
3196             source: "over3";
3197             action: STATE_SET "default" 0.0;
3198             transition: DECELERATE 0.5;
3199             target: "over3";
3200          }
3201          program {
3202             name:   "button_unclick3";
3203             signal: "mouse,up,1";
3204             source: "over2";
3205             action: SIGNAL_EMIT "elm,action,click" "";
3206          }
3207          program { name: "text_show";
3208             signal: "elm,state,text,visible";
3209             source: "elm";
3210             script {
3211                new st[31];
3212                new Float:vl;
3213                get_state(PART:"elm.swallow.content", st, 30, vl);
3214                if (!strcmp(st, "icononly"))
3215                  set_state(PART:"elm.swallow.content", "visible", 0.0);
3216                set_state(PART:"elm.text", "visible", 0.0);
3217             }
3218          }
3219          program { name: "text_hide";
3220             signal: "elm,state,text,hidden";
3221             source: "elm";
3222             script {
3223                new st[31];
3224                new Float:vl;
3225                get_state(PART:"elm.swallow.content", st, 30, vl);
3226                if (!strcmp(st, "visible"))
3227                  set_state(PART:"elm.swallow.content", "icononly", 0.0);
3228                set_state(PART:"elm.text", "default", 0.0);
3229             }
3230          }
3231          program { name: "icon_show";
3232             signal: "elm,state,icon,visible";
3233             source: "elm";
3234             script {
3235                new st[31];
3236                new Float:vl;
3237                get_state(PART:"elm.text", st, 30, vl);
3238                if (!strcmp(st, "visible"))
3239                  set_state(PART:"elm.swallow.content", "visible", 0.0);
3240                else
3241                  set_state(PART:"elm.swallow.content", "icononly", 0.0);
3242             }
3243          }
3244          program { name: "icon_hide";
3245             signal: "elm,state,icon,hidden";
3246             source: "elm";
3247             action:  STATE_SET "default" 0.0;
3248             target: "elm.swallow.content";
3249          }
3250          program { name: "disable";
3251             signal: "elm,state,disabled";
3252             source: "elm";
3253             action: STATE_SET "disabled" 0.0;
3254             target: "button_image";
3255             target: "over1";
3256             target: "over2";
3257             target: "disabler";
3258             after: "disable_text";
3259          }
3260          program { name: "disable_text";
3261             script {
3262                new st[31];
3263                new Float:vl;
3264                get_state(PART:"elm.text", st, 30, vl);
3265                if (!strcmp(st, "visible"))
3266                  set_state(PART:"elm.text", "disabled_visible", 0.0);
3267                else
3268                  set_state(PART:"elm.text", "disabled", 0.0);
3269             }
3270          }
3271          program { name: "enable";
3272             signal: "elm,state,enabled";
3273             source: "elm";
3274             action: STATE_SET "default" 0.0;
3275             target: "button_image";
3276             target: "over1";
3277             target: "over2";
3278             target: "disabler";
3279             after: "enable_text";
3280          }
3281          program { name: "enable_text";
3282             script {
3283                new st[31];
3284                new Float:vl;
3285                get_state(PART:"elm.text", st, 30, vl);
3286                if (!strcmp(st, "disabled_visible"))
3287                  set_state(PART:"elm.text", "visible", 0.0);
3288                else
3289                  set_state(PART:"elm.text", "default", 0.0);
3290             }
3291          }
3292       }
3293    }
3294
3295    group { name: "elm/button/base/hoversel_vertical_entry/default";
3296       alias: "elm/button/base/hoversel_vertical_entry/entry";
3297       alias: "elm/button/base/hoversel_horizontal_entry/default";
3298       alias: "elm/button/base/hoversel_horizontal_entry/entry";
3299       images {
3300          image: "hoversel_entry_bg.png" COMP;
3301       }
3302       parts {
3303          part { name: "button_image";
3304             mouse_events: 1;
3305             description { state: "default" 0.0;
3306                color: 255 255 255 0;
3307                image.normal: "hoversel_entry_bg.png";
3308                image.border: 0 0 2 2;
3309                fill.smooth: 0;
3310             }
3311             description { state: "clicked" 0.0;
3312                inherit: "default" 0.0;
3313                color: 255 255 255 255;
3314             }
3315          }
3316          part { name: "elm.swallow.content";
3317             type: SWALLOW;
3318             description { state: "default" 0.0;
3319                visible: 0;
3320                align: 0.0 0.5;
3321                rel1.offset: 4 4;
3322                rel2.offset: 3 -5;
3323                rel2.relative: 0.0 1.0;
3324             }
3325             description { state: "visible" 0.0;
3326                inherit: "default" 0.0;
3327                visible: 1;
3328                aspect: 1.0 1.0;
3329                aspect_preference: VERTICAL;
3330                rel2.offset: 4 -5;
3331             }
3332             description { state: "icononly" 0.0;
3333                inherit: "default" 0.0;
3334                visible: 1;
3335                align: 0.5 0.5;
3336                aspect: 1.0 1.0;
3337                rel2.offset: -5 -5;
3338                rel2.relative: 1.0 1.0;
3339                aspect_preference: VERTICAL;
3340             }
3341          }
3342          part { name: "textvis";
3343             type: RECT;
3344             mouse_events: 0;
3345             description { state: "default" 0.0;
3346                visible: 0;
3347             }
3348             description { state: "visible" 0.0;
3349                visible: 1;
3350             }
3351          }
3352          part {
3353             name:          "elm.text";
3354             type:          TEXT;
3355             effect:        SOFT_SHADOW;
3356             mouse_events:  0;
3357             scale: 1;
3358             clip_to:       "textvis";
3359             description { state: "default" 0.0;
3360                rel1.to_x: "elm.swallow.content";
3361                rel1.relative: 1.0 0.0;
3362                rel1.offset: 0 4;
3363                rel2.offset: -5 -5;
3364                color: 224 224 224 255;
3365                color3: 0 0 0 64;
3366                text {
3367                   font:     "Sans,Edje-Vera";
3368                   size:     10;
3369                   min:      0 0;
3370                   align:    0.5 0.5;
3371                   text_class: "button";
3372                }
3373             }
3374             description { state: "visible" 0.0;
3375                inherit: "default" 0.0;
3376                text.min: 1 1;
3377             }
3378             description { state: "clicked" 0.0;
3379                inherit: "default" 0.0;
3380                text.min: 1 1;
3381                color: 0 0 0 255;
3382                color3: 0 0 0 0;
3383             }
3384          }
3385          part { name: "over2";
3386             type: RECT;
3387             mouse_events: 1;
3388             description { state: "default" 0.0;
3389                color: 0 0 0 0;
3390             }
3391          }
3392       }
3393       programs {
3394          program {
3395             name:   "button_click";
3396             signal: "mouse,down,1";
3397             source: "over2";
3398             action: STATE_SET "clicked" 0.0;
3399             target: "button_image";
3400             target: "elm.text";
3401          }
3402          program {
3403             name:   "button_unclick";
3404             signal: "mouse,up,1";
3405             source: "over2";
3406             action: STATE_SET "default" 0.0;
3407             target: "button_image";
3408             target: "elm.text";
3409          }
3410          program {
3411             name:   "button_unclick3";
3412             signal: "mouse,up,1";
3413             source: "over2";
3414             action: SIGNAL_EMIT "elm,action,click" "";
3415          }
3416          program { name: "text_show";
3417             signal: "elm,state,text,visible";
3418             source: "elm";
3419             script {
3420                new st[31];
3421                new Float:vl;
3422                get_state(PART:"elm.swallow.content", st, 30, vl);
3423                if (!strcmp(st, "icononly"))
3424                  set_state(PART:"elm.swallow.content", "visible", 0.0);
3425                set_state(PART:"textvis", "visible", 0.0);
3426                set_state(PART:"elm.text", "visible", 0.0);
3427             }
3428          }
3429          program { name: "text_hide";
3430             signal: "elm,state,text,hidden";
3431             source: "elm";
3432             script {
3433                new st[31];
3434                new Float:vl;
3435                get_state(PART:"elm.swallow.content", st, 30, vl);
3436                if (!strcmp(st, "visible"))
3437                  set_state(PART:"elm.swallow.content", "icononly", 0.0);
3438                set_state(PART:"textvis", "default", 0.0);
3439                set_state(PART:"elm.text", "default", 0.0);
3440             }
3441          }
3442          program { name: "icon_show";
3443             signal: "elm,state,icon,visible";
3444             source: "elm";
3445             script {
3446                new st[31];
3447                new Float:vl;
3448                get_state(PART:"textvis", st, 30, vl);
3449                if (!strcmp(st, "visible"))
3450                  set_state(PART:"elm.swallow.content", "visible", 0.0);
3451                else
3452                  set_state(PART:"elm.swallow.content", "icononly", 0.0);
3453             }
3454          }
3455          program { name: "icon_hide";
3456             signal: "elm,state,icon,hidden";
3457             source: "elm";
3458             action:  STATE_SET "default" 0.0;
3459             target: "elm.swallow.content";
3460          }
3461       }
3462    }
3463
3464    group { name: "elm/button/base/anchor";
3465       images {
3466          image: "bt_base1.png" COMP;
3467          image: "bt_base2.png" COMP;
3468          image: "bt_hilight.png" COMP;
3469          image: "bt_shine.png" COMP;
3470          image: "bt_glow.png" COMP;
3471          image: "bt_dis_base.png" COMP;
3472          image: "bt_dis_hilight.png" COMP;
3473       }
3474       parts {
3475          part { name: "button_image";
3476             mouse_events: 1;
3477             description { state: "default" 0.0;
3478           min: 15 15;
3479            color: 255 255 255 0;
3480                image {
3481                   normal: "bt_base2.png";
3482                   border: 7 7 7 7;
3483                }
3484                image.middle: SOLID;
3485             }
3486        description { state: "visible" 0.0;
3487                inherit: "default" 0.0;
3488           color: 255 255 255 255;
3489             }
3490             description { state: "clicked" 0.0;
3491                inherit: "default" 0.0;
3492           inherit: "visible" 0.0;
3493                image.normal: "bt_base1.png";
3494                image.middle: SOLID;
3495             }
3496             description { state: "disabled" 0.0;
3497                inherit:  "default" 0.0;
3498           inherit: "visible" 0.0;
3499                image {
3500                   normal: "bt_dis_base.png";
3501                   border: 4 4 4 4;
3502                }
3503             }
3504          }
3505          part { name: "elm.swallow.content";
3506             type: SWALLOW;
3507             description { state: "default" 0.0;
3508                fixed: 1 0;
3509                visible: 0;
3510                align: 0.0 0.5;
3511                rel1.offset: 4 4;
3512                rel2.offset: 3 -5;
3513                rel2.relative: 0.0 1.0;
3514             }
3515             description { state: "visible" 0.0;
3516                inherit: "default" 0.0;
3517                fixed: 1 0;
3518                visible: 1;
3519                aspect: 1.0 1.0;
3520                aspect_preference: VERTICAL;
3521                rel2.offset: 4 -5;
3522             }
3523             description { state: "icononly" 0.0;
3524                inherit: "default" 0.0;
3525                fixed: 0 0;
3526                visible: 1;
3527                align: 0.5 0.5;
3528                aspect: 1.0 1.0;
3529                rel2.offset: -5 -5;
3530                rel2.relative: 1.0 1.0;
3531                aspect_preference: VERTICAL;
3532             }
3533          }
3534          part {
3535             name:          "elm.text";
3536             type:          TEXT;
3537             effect:        SOFT_SHADOW;
3538             mouse_events:  0;
3539             scale: 1;
3540             description { state: "default" 0.0;
3541                visible: 0;
3542                rel1.to_x: "elm.swallow.content";
3543                rel1.relative: 1.0 0.0;
3544                rel1.offset: 0 4;
3545                rel2.offset: -5 -5;
3546                color: 224 224 224 255;
3547                color3: 0 0 0 64;
3548                text {
3549                   font:     "Sans,Edje-Vera";
3550                   size:     10;
3551                   min:      0 0;
3552                   align:    0.5 0.5;
3553                   text_class: "button";
3554                }
3555             }
3556             description { state: "visible" 0.0;
3557                inherit: "default" 0.0;
3558                visible: 1;
3559                text.min: 1 1;
3560             }
3561             description { state: "disabled" 0.0;
3562                inherit: "default" 0.0;
3563                color: 0 0 0 128;
3564                color3: 0 0 0 0;
3565             }
3566             description { state: "disabled_visible" 0.0;
3567                inherit: "default" 0.0;
3568                color: 0 0 0 128;
3569                color3: 0 0 0 0;
3570                visible: 1;
3571                text.min: 1 1;
3572             }
3573          }
3574          part {   name: "over1";
3575             mouse_events: 0;
3576             description { state: "default" 0.0;
3577            color: 255 255 255 0;
3578                rel2.relative: 1.0 0.5;
3579                image {
3580                   normal: "bt_hilight.png";
3581                   border: 7 7 7 0;
3582                }
3583             }
3584        description { state: "visible" 0.0;
3585                inherit:  "default" 0.0;
3586           color: 255 255 255 255;
3587             }
3588             description { state: "disabled" 0.0;
3589                inherit:  "default" 0.0;
3590           inherit:  "visible" 0.0;
3591                image {
3592                   normal: "bt_dis_hilight.png";
3593                   border: 4 4 4 0;
3594                }
3595             }
3596          }
3597          part { name: "over2";
3598             mouse_events: 1;
3599             repeat_events: 1;
3600             ignore_flags: ON_HOLD;
3601             description { state: "default" 0.0;
3602                image {
3603                   normal: "bt_shine.png";
3604                   border: 7 7 7 7;
3605                }
3606             }
3607             description { state: "disabled" 0.0;
3608                inherit:  "default" 0.0;
3609                visible: 0;
3610             }
3611          }
3612          part { name: "over3";
3613             mouse_events: 1;
3614             repeat_events: 1;
3615             description { state: "default" 0.0;
3616                color: 255 255 255 0;
3617                image {
3618                   normal: "bt_glow.png";
3619                   border: 12 12 12 12;
3620                }
3621                fill.smooth : 0;
3622             }
3623             description { state: "clicked" 0.0;
3624                inherit:  "default" 0.0;
3625                visible: 1;
3626                color: 255 255 255 255;
3627             }
3628          }
3629          part { name: "disabler";
3630             type: RECT;
3631             description { state: "default" 0.0;
3632                color: 0 0 0 0;
3633                visible: 0;
3634             }
3635             description { state: "disabled" 0.0;
3636                inherit: "default" 0.0;
3637                visible: 1;
3638             }
3639          }
3640       }
3641       programs {
3642     program {
3643             name:   "button_mouse_in";
3644             signal: "mouse,in";
3645             source: "over2";
3646             action: STATE_SET "visible" 0.0;
3647             target: "button_image";
3648        target: "over1";
3649        transition: DECELERATE 0.5;
3650          }
3651          program {
3652             name:   "button_mouse_out";
3653             signal: "mouse,out";
3654             source: "over2";
3655             action: STATE_SET "default" 0.0;
3656             target: "button_image";
3657        target: "over1";
3658        transition: DECELERATE 0.5;
3659          }
3660          program {
3661             name:   "button_unclick";
3662             signal: "mouse,up,1";
3663             source: "over2";
3664             action: STATE_SET "visible" 0.0;
3665             target: "button_image";
3666          }
3667          program {
3668             name:   "button_click2";
3669             signal: "mouse,down,1";
3670             source: "over3";
3671             action: STATE_SET "clicked" 0.0;
3672             target: "over3";
3673          }
3674          program {
3675             name:   "button_unclick2";
3676             signal: "mouse,up,1";
3677             source: "over3";
3678             action: STATE_SET "default" 0.0;
3679             transition: DECELERATE 0.5;
3680             target: "over3";
3681          }
3682          program {
3683             name:   "button_unclick3";
3684             signal: "mouse,up,1";
3685             source: "over2";
3686             action: SIGNAL_EMIT "elm,action,click" "";
3687          }
3688          program { name: "text_show";
3689             signal: "elm,state,text,visible";
3690             source: "elm";
3691             script {
3692                new st[31];
3693                new Float:vl;
3694                get_state(PART:"elm.swallow.content", st, 30, vl);
3695                if (!strcmp(st, "icononly"))
3696                  set_state(PART:"elm.swallow.content", "visible", 0.0);
3697                set_state(PART:"elm.text", "visible", 0.0);
3698             }
3699          }
3700          program { name: "text_hide";
3701             signal: "elm,state,text,hidden";
3702             source: "elm";
3703             script {
3704                new st[31];
3705                new Float:vl;
3706                get_state(PART:"elm.swallow.content", st, 30, vl);
3707                if (!strcmp(st, "visible"))
3708                  set_state(PART:"elm.swallow.content", "icononly", 0.0);
3709                set_state(PART:"elm.text", "default", 0.0);
3710             }
3711          }
3712          program { name: "icon_show";
3713             signal: "elm,state,icon,visible";
3714             source: "elm";
3715             script {
3716                new st[31];
3717                new Float:vl;
3718                get_state(PART:"elm.text", st, 30, vl);
3719                if (!strcmp(st, "visible"))
3720                  set_state(PART:"elm.swallow.content", "visible", 0.0);
3721                else
3722                  set_state(PART:"elm.swallow.content", "icononly", 0.0);
3723             }
3724          }
3725          program { name: "icon_hide";
3726             signal: "elm,state,icon,hidden";
3727             source: "elm";
3728             action:  STATE_SET "default" 0.0;
3729             target: "elm.swallow.content";
3730          }
3731          program { name: "disable";
3732             signal: "elm,state,disabled";
3733             source: "elm";
3734             action: STATE_SET "disabled" 0.0;
3735             target: "button_image";
3736             target: "over1";
3737             target: "over2";
3738             target: "disabler";
3739             after: "disable_text";
3740          }
3741          program { name: "disable_text";
3742             script {
3743                new st[31];
3744                new Float:vl;
3745                get_state(PART:"elm.text", st, 30, vl);
3746                if (!strcmp(st, "visible"))
3747                  set_state(PART:"elm.text", "disabled_visible", 0.0);
3748                else
3749                  set_state(PART:"elm.text", "disabled", 0.0);
3750             }
3751          }
3752          program { name: "enable";
3753             signal: "elm,state,enabled";
3754             source: "elm";
3755             action: STATE_SET "default" 0.0;
3756             target: "button_image";
3757             target: "over1";
3758             target: "over2";
3759             target: "disabler";
3760             after: "enable_text";
3761          }
3762          program { name: "enable_text";
3763             script {
3764                new st[31];
3765                new Float:vl;
3766                get_state(PART:"elm.text", st, 30, vl);
3767                if (!strcmp(st, "disabled_visible"))
3768                  set_state(PART:"elm.text", "visible", 0.0);
3769                else
3770                  set_state(PART:"elm.text", "default", 0.0);
3771             }
3772          }
3773       }
3774    }
3775
3776 ///////////////////////////////////////////////////////////////////////////////
3777    group { name: "elm/toggle/base/default";
3778       images {
3779          image: "shelf_inset.png" COMP;
3780          image: "bt_basew.png" COMP;
3781          image: "bt_bases.png" COMP;
3782          image: "bt_hilightw.png" COMP;
3783          image: "tog_base.png" COMP;
3784          image: "tog_dis_base.png" COMP;
3785       }
3786       parts {
3787          part { name: "bg";
3788             type: RECT;
3789             mouse_events: 0;
3790             scale: 1;
3791             description { state: "default" 0.0;
3792                rel1.relative: 1.0 0.0;
3793                rel1.offset: -4 3;
3794                rel2.offset: -4 -4;
3795                align: 1.0 0.5;
3796                min: 96 16;
3797                max: 96 16;
3798                aspect: 4.0 4.0;
3799                aspect_preference: VERTICAL;
3800                color: 255 255 255 255;
3801             }
3802          }
3803          part { name: "clipper";
3804             type: RECT;
3805             mouse_events: 0;
3806             description { state: "default" 0.0;
3807                rel1.to: "bg";
3808                rel2.to: "bg";
3809                color: 255 255 255 255;
3810             }
3811          }
3812          part { name: "button";
3813             type: RECT;
3814             scale: 1;
3815             clip_to: "clipper";
3816             mouse_events: 1;
3817             dragable {
3818                x: 1 1 0;
3819                y: 0 0 0;
3820                confine: "bg";
3821             }
3822             description { state: "default" 0.0;
3823                fixed: 1 1;
3824                rel1.to: "bg";
3825                rel2.to: "bg";
3826                min: 16 16;
3827                max: 16 16;
3828                aspect: 1.0 1.0;
3829                aspect_preference: VERTICAL;
3830                color: 0 0 0 0;
3831             }
3832          }
3833          part { name: "button_events";
3834             type: RECT;
3835             dragable {
3836                events: "button";
3837             }
3838             description { state: "default" 0.0;
3839                rel1.to_x: "bg";
3840                rel1.offset: 0 0;
3841                rel1.relative: 0.0 0.0;
3842                rel2.to_x: "bg";
3843                rel2.offset: -1 -1;
3844                rel2.relative: 1.0 1.0;
3845                color: 0 0 0 0;
3846             }
3847          }
3848          part { name: "onrect";
3849             type: RECT;
3850             scale: 1;
3851             clip_to: "clipper";
3852             mouse_events: 0;
3853             description { state: "default" 0.0;
3854                rel1.to: "button";
3855                rel1.relative: -5.0 0.0;
3856                rel2.to: "button";
3857                rel2.relative: 0.0 1.0;
3858                color: 0 0 0 0;
3859             }
3860          }
3861          part { name: "offrect";
3862             type: RECT;
3863             scale: 1;
3864             clip_to: "clipper";
3865             mouse_events: 0;
3866             description { state: "default" 0.0;
3867                rel1.to: "button";
3868                rel1.relative: 1.0 0.0;
3869                rel2.to: "button";
3870                rel2.relative: 6.0 1.0;
3871                color: 0 0 0 0;
3872             }
3873          }
3874          part { name: "togbase";
3875             mouse_events:  0;
3876             clip_to: "clipper";
3877             description { state: "default" 0.0;
3878                rel1.to: "onrect";
3879                rel2.to: "offrect";
3880                image.normal: "tog_base.png";
3881             }
3882             description { state: "disabled" 0.0;
3883                inherit: "default" 0.0;
3884                image.normal: "tog_dis_base.png";
3885             }
3886          }
3887          part { name: "elm.offtext";
3888             type: TEXT;
3889             mouse_events:  0;
3890             scale: 1;
3891             clip_to: "clipper";
3892             description { state: "default" 0.0;
3893                fixed: 1 1;
3894                rel1.to_x: "offrect";
3895                rel2.to_x: "offrect";
3896                color: 0 0 0 255;
3897                text {
3898                   font:     "Sans,Edje-Vera";
3899                   size:     10;
3900                   min:      0 1;
3901                   align:    0.5 0.5;
3902                   text:     "OFF";
3903                }
3904             }
3905             description { state: "disabled" 0.0;
3906                inherit: "default" 0.0;
3907                color: 128 128 128 128;
3908             }
3909          }
3910          part { name: "elm.ontext";
3911             type: TEXT;
3912             effect: SOFT_SHADOW;
3913             mouse_events:  0;
3914             scale: 1;
3915             clip_to: "clipper";
3916             description { state: "default" 0.0;
3917                fixed: 1 1;
3918                rel1.to_x: "onrect";
3919                rel1.offset: 1 1;
3920                rel2.to_x: "onrect";
3921                rel2.offset: 0 0;
3922                color: 224 224 224 255;
3923                color3: 0 0 0 64;
3924                text {
3925                   font:     "Sans,Edje-Vera";
3926                   size:     10;
3927                   min:      0 1;
3928                   align:    0.5 0.5;
3929                   text:     "ON";
3930                }
3931             }
3932             description { state: "disabled" 0.0;
3933                inherit: "default" 0.0;
3934                color: 128 128 128 128;
3935                color3: 0 0 0 24;
3936             }
3937          }
3938          part { name: "conf_over";
3939             mouse_events:  0;
3940             description { state: "default" 0.0;
3941                rel1.offset: -1 -1;
3942                rel1.to: "bg";
3943                rel2.offset: 0 0;
3944                rel2.to: "bg";
3945                image {
3946                   normal: "shelf_inset.png";
3947                   border: 7 7 7 7;
3948                   middle: 0;
3949                }
3950                fill.smooth : 0;
3951             }
3952          }
3953          part { name: "button0";
3954             mouse_events:  0;
3955             clip_to: "clipper";
3956             description { state: "default" 0.0;
3957                rel1.to: "button2";
3958                rel1.offset: -4 -4;
3959                rel2.to: "button2";
3960                rel2.offset: 3 3;
3961                image {
3962                   normal: "bt_bases.png";
3963                   border: 11 11 11 11;
3964                }
3965                image.middle: SOLID;
3966                color: 255 255 255 128;
3967             }
3968          }
3969          part { name: "button2";
3970             mouse_events:  0;
3971             clip_to: "clipper";
3972             description { state: "default" 0.0;
3973                rel1.to: "button";
3974                rel1.offset: -2 -2;
3975                rel2.to: "button";
3976                rel2.offset: 1 1;
3977                image {
3978                   normal: "bt_basew.png";
3979                   border: 7 7 7 7;
3980                }
3981                image.middle: SOLID;
3982             }
3983          }
3984          part { name: "button3";
3985             mouse_events:  0;
3986             clip_to: "clipper";
3987             description { state: "default" 0.0;
3988                rel1.to: "button2";
3989                rel2.to: "button2";
3990                rel2.relative: 1.0 0.5;
3991                image {
3992                   normal: "bt_hilightw.png";
3993                   border: 4 4 4 0;
3994                }
3995             }
3996          }
3997          part { name: "elm.swallow.content";
3998             type: SWALLOW;
3999             description { state: "default" 0.0;
4000                fixed: 1 0;
4001                visible: 0;
4002                align: 0.0 0.5;
4003                rel1.offset: 4 4;
4004                rel2.relative: 0.0 1.0;
4005                rel2.offset: 3 -5;
4006             }
4007             description { state: "visible" 0.0;
4008                inherit: "default" 0.0;
4009                visible: 1;
4010                aspect: 1.0 1.0;
4011                rel2.offset: 4 -5;
4012             }
4013             description { state: "disabled" 0.0;
4014                inherit: "default" 0.0;
4015                color: 128 128 128 128;
4016             }
4017             description { state: "disabled_visible" 0.0;
4018                inherit: "default" 0.0;
4019                color: 128 128 128 128;
4020                visible: 1;
4021                aspect: 1.0 1.0;
4022             }
4023          }
4024          part { name: "elm.text";
4025             type: TEXT;
4026             mouse_events: 0;
4027             scale: 1;
4028             description { state: "default" 0.0;
4029                visible: 0;
4030                rel1.to_x: "elm.swallow.content";
4031                rel1.relative: 1.0 0.0;
4032                rel1.offset: 0 4;
4033                rel2.to_x: "bg";
4034                rel2.relative: 0.0 1.0;
4035                rel2.offset: -5 -5;
4036                color: 0 0 0 255;
4037                text {
4038                   font: "Sans,Edje-Vera";
4039                   size: 10;
4040                   min: 0 0;
4041                   align: 0.0 0.5;
4042                }
4043             }
4044             description { state: "visible" 0.0;
4045                inherit: "default" 0.0;
4046                visible: 1;
4047                text.min: 1 1;
4048             }
4049             description { state: "disabled" 0.0;
4050                inherit: "default" 0.0;
4051                color: 128 128 128 128;
4052             }
4053             description { state: "disabled_visible" 0.0;
4054                inherit: "default" 0.0;
4055                color: 128 128 128 128;
4056                visible: 1;
4057                text.min: 1 1;
4058             }
4059          }
4060          part { name: "disabler";
4061             type: RECT;
4062             description { state: "default" 0.0;
4063                color: 0 0 0 0;
4064                visible: 0;
4065             }
4066             description { state: "disabled" 0.0;
4067                inherit: "default" 0.0;
4068                visible: 1;
4069             }
4070          }
4071       }
4072       programs {
4073          program { name:   "drag_end";
4074             signal: "mouse,up,1";
4075             source: "button";
4076             script {
4077                new Float:dx, Float:dy;
4078                get_drag(PART:"button", dx, dy);
4079                if (dx > 0.5)
4080                  {
4081                     set_drag(PART:"button", 1.0, 0.0);
4082                     emit("elm,action,toggle,on", "");
4083                  }
4084                else
4085                  {
4086                     set_drag(PART:"button", 0.0, 0.0);
4087                     emit("elm,action,toggle,off", "");
4088                  }
4089             }
4090          }
4091          program { name: "toggle_on";
4092             signal: "elm,state,toggle,on";
4093             source: "elm";
4094             script {
4095                set_drag(PART:"button", 100.0, 0.0);
4096             }
4097          }
4098          program { name: "toggle_off";
4099             signal: "elm,state,toggle,off";
4100             source: "elm";
4101             script {
4102                set_drag(PART:"button", 0.0, 0.0);
4103             }
4104          }
4105          program { name: "text_show";
4106             signal: "elm,state,text,visible";
4107             source: "elm";
4108             action:  STATE_SET "visible" 0.0;
4109             target: "elm.text";
4110          }
4111          program { name: "text_hide";
4112             signal: "elm,state,text,hidden";
4113             source: "elm";
4114             action:  STATE_SET "default" 0.0;
4115             target: "elm.text";
4116          }
4117          program { name: "icon_show";
4118             signal: "elm,state,icon,visible";
4119             source: "elm";
4120             action:  STATE_SET "visible" 0.0;
4121             target: "elm.swallow.content";
4122          }
4123          program { name: "icon_hide";
4124             signal: "elm,state,icon,hidden";
4125             source: "elm";
4126             action:  STATE_SET "default" 0.0;
4127             target: "elm.swallow.content";
4128          }
4129          program { name: "disable";
4130             signal: "elm,state,disabled";
4131             source: "elm";
4132             action: STATE_SET "disabled" 0.0;
4133             target: "togbase";
4134             target: "elm.offtext";
4135             target: "elm.ontext";
4136             target: "disabler";
4137             after: "disable_text";
4138          }
4139          program { name: "disable_text";
4140             script {
4141                new st[31];
4142                new Float:vl;
4143                get_state(PART:"elm.text", st, 30, vl);
4144                if (!strcmp(st, "visible"))
4145                  set_state(PART:"elm.text", "disabled_visible", 0.0);
4146                else
4147                  set_state(PART:"elm.text", "disabled", 0.0);
4148
4149                get_state(PART:"elm.swallow.content", st, 30, vl);
4150                if (!strcmp(st, "visible"))
4151                  set_state(PART:"elm.swallow.content", "disabled_visible", 0.0);
4152                else
4153                  set_state(PART:"elm.swallow.content", "disabled", 0.0);
4154             }
4155          }
4156          program { name: "enable";
4157             signal: "elm,state,enabled";
4158             source: "elm";
4159             action: STATE_SET "default" 0.0;
4160             target: "disabler";
4161             after: "enable_text";
4162          }
4163          program { name: "enable_text";
4164             script {
4165                new st[31];
4166                new Float:vl;
4167                get_state(PART:"elm.text", st, 30, vl);
4168                if (!strcmp(st, "disabled_visible"))
4169                  set_state(PART:"elm.text", "visible", 0.0);
4170                else
4171                  set_state(PART:"elm.text", "default", 0.0);
4172
4173                get_state(PART:"elm.swallow.content", st, 30, vl);
4174                if (!strcmp(st, "visible"))
4175                  set_state(PART:"elm.swallow.content", "visible", 0.0);
4176                else
4177                  set_state(PART:"elm.swallow.content", "default", 0.0);
4178             }
4179          }
4180       }
4181    }
4182
4183 ///////////////////////////////////////////////////////////////////////////////
4184    group { name: "elm/clock/flipdigit/default";
4185       images {
4186          image: "flip_base.png" COMP;
4187          image: "flip_base_shad.png" COMP;
4188          image: "flip_shad.png" COMP;
4189          image: "flip_0t.png" COMP;
4190          image: "flip_0b.png" COMP;
4191          image: "flip_1t.png" COMP;
4192          image: "flip_1b.png" COMP;
4193          image: "flip_2t.png" COMP;
4194          image: "flip_2b.png" COMP;
4195          image: "flip_3t.png" COMP;
4196          image: "flip_3b.png" COMP;
4197          image: "flip_4t.png" COMP;
4198          image: "flip_4b.png" COMP;
4199          image: "flip_5t.png" COMP;
4200          image: "flip_5b.png" COMP;
4201          image: "flip_6t.png" COMP;
4202          image: "flip_6b.png" COMP;
4203          image: "flip_7t.png" COMP;
4204          image: "flip_7b.png" COMP;
4205          image: "flip_8t.png" COMP;
4206          image: "flip_8b.png" COMP;
4207          image: "flip_9t.png" COMP;
4208          image: "flip_9b.png" COMP;
4209          image: "arrow_up.png" COMP;
4210          image: "arrow_down.png" COMP;
4211       }
4212       script {
4213          public v0_cur, v0_pre, v0_lock, v0_next;
4214
4215        public animator2(val, Float:pos) {
4216           new st1[11], st2[11], v;
4217
4218           v = get_int(v0_cur);
4219           snprintf(st1, 10, "%ih", v);
4220           snprintf(st2, 10, "%i", v);
4221           set_tween_state(PART:"bot", pos, st1, 0.0, st2, 0.0);
4222           set_tween_state(PART:"sh", pos, "half", 0.0, "full", 0.0);
4223           if (pos >= 1.0) {
4224              set_state(PART:"sh", "default", 0.0);
4225              set_int(v0_lock, 0);
4226              v = get_int(v0_next);
4227              if (v >= 0) {
4228                 set_int(v0_next, -1);
4229                 message(MSG_INT, 1, v);
4230              }
4231           }
4232        }
4233        public animator1(val, Float:pos) {
4234           new st1[11], st2[11], v;
4235
4236           v = get_int(v0_pre);
4237           snprintf(st1, 10, "%i", v);
4238           snprintf(st2, 10, "%ih", v);
4239           set_tween_state(PART:"top", pos, st1, 0.0, st2, 0.0);
4240           set_tween_state(PART:"sh", pos, "default", 0.0, "half", 0.0);
4241           if (pos >= 1.0) anim(0.2, "animator2", val);
4242        }
4243        public message(Msg_Type:type, id, ...) {
4244           if ((type == MSG_INT) && (id == 1)) {
4245              new value, v, buf[11];
4246
4247              value = getarg(2);
4248              if (get_int(v0_lock) == 1) {
4249                 set_int(v0_next, value);
4250                 return;
4251              }
4252              v = get_int(v0_cur);
4253              set_int(v0_pre, v);
4254              set_int(v0_cur, value);
4255              set_int(v0_lock, 1);
4256              snprintf(buf, 10, "%i", get_int(v0_pre));
4257              set_state(PART:"bot0", buf, 0.0);
4258              snprintf(buf, 10, "%ih", get_int(v0_cur));
4259              set_state(PART:"bot", buf, 0.0);
4260              snprintf(buf, 10, "%i", get_int(v0_cur));
4261              set_state(PART:"top0", buf, 0.0);
4262              snprintf(buf, 10, "%i", get_int(v0_pre));
4263              set_state(PART:"top", buf, 0.0);
4264              set_state(PART:"sh", "default", 0.0);
4265              anim(0.2, "animator1", 1);
4266           }
4267        }
4268       }
4269       parts {
4270          part { name: "shad";
4271             mouse_events: 0;
4272             description { state: "default" 0.0;
4273                rel1.offset: -4 -4;
4274                rel1.to: "base";
4275                rel2.offset: 3 3;
4276                rel2.to: "base";
4277                image {
4278                   normal: "flip_base_shad.png";
4279                   border: 8 8 8 8;
4280                }
4281             }
4282          }
4283          part { name: "base";
4284             scale: 1;
4285             description { state: "default" 0.0;
4286                rel1.offset: 4 4;
4287                rel2.offset: -5 -5;
4288                // FIXME 48x96 should be the native pixel design, right now
4289                // its 80x160. fix int he artwork later
4290                min: 24 48;
4291                aspect: 0.5 0.5;
4292 //             max: 24 48;
4293                image.normal: "flip_base.png";
4294             }
4295          }
4296          part { name: "b";
4297             type: RECT;
4298             mouse_events: 1;
4299             description { state: "default" 0.0;
4300                visible: 0;
4301                rel1.to: "base";
4302                rel1.relative: 0.0 0.5;
4303                rel2.to: "base";
4304                color: 0 0 0 0;
4305             }
4306             description { state: "visible" 0.0;
4307                inherit: "default" 0.0;
4308                visible: 1;
4309             }
4310          }
4311          part { name: "t";
4312             type: RECT;
4313             mouse_events: 1;
4314             description { state: "default" 0.0;
4315                visible: 0;
4316                rel1.to: "base";
4317                rel2.to: "base";
4318                rel2.relative: 1.0 0.5;
4319                color: 0 0 0 0;
4320             }
4321             description { state: "visible" 0.0;
4322                inherit: "default" 0.0;
4323                visible: 1;
4324             }
4325          }
4326          part { name: "bot0";
4327             mouse_events: 0;
4328             description { state: "default" 0.0;
4329                rel1.to: "b";
4330                rel2.to: "b";
4331                image.normal: "flip_0b.png";
4332             }
4333             description { state: "0" 0.0;
4334                inherit: "default" 0.0;
4335                image.normal: "flip_0b.png";
4336             }
4337             description { state: "1" 0.0;
4338                inherit: "default" 0.0;
4339                image.normal: "flip_1b.png";
4340             }
4341             description { state: "2" 0.0;
4342                inherit: "default" 0.0;
4343                image.normal: "flip_2b.png";
4344             }
4345             description { state: "3" 0.0;
4346                inherit: "default" 0.0;
4347                image.normal: "flip_3b.png";
4348             }
4349             description { state: "4" 0.0;
4350                inherit: "default" 0.0;
4351                image.normal: "flip_4b.png";
4352             }
4353             description { state: "5" 0.0;
4354                inherit: "default" 0.0;
4355                image.normal: "flip_5b.png";
4356             }
4357             description { state: "6" 0.0;
4358                inherit: "default" 0.0;
4359                image.normal: "flip_6b.png";
4360             }
4361             description { state: "7" 0.0;
4362                inherit: "default" 0.0;
4363                image.normal: "flip_7b.png";
4364             }
4365             description { state: "8" 0.0;
4366                inherit: "default" 0.0;
4367                image.normal: "flip_8b.png";
4368             }
4369             description { state: "9" 0.0;
4370                inherit: "default" 0.0;
4371                image.normal: "flip_9b.png";
4372             }
4373          }
4374          part { name: "sh";
4375             mouse_events: 0;
4376             description { state: "default" 0.0;
4377                rel1.to: "b";
4378                rel2.to: "b";
4379                rel2.relative: 1.0 0.0;
4380                image.normal: "flip_shad.png";
4381             }
4382             description { state: "half" 0.0;
4383                inherit: "default" 0.0;
4384                rel2.relative: 1.0 0.5;
4385             }
4386             description { state: "full" 0.0;
4387                inherit: "default" 0.0;
4388                rel2.relative: 1.0 1.0;
4389             }
4390          }
4391          part { name: "bot";
4392             mouse_events: 0;
4393             description { state: "default" 0.0;
4394                visible: 1;
4395                rel1.to: "b";
4396                rel2.to: "b";
4397                image.normal: "flip_0b.png";
4398             }
4399             description { state: "0" 0.0;
4400                inherit: "default" 0.0;
4401                visible: 1;
4402                rel2.relative: 1.0 1.0;
4403                image.normal: "flip_0b.png";
4404             }
4405             description { state: "0h" 0.0;
4406                inherit: "default" 0.0;
4407                visible: 0;
4408                rel2.relative: 1.0 0.0;
4409                image.normal: "flip_0b.png";
4410             }
4411             description { state: "1" 0.0;
4412                inherit: "default" 0.0;
4413                visible: 1;
4414                rel2.relative: 1.0 1.0;
4415                image.normal: "flip_1b.png";
4416             }
4417             description { state: "1h" 0.0;
4418                inherit: "default" 0.0;
4419                visible: 0;
4420                rel2.relative: 1.0 0.0;
4421                image.normal: "flip_1b.png";
4422             }
4423             description { state: "2" 0.0;
4424                inherit: "default" 0.0;
4425                visible: 1;
4426                rel2.relative: 1.0 1.0;
4427                image.normal: "flip_2b.png";
4428             }
4429             description { state: "2h" 0.0;
4430                inherit: "default" 0.0;
4431                visible: 0;
4432                rel2.relative: 1.0 0.0;
4433                image.normal: "flip_2b.png";
4434             }
4435             description { state: "3" 0.0;
4436                inherit: "default" 0.0;
4437                visible: 1;
4438                rel2.relative: 1.0 1.0;
4439                image.normal: "flip_3b.png";
4440             }
4441             description { state: "3h" 0.0;
4442                inherit: "default" 0.0;
4443                visible: 0;
4444                rel2.relative: 1.0 0.0;
4445                image.normal: "flip_3b.png";
4446             }
4447             description { state: "4" 0.0;
4448                inherit: "default" 0.0;
4449                visible: 1;
4450                rel2.relative: 1.0 1.0;
4451                image.normal: "flip_4b.png";
4452             }
4453             description { state: "4h" 0.0;
4454                inherit: "default" 0.0;
4455                visible: 0;
4456                rel2.relative: 1.0 0.0;
4457                image.normal: "flip_4b.png";
4458             }
4459             description { state: "5" 0.0;
4460                inherit: "default" 0.0;
4461                visible: 1;
4462                rel2.relative: 1.0 1.0;
4463                image.normal: "flip_5b.png";
4464             }
4465             description { state: "5h" 0.0;
4466                inherit: "default" 0.0;
4467                visible: 0;
4468                rel2.relative: 1.0 0.0;
4469                image.normal: "flip_5b.png";
4470             }
4471             description { state: "6" 0.0;
4472                inherit: "default" 0.0;
4473                visible: 1;
4474                rel2.relative: 1.0 1.0;
4475                image.normal: "flip_6b.png";
4476             }
4477             description { state: "6h" 0.0;
4478                inherit: "default" 0.0;
4479                visible: 0;
4480                rel2.relative: 1.0 0.0;
4481                image.normal: "flip_6b.png";
4482             }
4483             description { state: "7" 0.0;
4484                inherit: "default" 0.0;
4485                visible: 1;
4486                rel2.relative: 1.0 1.0;
4487                image.normal: "flip_7b.png";
4488             }
4489             description { state: "7h" 0.0;
4490                inherit: "default" 0.0;
4491                visible: 0;
4492                rel2.relative: 1.0 0.0;
4493                image.normal: "flip_7b.png";
4494             }
4495             description { state: "8" 0.0;
4496                inherit: "default" 0.0;
4497                visible: 1;
4498                rel2.relative: 1.0 1.0;
4499                image.normal: "flip_8b.png";
4500             }
4501             description { state: "8h" 0.0;
4502                inherit: "default" 0.0;
4503                visible: 0;
4504                rel2.relative: 1.0 0.0;
4505                image.normal: "flip_8b.png";
4506             }
4507             description { state: "9" 0.0;
4508                inherit: "default" 0.0;
4509                visible: 1;
4510                rel2.relative: 1.0 1.0;
4511                image.normal: "flip_9b.png";
4512             }
4513             description { state: "9h" 0.0;
4514                inherit: "default" 0.0;
4515                visible: 0;
4516                rel2.relative: 1.0 0.0;
4517                image.normal: "flip_9b.png";
4518             }
4519          }
4520          part { name: "top0";
4521             mouse_events: 0;
4522             description { state: "default" 0.0;
4523                rel1.to: "t";
4524                rel2.to: "t";
4525                image.normal: "flip_0t.png";
4526             }
4527             description { state: "0" 0.0;
4528                inherit: "default" 0.0;
4529                image.normal: "flip_0t.png";
4530             }
4531             description { state: "1" 0.0;
4532                inherit: "default" 0.0;
4533                image.normal: "flip_1t.png";
4534             }
4535             description { state: "2" 0.0;
4536                inherit: "default" 0.0;
4537                image.normal: "flip_2t.png";
4538             }
4539             description { state: "3" 0.0;
4540                inherit: "default" 0.0;
4541                image.normal: "flip_3t.png";
4542             }
4543             description { state: "4" 0.0;
4544                inherit: "default" 0.0;
4545                image.normal: "flip_4t.png";
4546             }
4547             description { state: "5" 0.0;
4548                inherit: "default" 0.0;
4549                image.normal: "flip_5t.png";
4550             }
4551             description { state: "6" 0.0;
4552                inherit: "default" 0.0;
4553                image.normal: "flip_6t.png";
4554             }
4555             description { state: "7" 0.0;
4556                inherit: "default" 0.0;
4557                image.normal: "flip_7t.png";
4558             }
4559             description { state: "8" 0.0;
4560                inherit: "default" 0.0;
4561                image.normal: "flip_8t.png";
4562             }
4563             description { state: "9" 0.0;
4564                inherit: "default" 0.0;
4565                image.normal: "flip_9t.png";
4566             }
4567          }
4568          part { name: "top";
4569             mouse_events: 0;
4570             description { state: "default" 0.0;
4571                visible: 1;
4572                rel1.to: "t";
4573                rel2.to: "t";
4574                image.normal: "flip_0t.png";
4575             }
4576             description { state: "0" 0.0;
4577                inherit: "default" 0.0;
4578                visible: 1;
4579                rel1.relative: 0.0 0.0;
4580                image.normal: "flip_0t.png";
4581             }
4582             description { state: "0h" 0.0;
4583                inherit: "default" 0.0;
4584                color: 128 128 128 255;
4585                visible: 0;
4586                rel1.relative: 0.0 1.0;
4587                image.normal: "flip_0t.png";
4588             }
4589             description { state: "1" 0.0;
4590                inherit: "default" 0.0;
4591                visible: 1;
4592                rel1.relative: 0.0 0.0;
4593                image.normal: "flip_1t.png";
4594             }
4595             description { state: "1h" 0.0;
4596                inherit: "default" 0.0;
4597                color: 128 128 128 255;
4598                visible: 0;
4599                rel1.relative: 0.0 1.0;
4600                image.normal: "flip_1t.png";
4601             }
4602             description { state: "2" 0.0;
4603                inherit: "default" 0.0;
4604                visible: 1;
4605                rel1.relative: 0.0 0.0;
4606                image.normal: "flip_2t.png";
4607             }
4608             description { state: "2h" 0.0;
4609                inherit: "default" 0.0;
4610                color: 128 128 128 255;
4611                visible: 0;
4612                rel1.relative: 0.0 1.0;
4613                image.normal: "flip_2t.png";
4614             }
4615             description { state: "3" 0.0;
4616                inherit: "default" 0.0;
4617                visible: 1;
4618                rel1.relative: 0.0 0.0;
4619                image.normal: "flip_3t.png";
4620             }
4621             description { state: "3h" 0.0;
4622                inherit: "default" 0.0;
4623                color: 128 128 128 255;
4624                visible: 0;
4625                rel1.relative: 0.0 1.0;
4626                image.normal: "flip_3t.png";
4627             }
4628             description { state: "4" 0.0;
4629                inherit: "default" 0.0;
4630                visible: 1;
4631                rel1.relative: 0.0 0.0;
4632                image.normal: "flip_4t.png";
4633             }
4634             description { state: "4h" 0.0;
4635                inherit: "default" 0.0;
4636                color: 128 128 128 255;
4637                visible: 0;
4638                rel1.relative: 0.0 1.0;
4639                image.normal: "flip_4t.png";
4640             }
4641             description { state: "5" 0.0;
4642                inherit: "default" 0.0;
4643                visible: 1;
4644                rel1.relative: 0.0 0.0;
4645                image.normal: "flip_5t.png";
4646             }
4647             description { state: "5h" 0.0;
4648                inherit: "default" 0.0;
4649                color: 128 128 128 255;
4650                visible: 0;
4651                rel1.relative: 0.0 1.0;
4652                image.normal: "flip_5t.png";
4653             }
4654             description { state: "6" 0.0;
4655                inherit: "default" 0.0;
4656                visible: 1;
4657                rel1.relative: 0.0 0.0;
4658                image.normal: "flip_6t.png";
4659             }
4660             description { state: "6h" 0.0;
4661                inherit: "default" 0.0;
4662                color: 128 128 128 255;
4663                visible: 0;
4664                rel1.relative: 0.0 1.0;
4665                image.normal: "flip_6t.png";
4666             }
4667             description { state: "7" 0.0;
4668                inherit: "default" 0.0;
4669                visible: 1;
4670                rel1.relative: 0.0 0.0;
4671                image.normal: "flip_7t.png";
4672             }
4673             description { state: "7h" 0.0;
4674                inherit: "default" 0.0;
4675                color: 128 128 128 255;
4676                visible: 0;
4677                rel1.relative: 0.0 1.0;
4678                image.normal: "flip_7t.png";
4679             }
4680             description { state: "8" 0.0;
4681                inherit: "default" 0.0;
4682                visible: 1;
4683                rel1.relative: 0.0 0.0;
4684                image.normal: "flip_8t.png";
4685             }
4686             description { state: "8h" 0.0;
4687                inherit: "default" 0.0;
4688                color: 128 128 128 255;
4689                visible: 0;
4690                rel1.relative: 0.0 1.0;
4691                image.normal: "flip_8t.png";
4692             }
4693             description { state: "9" 0.0;
4694                inherit: "default" 0.0;
4695                visible: 1;
4696                rel1.relative: 0.0 0.0;
4697                image.normal: "flip_9t.png";
4698             }
4699             description { state: "9h" 0.0;
4700                inherit: "default" 0.0;
4701                color: 128 128 128 255;
4702                visible: 0;
4703                rel1.relative: 0.0 1.0;
4704                image.normal: "flip_9t.png";
4705             }
4706          }
4707          part { name: "atop";
4708             mouse_events: 0;
4709             scale: 1;
4710             description { state: "default" 0.0;
4711                visible: 0;
4712                min: 15 15;
4713                max: 15 15;
4714                align: 0.5 0.0;
4715                rel1.to: "t";
4716                rel2.to: "t";
4717                image.normal: "arrow_up.png";
4718             }
4719             description { state: "visible" 0.0;
4720                inherit: "default" 0.0;
4721                visible: 1;
4722             }
4723          }
4724          part { name: "abot";
4725             mouse_events: 0;
4726             scale: 1;
4727             description { state: "default" 0.0;
4728                visible: 0;
4729                min: 15 15;
4730                max: 15 15;
4731                align: 0.5 1.0;
4732                rel1.to: "b";
4733                rel2.to: "b";
4734                image.normal: "arrow_down.png";
4735             }
4736             description { state: "visible" 0.0;
4737                inherit: "default" 0.0;
4738                visible: 1;
4739             }
4740          }
4741       }
4742       programs {
4743          program { name: "load";
4744             signal: "load";
4745             source: "";
4746             script {
4747                set_int(v0_cur, 0);
4748                set_int(v0_pre, 0);
4749                set_int(v0_lock, 0);
4750                set_int(v0_next, -1);
4751             }
4752          }
4753          program { name: "edit_on";
4754             signal: "elm,state,edit,on";
4755             source: "elm";
4756             action: STATE_SET "visible" 0.0;
4757             target: "atop";
4758             target: "abot";
4759             target: "t";
4760             target: "b";
4761          }
4762          program { name: "edit_off";
4763             signal: "elm,state,edit,off";
4764             source: "elm";
4765             action: STATE_SET "default" 0.0;
4766             target: "atop";
4767             target: "abot";
4768             target: "t";
4769             target: "b";
4770          }
4771          program { name: "up";
4772             signal: "mouse,down,1";
4773             source: "t";
4774             action: SIGNAL_EMIT "elm,action,up,start" "";
4775          }
4776          program { name: "up,stop";
4777             signal: "mouse,up,1";
4778             source: "t";
4779             action: SIGNAL_EMIT "elm,action,up,stop" "";
4780          }
4781          program { name: "down";
4782             signal: "mouse,down,1";
4783             source: "b";
4784             action: SIGNAL_EMIT "elm,action,down,start" "";
4785          }
4786          program { name: "down,stop";
4787             signal: "mouse,up,1";
4788             source: "b";
4789             action: SIGNAL_EMIT "elm,action,down,stop" "";
4790          }
4791       }
4792    }
4793
4794 ///////////////////////////////////////////////////////////////////////////////
4795    group { name: "elm/clock/flipampm/default";
4796       images {
4797          image: "flip_base.png" COMP;
4798          image: "flip_base_shad.png" COMP;
4799          image: "flip_shad.png" COMP;
4800          image: "flip_amt.png" COMP;
4801          image: "flip_amb.png" COMP;
4802          image: "flip_pmt.png" COMP;
4803          image: "flip_pmb.png" COMP;
4804          image: "arrow_up.png" COMP;
4805          image: "arrow_down.png" COMP;
4806       }
4807       script {
4808          public v0_cur, v0_pre, v0_lock, v0_next;
4809
4810        public animator2(val, Float:pos) {
4811           new st1[11], st2[11], v;
4812
4813           v = get_int(v0_cur);
4814           snprintf(st1, 10, "%ih", v);
4815           snprintf(st2, 10, "%i", v);
4816           set_tween_state(PART:"bot", pos, st1, 0.0, st2, 0.0);
4817           set_tween_state(PART:"sh", pos, "half", 0.0, "full", 0.0);
4818           if (pos >= 1.0) {
4819              set_state(PART:"sh", "default", 0.0);
4820              set_int(v0_lock, 0);
4821              v = get_int(v0_next);
4822              if (v >= 0) {
4823                 set_int(v0_next, -1);
4824                 message(MSG_INT, 1, v);
4825              }
4826           }
4827        }
4828        public animator1(val, Float:pos) {
4829           new st1[11], st2[11], v;
4830
4831           v = get_int(v0_pre);
4832           snprintf(st1, 10, "%i", v);
4833           snprintf(st2, 10, "%ih", v);
4834           set_tween_state(PART:"top", pos, st1, 0.0, st2, 0.0);
4835           set_tween_state(PART:"sh", pos, "default", 0.0, "half", 0.0);
4836           if (pos >= 1.0) anim(0.2, "animator2", val);
4837        }
4838        public message(Msg_Type:type, id, ...) {
4839           if ((type == MSG_INT) && (id == 1)) {
4840              new value, v, buf[11];
4841
4842              value = getarg(2);
4843              if (get_int(v0_lock) == 1) {
4844                 set_int(v0_next, value);
4845                 return;
4846              }
4847              v = get_int(v0_cur);
4848              set_int(v0_pre, v);
4849              set_int(v0_cur, value);
4850              set_int(v0_lock, 1);
4851              snprintf(buf, 10, "%i", get_int(v0_pre));
4852              set_state(PART:"bot0", buf, 0.0);
4853              snprintf(buf, 10, "%ih", get_int(v0_cur));
4854              set_state(PART:"bot", buf, 0.0);
4855              snprintf(buf, 10, "%i", get_int(v0_cur));
4856              set_state(PART:"top0", buf, 0.0);
4857              snprintf(buf, 10, "%i", get_int(v0_pre));
4858              set_state(PART:"top", buf, 0.0);
4859              set_state(PART:"sh", "default", 0.0);
4860              anim(0.2, "animator1", 1);
4861           }
4862        }
4863       }
4864       parts {
4865          part { name: "shad";
4866             mouse_events: 0;
4867             description { state: "default" 0.0;
4868                rel1.offset: -4 -4;
4869                rel1.to: "base";
4870                rel2.offset: 3 3;
4871                rel2.to: "base";
4872                image {
4873                   normal: "flip_base_shad.png";
4874                   border: 8 8 8 8;
4875                }
4876             }
4877          }
4878          part { name: "base";
4879             mouse_events: 0;
4880             scale: 1;
4881             description { state: "default" 0.0;
4882                rel1.offset: 4 4;
4883                rel2.offset: -5 -5;
4884                // FIXME 48x96 should be the native pixel design, right now
4885                // its 80x160. fix int he artwork later
4886                aspect: 0.5 0.5;
4887                min: 24 48;
4888 //             max: 24 48;
4889                image.normal: "flip_base.png";
4890             }
4891          }
4892          part { name: "b";
4893             type: RECT;
4894             mouse_events: 1;
4895             description { state: "default" 0.0;
4896                rel1.to: "base";
4897                rel1.relative: 0.0 0.5;
4898                rel2.to: "base";
4899                color: 0 0 0 0;
4900             }
4901          }
4902          part { name: "t";
4903             type: RECT;
4904             mouse_events: 1;
4905             description { state: "default" 0.0;
4906                rel1.to: "base";
4907                rel2.to: "base";
4908                rel2.relative: 1.0 0.5;
4909                color: 0 0 0 0;
4910             }
4911          }
4912          part { name: "bot0";
4913             mouse_events: 0;
4914             description { state: "default" 0.0;
4915                rel1.to: "b";
4916                rel2.to: "b";
4917                image.normal: "flip_amb.png";
4918             }
4919             description { state: "0" 0.0;
4920                inherit: "default" 0.0;
4921                image.normal: "flip_amb.png";
4922             }
4923             description { state: "1" 0.0;
4924                inherit: "default" 0.0;
4925                image.normal: "flip_pmb.png";
4926             }
4927          }
4928          part { name: "sh";
4929             mouse_events: 0;
4930             description { state: "default" 0.0;
4931                rel1.to: "b";
4932                rel2.to: "b";
4933                rel2.relative: 1.0 0.0;
4934                image.normal: "flip_shad.png";
4935             }
4936             description { state: "half" 0.0;
4937                inherit: "default" 0.0;
4938                rel2.relative: 1.0 0.5;
4939             }
4940             description { state: "full" 0.0;
4941                inherit: "default" 0.0;
4942                rel2.relative: 1.0 1.0;
4943             }
4944          }
4945          part { name: "bot";
4946             mouse_events: 0;
4947             description { state: "default" 0.0;
4948                visible: 1;
4949                rel1.to: "b";
4950                rel2.to: "b";
4951                image.normal: "flip_amb.png";
4952             }
4953             description { state: "0" 0.0;
4954                inherit: "default" 0.0;
4955                visible: 1;
4956                rel2.relative: 1.0 1.0;
4957                image.normal: "flip_amb.png";
4958             }
4959             description { state: "0h" 0.0;
4960                inherit: "default" 0.0;
4961                visible: 0;
4962                rel2.relative: 1.0 0.0;
4963                image.normal: "flip_amb.png";
4964             }
4965             description { state: "1" 0.0;
4966                inherit: "default" 0.0;
4967                visible: 1;
4968                rel2.relative: 1.0 1.0;
4969                image.normal: "flip_pmb.png";
4970             }
4971             description { state: "1h" 0.0;
4972                inherit: "default" 0.0;
4973                visible: 0;
4974                rel2.relative: 1.0 0.0;
4975                image.normal: "flip_pmb.png";
4976             }
4977          }
4978          part { name: "top0";
4979             mouse_events: 0;
4980             description { state: "default" 0.0;
4981                rel1.to: "t";
4982                rel2.to: "t";
4983                image.normal: "flip_amt.png";
4984             }
4985             description { state: "0" 0.0;
4986                inherit: "default" 0.0;
4987                image.normal: "flip_amt.png";
4988             }
4989             description { state: "1" 0.0;
4990                inherit: "default" 0.0;
4991                image.normal: "flip_pmt.png";
4992             }
4993          }
4994          part { name: "top";
4995             mouse_events: 0;
4996             description { state: "default" 0.0;
4997                visible: 1;
4998                rel1.to: "t";
4999                rel2.to: "t";
5000                image.normal: "flip_amt.png";
5001             }
5002             description { state: "0" 0.0;
5003                inherit: "default" 0.0;
5004                visible: 1;
5005                rel1.relative: 0.0 0.0;
5006                image.normal: "flip_amt.png";
5007             }
5008             description { state: "0h" 0.0;
5009                inherit: "default" 0.0;
5010                color: 128 128 128 255;
5011                visible: 0;
5012                rel1.relative: 0.0 1.0;
5013                image.normal: "flip_amt.png";
5014             }
5015             description { state: "1" 0.0;
5016                inherit: "default" 0.0;
5017                visible: 1;
5018                rel1.relative: 0.0 0.0;
5019                image.normal: "flip_pmt.png";
5020             }
5021             description { state: "1h" 0.0;
5022                inherit: "default" 0.0;
5023                color: 128 128 128 255;
5024                visible: 0;
5025                rel1.relative: 0.0 1.0;
5026                image.normal: "flip_pmt.png";
5027             }
5028          }
5029          part { name: "atop";
5030             mouse_events: 0;
5031             scale: 1;
5032             description { state: "default" 0.0;
5033                visible: 0;
5034                min: 15 15;
5035                max: 15 15;
5036                align: 0.5 0.0;
5037                rel1.to: "t";
5038                rel2.to: "t";
5039                image.normal: "arrow_up.png";
5040             }
5041             description { state: "visible" 0.0;
5042                inherit: "default" 0.0;
5043                visible: 1;
5044             }
5045          }
5046          part { name: "abot";
5047             mouse_events: 0;
5048             scale: 1;
5049             description { state: "default" 0.0;
5050                visible: 0;
5051                min: 15 15;
5052                max: 15 15;
5053                align: 0.5 1.0;
5054                rel1.to: "b";
5055                rel2.to: "b";
5056                image.normal: "arrow_down.png";
5057             }
5058             description { state: "visible" 0.0;
5059                inherit: "default" 0.0;
5060                visible: 1;
5061             }
5062          }
5063       }
5064       programs {
5065          program { name: "load";
5066             signal: "load";
5067             source: "";
5068             script {
5069                set_int(v0_cur, 0);
5070                set_int(v0_pre, 0);
5071                set_int(v0_lock, 0);
5072                set_int(v0_next, -1);
5073             }
5074          }
5075          program { name: "edit_on";
5076             signal: "elm,state,edit,on";
5077             source: "elm";
5078             action: STATE_SET "visible" 0.0;
5079             target: "atop";
5080             target: "abot";
5081          }
5082 /*
5083          program { name: "edit_off";
5084             signal: "elm,state,edit,off";
5085             source: "elm";
5086             action: STATE_SET "default" 0.0;
5087             target: "atop";
5088             target: "abot";
5089          }
5090  */
5091          program { name: "up";
5092             signal: "mouse,down,1";
5093             source: "t";
5094             action: SIGNAL_EMIT "elm,action,up,start" "";
5095          }
5096          program { name: "up,stop";
5097             signal: "mouse,up,1";
5098             source: "t";
5099             action: SIGNAL_EMIT "elm,action,up,stop" "";
5100          }
5101          program { name: "down";
5102             signal: "mouse,down,1";
5103             source: "b";
5104             action: SIGNAL_EMIT "elm,action,down,start" "";
5105          }
5106          program { name: "down,stop";
5107             signal: "mouse,up,1";
5108             source: "b";
5109             action: SIGNAL_EMIT "elm,action,down,stop" "";
5110          }
5111       }
5112    }
5113
5114    ///////////////////////////////////////////////////////////////////////////////
5115    group { name: "elm/menu/item/default";
5116        images {
5117            image: "bt_base1.png" COMP;
5118            image: "bt_base2.png" COMP;
5119            image: "bt_hilight.png" COMP;
5120            image: "bt_shine.png" COMP;
5121            image: "bt_glow.png" COMP;
5122            image: "bt_dis_base.png" COMP;
5123            image: "bt_dis_hilight.png" COMP;
5124        }
5125        script {
5126             public menu_text_visible; //0:hide (default), 1:visible
5127             public menu_disable; //0:enable, 1:disable
5128        }
5129        parts {
5130            part { name: "item_image";
5131                mouse_events: 1;
5132                description { state: "default" 0.0;
5133                    color: 255 255 255 0;
5134                    image {
5135                        normal: "bt_base2.png";
5136                        border: 7 7 7 7;
5137                    }
5138                    image.middle: SOLID;
5139                }
5140                description { state: "visible" 0.0;
5141                    inherit: "default" 0.0;
5142                    color: 255 255 255 255;
5143                }
5144                description { state: "clicked" 0.0;
5145                    inherit: "default" 0.0;
5146                    inherit: "visible" 0.0;
5147                    image.normal: "bt_base1.png";
5148                    image.middle: SOLID;
5149                }
5150                description { state: "disabled" 0.0;
5151                    inherit:  "default" 0.0;
5152                }
5153            }
5154            part { name: "item_image_disabled";
5155                mouse_events: 1;
5156                description { state: "default" 0.0;
5157                    color: 255 255 255 0;
5158                    image {
5159                        normal: "bt_dis_base.png";
5160                        border: 4 4 4 4;
5161                    }
5162                    image.middle: SOLID;
5163                }
5164                description { state: "disabled" 0.0;
5165                    inherit:  "default" 0.0;
5166                    color: 255 255 255 255;
5167                }
5168            }
5169            part { name: "elm.swallow.content";
5170                type: SWALLOW;
5171                description { state: "default" 0.0;
5172                    fixed: 1 0;
5173                    visible: 1;
5174                    align: 0.0 0.5;
5175                    rel1.offset: 4 4;
5176                    rel2.offset: 3 -5;
5177                    rel2.relative: 0.0 1.0;
5178                    aspect: 1.0 1.0;
5179                    aspect_preference: VERTICAL;
5180                    rel2.offset: 4 -5;
5181                }
5182            }
5183            part {
5184                name:          "elm.text";
5185                type:          TEXT;
5186                mouse_events:  0;
5187                scale: 1;
5188                description { state: "default" 0.0;
5189                    visible: 0;
5190                    rel1.to_x: "elm.swallow.content";
5191                    rel1.relative: 1.0 0.0;
5192                    rel1.offset: 5 7;
5193                    rel2.offset: -10 -8;
5194                    color: 0 0 0 255;
5195                    text {
5196                        font:     "Sans,Edje-Vera";
5197                        size:     10;
5198                        min:      1 1;
5199                        align:    0.0 0.5;
5200                        text_class: "menu_item";
5201                    }
5202                }
5203                description { state: "visible" 0.0;
5204                    inherit: "default" 0.0;
5205                    visible: 1;
5206                    text.min: 1 1;
5207                }
5208                description { state: "selected" 0.0;
5209                    inherit: "default" 0.0;
5210                    inherit: "visible" 0.0;
5211                    color: 254 254 254 255;
5212                }
5213                description { state: "disabled" 0.0;
5214                    inherit: "default" 0.0;
5215                    color: 0 0 0 128;
5216                }
5217                description { state: "disabled_visible" 0.0;
5218                    inherit: "default" 0.0;
5219                    inherit: "visible" 0.0;
5220                    color: 0 0 0 128;
5221                }
5222            }
5223            part {         name: "over1";
5224                mouse_events: 0;
5225                description { state: "default" 0.0;
5226                    color: 255 255 255 0;
5227                    rel2.relative: 1.0 0.5;
5228                    image {
5229                        normal: "bt_hilight.png";
5230                        border: 7 7 7 0;
5231                    }
5232                }
5233                description { state: "visible" 0.0;
5234                    inherit:  "default" 0.0;
5235                    color: 255 255 255 255;
5236                }
5237                description { state: "disabled" 0.0;
5238                    inherit:  "default" 0.0;
5239                }
5240            }
5241            part {         name: "over_disabled";
5242                mouse_events: 0;
5243                description { state: "default" 0.0;
5244                    color: 255 255 255 0;
5245                    rel2.relative: 1.0 0.5;
5246                    image {
5247                        normal: "bt_dis_hilight.png";
5248                        border: 4 4 4 0;
5249                    }
5250                }
5251                description { state: "disabled" 0.0;
5252                    inherit:  "default" 0.0;
5253                    color: 255 255 255 255;
5254                }
5255            }
5256            part { name: "over2";
5257                mouse_events: 1;
5258                repeat_events: 1;
5259                ignore_flags: ON_HOLD;
5260                description { state: "default" 0.0;
5261                    image {
5262                        normal: "bt_shine.png";
5263                        border: 7 7 7 7;
5264                    }
5265                }
5266                description { state: "disabled" 0.0;
5267                    inherit:  "default" 0.0;
5268                    visible: 0;
5269                }
5270            }
5271            part { name: "over3";
5272                mouse_events: 1;
5273                repeat_events: 1;
5274                description { state: "default" 0.0;
5275                    color: 255 255 255 0;
5276                    image {
5277                        normal: "bt_glow.png";
5278                        border: 12 12 12 12;
5279                    }
5280                    fill.smooth : 0;
5281                }
5282                description { state: "clicked" 0.0;
5283                    inherit:  "default" 0.0;
5284                    visible: 1;
5285                    color: 255 255 255 255;
5286                }
5287            }
5288            part { name: "disabler";
5289                type: RECT;
5290                description { state: "default" 0.0;
5291                    color: 0 0 0 0;
5292                    visible: 0;
5293                }
5294                description { state: "disabled" 0.0;
5295                    inherit: "default" 0.0;
5296                    visible: 1;
5297                }
5298            }
5299        }
5300        programs {
5301           //
5302            program {
5303                name:   "item_mouse_in";
5304                signal: "mouse,in";
5305                source: "over2";
5306                action: SIGNAL_EMIT "elm,action,activate" "";
5307                after: "item_mouse_in_2";
5308                after: "item_mouse_in_3";
5309            }
5310            program {
5311                name:   "item_mouse_in_2";
5312                transition: DECELERATE 0.5;
5313                script {
5314                    new v, d;
5315                    v = get_int(menu_text_visible);
5316                    d = get_int(menu_disable);
5317
5318                    if (v==1 && d==0)
5319                         run_program(PROGRAM:"selected_text");
5320                }
5321            }
5322            program {
5323                name:   "item_mouse_in_3";
5324                action : STATE_SET "visible" 0.0;
5325                target: "item_image";
5326                target: "over1";
5327                transition: DECELERATE 0.5;
5328            }
5329            program {
5330                name:   "selected_text";
5331                action: STATE_SET "selected" 0.0;
5332                target: "elm.text";
5333                transition: DECELERATE 0.5;
5334            }
5335            //
5336
5337            //
5338            program {
5339                name:   "item_mouse_out";
5340                signal: "mouse,out";
5341                source: "over2";
5342                after: "item_mouse_out_2";
5343                after: "item_mouse_out_3";
5344            }
5345            program {
5346                name:   "item_mouse_out_2";
5347                transition: DECELERATE 0.5;
5348                script {
5349                    new v, d;
5350                    v = get_int(menu_text_visible);
5351                    d = get_int(menu_disable);
5352
5353                    if (v==1 && d==0)
5354                         run_program(PROGRAM:"visible_text");
5355                }
5356            }
5357            program {
5358                name:   "item_mouse_out_3";
5359                action: STATE_SET "default" 0.0;
5360                target: "item_image";
5361                target: "over1";
5362                transition: DECELERATE 0.5;
5363            }
5364            program {
5365                name:   "visible_text";
5366                action: STATE_SET "visible" 0.0;
5367                target: "elm.text";
5368                transition: DECELERATE 0.5;
5369            }
5370            //
5371
5372            program {
5373                name:   "item_unclick";
5374                signal: "mouse,up,1";
5375                source: "over2";
5376                action: STATE_SET "visible" 0.0;
5377                target: "item_image";
5378            }
5379            program {
5380                name:   "item_click2";
5381                signal: "mouse,down,1";
5382                source: "over3";
5383                action: STATE_SET "clicked" 0.0;
5384                target: "over3";
5385            }
5386            program {
5387                name:   "item_unclick2";
5388                signal: "mouse,up,1";
5389                source: "over3";
5390                action: STATE_SET "default" 0.0;
5391                transition: DECELERATE 0.5;
5392                target: "over3";
5393            }
5394            program {
5395                name:   "item_unclick3";
5396                signal: "mouse,up,1";
5397                source: "over2";
5398                action: SIGNAL_EMIT "elm,action,click" "";
5399            }
5400            program { name: "text_show";
5401                signal: "elm,state,text,visible";
5402                source: "elm";
5403                script {
5404                    set_int(menu_text_visible, 1);
5405                    set_state(PART:"elm.text", "visible", 0.0);
5406                }
5407            }
5408            program { name: "text_hide";
5409                signal: "elm,state,text,hidden";
5410                source: "elm";
5411                script {
5412                    set_int(menu_text_visible, 0);
5413                    set_state(PART:"elm.text", "default", 0.0);
5414                }
5415            }
5416            program { name: "disable";
5417                signal: "elm,state,disabled";
5418                source: "elm";
5419                action: STATE_SET "disabled" 0.0;
5420                target: "item_image";
5421                target: "item_image_disabled";
5422                target: "over1";
5423                target: "over2";
5424                target: "over_disabled";
5425                target: "disabler";
5426                after: "disable_text";
5427            }
5428            program { name: "disable_text";
5429                script {
5430                    new v;
5431                    v = get_int(menu_text_visible);
5432                    if (v==1)
5433                     set_state(PART:"elm.text", "disabled_visible", 0.0);
5434                    else if (v==0)
5435                     set_state(PART:"elm.text", "disabled", 0.0);
5436                    set_int(menu_disable, 1);
5437                }
5438            }
5439            program { name: "enable";
5440                signal: "elm,state,enabled";
5441                source: "elm";
5442                action: STATE_SET "default" 0.0;
5443                target: "item_image";
5444                target: "item_image_disabled";
5445                target: "over1";
5446                target: "over2";
5447                target: "over_disabled";
5448                target: "disabler";
5449                after: "enable_text";
5450            }
5451            program { name: "enable_text";
5452                script {
5453                    new v;
5454                    v = get_int(menu_text_visible);
5455                    if (v==1)
5456                     set_state(PART:"elm.text", "visible", 0.0);
5457                    else  if (v==0)
5458                     set_state(PART:"elm.text", "default", 0.0);
5459                    set_int(menu_disable, 0);
5460                }
5461            }
5462        }
5463    }
5464
5465    group { name: "elm/menu/item_with_submenu/default";
5466        images {
5467            image: "bt_base1.png" COMP;
5468            image: "bt_base2.png" COMP;
5469            image: "bt_hilight.png" COMP;
5470            image: "bt_shine.png" COMP;
5471            image: "bt_glow.png" COMP;
5472            image: "bt_dis_base.png" COMP;
5473            image: "bt_dis_hilight.png" COMP;
5474            image: "arrow_right.png" COMP;
5475        }
5476        script {
5477             public menu_text_visible; //0:hide (default), 1:visible
5478             public menu_disable; //0:enable, 1:disable
5479        }
5480        parts {
5481            part { name: "item_image";
5482                mouse_events: 1;
5483                description { state: "default" 0.0;
5484                    color: 255 255 255 0;
5485                    image {
5486                        normal: "bt_base2.png";
5487                        border: 7 7 7 7;
5488                    }
5489                    image.middle: SOLID;
5490                }
5491                description { state: "visible" 0.0;
5492                    inherit: "default" 0.0;
5493                    color: 255 255 255 255;
5494                }
5495                description { state: "clicked" 0.0;
5496                    inherit: "default" 0.0;
5497                    inherit: "visible" 0.0;
5498                    image.normal: "bt_base1.png";
5499                    image.middle: SOLID;
5500                }
5501                description { state: "disabled" 0.0;
5502                    inherit:  "default" 0.0;
5503                }
5504            }
5505            part { name: "item_image_disabled";
5506                mouse_events: 1;
5507                description { state: "default" 0.0;
5508                    color: 255 255 255 0;
5509                    image {
5510                        normal: "bt_dis_base.png";
5511                        border: 4 4 4 4;
5512                    }
5513                    image.middle: SOLID;
5514                }
5515                description { state: "disabled" 0.0;
5516                    inherit:  "default" 0.0;
5517                    color: 255 255 255 255;
5518                }
5519            }
5520            part { name: "arrow";
5521                mouse_events: 1;
5522                description { state: "default" 0.0;
5523                    color: 255 255 255 255;
5524                    align: 1.0 0.5;
5525                    aspect: 1 1;
5526                    aspect_preference: BOTH;
5527                    image {
5528                        normal: "arrow_right.png";
5529                    }
5530                }
5531            }
5532            part { name: "elm.swallow.content";
5533                type: SWALLOW;
5534                description { state: "default" 0.0;
5535                    fixed: 1 0;
5536                    visible: 1;
5537                    align: 0.0 0.5;
5538                    rel1.offset: 4 4;
5539                    rel2.offset: 3 -5;
5540                    rel2.relative: 0.0 1.0;
5541                    aspect: 1.0 1.0;
5542                    aspect_preference: VERTICAL;
5543                    rel2.offset: 4 -5;
5544                }
5545            }
5546            part {
5547                name:          "elm.text";
5548                type:          TEXT;
5549                mouse_events:  0;
5550                scale: 1;
5551                description { state: "default" 0.0;
5552                    visible: 0;
5553                    rel1.to_x: "elm.swallow.content";
5554                    rel1.relative: 1.0 0.0;
5555                    rel1.offset: 5 7;
5556                    rel2.offset: -10 -8;
5557                    color: 0 0 0 255;
5558                    text {
5559                        font:     "Sans,Edje-Vera";
5560                        size:     10;
5561                        min:      1 1;
5562                        align:    0.0 0.5;
5563                        text_class: "menu_item";
5564                    }
5565                }
5566                description { state: "visible" 0.0;
5567                    inherit: "default" 0.0;
5568                    visible: 1;
5569                    text.min: 1 1;
5570                }
5571                description { state: "selected" 0.0;
5572                    inherit: "default" 0.0;
5573                    inherit: "visible" 0.0;
5574                    color: 254 254 254 255;
5575                }
5576                description { state: "disabled" 0.0;
5577                    inherit: "default" 0.0;
5578                    color: 0 0 0 128;
5579                }
5580                description { state: "disabled_visible" 0.0;
5581                    inherit: "default" 0.0;
5582                    inherit: "visible" 0.0;
5583                    color: 0 0 0 128;
5584                }
5585            }
5586            part {         name: "over1";
5587                mouse_events: 0;
5588                description { state: "default" 0.0;
5589                    color: 255 255 255 0;
5590                    rel2.relative: 1.0 0.5;
5591                    image {
5592                        normal: "bt_hilight.png";
5593                        border: 7 7 7 0;
5594                    }
5595                }
5596                description { state: "visible" 0.0;
5597                    inherit:  "default" 0.0;
5598                    color: 255 255 255 255;
5599                }
5600                description { state: "disabled" 0.0;
5601                    inherit:  "default" 0.0;
5602                }
5603            }
5604            part { name: "over_disabled";
5605                mouse_events: 0;
5606                description { state: "default" 0.0;
5607                    color: 255 255 255 0;
5608                    rel2.relative: 1.0 0.5;
5609                    image {
5610                        normal: "bt_dis_hilight.png";
5611                        border: 4 4 4 0;
5612                    }
5613                }
5614                description { state: "disabled" 0.0;
5615                    inherit:  "default" 0.0;
5616                    color: 255 255 255 255;
5617                }
5618            }
5619            part { name: "over2";
5620                mouse_events: 1;
5621                repeat_events: 1;
5622                ignore_flags: ON_HOLD;
5623                description { state: "default" 0.0;
5624                    image {
5625                        normal: "bt_shine.png";
5626                        border: 7 7 7 7;
5627                    }
5628                }
5629                description { state: "disabled" 0.0;
5630                    inherit:  "default" 0.0;
5631                    visible: 0;
5632                }
5633            }
5634            part { name: "over3";
5635                mouse_events: 1;
5636                repeat_events: 1;
5637                description { state: "default" 0.0;
5638                    color: 255 255 255 0;
5639                    image {
5640                        normal: "bt_glow.png";
5641                        border: 12 12 12 12;
5642                    }
5643                    fill.smooth : 0;
5644                }
5645                description { state: "clicked" 0.0;
5646                    inherit:  "default" 0.0;
5647                    visible: 1;
5648                    color: 255 255 255 255;
5649                }
5650            }
5651            part { name: "disabler";
5652                type: RECT;
5653                description { state: "default" 0.0;
5654                    color: 0 0 0 0;
5655                    visible: 0;
5656                }
5657                description { state: "disabled" 0.0;
5658                    inherit: "default" 0.0;
5659                    visible: 1;
5660                }
5661            }
5662        }
5663        programs {
5664            //
5665            program {
5666                name:   "item_mouse_in";
5667                signal: "mouse,in";
5668                source: "over2";
5669                action: SIGNAL_EMIT "elm,action,activate" "";
5670                after: "item_mouse_in_2";
5671                after: "item_mouse_in_3";
5672            }
5673            program {
5674                name:   "item_mouse_in_2";
5675                transition: DECELERATE 0.5;
5676                script {
5677                    new v, d;
5678                    v = get_int(menu_text_visible);
5679                    d = get_int(menu_disable);
5680
5681                    if (v==1 && d==0)
5682                         run_program(PROGRAM:"selected_text");
5683                }
5684            }
5685            program {
5686                name:   "item_mouse_in_3";
5687                action : STATE_SET "visible" 0.0;
5688                target: "item_image";
5689                target: "over1";
5690                transition: DECELERATE 0.5;
5691            }
5692            program {
5693                name:   "selected_text";
5694                action: STATE_SET "selected" 0.0;
5695                target: "elm.text";
5696                transition: DECELERATE 0.5;
5697            }
5698            //
5699
5700            //
5701            program {
5702                name:   "item_mouse_out";
5703                signal: "mouse,out";
5704                source: "over2";
5705                after: "item_mouse_out_2";
5706                after: "item_mouse_out_3";
5707            }
5708            program {
5709                name:   "item_mouse_out_2";
5710                transition: DECELERATE 0.5;
5711                script {
5712                    new v, d;
5713                    v = get_int(menu_text_visible);
5714                    d = get_int(menu_disable);
5715
5716                    if (v==1 && d==0)
5717                         run_program(PROGRAM:"visible_text");
5718                }
5719            }
5720            program {
5721                name:   "item_mouse_out_3";
5722                action: STATE_SET "default" 0.0;
5723                target: "item_image";
5724                target: "over1";
5725                transition: DECELERATE 0.5;
5726            }
5727            program {
5728                name:   "visible_text";
5729                action: STATE_SET "visible" 0.0;
5730                target: "elm.text";
5731                transition: DECELERATE 0.5;
5732            }
5733            //
5734
5735            program {
5736                name:   "item_unclick";
5737                signal: "mouse,up,1";
5738                source: "over2";
5739                action: STATE_SET "visible" 0.0;
5740                target: "item_image";
5741            }
5742            program {
5743                name:   "item_click2";
5744                signal: "mouse,down,1";
5745                source: "over3";
5746                action: STATE_SET "clicked" 0.0;
5747                target: "over3";
5748            }
5749            program {
5750                name:   "item_unclick2";
5751                signal: "mouse,up,1";
5752                source: "over3";
5753                action: STATE_SET "default" 0.0;
5754                transition: DECELERATE 0.5;
5755                target: "over3";
5756            }
5757            program {
5758                name:   "item_unclick3";
5759                signal: "mouse,up,1";
5760                source: "over2";
5761                action: SIGNAL_EMIT "elm,action,click" "";
5762            }
5763            program {
5764                name:   "menu_open";
5765                signal: "mouse,in";
5766                source: "over2";
5767                action: SIGNAL_EMIT "elm,action,open" "";
5768            }
5769             program { name: "text_show";
5770                signal: "elm,state,text,visible";
5771                source: "elm";
5772                script {
5773                    set_int(menu_text_visible, 1);
5774                    set_state(PART:"elm.text", "visible", 0.0);
5775                }
5776            }
5777            program { name: "text_hide";
5778                signal: "elm,state,text,hidden";
5779                source: "elm";
5780                script {
5781                    set_int(menu_text_visible, 0);
5782                    set_state(PART:"elm.text", "default", 0.0);
5783                }
5784            }
5785            program { name: "disable";
5786                signal: "elm,state,disabled";
5787                source: "elm";
5788                action: STATE_SET "disabled" 0.0;
5789                target: "item_image";
5790                target: "item_image_disabled";
5791                target: "over1";
5792                target: "over2";
5793                target: "over_disabled";
5794                target: "disabler";
5795                after: "disable_text";
5796            }
5797            program { name: "disable_text";
5798                script {
5799                    new st[31];
5800                    new Float:vl;
5801                    get_state(PART:"elm.text", st, 30, vl);
5802                    if (!strcmp(st, "visible"))
5803                    set_state(PART:"elm.text", "disabled_visible", 0.0);
5804                    else if (!strcmp(st, "default"))
5805                    set_state(PART:"elm.text", "disabled", 0.0);
5806                }
5807            }
5808            program { name: "enable";
5809                signal: "elm,state,enabled";
5810                source: "elm";
5811                action: STATE_SET "default" 0.0;
5812                target: "item_image";
5813                target: "item_image_disabled";
5814                target: "over1";
5815                target: "over2";
5816                target: "over_disabled";
5817                target: "disabler";
5818                after: "enable_text";
5819            }
5820            program { name: "enable_text";
5821                script {
5822                    new v;
5823                    v = get_int(menu_text_visible);
5824                    if (v==1)
5825                     set_state(PART:"elm.text", "visible", 0.0);
5826                    else  if (v==0)
5827                     set_state(PART:"elm.text", "default", 0.0);
5828                    set_int(menu_disable, 0);
5829                }
5830            }
5831        }
5832    }
5833
5834    group { name: "elm/menu/separator/default";
5835        images {
5836            image: "separator_h.png" COMP;
5837        }
5838        parts {
5839            part { name: "separator"; // separator group
5840                description { state: "default" 0.0;
5841                    min: 2 2;
5842                    rel1.offset: 4 4;
5843                    rel2.offset: -5 -5;
5844                    image {
5845                        normal: "separator_h.png";
5846                    }
5847                    fill {
5848                        smooth: 0;
5849                    }
5850                }
5851            }
5852        }
5853    }
5854 ///////////////////////////////////////////////////////////////////////////////
5855    group { name: "elm/clock/base-all/default";
5856       parts {
5857          part { name: "d0";
5858             type: SWALLOW;
5859             description { state: "default" 0.0;
5860                rel1.relative: 0.0000000 0.0;
5861                rel2.relative: 0.1250000 1.0;
5862             }
5863          }
5864          part { name: "d1";
5865             type: SWALLOW;
5866             description { state: "default" 0.0;
5867                rel1.relative: 0.1250000 0.0;
5868                rel2.relative: 0.2500000 1.0;
5869             }
5870          }
5871          part { name: "c0";
5872             type: SWALLOW;
5873             type: TEXT;
5874             mouse_events:  0;
5875             scale: 1;
5876             description { state: "default" 0.0;
5877                rel1.relative: 0.2500000 0.0;
5878                rel2.relative: 0.3125000 1.0;
5879                color: 0 0 0 255;
5880                text {
5881                   font:     "Sans,Edje-Vera";
5882                   text:     ":";
5883                   size:     10;
5884                   min:      1 1;
5885                   align:    0.5 0.5;
5886                }
5887             }
5888          }
5889          part { name: "d2";
5890             type: SWALLOW;
5891             description { state: "default" 0.0;
5892                rel1.relative: 0.3125000 0.0;
5893                rel2.relative: 0.4375000 1.0;
5894             }
5895          }
5896          part { name: "d3";
5897             type: SWALLOW;
5898             description { state: "default" 0.0;
5899                rel1.relative: 0.4375000 0.0;
5900                rel2.relative: 0.5625000 1.0;
5901             }
5902          }
5903          // (if seconds)
5904          part { name: "c1";
5905             type: SWALLOW;
5906             type: TEXT;
5907             mouse_events:  0;
5908             scale: 1;
5909             description { state: "default" 0.0;
5910                rel1.relative: 0.5625000 0.0;
5911                rel2.relative: 0.6250000 1.0;
5912                color: 0 0 0 255;
5913                text {
5914                   font:     "Sans,Edje-Vera";
5915                   text:     ":";
5916                   size:     10;
5917                   min:      1 1;
5918                   align:    0.5 0.5;
5919                }
5920             }
5921          }
5922          // (if seconds)
5923          part { name: "d4";
5924             type: SWALLOW;
5925             description { state: "default" 0.0;
5926                rel1.relative: 0.6250000 0.0;
5927                rel2.relative: 0.7500000 1.0;
5928             }
5929          }
5930          // (if seconds)
5931          part { name: "d5";
5932             type: SWALLOW;
5933             description { state: "default" 0.0;
5934                rel1.relative: 0.7500000 0.0;
5935                rel2.relative: 0.8750000 1.0;
5936             }
5937          }
5938          // (if am_pm)
5939          part { name: "ampm";
5940             type: SWALLOW;
5941             description { state: "default" 0.0;
5942                rel1.relative: 0.8750000 0.0;
5943                rel2.relative: 1.0 1.0;
5944             }
5945          }
5946       }
5947    }
5948
5949 ///////////////////////////////////////////////////////////////////////////////
5950    group { name: "elm/clock/base-seconds/default";
5951       parts {
5952          part { name: "d0";
5953             type: SWALLOW;
5954             description { state: "default" 0.0;
5955                rel1.relative: 0.000000000 0.0;
5956                rel2.relative: 0.142857143 1.0;
5957             }
5958          }
5959          part { name: "d1";
5960             type: SWALLOW;
5961             description { state: "default" 0.0;
5962                rel1.relative: 0.142857143 0.0;
5963                rel2.relative: 0.285714286 1.0;
5964             }
5965          }
5966          part { name: "c0";
5967             type: SWALLOW;
5968             type: TEXT;
5969             mouse_events:  0;
5970             scale: 1;
5971             description { state: "default" 0.0;
5972                rel1.relative: 0.285714286 0.0;
5973                rel2.relative: 0.357142857 1.0;
5974                color: 0 0 0 255;
5975                text {
5976                   font:     "Sans,Edje-Vera";
5977                   text:     ":";
5978                   size:     10;
5979                   min:      1 1;
5980                   align:    0.5 0.5;
5981                }
5982             }
5983          }
5984          part { name: "d2";
5985             type: SWALLOW;
5986             description { state: "default" 0.0;
5987                rel1.relative: 0.357142857 0.0;
5988                rel2.relative: 0.500000000 1.0;
5989             }
5990          }
5991          part { name: "d3";
5992             type: SWALLOW;
5993             description { state: "default" 0.0;
5994                rel1.relative: 0.500000000 0.0;
5995                rel2.relative: 0.642857143 1.0;
5996             }
5997          }
5998          // (if seconds)
5999          part { name: "c1";
6000             type: SWALLOW;
6001             type: TEXT;
6002             mouse_events:  0;
6003             scale: 1;
6004             description { state: "default" 0.0;
6005                rel1.relative: 0.642857143 0.0;
6006                rel2.relative: 0.714285714 1.0;
6007                color: 0 0 0 255;
6008                text {
6009                   font:     "Sans,Edje-Vera";
6010                   text:     ":";
6011                   size:     10;
6012                   min:      1 1;
6013                   align:    0.5 0.5;
6014                }
6015             }
6016          }
6017          // (if seconds)
6018          part { name: "d4";
6019             type: SWALLOW;
6020             description { state: "default" 0.0;
6021                rel1.relative: 0.714285714 0.0;
6022                rel2.relative: 0.857142857 1.0;
6023             }
6024          }
6025          // (if seconds)
6026          part { name: "d5";
6027             type: SWALLOW;
6028             description { state: "default" 0.0;
6029                rel1.relative: 0.857142857 0.0;
6030                rel2.relative: 1.000000000 1.0;
6031             }
6032          }
6033       }
6034    }
6035
6036 ///////////////////////////////////////////////////////////////////////////////
6037    group { name: "elm/clock/base-am_pm/default";
6038       parts {
6039          part { name: "d0";
6040             type: SWALLOW;
6041             description { state: "default" 0.0;
6042                rel1.relative: 0.000000000 0.0;
6043                rel2.relative: 0.181818182 1.0;
6044             }
6045          }
6046          part { name: "d1";
6047             type: SWALLOW;
6048             description { state: "default" 0.0;
6049                rel1.relative: 0.181818182 0.0;
6050                rel2.relative: 0.363636364 1.0;
6051             }
6052          }
6053          part { name: "c0";
6054             type: SWALLOW;
6055             type: TEXT;
6056             mouse_events:  0;
6057             scale: 1;
6058             description { state: "default" 0.0;
6059                rel1.relative: 0.363636364 0.0;
6060                rel2.relative: 0.454545455 1.0;
6061                color: 0 0 0 255;
6062                text {
6063                   font:     "Sans,Edje-Vera";
6064                   text:     ":";
6065                   size:     10;
6066                   min:      1 1;
6067                   align:    0.5 0.5;
6068                }
6069             }
6070          }
6071          part { name: "d2";
6072             type: SWALLOW;
6073             description { state: "default" 0.0;
6074                rel1.relative: 0.454545455 0.0;
6075                rel2.relative: 0.636363636 1.0;
6076             }
6077          }
6078          part { name: "d3";
6079             type: SWALLOW;
6080             description { state: "default" 0.0;
6081                rel1.relative: 0.636363636 0.0;
6082                rel2.relative: 0.818181818 1.0;
6083             }
6084          }
6085          // (if am_pm)
6086          part { name: "ampm";
6087             type: SWALLOW;
6088             description { state: "default" 0.0;
6089                rel1.relative: 0.818181818 0.0;
6090                rel2.relative: 1.0 1.0;
6091             }
6092          }
6093       }
6094    }
6095
6096 ///////////////////////////////////////////////////////////////////////////////
6097    group { name: "elm/clock/base/default";
6098       parts {
6099          part { name: "d0";
6100             type: SWALLOW;
6101             description { state: "default" 0.0;
6102                rel1.relative: 0.000000000 0.0;
6103                rel2.relative: 0.222222222 1.0;
6104             }
6105          }
6106          part { name: "d1";
6107             type: SWALLOW;
6108             description { state: "default" 0.0;
6109                rel1.relative: 0.222222222 0.0;
6110                rel2.relative: 0.444444444 1.0;
6111             }
6112          }
6113          part { name: "c0";
6114             type: SWALLOW;
6115             type: TEXT;
6116             mouse_events:  0;
6117             scale: 1;
6118             description { state: "default" 0.0;
6119                rel1.relative: 0.444444444 0.0;
6120                rel2.relative: 0.555555556 1.0;
6121                color: 0 0 0 255;
6122                text {
6123                   font:     "Sans,Edje-Vera";
6124                   text:     ":";
6125                   size:     10;
6126                   min:      1 1;
6127                   align:    0.5 0.5;
6128                }
6129             }
6130          }
6131          part { name: "d2";
6132             type: SWALLOW;
6133             description { state: "default" 0.0;
6134                rel1.relative: 0.555555556 0.0;
6135                rel2.relative: 0.777777778 1.0;
6136             }
6137          }
6138          part { name: "d3";
6139             type: SWALLOW;
6140             description { state: "default" 0.0;
6141                rel1.relative: 0.777777778 0.0;
6142                rel2.relative: 1.000000000 1.0;
6143             }
6144          }
6145       }
6146    }
6147
6148 ///////////////////////////////////////////////////////////////////////////////
6149    group { name: "elm/frame/base/default";
6150        images {
6151            image: "frame_1.png" COMP;
6152            image: "frame_2.png" COMP;
6153            image: "dia_grad.png" COMP;
6154        }
6155        parts {
6156            part { name: "base0";
6157                mouse_events:  0;
6158                description { state: "default" 0.0;
6159                    image.normal: "dia_grad.png";
6160                    rel1.to: "over";
6161                    rel2.to: "over";
6162                    fill {
6163                        smooth: 0;
6164                        size {
6165                            relative: 0.0 1.0;
6166                            offset: 64 0;
6167                        }
6168                    }
6169                }
6170            }
6171            part { name: "base";
6172                mouse_events:  0;
6173                description { state:    "default" 0.0;
6174                    rel2.to: "elm.swallow.content";
6175                    rel2.offset: 9 9;
6176                    image {
6177                        normal: "frame_2.png";
6178                        border: 5 5 32 26;
6179                        middle: 0;
6180                    }
6181                    fill.smooth : 0;
6182                }
6183            }
6184            part { name: "elm.text";
6185                type: TEXT;
6186                mouse_events:   0;
6187                scale: 1;
6188                description { state: "default" 0.0;
6189                    align: 0.0 0.0;
6190                    fixed: 0 1;
6191                    rel1 {
6192                        relative: 0.0 0.0;
6193                        offset: 6 6;
6194                    }
6195                    rel2 {
6196                        relative: 1.0 0.0;
6197                        offset: -7 6;
6198                    }
6199                    color: 0 0 0 64;
6200                    text {
6201                        font: "Sans:style=Bold,Edje-Vera-Bold";
6202                        size: 10;
6203                        min: 1 1;
6204                        max: 1 1;
6205                        align: 0.0 0.0;
6206                    }
6207                }
6208            }
6209            part { name: "over";
6210                mouse_events:  0;
6211                description { state:    "default" 0.0;
6212                    rel1.offset: 4 4;
6213                    rel2.to: "elm.swallow.content";
6214                    rel2.offset: 5 5;
6215                    image {
6216                        normal: "frame_1.png";
6217                        border: 2 2 28 22;
6218                        middle: 0;
6219                    }
6220                    fill.smooth : 0;
6221                }
6222            }
6223            part { name: "elm.swallow.content";
6224                type: SWALLOW;
6225                description { state: "default" 0.0;
6226                    align: 0.0 0.0;
6227                    rel1 {
6228                        to_y: "elm.text";
6229                        relative: 0.0 1.0;
6230                        offset: 8 2;
6231                    }
6232                    rel2.offset: -9 -9;
6233                }
6234            }
6235        }
6236    }
6237
6238    group { name: "elm/frame/base/pad_small";
6239        parts {
6240            part { name: "b0";
6241                mouse_events:  0;
6242                type: RECT;
6243                scale: 1;
6244                description { state: "default" 0.0;
6245                    visible: 0;
6246                    min: 4 4;
6247                    max: 4 4;
6248                    align: 0.0 0.0;
6249                }
6250            }
6251            part { name: "b1";
6252                mouse_events:  0;
6253                type: RECT;
6254                scale: 1;
6255                description { state: "default" 0.0;
6256                    visible: 0;
6257                    min: 4 4;
6258                    max: 4 4;
6259                    align: 1.0 1.0;
6260                }
6261            }
6262            part { name: "elm.swallow.content";
6263                type: SWALLOW;
6264                description { state: "default" 0.0;
6265                    rel1 {
6266                        to: "b0";
6267                        relative: 1.0 1.0;
6268                        offset: 0 0;
6269                    }
6270                    rel2 {
6271                        to: "b1";
6272                        relative: 0.0 0.0;
6273                        offset: -1 -1;
6274                    }
6275                }
6276            }
6277        }
6278    }
6279
6280    group { name: "elm/frame/base/pad_medium";
6281        parts {
6282            part { name: "b0";
6283                mouse_events:  0;
6284                type: RECT;
6285                scale: 1;
6286                description { state: "default" 0.0;
6287                    visible: 0;
6288                    min: 8 8;
6289                    max: 8 8;
6290                    align: 0.0 0.0;
6291                }
6292            }
6293            part { name: "b1";
6294                mouse_events:  0;
6295                type: RECT;
6296                scale: 1;
6297                description { state: "default" 0.0;
6298                    visible: 0;
6299                    min: 8 8;
6300                    max: 8 8;
6301                    align: 1.0 1.0;
6302                }
6303            }
6304            part { name: "elm.swallow.content";
6305                type: SWALLOW;
6306                description { state: "default" 0.0;
6307                    rel1 {
6308                        to: "b0";
6309                        relative: 1.0 1.0;
6310                        offset: 0 0;
6311                    }
6312                    rel2 {
6313                        to: "b1";
6314                        relative: 0.0 0.0;
6315                        offset: -1 -1;
6316                    }
6317                }
6318            }
6319        }
6320    }
6321
6322    group { name: "elm/frame/base/pad_large";
6323        parts {
6324            part { name: "b0";
6325                mouse_events:  0;
6326                type: RECT;
6327                scale: 1;
6328                description { state: "default" 0.0;
6329                    visible: 0;
6330                    min: 16 16;
6331                    max: 16 16;
6332                    align: 0.0 0.0;
6333                }
6334            }
6335            part { name: "b1";
6336                mouse_events:  0;
6337                type: RECT;
6338                scale: 1;
6339                description { state: "default" 0.0;
6340                    visible: 0;
6341                    min: 16 16;
6342                    max: 16 16;
6343                    align: 1.0 1.0;
6344                }
6345            }
6346            part { name: "elm.swallow.content";
6347                type: SWALLOW;
6348                description { state: "default" 0.0;
6349                    rel1 {
6350                        to: "b0";
6351                        relative: 1.0 1.0;
6352                        offset: 0 0;
6353                    }
6354                    rel2 {
6355                        to: "b1";
6356                        relative: 0.0 0.0;
6357                        offset: -1 -1;
6358                    }
6359                }
6360            }
6361        }
6362    }
6363
6364    group { name: "elm/frame/base/pad_huge";
6365        parts {
6366            part { name: "b0";
6367                mouse_events:  0;
6368                type: RECT;
6369                scale: 1;
6370                description { state: "default" 0.0;
6371                    visible: 0;
6372                    min: 32 32;
6373                    max: 32 32;
6374                    align: 0.0 0.0;
6375                }
6376            }
6377            part { name: "b1";
6378                mouse_events:  0;
6379                type: RECT;
6380                scale: 1;
6381                description { state: "default" 0.0;
6382                    visible: 0;
6383                    min: 32 32;
6384                    max: 32 32;
6385                    align: 1.0 1.0;
6386                }
6387            }
6388            part { name: "elm.swallow.content";
6389                type: SWALLOW;
6390                description { state: "default" 0.0;
6391                    rel1 {
6392                        to: "b0";
6393                        relative: 1.0 1.0;
6394                        offset: 0 0;
6395                    }
6396                    rel2 {
6397                        to: "b1";
6398                        relative: 0.0 0.0;
6399                        offset: -1 -1;
6400                    }
6401                }
6402            }
6403        }
6404    }
6405
6406    group { name: "elm/frame/base/outdent_top";
6407        images {
6408            image: "outdent-top.png" COMP;
6409        }
6410        parts {
6411            part { name: "base0";
6412                mouse_events:  0;
6413                description { state: "default" 0.0;
6414                    image.normal: "outdent-top.png";
6415                    image.border: 0 0 0 13;
6416                    fill.smooth: 0;
6417                }
6418            }
6419            part { name: "elm.swallow.content";
6420                type: SWALLOW;
6421                description { state: "default" 0.0;
6422                    rel1.offset: 2 2;
6423                    rel2.offset: -3 -13;
6424                }
6425            }
6426        }
6427    }
6428
6429    group { name: "elm/frame/base/outdent_bottom";
6430        images {
6431            image: "outdent-bottom.png" COMP;
6432        }
6433        parts {
6434            part { name: "base0";
6435                mouse_events:  0;
6436                description { state: "default" 0.0;
6437                    image.normal: "outdent-bottom.png";
6438                    image.border: 0 0 13 0;
6439                    fill.smooth: 0;
6440                }
6441            }
6442            part { name: "elm.swallow.content";
6443                type: SWALLOW;
6444                description { state: "default" 0.0;
6445                    rel1.offset: 2 12;
6446                    rel2.offset: -3 -3;
6447                }
6448            }
6449        }
6450    }
6451
6452 ///////////////////////////////////////////////////////////////////////////////
6453    group { name: "elm/label/base/tooltip";
6454       styles {
6455          style { name: "tooltip_style";
6456             base: "font=Sans font_size=8 color=#666 wrap=word";
6457             tag:  "br" "\n";
6458             tag:  "hilight" "+ font=Sans:style=Bold";
6459             tag:  "b" "+ font=Sans:style=Bold";
6460             tag:  "tab" "\t";
6461          }
6462       }
6463       parts {
6464          part { name: "elm.text";
6465             type: TEXTBLOCK;
6466             mouse_events: 0;
6467             scale: 1;
6468             description { state: "default" 0.0;
6469                text {
6470                   style: "tooltip_style";
6471                   min: 1 1;
6472                }
6473             }
6474          }
6475       }
6476    }
6477
6478    group { name: "elm/tooltip/base/default";
6479        min: 30 30;
6480        data {
6481            item: "pad_x" "20";
6482            item: "pad_y" "20";
6483            item: "pad_border_x" "10";
6484            item: "pad_border_y" "10";
6485            item: "hide_timeout" "0.35"; /**< tooltip is hidden after this amount, keep in sync with hide animations */
6486        }
6487        images {
6488            image: "tooltip-base.png" COMP;
6489            image: "tooltip-corner-top-left-tip.png" COMP;
6490            image: "tooltip-corner-top-right-tip.png" COMP;
6491            image: "tooltip-corner-bottom-left-tip.png" COMP;
6492            image: "tooltip-corner-bottom-right-tip.png" COMP;
6493            image: "tooltip-edge-left-tip.png" COMP;
6494            image: "tooltip-edge-right-tip.png" COMP;
6495            image: "tooltip-edge-bottom-tip.png" COMP;
6496            image: "tooltip-edge-top-tip.png" COMP;
6497        }
6498        script {
6499           hide_corners() {
6500              set_state(PART:"corner-top-left", "default", 0.0);
6501              set_state(PART:"corner-top-right", "default", 0.0);
6502              set_state(PART:"corner-bottom-left", "default", 0.0);
6503              set_state(PART:"corner-bottom-right", "default", 0.0);
6504           }
6505           hide_edges() {
6506              set_state(PART:"clipper-edge-left", "default", 0.0);
6507              set_state(PART:"clipper-edge-right", "default", 0.0);
6508              set_state(PART:"clipper-edge-top", "default", 0.0);
6509              set_state(PART:"clipper-edge-bottom", "default", 0.0);
6510           }
6511
6512           show_corner_top_left() {
6513              set_state(PART:"corner-top-left", "visible", 0.0);
6514
6515              set_state(PART:"corner-top-right", "default", 0.0);
6516              set_state(PART:"corner-bottom-left", "default", 0.0);
6517              set_state(PART:"corner-bottom-right", "default", 0.0);
6518              hide_edges();
6519           }
6520           show_corner_top_right() {
6521              set_state(PART:"corner-top-right", "visible", 0.0);
6522
6523              set_state(PART:"corner-top-left", "default", 0.0);
6524              set_state(PART:"corner-bottom-left", "default", 0.0);
6525              set_state(PART:"corner-bottom-right", "default", 0.0);
6526              hide_edges();
6527           }
6528
6529           show_corner_bottom_left() {
6530              set_state(PART:"corner-bottom-left", "visible", 0.0);
6531
6532              set_state(PART:"corner-bottom-right", "default", 0.0);
6533              set_state(PART:"corner-top-left", "default", 0.0);
6534              set_state(PART:"corner-top-right", "default", 0.0);
6535              hide_edges();
6536           }
6537           show_corner_bottom_right() {
6538              set_state(PART:"corner-bottom-right", "visible", 0.0);
6539
6540              set_state(PART:"corner-bottom-left", "default", 0.0);
6541              set_state(PART:"corner-top-left", "default", 0.0);
6542              set_state(PART:"corner-top-right", "default", 0.0);
6543              hide_edges();
6544           }
6545
6546           show_edge_left(Float:val) {
6547              set_state(PART:"clipper-edge-left", "visible", 0.0);
6548              set_drag(PART:"edge-drag-left", 0.0, val);
6549
6550              set_state(PART:"clipper-edge-right", "default", 0.0);
6551              set_state(PART:"clipper-edge-top", "default", 0.0);
6552              set_state(PART:"clipper-edge-bottom", "default", 0.0);
6553              hide_corners();
6554           }
6555           show_edge_right(Float:val) {
6556              set_state(PART:"clipper-edge-right", "visible", 0.0);
6557              set_drag(PART:"edge-drag-right", 0.0, val);
6558
6559              set_state(PART:"clipper-edge-left", "default", 0.0);
6560              set_state(PART:"clipper-edge-top", "default", 0.0);
6561              set_state(PART:"clipper-edge-bottom", "default", 0.0);
6562              hide_corners();
6563           }
6564
6565           show_edge_top(Float:val) {
6566              set_state(PART:"clipper-edge-top", "visible", 0.0);
6567              set_drag(PART:"edge-drag-top", val, 0.0);
6568
6569              set_state(PART:"clipper-edge-bottom", "default", 0.0);
6570              set_state(PART:"clipper-edge-left", "default", 0.0);
6571              set_state(PART:"clipper-edge-right", "default", 0.0);
6572              hide_corners();
6573           }
6574           show_edge_bottom(Float:val) {
6575              set_state(PART:"clipper-edge-bottom", "visible", 0.0);
6576              set_drag(PART:"edge-drag-bottom", val, 0.0);
6577
6578              set_state(PART:"clipper-edge-top", "default", 0.0);
6579              set_state(PART:"clipper-edge-left", "default", 0.0);
6580              set_state(PART:"clipper-edge-right", "default", 0.0);
6581              hide_corners();
6582           }
6583
6584           public message(Msg_Type:type, id, ...) {
6585              if ((type == MSG_FLOAT_SET) && (id == 1)) {
6586                 new Float:x, Float:y;
6587
6588                 x = getfarg(2);
6589                 y = getfarg(3);
6590
6591                 if (x < 0.0)
6592                   {
6593                      if (y < 0.0)      show_corner_top_left();
6594                      else if (y > 1.0) show_corner_bottom_left();
6595                      else              show_edge_left(y);
6596                   }
6597                 else if (x > 1.0)
6598                   {
6599                      if (y < 0.0)      show_corner_top_right();
6600                      else if (y > 1.0) show_corner_bottom_right();
6601                      else              show_edge_right(y);
6602                   }
6603                 else
6604                   {
6605                      if (y < 0.0)      show_edge_top(x);
6606                      else if (y > 1.0) show_edge_bottom(x);
6607                      else
6608                        {
6609                           hide_corners();
6610                           hide_edges();
6611                        }
6612                   }
6613              }
6614           }
6615        }
6616        parts {
6617            part { name: "clipper";
6618                type: RECT;
6619                description { state: "default" 0.0;
6620                    color: 255 255 255 0;
6621                    rel1.to: "elm.swallow.content";
6622                    rel1.offset: -64 -64;
6623                    rel2.to: "elm.swallow.content";
6624                    rel2.offset: 63 63;
6625                }
6626                description { state: "visible" 0.0;
6627                    inherit: "default" 0.0;
6628                    color: 255 255 255 255;
6629                }
6630            }
6631            part { name: "pop";
6632                mouse_events: 0;
6633                clip_to: "clipper";
6634                description { state: "default" 0.0;
6635                    min: 30 30;
6636                    rel1 {
6637                        to: "elm.swallow.content";
6638                        offset: -15 -15;
6639                    }
6640                    rel2 {
6641                        to: "elm.swallow.content";
6642                        offset: 14 14;
6643                    }
6644                    image {
6645                        normal: "tooltip-base.png";
6646                        border: 14 14 14 14;
6647                    }
6648                    image.middle: SOLID;
6649                }
6650            }
6651
6652 #define TT_CORNER(name_, rx, ry, ax, ay, ox, oy)                        \
6653            part { name: "corner-"name_;                                 \
6654               type: IMAGE;                                              \
6655               mouse_events: 0;                                          \
6656               clip_to: "clipper";                                       \
6657               description { state: "default" 0.0;                       \
6658                  color: 255 255 255 0;                                  \
6659                  visible: 0;                                            \
6660                  min: 14 14;                                            \
6661                  max: 14 14;                                            \
6662                  align: ax ay;                                          \
6663                  fixed: 1 1;                                            \
6664                  rel1 {                                                 \
6665                     relative: rx ry;                                    \
6666                     offset: ox oy;                                      \
6667                     to: "elm.swallow.content";                          \
6668                  }                                                      \
6669                  rel2 {                                                 \
6670                     relative: rx ry;                                    \
6671                     offset: ox oy;                                      \
6672                     to: "elm.swallow.content";                          \
6673                  }                                                      \
6674                  image.normal: "tooltip-corner-"name_"-tip.png";        \
6675               }                                                         \
6676               description { state: "visible" 0.0;                       \
6677                  inherit: "default" 0.0;                                \
6678                  color: 255 255 255 255;                                \
6679                  visible: 1;                                            \
6680               }                                                         \
6681            }
6682            TT_CORNER("top-left", 0, 0, 1, 1, 4, 4);
6683            TT_CORNER("top-right", 1, 0, 0, 1, -5, 4);
6684            TT_CORNER("bottom-left", 0, 1, 1, 0, 4, -5);
6685            TT_CORNER("bottom-right", 1, 1, 0, 0, -5, -5);
6686 #undef TT_CORNER
6687
6688 #define TT_EDGE_VERT(name_, rx, ax, ox)                                 \
6689            part { name: "clipper-edge-"name_;                           \
6690               type: RECT;                                               \
6691               clip_to: "clipper";                                       \
6692               description { state: "default" 0.0;                       \
6693                  color: 255 255 255 0;                                  \
6694                  visible: 0;                                            \
6695                  min: 14 14;                                            \
6696                  align: ax 0.5;                                         \
6697                  fixed: 1 1;                                            \
6698                  rel1 {                                                 \
6699                     relative: rx 0.0;                                   \
6700                     offset: ox 0;                                       \
6701                     to: "elm.swallow.content";                          \
6702                  }                                                      \
6703                  rel2 {                                                 \
6704                     relative: rx 1.0;                                   \
6705                     offset: ox 0;                                       \
6706                     to: "elm.swallow.content";                          \
6707                  }                                                      \
6708               }                                                         \
6709               description { state: "visible" 0.0;                       \
6710                  inherit: "default" 0.0;                                \
6711                  color: 255 255 255 255;                                \
6712                  visible: 1;                                            \
6713               }                                                         \
6714            }                                                            \
6715            part { name: "edge-area-"name_;                              \
6716               type: RECT;                                               \
6717               mouse_events: 0;                                          \
6718               clip_to: "clipper-edge-"name_;                            \
6719               description { state: "default" 0.0;                       \
6720                  color: 0 0 0 0;                                        \
6721                  min: 14 14;                                            \
6722                  align: ax 0.5;                                         \
6723                  fixed: 1 1;                                            \
6724                  rel1 {                                                 \
6725                     relative: rx 0.0;                                   \
6726                     offset: ox 0;                                       \
6727                     to: "elm.swallow.content";                          \
6728                  }                                                      \
6729                  rel2 {                                                 \
6730                     relative: rx 1.0;                                   \
6731                     offset: ox 0;                                       \
6732                     to: "elm.swallow.content";                          \
6733                  }                                                      \
6734               }                                                         \
6735            }                                                            \
6736            part { name: "edge-drag-"name_;                              \
6737               type: RECT;                                               \
6738               mouse_events: 0;                                          \
6739               clip_to: "clipper-edge-"name_;                            \
6740               dragable {                                                \
6741                   x: 0 0 0;                                             \
6742                   y: 1 1 0;                                             \
6743                   confine: "edge-area-"name_;                           \
6744               }                                                         \
6745               description { state: "default" 0.0;                       \
6746                  color: 0 0 0 0;                                        \
6747                  min: 14 14;                                            \
6748                  rel1.to: "edge-area-"name_;                            \
6749                  rel2.to: "edge-area-"name_;                            \
6750               }                                                         \
6751            }                                                            \
6752            part { name: "edge-img-"name_;                               \
6753               type: IMAGE;                                              \
6754               mouse_events: 0;                                          \
6755               clip_to: "clipper-edge-"name_;                            \
6756               description { state: "default" 0.0;                       \
6757                  min: 14 14;                                            \
6758                  max: 14 14;                                            \
6759                  align: ax 0.5;                                         \
6760                  fixed: 1 1;                                            \
6761                  rel1.to: "edge-drag-"name_;                            \
6762                  rel2.to: "edge-drag-"name_;                            \
6763                  image.normal: "tooltip-edge-"name_"-tip.png";          \
6764               }                                                         \
6765            }
6766            TT_EDGE_VERT("left", 0, 1, -2);
6767            TT_EDGE_VERT("right", 1, 0, 1);
6768 #undef TT_EDGE_VERT
6769
6770 #define TT_EDGE_HORIZ(name_, ry, ay, oy)                                \
6771            part { name: "clipper-edge-"name_;                           \
6772               type: RECT;                                               \
6773               clip_to: "clipper";                                       \
6774               description { state: "default" 0.0;                       \
6775                  color: 255 255 255 0;                                  \
6776                  visible: 0;                                            \
6777                  min: 14 14;                                            \
6778                  align: 0.5 ay;                                         \
6779                  fixed: 1 1;                                            \
6780                  rel1 {                                                 \
6781                     relative: 0.0 ry;                                   \
6782                     offset: 0 oy;                                       \
6783                     to: "elm.swallow.content";                          \
6784                  }                                                      \
6785                  rel2 {                                                 \
6786                     relative: 1.0 ry;                                   \
6787                     offset: 0 oy;                                       \
6788                     to: "elm.swallow.content";                          \
6789                  }                                                      \
6790               }                                                         \
6791               description { state: "visible" 0.0;                       \
6792                  inherit: "default" 0.0;                                \
6793                  color: 255 255 255 255;                                \
6794                  visible: 1;                                            \
6795               }                                                         \
6796            }                                                            \
6797            part { name: "edge-area-"name_;                              \
6798               type: RECT;                                               \
6799               mouse_events: 0;                                          \
6800               clip_to: "clipper-edge-"name_;                            \
6801               description { state: "default" 0.0;                       \
6802                  color: 0 0 0 0;                                        \
6803                  min: 14 14;                                            \
6804                  align: 0.5 ay;                                         \
6805                  fixed: 1 1;                                            \
6806                  rel1 {                                                 \
6807                     relative: 0.0 ry;                                   \
6808                     offset: 0 oy;                                       \
6809                     to: "elm.swallow.content";                          \
6810                  }                                                      \
6811                  rel2 {                                                 \
6812                     relative: 1.0 ry;                                   \
6813                     offset: 0 oy;                                       \
6814                     to: "elm.swallow.content";                          \
6815                  }                                                      \
6816               }                                                         \
6817            }                                                            \
6818            part { name: "edge-drag-"name_;                              \
6819               type: RECT;                                               \
6820               mouse_events: 0;                                          \
6821               clip_to: "clipper-edge-"name_;                            \
6822               dragable {                                                \
6823                   x: 1 1 0;                                             \
6824                   y: 0 0 0;                                             \
6825                   confine: "edge-area-"name_;                           \
6826               }                                                         \
6827               description { state: "default" 0.0;                       \
6828                  color: 0 0 0 0;                                        \
6829                  min: 14 14;                                            \
6830                  rel1.to: "edge-area-"name_;                            \
6831                  rel2.to: "edge-area-"name_;                            \
6832               }                                                         \
6833            }                                                            \
6834            part { name: "edge-img-"name_;                               \
6835               type: IMAGE;                                              \
6836               mouse_events: 0;                                          \
6837               clip_to: "clipper-edge-"name_;                            \
6838               description { state: "default" 0.0;                       \
6839                  min: 14 14;                                            \
6840                  max: 14 14;                                            \
6841                  align: 0.5 ay;                                         \
6842                  fixed: 1 1;                                            \
6843                  rel1.to: "edge-drag-"name_;                            \
6844                  rel2.to: "edge-drag-"name_;                            \
6845                  image.normal: "tooltip-edge-"name_"-tip.png";          \
6846               }                                                         \
6847            }
6848            TT_EDGE_HORIZ("top", 0, 1, -2);
6849            TT_EDGE_HORIZ("bottom", 1, 0, 1);
6850 #undef TT_EDGE_HORIZ
6851
6852            part { name: "clipper_content";
6853                type: RECT;
6854                description { state: "default" 0.0;
6855                    color: 255 255 255 0;
6856                    rel1.to: "elm.swallow.content";
6857                    rel1.offset: -64 -64;
6858                    rel2.to: "elm.swallow.content";
6859                    rel2.offset: 63 63;
6860                }
6861                description { state: "visible" 0.0;
6862                    inherit: "default" 0.0;
6863                    color: 255 255 255 255;
6864                }
6865            }
6866            part { name: "elm.swallow.content";
6867                type: SWALLOW;
6868                clip_to: "clipper_content";
6869                description { state: "default" 0.0; }
6870            }
6871            programs {
6872                program {
6873                    name: "show0";
6874                    signal: "elm,action,show";
6875                    source: "elm";
6876                    action: ACTION_STOP;
6877                    target: "hide0";
6878                    target: "hide1";
6879                    target: "hide2";
6880                    target: "hide3";
6881                    after: "show1";
6882                    after: "show2";
6883                }
6884                program {
6885                    name: "show1";
6886                    action: STATE_SET "visible" 0.0;
6887                    transition: LINEAR 0.15;
6888                    target: "clipper";
6889                }
6890                program {
6891                    name: "show2";
6892                    in: 0.1 0.0;
6893                    action: STATE_SET "visible" 0.0;
6894                    transition: LINEAR 0.15;
6895                    target: "clipper_content";
6896                }
6897
6898                program {
6899                    name: "hide0";
6900                    signal: "elm,action,hide";
6901                    source: "elm";
6902                    action: ACTION_STOP;
6903                    target: "show0";
6904                    target: "show1";
6905                    target: "show2";
6906                    after: "hide1";
6907                    after: "hide2";
6908                    after: "hide3";
6909                }
6910                program {
6911                    name: "hide1";
6912                    script {
6913                       hide_corners();
6914                       hide_edges();
6915                    }
6916                }
6917                program {
6918                    name: "hide2";
6919                    action: STATE_SET "default" 0.0;
6920                    transition: LINEAR 0.1;
6921                    target: "clipper_content";
6922                }
6923                program {
6924                    name: "hide3";
6925                    in: 0.1 0.0;
6926                    action: STATE_SET "default" 0.0;
6927                    transition: LINEAR 0.1;
6928                    target: "clipper";
6929                }
6930            }
6931        }
6932    }
6933    group { name: "elm/tooltip/base/transparent";
6934       parts {
6935          part { name: "elm.swallow.content";
6936             type: SWALLOW;
6937             mouse_events:   0;
6938             scale: 1;
6939             description { state: "default" 0.0; }
6940          }
6941       }
6942    }
6943
6944 ///////////////////////////////////////////////////////////////////////////////
6945
6946    /* TODO: replicate diagonal swallow slots to the other hover styles */
6947    group { name: "elm/hover/base/default";
6948       images {
6949          image: "shad_circ.png" COMP;
6950       }
6951       parts {
6952          part { name: "elm.swallow.offset";
6953             type: SWALLOW;
6954             description { state: "default" 0.0;
6955                align: 0.0 0.0;
6956                rel1.relative: 0.0 0.0;
6957                rel2.relative: 0.0 0.0;
6958             }
6959          }
6960          part { name: "elm.swallow.size";
6961             type: SWALLOW;
6962             description { state: "default" 0.0;
6963                align: 0.0 0.0;
6964                rel1.to: "elm.swallow.offset";
6965                rel1.relative: 1.0 1.0;
6966                rel2.to: "elm.swallow.offset";
6967                rel2.relative: 1.0 1.0;
6968             }
6969          }
6970          part { name: "base";
6971             type: RECT;
6972             mouse_events: 1;
6973             description { state: "default" 0.0;
6974                color: 0 0 0 64;
6975             }
6976          }
6977          part { name: "shad";
6978             mouse_events:  0;
6979             description { state: "default" 0.0;
6980                image.normal: "shad_circ.png";
6981                rel1.to: "elm.swallow.size";
6982                rel1.offset: -32 -32;
6983                rel2.to: "elm.swallow.size";
6984                rel2.offset: 31 31;
6985                fill.smooth: 0;
6986             }
6987          }
6988          part { name: "box";
6989             type: RECT;
6990             mouse_events: 0;
6991             description { state: "default" 0.0;
6992                color: 0 0 0 0;
6993                rel1.to: "elm.swallow.size";
6994                rel1.offset: -2 -2;
6995                rel2.to: "elm.swallow.size";
6996                rel2.offset: 1 1;
6997             }
6998          }
6999          part { name: "elm.swallow.slot.left";
7000             type: SWALLOW;
7001             description { state: "default" 0.0;
7002                align: 1.0 0.5;
7003                rel1.to: "elm.swallow.slot.middle";
7004                rel1.relative: 0.0 0.0;
7005                rel1.offset: -1 0;
7006                rel2.to: "elm.swallow.slot.middle";
7007                rel2.relative: 0.0 1.0;
7008                rel2.offset: -1 -1;
7009             }
7010          }
7011          part { name: "elm.swallow.slot.top-left";
7012             type: SWALLOW;
7013             description { state: "default" 0.0;
7014                align: 1.0 1.0;
7015                rel1.to: "elm.swallow.slot.middle";
7016                rel1.relative: 0.0 0.0;
7017                rel1.offset: 0 0;
7018                rel2.to: "elm.swallow.slot.middle";
7019                rel2.relative: 0.0 0.0;
7020                rel2.offset: -1 -1;
7021             }
7022          }
7023          part { name: "elm.swallow.slot.top";
7024             type: SWALLOW;
7025             description { state: "default" 0.0;
7026                align: 0.5 1.0;
7027                rel1.to: "elm.swallow.slot.middle";
7028                rel1.relative: 0.0 0.0;
7029                rel1.offset: 0 -1;
7030                rel2.to: "elm.swallow.slot.middle";
7031                rel2.relative: 1.0 0.0;
7032                rel2.offset: -1 -1;
7033             }
7034          }
7035          part { name: "elm.swallow.slot.top-right";
7036             type: SWALLOW;
7037             description { state: "default" 0.0;
7038                align: 0.0 1.0;
7039                rel1.to: "elm.swallow.slot.middle";
7040                rel1.relative: 1.0 0.0;
7041                rel1.offset: 0 0;
7042                rel2.to: "elm.swallow.slot.middle";
7043                rel2.relative: 1.0 0.0;
7044                rel2.offset: -1 -1;
7045             }
7046          }
7047          part { name: "elm.swallow.slot.right";
7048             type: SWALLOW;
7049             description { state: "default" 0.0;
7050                align: 0.0 0.5;
7051                rel1.to: "elm.swallow.slot.middle";
7052                rel1.relative: 1.0 0.0;
7053                rel1.offset: 0 0;
7054                rel2.to: "elm.swallow.slot.middle";
7055                rel2.relative: 1.0 1.0;
7056                rel2.offset: 0 -1;
7057             }
7058          }
7059          part { name: "elm.swallow.slot.bottom-right";
7060             type: SWALLOW;
7061             description { state: "default" 0.0;
7062                align: 0.0 0.0;
7063                rel1.to: "elm.swallow.slot.middle";
7064                rel1.relative: 1.0 1.0;
7065                rel1.offset: 0 0;
7066                rel2.to: "elm.swallow.slot.middle";
7067                rel2.relative: 1.0 1.0;
7068                rel2.offset: -1 -1;
7069             }
7070          }
7071          part { name: "elm.swallow.slot.bottom";
7072             type: SWALLOW;
7073             description { state: "default" 0.0;
7074                align: 0.5 0.0;
7075                rel1.to: "elm.swallow.slot.middle";
7076                rel1.relative: 0.0 1.0;
7077                rel1.offset: 0 0;
7078                rel2.to: "elm.swallow.slot.middle";
7079                rel2.relative: 1.0 1.0;
7080                rel2.offset: -1 0;
7081             }
7082          }
7083          part { name: "elm.swallow.slot.bottom-left";
7084             type: SWALLOW;
7085             description { state: "default" 0.0;
7086                align: 1.0 0.0;
7087                rel1.to: "elm.swallow.slot.middle";
7088                rel1.relative: 0.0 1.0;
7089                rel1.offset: 0 0;
7090                rel2.to: "elm.swallow.slot.middle";
7091                rel2.relative: 0.0 1.0;
7092                rel2.offset: -1 0;
7093             }
7094          }
7095          part { name: "elm.swallow.slot.middle";
7096             type: SWALLOW;
7097             description { state: "default" 0.0;
7098                rel1.to: "elm.swallow.size";
7099                rel2.to: "elm.swallow.size";
7100             }
7101          }
7102       }
7103       programs {
7104          program { name: "end";
7105             signal: "mouse,up,1";
7106             source: "base";
7107             action: SIGNAL_EMIT "elm,action,dismiss" "";
7108          }
7109       }
7110    }
7111
7112    group { name: "elm/hover/base/popout";
7113       images {
7114          image: "shad_circ.png" COMP;
7115          image: "bt_dis_base.png" COMP;
7116          image: "bt_dis_hilight.png" COMP;
7117       }
7118       parts {
7119          part { name: "elm.swallow.offset";
7120             type: SWALLOW;
7121             description { state: "default" 0.0;
7122                align: 0.0 0.0;
7123                rel1.relative: 0.0 0.0;
7124                rel2.relative: 0.0 0.0;
7125             }
7126          }
7127          part { name: "elm.swallow.size";
7128             type: SWALLOW;
7129             description { state: "default" 0.0;
7130                align: 0.0 0.0;
7131                rel1.to: "elm.swallow.offset";
7132                rel1.relative: 1.0 1.0;
7133                rel2.to: "elm.swallow.offset";
7134                rel2.relative: 1.0 1.0;
7135             }
7136          }
7137          part { name: "base";
7138             type: RECT;
7139             mouse_events: 1;
7140             description { state: "default" 0.0;
7141                color: 0 0 0 0;
7142             }
7143             description { state: "visible" 0.0;
7144                inherit: "default" 1.0;
7145                color: 0 0 0 64;
7146             }
7147          }
7148          part { name: "leftclip";
7149             type: RECT;
7150             description { state: "default" 0.0;
7151                rel2.to_x: "pop";
7152                rel2.relative: 0.0 1.0;
7153                rel2.offset: 1 -1;
7154             }
7155          }
7156          part { name: "left";
7157             clip_to: "leftclip";
7158             description { state: "default" 0.0;
7159                visible: 0;
7160                rel1.to: "elm.swallow.slot.left";
7161                rel1.offset: -5 -5;
7162                rel2.to: "elm.swallow.slot.left";
7163                rel2.offset: 4 4;
7164                image {
7165                   normal: "bt_dis_base.png";
7166                   border: 4 4 4 4;
7167                }
7168                image.middle: SOLID;
7169             }
7170             description { state: "visible" 0.0;
7171                inherit: "default" 0.0;
7172                visible: 1;
7173             }
7174          }
7175          part { name: "elm.swallow.slot.left";
7176             type: SWALLOW;
7177             clip_to: "leftclip";
7178             description { state: "default" 0.0;
7179                align: 0.0 0.5;
7180                rel1.to: "elm.swallow.slot.middle";
7181                rel1.relative: 0.0 0.0;
7182                rel1.offset: -1 0;
7183                rel2.to: "elm.swallow.slot.middle";
7184                rel2.relative: 0.0 1.0;
7185                rel2.offset: -1 -1;
7186             }
7187             description { state: "visible" 0.0;
7188                inherit: "default" 0.0;
7189                rel1.offset: -7 0;
7190                rel2.offset: -7 -1;
7191                align: 1.0 0.5;
7192             }
7193          }
7194          part { name: "leftover";
7195             clip_to: "leftclip";
7196             mouse_events: 0;
7197             description { state: "default" 0.0;
7198                rel1.to: "left";
7199                rel2.to: "left";
7200                rel2.relative: 1.0 0.5;
7201                image {
7202                   normal: "bt_dis_hilight.png";
7203                   border: 4 4 4 0;
7204                }
7205             }
7206          }
7207          part { name: "rightclip";
7208             type: RECT;
7209             description { state: "default" 0.0;
7210                rel1.to_x: "pop";
7211                rel1.relative: 1.0 0.0;
7212                rel1.offset: -2 0;
7213             }
7214          }
7215          part { name: "right";
7216             clip_to: "rightclip";
7217             description { state: "default" 0.0;
7218                visible: 0;
7219                rel1.to: "elm.swallow.slot.right";
7220                rel1.offset: -5 -5;
7221                rel2.to: "elm.swallow.slot.right";
7222                rel2.offset: 4 4;
7223                image {
7224                   normal: "bt_dis_base.png";
7225                   border: 4 4 4 4;
7226                }
7227                image.middle: SOLID;
7228             }
7229             description { state: "visible" 0.0;
7230                inherit: "default" 0.0;
7231                visible: 1;
7232             }
7233          }
7234          part { name: "elm.swallow.slot.right";
7235             type: SWALLOW;
7236             clip_to: "rightclip";
7237             description { state: "default" 0.0;
7238                align: 1.0 0.5;
7239                rel1.to: "elm.swallow.slot.middle";
7240                rel1.relative: 1.0 0.0;
7241                rel1.offset: 0 0;
7242                rel2.to: "elm.swallow.slot.middle";
7243                rel2.relative: 1.0 1.0;
7244                rel2.offset: 0 -1;
7245             }
7246             description { state: "visible" 0.0;
7247                inherit: "default" 0.0;
7248                rel1.offset: 6 0;
7249                rel2.offset: 6 -1;
7250                align: 0.0 0.5;
7251             }
7252          }
7253          part { name: "rightover";
7254             clip_to: "rightclip";
7255             mouse_events: 0;
7256             description { state: "default" 0.0;
7257                rel1.to: "right";
7258                rel2.to: "right";
7259                rel2.relative: 1.0 0.5;
7260                image {
7261                   normal: "bt_dis_hilight.png";
7262                   border: 4 4 4 0;
7263                }
7264             }
7265          }
7266          part { name: "topclip";
7267             type: RECT;
7268             description { state: "default" 0.0;
7269                rel2.to_y: "pop";
7270                rel2.relative: 1.0 0.0;
7271                rel2.offset: -1 1;
7272             }
7273          }
7274          part { name: "top";
7275             clip_to: "topclip";
7276             description { state: "default" 0.0;
7277                visible: 0;
7278                rel1.to: "elm.swallow.slot.top";
7279                rel1.offset: -5 -5;
7280                rel2.to: "elm.swallow.slot.top";
7281                rel2.offset: 4 4;
7282                image {
7283                   normal: "bt_dis_base.png";
7284                   border: 4 4 4 4;
7285                }
7286                image.middle: SOLID;
7287             }
7288             description { state: "visible" 0.0;
7289                inherit: "default" 0.0;
7290                visible: 1;
7291             }
7292          }
7293          part { name: "elm.swallow.slot.top";
7294             type: SWALLOW;
7295             clip_to: "topclip";
7296             description { state: "default" 0.0;
7297                visible: 1;
7298                align: 0.5 0.0;
7299                rel1.to: "elm.swallow.slot.middle";
7300                rel1.relative: 0.0 0.0;
7301                rel1.offset: 0 -1;
7302                rel2.to: "elm.swallow.slot.middle";
7303                rel2.relative: 1.0 0.0;
7304                rel2.offset: -1 -1;
7305             }
7306             description { state: "visible" 0.0;
7307                inherit: "default" 0.0;
7308                rel1.offset: 0 -7;
7309                rel2.offset: -1 -7;
7310                align: 0.5 1.0;
7311             }
7312          }
7313          part { name: "topover";
7314             clip_to: "topclip";
7315             mouse_events: 0;
7316             description { state: "default" 0.0;
7317                rel1.to: "top";
7318                rel2.to: "top";
7319                rel2.relative: 1.0 0.5;
7320                image {
7321                   normal: "bt_dis_hilight.png";
7322                   border: 4 4 4 0;
7323                }
7324             }
7325          }
7326          part { name: "bottomclip";
7327             type: RECT;
7328             description { state: "default" 0.0;
7329                rel1.to_y: "pop";
7330                rel1.relative: 0.0 1.0;
7331                rel1.offset: -1 -2;
7332             }
7333          }
7334          part { name: "bottom";
7335             clip_to: "bottomclip";
7336             description { state: "default" 0.0;
7337                visible: 0;
7338                rel1.to: "elm.swallow.slot.bottom";
7339                rel1.offset: -5 -5;
7340                rel2.to: "elm.swallow.slot.bottom";
7341                rel2.offset: 4 4;
7342                image {
7343                   normal: "bt_dis_base.png";
7344                   border: 4 4 4 4;
7345                }
7346                image.middle: SOLID;
7347             }
7348             description { state: "visible" 0.0;
7349                inherit: "default" 0.0;
7350                visible: 1;
7351             }
7352          }
7353          part { name: "elm.swallow.slot.bottom";
7354             type: SWALLOW;
7355             clip_to: "bottomclip";
7356             description { state: "default" 0.0;
7357                align: 0.5 1.0;
7358                rel1.to: "elm.swallow.slot.middle";
7359                rel1.relative: 0.0 1.0;
7360                rel1.offset: 0 0;
7361                rel2.to: "elm.swallow.slot.middle";
7362                rel2.relative: 1.0 1.0;
7363                rel2.offset: -1 0;
7364             }
7365             description { state: "visible" 0.0;
7366                inherit: "default" 0.0;
7367                rel1.offset: 0 6;
7368                rel2.offset: -1 6;
7369                align: 0.5 0.0;
7370             }
7371          }
7372          part { name: "bottomover";
7373             clip_to: "bottomclip";
7374             mouse_events: 0;
7375             description { state: "default" 0.0;
7376                rel1.to: "bottom";
7377                rel2.to: "bottom";
7378                rel2.relative: 1.0 0.5;
7379                image {
7380                   normal: "bt_dis_hilight.png";
7381                   border: 4 4 4 0;
7382                }
7383             }
7384          }
7385          part { name: "shad";
7386             mouse_events:  0;
7387             description { state: "default" 0.0;
7388                image.normal: "shad_circ.png";
7389                rel1.to: "elm.swallow.size";
7390                rel1.offset: -64 -64;
7391                rel2.to: "elm.swallow.size";
7392                rel2.offset: 63 63;
7393                fill.smooth: 0;
7394             }
7395          }
7396          part { name: "pop";
7397             mouse_events: 1;
7398             description { state: "default" 0.0;
7399                rel1.to: "elm.swallow.slot.middle";
7400                rel1.offset: -5 -5;
7401                rel2.to: "elm.swallow.slot.middle";
7402                rel2.offset: 4 4;
7403                image {
7404                   normal: "bt_dis_base.png";
7405                   border: 4 4 4 4;
7406                }
7407                image.middle: SOLID;
7408             }
7409          }
7410          part { name: "elm.swallow.slot.middle";
7411             type: SWALLOW;
7412             description { state: "default" 0.0;
7413                rel1.to: "elm.swallow.size";
7414                rel2.to: "elm.swallow.size";
7415             }
7416          }
7417          part { name: "popover";
7418             mouse_events: 0;
7419             description { state: "default" 0.0;
7420                rel1.to: "pop";
7421                rel2.to: "pop";
7422                rel2.relative: 1.0 0.5;
7423                image {
7424                   normal: "bt_dis_hilight.png";
7425                   border: 4 4 4 0;
7426                }
7427             }
7428          }
7429       }
7430       programs {
7431          program { name: "end";
7432             signal: "mouse,up,1";
7433             source: "base";
7434             action: SIGNAL_EMIT "elm,action,dismiss" "";
7435          }
7436
7437          program { name: "show";
7438             signal: "elm,action,show";
7439             source: "elm";
7440             action: STATE_SET "visible" 0.0;
7441 //          transition: DECELERATE 0.5;
7442             target: "base";
7443          }
7444          program { name: "hide";
7445             signal: "elm,action,hide";
7446             source: "elm";
7447             action: STATE_SET "default" 0.0;
7448 //          transition: DECELERATE 0.5;
7449             target: "base";
7450          }
7451
7452          program { name: "leftshow";
7453             signal: "elm,action,slot,left,show";
7454             source: "elm";
7455             action: STATE_SET "visible" 0.0;
7456             transition: DECELERATE 0.5;
7457             target: "left";
7458             target: "elm.swallow.slot.left";
7459          }
7460          program { name: "lefthide";
7461             signal: "elm,action,slot,left,hide";
7462             source: "elm";
7463             action: STATE_SET "default" 0.0;
7464             transition: DECELERATE 0.5;
7465             target: "left";
7466             target: "elm.swallow.slot.left";
7467          }
7468          program { name: "rightshow";
7469             signal: "elm,action,slot,right,show";
7470             source: "elm";
7471             action: STATE_SET "visible" 0.0;
7472             transition: DECELERATE 0.5;
7473             target: "right";
7474             target: "elm.swallow.slot.right";
7475          }
7476          program { name: "righthide";
7477             signal: "elm,action,slot,right,hide";
7478             source: "elm";
7479             action: STATE_SET "default" 0.0;
7480             transition: DECELERATE 0.5;
7481             target: "right";
7482             target: "elm.swallow.slot.right";
7483          }
7484          program { name: "topshow";
7485             signal: "elm,action,slot,top,show";
7486             source: "elm";
7487             action: STATE_SET "visible" 0.0;
7488             transition: DECELERATE 0.5;
7489             target: "top";
7490             target: "elm.swallow.slot.top";
7491          }
7492          program { name: "tophide";
7493             signal: "elm,action,slot,top,hide";
7494             source: "elm";
7495             action: STATE_SET "default" 0.0;
7496             transition: DECELERATE 0.5;
7497             target: "top";
7498             target: "elm.swallow.slot.top";
7499          }
7500          program { name: "bottomshow";
7501             signal: "elm,action,slot,bottom,show";
7502             source: "elm";
7503             action: STATE_SET "visible" 0.0;
7504             transition: DECELERATE 0.5;
7505             target: "bottom";
7506             target: "elm.swallow.slot.bottom";
7507          }
7508          program { name: "bottomhide";
7509             signal: "elm,action,slot,bottom,hide";
7510             source: "elm";
7511             action: STATE_SET "default" 0.0;
7512             transition: DECELERATE 0.5;
7513             target: "bottom";
7514             target: "elm.swallow.slot.bottom";
7515          }
7516       }
7517    }
7518
7519    //In the hover used by the menu only the bottom part is used.
7520    group { name: "elm/hover/base/menu";
7521        images {
7522            image: "shad_circ.png" COMP;
7523            image: "bt_dis_base.png" COMP;
7524        }
7525        parts {
7526            part { name: "elm.swallow.offset";
7527                type: SWALLOW;
7528                description { state: "default" 0.0;
7529                    align: 0.0 0.0;
7530                    rel1.relative: 0.0 0.0;
7531                    rel2.relative: 0.0 0.0;
7532                }
7533            }
7534            part { name: "elm.swallow.size";
7535                type: SWALLOW;
7536                description { state: "default" 0.0;
7537                    align: 0.0 0.0;
7538                    rel1.to: "elm.swallow.offset";
7539                    rel1.relative: 1.0 1.0;
7540                    rel2.to: "elm.swallow.offset";
7541                    rel2.relative: 1.0 1.0;
7542                }
7543            }
7544            part { name: "base";
7545                type: RECT;
7546                mouse_events: 1;
7547                description { state: "default" 0.0;
7548                    color: 0 0 0 0;
7549                }
7550                description { state: "visible" 0.0;
7551                    inherit: "default" 1.0;
7552                    color: 0 0 0 64;
7553                }
7554            }
7555            part { name: "elm.swallow.slot.left";
7556                type: SWALLOW;
7557                description { state: "default" 0.0;
7558                }
7559            }
7560            part { name: "elm.swallow.slot.right";
7561                type: SWALLOW;
7562                description { state: "default" 0.0;
7563                }
7564            }
7565            part { name: "elm.swallow.slot.top";
7566                type: SWALLOW;
7567                description { state: "default" 0.0;
7568                }
7569                description { state: "visible" 0.0;
7570                    inherit: "default" 0.0;
7571                }
7572            }
7573            part { name: "bottomclip";
7574                type: RECT;
7575                description { state: "default" 0.0;
7576                    rel1.to_y: "pop";
7577                    rel1.relative: 0.0 1.0;
7578                    rel1.offset: -1 -2;
7579                }
7580            }
7581            part { name: "bottom";
7582                clip_to: "bottomclip";
7583                description { state: "default" 0.0;
7584                    visible: 0;
7585                    rel1.to: "elm.swallow.slot.bottom";
7586                    rel1.offset: -5 -5;
7587                    rel2.to: "elm.swallow.slot.bottom";
7588                    rel2.offset: 4 4;
7589                    image {
7590                        normal: "bt_dis_base.png";
7591                        border: 4 4 4 4;
7592                    }
7593                    image.middle: SOLID;
7594                }
7595                description { state: "visible" 0.0;
7596                    inherit: "default" 0.0;
7597                    visible: 1;
7598                }
7599            }
7600            part { name: "elm.swallow.slot.bottom";
7601                type: SWALLOW;
7602                clip_to: "bottomclip";
7603                description { state: "default" 0.0;
7604                    align: 0.5 1.0;
7605                    rel1.to: "elm.swallow.slot.middle";
7606                    rel1.relative: 0.0 1.0;
7607                    rel1.offset: 0 0;
7608                    rel2.to: "elm.swallow.slot.middle";
7609                    rel2.relative: 1.0 1.0;
7610                    rel2.offset: -1 0;
7611                }
7612                description { state: "visible" 0.0;
7613                    inherit: "default" 0.0;
7614                    rel1.offset: 0 6;
7615                    rel2.offset: -1 6;
7616                    align: 0.5 0.0;
7617                }
7618            }
7619            part { name: "pop";
7620                mouse_events: 1;
7621                repeat_events:1;
7622                description { state: "default" 0.0;
7623                    rel1.to: "elm.swallow.slot.middle";
7624                    rel1.offset: -5 -5;
7625                    rel2.to: "elm.swallow.slot.middle";
7626                    rel2.offset: 4 4;
7627                }
7628            }
7629            part { name: "elm.swallow.slot.middle";
7630                type: SWALLOW;
7631                repeat_events:1;
7632                description { state: "default" 0.0;
7633                    rel1.to: "elm.swallow.size";
7634                    rel2.to: "elm.swallow.size";
7635                }
7636            }
7637        }
7638        programs {
7639            program { name: "end";
7640                signal: "mouse,up,1";
7641                source: "base";
7642                action: SIGNAL_EMIT "elm,action,dismiss" "";
7643            }
7644            program { name: "show";
7645                signal: "elm,action,show";
7646                source: "elm";
7647                action: STATE_SET "visible" 0.0;
7648                        //           transition: DECELERATE 0.5;
7649                target: "base";
7650            }
7651            program { name: "hide";
7652                signal: "elm,action,hide";
7653                source: "elm";
7654                action: STATE_SET "default" 0.0;
7655                        //           transition: DECELERATE 0.5;
7656                target: "base";
7657            }
7658            program { name: "bottomshow";
7659                signal: "elm,action,slot,bottom,show";
7660                source: "elm";
7661                action: STATE_SET "visible" 0.0;
7662                transition: DECELERATE 0.3;
7663                target: "bottom";
7664                target: "elm.swallow.slot.bottom";
7665            }
7666            program { name: "bottomhide";
7667                signal: "elm,action,slot,bottom,hide";
7668                source: "elm";
7669                action: STATE_SET "default" 0.0;
7670                transition: DECELERATE 0.5;
7671                target: "bottom";
7672                target: "elm.swallow.slot.bottom";
7673            }
7674        }
7675    }
7676
7677    //In the hover used by the submenu only the bottom part is used
7678    //and no part should interact except the bottom area
7679    group { name: "elm/hover/base/submenu";
7680        images {
7681            image: "shad_circ.png" COMP;
7682            image: "bt_dis_base.png" COMP;
7683        }
7684        parts {
7685            part { name: "elm.swallow.offset";
7686                type: SWALLOW;
7687                repeat_events:1;
7688                description { state: "default" 0.0;
7689                    align: 0.0 0.0;
7690                    rel1.relative: 0.0 0.0;
7691                    rel2.relative: 0.0 0.0;
7692                }
7693            }
7694            part { name: "elm.swallow.size";
7695                type: SWALLOW;
7696                description { state: "default" 0.0;
7697                    align: 0.0 0.0;
7698                    rel1.to: "elm.swallow.offset";
7699                    rel1.relative: 1.0 1.0;
7700                    rel2.to: "elm.swallow.offset";
7701                    rel2.relative: 1.0 1.0;
7702                }
7703            }
7704            //here we do non catch events like the hover hover does
7705            part { name: "base";
7706                type: RECT;
7707                mouse_events: 1;
7708                description { state: "default" 0.0;
7709                    color: 0 0 0 0;
7710                    visible: 0;
7711                }
7712            }
7713            part { name: "elm.swallow.slot.left";
7714                type: SWALLOW;
7715                description { state: "default" 0.0;
7716                }
7717            }
7718            part { name: "elm.swallow.slot.right";
7719                type: SWALLOW;
7720                description { state: "default" 0.0;
7721                }
7722            }
7723            part { name: "elm.swallow.slot.top";
7724                type: SWALLOW;
7725                description { state: "default" 0.0;
7726                }
7727            }
7728            part { name: "bottomclip";
7729                type: RECT;
7730                description { state: "default" 0.0;
7731                    rel1.to_y: "pop";
7732                    rel1.relative: 0.0 1.0;
7733                    rel1.offset: -1 -2;
7734                }
7735            }
7736            part { name: "bottom";
7737                clip_to: "bottomclip";
7738                description { state: "default" 0.0;
7739                    visible: 0;
7740                    rel1.to: "elm.swallow.slot.bottom";
7741                    rel1.offset: -5 -5;
7742                    rel2.to: "elm.swallow.slot.bottom";
7743                    rel2.offset: 4 4;
7744                    image {
7745                        normal: "bt_dis_base.png";
7746                        border: 4 4 4 4;
7747                    }
7748                    image.middle: SOLID;
7749                }
7750                description { state: "visible" 0.0;
7751                    inherit: "default" 0.0;
7752                    visible: 1;
7753                }
7754            }
7755            part { name: "elm.swallow.slot.bottom";
7756                type: SWALLOW;
7757                clip_to: "bottomclip";
7758                description { state: "default" 0.0;
7759                    align: 0.5 1.0;
7760                    rel1.to: "elm.swallow.slot.middle";
7761                    rel1.relative: 0.0 1.0;
7762                    rel1.offset: 0 0;
7763                    rel2.to: "elm.swallow.slot.middle";
7764                    rel2.relative: 1.0 1.0;
7765                    rel2.offset: -1 0;
7766                }
7767                description { state: "visible" 0.0;
7768                    inherit: "default" 0.0;
7769                    rel1.offset: 0 6;
7770                    rel2.offset: -1 6;
7771                    align: 0.5 0.0;
7772                }
7773            }
7774            part { name: "pop";
7775                mouse_events: 1;
7776                repeat_events:1;
7777                description { state: "default" 0.0;
7778                    rel1.to: "elm.swallow.slot.middle";
7779                    rel1.offset: -5 -5;
7780                    rel2.to: "elm.swallow.slot.middle";
7781                    rel2.offset: 4 4;
7782                }
7783            }
7784            part { name: "elm.swallow.slot.middle";
7785                type: SWALLOW;
7786                repeat_events:1;
7787                description { state: "default" 0.0;
7788                    rel1.to: "elm.swallow.size";
7789                    rel2.to: "elm.swallow.size";
7790                }
7791            }
7792        }
7793        programs {
7794            program { name: "end";
7795                signal: "mouse,up,1";
7796                source: "base";
7797                action: SIGNAL_EMIT "elm,action,dismiss" "";
7798            }
7799            program { name: "show";
7800                signal: "elm,action,show";
7801                source: "elm";
7802                action: STATE_SET "visible" 0.0;
7803                        //           transition: DECELERATE 0.5;
7804                target: "base";
7805            }
7806            program { name: "hide";
7807                signal: "elm,action,hide";
7808                source: "elm";
7809                action: STATE_SET "default" 0.0;
7810                        //           transition: DECELERATE 0.5;
7811                target: "base";
7812            }
7813            program { name: "bottomshow";
7814                signal: "elm,action,slot,bottom,show";
7815                source: "elm";
7816                action: STATE_SET "visible" 0.0;
7817                transition: DECELERATE 0.3;
7818                target: "bottom";
7819                target: "elm.swallow.slot.bottom";
7820            }
7821            program { name: "bottomhide";
7822                signal: "elm,action,slot,bottom,hide";
7823                source: "elm";
7824                action: STATE_SET "default" 0.0;
7825                transition: DECELERATE 0.5;
7826                target: "bottom";
7827                target: "elm.swallow.slot.bottom";
7828            }
7829        }
7830    }
7831
7832    group { name: "elm/hover/base/hoversel_vertical/default";
7833       alias: "elm/hover/base/hoversel_vertical/entry";
7834       images {
7835 //       image: "shad_circ.png" COMP;
7836          image: "bt_base2.png" COMP;
7837          image: "bt_hilight.png" COMP;
7838          image: "bt_shine.png" COMP;
7839          image: "outdent-top.png" COMP;
7840          image: "outdent-bottom.png" COMP;
7841       }
7842       parts {
7843          part { name: "elm.swallow.offset";
7844             type: SWALLOW;
7845             description { state: "default" 0.0;
7846                align: 0.0 0.0;
7847                rel1.relative: 0.0 0.0;
7848                rel2.relative: 0.0 0.0;
7849             }
7850          }
7851          part { name: "elm.swallow.size";
7852             type: SWALLOW;
7853             description { state: "default" 0.0;
7854                align: 0.0 0.0;
7855                rel1.to: "elm.swallow.offset";
7856                rel1.relative: 1.0 1.0;
7857                rel2.to: "elm.swallow.offset";
7858                rel2.relative: 1.0 1.0;
7859             }
7860          }
7861 /*
7862         part { name: "shad";
7863             mouse_events:  0;
7864             description { state: "default" 0.0;
7865                image.normal: "shad_circ.png";
7866                rel1.to: "button_image";
7867                rel1.offset: -64 -64;
7868                rel2.to: "button_image";
7869                rel2.offset: 63 63;
7870                fill.smooth: 0;
7871             }
7872          }
7873  */
7874          part { name: "button_image";
7875             mouse_events: 1;
7876             description { state: "default" 0.0;
7877                rel1.to_x: "elm.swallow.slot.top";
7878                rel1.to_y: "elm.swallow.slot.top";
7879                rel1.offset: -2 -6;
7880                rel2.to_x: "elm.swallow.slot.top";
7881                rel2.to_y: "elm.swallow.slot.bottom";
7882                rel2.offset: 1 5;
7883                image {
7884                   normal: "bt_base2.png";
7885                   border: 7 7 7 7;
7886                }
7887                image.middle: SOLID;
7888             }
7889             description { state: "bottom" 0.0;
7890                rel1.to_x: "elm.swallow.slot.bottom";
7891                rel1.to_y: "elm.swallow.slot.top";
7892                rel1.offset: -2 -6;
7893                rel2.to_x: "elm.swallow.slot.bottom";
7894                rel2.to_y: "elm.swallow.slot.bottom";
7895                rel2.offset: 1 5;
7896                image {
7897                   normal: "bt_base2.png";
7898                   border: 7 7 7 7;
7899                }
7900                image.middle: SOLID;
7901             }
7902          }
7903
7904          part { name: "base";
7905             type: RECT;
7906             mouse_events: 1;
7907             description { state: "default" 0.0;
7908                color: 0 0 0 0;
7909             }
7910             description { state: "visible" 0.0;
7911                inherit: "default" 1.0;
7912                color: 0 0 0 64;
7913             }
7914          }
7915
7916          part { name: "topclip";
7917             type: RECT;
7918             description { state: "default" 0.0;
7919                rel2.to_y: "edge_top";
7920                rel2.relative: 1.0 0.0;
7921                rel2.offset: -1 7;
7922             }
7923          }
7924          part { name: "elm.swallow.slot.top";
7925             type: SWALLOW;
7926             clip_to: "topclip";
7927             description { state: "default" 0.0;
7928                visible: 1;
7929                align: 0.5 0.0;
7930                rel1.to: "elm.swallow.slot.middle";
7931                rel1.relative: 0.0 0.0;
7932                rel1.offset: 0 -1;
7933                rel2.to: "elm.swallow.slot.middle";
7934                rel2.relative: 1.0 0.0;
7935                rel2.offset: -1 -1;
7936             }
7937             description { state: "visible" 0.0;
7938                inherit: "default" 0.0;
7939                rel1.offset: 0 -7;
7940                rel2.offset: -1 -7;
7941                align: 0.5 1.0;
7942             }
7943          }
7944
7945          part { name: "bottomclip";
7946             type: RECT;
7947             description { state: "default" 0.0;
7948                rel1.to_y: "edge_bottom";
7949                rel1.relative: 0.0 1.0;
7950                rel1.offset: -1 -8;
7951             }
7952          }
7953          part { name: "elm.swallow.slot.bottom";
7954             type: SWALLOW;
7955             clip_to: "bottomclip";
7956             description { state: "default" 0.0;
7957                align: 0.5 1.0;
7958                rel1.to: "elm.swallow.slot.middle";
7959                rel1.relative: 0.0 1.0;
7960                rel1.offset: 0 0;
7961                rel2.to: "elm.swallow.slot.middle";
7962                rel2.relative: 1.0 1.0;
7963                rel2.offset: -1 0;
7964             }
7965             description { state: "visible" 0.0;
7966                inherit: "default" 0.0;
7967                rel1.offset: 0 6;
7968                rel2.offset: -1 6;
7969                align: 0.5 0.0;
7970             }
7971          }
7972
7973          part {   name: "over1";
7974             mouse_events: 0;
7975             description { state: "default" 0.0;
7976                rel1.to: "button_image";
7977                rel2.to: "button_image";
7978                rel2.relative: 1.0 0.5;
7979                image {
7980                   normal: "bt_hilight.png";
7981                   border: 7 7 7 0;
7982                }
7983             }
7984          }
7985          part { name: "over2";
7986             mouse_events: 1;
7987             repeat_events: 1;
7988             ignore_flags: ON_HOLD;
7989             description { state: "default" 0.0;
7990                rel1.to: "button_image";
7991                rel2.to: "button_image";
7992                image {
7993                   normal: "bt_shine.png";
7994                   border: 7 7 7 7;
7995                }
7996             }
7997          }
7998          part { name: "edge_top";
7999             mouse_events:  0;
8000             description { state: "default" 0.0;
8001                visible: 0;
8002                rel1 {
8003                   to: "elm.swallow.size";
8004                   offset: 0 -10;
8005                }
8006                rel2 {
8007                   to: "elm.swallow.size";
8008                }
8009                image.normal: "outdent-bottom.png";
8010                image.border: 0 0 13 0;
8011                fill.smooth: 0;
8012             }
8013             description { state: "visible" 0.0;
8014                inherit: "default" 0.0;
8015                visible: 1;
8016             }
8017          }
8018          part { name: "edge_bottom";
8019             mouse_events:  0;
8020             description { state: "default" 0.0;
8021                visible: 0;
8022                rel1 {
8023                   to: "elm.swallow.size";
8024                }
8025                rel2 {
8026                   to: "elm.swallow.size";
8027                   offset: -1 9;
8028                }
8029                image.normal: "outdent-top.png";
8030                image.border: 0 0 0 13;
8031                fill.smooth: 0;
8032             }
8033             description { state: "visible" 0.0;
8034                inherit: "default" 0.0;
8035                visible: 1;
8036             }
8037          }
8038          part { name: "elm.swallow.slot.middle";
8039             type: SWALLOW;
8040             description { state: "default" 0.0;
8041                rel1.to: "elm.swallow.size";
8042                rel2.to: "elm.swallow.size";
8043             }
8044          }
8045       }
8046       programs {
8047          program { name: "end";
8048             signal: "mouse,up,1";
8049             source: "base";
8050             action: SIGNAL_EMIT "elm,action,dismiss" "";
8051          }
8052
8053          program { name: "show";
8054             signal: "elm,action,show";
8055             source: "elm";
8056             action: STATE_SET "visible" 0.0;
8057 //          transition: DECELERATE 0.5;
8058             target: "base";
8059          }
8060          program { name: "hide";
8061             signal: "elm,action,hide";
8062             source: "elm";
8063             action: STATE_SET "default" 0.0;
8064 //          transition: DECELERATE 0.5;
8065             target: "base";
8066          }
8067          program { name: "topshow";
8068             signal: "elm,action,slot,top,show";
8069             source: "elm";
8070             action: STATE_SET "visible" 0.0;
8071             target: "edge_top";
8072             after: "topshow2";
8073          }
8074          program { name: "topshow2";
8075             action: STATE_SET "visible" 0.0;
8076             transition: DECELERATE 0.5;
8077             target: "elm.swallow.slot.top";
8078          }
8079          program { name: "topshow3";
8080             signal: "elm,action,slot,top,show";
8081             source: "elm";
8082             action: STATE_SET "default" 0.0;
8083             target: "button_image";
8084          }
8085          program { name: "tophide";
8086             signal: "elm,action,slot,top,hide";
8087             source: "elm";
8088             action: STATE_SET "default" 0.0;
8089             transition: DECELERATE 0.5;
8090             target: "elm.swallow.slot.top";
8091             after: "tophide2";
8092          }
8093          program { name: "tophide2";
8094             action: STATE_SET "default" 0.0;
8095             target: "edge_top";
8096          }
8097          program { name: "bottomshow";
8098             signal: "elm,action,slot,bottom,show";
8099             source: "elm";
8100             action: STATE_SET "visible" 0.0;
8101             target: "edge_bottom";
8102             after: "bottomshow2";
8103          }
8104          program { name: "bottomshow2";
8105             action: STATE_SET "visible" 0.0;
8106             transition: DECELERATE 0.5;
8107             target: "elm.swallow.slot.bottom";
8108          }
8109          program { name: "bottomshow3";
8110             signal: "elm,action,slot,bottom,show";
8111             source: "elm";
8112             action: STATE_SET "bottom" 0.0;
8113             target: "button_image";
8114          }
8115          program { name: "bottomhide";
8116             signal: "elm,action,slot,bottom,hide";
8117             source: "elm";
8118             action: STATE_SET "default" 0.0;
8119             transition: DECELERATE 0.5;
8120             target: "elm.swallow.slot.bottom";
8121             after: "bottomhide2";
8122          }
8123          program { name: "bottomhide2";
8124             action: STATE_SET "default" 0.0;
8125             target: "edge_bottom";
8126          }
8127       }
8128    }
8129 ///////////////////////////////////////////////////////////////////////////////
8130    group { name: "elm/scroller/base/ctxpopup";
8131       data {
8132          item: "focus_highlight" "on";
8133       }
8134       script {
8135          public sbvis_v, sbvis_h, sbalways_v, sbalways_h, sbvis_timer;
8136          public timer0(val) {
8137             new v;
8138             v = get_int(sbvis_v);
8139             if (v) {
8140                v = get_int(sbalways_v);
8141                if(!v) {
8142                   emit("do-hide-vbar", "");
8143                   set_int(sbvis_v, 0);
8144                }
8145             }
8146             v = get_int(sbvis_h);
8147             if (v) {
8148                v = get_int(sbalways_h);
8149                if(!v) {
8150                   emit("do-hide-hbar", "");
8151                   set_int(sbvis_h, 0);
8152                }
8153             }
8154             set_int(sbvis_timer, 0);
8155             return 0;
8156          }
8157       }
8158       images {
8159          image: "bt_sm_base2.png" COMP;
8160          image: "bt_sm_shine.png" COMP;
8161          image: "bt_sm_hilight.png" COMP;
8162          image: "sl_bt2_2.png" COMP;
8163       }
8164       parts {
8165          part { name: "clipper";
8166             type: RECT;
8167             mouse_events: 0;
8168             scale: 1;
8169             description { state: "default" 0.0;
8170             }
8171          }
8172          part { name: "elm.swallow.content";
8173             clip_to: "clipper";
8174             type: SWALLOW;
8175             scale: 1;
8176             description { state: "default" 0.0;
8177                align: 0.5 0.5;
8178             }
8179          }
8180          part { name: "focus_highlight";
8181             mouse_events: 0;
8182             description { state: "default" 0.0;
8183                rel1.offset: -1 -1;
8184                rel2.offset: 0 0;
8185                image { normal: "sl_bt2_2.png";
8186                   border: 7 7 7 7;
8187                   middle: 0;
8188                }
8189                fill.smooth : 0;
8190                color: 200 155 0 0;
8191             }
8192             description { state: "enabled" 0.0;
8193                inherit: "default" 0.0;
8194                color: 200 155 0 255;
8195             }
8196          }
8197          part { name: "sb_vbar_clip_master";
8198             type: RECT;
8199             mouse_events: 0;
8200             description { state: "default" 0.0;
8201             }
8202             description { state: "hidden" 0.0;
8203                visible: 0;
8204                color: 255 255 255 0;
8205             }
8206          }       
8207          part { name: "sb_vbar_clip";
8208             clip_to:"sb_vbar_clip_master";
8209             type: RECT;
8210             mouse_events: 0;
8211             scale: 1;
8212             description { state: "default" 0.0;
8213                align: 0.0 0.0;
8214                rel2{ to:"clipper"; relative: 1.0 1.0;}
8215             }
8216             description { state: "hidden" 0.0;
8217                visible: 0;
8218                color: 255 255 255 0;
8219             }
8220          }
8221          part { name: "sb_vbar";
8222             type: RECT;
8223             mouse_events: 0;
8224             scale: 1;
8225             description { state: "default" 0.0;
8226                fixed: 1 1;
8227                visible: 0;
8228                align: 1.0 0.0;
8229                rel1{ to:"clipper"; relative: 1.0 0.0; }
8230                rel2{ to:"clipper"; relative: 1.0 1.0; }
8231             }
8232          }
8233          part { name: "elm.dragable.vbar";
8234             clip_to: "sb_vbar_clip";
8235             mouse_events: 0;    
8236             scale: 1;
8237             dragable {
8238                x: 0 0 0;
8239                y: 1 1 0;
8240                confine: "sb_vbar";
8241             }
8242             description { state: "default" 0.0;
8243                fixed: 1 1;
8244                min: 10 17;
8245                max: 10 99999;
8246                rel1 { relative: 0.5 0.5; to: "sb_vbar"; }
8247                rel2 { relative: 0.5  0.5; to: "sb_vbar"; }
8248                image { normal: "bt_sm_base2.png";
8249                   border: 6 6 6 6;
8250                   middle: SOLID;
8251                }
8252             }
8253          }
8254          part { name: "sb_vbar_over1";
8255             clip_to: "sb_vbar_clip";
8256             mouse_events: 0;
8257             description { state: "default" 0.0;
8258                rel1.to: "elm.dragable.vbar";
8259                rel2.relative: 1.0 0.5;
8260                rel2.to: "elm.dragable.vbar";
8261                image { normal: "bt_sm_hilight.png";
8262                   border: 6 6 6 0;
8263                }
8264             }
8265          }
8266          part { name: "sb_vbar_over2";
8267             clip_to: "sb_vbar_clip";
8268             mouse_events: 0;
8269             description { state: "default" 0.0;
8270                rel1.to: "elm.dragable.vbar";
8271                rel2.to: "elm.dragable.vbar";
8272                image { normal: "bt_sm_shine.png";
8273                   border: 6 6 6 0;
8274                }
8275             }
8276          }
8277          part { name: "sb_hbar_clip_master";
8278             type: RECT;
8279             mouse_events: 0;
8280             description { state: "default" 0.0;
8281             }
8282             description { state: "hidden" 0.0;
8283                visible: 0;
8284                color: 255 255 255 0;
8285             }
8286          }       
8287          part { name: "sb_hbar_clip";
8288             clip_to: "sb_hbar_clip_master";
8289             type: RECT;
8290             mouse_events: 0;
8291             scale: 1;
8292             description { state: "default" 0.0;
8293                align: 0.0 0.0;
8294                rel2{ to:"clipper"; relative: 1.0 1.0;}
8295             }
8296             description { state: "hidden" 0.0;
8297                visible: 0;
8298                color: 255 255 255 0;
8299             }
8300          }
8301          part { name: "sb_hbar";
8302             type: RECT;
8303             mouse_events: 0;
8304             scale: 1;
8305             description { state: "default" 0.0; 
8306                fixed: 1 1;
8307                visible: 0;
8308                align: 0.0 1.0;
8309                rel1 { to:"clipper"; relative: 0.0 1.0; }
8310                rel2 { to:"clipper"; relative: 1.0 1.0; }       
8311             }
8312          }
8313          part { name: "elm.dragable.hbar";
8314             clip_to: "sb_hbar_clip";
8315             mouse_events: 0;   
8316             scale: 1;
8317             dragable {
8318                x: 1 1 0;
8319                y: 0 0 0;
8320                confine: "sb_hbar";
8321             }
8322             description { state: "default" 0.0;
8323                min: 17 10;
8324                max: 99999 10;
8325                fixed: 1 1;
8326                rel1 { relative: 0.5  0.5; to: "sb_hbar"; }
8327                rel2 { relative: 0.5  0.5; to: "sb_hbar"; }
8328                image { normal: "bt_sm_base2.png";
8329                   border: 4 4 4 4;
8330                   middle: SOLID;
8331                }
8332             }
8333          }
8334          part { name: "sb_hbar_over1";
8335             clip_to: "sb_hbar_clip";
8336             mouse_events: 0;
8337             description { state: "default" 0.0;
8338                rel1.to: "elm.dragable.hbar";
8339                rel2.relative: 1.0 0.5;
8340                rel2.to: "elm.dragable.hbar";
8341                image { normal: "bt_sm_hilight.png";
8342                   border: 6 6 6 0;
8343                }
8344             }
8345          }
8346          part { name: "sb_hbar_over2";
8347             clip_to: "sb_hbar_clip";
8348             mouse_events: 0;
8349             description { state: "default" 0.0;
8350                rel1.to: "elm.dragable.hbar";
8351                rel2.to: "elm.dragable.hbar";
8352                image { normal: "bt_sm_shine.png";
8353                   border: 6 6 6 0;
8354                }
8355             }
8356          }
8357       }   
8358       programs {
8359          program { name: "load";
8360             signal: "load";
8361             source: "";
8362             script {
8363                set_state(PART:"sb_vbar_clip", "hidden", 0.0);
8364                set_state(PART:"sb_hbar_clip", "hidden", 0.0);
8365                set_int(sbvis_v, 0);
8366                set_int(sbvis_h, 0);
8367                set_int(sbalways_v, 0);
8368                                    set_int(sbalways_h, 0);
8369                set_int(sbvis_timer, 0);
8370             }
8371          } 
8372          program { name: "vbar_show";
8373             signal: "elm,action,show,vbar";
8374             source: "elm";
8375             action: STATE_SET "default" 0.0;
8376             target: "sb_vbar_clip_master";
8377          }
8378          program { name: "vbar_hide";
8379             signal: "elm,action,hide,vbar";
8380             source: "elm";
8381             action:  STATE_SET "hidden" 0.0;
8382             target: "sb_vbar_clip_master";
8383          }       
8384          program { name: "vbar_show_always";
8385             signal: "elm,action,show_always,vbar";
8386             source: "elm";
8387             script {
8388                new v;
8389                v = get_int(sbvis_v);
8390                v |= get_int(sbalways_v);
8391                if (!v) {
8392                   set_int(sbalways_v, 1);
8393                   emit("do-show-vbar", "");
8394                   set_int(sbvis_v, 1);
8395                }
8396             }
8397          }
8398          program { name: "vbar_show_notalways";
8399             signal: "elm,action,show_notalways,vbar";
8400             source: "elm";
8401             script {
8402                new v;
8403                v = get_int(sbalways_v);
8404                if (v) {
8405                   set_int(sbalways_v, 0);
8406                   v = get_int(sbvis_v);
8407                   if (!v) {
8408                      emit("do-hide-vbar", "");
8409                      set_int(sbvis_v, 0);
8410                   }
8411                }
8412             }
8413          }       
8414          program { name: "sb_vbar_show";
8415             signal: "do-show-vbar";
8416             source: "";
8417             action:  STATE_SET "default" 0.0;
8418             transition: LINEAR 1.0;
8419             target: "sb_vbar_clip";
8420          }
8421          program { name: "sb_vbar_hide";
8422             signal: "do-hide-vbar";
8423             source: "";
8424             action:  STATE_SET "hidden" 0.0;
8425             transition: LINEAR 1.0;
8426             target: "sb_vbar_clip";
8427          }
8428          program { name: "hbar_show";
8429             signal: "elm,action,show,hbar";
8430             source: "elm";
8431             action:  STATE_SET "default" 0.0;
8432             target: "sb_hbar_clip_master";
8433          }
8434          program { name: "hbar_hide";
8435             signal: "elm,action,hide,hbar";
8436             source: "elm";
8437             action:  STATE_SET "hidden" 0.0;
8438             target: "sb_hbar_clip_master";
8439          }
8440          program { name: "hbar_show_always";
8441             signal: "elm,action,show_always,hbar";
8442             source: "elm";
8443             script {
8444                new v;
8445                v = get_int(sbvis_h);
8446                v |= get_int(sbalways_h);
8447                if (!v) {
8448                   set_int(sbalways_h, 1);
8449                   emit("do-show-hbar", "");
8450                   set_int(sbvis_h, 1);
8451                }
8452             }
8453          }
8454          program { name: "hbar_show_notalways";
8455             signal: "elm,action,show_notalways,hbar";
8456             source: "elm";
8457             script {
8458                new v;
8459                v = get_int(sbalways_h);
8460                if (v) {
8461                   set_int(sbalways_h, 0);
8462                   v = get_int(sbvis_h);
8463                   if (!v) {
8464                      emit("do-hide-hbar", "");
8465                      set_int(sbvis_h, 0);
8466                   }
8467                }
8468             }
8469          }
8470          program { name: "sb_hbar_show";
8471             signal: "do-show-hbar";
8472             source: "";
8473             action:  STATE_SET "default" 0.0;
8474             transition: LINEAR 1.0;
8475             target: "sb_hbar_clip";
8476          }
8477          program { name: "sb_hbar_hide";
8478             signal: "do-hide-hbar";
8479             source: "";
8480             action:  STATE_SET "hidden" 0.0;
8481             transition: LINEAR 1.0;
8482             target: "sb_hbar_clip";
8483          }                         
8484          program { name: "scroll";
8485             signal: "elm,action,scroll";
8486             source: "elm";
8487             script {
8488                new v;
8489                v = get_int(sbvis_v);
8490                v |= get_int(sbalways_v);
8491                if (!v) {
8492                   emit("do-show-vbar", "")
8493                   set_int(sbvis_v, 1);
8494                }
8495                v = get_int(sbvis_h);
8496                v |= get_int(sbalways_h);
8497                if (!v) {
8498                   emit("do-show-hbar", "");
8499                   set_int(sbvis_h, 1);
8500                }
8501                v = get_int(sbvis_timer);
8502                if (v > 0) cancel_timer(v);
8503                v = timer(1.0, "timer0", 0);
8504                set_int(sbvis_timer, v);
8505             }
8506          }
8507          program { name: "highlight_show";
8508             signal: "elm,action,focus_highlight,show";
8509             source: "elm";
8510             action: STATE_SET "enabled" 0.0;
8511             transition: ACCELERATE 0.3;
8512             target: "focus_highlight";
8513           }
8514          program { name: "highlight_hide";
8515             signal: "elm,action,focus_highlight,hide";
8516             source: "elm";
8517             action: STATE_SET "default" 0.0;
8518             transition: DECELERATE 0.3;
8519             target: "focus_highlight";
8520          }
8521       }  
8522    }  
8523 ///////////////////////////////////////////////////////////////////////////////
8524    group { name: "elm/ctxpopup/bg/default";
8525       parts {
8526          part { name: "ctxpopup_bg";
8527             type: RECT;
8528             mouse_events: 1;
8529             description { state: "default" 0.0;
8530                color: 0 0 0 0;
8531             }
8532             description { state: "visible" 0.0;
8533                inherit: "default" 0.0;
8534                color: 0 0 0 64;
8535             }
8536          }
8537       }
8538       programs {
8539          program { name: "clicked_event";
8540             signal: "mouse,clicked,1";
8541             source: "ctxpopup_bg";
8542             action: SIGNAL_EMIT "elm,action,click" "";
8543          }
8544          program { name: "show";
8545             signal: "elm,state,show";
8546             source: "elm";
8547             action: STATE_SET "visible" 0.0;
8548             target: "ctxpopup_bg";
8549          }
8550          program { name: "hide";
8551             signal: "elm,state,hide";
8552             source: "elm";
8553             action: STATE_SET "default" 0.0;
8554             target: "ctxpopup_bg";
8555          }       
8556       }
8557    }
8558 ///////////////////////////////////////////////////////////////////////////////
8559    group { name: "elm/ctxpopup/base/default";
8560       images {
8561          image: "bt_base2.png" COMP;
8562          image: "bt_hilight.png" COMP;
8563          image: "bt_shine.png" COMP;
8564       }
8565       parts {
8566          part { name: "base";
8567             scale: 1;
8568             description { state: "default" 0.0;
8569                rel1.offset: -3 -3;
8570                rel2.offset: 3 3;
8571                image { normal: "bt_base2.png";
8572                   border: 7 7 7 7;
8573                }
8574             }
8575          }
8576          part { name: "over1";
8577             scale: 1;
8578             description { state: "default" 0.0;
8579                rel1.to: "base";
8580                rel2.to: "base";
8581                rel2.relative: 1.0 0.5;
8582                image { normal: "bt_hilight.png";
8583                   border: 7 7 7 0;
8584                }
8585             }
8586          }
8587          part { name: "over2";
8588             scale: 1;
8589             description { state: "default" 0.0;
8590                rel1.to: "base";
8591                rel2.to: "base";
8592                image { normal: "bt_shine.png";
8593                   border: 7 7 7 7;
8594                }
8595             }
8596          }
8597          part { name: "elm.swallow.content";
8598             type: SWALLOW;
8599             description { state: "default" 0.0;
8600                rel1 { to:"base"; offset: 4 4; };
8601                rel2 { to:"base"; offset: -5 -5; };
8602             }
8603          }                      
8604       } 
8605    } 
8606 ///////////////////////////////////////////////////////////////////////////////
8607    group { name: "elm/ctxpopup/arrow/default";
8608       images {
8609          image: "icon_arrow_left.png" COMP;
8610          image: "icon_arrow_right.png" COMP;
8611          image: "icon_arrow_up.png" COMP;
8612          image: "icon_arrow_down.png" COMP;
8613       }
8614       parts { 
8615                         part { name: "ctxpopup_arrow";
8616             type: IMAGE;
8617             scale: 1;
8618             description {
8619                state: "default" 0.0;
8620                min: 40 40;
8621                fixed: 1 1;
8622                visible: 0;
8623                align: 0.5 0.5;
8624             }
8625             description {
8626                state: "left" 0.0;
8627                min: 40 40;
8628                fixed: 1 1;
8629                align: 0.0 0.5;
8630                image { normal: "icon_arrow_left.png";
8631                }
8632             }
8633             description { state: "right" 0.0;
8634                min: 40 40;
8635                fixed: 1 1;
8636                align: 1.0 0.5;
8637                image { normal: "icon_arrow_right.png";                
8638                                         }
8639             }
8640             description { state: "top" 0.0;
8641                min: 40 40;
8642                fixed: 1 1;
8643                align: 0.5 0.0;
8644                image { normal: "icon_arrow_up.png";
8645                }
8646             }
8647             description { state: "bottom" 0.0;
8648                min: 40 40;
8649                fixed: 1 1;
8650                align: 0.5 1.0;
8651                image { normal: "icon_arrow_down.png";
8652                }
8653             }
8654          }
8655       }
8656       programs {
8657          program { name: "enable_left_arrow";
8658             signal: "elm,state,left";
8659             source: "elm";
8660             action: STATE_SET "left" 0.0;
8661             target: "ctxpopup_arrow";
8662          }
8663          program { name: "enable_right_arrow";
8664             signal: "elm,state,right";
8665             source: "elm";
8666             action: STATE_SET "right" 0.0;
8667             target: "ctxpopup_arrow";
8668          }
8669          program { name: "enable_top_arrow";
8670             signal: "elm,state,top";
8671             source: "elm";
8672             action: STATE_SET "top" 0.0;
8673             target: "ctxpopup_arrow";
8674          }
8675          program { name: "enable_bottom_arrow";
8676             signal: "elm,state,bottom";
8677             source: "elm";
8678             action: STATE_SET "bottom" 0.0;
8679             target: "ctxpopup_arrow";
8680          }
8681       }
8682    }
8683 ///////////////////////////////////////////////////////////////////////////////
8684    group { 
8685       name: "elm/ctxpopup/icon_text_style_item/default";
8686            alias: "elm/ctxpopup/text_style_item/default";
8687            alias: "elm/ctxpopup/icon_style_item/default";
8688       images {
8689          image: "hoversel_entry_bg.png" COMP;
8690       }
8691       parts {
8692          part { name: "event";
8693             mouse_events: 1;
8694             description { state: "default" 0.0;
8695             }
8696          }
8697          part { name: "bg";
8698             mouse_events: 0;
8699             description { state: "default" 0.0;
8700                rel1.offset: 2 2;
8701                rel2.offset: -3 -3;
8702                image { normal:"hoversel_entry_bg.png";
8703                   border: 0 0 2 2;
8704                }
8705                fill.smooth: 0;
8706                color: 255 255 255 0;
8707             }
8708             description { state: "clicked" 0.0;
8709                inherit: "default" 0.0; 
8710                color: 255 255 255 255;
8711             }
8712          }
8713          part { name: "elm.swallow.icon";
8714             type: SWALLOW;
8715             scale: 1;
8716             description { state: "default" 0.0;
8717                min: 25 25;
8718                max: 25 25;              
8719                align: 0 0.5;     
8720                aspect: 1.0 1.0;
8721                rel1 { offset: 10 10; }              
8722                                         rel2 { offset: 0 -10; }
8723             }
8724          }       
8725          part { name: "elm.text";
8726             type: TEXT;
8727             mouse_events: 0;
8728             scale: 1;
8729             description { state: "default" 0.0;
8730                min: 1 40;
8731                fixed: 0 1;
8732                align: 0.5 0.5;
8733                rel1 { relative: 1.0 0.0; to: "elm.swallow.icon"; offset: 10 0; }
8734                rel2 { relative: 1.0 1.0; offset: -11 -1; }
8735                color: 255 255 255 255;
8736                text {
8737                   font: "Sans";
8738                   size: 10;
8739                   align: 0.0 0.5;
8740                   min: 1 1;
8741                }
8742             }
8743             description { state: "clicked" 0.0;
8744                inherit: "default" 0.0;
8745                color: 0 0 0 255;
8746             }
8747          } 
8748                         part { name: "over1";
8749             mouse_events: 1;
8750             repeat_events: 1;
8751             ignore_flags: ON_HOLD;
8752             description { state: "default" 0.0;
8753                color: 255 255 255 0;
8754             }
8755             description { state: "clicked" 0.0;
8756                inherit: "default" 0.0; 
8757                color: 255 255 255 255;
8758             }
8759          }
8760          part { name: "over2";
8761             mouse_events: 1;
8762             repeat_events: 1;
8763             description { state: "default" 0.0;
8764                color: 255 255 255 0;
8765             }
8766             description { state: "clicked" 0.0;
8767                inherit: "default" 0.0; 
8768                color: 255 255 255 255;
8769             }
8770          }
8771          part { name: "disclip";
8772             type: RECT;
8773             description { state: "default" 0.0;
8774                visible: 0;
8775             }
8776             description { state: "enabled" 0.0;
8777                visible: 1;
8778                color: 50 50 50 127;
8779                rel1.offset: 4 4;
8780                rel2.offset: -5 -5;
8781             }
8782          }
8783       }
8784       programs {
8785          program {
8786             name: "item_unclick";
8787             signal: "mouse,up,1";
8788             source: "over1";
8789             action: SIGNAL_EMIT "elm,action,click" "";
8790          } 
8791          program { name: "disable";
8792             signal: "elm,state,disabled";
8793             source: "elm";
8794             action: STATE_SET "enabled" 0.0;
8795             target: "disclip";
8796          }
8797          program { name: "enable";
8798             signal: "elm,state,enabled";
8799             source: "elm";
8800             action: STATE_SET "default" 0.0;
8801             target: "disclip";
8802          }
8803          program { name: "item_click2";
8804             signal: "mouse,down,1";
8805             source: "over2";
8806             script {
8807                set_state(PART:"elm.text", "clicked", 0.0);
8808                set_state(PART:"bg", "clicked", 0.0);
8809             }
8810          }  
8811          program { name: "item_unclick2";
8812             signal: "mouse,up,1";
8813             source: "over2";
8814             script { 
8815                                         set_state(PART:"elm.text", "default", 0.0);
8816                set_state(PART:"bg", "default", 0.0);
8817             }  
8818          }
8819       }   
8820    }   
8821 ///////////////////////////////////////////////////////////////////////////////
8822 // emoticon images from:
8823 // Tanya - Latvia
8824 // http://lazycrazy.deviantart.com/
8825 // http://lazycrazy.deviantart.com/art/Very-Emotional-Emoticons-144461621
8826   group { name: "elm/entry/emoticon/angry/default"; images.image:
8827      "emo-angry.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8828         "emo-angry.png"; } } } }
8829   group { name: "elm/entry/emoticon/angry-shout/default"; images.image:
8830      "emo-angry-shout.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8831         "emo-angry-shout.png"; } } } }
8832   group { name: "elm/entry/emoticon/crazy-laugh/default"; images.image:
8833      "emo-crazy-laugh.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8834         "emo-crazy-laugh.png"; } } } }
8835   group { name: "elm/entry/emoticon/evil-laugh/default"; images.image:
8836      "emo-evil-laugh.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8837         "emo-evil-laugh.png"; } } } }
8838   group { name: "elm/entry/emoticon/evil/default"; images.image:
8839      "emo-evil.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8840         "emo-evil.png"; } } } }
8841   group { name: "elm/entry/emoticon/goggle-smile/default"; images.image:
8842      "emo-goggle-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8843         "emo-goggle-smile.png"; } } } }
8844   group { name: "elm/entry/emoticon/grumpy/default"; images.image:
8845      "emo-grumpy.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8846         "emo-grumpy.png"; } } } }
8847   group { name: "elm/entry/emoticon/grumpy-smile/default"; images.image:
8848      "emo-grumpy-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8849         "emo-grumpy-smile.png"; } } } }
8850   group { name: "elm/entry/emoticon/guilty/default"; images.image:
8851      "emo-guilty.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8852         "emo-guilty.png"; } } } }
8853   group { name: "elm/entry/emoticon/guilty-smile/default"; images.image:
8854      "emo-guilty-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8855         "emo-guilty-smile.png"; } } } }
8856   group { name: "elm/entry/emoticon/haha/default"; images.image:
8857      "emo-haha.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8858         "emo-haha.png"; } } } }
8859   group { name: "elm/entry/emoticon/half-smile/default"; images.image:
8860      "emo-half-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8861         "emo-half-smile.png"; } } } }
8862   group { name: "elm/entry/emoticon/happy-panting/default"; images.image:
8863      "emo-happy-panting.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8864         "emo-happy-panting.png"; } } } }
8865   group { name: "elm/entry/emoticon/happy/default"; images.image:
8866      "emo-happy.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8867         "emo-happy.png"; } } } }
8868   group { name: "elm/entry/emoticon/indifferent/default"; images.image:
8869      "emo-indifferent.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8870         "emo-indifferent.png"; } } } }
8871   group { name: "elm/entry/emoticon/kiss/default"; images.image:
8872      "emo-kiss.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8873         "emo-kiss.png"; } } } }
8874   group { name: "elm/entry/emoticon/knowing-grin/default"; images.image:
8875      "emo-knowing-grin.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8876         "emo-knowing-grin.png"; } } } }
8877   group { name: "elm/entry/emoticon/laugh/default"; images.image:
8878      "emo-laugh.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8879         "emo-laugh.png"; } } } }
8880   group { name: "elm/entry/emoticon/little-bit-sorry/default"; images.image:
8881      "emo-little-bit-sorry.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8882         "emo-little-bit-sorry.png"; } } } }
8883   group { name: "elm/entry/emoticon/love-lots/default"; images.image:
8884      "emo-love-lots.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8885         "emo-love-lots.png"; } } } }
8886   group { name: "elm/entry/emoticon/love/default"; images.image:
8887      "emo-love.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8888         "emo-love.png"; } } } }
8889   group { name: "elm/entry/emoticon/minimal-smile/default"; images.image:
8890      "emo-minimal-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8891         "emo-minimal-smile.png"; } } } }
8892   group { name: "elm/entry/emoticon/not-happy/default"; images.image:
8893      "emo-not-happy.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8894         "emo-not-happy.png"; } } } }
8895   group { name: "elm/entry/emoticon/not-impressed/default"; images.image:
8896      "emo-not-impressed.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8897         "emo-not-impressed.png"; } } } }
8898   group { name: "elm/entry/emoticon/omg/default"; images.image:
8899      "emo-omg.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8900         "emo-omg.png"; } } } }
8901   group { name: "elm/entry/emoticon/opensmile/default"; images.image:
8902      "emo-opensmile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8903         "emo-opensmile.png"; } } } }
8904   group { name: "elm/entry/emoticon/smile/default"; images.image:
8905      "emo-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8906         "emo-smile.png"; } } } }
8907   group { name: "elm/entry/emoticon/sorry/default"; images.image:
8908      "emo-sorry.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8909         "emo-sorry.png"; } } } }
8910   group { name: "elm/entry/emoticon/squint-laugh/default"; images.image:
8911      "emo-squint-laugh.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8912         "emo-squint-laugh.png"; } } } }
8913   group { name: "elm/entry/emoticon/surprised/default"; images.image:
8914      "emo-surprised.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8915         "emo-surprised.png"; } } } }
8916   group { name: "elm/entry/emoticon/suspicious/default"; images.image:
8917      "emo-suspicious.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8918         "emo-suspicious.png"; } } } }
8919   group { name: "elm/entry/emoticon/tongue-dangling/default"; images.image:
8920      "emo-tongue-dangling.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8921         "emo-tongue-dangling.png"; } } } }
8922   group { name: "elm/entry/emoticon/tongue-poke/default"; images.image:
8923      "emo-tongue-poke.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8924         "emo-tongue-poke.png"; } } } }
8925   group { name: "elm/entry/emoticon/uh/default"; images.image:
8926      "emo-uh.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8927         "emo-uh.png"; } } } }
8928   group { name: "elm/entry/emoticon/unhappy/default"; images.image:
8929      "emo-unhappy.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8930         "emo-unhappy.png"; } } } }
8931   group { name: "elm/entry/emoticon/very-sorry/default"; images.image:
8932      "emo-very-sorry.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8933         "emo-very-sorry.png"; } } } }
8934   group { name: "elm/entry/emoticon/what/default"; images.image:
8935      "emo-what.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8936         "emo-what.png"; } } } }
8937   group { name: "elm/entry/emoticon/wink/default"; images.image:
8938      "emo-wink.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8939         "emo-wink.png"; } } } }
8940   group { name: "elm/entry/emoticon/worried/default"; images.image:
8941      "emo-worried.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8942         "emo-worried.png"; } } } }
8943   group { name: "elm/entry/emoticon/wtf/default"; images.image:
8944      "emo-wtf.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8945         "emo-wtf.png"; } } } }
8946 //------------------------------------------------------------
8947    group { name: "elm/entry/base/default";
8948       styles
8949       {
8950          style { name: "entry_textblock_style";
8951             base: "font=Sans font_size=10 color=#000 wrap=word text_class=entry";
8952             tag:  "br" "\n";
8953             tag:  "ps" "ps";
8954             tag:  "tab" "\t";
8955             tag:  "em" "+ font=Sans:style=Oblique";
8956             tag:  "b" "+ font=Sans:style=Bold";
8957             tag:  "link" "+ color=#800 underline=on underline_color=#8008";
8958             tag:  "hilight" "+ font=Sans:style=Bold";
8959          }
8960          style { name: "entry_textblock_disabled_style";
8961             base: "font=Sans font_size=10 color=#00000080 wrap=word text_class=entry";
8962             tag:  "br" "\n";
8963             tag:  "ps" "ps";
8964             tag:  "tab" "\t";
8965             tag:  "em" "+ font=Sans:style=Oblique";
8966             tag:  "b" "+ font=Sans:style=Bold";
8967             tag:  "link" "+ color=#00000080 underline=on underline_color=#00000080";
8968             tag:  "hilight" "+ font=Sans:style=Bold";
8969          }
8970       }
8971       data {
8972 //         item: context_menu_orientation "horizontal";
8973       }
8974       parts {
8975          part { name: "elm.text";
8976             type: TEXTBLOCK;
8977             mouse_events: 1;
8978             scale: 1;
8979             entry_mode: EDITABLE;
8980             select_mode: EXPLICIT;
8981             multiline: 1;
8982             source: "elm/entry/selection/default"; // selection under
8983    //       source2: "X"; // selection over
8984    //       source3: "X"; // cursor under
8985             source4: "elm/entry/cursor/default"; // cursorover
8986             source5: "elm/entry/anchor/default"; // anchor under
8987    //       source6: "X"; // anchor over
8988             description { state: "default" 0.0;
8989                /* we gotta use 0 0 here, because of scrolled entries */
8990                fixed: 0 0;
8991                text {
8992                   style: "entry_textblock_style";
8993                   min: 0 1;
8994                }
8995             }
8996             description { state: "disabled" 0.0;
8997                inherit: "default" 0.0;
8998                text {
8999                   style: "entry_textblock_disabled_style";
9000                   min: 0 1;
9001                }
9002             }
9003          }
9004       }
9005       programs {
9006          program { name: "focus";
9007             signal: "load";
9008             source: "";
9009             action: FOCUS_SET;
9010             target: "elm.text";
9011          }
9012          program { name: "disable";
9013             signal: "elm,state,disabled";
9014             source: "elm";
9015             action: STATE_SET "disabled" 0.0;
9016             target: "elm.text";
9017          }
9018          program { name: "enable";
9019             signal: "elm,state,enabled";
9020             source: "elm";
9021             action: STATE_SET "default" 0.0;
9022             target: "elm.text";
9023          }
9024       }
9025    }
9026
9027    group { name: "elm/entry/base-charwrap/default";
9028       styles
9029       {
9030          style { name: "entry_textblock_style_charwrap";
9031             base: "font=Sans font_size=10 color=#000 wrap=char text_class=entry";
9032             tag:  "br" "\n";
9033             tag:  "ps" "ps";
9034             tag:  "tab" "\t";
9035             tag:  "em" "+ font=Sans:style=Oblique";
9036             tag:  "b" "+ font=Sans:style=Bold";
9037             tag:  "link" "+ color=#800 underline=on underline_color=#8008";
9038             tag:  "hilight" "+ font=Sans:style=Bold";
9039          }
9040          style { name: "entry_textblock_disabled_style_charwrap";
9041             base: "font=Sans font_size=10 color=#00000080 wrap=char text_class=entry";
9042             tag:  "br" "\n";
9043             tag:  "ps" "ps";
9044             tag:  "tab" "\t";
9045             tag:  "em" "+ font=Sans:style=Oblique";
9046             tag:  "b" "+ font=Sans:style=Bold";
9047             tag:  "link" "+ color=#00000080 underline=on underline_color=#00000080";
9048             tag:  "hilight" "+ font=Sans:style=Bold";
9049          }
9050       }
9051       parts {
9052          part { name: "elm.text";
9053             type: TEXTBLOCK;
9054             mouse_events: 1;
9055             scale: 1;
9056             entry_mode: EDITABLE;
9057             select_mode: EXPLICIT;
9058             multiline: 1;
9059             source: "elm/entry/selection/default"; // selection under
9060 //          source2: "X"; // selection over
9061 //          source3: "X"; // cursor under
9062             source4: "elm/entry/cursor/default"; // cursorover
9063             source5: "elm/entry/anchor/default"; // anchor under
9064 //          source6: "X"; // anchor over
9065             description { state: "default" 0.0;
9066                fixed: 1 0;
9067                text {
9068                   style: "entry_textblock_style_charwrap";
9069                   min: 0 1;
9070                }
9071             }
9072             description { state: "disabled" 0.0;
9073                inherit: "default" 0.0;
9074                text {
9075                   style: "entry_textblock_disabled_style_charwrap";
9076                   min: 0 1;
9077                }
9078             }
9079          }
9080       }
9081       programs {
9082          program { name: "focus";
9083             signal: "load";
9084             source: "";
9085             action: FOCUS_SET;
9086             target: "elm.text";
9087          }
9088          program { name: "disable";
9089             signal: "elm,state,disabled";
9090             source: "elm";
9091             action: STATE_SET "disabled" 0.0;
9092             target: "elm.text";
9093          }
9094          program { name: "enable";
9095             signal: "elm,state,enabled";
9096             source: "elm";
9097             action: STATE_SET "default" 0.0;
9098             target: "elm.text";
9099          }
9100       }
9101    }
9102
9103    group { name: "elm/entry/base-nowrap/default";
9104       parts {
9105          part { name: "elm.text";
9106             type: TEXTBLOCK;
9107             mouse_events: 1;
9108             scale: 1;
9109             entry_mode: EDITABLE;
9110             select_mode: EXPLICIT;
9111             multiline: 1;
9112             source: "elm/entry/selection/default"; // selection under
9113             source4: "elm/entry/cursor/default"; // cursorover
9114             source5: "elm/entry/anchor/default"; // anchor under
9115             description { state: "default" 0.0;
9116                text {
9117                   style: "entry_textblock_style";
9118                   min: 1 1;
9119                }
9120             }
9121             description { state: "disabled" 0.0;
9122                inherit: "default" 0.0;
9123                text {
9124                   style: "entry_textblock_disabled_style";
9125                   min: 0 1;
9126                }
9127             }
9128          }
9129 /*
9130          part { name: "sel";
9131             type: RECT;
9132             mouse_events: 0;
9133             description { state: "default" 0.0;
9134                align: 1.0 1.0;
9135                max: 16 16;
9136                aspect: 1.0 1.0;
9137                color: 255 0 0 0;
9138             }
9139             description { state: "visible" 0.0;
9140                inherit: "default" 0.0;
9141                color: 255 0 0 50;
9142             }
9143          }
9144  */
9145       }
9146       programs {
9147          program { name: "focus";
9148             signal: "load";
9149             source: "";
9150             action: FOCUS_SET;
9151             target: "elm.text";
9152          }
9153          program { name: "disable";
9154             signal: "elm,state,disabled";
9155             source: "elm";
9156             action: STATE_SET "disabled" 0.0;
9157             target: "elm.text";
9158          }
9159          program { name: "enable";
9160             signal: "elm,state,enabled";
9161             source: "elm";
9162             action: STATE_SET "default" 0.0;
9163             target: "elm.text";
9164          }
9165 /*
9166          program { name: "selmode0";
9167             signal: "elm,state,select,on";
9168             source: "elm";
9169             action: STATE_SET "visible" 0.0;
9170             target: "sel";
9171          }
9172          program { name: "selmode1";
9173             signal: "elm,state,select,off";
9174             source: "elm";
9175             action: STATE_SET "default" 0.0;
9176             target: "sel";
9177          }
9178  */
9179       }
9180    }
9181
9182    group { name: "elm/entry/base-single/default";
9183       styles
9184       {
9185          style { name: "entry_single_textblock_style";
9186             base: "font=Sans font_size=10 color=#000 wrap=none text_class=entry";
9187             tag:  "br" "\n";
9188             tag:  "ps" "ps";
9189             tag:  "tab" "\t";
9190             tag:  "em" "+ font=Sans:style=Oblique";
9191             tag:  "b" "+ font=Sans:style=Bold";
9192             tag:  "link" "+ color=#800 underline=on underline_color=#8008";
9193             tag:  "hilight" "+ font=Sans:style=Bold";
9194          }
9195          style { name: "entry_single_textblock_disabled_style";
9196             base: "font=Sans font_size=10 color=#00000080 wrap=none text_class=entry";
9197             tag:  "br" "\n";
9198             tag:  "ps" "ps";
9199             tag:  "tab" "\t";
9200             tag:  "em" "+ font=Sans:style=Oblique";
9201             tag:  "b" "+ font=Sans:style=Bold";
9202             tag:  "link" "+ color=#00000080 underline=on underline_color=#00000080";
9203             tag:  "hilight" "+ font=Sans:style=Bold";
9204          }
9205       }
9206       parts {
9207          part { name: "elm.text";
9208             type: TEXTBLOCK;
9209             mouse_events: 1;
9210             scale: 1;
9211             entry_mode: EDITABLE;
9212             select_mode: EXPLICIT;
9213             multiline: 0;
9214             source: "elm/entry/selection/default"; // selection under
9215             source4: "elm/entry/cursor/default"; // cursorover
9216             source5: "elm/entry/anchor/default"; // anchor under
9217             description { state: "default" 0.0;
9218                text {
9219                   style: "entry_single_textblock_style";
9220                   min: 1 1;
9221                   max: 0 1;
9222                }
9223             }
9224             description { state: "disabled" 0.0;
9225                inherit: "default" 0.0;
9226                text {
9227                   style: "entry_single_textblock_disabled_style";
9228                }
9229             }
9230          }
9231       }
9232       programs {
9233          program { name: "focus";
9234             signal: "load";
9235             source: "";
9236             action: FOCUS_SET;
9237             target: "elm.text";
9238          }
9239          program { name: "disable";
9240             signal: "elm,state,disabled";
9241             source: "elm";
9242             action: STATE_SET "disabled" 0.0;
9243             target: "elm.text";
9244          }
9245          program { name: "enable";
9246             signal: "elm,state,enabled";
9247             source: "elm";
9248             action: STATE_SET "default" 0.0;
9249             target: "elm.text";
9250          }
9251       }
9252    }
9253
9254    group { name: "elm/entry/base-single-noedit/default";
9255       parts {
9256          part { name: "elm.text";
9257             type: TEXTBLOCK;
9258             mouse_events: 1;
9259             scale: 1;
9260             entry_mode: PLAIN;
9261             select_mode: EXPLICIT;
9262             multiline: 0;
9263             source: "elm/entry/selection/default"; // selection under
9264             source5: "elm/entry/anchor/default"; // anchor under
9265             description { state: "default" 0.0;
9266                text {
9267                   style: "entry_single_textblock_style";
9268                   min: 1 1;
9269                   max: 0 1;
9270                }
9271             }
9272             description { state: "disabled" 0.0;
9273                inherit: "default" 0.0;
9274                text {
9275                style: "entry_single_textblock_disabled_style";
9276                }
9277             }
9278          }
9279       }
9280       programs {
9281          program { name: "focus";
9282             signal: "load";
9283             source: "";
9284             action: FOCUS_SET;
9285             target: "elm.text";
9286          }
9287          program { name: "disable";
9288             signal: "elm,state,disabled";
9289             source: "elm";
9290             action: STATE_SET "disabled" 0.0;
9291             target: "elm.text";
9292          }
9293          program { name: "enable";
9294             signal: "elm,state,enabled";
9295             source: "elm";
9296             action: STATE_SET "default" 0.0;
9297             target: "elm.text";
9298          }
9299       }
9300    }
9301
9302    group { name: "elm/entry/base-noedit/default";
9303       parts {
9304          part { name: "elm.text";
9305             type: TEXTBLOCK;
9306             mouse_events: 1;
9307             scale: 1;
9308             entry_mode: PLAIN;
9309             select_mode: EXPLICIT;
9310             multiline: 1;
9311             source: "elm/entry/selection/default"; // selection under
9312             source5: "elm/entry/anchor/default"; // anchor under
9313             description { state: "default" 0.0;
9314                fixed: 1 0;
9315                text {
9316                   style: "entry_textblock_style";
9317                   min: 0 1;
9318                }
9319             }
9320             description { state: "disabled" 0.0;
9321                inherit: "default" 0.0;
9322                text {
9323                   style: "entry_textblock_disabled_style";
9324                }
9325             }
9326          }
9327       }
9328       programs {
9329          program { name: "focus";
9330             signal: "load";
9331             source: "";
9332             action: FOCUS_SET;
9333             target: "elm.text";
9334          }
9335          program { name: "disable";
9336             signal: "elm,state,disabled";
9337             source: "elm";
9338             action: STATE_SET "disabled" 0.0;
9339             target: "elm.text";
9340          }
9341          program { name: "enable";
9342             signal: "elm,state,enabled";
9343             source: "elm";
9344             action: STATE_SET "default" 0.0;
9345             target: "elm.text";
9346          }
9347       }
9348    }
9349
9350    group { name: "elm/entry/base-noedit-charwrap/default";
9351       parts {
9352          part { name: "elm.text";
9353             type: TEXTBLOCK;
9354             mouse_events: 1;
9355             scale: 1;
9356             entry_mode: PLAIN;
9357             select_mode: EXPLICIT;
9358             multiline: 1;
9359             source: "elm/entry/selection/default"; // selection under
9360             source5: "elm/entry/anchor/default"; // anchor under
9361             description { state: "default" 0.0;
9362                fixed: 1 0;
9363                text {
9364                   style: "entry_textblock_style_charwrap";
9365                   min: 0 1;
9366                }
9367             }
9368             description { state: "disabled" 0.0;
9369                inherit: "default" 0.0;
9370                text {
9371                   style: "entry_textblock_disabled_style_charwrap";
9372                }
9373             }
9374          }
9375       }
9376       programs {
9377          program { name: "focus";
9378             signal: "load";
9379             source: "";
9380             action: FOCUS_SET;
9381             target: "elm.text";
9382          }
9383          program { name: "disable";
9384             signal: "elm,state,disabled";
9385             source: "elm";
9386             action: STATE_SET "disabled" 0.0;
9387             target: "elm.text";
9388          }
9389          program { name: "enable";
9390             signal: "elm,state,enabled";
9391             source: "elm";
9392             action: STATE_SET "default" 0.0;
9393             target: "elm.text";
9394          }
9395       }
9396    }
9397
9398    group { name: "elm/entry/base-nowrap-noedit/default";
9399       parts {
9400          part { name: "elm.text";
9401             type: TEXTBLOCK;
9402             mouse_events: 1;
9403             scale: 1;
9404             entry_mode: PLAIN;
9405             select_mode: EXPLICIT;
9406             multiline: 1;
9407             source: "elm/entry/selection/default"; // selection under
9408             source5: "elm/entry/anchor/default"; // anchor under
9409             description { state: "default" 0.0;
9410                text {
9411                   style: "entry_textblock_style";
9412                   min: 1 1;
9413                }
9414             }
9415             description { state: "disabled" 0.0;
9416                inherit: "default" 0.0;
9417                text {
9418                   style: "entry_textblock_disabled_style";
9419                }
9420             }
9421          }
9422       }
9423       programs {
9424          program { name: "focus";
9425             signal: "load";
9426             source: "";
9427             action: FOCUS_SET;
9428             target: "elm.text";
9429          }
9430          program { name: "disable";
9431             signal: "elm,state,disabled";
9432             source: "elm";
9433             action: STATE_SET "disabled" 0.0;
9434             target: "elm.text";
9435          }
9436          program { name: "enable";
9437             signal: "elm,state,enabled";
9438             source: "elm";
9439             action: STATE_SET "default" 0.0;
9440             target: "elm.text";
9441          }
9442       }
9443    }
9444
9445    group { name: "elm/entry/base-password/default";
9446       parts {
9447          part { name: "elm.text";
9448             type: TEXTBLOCK;
9449             mouse_events: 1;
9450             scale: 1;
9451             entry_mode: PASSWORD;
9452             select_mode: EXPLICIT;
9453             multiline: 0;
9454             source: "elm/entry/selection/default"; // selection under
9455             source4: "elm/entry/cursor/default"; // cursorover
9456             source5: "elm/entry/anchor/default"; // anchor under
9457             description { state: "default" 0.0;
9458                text {
9459                   style: "entry_single_textblock_style";
9460                   repch: "*";
9461                   min: 1 1;
9462                   max: 0 1;
9463                }
9464             }
9465             description { state: "disabled" 0.0;
9466                inherit: "default" 0.0;
9467                text {
9468                   style: "entry_single_textblock_disabled_style";
9469                }
9470             }
9471          }
9472       }
9473       programs {
9474          program { name: "focus";
9475             signal: "load";
9476             source: "";
9477             action: FOCUS_SET;
9478             target: "elm.text";
9479          }
9480          program { name: "disable";
9481             signal: "elm,state,disabled";
9482             source: "elm";
9483             action: STATE_SET "disabled" 0.0;
9484             target: "elm.text";
9485          }
9486          program { name: "enable";
9487             signal: "elm,state,enabled";
9488             source: "elm";
9489             action: STATE_SET "default" 0.0;
9490             target: "elm.text";
9491          }
9492       }
9493    }
9494
9495    group { name: "elm/entry/custom-password/default";
9496       parts {
9497          part { name: "elm.text";
9498             type: TEXTBLOCK;
9499             mouse_events: 1;
9500             scale: 1;
9501             entry_mode: PASSWORD_SHOW_LAST_CHARACTER;
9502             select_mode: EXPLICIT;
9503             multiline: 0;
9504             source: "elm/entry/selection/default"; // selection under
9505             source4: "elm/entry/cursor/default"; // cursorover
9506             source5: "elm/entry/anchor/default"; // anchor under
9507             description { state: "default" 0.0;
9508                text {
9509                   style: "entry_single_textblock_style";
9510                   repch: "*";
9511                   min: 1 1;
9512                   max: 0 1;
9513                }
9514             }
9515             description { state: "disabled" 0.0;
9516                inherit: "default" 0.0;
9517                text {
9518                   style: "entry_single_textblock_disabled_style";
9519                }
9520             }
9521          }
9522       }
9523       programs {
9524          program { name: "focus";
9525             signal: "load";
9526             source: "";
9527             action: FOCUS_SET;
9528             target: "elm.text";
9529          }
9530          program { name: "password_stop"; 
9531             signal: "cursor,changed";
9532             source: "elm.text";
9533             action: ACTION_STOP;
9534             target: "password_start";
9535             after: "password_start";
9536          }
9537          program { name: "password_start";
9538             in: 2.0 0.0;
9539             action: HIDE_VISIBLE_PASSWORD;
9540             target: "elm.text";
9541          }
9542          program { name: "disable";
9543             signal: "elm,state,disabled";
9544             source: "elm";
9545             action: STATE_SET "disabled" 0.0;
9546             target: "elm.text";
9547          }
9548          program { name: "enable";
9549             signal: "elm,state,enabled";
9550             source: "elm";
9551             action: STATE_SET "default" 0.0;
9552             target: "elm.text";
9553          }
9554       }
9555    }
9556
9557    group { name: "elm/entry/cursor/default";
9558       images {
9559          image: "cur_box.png" COMP;
9560          image: "cur_hi.png" COMP;
9561          image: "cur_shad.png" COMP;
9562          image: "cur_shine.png" COMP;
9563          image: "cur_glow.png" COMP;
9564       }
9565       parts {
9566          part { name: "clip2";
9567             type: RECT;
9568             mouse_events: 0;
9569             description { state: "default" 0.0;
9570                rel1.to: "clip";
9571                rel2.to: "clip";
9572                visible: 0;
9573             }
9574             description { state: "focused" 0.0;
9575                inherit: "default" 0.0;
9576                visible: 1;
9577             }
9578          }
9579          part { name: "clip";
9580             type: RECT;
9581             mouse_events: 0;
9582             clip_to: "clip2";
9583             description { state: "default" 0.0;
9584                rel1.offset: -10 0;
9585                rel2.offset: 9 9;
9586             }
9587             description { state: "hidden" 0.0;
9588                inherit: "default" 0.0;
9589                visible: 0;
9590             }
9591          }
9592          part { name: "bg";
9593             mouse_events: 0;
9594             clip_to: "clip";
9595             description { state: "default" 0.0;
9596                rel1.to: "base";
9597                rel1.offset: -2 0;
9598                rel2.to: "base";
9599                rel2.offset: 1 1;
9600                image.border: 2 2 2 2;
9601                image.normal: "cur_shad.png";
9602             }
9603          }
9604          part { name: "base";
9605             mouse_events: 0;
9606             scale: 1;
9607             clip_to: "clip";
9608             description { state: "default" 0.0;
9609                min: 2 2;
9610                align: 0.5 1.0;
9611                rel1.relative: 0.0 1.0;
9612                rel1.offset: 0 -1;
9613                rel2.relative: 1.0 1.0;
9614                rel2.offset: -1 -1;
9615                image.normal: "cur_box.png";
9616             }
9617          }
9618          part { name: "hi";
9619             mouse_events: 0;
9620             clip_to: "clip";
9621             description { state: "default" 0.0;
9622                rel1.to: "base";
9623                rel2.to: "base";
9624                rel2.relative: 1.0 0.5;
9625                image.normal: "cur_hi.png";
9626             }
9627          }
9628          part { name: "shine";
9629             mouse_events: 0;
9630             clip_to: "clip";
9631             clip_to: "clip2";
9632             description { state: "default" 0.0;
9633                rel1.to: "base";
9634                rel2.to: "base";
9635                rel2.relative: 1.0 0.75;
9636                image.border: 2 2 1 0;
9637                image.normal: "cur_shine.png";
9638                fill.smooth: 0;
9639             }
9640          }
9641          part { name: "glow";
9642             mouse_events: 0;
9643             clip_to: "clip2";
9644             description { state: "default" 0.0;
9645                rel1.to: "base";
9646                rel1.relative: 0.0 -2.0;
9647                rel1.offset: -2 0;
9648                rel2.to: "base";
9649                rel2.relative: 1.0 0.0;
9650                rel2.offset: 1 1;
9651                image.border: 2 2 0 4;
9652                image.normal: "cur_glow.png";
9653                fill.smooth: 0;
9654             }
9655             description { state: "hidden" 0.0;
9656                inherit: "default" 0.0;
9657                color: 255 255 255 0;
9658             }
9659          }
9660       }
9661       programs {
9662          program { name: "show";
9663             signal: "show";
9664             source: "";
9665             action: STATE_SET "hidden" 0.0;
9666             in: 1.0 0.0;
9667             transition: DECELERATE 2.0;
9668             target: "glow";
9669             after: "show2";
9670          }
9671          program { name: "show2";
9672             action: STATE_SET "hidden" 0.0;
9673             in: 0.2 0.0;
9674             target: "clip";
9675             after: "show3";
9676          }
9677          program { name: "show3";
9678             action: STATE_SET "default" 0.0;
9679             in: 0.5 0.0;
9680             target: "clip";
9681             after: "show4";
9682          }
9683          program { name: "show4";
9684             action: STATE_SET "default" 0.0;
9685             in: 0.5 0.0;
9686             transition: DECELERATE 0.5;
9687             target: "glow";
9688             after: "show";
9689          }
9690          program { name: "focused";
9691             signal: "elm,action,focus";
9692             source: "elm";
9693             action: STATE_SET "focused" 0.0;
9694             target: "clip2";
9695          }
9696          program { name: "unfocused";
9697             signal: "elm,action,unfocus";
9698             source: "elm";
9699             action: STATE_SET "default" 0.0;
9700             target: "clip2";
9701          }
9702       }
9703    }
9704
9705    group { name: "elm/entry/selection/default";
9706       parts {
9707          part { name: "bg";
9708             type: RECT;
9709             mouse_events: 0;
9710             description { state: "default" 0.0;
9711                color: 128 128 128 128;
9712             }
9713          }
9714       }
9715    }
9716
9717    group { name: "elm/entry/anchor/default";
9718       parts {
9719          part { name: "bg";
9720             type: RECT;
9721             mouse_events: 0;
9722             description { state: "default" 0.0;
9723                color: 128 0 0 64;
9724             }
9725          }
9726       }
9727    }
9728
9729 ///////////////////////////////////////////////////////////////////////////////
9730   group { name: "elm/bubble/top_left/default";
9731     alias: "elm/bubble/base/default";
9732     images {
9733       image: "bubble_3.png" COMP;
9734       image: "bubble_shine3.png" COMP;
9735     }
9736     parts {
9737       part { name: "event";
9738          type: RECT;
9739          description {
9740             state: "default" 0.0;
9741             color: 0 0 0 0;
9742          }
9743       }
9744       part { name: "elm.swallow.icon";
9745         type: SWALLOW;
9746         description { state: "default" 0.0;
9747           fixed: 1 1;
9748           visible: 0;
9749           align: 0.0 0.0;
9750           aspect: 1.0 1.0;
9751           aspect_preference: VERTICAL;
9752           rel1 {
9753             relative: 0.0 0.0;
9754             offset: 4 4;
9755           }
9756           rel2 {
9757             to_y: "elm.text";
9758             relative: 0.0 1.0;
9759             offset: 4 -1;
9760           }
9761         }
9762         description { state: "visible" 0.0;
9763           inherit: "default" 0.0;
9764           visible: 1;
9765         }
9766       }
9767       part { name: "elm.text";
9768         type: TEXT;
9769         mouse_events:   0;
9770         scale: 1;
9771         description { state: "default" 0.0;
9772           align: 0.0 0.0;
9773           fixed: 0 1;
9774           rel1 {
9775             to_x: "elm.swallow.icon";
9776             relative: 1.0 0.0;
9777             offset: 4 4;
9778           }
9779           rel2 {
9780             to_x: "elm.info";
9781             relative: 0.0 0.0;
9782             offset: -5 4;
9783           }
9784           color: 0 0 0 255;
9785           text {
9786             font: "Sans:style=Bold,Edje-Vera-Bold";
9787             size: 10;
9788             min: 0 1;
9789             max: 0 1;
9790             align: 0.0 0.0;
9791           }
9792         }
9793       }
9794       part { name: "elm.info";
9795         type: TEXT;
9796         mouse_events:   0;
9797         scale: 1;
9798         description { state: "default" 0.0;
9799           align: 1.0 0.0;
9800           fixed: 1 1;
9801           rel1 {
9802             relative: 1.0 0.0;
9803             offset: -5 4;
9804           }
9805           rel2 {
9806             relative: 1.0 0.0;
9807             offset: -5 4;
9808           }
9809           color: 0 0 0 64;
9810           text {
9811             font: "Sans:style=Bold,Edje-Vera-Bold";
9812             size: 10;
9813             min: 1 1;
9814             max: 1 1;
9815             align: 1.0 0.0;
9816           }
9817         }
9818       }
9819       part { name: "base0";
9820         mouse_events:  0;
9821         description { state: "default" 0.0;
9822           rel1 {
9823             to_y: "elm.swallow.icon";
9824             relative: 0.0 1.0;
9825             offset: 0 0;
9826           }
9827           image {
9828             normal: "bubble_3.png";
9829             border: 36 11 18 9;
9830           }
9831           image.middle: SOLID;
9832           fill.smooth: 0;
9833         }
9834       }
9835       part { name: "elm.swallow.content";
9836         type: SWALLOW;
9837         description { state: "default" 0.0;
9838           rel1 {
9839             to: "base0";
9840             offset: 9 16;
9841           }
9842           rel2 {
9843             to: "base0";
9844             offset: -10 -9;
9845           }
9846         }
9847       }
9848       part { name: "shine";
9849         mouse_events:  0;
9850         description { state:    "default" 0.0;
9851           rel1 {
9852             to: "base0";
9853             offset: 5 4;
9854           }
9855           rel2 {
9856             to: "base0";
9857             relative: 1.0 0.5;
9858             offset: -6 7;
9859           }
9860           image {
9861             normal: "bubble_shine3.png";
9862             border: 36 5 14 0;
9863           }
9864           fill.smooth: 0;
9865         }
9866       }
9867     }
9868     programs {
9869       program {
9870         name: "icon_show";
9871         signal: "elm,state,icon,visible";
9872         source: "elm";
9873         action: STATE_SET "visible" 0.0;
9874         target: "elm.swallow.icon";
9875       }
9876       program {
9877         name: "icon_hide";
9878         signal: "elm,state,icon,hidden";
9879         source: "elm";
9880         action: STATE_SET "default" 0.0;
9881         target: "elm.swallow.icon";
9882       }
9883     }
9884   }
9885
9886   group { name: "elm/bubble/top_right/default";
9887     images {
9888       image: "bubble_4.png" COMP;
9889       image: "bubble_shine4.png" COMP;
9890     }
9891     parts {
9892       part { name: "event";
9893          type: RECT;
9894          description {
9895             state: "default" 0.0;
9896             color: 0 0 0 0;
9897          }
9898       }
9899       part { name: "elm.swallow.icon";
9900         type: SWALLOW;
9901         description { state: "default" 0.0;
9902           fixed: 1 1;
9903           visible: 0;
9904           align: 1.0 0.0;
9905           aspect: 1.0 1.0;
9906           aspect_preference: VERTICAL;
9907           rel1 {
9908             relative: 1.0 0.0;
9909             offset: -5 4;
9910           }
9911           rel2 {
9912             to_y: "elm.text";
9913             relative: 1.0 1.0;
9914             offset: -5 -1;
9915           }
9916         }
9917         description { state: "visible" 0.0;
9918           inherit: "default" 0.0;
9919           visible: 1;
9920         }
9921       }
9922       part { name: "elm.text";
9923         type: TEXT;
9924         mouse_events:   0;
9925         scale: 1;
9926         description { state: "default" 0.0;
9927           align: 0.0 0.0;
9928           fixed: 0 1;
9929           rel1 {
9930             relative: 0.0 0.0;
9931             offset: 4 4;
9932           }
9933           rel2 {
9934             to_x: "elm.info";
9935             relative: 0.0 0.0;
9936             offset: -5 4;
9937           }
9938           color: 0 0 0 255;
9939           text {
9940             font: "Sans:style=Bold,Edje-Vera-Bold";
9941             size: 10;
9942             min: 0 1;
9943             max: 0 1;
9944             align: 0.0 0.0;
9945           }
9946         }
9947       }
9948       part { name: "elm.info";
9949         type: TEXT;
9950         mouse_events:   0;
9951         scale: 1;
9952         description { state: "default" 0.0;
9953           align: 1.0 0.0;
9954           fixed: 1 1;
9955           rel1 {
9956             relative: 1.0 0.0;
9957             offset: -5 4;
9958           }
9959           rel2 {
9960             to_x: "elm.swallow.icon";
9961             relative: 0.0 0.0;
9962             offset: -5 4;
9963           }
9964           color: 0 0 0 64;
9965           text {
9966             font: "Sans:style=Bold,Edje-Vera-Bold";
9967             size: 10;
9968             min: 1 1;
9969             max: 1 1;
9970             align: 1.0 0.0;
9971           }
9972         }
9973       }
9974       part { name: "base0";
9975         mouse_events:  0;
9976         description { state: "default" 0.0;
9977           rel1 {
9978             to_y: "elm.swallow.icon";
9979             relative: 0.0 1.0;
9980             offset: 0 0;
9981           }
9982           image {
9983             normal: "bubble_4.png";
9984             border: 11 36 18 9;
9985           }
9986           image.middle: SOLID;
9987           fill.smooth: 0;
9988         }
9989       }
9990       part { name: "elm.swallow.content";
9991         type: SWALLOW;
9992         description { state: "default" 0.0;
9993           rel1 {
9994             to: "base0";
9995             offset: 9 16;
9996           }
9997           rel2 {
9998             to: "base0";
9999             offset: -10 -9;
10000           }
10001         }
10002       }
10003       part { name: "shine";
10004         mouse_events:  0;
10005         description { state:    "default" 0.0;
10006           rel1 {
10007             to: "base0";
10008             offset: 5 4;
10009           }
10010           rel2 {
10011             to: "base0";
10012             relative: 1.0 0.5;
10013             offset: -6 7;
10014           }
10015           image {
10016             normal: "bubble_shine4.png";
10017             border: 5 36 14 0;
10018           }
10019           fill.smooth: 0;
10020         }
10021       }
10022     }
10023     programs {
10024       program {
10025         name: "icon_show";
10026         signal: "elm,state,icon,visible";
10027         source: "elm";
10028         action: STATE_SET "visible" 0.0;
10029         target: "elm.swallow.icon";
10030       }
10031       program {
10032         name: "icon_hide";
10033         signal: "elm,state,icon,hidden";
10034         source: "elm";
10035         action: STATE_SET "default" 0.0;
10036         target: "elm.swallow.icon";
10037       }
10038     }
10039   }
10040
10041   group { name: "elm/bubble/bottom_left/default";
10042     images {
10043       image: "bubble_1.png" COMP;
10044       image: "bubble_shine.png" COMP;
10045     }
10046     parts {
10047       part { name: "event";
10048          type: RECT;
10049          description {
10050             state: "default" 0.0;
10051             color: 0 0 0 0;
10052          }
10053       }
10054       part { name: "elm.swallow.icon";
10055         type: SWALLOW;
10056         description { state: "default" 0.0;
10057           fixed: 1 1;
10058           visible: 0;
10059           align: 0.0 1.0;
10060           aspect: 1.0 1.0;
10061           aspect_preference: VERTICAL;
10062           rel1 {
10063             to_y: "elm.text";
10064             relative: 0.0 0.0;
10065             offset: 4 0;
10066           }
10067           rel2 {
10068             relative: 0.0 1.0;
10069             offset: 4 -5;
10070           }
10071         }
10072         description { state: "visible" 0.0;
10073           inherit: "default" 0.0;
10074           visible: 1;
10075         }
10076       }
10077       part { name: "elm.text";
10078         type: TEXT;
10079         mouse_events:   0;
10080         scale: 1;
10081         description { state: "default" 0.0;
10082           align: 0.0 1.0;
10083           fixed: 0 1;
10084           rel1 {
10085             to_x: "elm.swallow.icon";
10086             relative: 1.0 1.0;
10087             offset: 4 -5;
10088           }
10089           rel2 {
10090             to_x: "elm.info";
10091             relative: 0.0 1.0;
10092             offset: -5 -5;
10093           }
10094           color: 0 0 0 255;
10095           text {
10096             font: "Sans:style=Bold,Edje-Vera-Bold";
10097             size: 10;
10098             min: 0 1;
10099             max: 0 1;
10100             align: 0.0 1.0;
10101           }
10102         }
10103       }
10104       part { name: "elm.info";
10105         type: TEXT;
10106         mouse_events:   0;
10107         scale: 1;
10108         description { state: "default" 0.0;
10109           align: 1.0 1.0;
10110           fixed: 1 1;
10111           rel1 {
10112             relative: 1.0 1.0;
10113             offset: -5 -5;
10114           }
10115           rel2 {
10116             relative: 1.0 1.0;
10117             offset: -5 -5;
10118           }
10119           color: 0 0 0 64;
10120           text {
10121             font: "Sans:style=Bold,Edje-Vera-Bold";
10122             size: 10;
10123             min: 1 1;
10124             max: 1 1;
10125             align: 1.0 1.0;
10126           }
10127         }
10128       }
10129       part { name: "base0";
10130         mouse_events:  0;
10131         description { state: "default" 0.0;
10132           rel2 {
10133             to_y: "elm.swallow.icon";
10134             relative: 1.0 0.0;
10135             offset: -1 -1;
10136           }
10137           image {
10138             normal: "bubble_1.png";
10139             border: 36 11 10 19;
10140           }
10141           image.middle: SOLID;
10142           fill.smooth: 0;
10143         }
10144       }
10145       part { name: "elm.swallow.content";
10146         type: SWALLOW;
10147         description { state: "default" 0.0;
10148           rel1 {
10149             to: "base0";
10150             offset: 9 8;
10151           }
10152           rel2 {
10153             to: "base0";
10154             offset: -10 -17;
10155           }
10156         }
10157       }
10158       part { name: "shine";
10159         mouse_events:  0;
10160         description { state:    "default" 0.0;
10161           rel1 {
10162             to: "base0";
10163             offset: 5 4;
10164           }
10165           rel2 {
10166             to: "base0";
10167             relative: 1.0 0.5;
10168             offset: -6 -16;
10169           }
10170           image {
10171             normal: "bubble_shine.png";
10172             border: 5 5 5 0;
10173           }
10174           fill.smooth: 0;
10175         }
10176       }
10177     }
10178     programs {
10179       program {
10180         name: "icon_show";
10181         signal: "elm,state,icon,visible";
10182         source: "elm";
10183         action: STATE_SET "visible" 0.0;
10184         target: "elm.swallow.icon";
10185       }
10186       program {
10187         name: "icon_hide";
10188         signal: "elm,state,icon,hidden";
10189         source: "elm";
10190         action: STATE_SET "default" 0.0;
10191         target: "elm.swallow.icon";
10192       }
10193     }
10194   }
10195
10196   group { name: "elm/bubble/bottom_right/default";
10197     images {
10198       image: "bubble_2.png" COMP;
10199       image: "bubble_shine.png" COMP;
10200     }
10201     parts {
10202       part { name: "event";
10203          type: RECT;
10204          description {
10205             state: "default" 0.0;
10206             color: 0 0 0 0;
10207          }
10208       }
10209       part { name: "elm.swallow.icon";
10210         type: SWALLOW;
10211         description { state: "default" 0.0;
10212           fixed: 1 1;
10213           visible: 0.0;
10214           align: 1.0 1.0;
10215           aspect: 1.0 1.0;
10216           aspect_preference: VERTICAL;
10217           rel1 {
10218             to_y: "elm.text";
10219             relative: 1.0 0.0;
10220             offset: -5 0;
10221           }
10222           rel2 {
10223             relative: 1.0 1.0;
10224             offset: -5 -5;
10225           }
10226         }
10227         description { state: "visible" 0.0;
10228           inherit: "default" 0.0;
10229           visible: 1;
10230         }
10231       }
10232       part { name: "elm.text";
10233         type: TEXT;
10234         mouse_events:   0;
10235         scale: 1;
10236         description { state: "default" 0.0;
10237           align: 0.0 1.0;
10238           fixed: 0 1;
10239           rel1 {
10240             relative: 0.0 1.0;
10241             offset: 4 -5;
10242           }
10243           rel2 {
10244             to_x: "elm.info";
10245             relative: 0.0 1.0;
10246             offset: -5 -5;
10247           }
10248           color: 0 0 0 255;
10249           text {
10250             font: "Sans:style=Bold,Edje-Vera-Bold";
10251             size: 10;
10252             min: 0 1;
10253             max: 0 1;
10254             align: 0.0 1.0;
10255           }
10256         }
10257       }
10258       part { name: "elm.info";
10259         type: TEXT;
10260         mouse_events:   0;
10261         scale: 1;
10262         description { state: "default" 0.0;
10263           align: 1.0 1.0;
10264           fixed: 1 1;
10265           rel1 {
10266             relative: 1.0 1.0;
10267             offset: -5 -5;
10268           }
10269           rel2 {
10270             to_x: "elm.swallow.icon";
10271             relative: 0.0 1.0;
10272             offset: -5 -5;
10273           }
10274           color: 0 0 0 64;
10275           text {
10276             font: "Sans:style=Bold,Edje-Vera-Bold";
10277             size: 10;
10278             min: 1 1;
10279             max: 1 1;
10280             align: 1.0 1.0;
10281           }
10282         }
10283       }
10284       part { name: "base0";
10285         mouse_events:  0;
10286         description { state: "default" 0.0;
10287           rel2 {
10288             to_y: "elm.swallow.icon";
10289             relative: 1.0 0.0;
10290             offset: -1 -1;
10291           }
10292           image {
10293             normal: "bubble_2.png";
10294             border: 11 36 10 19;
10295           }
10296           image.middle: SOLID;
10297           fill.smooth: 0;
10298         }
10299       }
10300       part { name: "elm.swallow.content";
10301         type: SWALLOW;
10302         description { state: "default" 0.0;
10303           rel1 {
10304             to: "base0";
10305             offset: 9 8;
10306           }
10307           rel2 {
10308             to: "base0";
10309             offset: -10 -17;
10310           }
10311         }
10312       }
10313       part { name: "shine";
10314         mouse_events:  0;
10315         description { state:    "default" 0.0;
10316           rel1 {
10317             to: "base0";
10318             offset: 5 4;
10319           }
10320           rel2 {
10321             to: "base0";
10322             relative: 1.0 0.5;
10323             offset: -6 -16;
10324           }
10325           image {
10326             normal: "bubble_shine.png";
10327             border: 5 5 5 0;
10328           }
10329           fill.smooth: 0;
10330         }
10331       }
10332     }
10333     programs {
10334       program {
10335         name: "icon_show";
10336         signal: "elm,state,icon,visible";
10337         source: "elm";
10338         action: STATE_SET "visible" 0.0;
10339         target: "elm.swallow.icon";
10340       }
10341       program {
10342         name: "icon_hide";
10343         signal: "elm,state,icon,hidden";
10344         source: "elm";
10345         action: STATE_SET "default" 0.0;
10346         target: "elm.swallow.icon";
10347       }
10348     }
10349   }
10350
10351 ///////////////////////////////////////////////////////////////////////////////
10352    group { name: "elm/photo/base/default";
10353       images {
10354          image: "frame_1.png" COMP;
10355          image: "frame_2.png" COMP;
10356          image: "dia_grad.png" COMP;
10357          image: "head.png" COMP;
10358       }
10359       parts {
10360          part { name: "base0";
10361             mouse_events:  0;
10362             description { state: "default" 0.0;
10363                image.normal: "dia_grad.png";
10364                rel1.to: "over";
10365                rel2.to: "over";
10366                fill {
10367                   smooth: 0;
10368                   size {
10369                      relative: 0.0 1.0;
10370                      offset: 64 0;
10371                   }
10372                }
10373             }
10374          }
10375          part { name: "base";
10376             mouse_events:  0;
10377             description { state:    "default" 0.0;
10378                image {
10379                   normal: "frame_2.png";
10380                   border: 5 5 32 26;
10381                   middle: 0;
10382                }
10383                fill.smooth : 0;
10384             }
10385          }
10386          part { name: "head";
10387             mouse_events:  0;
10388             description { state:    "default" 0.0;
10389                rel1.offset: 4 4;
10390                rel2.offset: -5 -5;
10391                aspect: 1.0 1.0;
10392                aspect_preference: BOTH;
10393                image.normal: "head.png";
10394             }
10395          }
10396          part { name: "clip";
10397             mouse_events:  0;
10398             type: RECT;
10399             description { state:    "default" 0.0;
10400                rel1.offset: 4 4;
10401                rel2.offset: -5 -5;
10402                color: 255 255 255 255;
10403             }
10404          }
10405          part { name: "elm.swallow.content";
10406             type: SWALLOW;
10407             clip_to: "clip";
10408             description { state: "default" 0.0;
10409                rel1.offset: 4 4;
10410                rel2.offset: -5 -5;
10411             }
10412          }
10413          part { name: "over";
10414             mouse_events:  0;
10415             description { state:    "default" 0.0;
10416                rel1.offset: 4 4;
10417                rel2.offset: -5 -5;
10418                image {
10419                   normal: "frame_1.png";
10420                   border: 2 2 28 22;
10421                   middle: 0;
10422                }
10423                fill.smooth: 0;
10424             }
10425          }
10426      }
10427    }
10428    
10429    group { name: "elm/photo/base/shadow";
10430         images {
10431                         image: "shadow.png" COMP;
10432                         image: "black.png" COMP;
10433         }
10434         script {
10435         public message(Msg_Type:type, id, ...) {
10436                 if( (type==MSG_INT_SET) && (id==0) )
10437                 {
10438                 new w;
10439                 new h;
10440            
10441                 custom_state(PART:"size", "default", 0.0);
10442
10443                 w = getarg(2);
10444                 h = getarg(3);
10445                 set_state_val(PART:"size", STATE_REL1_OFFSET, - w/2, - h/2);
10446                 set_state_val(PART:"size", STATE_REL2_OFFSET, w/2 + 1, h/2 + 1);
10447                 set_state(PART:"size", "custom", 0.0);
10448                 }
10449         }
10450         }
10451         parts {
10452         part { name: "size";
10453                 type: SWALLOW;
10454                 description { state: "default" 0.0;
10455                         rel1.relative: 0.5 0.5;
10456                         rel2.relative: 0.5 0.5;
10457                 }
10458                 }
10459         part {
10460                 name: "shadow";
10461                 type: IMAGE;
10462                 repeat_events: 1;
10463                 description {
10464                 state: "default" 0.0;
10465                 rel1.to: "size";
10466                 rel2.to: "size";
10467                 rel1.relative: -0.06 -0.06;
10468                 rel2.relative: 1.07 1.07;
10469                 image.normal: "shadow.png";
10470                 }
10471         }
10472         
10473         
10474                 part { name: "elm.swallow.content";
10475                 type: SWALLOW;
10476                 description { state: "default" 0.0;
10477                 rel1.offset: 3 3;
10478                 rel2.offset: -3 -3;
10479                         fixed: 1 1;
10480                 }
10481                 }
10482                 
10483                 part {
10484                 name: "border";
10485                 type: IMAGE;
10486                 repeat_events: 1;
10487                 description {
10488                 state: "default" 0.0;
10489                 visible: 1;
10490                 color: 0 0 0 255;
10491                 rel1.to: "size";
10492                 rel2.to: "size";
10493                 image.normal: "black.png";
10494                 image.border: 1 1 1 1;
10495                 image.middle: 0;
10496                 }
10497         }
10498                 }
10499    }
10500
10501 ///////////////////////////////////////////////////////////////////////////////
10502    group { name: "elm/thumb/base/default";
10503       images {
10504          image: "frame_1.png" COMP;
10505          image: "frame_2.png" COMP;
10506          image: "dia_grad.png" COMP;
10507          image: "busy-1.png" COMP;
10508          image: "busy-2.png" COMP;
10509          image: "busy-3.png" COMP;
10510          image: "busy-4.png" COMP;
10511          image: "busy-5.png" COMP;
10512          image: "busy-6.png" COMP;
10513          image: "busy-7.png" COMP;
10514          image: "busy-8.png" COMP;
10515          image: "busy-9.png" COMP;
10516       }
10517       parts {
10518          part { name: "base0";
10519             mouse_events:  0;
10520             description { state:        "default" 0.0;
10521                image.normal: "dia_grad.png";
10522                rel1.to: "over";
10523                rel2.to: "over";
10524                fill {
10525                   smooth: 0;
10526                   size {
10527                      relative: 0.0 1.0;
10528                      offset: 64 0;
10529                   }
10530                }
10531             }
10532          }
10533          part { name: "base";
10534             mouse_events:  0;
10535             description { state:        "default" 0.0;
10536                image {
10537                   normal: "frame_2.png";
10538                   border: 5 5 32 26;
10539                   middle: 0;
10540                }
10541                fill.smooth : 0;
10542             }
10543          }
10544          part { name: "clip";
10545             mouse_events:  0;
10546             type: RECT;
10547             description { state:        "default" 0.0;
10548                rel1.offset: 4 4;
10549                rel2.offset: -5 -5;
10550                color: 255 255 255 255;
10551             }
10552          }
10553          part { name: "elm.swallow.content";
10554             type: SWALLOW;
10555             clip_to: "clip";
10556             description { state:        "default" 0.0;
10557                rel1.offset: 4 4;
10558                rel2.offset: -5 -5;
10559             }
10560          }
10561          part { name: "progress";
10562             mouse_events: 0;
10563
10564             clip_to: "clip";
10565             description { state:        "default" 0.0;
10566                min: 32 32;
10567                max: 32 32;
10568                visible: 0;
10569                aspect: 1.0 1.0;
10570                aspect_preference: BOTH;
10571             }
10572             description { state:        "pulse" 0.0;
10573                inherit: "default" 0.0;
10574                visible: 1;
10575                image {
10576                   normal: "busy-9.png";
10577                   tween:  "busy-1.png";
10578                   tween:  "busy-2.png";
10579                   tween:  "busy-3.png";
10580                   tween:  "busy-4.png";
10581                   tween:  "busy-5.png";
10582                   tween:  "busy-6.png";
10583                   tween:  "busy-7.png";
10584                   tween:  "busy-8.png";
10585                   border: 7 7 7 7;
10586                }
10587             }
10588          }
10589          part { name: "over";
10590             mouse_events:  0;
10591             description { state:        "default" 0.0;
10592                rel1.offset: 4 4;
10593                rel2.offset: -5 -5;
10594                image {
10595                   normal: "frame_1.png";
10596                   border: 2 2 28 22;
10597                   middle: 0;
10598                }
10599                fill.smooth: 0;
10600             }
10601          }
10602          programs {
10603             program { name: "start_pulse";
10604                signal: "elm,state,pulse,start";
10605                source: "elm";
10606                action: STATE_SET "pulse" 0.0;
10607                target: "progress";
10608                transition: LINEAR 0.5;
10609                after: "start_pulse";
10610             }
10611             program { name: "stop_pulse";
10612                signal: "elm,state,pulse,stop";
10613                source: "elm";
10614                action: STATE_SET "default" 0.0;
10615                target: "progress";
10616             }
10617          }
10618       }
10619    }
10620
10621    group { name: "elm/thumb/base/noframe";
10622       images {
10623          image: "busy-1.png" COMP;
10624          image: "busy-2.png" COMP;
10625          image: "busy-3.png" COMP;
10626          image: "busy-4.png" COMP;
10627          image: "busy-5.png" COMP;
10628          image: "busy-6.png" COMP;
10629          image: "busy-7.png" COMP;
10630          image: "busy-8.png" COMP;
10631          image: "busy-9.png" COMP;
10632       }
10633       parts {
10634          part { name: "elm.swallow.content";
10635             type: SWALLOW;
10636             description { state: "default" 0.0;
10637                rel1.offset: 4 4;
10638                rel2.offset: -5 -5;
10639             }
10640          }
10641          part { name: "progress";
10642             mouse_events: 0;
10643             description { state:        "default" 0.0;
10644                min: 32 32;
10645                max: 32 32;
10646                visible: 0;
10647                aspect: 1.0 1.0;
10648                aspect_preference: BOTH;
10649             }
10650             description { state:        "pulse" 0.0;
10651                inherit: "default" 0.0;
10652                visible: 1;
10653                image {
10654                   normal: "busy-9.png";
10655                   tween:  "busy-1.png";
10656                   tween:  "busy-2.png";
10657                   tween:  "busy-3.png";
10658                   tween:  "busy-4.png";
10659                   tween:  "busy-5.png";
10660                   tween:  "busy-6.png";
10661                   tween:  "busy-7.png";
10662                   tween:  "busy-8.png";
10663                   border: 7 7 7 7;
10664                }
10665             }
10666          }
10667          programs {
10668             program { name: "start_pulse";
10669                signal: "elm,state,pulse,start";
10670                source: "elm";
10671                action: STATE_SET "pulse" 0.0;
10672                target: "progress";
10673                transition: LINEAR 0.5;
10674                after: "start_pulse";
10675             }
10676             program { name: "stop_pulse";
10677                signal: "elm,state,pulse,stop";
10678                source: "elm";
10679                action: STATE_SET "default" 0.0;
10680                target: "progress";
10681             }
10682          }
10683       }
10684    }
10685
10686
10687 ///////////////////////////////////////////////////////////////////////////////
10688    group { name: "elm/icon/home/default"; alias: "elm/icon/toolbar/home/default"; min: 32 32;
10689       images.image: "icon_home.png" COMP; parts { part { name: "base";
10690          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10691             image.normal: "icon_home.png"; } } } }
10692    group { name: "elm/icon/close/default"; alias: "elm/icon/toolbar/close/default"; min: 32 32;
10693       images.image: "icon_close.png" COMP; parts { part { name: "base";
10694          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10695             image.normal: "icon_close.png"; } } } }
10696    group { name: "elm/icon/apps/default"; alias: "elm/icon/toolbar/apps/default"; min: 32 32;
10697       images.image: "icon_apps.png" COMP; parts { part { name: "base";
10698          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10699             image.normal: "icon_apps.png"; } } } }
10700    group { name: "elm/icon/arrow_up/default"; alias: "elm/icon/toolbar/arrow_up/default"; min: 32 32;
10701       images.image: "icon_arrow_up.png" COMP; parts { part { name: "base";
10702          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10703             image.normal: "icon_arrow_up.png"; } } } }
10704    group { name: "elm/icon/arrow_down/default";
10705            alias: "elm/icon/toolbar/arrow_down/default";
10706            alias: "elm/icon/toolbar/more_menu/default"; min: 32 32;
10707       images.image: "icon_arrow_down.png" COMP; parts { part { name: "base";
10708          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10709             image.normal: "icon_arrow_down.png"; } } } }
10710    group { name: "elm/icon/arrow_left/default"; alias: "elm/icon/toolbar/arrow_left/default"; min: 32 32;
10711       images.image: "icon_arrow_left.png" COMP; parts { part { name: "base";
10712          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10713             image.normal: "icon_arrow_left.png"; } } } }
10714    group { name: "elm/icon/arrow_right/default"; alias: "elm/icon/toolbar/arrow_right/default"; min: 32 32;
10715       images.image: "icon_arrow_right.png" COMP; parts { part { name: "base";
10716          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10717             image.normal: "icon_arrow_right.png"; } } } }
10718    group { name: "elm/icon/chat/default"; alias: "elm/icon/toolbar/chat/default"; min: 32 32;
10719       images.image: "icon_chat.png" COMP; parts { part { name: "base";
10720          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10721             image.normal: "icon_chat.png"; } } } }
10722    group { name: "elm/icon/clock/default"; alias: "elm/icon/toolbar/clock/default"; min: 32 32;
10723       images.image: "icon_clock.png" COMP; parts { part { name: "base";
10724          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10725             image.normal: "icon_clock.png"; } } } }
10726    group { name: "elm/icon/delete/default"; alias: "elm/icon/toolbar/delete/default"; min: 32 32;
10727       images.image: "icon_delete.png" COMP; parts { part { name: "base";
10728          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10729             image.normal: "icon_delete.png"; } } } }
10730    group { name: "elm/icon/edit/default"; alias: "elm/icon/toolbar/edit/default"; min: 32 32;
10731       images.image: "icon_edit.png" COMP; parts { part { name: "base";
10732          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10733             image.normal: "icon_edit.png"; } } } }
10734    group { name: "elm/icon/refresh/default"; alias: "elm/icon/toolbar/refresh/default"; min: 32 32;
10735       images.image: "icon_refresh.png" COMP; parts { part { name: "base";
10736          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10737             image.normal: "icon_refresh.png"; } } } }
10738    group { name: "elm/icon/folder/default"; alias: "elm/icon/toolbar/folder/default"; min: 32 32;
10739       images.image: "icon_folder.png" COMP; parts { part { name: "base";
10740          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10741             image.normal: "icon_folder.png"; } } } }
10742    group { name: "elm/icon/file/default"; alias: "elm/icon/toolbar/file/default"; min: 32 32;
10743       images.image: "icon_file.png" COMP; parts { part { name: "base";
10744          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10745             image.normal: "icon_file.png"; } } } }
10746 ///////////////////////////////////////////////////////////////////////////////
10747    group { name: "elm/icon/menu/home/default"; min: 24 24; max: 24 24;
10748       images.image: "icon_home.png" COMP; parts { part { name: "base";
10749          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10750             image.normal: "icon_home.png"; } } } }
10751    group { name: "elm/icon/menu/close/default"; min: 24 24; max: 24 24;
10752       images.image: "icon_close.png" COMP; parts { part { name: "base";
10753          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10754             image.normal: "icon_close.png"; } } } }
10755    group { name: "elm/icon/menu/apps/default"; min: 24 24; max: 24 24;
10756       images.image: "icon_apps.png" COMP; parts { part { name: "base";
10757          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10758             image.normal: "icon_apps.png"; } } } }
10759    group { name: "elm/icon/menu/arrow_up/default"; min: 24 24; max: 24 24;
10760       images.image: "icon_arrow_up.png" COMP; parts { part { name: "base";
10761          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10762             image.normal: "icon_arrow_up.png"; } } } }
10763    group { name: "elm/icon/menu/arrow_down/default"; min: 24 24; max: 24 24;
10764       images.image: "icon_arrow_down.png" COMP; parts { part { name: "base";
10765          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10766             image.normal: "icon_arrow_down.png"; } } } }
10767    group { name: "elm/icon/menu/arrow_left/default"; min: 24 24; max: 24 24;
10768       images.image: "icon_arrow_left.png" COMP; parts { part { name: "base";
10769          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10770             image.normal: "icon_arrow_left.png"; } } } }
10771    group { name: "elm/icon/menu/arrow_right/default"; min: 24 24; max: 24 24;
10772       images.image: "icon_arrow_right.png" COMP; parts { part { name: "base";
10773          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10774             image.normal: "icon_arrow_right.png"; } } } }
10775    group { name: "elm/icon/menu/chat/default"; min: 24 24; max: 24 24;
10776       images.image: "icon_chat.png" COMP; parts { part { name: "base";
10777          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10778             image.normal: "icon_chat.png"; } } } }
10779    group { name: "elm/icon/menu/clock/default"; min: 24 24; max: 24 24;
10780       images.image: "icon_clock.png" COMP; parts { part { name: "base";
10781          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10782             image.normal: "icon_clock.png"; } } } }
10783    group { name: "elm/icon/menu/delete/default"; min: 24 24; max: 24 24;
10784       images.image: "icon_delete.png" COMP; parts { part { name: "base";
10785          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10786             image.normal: "icon_delete.png"; } } } }
10787    group { name: "elm/icon/menu/edit/default"; min: 24 24; max: 24 24;
10788       images.image: "icon_edit.png" COMP; parts { part { name: "base";
10789          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10790             image.normal: "icon_edit.png"; } } } }
10791    group { name: "elm/icon/menu/refresh/default"; min: 24 24; max: 24 24;
10792       images.image: "icon_refresh.png" COMP; parts { part { name: "base";
10793          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10794             image.normal: "icon_refresh.png"; } } } }
10795    group { name: "elm/icon/menu/folder/default"; min: 24 24; max: 24 24;
10796       images.image: "icon_folder.png" COMP; parts { part { name: "base";
10797          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10798             image.normal: "icon_folder.png"; } } } }
10799    group { name: "elm/icon/menu/file/default"; min: 24 24; max: 24 24;
10800       images.image: "icon_file.png" COMP; parts { part { name: "base";
10801          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10802             image.normal: "icon_file.png"; } } } }
10803
10804 ///////////////////////////////////////////////////////////////////////////////
10805    group { name: "elm/toolbar/base/default";
10806       images {
10807          image: "bt_dis_base.png" COMP;
10808          image: "bt_dis_hilight.png" COMP;
10809          image: "bt_dis_shine.png" COMP;
10810          image: "icon_left_arrow.png" COMP;
10811          image: "icon_right_arrow.png" COMP;
10812       }
10813       parts {
10814          part { name: "base";
10815             mouse_events: 1;
10816             description { state: "default" 0.0;
10817                rel1 {
10818                   relative: 0.0 0.0;
10819                   offset: 2 2;
10820                }
10821                rel2.offset: -3 -3;
10822                image {
10823                   normal: "bt_dis_base.png";
10824                   border: 4 4 4 4;
10825                }
10826                image.middle: SOLID;
10827             }
10828          }
10829          part { name: "clipper";
10830             type: RECT;
10831             mouse_events: 0;
10832             description {
10833                state: "default" 0.0;
10834                rel1 {
10835                   to: "base";
10836                   offset: 2 2;
10837                }
10838                rel2 {
10839                   to: "base";
10840                   offset: -3 -3;
10841                }
10842             }
10843          }
10844          part { name: "elm.swallow.content";
10845             clip_to: "clipper";
10846             type: SWALLOW;
10847             description {
10848                state: "default" 0.0;
10849                rel1.to: "clipper";
10850                rel2.to: "clipper";
10851             }
10852          }
10853          part { name: "over2";
10854             mouse_events: 0;
10855             description { state: "default" 0.0;
10856                rel1.to: "base";
10857                rel2.to: "base";
10858                image {
10859                   normal: "bt_dis_shine.png";
10860                   border: 4 4 4 4;
10861                }
10862             }
10863          }
10864          part { name: "over1";
10865             mouse_events: 0;
10866             description { state: "default" 0.0;
10867                rel1.to: "base";
10868                rel2.to: "base";
10869                rel2.relative: 1.0 0.5;
10870                image {
10871                   normal: "bt_dis_hilight.png";
10872                   border: 4 4 4 0;
10873                }
10874                color: 255 255 255 128;
10875             }
10876          }
10877          part { name: "left_arrow";
10878             mouse_events: 0;
10879             description { state: "default" 0.0;
10880                image.normal: "icon_left_arrow.png";
10881                aspect: 1.0 1.0;
10882                aspect_preference: VERTICAL;
10883                align: 0.0 0.5;
10884                min: 32 32;
10885                max: 32 32;
10886             }
10887             description { state: "hidden" 0.0;
10888                inherit: "default" 0.0;
10889                visible: 0;
10890                color: 255 255 255 0;
10891             }
10892          }
10893          part { name: "right_arrow";
10894             mouse_events: 0;
10895             description { state: "default" 0.0;
10896                image.normal: "icon_right_arrow.png";
10897                aspect: 1.0 1.0;
10898                aspect_preference: VERTICAL;
10899                align: 1.0 0.5;
10900                min: 32 32;
10901                max: 32 32;
10902             }
10903             description { state: "hidden" 0.0;
10904                inherit: "default" 0.0;
10905                visible: 0;
10906                color: 255 255 255 0;
10907             }
10908          }
10909          part { name: "event";
10910             type: RECT;
10911             mouse_events: 1;
10912             repeat_events: 1;
10913             description { state: "default" 0.0;
10914                color: 0 0 0 0;
10915             }
10916          }
10917       }
10918       programs {
10919          program { name: "sb_hbar_show";
10920             signal: "elm,action,show,hbar";
10921             source: "elm";
10922             action:  STATE_SET "default" 0.0;
10923             transition: LINEAR 0.5;
10924             target: "left_arrow";
10925             target: "right_arrow";
10926          }
10927          program { name: "sb_hbar_hide";
10928             signal: "elm,action,hide,hbar";
10929             source: "elm";
10930             action:  STATE_SET "hidden" 0.0;
10931             target: "left_arrow";
10932             target: "right_arrow";
10933             transition: LINEAR 0.5;
10934          }
10935       }
10936    }
10937
10938    group { name: "elm/toolbar/item/default";
10939        images {
10940            image: "toolbar_sel.png" COMP;
10941        }
10942        data.item: "transition_animation_on" "1";
10943        parts {
10944            part { name: "label2";
10945                type: TEXT;
10946                mouse_events:  0;
10947                scale: 1;
10948                clip_to: "elm.text.clipper";
10949                description { state: "default" 0.0;
10950                    align: 0.5 1.0;
10951                    fixed: 0 1;
10952                    rel1.to: "elm.text";
10953                    rel2.to: "elm.text";
10954                    color: 0 0 0 255;
10955                    text {
10956                        font: "Sans";
10957                        text_source: "elm.text";
10958                        size: 10;
10959                        min: 1 1;
10960                        align: 0.5 0.5;
10961                        text_class: "toolbar_item";
10962                    }
10963                }
10964                description { state: "selected" 0.0;
10965                    inherit: "default" 0.0;
10966                    visible: 0;
10967                }
10968                description { state: "disabled" 0.0;
10969                    inherit: "default" 0.0;
10970                    color: 0 0 0 128;
10971                    color3: 0 0 0 0;
10972                }
10973                description { state: "disabled_visible" 0.0;
10974                    inherit: "default" 0.0;
10975                    color: 0 0 0 128;
10976                    color3: 0 0 0 0;
10977                    visible: 1;
10978                    text.min: 1 1;
10979                }
10980            }
10981            part { name: "label2_new";
10982                type: TEXT;
10983                mouse_events:  0;
10984                scale: 1;
10985                clip_to: "elm.text_new.clipper";
10986                description { state: "default" 0.0;
10987                    align: 0.5 1.0;
10988                    fixed: 0 1;
10989                    rel1.to: "elm.text_new";
10990                    rel2.to: "elm.text_new";
10991                    color: 0 0 0 255;
10992                    text {
10993                        font: "Sans";
10994                        text_source: "elm.text_new";
10995                        size: 10;
10996                        min: 1 1;
10997                        align: 0.5 0.5;
10998                        text_class: "toolbar_item";
10999                    }
11000                }
11001                description { state: "selected" 0.0;
11002                    inherit: "default" 0.0;
11003                    visible: 0;
11004                }
11005                description { state: "disabled" 0.0;
11006                    inherit: "default" 0.0;
11007                    color: 0 0 0 128;
11008                    color3: 0 0 0 0;
11009                }
11010                description { state: "disabled_visible" 0.0;
11011                    inherit: "default" 0.0;
11012                    color: 0 0 0 128;
11013                    color3: 0 0 0 0;
11014                    visible: 1;
11015                    text.min: 1 1;
11016                }
11017            }
11018            part { name: "bg";
11019                mouse_events: 0;
11020                description { state: "default" 0.0;
11021                    visible: 0;
11022                    color: 255 255 255 0;
11023                    image {
11024                        normal: "toolbar_sel.png";
11025                        border: 3 3 0 0;
11026                    }
11027                    image.middle: SOLID;
11028                    fill.smooth: 0;
11029                }
11030                description { state: "selected" 0.0;
11031                    inherit: "default" 0.0;
11032                    visible: 1;
11033                    color: 255 255 255 255;
11034                }
11035                description { state: "disabled" 0.0;
11036                    inherit: "default" 0.0;
11037                    visible: 0;
11038                    color: 255 255 255 0;
11039                }
11040            }
11041            part { name: "elm.swallow.icon";
11042                type: SWALLOW;
11043                clip_to: "elm.icon.clipper";
11044                description { state: "default" 0.0;
11045                    align: 0.5 0.5;
11046                    fixed: 0 0;
11047                    rel1 {
11048                        relative: 0.0 0.0;
11049                        offset: 2 2;
11050                    }
11051                    rel2 {
11052                        to_y: "elm.text";
11053                        relative: 1.0 0.0;
11054                        offset: -3 -1;
11055                    }
11056                    color: 0 0 0 0;
11057                }
11058            }
11059            part { name: "elm.swallow.icon_new";
11060                type: SWALLOW;
11061                clip_to: "elm.icon_new.clipper";
11062                description { state: "default" 0.0;
11063                    align: 0.5 0.5;
11064                    fixed: 0 0;
11065                    rel1 {
11066                        relative: 0.0 0.0;
11067                        offset: 2 2;
11068                    }
11069                    rel2 {
11070                        to_y: "elm.text_new";
11071                        relative: 1.0 0.0;
11072                        offset: -3 -1;
11073                    }
11074                    color: 0 0 0 0;
11075                }
11076            }
11077            part { name: "elm.text";
11078                type: TEXT;
11079                effect: SOFT_SHADOW;
11080                mouse_events:  0;
11081                scale: 1;
11082                clip_to: "elm.text.clipper";
11083                description { state: "default" 0.0;
11084                    align: 0.5 1.0;
11085                    fixed: 0 1;
11086                    rel1 {
11087                        relative: 0.0 1.0;
11088                        offset:   0 -1;
11089                    }
11090                    rel2 {
11091                        relative: 1.0 1.0;
11092                        offset:   -1 -1;
11093                    }
11094                    visible: 0;
11095                    color: 224 224 224 255;
11096                    color3: 0 0 0 32;
11097                    text {
11098                        font: "Sans:style=Bold";
11099                        size: 10;
11100                        min: 1 1;
11101                        align: 0.5 0.5;
11102                        text_class: "toolbar_item";
11103                    }
11104                }
11105                description { state: "selected" 0.0;
11106                    inherit: "default" 0.0;
11107                    visible: 1;
11108                }
11109                description { state: "visible" 0.0;
11110                    inherit: "default" 0.0;
11111                    visible: 1;
11112                    text.min: 1 1;
11113                }
11114                description { state: "disabled" 0.0;
11115                    inherit: "default" 0.0;
11116                    color: 0 0 0 128;
11117                    color3: 0 0 0 0;
11118                }
11119                description { state: "disabled_visible" 0.0;
11120                    inherit: "default" 0.0;
11121                    color: 0 0 0 128;
11122                    color3: 0 0 0 0;
11123                    visible: 1;
11124                    text.min: 1 1;
11125                }
11126            }
11127            part { name: "elm.text_new";
11128                type: TEXT;
11129                effect: SOFT_SHADOW;
11130                mouse_events:  0;
11131                clip_to: "elm.text_new.clipper";
11132                scale: 1;
11133                description { state: "default" 0.0;
11134                    align: 0.5 1.0;
11135                    fixed: 0 1;
11136                    rel1 {
11137                        relative: 0.0 1.0;
11138                        offset:   0 -1;
11139                    }
11140                    rel2 {
11141                        relative: 1.0 1.0;
11142                        offset:   -1 -1;
11143                    }
11144                    visible: 0;
11145                    color: 224 224 224 255;
11146                    color3: 0 0 0 32;
11147                    text {
11148                        font: "Sans:style=Bold";
11149                        size: 10;
11150                        min: 1 1;
11151                        align: 0.5 0.5;
11152                        text_class: "toolbar_item";
11153                    }
11154                }
11155                description { state: "selected" 0.0;
11156                    inherit: "default" 0.0;
11157                    visible: 1;
11158                }
11159                description { state: "visible" 0.0;
11160                    inherit: "default" 0.0;
11161                    visible: 1;
11162                    text.min: 1 1;
11163                }
11164                description { state: "disabled" 0.0;
11165                    inherit: "default" 0.0;
11166                    color: 0 0 0 128;
11167                    color3: 0 0 0 0;
11168                }
11169                description { state: "disabled_visible" 0.0;
11170                    inherit: "default" 0.0;
11171                    color: 0 0 0 128;
11172                    color3: 0 0 0 0;
11173                    visible: 1;
11174                    text.min: 1 1;
11175                }
11176            }
11177            part { name: "elm.text.clipper";
11178                type: RECT;
11179                description { state: "default" 0.0;
11180                    color: 255 255 255 255;
11181                }
11182                description { state: "animation" 0.0;
11183                    color: 255 255 255 0;
11184                }
11185            }
11186            part { name: "elm.text_new.clipper";
11187                type: RECT;
11188                description { state: "default" 0.0;
11189                    color: 255 255 255 0;
11190                }
11191                description { state: "animation" 0.0;
11192                    color: 255 255 255 255;
11193                }
11194            }
11195            part { name: "elm.icon.clipper";
11196                type: RECT;
11197                description { state: "default" 0.0;
11198                    color: 255 255 255 255;
11199                }
11200                description { state: "animation" 0.0;
11201                    color: 255 255 255 0;
11202                }
11203            }
11204            part { name: "elm.icon_new.clipper";
11205                type: RECT;
11206                description { state: "default" 0.0;
11207                    color: 255 255 255 0;
11208                }
11209                description { state: "animation" 0.0;
11210                    color: 255 255 255 255;
11211                }
11212            }
11213            part { name: "event";
11214                type: RECT;
11215                mouse_events: 1;
11216                ignore_flags: ON_HOLD;
11217                description { state: "default" 0.0;
11218                    color: 0 0 0 0;
11219                }
11220            }
11221        }
11222        programs {
11223            program { name: "go_active";
11224                signal:  "elm,state,selected";
11225                source:  "elm";
11226                action:  STATE_SET "selected" 0.0;
11227                target:  "bg";
11228                target:  "elm.text";
11229                target:  "label2";
11230                target:  "elm.text_new";
11231                target:  "label2_new";
11232                transition: LINEAR 0.2;
11233            }
11234            program { name: "go_passive";
11235                signal:  "elm,state,unselected";
11236                source:  "elm";
11237                action:  STATE_SET "default" 0.0;
11238                target:  "bg";
11239                target:  "elm.text";
11240                target:  "label2";
11241                target:  "elm.text_new";
11242                target:  "label2_new";
11243                transition: LINEAR 0.1;
11244            }
11245            program { name: "go";
11246                signal:  "mouse,up,1";
11247                source:  "event";
11248                action:  SIGNAL_EMIT "elm,action,click" "elm";
11249            }
11250            program { name: "mouse,in";
11251               signal:  "mouse,in";
11252               source:  "event";
11253               action:  SIGNAL_EMIT "elm,mouse,in" "elm";
11254            }
11255            program { name: "mouse,out";
11256               signal:  "mouse,out";
11257               source:  "event";
11258               action:  SIGNAL_EMIT "elm,mouse,out" "elm";
11259            }
11260            program { name: "disable";
11261                signal: "elm,state,disabled";
11262                source: "elm";
11263                action: STATE_SET "disabled" 0.0;
11264                target: "label2";
11265                target: "label2_new";
11266                target: "bg";
11267                after: "disable_text";
11268            }
11269            program { name: "disable_text";
11270                script {
11271                    new st[31];
11272                    new Float:vl;
11273                    get_state(PART:"elm.text", st, 30, vl);
11274                    if (!strcmp(st, "visible"))
11275                    {
11276                       set_state(PART:"elm.text", "disabled_visible", 0.0);
11277                       set_state(PART:"elm.text_new", "disabled_visible", 0.0);
11278                    }
11279                    else
11280                    {
11281                       set_state(PART:"elm.text", "disabled", 0.0);
11282                       set_state(PART:"elm.text_new", "disabled", 0.0);
11283                    }
11284                }
11285            }
11286            program { name: "enable";
11287                signal: "elm,state,enabled";
11288                source: "elm";
11289                action: STATE_SET "default" 0.0;
11290                target: "label2";
11291                target: "label2_new";
11292                target: "bg";
11293                after: "enable_text";
11294            }
11295            program { name: "enable_text";
11296                script {
11297                    new st[31];
11298                    new Float:vl;
11299                    get_state(PART:"elm.text", st, 30, vl);
11300                    if (!strcmp(st, "disabled_visible"))
11301                    {
11302                       set_state(PART:"elm.text", "visible", 0.0);
11303                       set_state(PART:"elm.text_new", "visible", 0.0);
11304                    }
11305                    else
11306                    {
11307                       set_state(PART:"elm.text", "default", 0.0);
11308                       set_state(PART:"elm.text_new", "default", 0.0);
11309                    }
11310                }
11311            }
11312            program { name: "label_set,animation,forward";
11313               signal: "elm,state,label_set,forward";
11314               source: "elm";
11315               after: "label_set,animation";
11316            }
11317            program { name: "label_set,animation,backward";
11318               signal: "elm,state,label_set,backward";
11319               source: "elm";
11320               after: "label_set,animation";
11321            }
11322            program { name: "label_set,animation";
11323               signal: "elm,state,label_set";
11324               source: "elm";
11325               action: STATE_SET "animation" 0.0;
11326               target: "elm.text.clipper";
11327               target: "elm.text_new.clipper";
11328               transition: LINEAR 0.2;
11329               after: "label_set,animation,done";
11330            }
11331            program { name: "label_set,animation,done";
11332               action: SIGNAL_EMIT "elm,state,label_set,done" "elm";
11333            }
11334            program { name: "label,reset";
11335               signal: "elm,state,label,reset";
11336               source: "elm";
11337               action: STATE_SET "default" 0.0;
11338               target: "elm.text.clipper";
11339               target: "elm.text_new.clipper";
11340            }
11341            program { name: "icon_set,animation,forward";
11342               signal: "elm,state,icon_set,forward";
11343               source: "elm";
11344               after: "icon_set,animation";
11345            }
11346            program { name: "icon_set,animation,backward";
11347               signal: "elm,state,icon_set,backward";
11348               source: "elm";
11349               after: "icon_set,animation";
11350            }
11351            program { name: "icon_set,animation";
11352               signal: "elm,state,icon_set";
11353               source: "elm";
11354               action: STATE_SET "animation" 0.0;
11355               target: "elm.icon.clipper";
11356               target: "elm.icon_new.clipper";
11357               transition: LINEAR 0.2;
11358               after: "icon_set,animation,done";
11359            }
11360            program { name: "icon_set,animation,done";
11361               action: SIGNAL_EMIT "elm,state,icon_set,done" "elm";
11362            }
11363            program { name: "icon,reset";
11364               signal: "elm,state,icon,reset";
11365               source: "elm";
11366               action: STATE_SET "default" 0.0;
11367               target: "elm.icon.clipper";
11368               target: "elm.icon_new.clipper";
11369            }
11370        }
11371    }
11372
11373    group { name: "elm/toolbar/separator/default";
11374       images {
11375          image: "toolbar_separator_v.png" COMP;
11376       }
11377       parts {
11378          part { name: "separator"; // separator group
11379             description { state: "default" 0.0;
11380                min: 2 2;
11381                max: 2 9999;
11382                rel1.offset: 4 4;
11383                rel2.offset: -5 -5;
11384                image {
11385                   normal: "toolbar_separator_v.png";
11386                }
11387                fill {
11388                   smooth: 0;
11389                }
11390             }
11391          }
11392       }
11393    }
11394
11395    ///////////////////////////////////////////////////////////////////////////////
11396    group { name: "elm/notify/block_events/default";
11397        parts {
11398            part { name: "block_events";
11399                type: RECT;
11400                description { state: "default" 0.0;
11401                    color: 0 0 0 64;
11402                    visible: 1;
11403                }
11404            }
11405        }
11406            programs {
11407                    program {
11408                                 name: "block_clicked";
11409                                 signal: "mouse,clicked,1";
11410                                 source: "block_events";
11411                                 action: SIGNAL_EMIT "elm,action,clicked" "elm";
11412                    }
11413            }
11414    }
11415    group { name: "elm/notify/top/default";
11416        //this group is a design similar to the inwin group
11417        images {
11418            image: "shad_circ.png" COMP;
11419            image: "bt_dis_base.png" COMP;
11420            image: "bt_dis_hilight.png" COMP;
11421        }
11422        parts {
11423            part { name: "base";
11424                type: RECT;
11425                mouse_events: 0;
11426                repeat_events: 1;
11427                description { state: "default" 0.0;
11428                    color: 0 0 0 0;
11429                    rel1.offset: 10 10;
11430                    rel2.offset: -10 -10;
11431                    rel1.relative: 0.0 -1.0;
11432                    rel2.relative: 1.0 0.0;
11433                }
11434                description { state: "visible" 0.0;
11435                    inherit: "default" 0.0;
11436                    color: 0 0 0 64;
11437                    rel1.relative: 0.0 0.0;
11438                    rel2.relative: 1.0 1.0;
11439                }
11440            }
11441            part { name: "shad";
11442                mouse_events:  0;
11443                description { state: "default" 0.0;
11444                    image.normal: "shad_circ.png";
11445                    rel1.to: "elm.swallow.content";
11446                    rel1.offset: -64 -64;
11447                    rel2.to: "elm.swallow.content";
11448                    rel2.offset: 63 63;
11449                    fill.smooth: 0;
11450                }
11451            }
11452            part { name: "pop";
11453                mouse_events: 1;
11454                description { state: "default" 0.0;
11455                    rel1.to: "elm.swallow.content";
11456                    rel1.offset: -5 -5;
11457                    rel2.to: "elm.swallow.content";
11458                    rel2.offset: 4 4;
11459                    image {
11460                        normal: "bt_dis_base.png";
11461                        border: 4 4 4 4;
11462                    }
11463                    image.middle: SOLID;
11464                }
11465            }
11466            part { name: "popover";
11467                mouse_events: 0;
11468                description { state: "default" 0.0;
11469                    rel1.to: "pop";
11470                    rel2.to: "pop";
11471                    rel2.relative: 1.0 0.5;
11472                    image {
11473                        normal: "bt_dis_hilight.png";
11474                        border: 4 4 4 0;
11475                    }
11476                }
11477            }
11478            part { name: "elm.swallow.content";
11479                type: SWALLOW;
11480                description { state: "default" 0.0;
11481                    rel1.to: "base";
11482                    rel2.to: "base";
11483                }
11484            }
11485        }
11486        programs {
11487            program { name: "show";
11488                signal: "elm,action,show";
11489                source: "elm";
11490                action: STATE_SET "visible" 0.0;
11491                target: "base";
11492            }
11493            program { name: "show_2";
11494                 signal: "show";
11495                 action: STATE_SET "default" 0.0;
11496                 target: "base";
11497                 after: "show_3";
11498            }
11499            program { name: "show_3";
11500                 signal: "show";
11501                 action: STATE_SET "visible" 0.0;
11502                 target: "base";
11503                 transition: LINEAR 0.5;
11504            }
11505            program { name: "hide";
11506                signal: "elm,action,hide";
11507                source: "elm";
11508                action: STATE_SET "default" 0.0;
11509                target: "base";
11510            }
11511        }
11512    }
11513    group { name: "elm/notify/center/default";
11514        //this group is a design similar to the inwin group
11515        images {
11516            image: "bt_dis_base.png" COMP;
11517        }
11518        parts {
11519            part { name: "base";
11520                type: RECT;
11521                mouse_events: 0;
11522                repeat_events: 1;
11523                description { state: "default" 0.0;
11524                    color: 0 0 0 0;
11525                    rel1.relative: 0.0 0.0;
11526                    rel2.relative: 1.0 1.0;
11527                }
11528            }
11529            part { name: "pop";
11530                mouse_events: 1;
11531                description { state: "default" 0.0;
11532                    rel1.to: "elm.swallow.content";
11533                    rel1.offset: -5 -5;
11534                    rel2.to: "elm.swallow.content";
11535                    rel2.offset: 4 4;
11536                    image {
11537                        normal: "bt_dis_base.png";
11538                        border: 4 4 4 4;
11539                    }
11540                }
11541            }
11542            part { name: "elm.swallow.content";
11543                type: SWALLOW;
11544                description { state: "default" 0.0;
11545                    rel1.to: "base";
11546                    rel2.to: "base";
11547                }
11548            }
11549        }
11550        programs {
11551            program { name: "show";
11552                signal: "elm,action,show";
11553                source: "elm";
11554                action: STATE_SET "default" 0.0;
11555                target: "base";
11556            }
11557            program { name: "show_2";
11558                 signal: "show";
11559                 action: STATE_SET "default" 0.0;
11560                 target: "base";
11561            }
11562            program { name: "hide";
11563                signal: "elm,action,hide";
11564                source: "elm";
11565                action: STATE_SET "default" 0.0;
11566                target: "base";
11567            }
11568        }
11569    }
11570    group { name: "elm/notify/bottom/default";
11571        //this group is a design similar to the inwin group
11572        images {
11573            image: "shad_circ.png" COMP;
11574            image: "bt_dis_base.png" COMP;
11575            image: "bt_dis_hilight.png" COMP;
11576        }
11577        parts {
11578            part { name: "base";
11579                type: RECT;
11580                mouse_events: 0;
11581                repeat_events: 1;
11582                description { state: "default" 0.0;
11583                    color: 0 0 0 0;
11584                    rel1.offset: 10 10;
11585                    rel2.offset: -10 -10;
11586                    rel1.relative: 0.0 1.0;
11587                    rel2.relative: 1.0 2.0;
11588                }
11589                description { state: "visible" 0.0;
11590                    inherit: "default" 0.0;
11591                    color: 0 0 0 64;
11592                    rel1.relative: 0.0 0.0;
11593                    rel2.relative: 1.0 1.0;
11594                }
11595            }
11596            part { name: "shad";
11597                mouse_events:  0;
11598                description { state: "default" 0.0;
11599                    image.normal: "shad_circ.png";
11600                    rel1.to: "elm.swallow.content";
11601                    rel1.offset: -64 -64;
11602                    rel2.to: "elm.swallow.content";
11603                    rel2.offset: 63 63;
11604                    fill.smooth: 0;
11605                }
11606            }
11607            part { name: "pop";
11608                mouse_events: 1;
11609                description { state: "default" 0.0;
11610                    rel1.to: "elm.swallow.content";
11611                    rel1.offset: -5 -5;
11612                    rel2.to: "elm.swallow.content";
11613                    rel2.offset: 4 4;
11614                    image {
11615                        normal: "bt_dis_base.png";
11616                        border: 4 4 4 4;
11617                    }
11618                    image.middle: SOLID;
11619                }
11620            }
11621            part { name: "popover";
11622                mouse_events: 0;
11623                description { state: "default" 0.0;
11624                    rel1.to: "pop";
11625                    rel2.to: "pop";
11626                    rel2.relative: 1.0 0.5;
11627                    image {
11628                        normal: "bt_dis_hilight.png";
11629                        border: 4 4 4 0;
11630                    }
11631                }
11632            }
11633            part { name: "elm.swallow.content";
11634                type: SWALLOW;
11635                description { state: "default" 0.0;
11636                    rel1.to: "base";
11637                    rel2.to: "base";
11638                }
11639            }
11640        }
11641        programs {
11642            program { name: "show";
11643                signal: "elm,action,show";
11644                source: "elm";
11645                action: STATE_SET "visible" 0.0;
11646                target: "base";
11647            }
11648            program { name: "show_2";
11649                 signal: "show";
11650                 action: STATE_SET "default" 0.0;
11651                 target: "base";
11652                 after: "show_3";
11653            }
11654            program { name: "show_3";
11655                 signal: "show";
11656                 action: STATE_SET "visible" 0.0;
11657                 target: "base";
11658                 transition: LINEAR 0.5;
11659            }
11660            program { name: "hide";
11661                signal: "elm,action,hide";
11662                source: "elm";
11663                action: STATE_SET "default" 0.0;
11664                target: "base";
11665            }
11666        }
11667    }
11668    group { name: "elm/notify/left/default";
11669        //this group is a design similar to the inwin group
11670        images {
11671            image: "shad_circ.png" COMP;
11672            image: "bt_dis_base.png" COMP;
11673            image: "bt_dis_hilight.png" COMP;
11674        }
11675        parts {
11676            part { name: "base";
11677                type: RECT;
11678                mouse_events: 0;
11679                repeat_events: 1;
11680                description { state: "default" 0.0;
11681                    color: 0 0 0 0;
11682                    rel1.offset: 10 10;
11683                    rel2.offset: -10 -10;
11684                    rel1.relative: -1.0 0.0;
11685                    rel2.relative: 0.0 1.0;
11686                }
11687                description { state: "visible" 0.0;
11688                    inherit: "default" 0.0;
11689                    color: 0 0 0 64;
11690                    rel1.relative: 0.0 0.0;
11691                    rel2.relative: 1.0 1.0;
11692                }
11693            }
11694            part { name: "shad";
11695                mouse_events:  0;
11696                description { state: "default" 0.0;
11697                    image.normal: "shad_circ.png";
11698                    rel1.to: "elm.swallow.content";
11699                    rel1.offset: -64 -64;
11700                    rel2.to: "elm.swallow.content";
11701                    rel2.offset: 63 63;
11702                    fill.smooth: 0;
11703                }
11704            }
11705            part { name: "pop";
11706                mouse_events: 1;
11707                description { state: "default" 0.0;
11708                    rel1.to: "elm.swallow.content";
11709                    rel1.offset: -5 -5;
11710                    rel2.to: "elm.swallow.content";
11711                    rel2.offset: 4 4;
11712                    image {
11713                        normal: "bt_dis_base.png";
11714                        border: 4 4 4 4;
11715                    }
11716                    image.middle: SOLID;
11717                }
11718            }
11719            part { name: "popover";
11720                mouse_events: 0;
11721                description { state: "default" 0.0;
11722                    rel1.to: "pop";
11723                    rel2.to: "pop";
11724                    rel2.relative: 1.0 0.5;
11725                    image {
11726                        normal: "bt_dis_hilight.png";
11727                        border: 4 4 4 0;
11728                    }
11729                }
11730            }
11731            part { name: "elm.swallow.content";
11732                type: SWALLOW;
11733                description { state: "default" 0.0;
11734                    rel1.to: "base";
11735                    rel2.to: "base";
11736                }
11737            }
11738        }
11739        programs {
11740            program { name: "show";
11741                signal: "elm,action,show";
11742                source: "elm";
11743                action: STATE_SET "visible" 0.0;
11744                target: "base";
11745            }
11746            program { name: "show_2";
11747                signal: "show";
11748                action: STATE_SET "default" 0.0;
11749                target: "base";
11750                after: "show_3";
11751            }
11752            program { name: "show_3";
11753                signal: "show";
11754                action: STATE_SET "visible" 0.0;
11755                target: "base";
11756                transition: LINEAR 0.5;
11757            }
11758            program { name: "hide";
11759                signal: "elm,action,hide";
11760                source: "elm";
11761                action: STATE_SET "default" 0.0;
11762                target: "base";
11763            }
11764        }
11765    }
11766    group { name: "elm/notify/right/default";
11767        //this group is a design similar to the inwin group
11768        images {
11769            image: "shad_circ.png" COMP;
11770            image: "bt_dis_base.png" COMP;
11771            image: "bt_dis_hilight.png" COMP;
11772        }
11773        parts {
11774            part { name: "base";
11775                type: RECT;
11776                mouse_events: 0;
11777                repeat_events: 1;
11778                 description { state: "default" 0.0;
11779                    color: 0 0 0 0;
11780                    rel1.offset: 10 10;
11781                    rel2.offset: -10 -10;
11782                    rel1.relative: 1.0 0.0;
11783                    rel2.relative: 2.0 1.0;
11784                }
11785                description { state: "visible" 0.0;
11786                    inherit: "default" 0.0;
11787                    color: 0 0 0 64;
11788                    rel1.relative: 0.0 0.0;
11789                    rel2.relative: 1.0 1.0;
11790                }
11791            }
11792            part { name: "shad";
11793                mouse_events:  0;
11794                description { state: "default" 0.0;
11795                    image.normal: "shad_circ.png";
11796                    rel1.to: "elm.swallow.content";
11797                    rel1.offset: -64 -64;
11798                    rel2.to: "elm.swallow.content";
11799                    rel2.offset: 63 63;
11800                    fill.smooth: 0;
11801                }
11802            }
11803            part { name: "pop";
11804                mouse_events: 1;
11805                description { state: "default" 0.0;
11806                    rel1.to: "elm.swallow.content";
11807                    rel1.offset: -5 -5;
11808                    rel2.to: "elm.swallow.content";
11809                    rel2.offset: 4 4;
11810                    image {
11811                        normal: "bt_dis_base.png";
11812                        border: 4 4 4 4;
11813                    }
11814                    image.middle: SOLID;
11815                }
11816            }
11817            part { name: "popover";
11818                mouse_events: 0;
11819                description { state: "default" 0.0;
11820                    rel1.to: "pop";
11821                    rel2.to: "pop";
11822                    rel2.relative: 1.0 0.5;
11823                    image {
11824                        normal: "bt_dis_hilight.png";
11825                        border: 4 4 4 0;
11826                    }
11827                }
11828            }
11829            part { name: "elm.swallow.content";
11830                type: SWALLOW;
11831                description { state: "default" 0.0;
11832                    rel1.to: "base";
11833                    rel2.to: "base";
11834                }
11835            }
11836        }
11837        programs {
11838            program { name: "show";
11839                signal: "elm,action,show";
11840                source: "elm";
11841                action: STATE_SET "visible" 0.0;
11842                target: "base";
11843            }
11844            program { name: "show_2";
11845                signal: "show";
11846                action: STATE_SET "default" 0.0;
11847                target: "base";
11848                after: "show_3";
11849            }
11850            program { name: "show_3";
11851                signal: "show";
11852                action: STATE_SET "visible" 0.0;
11853                target: "base";
11854                transition: LINEAR 0.5;
11855            }
11856            program { name: "hide";
11857                signal: "elm,action,hide";
11858                source: "elm";
11859                action: STATE_SET "default" 0.0;
11860                target: "base";
11861            }
11862        }
11863    }
11864    group { name: "elm/notify/top_left/default";
11865        //this group is a design similar to the inwin group
11866        images {
11867            image: "shad_circ.png" COMP;
11868            image: "bt_dis_base.png" COMP;
11869            image: "bt_dis_hilight.png" COMP;
11870        }
11871        parts {
11872            part { name: "base";
11873                type: RECT;
11874                mouse_events: 0;
11875                repeat_events: 1;
11876                 description { state: "default" 0.0;
11877                    color: 0 0 0 0;
11878                    rel1.offset: 10 10;
11879                    rel2.offset: -10 -10;
11880                    rel1.relative: 0.0 -1.0;
11881                    rel2.relative: 1.0 0.0;
11882                }
11883                description { state: "visible" 0.0;
11884                    inherit: "default" 0.0;
11885                    color: 0 0 0 64;
11886                    rel1.relative: 0.0 0.0;
11887                    rel2.relative: 1.0 1.0;
11888                }
11889            }
11890            part { name: "shad";
11891                mouse_events:  0;
11892                description { state: "default" 0.0;
11893                    image.normal: "shad_circ.png";
11894                    rel1.to: "elm.swallow.content";
11895                    rel1.offset: -64 -64;
11896                    rel2.to: "elm.swallow.content";
11897                    rel2.offset: 63 63;
11898                    fill.smooth: 0;
11899                }
11900            }
11901            part { name: "pop";
11902                mouse_events: 1;
11903                description { state: "default" 0.0;
11904                    rel1.to: "elm.swallow.content";
11905                    rel1.offset: -5 -5;
11906                    rel2.to: "elm.swallow.content";
11907                    rel2.offset: 4 4;
11908                    image {
11909                        normal: "bt_dis_base.png";
11910                        border: 4 4 4 4;
11911                    }
11912                    image.middle: SOLID;
11913                }
11914            }
11915            part { name: "popover";
11916                mouse_events: 0;
11917                description { state: "default" 0.0;
11918                    rel1.to: "pop";
11919                    rel2.to: "pop";
11920                    rel2.relative: 1.0 0.5;
11921                    image {
11922                        normal: "bt_dis_hilight.png";
11923                        border: 4 4 4 0;
11924                    }
11925                }
11926            }
11927            part { name: "elm.swallow.content";
11928                type: SWALLOW;
11929                description { state: "default" 0.0;
11930                    rel1.to: "base";
11931                    rel2.to: "base";
11932                }
11933            }
11934        }
11935        programs {
11936            program { name: "show";
11937                signal: "elm,action,show";
11938                source: "elm";
11939                action: STATE_SET "visible" 0.0;
11940                target: "base";
11941            }
11942            program { name: "show_2";
11943                signal: "show";
11944                action: STATE_SET "default" 0.0;
11945                target: "base";
11946                after: "show_3";
11947            }
11948            program { name: "show_3";
11949                signal: "show";
11950                action: STATE_SET "visible" 0.0;
11951                target: "base";
11952                transition: LINEAR 0.5;
11953            }
11954            program { name: "hide";
11955                signal: "elm,action,hide";
11956                source: "elm";
11957                action: STATE_SET "default" 0.0;
11958                target: "base";
11959            }
11960        }
11961    }
11962    group { name: "elm/notify/top_right/default";
11963        //this group is a design similar to the inwin group
11964        images {
11965            image: "shad_circ.png" COMP;
11966            image: "bt_dis_base.png" COMP;
11967            image: "bt_dis_hilight.png" COMP;
11968        }
11969        parts {
11970            part { name: "base";
11971                type: RECT;
11972                mouse_events: 0;
11973                repeat_events: 1;
11974                description { state: "default" 0.0;
11975                    color: 0 0 0 0;
11976                    rel1.offset: 10 10;
11977                    rel2.offset: -10 -10;
11978                    rel1.relative: 0.0 -1.0;
11979                    rel2.relative: 1.0 0.0;
11980                }
11981                description { state: "visible" 0.0;
11982                    inherit: "default" 0.0;
11983                    color: 0 0 0 64;
11984                    rel1.relative: 0.0 0.0;
11985                    rel2.relative: 1.0 1.0;
11986                }
11987            }
11988            part { name: "shad";
11989                mouse_events:  0;
11990                description { state: "default" 0.0;
11991                    image.normal: "shad_circ.png";
11992                    rel1.to: "elm.swallow.content";
11993                    rel1.offset: -64 -64;
11994                    rel2.to: "elm.swallow.content";
11995                    rel2.offset: 63 63;
11996                    fill.smooth: 0;
11997                }
11998            }
11999            part { name: "pop";
12000                mouse_events: 1;
12001                description { state: "default" 0.0;
12002                    rel1.to: "elm.swallow.content";
12003                    rel1.offset: -5 -5;
12004                    rel2.to: "elm.swallow.content";
12005                    rel2.offset: 4 4;
12006                    image {
12007                        normal: "bt_dis_base.png";
12008                        border: 4 4 4 4;
12009                    }
12010                    image.middle: SOLID;
12011                }
12012            }
12013            part { name: "popover";
12014                mouse_events: 0;
12015                description { state: "default" 0.0;
12016                    rel1.to: "pop";
12017                    rel2.to: "pop";
12018                    rel2.relative: 1.0 0.5;
12019                    image {
12020                        normal: "bt_dis_hilight.png";
12021                        border: 4 4 4 0;
12022                    }
12023                }
12024            }
12025            part { name: "elm.swallow.content";
12026                type: SWALLOW;
12027                description { state: "default" 0.0;
12028                    rel1.to: "base";
12029                    rel2.to: "base";
12030                }
12031            }
12032        }
12033        programs {
12034            program { name: "show";
12035                signal: "elm,action,show";
12036                source: "elm";
12037                action: STATE_SET "visible" 0.0;
12038                target: "base";
12039            }
12040            program { name: "show_2";
12041                signal: "show";
12042                action: STATE_SET "default" 0.0;
12043                target: "base";
12044                after: "show_3";
12045            }
12046            program { name: "show_3";
12047                signal: "show";
12048                action: STATE_SET "visible" 0.0;
12049                target: "base";
12050                transition: LINEAR 0.5;
12051            }
12052            program { name: "hide";
12053                signal: "elm,action,hide";
12054                source: "elm";
12055                action: STATE_SET "default" 0.0;
12056                target: "base";
12057            }
12058        }
12059    }
12060    group { name: "elm/notify/bottom_left/default";
12061        //this group is a design similar to the inwin group
12062        images {
12063            image: "shad_circ.png" COMP;
12064            image: "bt_dis_base.png" COMP;
12065            image: "bt_dis_hilight.png" COMP;
12066        }
12067        parts {
12068            part { name: "base";
12069                type: RECT;
12070                mouse_events: 0;
12071                repeat_events: 1;
12072                description { state: "default" 0.0;
12073                    color: 0 0 0 0;
12074                    rel1.offset: 10 10;
12075                    rel2.offset: -10 -10;
12076                    rel1.relative: 0.0 1.0;
12077                    rel2.relative: 1.0 2.0;
12078                }
12079                description { state: "visible" 0.0;
12080                    inherit: "default" 0.0;
12081                    color: 0 0 0 64;
12082                    rel1.relative: 0.0 0.0;
12083                    rel2.relative: 1.0 1.0;
12084                }
12085            }
12086            part { name: "shad";
12087                mouse_events:  0;
12088                description { state: "default" 0.0;
12089                    image.normal: "shad_circ.png";
12090                    rel1.to: "elm.swallow.content";
12091                    rel1.offset: -64 -64;
12092                    rel2.to: "elm.swallow.content";
12093                    rel2.offset: 63 63;
12094                    fill.smooth: 0;
12095                }
12096            }
12097            part { name: "pop";
12098                mouse_events: 1;
12099                description { state: "default" 0.0;
12100                    rel1.to: "elm.swallow.content";
12101                    rel1.offset: -5 -5;
12102                    rel2.to: "elm.swallow.content";
12103                    rel2.offset: 4 4;
12104                    image {
12105                        normal: "bt_dis_base.png";
12106                        border: 4 4 4 4;
12107                    }
12108                    image.middle: SOLID;
12109                }
12110            }
12111            part { name: "popover";
12112                mouse_events: 0;
12113                description { state: "default" 0.0;
12114                    rel1.to: "pop";
12115                    rel2.to: "pop";
12116                    rel2.relative: 1.0 0.5;
12117                    image {
12118                        normal: "bt_dis_hilight.png";
12119                        border: 4 4 4 0;
12120                    }
12121                }
12122            }
12123            part { name: "elm.swallow.content";
12124                type: SWALLOW;
12125                description { state: "default" 0.0;
12126                    rel1.to: "base";
12127                    rel2.to: "base";
12128                }
12129            }
12130        }
12131        programs {
12132            program { name: "show";
12133                signal: "elm,action,show";
12134                source: "elm";
12135                action: STATE_SET "visible" 0.0;
12136                target: "base";
12137            }
12138            program { name: "show_2";
12139                signal: "show";
12140                action: STATE_SET "default" 0.0;
12141                target: "base";
12142                after: "show_3";
12143            }
12144            program { name: "show_3";
12145                signal: "show";
12146                action: STATE_SET "visible" 0.0;
12147                target: "base";
12148                transition: LINEAR 0.5;
12149            }
12150            program { name: "hide";
12151                signal: "elm,action,hide";
12152                source: "elm";
12153                action: STATE_SET "default" 0.0;
12154                target: "base";
12155            }
12156        }
12157    }
12158    group { name: "elm/notify/bottom_right/default";
12159        //this group is a design similar to the inwin group
12160        images {
12161            image: "shad_circ.png" COMP;
12162            image: "bt_dis_base.png" COMP;
12163            image: "bt_dis_hilight.png" COMP;
12164        }
12165        parts {
12166            part { name: "base";
12167                type: RECT;
12168                mouse_events: 0;
12169                repeat_events: 1;
12170               description { state: "default" 0.0;
12171                    color: 0 0 0 0;
12172                    rel1.offset: 10 10;
12173                    rel2.offset: -10 -10;
12174                    rel1.relative: 0.0 1.0;
12175                    rel2.relative: 1.0 2.0;
12176                }
12177                description { state: "visible" 0.0;
12178                    inherit: "default" 0.0;
12179                    color: 0 0 0 64;
12180                    rel1.relative: 0.0 0.0;
12181                    rel2.relative: 1.0 1.0;
12182                }
12183            }
12184            part { name: "shad";
12185                mouse_events:  0;
12186                description { state: "default" 0.0;
12187                    image.normal: "shad_circ.png";
12188                    rel1.to: "elm.swallow.content";
12189                    rel1.offset: -64 -64;
12190                    rel2.to: "elm.swallow.content";
12191                    rel2.offset: 63 63;
12192                    fill.smooth: 0;
12193                }
12194            }
12195            part { name: "pop";
12196                mouse_events: 1;
12197                description { state: "default" 0.0;
12198                    rel1.to: "elm.swallow.content";
12199                    rel1.offset: -5 -5;
12200                    rel2.to: "elm.swallow.content";
12201                    rel2.offset: 4 4;
12202                    image {
12203                        normal: "bt_dis_base.png";
12204                        border: 4 4 4 4;
12205                    }
12206                    image.middle: SOLID;
12207                }
12208            }
12209            part { name: "popover";
12210                mouse_events: 0;
12211                description { state: "default" 0.0;
12212                    rel1.to: "pop";
12213                    rel2.to: "pop";
12214                    rel2.relative: 1.0 0.5;
12215                    image {
12216                        normal: "bt_dis_hilight.png";
12217                        border: 4 4 4 0;
12218                    }
12219                }
12220            }
12221            part { name: "elm.swallow.content";
12222                type: SWALLOW;
12223                description { state: "default" 0.0;
12224                    rel1.to: "base";
12225                    rel2.to: "base";
12226                }
12227            }
12228        }
12229        programs {
12230            program { name: "show";
12231                signal: "elm,action,show";
12232                source: "elm";
12233                action: STATE_SET "visible" 0.0;
12234                target: "base";
12235            }
12236            program { name: "show_2";
12237                signal: "show";
12238                action: STATE_SET "default" 0.0;
12239                target: "base";
12240                after: "show_3";
12241            }
12242            program { name: "show_3";
12243                signal: "show";
12244                action: STATE_SET "visible" 0.0;
12245                target: "base";
12246                transition: LINEAR 0.5;
12247            }
12248            program { name: "hide";
12249                signal: "elm,action,hide";
12250                source: "elm";
12251                action: STATE_SET "default" 0.0;
12252                target: "base";
12253            }
12254        }
12255    }
12256
12257 ///////////////////////////////////////////////////////////////////////////////
12258    group { name: "elm/slideshow/base/default";
12259       data {
12260          item: transitions "fade black_fade horizontal vertical square";
12261          item: layouts "fullscreen not_fullscreen";
12262       }
12263       parts {
12264          part { name: "whole";
12265                 type: RECT;
12266             description {
12267                state: "default" 0.0;
12268                visible: 1;
12269                color: 20 20 20 255;
12270             }
12271          }
12272          part { name: "image_1_whole";
12273             description {
12274                state: "default" 0.0;
12275                color: 255 255 255 255;
12276             }
12277             description {
12278                state: "fade_prev_next" 0.0;
12279                inherit: "default" 0.0;
12280                color: 255 255 255 0;
12281             }
12282             description {
12283                state: "black_fade_prev_next_init" 0.0;
12284                inherit: "default" 0.0;
12285                color: 255 255 255 255;
12286             }
12287             description {
12288                state: "black_fade_prev_next" 0.0;
12289                inherit: "default" 0.0;
12290                color: 0 0 0 255;
12291             }
12292             description {
12293                state: "horizontal_next_init" 0.0;
12294                inherit: "default" 0.0;
12295             }
12296             description {
12297                state: "horizontal_next" 0.0;
12298                inherit: "default" 0.0;
12299                rel1.relative: -1.0 0.0;
12300                rel2.relative: 0.0 1.0;
12301             }
12302             description {
12303                state: "horizontal_prev_init" 0.0;
12304                inherit: "default" 0.0;
12305             }
12306             description {
12307                state: "horizontal_prev" 0.0;
12308                inherit: "default" 0.0;
12309                rel1.relative: 1.0 0.0;
12310                rel2.relative: 2.0 1.0;
12311             }
12312             description {
12313                state: "vertical_next_init" 0.0;
12314                inherit: "default" 0.0;
12315             }
12316             description {
12317                state: "vertical_next" 0.0;
12318                inherit: "default" 0.0;
12319                rel1.relative: 0.0 -1.0;
12320                rel2.relative: 1.0 0.0;
12321             }
12322             description {
12323                state: "vertical_prev_init" 0.0;
12324                inherit: "default" 0.0;
12325             }
12326             description {
12327                state: "vertical_prev" 0.0;
12328                inherit: "default" 0.0;
12329                rel1.relative: 0.0 1.0;
12330                rel2.relative: 1.0 2.0;
12331             }
12332             description {
12333                state: "square_prev_next" 0.0;
12334                inherit: "default" 0.0;
12335                color: 255 255 255 0;
12336             }
12337          }
12338          part { name: "image_2_whole";
12339             description {
12340                state: "default" 0.0;
12341                visible: 1;
12342                color: 255 255 255 0;
12343             }
12344             description {
12345                state: "fade_prev_next" 0.0;
12346                inherit: "default" 0.0;
12347                color: 255 255 255 255;
12348             }
12349             description {
12350                state: "black_fade_prev_next_init" 0.0;
12351                inherit: "default" 0.0;
12352                color: 0 0 0 0;
12353             }
12354             description {
12355                state: "black_fade_prev_next" 0.0;
12356                inherit: "default" 0.0;
12357                color: 255 255 255 255;
12358             }
12359             description {
12360                state: "horizontal_next_init" 0.0;
12361                inherit: "default" 0.0;
12362                rel1.relative: 1.0 0.0;
12363                rel2.relative: 2.0 1.0;
12364                color: 255 255 255 255;
12365             }
12366             description {
12367                state: "horizontal_next" 0.0;
12368                inherit: "default" 0.0;
12369                color: 255 255 255 255;
12370             }
12371             description {
12372                state: "horizontal_prev_init" 0.0;
12373                inherit: "default" 0.0;
12374                rel1.relative: -1.0 0.0;
12375                rel2.relative: 0.0 1.0;
12376                color: 255 255 255 255;
12377             }
12378             description {
12379                state: "horizontal_prev" 0.0;
12380                inherit: "default" 0.0;
12381                color: 255 255 255 255;
12382             }
12383             description {
12384                state: "vertical_next_init" 0.0;
12385                inherit: "default" 0.0;
12386                rel1.relative: 0.0 1.0;
12387                rel2.relative: 1.0 2.0;
12388                color: 255 255 255 255;
12389             }
12390             description {
12391                state: "vertical_next" 0.0;
12392                inherit: "default" 0.0;
12393                color: 255 255 255 255;
12394             }
12395             description {
12396                state: "vertical_prev_init" 0.0;
12397                inherit: "default" 0.0;
12398                rel1.relative: 0.0 -1.0;
12399                rel2.relative: 1.0 0.0;
12400                color: 255 255 255 255;
12401             }
12402             description {
12403                state: "vertical_prev" 0.0;
12404                inherit: "default" 0.0;
12405                color: 255 255 255 255;
12406             }
12407             description {
12408                state: "square_prev_next_init" 0.0;
12409                inherit: "default" 0.0;
12410                rel1.relative: 0.5 0.5;
12411                rel2.relative: 0.5 0.5;
12412                color: 255 255 255 255;
12413             }
12414             description {
12415                state: "square_prev_next" 0.0;
12416                inherit: "default" 0.0;
12417                rel1.relative: 0.0 0.0;
12418                rel2.relative: 1.0 1.0;
12419                color: 255 255 255 255;
12420             }
12421          }
12422          part { name: "elm.swallow.1";
12423             type: SWALLOW;
12424             clip_to: "image_1_whole";
12425             description {
12426                state: "default" 0.0;
12427                rel1.to: "image_1_whole";
12428                rel2.to: "image_1_whole";
12429                color: 255 255 255 255;
12430             }
12431             description {
12432                state: "not_fullscreen" 0.0;
12433                rel1.relative: 0.1 0.1;
12434                rel1.to: "image_1_whole";
12435                rel2.relative: 0.9 0.9;
12436                rel2.to: "image_1_whole";
12437                color: 255 255 255 255;
12438             }
12439          }
12440          part { name: "elm.swallow.2";
12441             type: SWALLOW;
12442             clip_to: "image_2_whole";
12443             description {
12444                state: "default" 0.0;
12445                color: 255 255 255 255;
12446                rel1.to: "image_2_whole";
12447                rel2.to: "image_2_whole";
12448             }
12449             description {
12450                state: "not_fullscreen" 0.0;
12451                color: 255 255 255 255;
12452                rel1.relative: 0.1 0.1;
12453                rel1.to: "image_2_whole";
12454                rel2.relative: 0.9 0.9;
12455                rel2.to: "image_2_whole";
12456             }
12457          }
12458          part { name: "events_catcher";
12459             type: RECT;
12460             repeat_events: 1;
12461             description {
12462                state: "default" 0.0;
12463                visible: 1;
12464                color: 0 0 0 0;
12465             }
12466          }
12467       }
12468       programs {
12469         //Substyle
12470         program { name: "layout_fullscreen";
12471             signal: "layout,fullscreen";
12472             source: "slideshow";
12473             action: STATE_SET "default" 0.0;
12474             target: "elm.swallow.1";
12475             target: "elm.swallow.2";
12476             transition: SINUSOIDAL 1.0;
12477         }
12478         program { name: "layout_not_fullscreen";
12479             signal: "layout,not_fullscreen";
12480             source: "slideshow";
12481             action: STATE_SET "not_fullscreen" 0.0;
12482             target: "elm.swallow.1";
12483             target: "elm.swallow.2";
12484             transition: SINUSOIDAL 1.0;
12485          } 
12486          //
12487          program { name: "fade_next";
12488             signal: "fade,next";
12489             source: "slideshow";
12490             action: STATE_SET "default" 0.0;
12491             target: "image_1_whole";
12492             target: "image_2_whole";
12493             after: "fade_next_2";
12494          }
12495          program { name: "fade_next_2";
12496             action: STATE_SET "fade_prev_next" 0.0;
12497             target: "image_1_whole";
12498             target: "image_2_whole";
12499             transition: SINUSOIDAL 1.5;
12500             after: "end";
12501          }
12502          program { name: "fade_previous";
12503             signal: "fade,previous";
12504             source: "slideshow";
12505             action: STATE_SET "default" 0.0;
12506             target: "image_1_whole";
12507             target: "image_2_whole";
12508             after: "fade_previous_2";
12509          }
12510          program { name: "fade_previous_2";
12511             action: STATE_SET "fade_prev_next" 0.0;
12512             target: "image_1_whole";
12513             target: "image_2_whole";
12514             transition: SINUSOIDAL 1.5;
12515             after: "end";
12516          }
12517          program { name: "black_fade_next";
12518             signal: "black_fade,next";
12519             source: "slideshow";
12520             action: STATE_SET "black_fade_prev_next_init" 0.0;
12521             target: "image_1_whole";
12522             target: "image_2_whole";
12523             after: "black_fade_next_2";
12524          }
12525          program { name: "black_fade_next_2";
12526             action: STATE_SET "black_fade_prev_next" 0.0;
12527             target: "image_1_whole";
12528             transition: SINUSOIDAL 0.75;
12529             after: "black_fade_next_3";
12530          }
12531          program { name: "black_fade_next_3";
12532             action: STATE_SET "black_fade_prev_next" 0.0;
12533             target: "image_2_whole";
12534             transition: SINUSOIDAL 0.75;
12535             after: "end";
12536          }
12537          program { name: "black_fade_previous";
12538             signal: "black_fade,previous";
12539             source: "slideshow";
12540             action: STATE_SET "black_fade_prev_next_init" 0.0;
12541             target: "image_1_whole";
12542             target: "image_2_whole";
12543             after: "black_fade_previous_2";
12544          }
12545          program { name: "black_fade_previous_2";
12546             action: STATE_SET "black_fade_prev_next" 0.0;
12547             target: "image_1_whole";
12548             transition: SINUSOIDAL 0.75;
12549             after: "black_fade_previous_3";
12550          }
12551          program { name: "black_fade_previous_3";
12552             action: STATE_SET "black_fade_prev_next" 0.0;
12553             target: "image_2_whole";
12554             transition: SINUSOIDAL 0.75;
12555             after: "end";
12556          }
12557          program { name: "horizontal_next";
12558             signal: "horizontal,next";
12559             source: "slideshow";
12560             action: STATE_SET "horizontal_next_init" 0.0;
12561             target: "image_1_whole";
12562             target: "image_2_whole";
12563             after: "horizontal_next_2";
12564          }
12565          program { name: "horizontal_next_2";
12566             action: STATE_SET "horizontal_next" 0.0;
12567             target: "image_1_whole";
12568             target: "image_2_whole";
12569             transition: SINUSOIDAL 1.5;
12570             after: "end";
12571          }
12572          program { name: "horizontal_previous";
12573             signal: "horizontal,previous";
12574             source: "slideshow";
12575             action: STATE_SET "horizontal_prev_init" 0.0;
12576             target: "image_1_whole";
12577             target: "image_2_whole";
12578             after: "horizontal_previous_2";
12579          }
12580          program { name: "horizontal_previous_2";
12581             action: STATE_SET "horizontal_prev" 0.0;
12582             target: "image_1_whole";
12583             target: "image_2_whole";
12584             transition: SINUSOIDAL 1.5;
12585             after: "end";
12586          }
12587          program { name: "vertical_next";
12588             signal: "vertical,next";
12589             source: "slideshow";
12590             action: STATE_SET "vertical_next_init" 0.0;
12591             target: "image_1_whole";
12592             target: "image_2_whole";
12593             after: "vertical_next_2";
12594          }
12595          program { name: "vertical_next_2";
12596             action: STATE_SET "vertical_next" 0.0;
12597             target: "image_1_whole";
12598             target: "image_2_whole";
12599             transition: SINUSOIDAL 1.5;
12600             after: "end";
12601          }
12602          program { name: "vertical_previous";
12603             signal: "vertical,previous";
12604             source: "slideshow";
12605             action: STATE_SET "vertical_prev_init" 0.0;
12606             target: "image_1_whole";
12607             target: "image_2_whole";
12608             after: "vertical_previous_2";
12609          }
12610          program { name: "vertical_previous_2";
12611             action: STATE_SET "vertical_prev" 0.0;
12612             target: "image_1_whole";
12613             target: "image_2_whole";
12614             transition: SINUSOIDAL 1.5;
12615             after: "end";
12616          }
12617          program { name: "square_next";
12618             signal: "square,next";
12619             source: "slideshow";
12620             action: STATE_SET "square_prev_next_init" 0.0;
12621             target: "image_2_whole";
12622             after: "square_next_2";
12623          }
12624          program { name: "square_next_2";
12625             action: STATE_SET "square_prev_next" 0.0;
12626             target: "image_2_whole";
12627             target: "image_1_whole";
12628             transition: SINUSOIDAL 1.5;
12629             after: "end";
12630          }
12631          program { name: "square_previous";
12632             signal: "square,previous";
12633             source: "slideshow";
12634             action: STATE_SET "square_prev_next_init" 0.0;
12635             target: "image_2_whole";
12636             after: "square_next_2";
12637          }
12638          program { name: "end";
12639             action: SIGNAL_EMIT "end" "slideshow";
12640          }
12641          program { name: "end_signal";
12642             signal: "anim,end";
12643             source: "slideshow";
12644             action: STATE_SET "default" 0.0;
12645             target: "image_1_whole";
12646             target: "image_2_whole";
12647          }
12648       }
12649    }
12650
12651 ///////////////////////////////////////////////////////////////////////////////
12652    group { name: "elm/win/inwin/default";
12653       images {
12654          image: "shad_circ.png" COMP;
12655          image: "bt_dis_base.png" COMP;
12656          image: "bt_dis_hilight.png" COMP;
12657       }
12658       parts {
12659          part { name: "base";
12660             type: RECT;
12661             mouse_events: 1;
12662             description { state: "default" 0.0;
12663                color: 0 0 0 0;
12664             }
12665             description { state: "visible" 0.0;
12666                inherit: "default" 1.0;
12667                color: 0 0 0 64;
12668             }
12669          }
12670          part { name: "shad";
12671             mouse_events:  0;
12672             description { state: "default" 0.0;
12673                image.normal: "shad_circ.png";
12674                rel1.to: "elm.swallow.content";
12675                rel1.offset: -64 -64;
12676                rel2.to: "elm.swallow.content";
12677                rel2.offset: 63 63;
12678                fill.smooth: 0;
12679             }
12680          }
12681          part { name: "pop";
12682             mouse_events: 1;
12683             description { state: "default" 0.0;
12684                rel1.to: "elm.swallow.content";
12685                rel1.offset: -5 -5;
12686                rel2.to: "elm.swallow.content";
12687                rel2.offset: 4 4;
12688                image {
12689                   normal: "bt_dis_base.png";
12690                   border: 4 4 4 4;
12691                }
12692                image.middle: SOLID;
12693             }
12694          }
12695          part { name: "popover";
12696             mouse_events: 0;
12697             description { state: "default" 0.0;
12698                rel1.to: "pop";
12699                rel2.to: "pop";
12700                rel2.relative: 1.0 0.5;
12701                image {
12702                   normal: "bt_dis_hilight.png";
12703                   border: 4 4 4 0;
12704                }
12705             }
12706          }
12707          part { name: "elm.swallow.content";
12708             type: SWALLOW;
12709             description { state: "default" 0.0;
12710                rel1.relative: 0.1 0.1;
12711                rel2.relative: 0.9 0.9;
12712             }
12713          }
12714       }
12715       programs {
12716          program { name: "show";
12717             signal: "elm,action,show";
12718             source: "elm";
12719             action: STATE_SET "visible" 0.0;
12720 //          transition: DECELERATE 0.5;
12721             target: "base";
12722          }
12723          program { name: "hide";
12724             signal: "elm,action,hide";
12725             source: "elm";
12726             action: STATE_SET "default" 0.0;
12727 //          transition: DECELERATE 0.5;
12728             target: "base";
12729          }
12730       }
12731    }
12732
12733    group { name: "elm/win/inwin/minimal";
12734       images {
12735          image: "shad_circ.png" COMP;
12736          image: "bt_dis_base.png" COMP;
12737          image: "bt_dis_hilight.png" COMP;
12738       }
12739       parts {
12740          part { name: "base";
12741             type: RECT;
12742             mouse_events: 1;
12743             description { state: "default" 0.0;
12744                color: 0 0 0 0;
12745             }
12746             description { state: "visible" 0.0;
12747                inherit: "default" 1.0;
12748                color: 0 0 0 64;
12749             }
12750          }
12751          part { name: "shad";
12752             mouse_events:  0;
12753             description { state: "default" 0.0;
12754                image.normal: "shad_circ.png";
12755                rel1.to: "elm.swallow.content";
12756                rel1.offset: -64 -64;
12757                rel2.to: "elm.swallow.content";
12758                rel2.offset: 63 63;
12759                fill.smooth: 0;
12760             }
12761          }
12762          part { name: "pop";
12763             mouse_events: 1;
12764             description { state: "default" 0.0;
12765                rel1.to: "elm.swallow.content";
12766                rel1.offset: -5 -5;
12767                rel2.to: "elm.swallow.content";
12768                rel2.offset: 4 4;
12769                image {
12770                   normal: "bt_dis_base.png";
12771                   border: 4 4 4 4;
12772                }
12773                image.middle: SOLID;
12774             }
12775          }
12776          part { name: "popover";
12777             mouse_events: 0;
12778             description { state: "default" 0.0;
12779                rel1.to: "pop";
12780                rel2.to: "pop";
12781                rel2.relative: 1.0 0.5;
12782                image {
12783                   normal: "bt_dis_hilight.png";
12784                   border: 4 4 4 0;
12785                }
12786             }
12787          }
12788          part { name: "elm.swallow.content";
12789             type: SWALLOW;
12790             description { state: "default" 0.0;
12791                fixed: 1 1;
12792                rel1.relative: 0.5 0.5;
12793                rel2.relative: 0.5 0.5;
12794             }
12795          }
12796       }
12797       programs {
12798          program { name: "show";
12799             signal: "elm,action,show";
12800             source: "elm";
12801             action: STATE_SET "visible" 0.0;
12802 //          transition: DECELERATE 0.5;
12803             target: "base";
12804          }
12805          program { name: "hide";
12806             signal: "elm,action,hide";
12807             source: "elm";
12808             action: STATE_SET "default" 0.0;
12809 //          transition: DECELERATE 0.5;
12810             target: "base";
12811          }
12812       }
12813    }
12814
12815    group { name: "elm/win/inwin/minimal_vertical";
12816       images {
12817          image: "shad_circ.png" COMP;
12818          image: "bt_dis_base.png" COMP;
12819          image: "bt_dis_hilight.png" COMP;
12820       }
12821       parts {
12822          part { name: "base";
12823             type: RECT;
12824             mouse_events: 1;
12825             description { state: "default" 0.0;
12826                color: 0 0 0 0;
12827             }
12828             description { state: "visible" 0.0;
12829                inherit: "default" 1.0;
12830                color: 0 0 0 64;
12831             }
12832          }
12833          part { name: "shad";
12834             mouse_events:  0;
12835             description { state: "default" 0.0;
12836                image.normal: "shad_circ.png";
12837                rel1.to: "elm.swallow.content";
12838                rel1.offset: -64 -64;
12839                rel2.to: "elm.swallow.content";
12840                rel2.offset: 63 63;
12841                fill.smooth: 0;
12842             }
12843          }
12844          part { name: "pop";
12845             mouse_events: 1;
12846             description { state: "default" 0.0;
12847                rel1.to: "elm.swallow.content";
12848                rel1.offset: -5 -5;
12849                rel2.to: "elm.swallow.content";
12850                rel2.offset: 4 4;
12851                image {
12852                   normal: "bt_dis_base.png";
12853                   border: 4 4 4 4;
12854                }
12855                image.middle: SOLID;
12856             }
12857          }
12858          part { name: "popover";
12859             mouse_events: 0;
12860             description { state: "default" 0.0;
12861                rel1.to: "pop";
12862                rel2.to: "pop";
12863                rel2.relative: 1.0 0.5;
12864                image {
12865                   normal: "bt_dis_hilight.png";
12866                   border: 4 4 4 0;
12867                }
12868             }
12869          }
12870          part { name: "elm.swallow.content";
12871             type: SWALLOW;
12872             description { state: "default" 0.0;
12873                fixed: 1 1;
12874                rel1.relative: 0.1 0.5;
12875                rel2.relative: 0.9 0.5;
12876             }
12877          }
12878       }
12879       programs {
12880          program { name: "show";
12881             signal: "elm,action,show";
12882             source: "elm";
12883             action: STATE_SET "visible" 0.0;
12884 //          transition: DECELERATE 0.5;
12885             target: "base";
12886          }
12887          program { name: "hide";
12888             signal: "elm,action,hide";
12889             source: "elm";
12890             action: STATE_SET "default" 0.0;
12891 //          transition: DECELERATE 0.5;
12892             target: "base";
12893          }
12894       }
12895    }
12896
12897 ///////////////////////////////////////////////////////////////////////////////
12898
12899 ///////////////////////////////////////////////////////////////////////////////
12900    group { name: "elm/list/item/default";
12901       data.item: "stacking" "above";
12902       images {
12903          image: "bt_sm_base1.png" COMP;
12904          image: "bt_sm_shine.png" COMP;
12905          image: "bt_sm_hilight.png" COMP;
12906          image: "ilist_1.png" COMP;
12907          image: "ilist_item_shadow.png" COMP;
12908       }
12909       parts {
12910          part {
12911             name:           "event";
12912             type:           RECT;
12913             repeat_events: 1;
12914             description {
12915                state: "default" 0.0;
12916                color: 0 0 0 0;
12917             }
12918          }
12919          part {
12920             name: "base_sh";
12921             mouse_events: 0;
12922             description {
12923                state: "default" 0.0;
12924                align: 0.0 0.0;
12925                min: 0 10;
12926                fixed: 1 1;
12927                rel1 {
12928                   to: "base";
12929                   relative: 0.0 1.0;
12930                   offset: 0 0;
12931                }
12932                rel2 {
12933                   to: "base";
12934                   relative: 1.0 1.0;
12935                   offset: -1 0;
12936                }
12937                image {
12938                   normal: "ilist_item_shadow.png";
12939                }
12940                fill.smooth: 0;
12941             }
12942          }
12943          part {
12944             name: "base";
12945             mouse_events: 0;
12946             description {
12947                state: "default" 0.0;
12948                image {
12949                   normal: "ilist_1.png";
12950                   border: 2 2 2 2;
12951                }
12952                fill.smooth: 0;
12953             }
12954          }
12955          part { name: "bg";
12956             mouse_events: 0;
12957             description { state: "default" 0.0;
12958                visible: 0;
12959                color: 255 255 255 0;
12960                rel1 {
12961                   relative: 0.0 0.0;
12962                   offset: -5 -5;
12963                }
12964                rel2 {
12965                   relative: 1.0 1.0;
12966                   offset: 4 4;
12967                }
12968                image {
12969                   normal: "bt_sm_base1.png";
12970                   border: 6 6 6 6;
12971                }
12972                image.middle: SOLID;
12973             }
12974             description { state: "selected" 0.0;
12975                inherit: "default" 0.0;
12976                visible: 1;
12977                color: 255 255 255 255;
12978                rel1 {
12979                   relative: 0.0 0.0;
12980                   offset: -2 -2;
12981                }
12982                rel2 {
12983                   relative: 1.0 1.0;
12984                   offset: 1 1;
12985                }
12986             }
12987          }
12988          part { name: "elm.swallow.icon";
12989             type: SWALLOW;
12990             description { state: "default" 0.0;
12991                fixed: 1 0;
12992                align: 0.0 0.5;
12993                rel1 {
12994                   relative: 0.0  0.0;
12995                   offset:   4    4;
12996                }
12997                rel2 {
12998                   relative: 0.0  1.0;
12999                   offset:   4   -5;
13000                }
13001             }
13002          }
13003          part { name: "elm.swallow.end";
13004             type: SWALLOW;
13005             description { state: "default" 0.0;
13006                fixed: 1 0;
13007                align: 1.0 0.5;
13008                rel1 {
13009                   relative: 1.0  0.0;
13010                   offset:   -5    4;
13011                }
13012                rel2 {
13013                   relative: 1.0  1.0;
13014                   offset:   -5   -5;
13015                }
13016             }
13017          }
13018          part { name: "elm.text";
13019             type:           TEXT;
13020             effect:         SOFT_SHADOW;
13021             mouse_events:   0;
13022             scale: 1;
13023             description {
13024                state: "default" 0.0;
13025 //               min: 16 16;
13026                rel1 {
13027                   to_x:     "elm.swallow.icon";
13028                   relative: 1.0  0.0;
13029                   offset:   4 4;
13030                }
13031                rel2 {
13032                   to_x:     "elm.swallow.end";
13033                   relative: 0.0  1.0;
13034                   offset:   -1 -5;
13035                }
13036                color: 0 0 0 255;
13037                color3: 0 0 0 0;
13038                text {
13039                   font: "Sans";
13040                   size: 10;
13041                   min: 1 1;
13042 //                  min: 0 1;
13043                   align: 0.0 0.5;
13044                   text_class: "list_item";
13045                }
13046             }
13047             description { state: "selected" 0.0;
13048                inherit: "default" 0.0;
13049                color: 224 224 224 255;
13050                color3: 0 0 0 64;
13051             }
13052          }
13053          part { name: "fg1";
13054             mouse_events: 0;
13055             description { state: "default" 0.0;
13056                visible: 0;
13057                color: 255 255 255 0;
13058                rel1.to: "bg";
13059                rel2.relative: 1.0 0.5;
13060                rel2.to: "bg";
13061                image {
13062                   normal: "bt_sm_hilight.png";
13063                   border: 6 6 6 0;
13064                }
13065             }
13066             description { state: "selected" 0.0;
13067                inherit: "default" 0.0;
13068                visible: 1;
13069                color: 255 255 255 255;
13070             }
13071          }
13072          part { name: "fg2";
13073             mouse_events: 0;
13074             description { state: "default" 0.0;
13075                visible: 0;
13076                color: 255 255 255 0;
13077                rel1.to: "bg";
13078                rel2.to: "bg";
13079                image {
13080                   normal: "bt_sm_shine.png";
13081                   border: 6 6 6 0;
13082                }
13083             }
13084             description { state: "selected" 0.0;
13085                inherit: "default" 0.0;
13086                visible: 1;
13087                color: 255 255 255 255;
13088             }
13089          }
13090       }
13091       programs {
13092          program {
13093             name:    "go_active";
13094             signal:  "elm,state,selected";
13095             source:  "elm";
13096             action:  STATE_SET "selected" 0.0;
13097             target:  "bg";
13098             target:  "fg1";
13099             target:  "fg2";
13100             target:  "elm.text";
13101          }
13102          program {
13103             name:    "go_passive";
13104             signal:  "elm,state,unselected";
13105             source:  "elm";
13106             action:  STATE_SET "default" 0.0;
13107             target:  "bg";
13108             target:  "fg1";
13109             target:  "fg2";
13110             target:  "elm.text";
13111             transition: LINEAR 0.1;
13112          }
13113       }
13114    }
13115    group { name: "elm/list/item_odd/default";
13116       data.item: "stacking" "below";
13117       data.item: "selectraise" "on";
13118       images {
13119          image: "bt_sm_base1.png" COMP;
13120          image: "bt_sm_shine.png" COMP;
13121          image: "bt_sm_hilight.png" COMP;
13122          image: "ilist_2.png" COMP;
13123       }
13124       parts {
13125          part {
13126             name:           "event";
13127             type:           RECT;
13128             repeat_events: 1;
13129             description {
13130                state: "default" 0.0;
13131                color: 0 0 0 0;
13132             }
13133          }
13134          part {
13135             name: "base";
13136             mouse_events: 0;
13137             description {
13138                state: "default" 0.0;
13139                image {
13140                   normal: "ilist_2.png";
13141                   border: 2 2 2 2;
13142                }
13143                fill.smooth: 0;
13144             }
13145          }
13146          part { name: "bg";
13147             mouse_events: 0;
13148             description { state: "default" 0.0;
13149                visible: 0;
13150                color: 255 255 255 0;
13151                rel1 {
13152                   relative: 0.0 0.0;
13153                   offset: -5 -5;
13154                }
13155                rel2 {
13156                   relative: 1.0 1.0;
13157                   offset: 4 4;
13158                }
13159                image {
13160                   normal: "bt_sm_base1.png";
13161                   border: 6 6 6 6;
13162                }
13163                image.middle: SOLID;
13164             }
13165             description { state: "selected" 0.0;
13166                inherit: "default" 0.0;
13167                visible: 1;
13168                color: 255 255 255 255;
13169                rel1 {
13170                   relative: 0.0 0.0;
13171                   offset: -2 -2;
13172                }
13173                rel2 {
13174                   relative: 1.0 1.0;
13175                   offset: 1 1;
13176                }
13177             }
13178          }
13179          part {
13180             name:          "elm.swallow.icon";
13181             type:          SWALLOW;
13182             description { state:    "default" 0.0;
13183                fixed: 1 0;
13184                align:    0.0 0.5;
13185                rel1 {
13186                   relative: 0.0  0.0;
13187                   offset:   4    4;
13188                }
13189                rel2 {
13190                   relative: 0.0  1.0;
13191                   offset:   4   -5;
13192                }
13193             }
13194          }
13195          part {
13196             name:          "elm.swallow.end";
13197             type:          SWALLOW;
13198             description { state:    "default" 0.0;
13199                fixed: 1 0;
13200                align: 1.0 0.5;
13201                rel1 {
13202                   relative: 1.0  0.0;
13203                   offset:   -5    4;
13204                }
13205                rel2 {
13206                   relative: 1.0  1.0;
13207                   offset:   -5   -5;
13208                }
13209             }
13210          }
13211          part {
13212             name:           "elm.text";
13213             type:           TEXT;
13214             effect:         SOFT_SHADOW;
13215             mouse_events:   0;
13216             scale: 1;
13217             description {
13218                state: "default" 0.0;
13219 //               min:      16 16;
13220                rel1 {
13221                   to_x:     "elm.swallow.icon";
13222                   relative: 1.0  0.0;
13223                   offset:   4 4;
13224                }
13225                rel2 {
13226                   to_x:     "elm.swallow.end";
13227                   relative: 0.0  1.0;
13228                   offset:   -1 -5;
13229                }
13230                color: 0 0 0 255;
13231                color3: 0 0 0 0;
13232                text {
13233                   font: "Sans";
13234                   size: 10;
13235                   min: 1 1;
13236 //                  min: 0 1;
13237                   align: 0.0 0.5;
13238                   text_class: "list_item";
13239                }
13240             }
13241             description { state: "selected" 0.0;
13242                inherit: "default" 0.0;
13243                color: 224 224 224 255;
13244                color3: 0 0 0 64;
13245             }
13246          }
13247          part { name: "fg1";
13248             mouse_events: 0;
13249             description { state: "default" 0.0;
13250                visible: 0;
13251                color: 255 255 255 0;
13252                rel1.to: "bg";
13253                rel2.relative: 1.0 0.5;
13254                rel2.to: "bg";
13255                image {
13256                   normal: "bt_sm_hilight.png";
13257                   border: 6 6 6 0;
13258                }
13259             }
13260             description { state: "selected" 0.0;
13261                inherit: "default" 0.0;
13262                visible: 1;
13263                color: 255 255 255 255;
13264             }
13265          }
13266          part { name: "fg2";
13267             mouse_events: 0;
13268             description { state: "default" 0.0;
13269                visible: 0;
13270                color: 255 255 255 0;
13271                rel1.to: "bg";
13272                rel2.to: "bg";
13273                image {
13274                   normal: "bt_sm_shine.png";
13275                   border: 6 6 6 0;
13276                }
13277             }
13278             description { state: "selected" 0.0;
13279                inherit: "default" 0.0;
13280                visible: 1;
13281                color: 255 255 255 255;
13282             }
13283          }
13284       }
13285       programs {
13286          program {
13287             name:    "go_active";
13288             signal:  "elm,state,selected";
13289             source:  "elm";
13290             action:  STATE_SET "selected" 0.0;
13291             target:  "bg";
13292             target:  "fg1";
13293             target:  "fg2";
13294             target:  "elm.text";
13295          }
13296          program {
13297             name:    "go_passive";
13298             signal:  "elm,state,unselected";
13299             source:  "elm";
13300             action:  STATE_SET "default" 0.0;
13301             target:  "bg";
13302             target:  "fg1";
13303             target:  "fg2";
13304             target:  "elm.text";
13305             transition: LINEAR 0.1;
13306          }
13307       }
13308    }
13309    group { name: "elm/list/item_compress/default";
13310       data.item: "stacking" "above";
13311       data.item: "selectraise" "on";
13312       images {
13313          image: "bt_sm_base1.png" COMP;
13314          image: "bt_sm_shine.png" COMP;
13315          image: "bt_sm_hilight.png" COMP;
13316          image: "ilist_1.png" COMP;
13317          image: "ilist_item_shadow.png" COMP;
13318       }
13319       parts {
13320          part {
13321             name:           "event";
13322             type:           RECT;
13323             repeat_events: 1;
13324             description {
13325                state: "default" 0.0;
13326                color: 0 0 0 0;
13327             }
13328          }
13329          part {
13330             name: "base_sh";
13331             mouse_events: 0;
13332             description { state: "default" 0.0;
13333                fixed: 1 1;
13334                align: 0.0 0.0;
13335                min: 0 10;
13336                rel1 {
13337                   to: "base";
13338                   relative: 0.0 1.0;
13339                   offset: 0 0;
13340                }
13341                rel2 {
13342                   to: "base";
13343                   relative: 1.0 1.0;
13344                   offset: -1 0;
13345                }
13346                image {
13347                   normal: "ilist_item_shadow.png";
13348                }
13349                fill.smooth: 0;
13350             }
13351          }
13352          part {
13353             name: "base";
13354             mouse_events: 0;
13355             description {
13356                state: "default" 0.0;
13357                image {
13358                   normal: "ilist_1.png";
13359                   border: 2 2 2 2;
13360                }
13361                fill.smooth: 0;
13362             }
13363          }
13364          part { name: "bg";
13365             mouse_events: 0;
13366             description { state: "default" 0.0;
13367                visible: 0;
13368                color: 255 255 255 0;
13369                rel1 {
13370                   relative: 0.0 0.0;
13371                   offset: -5 -5;
13372                }
13373                rel2 {
13374                   relative: 1.0 1.0;
13375                   offset: 4 4;
13376                }
13377                image {
13378                   normal: "bt_sm_base1.png";
13379                   border: 6 6 6 6;
13380                }
13381                image.middle: SOLID;
13382             }
13383             description { state: "selected" 0.0;
13384                inherit: "default" 0.0;
13385                visible: 1;
13386                color: 255 255 255 255;
13387                rel1 {
13388                   relative: 0.0 0.0;
13389                   offset: -2 -2;
13390                }
13391                rel2 {
13392                   relative: 1.0 1.0;
13393                   offset: 1 1;
13394                }
13395             }
13396          }
13397          part { name:          "elm.swallow.icon";
13398             type:          SWALLOW;
13399             description { state:    "default" 0.0;
13400                fixed: 1 0;
13401                align:    0.0 0.5;
13402                rel1 {
13403                   relative: 0.0  0.0;
13404                   offset:   4    4;
13405                }
13406                rel2 {
13407                   relative: 0.0  1.0;
13408                   offset:   4   -5;
13409                }
13410             }
13411          }
13412          part { name:          "elm.swallow.end";
13413             type:          SWALLOW;
13414             description { state:    "default" 0.0;
13415                fixed: 1 0;
13416                align:    1.0 0.5;
13417                rel1 {
13418                   relative: 1.0  0.0;
13419                   offset:   -5    4;
13420                }
13421                rel2 {
13422                   relative: 1.0  1.0;
13423                   offset:   -5   -5;
13424                }
13425             }
13426          }
13427          part {
13428             name:           "elm.text";
13429             type:           TEXT;
13430             effect:         SOFT_SHADOW;
13431             mouse_events:   0;
13432             scale: 1;
13433             description { state: "default" 0.0;
13434 //               min:      16 16;
13435                rel1 {
13436                   to_x:     "elm.swallow.icon";
13437                   relative: 1.0  0.0;
13438                   offset:   4 4;
13439                }
13440                rel2 {
13441                   to_x:     "elm.swallow.end";
13442                   relative: 0.0  1.0;
13443                   offset:   -1 -5;
13444                }
13445                color: 0 0 0 255;
13446                color3: 0 0 0 0;
13447                text {
13448                   font: "Sans";
13449                   size: 10;
13450 //                  min: 1 1;
13451                   min: 0 1;
13452                   align: 0.0 0.5;
13453                   text_class: "list_item";
13454                }
13455             }
13456             description { state: "selected" 0.0;
13457                inherit: "default" 0.0;
13458                color: 224 224 224 255;
13459                color3: 0 0 0 64;
13460             }
13461          }
13462          part { name: "fg1";
13463             mouse_events: 0;
13464             description { state: "default" 0.0;
13465                visible: 0;
13466                color: 255 255 255 0;
13467                rel1.to: "bg";
13468                rel2.relative: 1.0 0.5;
13469                rel2.to: "bg";
13470                image {
13471                   normal: "bt_sm_hilight.png";
13472                   border: 6 6 6 0;
13473                }
13474             }
13475             description { state: "selected" 0.0;
13476                inherit: "default" 0.0;
13477                visible: 1;
13478                color: 255 255 255 255;
13479             }
13480          }
13481          part { name: "fg2";
13482             mouse_events: 0;
13483             description { state: "default" 0.0;
13484                visible: 0;
13485                color: 255 255 255 0;
13486                rel1.to: "bg";
13487                rel2.to: "bg";
13488                image {
13489                   normal: "bt_sm_shine.png";
13490                   border: 6 6 6 0;
13491                }
13492             }
13493             description { state: "selected" 0.0;
13494                inherit: "default" 0.0;
13495                visible: 1;
13496                color: 255 255 255 255;
13497             }
13498          }
13499       }
13500       programs {
13501          program {
13502             name:    "go_active";
13503             signal:  "elm,state,selected";
13504             source:  "elm";
13505             action:  STATE_SET "selected" 0.0;
13506             target:  "bg";
13507             target:  "fg1";
13508             target:  "fg2";
13509             target:  "elm.text";
13510          }
13511          program {
13512             name:    "go_passive";
13513             signal:  "elm,state,unselected";
13514             source:  "elm";
13515             action:  STATE_SET "default" 0.0;
13516             target:  "bg";
13517             target:  "fg1";
13518             target:  "fg2";
13519             target:  "elm.text";
13520             transition: LINEAR 0.1;
13521          }
13522       }
13523    }
13524    group { name: "elm/list/item_compress_odd/default";
13525       data.item: "stacking" "below";
13526       data.item: "selectraise" "on";
13527       images {
13528          image: "bt_sm_base1.png" COMP;
13529          image: "bt_sm_shine.png" COMP;
13530          image: "bt_sm_hilight.png" COMP;
13531          image: "ilist_2.png" COMP;
13532       }
13533       parts {
13534          part {
13535             name:           "event";
13536             type:           RECT;
13537             repeat_events: 1;
13538             description {
13539                state: "default" 0.0;
13540                color: 0 0 0 0;
13541             }
13542          }
13543          part {
13544             name: "base";
13545             mouse_events: 0;
13546             description {
13547                state: "default" 0.0;
13548                image {
13549                   normal: "ilist_2.png";
13550                   border: 2 2 2 2;
13551                }
13552                fill.smooth: 0;
13553             }
13554          }
13555          part { name: "bg";
13556             mouse_events: 0;
13557             description { state: "default" 0.0;
13558                visible: 0;
13559                color: 255 255 255 0;
13560                rel1 {
13561                   relative: 0.0 0.0;
13562                   offset: -5 -5;
13563                }
13564                rel2 {
13565                   relative: 1.0 1.0;
13566                   offset: 4 4;
13567                }
13568                image {
13569                   normal: "bt_sm_base1.png";
13570                   border: 6 6 6 6;
13571                }
13572                image.middle: SOLID;
13573             }
13574             description { state: "selected" 0.0;
13575                inherit: "default" 0.0;
13576                visible: 1;
13577                color: 255 255 255 255;
13578                rel1 {
13579                   relative: 0.0 0.0;
13580                   offset: -2 -2;
13581                }
13582                rel2 {
13583                   relative: 1.0 1.0;
13584                   offset: 1 1;
13585                }
13586             }
13587          }
13588          part { name:          "elm.swallow.icon";
13589             type:          SWALLOW;
13590             description { state:    "default" 0.0;
13591                fixed: 1 0;
13592                align:    0.0 0.5;
13593                rel1 {
13594                   relative: 0.0  0.0;
13595                   offset:   4    4;
13596                }
13597                rel2 {
13598                   relative: 0.0  1.0;
13599                   offset:   4   -5;
13600                }
13601             }
13602          }
13603          part { name:          "elm.swallow.end";
13604             type:          SWALLOW;
13605             description { state:    "default" 0.0;
13606                fixed: 1 0;
13607                align:    1.0 0.5;
13608                rel1 {
13609                   relative: 1.0  0.0;
13610                   offset:   -5    4;
13611                }
13612                rel2 {
13613                   relative: 1.0  1.0;
13614                   offset:   -5   -5;
13615                }
13616             }
13617          }
13618          part {
13619             name:           "elm.text";
13620             type:           TEXT;
13621             effect:         SOFT_SHADOW;
13622             mouse_events:   0;
13623             scale: 1;
13624             description {
13625                state: "default" 0.0;
13626 //               min:      16 16;
13627                rel1 {
13628                   to_x:     "elm.swallow.icon";
13629                   relative: 1.0  0.0;
13630                   offset:   4 4;
13631                }
13632                rel2 {
13633                   to_x:     "elm.swallow.end";
13634                   relative: 0.0  1.0;
13635                   offset:   -1 -5;
13636                }
13637                color: 0 0 0 255;
13638                color3: 0 0 0 0;
13639                text {
13640                   font: "Sans";
13641                   size: 10;
13642 //                  min: 1 1;
13643                   min: 0 1;
13644                   align: 0.0 0.5;
13645                   text_class: "list_item";
13646                }
13647             }
13648             description { state: "selected" 0.0;
13649                inherit: "default" 0.0;
13650                color: 224 224 224 255;
13651                color3: 0 0 0 64;
13652             }
13653          }
13654          part { name: "fg1";
13655             mouse_events: 0;
13656             description { state: "default" 0.0;
13657                visible: 0;
13658                color: 255 255 255 0;
13659                rel1.to: "bg";
13660                rel2.relative: 1.0 0.5;
13661                rel2.to: "bg";
13662                image {
13663                   normal: "bt_sm_hilight.png";
13664                   border: 6 6 6 0;
13665                }
13666             }
13667             description { state: "selected" 0.0;
13668                inherit: "default" 0.0;
13669                visible: 1;
13670                color: 255 255 255 255;
13671             }
13672          }
13673          part { name: "fg2";
13674             mouse_events: 0;
13675             description { state: "default" 0.0;
13676                visible: 0;
13677                color: 255 255 255 0;
13678                rel1.to: "bg";
13679                rel2.to: "bg";
13680                image {
13681                   normal: "bt_sm_shine.png";
13682                   border: 6 6 6 0;
13683                }
13684             }
13685             description { state: "selected" 0.0;
13686                inherit: "default" 0.0;
13687                visible: 1;
13688                color: 255 255 255 255;
13689             }
13690          }
13691       }
13692       programs {
13693          program {
13694             name:    "go_active";
13695             signal:  "elm,state,selected";
13696             source:  "elm";
13697             action:  STATE_SET "selected" 0.0;
13698             target:  "bg";
13699             target:  "fg1";
13700             target:  "fg2";
13701             target:  "elm.text";
13702          }
13703          program {
13704             name:    "go_passive";
13705             signal:  "elm,state,unselected";
13706             source:  "elm";
13707             action:  STATE_SET "default" 0.0;
13708             target:  "bg";
13709             target:  "fg1";
13710             target:  "fg2";
13711             target:  "elm.text";
13712             transition: LINEAR 0.1;
13713          }
13714       }
13715    }
13716
13717 ///////////////////////////////////////////////////////////////////////////////
13718    group { name: "elm/list/h_item/default";
13719       data.item: "stacking" "above";
13720       images {
13721          image: "bt_sm_base1.png" COMP;
13722          image: "bt_sm_shine.png" COMP;
13723          image: "bt_sm_hilight.png" COMP;
13724          image: "ilist_1_h.png" COMP;
13725          image: "ilist_item_shadow_h.png" COMP;
13726       }
13727       parts {
13728          part {
13729             name: "event";
13730             type: RECT;
13731             repeat_events: 1;
13732             description {
13733                state: "default" 0.0;
13734                color: 0 0 0 0;
13735             }
13736          }
13737          part {
13738             name: "base_sh";
13739             mouse_events: 0;
13740             description {
13741                state: "default" 0.0;
13742                align: 0.0 0.0;
13743                min: 10 0;
13744                fixed: 1 1;
13745                rel1 {
13746                   to: "base";
13747                   relative: 1.0 0.0;
13748                   offset: 0 0;
13749                }
13750                rel2 {
13751                   to: "base";
13752                   relative: 1.0 1.0;
13753                   offset: 0 -1;
13754                }
13755                image {
13756                   normal: "ilist_item_shadow_h.png";
13757                }
13758                fill.smooth: 0;
13759             }
13760          }
13761          part {
13762             name: "base";
13763             mouse_events: 0;
13764             description {
13765                state: "default" 0.0;
13766                image {
13767                   normal: "ilist_1_h.png";
13768                   border: 2 2 2 2;
13769                }
13770                fill.smooth: 0;
13771             }
13772          }
13773          part { name: "bg";
13774             mouse_events: 0;
13775             description { state: "default" 0.0;
13776                visible: 0;
13777                color: 255 255 255 0;
13778                rel1 {
13779                   relative: 0.0 0.0;
13780                   offset: -5 -5;
13781                }
13782                rel2 {
13783                   relative: 1.0 1.0;
13784                   offset: 4 4;
13785                }
13786                image {
13787                   normal: "bt_sm_base1.png";
13788                   border: 6 6 6 6;
13789                }
13790                image.middle: SOLID;
13791             }
13792             description { state: "selected" 0.0;
13793                inherit: "default" 0.0;
13794                visible: 1;
13795                color: 255 255 255 255;
13796                rel1 {
13797                   relative: 0.0 0.0;
13798                   offset: -2 -2;
13799                }
13800                rel2 {
13801                   relative: 1.0 1.0;
13802                   offset: 1 1;
13803                }
13804             }
13805          }
13806          part { name: "elm.swallow.icon";
13807             type: SWALLOW;
13808             description { state: "default" 0.0;
13809                fixed: 0 1;
13810                align: 0.5 0.0;
13811                rel1 {
13812                   relative: 0.0 0.0;
13813                   offset: 4 4;
13814                }
13815                rel2 {
13816                   relative: 1.0 0.0;
13817                   offset: -5 4;
13818                }
13819             }
13820          }
13821          part { name: "elm.swallow.end";
13822             type: SWALLOW;
13823             description { state: "default" 0.0;
13824                fixed: 0 1;
13825                align: 0.5 1.0;
13826                rel1 {
13827                   relative: 0.0 1.0;
13828                   offset: 4 -5;
13829                }
13830                rel2 {
13831                   relative: 1.0 1.0;
13832                   offset: -5 -5;
13833                }
13834             }
13835          }
13836          part { name: "elm.text";
13837             type: TEXT;
13838             effect: SOFT_SHADOW;
13839             mouse_events: 0;
13840             scale: 1;
13841             description {
13842                state: "default" 0.0;
13843                fixed: 0 1;
13844                rel1 {
13845                   to_x: "elm.swallow.icon";
13846                   relative: 0.0 1.0;
13847                   offset: 4 4;
13848                }
13849                rel2 {
13850                   to_x: "elm.swallow.end";
13851                   relative: 1.0 0.0;
13852                   offset: -5 -1;
13853                }
13854                color: 0 0 0 255;
13855                color3: 0 0 0 0;
13856                text {
13857                   font: "Sans";
13858                   size: 10;
13859                   min: 1 1;
13860                   align: 0.5 0.5;
13861                   text_class: "list_item";
13862                }
13863             }
13864             description { state: "selected" 0.0;
13865                inherit: "default" 0.0;
13866                color: 224 224 224 255;
13867                color3: 0 0 0 64;
13868             }
13869          }
13870          part { name: "fg1";
13871             mouse_events: 0;
13872             description { state: "default" 0.0;
13873                visible: 0;
13874                color: 255 255 255 0;
13875                rel1.to: "bg";
13876                rel2.relative: 1.0 0.5;
13877                rel2.to: "bg";
13878                image {
13879                   normal: "bt_sm_hilight.png";
13880                   border: 6 6 6 0;
13881                }
13882             }
13883             description { state: "selected" 0.0;
13884                inherit: "default" 0.0;
13885                visible: 1;
13886                color: 255 255 255 255;
13887             }
13888          }
13889          part { name: "fg2";
13890             mouse_events: 0;
13891             description { state: "default" 0.0;
13892                visible: 0;
13893                color: 255 255 255 0;
13894                rel1.to: "bg";
13895                rel2.to: "bg";
13896                image {
13897                   normal: "bt_sm_shine.png";
13898                   border: 6 6 6 0;
13899                }
13900             }
13901             description { state: "selected" 0.0;
13902                inherit: "default" 0.0;
13903                visible: 1;
13904                color: 255 255 255 255;
13905             }
13906          }
13907       }
13908       programs {
13909          program {
13910             name: "go_active";
13911             signal: "elm,state,selected";
13912             source: "elm";
13913             action: STATE_SET "selected" 0.0;
13914             target: "bg";
13915             target: "fg1";
13916             target: "fg2";
13917             target: "elm.text";
13918          }
13919          program {
13920             name: "go_passive";
13921             signal: "elm,state,unselected";
13922             source: "elm";
13923             action: STATE_SET "default" 0.0;
13924             target: "bg";
13925             target: "fg1";
13926             target: "fg2";
13927             target: "elm.text";
13928             transition: LINEAR 0.1;
13929          }
13930       }
13931    }
13932    group { name: "elm/list/h_item_odd/default";
13933       data.item: "stacking" "below";
13934       data.item: "selectraise" "on";
13935       images {
13936          image: "bt_sm_base1.png" COMP;
13937          image: "bt_sm_shine.png" COMP;
13938          image: "bt_sm_hilight.png" COMP;
13939          image: "ilist_2_h.png" COMP;
13940       }
13941       parts {
13942          part {
13943             name: "event";
13944             type: RECT;
13945             repeat_events: 1;
13946             description {
13947                state: "default" 0.0;
13948                color: 0 0 0 0;
13949             }
13950          }
13951          part {
13952             name: "base";
13953             mouse_events: 0;
13954             description {
13955                state: "default" 0.0;
13956                image {
13957                   normal: "ilist_2_h.png";
13958                   border: 2 2 2 2;
13959                }
13960                fill.smooth: 0;
13961             }
13962          }
13963          part { name: "bg";
13964             mouse_events: 0;
13965             description { state: "default" 0.0;
13966                visible: 0;
13967                color: 255 255 255 0;
13968                rel1 {
13969                   relative: 0.0 0.0;
13970                   offset: -5 -5;
13971                }
13972                rel2 {
13973                   relative: 1.0 1.0;
13974                   offset: 4 4;
13975                }
13976                image {
13977                   normal: "bt_sm_base1.png";
13978                   border: 6 6 6 6;
13979                }
13980                image.middle: SOLID;
13981             }
13982             description { state: "selected" 0.0;
13983                inherit: "default" 0.0;
13984                visible: 1;
13985                color: 255 255 255 255;
13986                rel1 {
13987                   relative: 0.0 0.0;
13988                   offset: -2 -2;
13989                }
13990                rel2 {
13991                   relative: 1.0 1.0;
13992                   offset: 1 1;
13993                }
13994             }
13995          }
13996          part {
13997             name: "elm.swallow.icon";
13998             type: SWALLOW;
13999             description { state: "default" 0.0;
14000                fixed: 0 1;
14001                align: 0.5 0.0;
14002                rel1 {
14003                   relative: 0.0 0.0;
14004                   offset: 4 4;
14005                }
14006                rel2 {
14007                   relative: 1.0 0.0;
14008                   offset: -5 4;
14009                }
14010             }
14011          }
14012          part {
14013             name: "elm.swallow.end";
14014             type: SWALLOW;
14015             description { state: "default" 0.0;
14016                fixed: 0 1;
14017                align: 0.5 1.0;
14018                rel1 {
14019                   relative: 0.0 1.0;
14020                   offset: 4 -5;
14021                }
14022                rel2 {
14023                   relative: 1.0 1.0;
14024                   offset: -5 -5;
14025                }
14026             }
14027          }
14028          part { name: "elm.text";
14029             type: TEXT;
14030             effect: SOFT_SHADOW;
14031             mouse_events: 0;
14032             scale: 1;
14033             description {
14034                state: "default" 0.0;
14035                fixed: 1 1;
14036                rel1 {
14037                   to_x: "elm.swallow.icon";
14038                   relative: 0.0 1.0;
14039                   offset: 4 4;
14040                }
14041                rel2 {
14042                   to_x: "elm.swallow.end";
14043                   relative: 1.0 0.0;
14044                   offset: -5 -1;
14045                }
14046                color: 0 0 0 255;
14047                color3: 0 0 0 0;
14048                text {
14049                   font: "Sans";
14050                   size: 10;
14051                   min: 1 1;
14052                   align: 0.5 0.5;
14053                   text_class: "list_item";
14054                }
14055             }
14056             description { state: "selected" 0.0;
14057                inherit: "default" 0.0;
14058                color: 224 224 224 255;
14059                color3: 0 0 0 64;
14060             }
14061          }
14062          part { name: "fg1";
14063             mouse_events: 0;
14064             description { state: "default" 0.0;
14065                visible: 0;
14066                color: 255 255 255 0;
14067                rel1.to: "bg";
14068                rel2.relative: 1.0 0.5;
14069                rel2.to: "bg";
14070                image {
14071                   normal: "bt_sm_hilight.png";
14072                   border: 6 6 6 0;
14073                }
14074             }
14075             description { state: "selected" 0.0;
14076                inherit: "default" 0.0;
14077                visible: 1;
14078                color: 255 255 255 255;
14079             }
14080          }
14081          part { name: "fg2";
14082             mouse_events: 0;
14083             description { state: "default" 0.0;
14084                visible: 0;
14085                color: 255 255 255 0;
14086                rel1.to: "bg";
14087                rel2.to: "bg";
14088                image {
14089                   normal: "bt_sm_shine.png";
14090                   border: 6 6 6 0;
14091                }
14092             }
14093             description { state: "selected" 0.0;
14094                inherit: "default" 0.0;
14095                visible: 1;
14096                color: 255 255 255 255;
14097             }
14098          }
14099       }
14100       programs {
14101          program {
14102             name: "go_active";
14103             signal: "elm,state,selected";
14104             source: "elm";
14105             action: STATE_SET "selected" 0.0;
14106             target: "bg";
14107             target: "fg1";
14108             target: "fg2";
14109             target: "elm.text";
14110          }
14111          program {
14112             name: "go_passive";
14113             signal: "elm,state,unselected";
14114             source: "elm";
14115             action: STATE_SET "default" 0.0;
14116             target: "bg";
14117             target: "fg1";
14118             target: "fg2";
14119             target: "elm.text";
14120             transition: LINEAR 0.1;
14121          }
14122       }
14123    }
14124    group { name: "elm/list/h_item_compress/default";
14125       data.item: "stacking" "above";
14126       data.item: "selectraise" "on";
14127       images {
14128          image: "bt_sm_base1.png" COMP;
14129          image: "bt_sm_shine.png" COMP;
14130          image: "bt_sm_hilight.png" COMP;
14131          image: "ilist_1_h.png" COMP;
14132          image: "ilist_item_shadow_h.png" COMP;
14133       }
14134       parts {
14135          part {
14136             name: "event";
14137             type: RECT;
14138             repeat_events: 1;
14139             description {
14140                state: "default" 0.0;
14141                color: 0 0 0 0;
14142             }
14143          }
14144          part {
14145             name: "base_sh";
14146             mouse_events: 0;
14147             description { state: "default" 0.0;
14148                fixed: 1 1;
14149                align: 0.0 0.0;
14150                min: 10 0;
14151                rel1 {
14152                   to: "base";
14153                   relative: 1.0 0.0;
14154                   offset: 0 0;
14155                }
14156                rel2 {
14157                   to: "base";
14158                   relative: 1.0 1.0;
14159                   offset: 0 -1;
14160                }
14161                image {
14162                   normal: "ilist_item_shadow_h.png";
14163                }
14164                fill.smooth: 0;
14165             }
14166          }
14167          part {
14168             name: "base";
14169             mouse_events: 0;
14170             description {
14171                state: "default" 0.0;
14172                image {
14173                   normal: "ilist_1_h.png";
14174                   border: 2 2 2 2;
14175                }
14176                fill.smooth: 0;
14177             }
14178          }
14179          part { name: "bg";
14180             mouse_events: 0;
14181             description { state: "default" 0.0;
14182                visible: 0;
14183                color: 255 255 255 0;
14184                rel1 {
14185                   relative: 0.0 0.0;
14186                   offset: -5 -5;
14187                }
14188                rel2 {
14189                   relative: 1.0 1.0;
14190                   offset: 4 4;
14191                }
14192                image {
14193                   normal: "bt_sm_base1.png";
14194                   border: 6 6 6 6;
14195                }
14196                image.middle: SOLID;
14197             }
14198             description { state: "selected" 0.0;
14199                inherit: "default" 0.0;
14200                visible: 1;
14201                color: 255 255 255 255;
14202                rel1 {
14203                   relative: 0.0 0.0;
14204                   offset: -2 -2;
14205                }
14206                rel2 {
14207                   relative: 1.0 1.0;
14208                   offset: 1 1;
14209                }
14210             }
14211          }
14212          part { name: "elm.swallow.icon";
14213             type: SWALLOW;
14214             description { state: "default" 0.0;
14215                fixed: 0 1;
14216                align: 0.5 0.0;
14217                rel1 {
14218                   relative: 0.0 0.0;
14219                   offset: 4 4;
14220                }
14221                rel2 {
14222                   relative: 1.0 0.0;
14223                   offset: -5 4;
14224                }
14225             }
14226          }
14227          part { name: "elm.swallow.end";
14228             type: SWALLOW;
14229             description { state: "default" 0.0;
14230                fixed: 0 1;
14231                align: 0.5 1.0;
14232                rel1 {
14233                   relative: 0.0 1.0;
14234                   offset: 4 -5;
14235                }
14236                rel2 {
14237                   relative: 1.0 1.0;
14238                   offset: -5 -5;
14239                }
14240             }
14241          }
14242          part {
14243             name: "elm.text";
14244             type: TEXT;
14245             effect: SOFT_SHADOW;
14246             mouse_events: 0;
14247             scale: 1;
14248             description { state: "default" 0.0;
14249                fixed: 1 1;
14250                rel1 {
14251                   to_x: "elm.swallow.icon";
14252                   relative: 0.0 1.0;
14253                   offset: 4 4;
14254                }
14255                rel2 {
14256                   to_x: "elm.swallow.end";
14257                   relative: 1.0 0.0;
14258                   offset: -5 -1;
14259                }
14260                color: 0 0 0 255;
14261                color3: 0 0 0 0;
14262                text {
14263                   font: "Sans";
14264                   size: 10;
14265                   min: 1 1;
14266                   align: 0.5 0.5;
14267                   text_class: "list_item";
14268                }
14269             }
14270             description { state: "selected" 0.0;
14271                inherit: "default" 0.0;
14272                color: 224 224 224 255;
14273                color3: 0 0 0 64;
14274             }
14275          }
14276          part { name: "fg1";
14277             mouse_events: 0;
14278             description { state: "default" 0.0;
14279                visible: 0;
14280                color: 255 255 255 0;
14281                rel1.to: "bg";
14282                rel2.relative: 1.0 0.5;
14283                rel2.to: "bg";
14284                image {
14285                   normal: "bt_sm_hilight.png";
14286                   border: 6 6 6 0;
14287                }
14288             }
14289             description { state: "selected" 0.0;
14290                inherit: "default" 0.0;
14291                visible: 1;
14292                color: 255 255 255 255;
14293             }
14294          }
14295          part { name: "fg2";
14296             mouse_events: 0;
14297             description { state: "default" 0.0;
14298                visible: 0;
14299                color: 255 255 255 0;
14300                rel1.to: "bg";
14301                rel2.to: "bg";
14302                image {
14303                   normal: "bt_sm_shine.png";
14304                   border: 6 6 6 0;
14305                }
14306             }
14307             description { state: "selected" 0.0;
14308                inherit: "default" 0.0;
14309                visible: 1;
14310                color: 255 255 255 255;
14311             }
14312          }
14313       }
14314       programs {
14315          program {
14316             name: "go_active";
14317             signal: "elm,state,selected";
14318             source: "elm";
14319             action: STATE_SET "selected" 0.0;
14320             target: "bg";
14321             target: "fg1";
14322             target: "fg2";
14323             target: "elm.text";
14324          }
14325          program {
14326             name: "go_passive";
14327             signal: "elm,state,unselected";
14328             source: "elm";
14329             action: STATE_SET "default" 0.0;
14330             target: "bg";
14331             target: "fg1";
14332             target: "fg2";
14333             target: "elm.text";
14334             transition: LINEAR 0.1;
14335          }
14336       }
14337    }
14338    group { name: "elm/list/h_item_compress_odd/default";
14339       data.item: "stacking" "below";
14340       data.item: "selectraise" "on";
14341       images {
14342          image: "bt_sm_base1.png" COMP;
14343          image: "bt_sm_shine.png" COMP;
14344          image: "bt_sm_hilight.png" COMP;
14345          image: "ilist_2_h.png" COMP;
14346       }
14347       parts {
14348          part {
14349             name: "event";
14350             type: RECT;
14351             repeat_events: 1;
14352             description {
14353                state: "default" 0.0;
14354                color: 0 0 0 0;
14355             }
14356          }
14357          part {
14358             name: "base";
14359             mouse_events: 0;
14360             description {
14361                state: "default" 0.0;
14362                image {
14363                   normal: "ilist_2_h.png";
14364                   border: 2 2 2 2;
14365                }
14366                fill.smooth: 0;
14367             }
14368          }
14369          part { name: "bg";
14370             mouse_events: 0;
14371             description { state: "default" 0.0;
14372                visible: 0;
14373                color: 255 255 255 0;
14374                rel1 {
14375                   relative: 0.0 0.0;
14376                   offset: -5 -5;
14377                }
14378                rel2 {
14379                   relative: 1.0 1.0;
14380                   offset: 4 4;
14381                }
14382                image {
14383                   normal: "bt_sm_base1.png";
14384                   border: 6 6 6 6;
14385                }
14386                image.middle: SOLID;
14387             }
14388             description { state: "selected" 0.0;
14389                inherit: "default" 0.0;
14390                visible: 1;
14391                color: 255 255 255 255;
14392                rel1 {
14393                   relative: 0.0 0.0;
14394                   offset: -2 -2;
14395                }
14396                rel2 {
14397                   relative: 1.0 1.0;
14398                   offset: 1 1;
14399                }
14400             }
14401          }
14402          part { name: "elm.swallow.icon";
14403             type: SWALLOW;
14404             description { state: "default" 0.0;
14405                fixed: 0 1;
14406                align: 0.5 0.0;
14407                rel1 {
14408                   relative: 0.0 0.0;
14409                   offset: 4 4;
14410                }
14411                rel2 {
14412                   relative: 1.0 0.0;
14413                   offset: -5 4;
14414                }
14415             }
14416          }
14417          part { name: "elm.swallow.end";
14418             type: SWALLOW;
14419             description { state: "default" 0.0;
14420                fixed: 0 1;
14421                align: 0.5 1.0;
14422                rel1 {
14423                   relative: 0.0 1.0;
14424                   offset: 4 -5;
14425                }
14426                rel2 {
14427                   relative: 1.0 1.0;
14428                   offset: -5 -5;
14429                }
14430             }
14431          }
14432          part { name: "elm.text";
14433             type: TEXT;
14434             effect: SOFT_SHADOW;
14435             mouse_events: 0;
14436             scale: 1;
14437             description {
14438                state: "default" 0.0;
14439                fixed: 1 1;
14440                rel1 {
14441                   to_x: "elm.swallow.icon";
14442                   relative: 0.0 1.0;
14443                   offset: 4 4;
14444                }
14445                rel2 {
14446                   to_x: "elm.swallow.end";
14447                   relative: 1.0 0.0;
14448                   offset: -5 -1;
14449                }
14450                color: 0 0 0 255;
14451                color3: 0 0 0 0;
14452                text {
14453                   font: "Sans";
14454                   size: 10;
14455                   min: 1 1;
14456                   align: 0.5 0.5;
14457                   text_class: "list_item";
14458                }
14459             }
14460             description { state: "selected" 0.0;
14461                inherit: "default" 0.0;
14462                color: 224 224 224 255;
14463                color3: 0 0 0 64;
14464             }
14465          }
14466          part { name: "fg1";
14467             mouse_events: 0;
14468             description { state: "default" 0.0;
14469                visible: 0;
14470                color: 255 255 255 0;
14471                rel1.to: "bg";
14472                rel2.relative: 1.0 0.5;
14473                rel2.to: "bg";
14474                image {
14475                   normal: "bt_sm_hilight.png";
14476                   border: 6 6 6 0;
14477                }
14478             }
14479             description { state: "selected" 0.0;
14480                inherit: "default" 0.0;
14481                visible: 1;
14482                color: 255 255 255 255;
14483             }
14484          }
14485          part { name: "fg2";
14486             mouse_events: 0;
14487             description { state: "default" 0.0;
14488                visible: 0;
14489                color: 255 255 255 0;
14490                rel1.to: "bg";
14491                rel2.to: "bg";
14492                image {
14493                   normal: "bt_sm_shine.png";
14494                   border: 6 6 6 0;
14495                }
14496             }
14497             description { state: "selected" 0.0;
14498                inherit: "default" 0.0;
14499                visible: 1;
14500                color: 255 255 255 255;
14501             }
14502          }
14503       }
14504       programs {
14505          program {
14506             name: "go_active";
14507             signal: "elm,state,selected";
14508             source: "elm";
14509             action: STATE_SET "selected" 0.0;
14510             target: "bg";
14511             target: "fg1";
14512             target: "fg2";
14513             target: "elm.text";
14514          }
14515          program {
14516             name: "go_passive";
14517             signal: "elm,state,unselected";
14518             source: "elm";
14519             action: STATE_SET "default" 0.0;
14520             target: "bg";
14521             target: "fg1";
14522             target: "fg2";
14523             target: "elm.text";
14524             transition: LINEAR 0.1;
14525          }
14526       }
14527    }
14528
14529 ///////////////////////////////////////////////////////////////////////////////
14530    group { name: "elm/slider/horizontal/default";
14531            alias: "elm/slider/horizontal/disabled";
14532       images {
14533          image: "sl_bg.png" COMP;
14534          image: "sl_bg_over.png" COMP;
14535          image: "sl_bt_0.png" COMP;
14536          image: "sl_bt_1.png" COMP;
14537          image: "sl_bt_2.png" COMP;
14538          image: "sl_bt_3.png" COMP;
14539          image: "sl_bt2_0_0.png" COMP;
14540          image: "sl_bt2_0_1.png" COMP;
14541          image: "sl_bt2_0_2.png" COMP;
14542          image: "sl_bt2_1.png" COMP;
14543          image: "sl_bt2_2.png" COMP;
14544          image: "sl_units.png" COMP;
14545       }
14546       script {
14547          public value_hide = 0;
14548          public set_value_show() {
14549             set_int(value_hide, 0);
14550          }
14551          public set_value_hide() {
14552             set_int(value_hide, 1);
14553          }
14554          public thumb_down() {
14555             if (get_int(value_hide) == 1) {
14556                set_state(PART:"elm.indicator", "default", 0.0);
14557                set_state(PART:"button3", "default", 0.0);
14558                set_state(PART:"button4", "default", 0.0);
14559                set_state(PART:"button5", "default", 0.0);
14560                set_state(PART:"button6", "default", 0.0);
14561                set_state(PART:"button7", "default", 0.0);
14562             } else {
14563                set_state(PART:"elm.indicator", "visible", 0.0);
14564                set_state(PART:"button3", "visible", 0.0);
14565                set_state(PART:"button4", "visible", 0.0);
14566                set_state(PART:"button5", "visible", 0.0);
14567                set_state(PART:"button6", "visible", 0.0);
14568                set_state(PART:"button7", "visible", 0.0);
14569             }
14570          }
14571          public thumb_up() {
14572             set_state(PART:"elm.indicator", "default", 0.0);
14573             set_state(PART:"button3", "default", 0.0);
14574             set_state(PART:"button4", "default", 0.0);
14575             set_state(PART:"button5", "default", 0.0);
14576             set_state(PART:"button6", "default", 0.0);
14577             set_state(PART:"button7", "default", 0.0);
14578          }
14579       }
14580       parts {
14581          part { name: "base";
14582             mouse_events: 0;
14583             description { state: "default" 0.0;
14584                max: 99999 6;
14585                min: 0 6;
14586                rel1 { to: "bg";
14587                   offset: 1 0;
14588                }
14589                rel2 { to: "bg";
14590                   offset: -2 -1;
14591                }
14592                image.normal: "sl_bg.png";
14593                fill.smooth: 0;
14594             }
14595          }
14596          part { name: "level";
14597             type: RECT;
14598             mouse_events: 0;
14599             description { state: "default" 0.0;
14600                fixed: 1 1;
14601                rel1.to: "base";
14602                rel2 {
14603                   to_y: "base";
14604                   to_x: "elm.dragable.slider";
14605                   relative: 0.5 1.0;
14606                }
14607                color: 255 0 0 200;
14608             }
14609             description { state: "inverted" 0.0;
14610                inherit: "default" 0.0;
14611                visible: 0;
14612             }
14613             description { state: "disabled" 0.0;
14614                inherit: "default" 0.0;
14615                color: 255 0 0 100;
14616             }
14617             description { state: "disabled_inverted" 0.0;
14618                inherit: "default" 0.0;
14619                visible: 0;
14620             }
14621          }
14622          part { name: "level2";
14623             type: RECT;
14624             mouse_events: 0;
14625             description { state: "default" 0.0;
14626                fixed: 1 1;
14627                visible: 0;
14628                rel1 {
14629                   to_y: "base";
14630                   to_x: "elm.dragable.slider";
14631                   relative: 0.5 0.0;
14632                }
14633                rel2.to: "base";
14634                color: 255 0 0 200;
14635             }
14636             description { state: "inverted" 0.0;
14637                inherit: "default" 0.0;
14638                visible: 1;
14639             }
14640             description { state: "disabled" 0.0;
14641                inherit: "default" 0.0;
14642             }
14643             description { state: "disabled_inverted" 0.0;
14644                inherit: "default" 0.0;
14645                color: 255 0 0 100;
14646                visible: 1;
14647             }
14648          }
14649          part {
14650             name: "base_over";
14651             mouse_events: 0;
14652             description { state: "default" 0.0;
14653                rel1.to: "base";
14654                rel1.offset: -1 -1;
14655                rel2.to: "base";
14656                rel2.offset: 0 0;
14657                image {
14658                   normal: "sl_bg_over.png";
14659                   border: 3 3 3 3;
14660                }
14661                fill.smooth: 0;
14662             }
14663          }
14664          part { name: "bg";
14665             type: RECT;
14666             mouse_events: 0;
14667             scale: 1;
14668             description { state: "default" 0.0;
14669                visible: 0;
14670                rel1.to: "elm.swallow.bar";
14671                rel2.to: "elm.swallow.bar";
14672                color: 0 0 0 0;
14673             }
14674          }
14675          part { name: "elm.swallow.bar";
14676             type: SWALLOW;
14677             scale: 1;
14678             description { state: "default" 0.0;
14679                min: 48 24;
14680                max: 99999 24;
14681                align: 1.0 0.5;
14682                rel1 {
14683                   to_x: "elm.text";
14684                   relative: 1.0 0.0;
14685                   offset: 8 0;
14686                }
14687                rel2 {
14688                   to_x: "elm.units";
14689                   relative: 0.0 1.0;
14690                   offset: -10 -1;
14691                }
14692             }
14693          }
14694          part { name: "elm.swallow.icon";
14695             type: SWALLOW;
14696             description { state: "default" 0.0;
14697                visible: 0;
14698                align: 0.0 0.5;
14699                rel1 {
14700                   offset: 4 0;
14701                   to_y: "elm.swallow.bar";
14702                }
14703                rel2 {
14704                   offset: 3 -1;
14705                   relative: 0.0 1.0;
14706                   to_y: "elm.swallow.bar";
14707                }
14708             }
14709             description { state: "visible" 0.0;
14710                inherit: "default" 0.0;
14711                visible: 1;
14712                aspect: 1.0 1.0;
14713                aspect_preference: VERTICAL;
14714                rel2.offset: 4 -1;
14715             }
14716          }
14717          part { name: "elm.text";
14718             type: TEXT;
14719             mouse_events: 0;
14720             scale: 1;
14721             description { state: "default" 0.0;
14722                visible: 0;
14723                fixed: 1 1;
14724                align: 0.0 0.5;
14725                rel1.to_x: "elm.swallow.icon";
14726                rel1.relative: 1.0 0.0;
14727                rel1.offset: -1 4;
14728                rel2.to_x: "elm.swallow.icon";
14729                rel2.relative: 1.0 1.0;
14730                rel2.offset: -1 -5;
14731                color: 0 0 0 255;
14732                text {
14733                   font: "Sans,Edje-Vera";
14734                   size: 10;
14735                   min: 0 0;
14736                   align: 0.0 0.5;
14737                }
14738             }
14739             description { state: "visible" 0.0;
14740                inherit: "default" 0.0;
14741                visible: 1;
14742                text.min: 1 1;
14743                rel1.offset: 0 4;
14744                rel2.offset: 0 -5;
14745             }
14746             description { state: "disabled" 0.0;
14747                inherit: "default" 0.0;
14748                color: 255 128 128 128;
14749                visible: 0;
14750             }
14751             description { state: "disabled_visible" 0.0;
14752                inherit: "default" 0.0;
14753                color: 0 0 0 128;
14754                color3: 0 0 0 0;
14755                visible: 1;
14756                text.min: 1 1;
14757             }
14758          }
14759          part {
14760             name: "elm.swallow.end";
14761             type: SWALLOW;
14762             description {
14763                state: "default" 0.0;
14764                visible: 0;
14765                align: 1.0 0.5;
14766                rel1 {
14767                   offset: -4 0;
14768                   relative: 1.0 0.0;
14769                   to_y: "elm.swallow.bar";
14770                }
14771                rel2 {
14772                   offset: -3 -1;
14773                   to_y: "elm.swallow.bar";
14774                }
14775             }
14776             description { state: "visible" 0.0;
14777                inherit: "default" 0.0;
14778                visible: 1;
14779                aspect: 1.0 1.0;
14780                aspect_preference: VERTICAL;
14781                rel2.offset: -4 -1;
14782             }
14783          }
14784          part { name: "units";
14785             mouse_events: 0;
14786             description { state: "default" 0.0;
14787                visible: 0;
14788                rel1 {
14789                   to_x: "elm.units";
14790                   offset: 0 5;
14791                }
14792                rel2 {
14793                   to_x: "elm.units";
14794                   offset: 5 -3;
14795                }
14796                image {
14797                   normal: "sl_units.png";
14798                   border: 0 5 3 8;
14799                }
14800                fill.smooth: 0;
14801             }
14802             description { state: "visible" 0.0;
14803                inherit: "default" 0.0;
14804                visible: 1;
14805             }
14806          }
14807          part { name: "elm.units";
14808             type: TEXT;
14809             mouse_events: 0;
14810             scale: 1;
14811             description { state: "default" 0.0;
14812                visible: 0;
14813                fixed: 1 1;
14814                align: 1.0 0.5;
14815                rel1.to_x: "elm.swallow.end";
14816                rel1.relative: 0.0 0.0;
14817                rel1.offset: 0 8;
14818                rel2.to_x: "elm.swallow.end";
14819                rel2.relative: 0.0 1.0;
14820                rel2.offset: 0 -9;
14821                color: 0 0 0 255;
14822                text {
14823                   font: "Sans,Edje-Vera";
14824                   size: 10;
14825                   min: 0 0;
14826                   align: 0.0 0.5;
14827                }
14828             }
14829             description { state: "visible" 0.0;
14830                inherit: "default" 0.0;
14831                fixed: 1 1;
14832                visible: 1;
14833                text.min: 1 1;
14834                rel1.offset: -5 0;
14835                rel2.offset: -5 -1;
14836             }
14837             description { state: "disabled" 0.0;
14838                inherit: "default" 0.0;
14839                color: 255 128 128 128;
14840                visible: 0;
14841             }
14842             description { state: "disabled_visible" 0.0;
14843                inherit: "default" 0.0;
14844                color: 0 0 0 128;
14845                color3: 0 0 0 0;
14846                visible: 1;
14847                text.min: 1 1;
14848             }
14849          }
14850          part { name: "elm.dragable.slider";
14851             type: RECT;
14852             mouse_events: 0;
14853             scale: 1;
14854             dragable {
14855                x: 1 1 0;
14856                y: 0 0 0;
14857                confine: "bg";
14858             }
14859             description { state: "default" 0.0;
14860                min: 0 24;
14861                max: 0 24;
14862                fixed: 1 1;
14863                rel1 {
14864                   relative: 0.5 0.0;
14865                   to_x: "bg";
14866                }
14867                rel2 {
14868                   relative: 0.5 1.0;
14869                   to_x: "bg";
14870                }
14871                color: 255 0 0 100;
14872             }
14873          }
14874          part { name: "button_events";
14875             type: RECT;
14876             dragable {
14877                events: "elm.dragable.slider";
14878             }
14879             mouse_events: 1;
14880             description { state: "default" 0.0;
14881                fixed: 1 1;
14882                min: 16 16;
14883                aspect: 1.0 1.0;
14884                aspect_preference: VERTICAL;
14885                rel1.to_x: "elm.dragable.slider";
14886                rel2.to_x: "elm.dragable.slider";
14887                color: 0 0 0 0;
14888             }
14889          }
14890          part { name: "button0";
14891             mouse_events: 0;
14892             description { state: "default" 0.0;
14893                fixed: 1 1;
14894                max: 17 999;
14895                min: 17 24;
14896                rel1.to: "elm.dragable.slider";
14897                rel2.to: "elm.dragable.slider";
14898                image {
14899                   normal: "sl_bt_0.png";
14900                   border: 5 5 5 10;
14901                }
14902                fill.smooth: 0;
14903             }
14904             description { state: "disabled" 0.0;
14905                inherit: "default" 0.0;
14906                image {
14907                   normal: "sl_bt_3.png";
14908                   border: 5 5 5 10;
14909                }
14910             }
14911          }
14912          part { name: "button1";
14913             mouse_events: 0;
14914             description { state: "default" 0.0;
14915                rel1.to: "button0";
14916                rel2 {
14917                   to: "button0";
14918                   relative: 1.0 0.5;
14919                   offset: -1 -5;
14920                }
14921                image {
14922                   normal: "sl_bt_1.png";
14923                   border: 5 5 5 0;
14924                }
14925             }
14926          }
14927          part { name: "button2";
14928             mouse_events: 0;
14929             description { state: "default" 0.0;
14930                rel1.to: "button0";
14931                rel2.to: "button0";
14932                image {
14933                   normal: "sl_bt_2.png";
14934                   border: 5 5 5 10;
14935                }
14936                fill.smooth: 0;
14937             }
14938          }
14939          part { name: "button3";
14940             mouse_events: 0;
14941             description { state: "default" 0.0;
14942                fixed: 1 1;
14943                visible: 0;
14944                min: 8 32;
14945                align: 1.0 0.5;
14946                rel1 {
14947                   to_x: "elm.indicator";
14948                   to_y: "button4";
14949                   relative: 0.0 0.0;
14950                   offset: -7 0;
14951                }
14952                rel2 {
14953                   to: "button4";
14954                   relative: 0.0 1.0;
14955                   offset: -1 -1;
14956                }
14957                image {
14958                   normal: "sl_bt2_0_0.png";
14959                   border: 6 0 6 12;
14960                }
14961                fill.smooth: 0;
14962             }
14963             description { state: "visible" 0.0;
14964                inherit: "default" 0.0;
14965                visible: 1;
14966             }
14967          }
14968          part { name: "button4";
14969             mouse_events: 0;
14970             description { state: "default" 0.0;
14971                visible: 0;
14972                max: 15 999;
14973                min: 15 32;
14974                rel1 {
14975                   to_x: "button0";
14976                   to_y: "elm.indicator";
14977                   offset: 0 0;
14978                }
14979                rel2.to: "button0";
14980                image {
14981                   normal: "sl_bt2_0_1.png";
14982                   border: 0 0 6 12;
14983                }
14984                fill.smooth: 0;
14985             }
14986             description { state: "visible" 0.0;
14987                inherit: "default" 0.0;
14988                visible: 1;
14989             }
14990          }
14991          part { name: "button5";
14992             mouse_events: 0;
14993             description { state: "default" 0.0;
14994                fixed: 1 1;
14995                visible: 0;
14996                min: 8 32;
14997                align: 0.0 0.5;
14998                rel1 {
14999                   to: "button4";
15000                   relative: 1.0 0.0;
15001                   offset: 0 0;
15002                }
15003                rel2 {
15004                   to_x: "elm.indicator";
15005                   to_y: "button4";
15006                   relative: 1.0 1.0;
15007                   offset: 6 -1;
15008                }
15009                image {
15010                   normal: "sl_bt2_0_2.png";
15011                   border: 0 6 6 12;
15012                }
15013                fill.smooth: 0;
15014             }
15015             description { state: "visible" 0.0;
15016                inherit: "default" 0.0;
15017                visible: 1;
15018             }
15019          }
15020          part { name: "elm.indicator";
15021             type: TEXT;
15022             mouse_events: 0;
15023             effect: SOFT_SHADOW;
15024             scale: 1;
15025             description { state: "default" 0.0;
15026                visible: 0;
15027                fixed: 1 1;
15028                align: 0.5 1.0;
15029                rel1 {
15030                   to: "button0";
15031                   relative: 0.0 -0.25;
15032                   offset: 0 0;
15033                }
15034                rel2 {
15035                   to_x: "button0";
15036                   relative: 1.0 -0.25;
15037                   offset: -1 0;
15038                }
15039                color: 224 224 224 255;
15040                color3: 0 0 0 64;
15041                text {
15042                   font:     "Sans,Edje-Vera";
15043                   size:     10;
15044                   min:      0 0;
15045                   align:    0.5 0.5;
15046                }
15047             }
15048             description { state: "visible" 0.0;
15049                inherit: "default" 0.0;
15050                visible: 1;
15051                text.min: 1 1;
15052                rel1.offset: 0 -1;
15053                rel2.offset: -1 -1;
15054             }
15055          }
15056          part { name: "button6";
15057             mouse_events: 0;
15058             description { state: "default" 0.0;
15059                visible: 0;
15060                rel1.to: "button3";
15061                rel2 {
15062                   to: "button5";
15063                   relative: 1.0 0.3;
15064                   offset: -1 -1;
15065                }
15066                image {
15067                   normal: "sl_bt2_1.png";
15068                   border: 5 5 5 0;
15069                }
15070                fill.smooth: 0;
15071             }
15072             description { state: "visible" 0.0;
15073                inherit: "default" 0.0;
15074                visible: 1;
15075             }
15076          }
15077          part { name: "button7";
15078             mouse_events: 0;
15079             description { state: "default" 0.0;
15080                visible: 0;
15081                rel1.to: "button3";
15082                rel2.to: "button5";
15083                image {
15084                   normal: "sl_bt2_2.png";
15085                   border: 5 5 5 0;
15086                   middle: 0;
15087                }
15088                fill.smooth: 0;
15089             }
15090             description { state: "visible" 0.0;
15091                inherit: "default" 0.0;
15092                visible: 1;
15093             }
15094          }
15095          part { name: "disabler";
15096             type: RECT;
15097             description { state: "default" 0.0;
15098                color: 0 0 0 0;
15099                visible: 0;
15100             }
15101             description { state: "disabled" 0.0;
15102                inherit: "default" 0.0;
15103                visible: 1;
15104             }
15105          }
15106       }
15107       programs {
15108          program { name: "text_show";
15109             signal: "elm,state,text,visible";
15110             source: "elm";
15111             action:  STATE_SET "visible" 0.0;
15112             target: "elm.text";
15113          }
15114          program { name: "text_hide";
15115             signal: "elm,state,text,hidden";
15116             source: "elm";
15117             action:  STATE_SET "default" 0.0;
15118             target: "elm.text";
15119          }
15120          program { name: "icon_show";
15121             signal: "elm,state,icon,visible";
15122             source: "elm";
15123             action:  STATE_SET "visible" 0.0;
15124             target: "elm.swallow.icon";
15125          }
15126          program { name: "icon_hide";
15127             signal: "elm,state,icon,hidden";
15128             source: "elm";
15129             action:  STATE_SET "default" 0.0;
15130             target: "elm.swallow.icon";
15131          }
15132          program { name: "end_show";
15133             signal: "elm,state,end,visible";
15134             source: "elm";
15135             action:  STATE_SET "visible" 0.0;
15136             target: "elm.swallow.end";
15137          }
15138          program { name: "end_hide";
15139             signal: "elm,state,end,hidden";
15140             source: "elm";
15141             action:  STATE_SET "default" 0.0;
15142             target: "elm.swallow.end";
15143          }
15144          program { name: "units_show";
15145             signal: "elm,state,units,visible";
15146             source: "elm";
15147             action:  STATE_SET "visible" 0.0;
15148             target: "elm.units";
15149             target: "units";
15150          }
15151          program { name: "units_hide";
15152             signal: "elm,state,units,hidden";
15153             source: "elm";
15154             action:  STATE_SET "default" 0.0;
15155             target: "elm.units";
15156             target: "units";
15157          }
15158          program { name: "invert_on";
15159             signal: "elm,state,inverted,on";
15160             source: "elm";
15161             action:  STATE_SET "inverted" 0.0;
15162             target: "level";
15163             target: "level2";
15164          }
15165          program { name: "invert_off";
15166             signal: "elm,state,inverted,off";
15167             source: "elm";
15168             action:  STATE_SET "default" 0.0;
15169             target: "level";
15170             target: "level2";
15171          }
15172          program { name: "set_val_show";
15173             signal: "elm,state,val,show";
15174             source: "elm";
15175             script {
15176                set_value_show();
15177             }
15178          }
15179          program { name: "set_val_hide";
15180             signal: "elm,state,val,hide";
15181             source: "elm";
15182             script {
15183                set_value_hide();
15184             }
15185          }
15186          program { name: "val_show";
15187             signal: "mouse,down,*";
15188             source: "elm.dragable.slider";
15189             script {
15190                thumb_down();
15191             }
15192
15193          }
15194          program { name: "val_hide";
15195             signal: "mouse,up,*";
15196             source: "elm.dragable.slider";
15197             script {
15198                thumb_up();
15199             }
15200          }
15201          program {
15202             name:    "go_disabled";
15203             signal:  "elm,state,disabled";
15204             source:  "elm";
15205             action:  STATE_SET "disabled" 0.0;
15206             target:  "button0";
15207             target:  "disabler";
15208             after: "disable_text";
15209          }
15210          program { name: "disable_text";
15211             script {
15212                new st[31];
15213                new Float:vl;
15214                get_state(PART:"elm.text", st, 30, vl);
15215                if (!strcmp(st, "visible"))
15216                   set_state(PART:"elm.text", "disabled_visible", 0.0);
15217                else
15218                   set_state(PART:"elm.text", "disabled", 0.0);
15219
15220                get_state(PART:"elm.units", st, 30, vl);
15221                if (!strcmp(st, "visible")) 
15222                   set_state(PART:"elm.units", "disabled_visible", 0.0);
15223                else 
15224                   set_state(PART:"elm.units", "disabled", 0.0);
15225
15226                get_state(PART:"level2", st, 30, vl);
15227                if (!strcmp(st, "inverted")) 
15228                {
15229                   set_state(PART:"level", "disabled_inverted", 0.0);
15230                   set_state(PART:"level2", "disabled_inverted", 0.0);
15231                }
15232                else 
15233                {
15234                   set_state(PART:"level", "disabled", 0.0);
15235                   set_state(PART:"level2", "disabled", 0.0);
15236                }
15237             }
15238          }
15239          program { name: "enable";
15240             signal: "elm,state,enabled";
15241             source: "elm";
15242             action: STATE_SET "default" 0.0;
15243             target: "button0";
15244             target: "disabler";
15245             after: "enable_text";
15246          }
15247          program { name: "enable_text";
15248             script {
15249                new st[31];
15250                new Float:vl;
15251                get_state(PART:"elm.text", st, 30, vl);
15252                if (!strcmp(st, "disabled_visible"))
15253                   set_state(PART:"elm.text", "visible", 0.0);
15254                else
15255                   set_state(PART:"elm.text", "default", 0.0);
15256
15257                get_state(PART:"elm.units", st, 30, vl);
15258                if (!strcmp(st, "disabled_visible"))
15259                   set_state(PART:"elm.units", "visible", 0.0);
15260                else
15261                   set_state(PART:"elm.units", "default", 0.0);
15262      
15263                get_state(PART:"level2", st, 30, vl);
15264                if (!strcmp(st, "disabled_inverted"))
15265                {
15266                   set_state(PART:"level", "inverted", 0.0);
15267                   set_state(PART:"level2", "inverted", 0.0);
15268                }
15269                else
15270                {
15271                   set_state(PART:"level", "default", 0.0);
15272                   set_state(PART:"level2", "default", 0.0);
15273                }
15274             }
15275          }
15276       }
15277    }
15278
15279    group { name: "elm/slider/vertical/default";
15280       images {
15281          image: "slv_bg.png" COMP;
15282          image: "slv_bg_over.png" COMP;
15283
15284          image: "sl_bt_0.png" COMP;
15285          image: "sl_bt_1.png" COMP;
15286          image: "sl_bt_2.png" COMP;
15287          image: "sl_bt_3.png" COMP;
15288          image: "sl_bt2_0_0.png" COMP;
15289          image: "sl_bt2_0_1.png" COMP;
15290          image: "sl_bt2_0_2.png" COMP;
15291          image: "sl_bt2_1.png" COMP;
15292          image: "sl_bt2_2.png" COMP;
15293
15294          image: "slv_units.png" COMP;
15295       }
15296       script {
15297          public value_hide = 0;
15298          public set_value_show() {
15299             set_int(value_hide, 0);
15300          }
15301          public set_value_hide() {
15302             set_int(value_hide, 1);
15303          }
15304          public thumb_down() {
15305             if (get_int(value_hide) == 1) {
15306                set_state(PART:"elm.indicator", "default", 0.0);
15307                set_state(PART:"button3", "default", 0.0);
15308                set_state(PART:"button4", "default", 0.0);
15309                set_state(PART:"button5", "default", 0.0);
15310                set_state(PART:"button6", "default", 0.0);
15311                set_state(PART:"button7", "default", 0.0);
15312             } else {
15313                set_state(PART:"elm.indicator", "visible", 0.0);
15314                set_state(PART:"button3", "visible", 0.0);
15315                set_state(PART:"button4", "visible", 0.0);
15316                set_state(PART:"button5", "visible", 0.0);
15317                set_state(PART:"button6", "visible", 0.0);
15318                set_state(PART:"button7", "visible", 0.0);
15319             }
15320          }
15321          public thumb_up() {
15322             set_state(PART:"elm.indicator", "default", 0.0);
15323             set_state(PART:"button3", "default", 0.0);
15324             set_state(PART:"button4", "default", 0.0);
15325             set_state(PART:"button5", "default", 0.0);
15326             set_state(PART:"button6", "default", 0.0);
15327             set_state(PART:"button7", "default", 0.0);
15328          }
15329       }
15330       parts {
15331          part { name: "base";
15332             mouse_events: 0;
15333             description { state: "default" 0.0;
15334                max: 6 99999;
15335                min: 6 0;
15336                rel1 { to: "bg";
15337                   offset: 1 0;
15338                }
15339                rel2 { to: "bg";
15340                   offset: -2 -1;
15341                }
15342                image.normal: "slv_bg.png";
15343                fill.smooth: 0;
15344             }
15345          }
15346          part { name: "level";
15347             type: RECT;
15348             mouse_events: 0;
15349             description { state: "default" 0.0;
15350                fixed: 1 1;
15351                rel1.to: "base";
15352                rel2 {
15353                   to_x: "base";
15354                   to_y: "elm.dragable.slider";
15355                   relative: 1.0 0.5;
15356                }
15357                color: 255 0 0 200;
15358             }
15359             description { state: "inverted" 0.0;
15360                inherit: "default" 0.0;
15361                visible: 0;
15362             }
15363             description { state: "disabled" 0.0;
15364                inherit: "default" 0.0;
15365                color: 255 0 0 100;
15366             }
15367             description { state: "disabled_inverted" 0.0;
15368                inherit: "default" 0.0;
15369                visible: 0;
15370             }
15371          }
15372          part { name: "level2";
15373             type: RECT;
15374             mouse_events: 0;
15375             description { state: "default" 0.0;
15376                fixed: 1 1;
15377                visible: 0;
15378                rel1 {
15379                   to_x: "base";
15380                   to_y: "elm.dragable.slider";
15381                   relative: 0.0 0.5;
15382                }
15383                rel2.to: "base";
15384                color: 255 0 0 200;
15385             }
15386             description { state: "inverted" 0.0;
15387                inherit: "default" 0.0;
15388                visible: 1;
15389             }
15390             description { state: "disabled" 0.0;
15391                inherit: "default" 0.0;
15392                color: 255 0 0 100;
15393             }
15394             description { state: "disabled_inverted" 0.0;
15395                inherit: "default" 0.0;
15396                color: 255 0 0 100;
15397                visible: 1;
15398             }
15399          }
15400          part {
15401             name: "base_over";
15402             mouse_events: 0;
15403             description { state: "default" 0.0;
15404                rel1.to: "base";
15405                rel1.offset: -1 -1;
15406                rel2.to: "base";
15407                rel2.offset: 0 0;
15408                image {
15409                   normal: "slv_bg_over.png";
15410                   border: 3 3 3 3;
15411                }
15412                fill.smooth: 0;
15413             }
15414          }
15415          part { name: "bg";
15416             type: RECT;
15417             mouse_events: 0;
15418             scale: 1;
15419             description { state: "default" 0.0;
15420                visible: 0;
15421                rel1.to: "elm.swallow.bar";
15422                rel2.to: "elm.swallow.bar";
15423                color: 0 0 0 0;
15424             }
15425          }
15426          part { name: "elm.swallow.bar";
15427             type: SWALLOW;
15428             scale: 1;
15429             description { state: "default" 0.0;
15430                min: 24 48;
15431                max: 24 9999;
15432                align: 0.5 1.0;
15433                rel1 {
15434                   to_y: "elm.text";
15435                   relative: 0.0 1.0;
15436                   offset: 0 10;
15437                }
15438                rel2 {
15439                   to_y: "elm.units";
15440                   relative: 1.0 0.0;
15441                   offset: -1 -8;
15442                }
15443             }
15444          }
15445          part { name: "elm.swallow.icon";
15446             type: SWALLOW;
15447             description { state: "default" 0.0;
15448                visible: 0;
15449                align: 0.5 0.0;
15450                rel1 {
15451                   offset: 0 4;
15452                   to_x: "elm.swallow.bar";
15453                }
15454                rel2 {
15455                   offset: -1 3;
15456                   relative: 1.0 0.0;
15457                   to_x: "elm.swallow.bar";
15458                }
15459             }
15460             description { state: "visible" 0.0;
15461                inherit: "default" 0.0;
15462                visible: 1;
15463                aspect: 1.0 1.0;
15464                aspect_preference: HORIZONTAL;
15465                rel2.offset: -1 4;
15466             }
15467          }
15468          part { name: "elm.text";
15469             type: TEXT;
15470             mouse_events: 0;
15471             scale: 1;
15472             description { state: "default" 0.0;
15473                visible: 0;
15474                fixed: 0 1;
15475                align: 0.5 0.0;
15476                rel1.to_y: "elm.swallow.icon";
15477                rel1.relative: 0.0 1.0;
15478                rel1.offset: 0 -1;
15479                rel2.to_y: "elm.swallow.icon";
15480                rel2.relative: 1.0 1.0;
15481                rel2.offset: -1 -1;
15482                color: 0 0 0 255;
15483                text {
15484                   font: "Sans,Edje-Vera";
15485                   size: 10;
15486                   min: 0 0;
15487                   align: 0.5 0.0;
15488                }
15489             }
15490             description { state: "visible" 0.0;
15491                inherit: "default" 0.0;
15492                visible: 1;
15493                text.min: 1 1;
15494                rel1.offset: 4 0;
15495                rel2.offset: -5 0;
15496             }
15497             description { state: "disabled" 0.0;
15498                inherit: "default" 0.0;
15499                color: 255 128 128 128;
15500                visible: 0;
15501             }
15502             description { state: "disabled_visible" 0.0;
15503                inherit: "default" 0.0;
15504                color: 0 0 0 128;
15505                color3: 0 0 0 0;
15506                visible: 1;
15507                text.min: 1 1;
15508             }
15509          }
15510          part {
15511             name: "elm.swallow.end";
15512             type: SWALLOW;
15513             description {
15514                state: "default" 0.0;
15515                visible: 0;
15516                align: 0.5 1.0;
15517                rel1 {
15518                   offset: 0 -4;
15519                   relative: 0.0 1.0;
15520                   to_x: "elm.swallow.bar";
15521                }
15522                rel2 {
15523                   offset: -1 -3;
15524                   to_x: "elm.swallow.bar";
15525                }
15526             }
15527             description { state: "visible" 0.0;
15528                inherit: "default" 0.0;
15529                visible: 1;
15530                aspect: 1.0 1.0;
15531                aspect_preference: HORIZONTAL;
15532                rel2.offset: -1 -4;
15533             }
15534          }
15535          part { name: "units";
15536             mouse_events: 0;
15537             description { state: "default" 0.0;
15538                visible: 0;
15539                rel1 {
15540                   to: "elm.units";
15541                   offset: -8 0;
15542                }
15543                rel2 {
15544                   to: "elm.units";
15545                   offset: 7 8;
15546                }
15547                image {
15548                   normal: "slv_units.png";
15549                   border: 8 8 0 9;
15550                }
15551                fill.smooth: 0;
15552             }
15553             description { state: "visible" 0.0;
15554                inherit: "default" 0.0;
15555                visible: 1;
15556             }
15557          }
15558          part { name: "elm.units";
15559             type: TEXT;
15560             mouse_events: 0;
15561             scale: 1;
15562             description { state: "default" 0.0;
15563                visible: 0;
15564                fixed: 1 1;
15565                align: 0.5 1.0;
15566                rel1.relative: 0.0 0.0;
15567                rel1.to_y: "elm.swallow.end";
15568                rel1.offset: 8 0;
15569                rel2.relative: 1.0 0.0;
15570                rel2.to_y: "elm.swallow.end";
15571                rel2.offset: -9 0;
15572                color: 0 0 0 255;
15573                text {
15574                   font: "Sans,Edje-Vera";
15575                   size: 10;
15576                   min: 0 0;
15577                   align: 0.5 0.0;
15578                }
15579             }
15580             description { state: "visible" 0.0;
15581                inherit: "default" 0.0;
15582                fixed: 1 1;
15583                visible: 1;
15584                text.min: 1 1;
15585                rel1.offset: 8 -9;
15586                rel2.offset: -9 -9;
15587             }
15588             description { state: "disabled" 0.0;
15589                inherit: "default" 0.0;
15590                color:  0 0 0 128;
15591                color3: 0 0 0 0;
15592                visible: 0;
15593             }
15594             description { state: "disabled_visible" 0.0;
15595                inherit: "default" 0.0;
15596                fixed: 1 1;
15597                visible: 1;
15598                text.min: 1 1;
15599                rel1.offset: 8 -9;
15600                rel2.offset: -9 -9;
15601                color: 0 0 0 128;
15602                color3: 0 0 0 0;
15603             }
15604          }
15605          part { name: "elm.dragable.slider";
15606             type: RECT;
15607             mouse_events: 0;
15608             scale: 1;
15609             dragable {
15610                x: 0 0 0;
15611                y: 1 1 0;
15612                confine: "bg";
15613             }
15614             description { state: "default" 0.0;
15615                min: 24 0;
15616                max: 24 0;
15617                fixed: 1 1;
15618                rel1 {
15619                   relative: 0.5  0.0;
15620                   to_y: "bg";
15621                }
15622                rel2 {
15623                   relative: 0.5  1.0;
15624                   to_y: "bg";
15625                }
15626                color: 0 0 0 0;
15627             }
15628          }
15629          part { name: "button_events";
15630             type: RECT;
15631             dragable {
15632                events: "elm.dragable.slider";
15633             }
15634             mouse_events: 1;
15635             description { state: "default" 0.0;
15636                fixed: 1 1;
15637                min: 16 16;
15638                aspect: 1.0 1.0;
15639                aspect_preference: HORIZONTAL;
15640                rel1.to_y: "elm.dragable.slider";
15641                rel2.to_y: "elm.dragable.slider";
15642                color: 0 0 0 0;
15643             }
15644          }
15645          part { name: "button0";
15646             mouse_events: 0;
15647             description { state: "default" 0.0;
15648                fixed: 1 1;
15649                max: 17 999;
15650                min: 17 24;
15651                rel1.to: "elm.dragable.slider";
15652                rel2.to: "elm.dragable.slider";
15653                image {
15654                   normal: "sl_bt_0.png";
15655                   border: 5 5 5 10;
15656                }
15657                fill.smooth: 0;
15658             }
15659             description { state: "disabled" 0.0;
15660                inherit: "default" 0.0;
15661                image {
15662                   normal: "sl_bt_3.png";
15663                   border: 5 5 5 10;
15664                }
15665             }
15666          }
15667          part { name: "button1";
15668             mouse_events: 0;
15669             description { state: "default" 0.0;
15670                rel1.to: "button0";
15671                rel2 {
15672                   to: "button0";
15673                   relative: 1.0 0.5;
15674                   offset: -1 -5;
15675                }
15676                image {
15677                   normal: "sl_bt_1.png";
15678                   border: 5 5 5 0;
15679                }
15680             }
15681          }
15682          part { name: "button2";
15683             mouse_events: 0;
15684             description { state: "default" 0.0;
15685                rel1.to: "button0";
15686                rel2.to: "button0";
15687                image {
15688                   normal: "sl_bt_2.png";
15689                   border: 5 5 5 10;
15690                }
15691                fill.smooth: 0;
15692             }
15693          }
15694          part { name: "button3";
15695             mouse_events: 0;
15696             description { state: "default" 0.0;
15697                visible: 0;
15698                min: 8 32;
15699                align: 1.0 0.5;
15700                rel1 {
15701                   to_x: "elm.indicator";
15702                   to_y: "button4";
15703                   relative: 0.0 0.0;
15704                   offset: -7 0;
15705                }
15706                rel2 {
15707                   to: "button4";
15708                   relative: 0.0 1.0;
15709                   offset: -1 -1;
15710                }
15711                image {
15712                   normal: "sl_bt2_0_0.png";
15713                   border: 6 0 6 12;
15714                }
15715                fill.smooth: 0;
15716             }
15717             description { state: "visible" 0.0;
15718                inherit: "default" 0.0;
15719                visible: 1;
15720             }
15721          }
15722          part { name: "button4";
15723             mouse_events: 0;
15724             description { state: "default" 0.0;
15725                visible: 0;
15726                max: 15 999;
15727                min: 15 32;
15728                fixed: 1 1;
15729                rel1 {
15730                   to_x: "button0";
15731                   to_y: "elm.indicator";
15732                   offset: 0 -7;
15733                }
15734                rel2.to: "button0";
15735                image {
15736                   normal: "sl_bt2_0_1.png";
15737                   border: 0 0 6 12;
15738                }
15739                fill.smooth: 0;
15740             }
15741             description { state: "visible" 0.0;
15742                inherit: "default" 0.0;
15743                visible: 1;
15744             }
15745          }
15746          part { name: "button5";
15747             mouse_events: 0;
15748             description { state: "default" 0.0;
15749                visible: 0;
15750                min: 8 32;
15751                align: 0.0 0.5;
15752                rel1 {
15753                   to: "button4";
15754                   relative: 1.0 0.0;
15755                   offset: 0 0;
15756                }
15757                rel2 {
15758                   to_x: "elm.indicator";
15759                   to_y: "button4";
15760                   relative: 1.0 1.0;
15761                   offset: 6 -1;
15762                }
15763                image {
15764                   normal: "sl_bt2_0_2.png";
15765                   border: 0 6 6 12;
15766                }
15767                fill.smooth: 0;
15768             }
15769             description { state: "visible" 0.0;
15770                inherit: "default" 0.0;
15771                visible: 1;
15772             }
15773          }
15774          part { name: "elm.indicator";
15775             type: TEXT;
15776             mouse_events: 0;
15777             effect: SOFT_SHADOW;
15778             scale: 1;
15779             description { state: "default" 0.0;
15780                visible: 0;
15781                fixed: 1 1;
15782                align: 0.5 1.0;
15783                rel1 {
15784                   to: "button0";
15785                   relative: 0.0 -1.0;
15786                   offset: 0 0;
15787                }
15788                rel2 {
15789                   to: "button0";
15790                   relative: 1.0 -1.0;
15791                   offset: -1 0;
15792                }
15793                color: 224 224 224 255;
15794                color3: 0 0 0 64;
15795                text {
15796                   font:     "Sans,Edje-Vera";
15797                   size:     10;
15798                   min:      0 0;
15799                   align:    0.5 0.5;
15800                }
15801             }
15802             description { state: "visible" 0.0;
15803                inherit: "default" 0.0;
15804                visible: 1;
15805                text.min: 1 1;
15806                rel1.offset: 0 -1;
15807                rel2.offset: -1 -1;
15808             }
15809          }
15810          part { name: "button6";
15811             mouse_events: 0;
15812             description { state: "default" 0.0;
15813                visible: 0;
15814                rel1.to: "button3";
15815                rel2 {
15816                   to: "button5";
15817                   relative: 1.0 0.3;
15818                   offset: -1 -1;
15819                }
15820                image {
15821                   normal: "sl_bt2_1.png";
15822                   border: 5 5 5 0;
15823                }
15824                fill.smooth: 0;
15825             }
15826             description { state: "visible" 0.0;
15827                inherit: "default" 0.0;
15828                visible: 1;
15829             }
15830          }
15831          part { name: "button7";
15832             mouse_events: 0;
15833             description { state: "default" 0.0;
15834                visible: 0;
15835                rel1.to: "button3";
15836                rel2.to: "button5";
15837                image {
15838                   normal: "sl_bt2_2.png";
15839                   border: 5 5 5 0;
15840                   middle: 0;
15841                }
15842                fill.smooth: 0;
15843             }
15844             description { state: "visible" 0.0;
15845                inherit: "default" 0.0;
15846                visible: 1;
15847             }
15848          }
15849              part { name: "disabler";
15850                 type: RECT;
15851                 description { state: "default" 0.0;
15852                    color: 0 0 0 0;
15853                    visible: 0;
15854                 }
15855                 description { state: "disabled" 0.0;
15856                    inherit: "default" 0.0;
15857                    visible: 1;
15858                 }
15859              }
15860           }
15861
15862       programs {
15863          program { name: "text_show";
15864             signal: "elm,state,text,visible";
15865             source: "elm";
15866             action:  STATE_SET "visible" 0.0;
15867             target: "elm.text";
15868          }
15869          program { name: "text_hide";
15870             signal: "elm,state,text,hidden";
15871             source: "elm";
15872             action:  STATE_SET "default" 0.0;
15873             target: "elm.text";
15874          }
15875          program { name: "icon_show";
15876             signal: "elm,state,icon,visible";
15877             source: "elm";
15878             action:  STATE_SET "visible" 0.0;
15879             target: "elm.swallow.icon";
15880          }
15881          program { name: "icon_hide";
15882             signal: "elm,state,icon,hidden";
15883             source: "elm";
15884             action:  STATE_SET "default" 0.0;
15885             target: "elm.swallow.icon";
15886          }
15887          program { name: "end_show";
15888             signal: "elm,state,end,visible";
15889             source: "elm";
15890             action:  STATE_SET "visible" 0.0;
15891             target: "elm.swallow.end";
15892          }
15893          program { name: "end_hide";
15894             signal: "elm,state,end,hidden";
15895             source: "elm";
15896             action:  STATE_SET "default" 0.0;
15897             target: "elm.swallow.end";
15898          }
15899          program { name: "units_show";
15900             signal: "elm,state,units,visible";
15901             source: "elm";
15902             action:  STATE_SET "visible" 0.0;
15903             target: "elm.units";
15904             target: "units";
15905          }
15906          program { name: "units_hide";
15907             signal: "elm,state,units,hidden";
15908             source: "elm";
15909             action:  STATE_SET "default" 0.0;
15910             target: "elm.units";
15911             target: "units";
15912          }
15913          program { name: "invert_on";
15914             signal: "elm,state,inverted,on";
15915             source: "elm";
15916             action:  STATE_SET "inverted" 0.0;
15917             target: "level";
15918             target: "level2";
15919          }
15920          program { name: "invert_off";
15921             signal: "elm,state,inverted,off";
15922             source: "elm";
15923             action:  STATE_SET "default" 0.0;
15924             target: "level";
15925             target: "level2";
15926          }
15927          program { name: "set_val_show";
15928             signal: "elm,state,val,show";
15929             source: "elm";
15930             script {
15931                set_value_show();
15932             }
15933          }
15934          program { name: "set_val_hide";
15935             signal: "elm,state,val,hide";
15936             source: "elm";
15937             script {
15938                set_value_hide();
15939             }
15940          }
15941          program { name: "val_show";
15942             signal: "mouse,down,*";
15943             source: "elm.dragable.slider";
15944             script {
15945                thumb_down();
15946             }
15947          }
15948          program { name: "val_hide";
15949             signal: "mouse,up,*";
15950             source: "elm.dragable.slider";
15951             script {
15952                thumb_up();
15953             }
15954          }
15955          program {
15956             name:   "go_disabled";
15957             signal: "elm,state,disabled";
15958             source: "elm";
15959             action: STATE_SET "disabled" 0.0;
15960             target: "button0";
15961             target: "disabler";
15962             after: "disable_text";
15963          }
15964          program { name: "disable_text";
15965             script {
15966             new st[31];
15967             new Float:vl;
15968                get_state(PART:"elm.text", st, 30, vl);
15969                if (!strcmp(st, "visible"))
15970                   set_state(PART:"elm.text", "disabled_visible", 0.0);
15971                else
15972                   set_state(PART:"elm.text", "disabled", 0.0);
15973
15974                get_state(PART:"elm.units", st, 30, vl);
15975                if (!strcmp(st, "visible")) 
15976                   set_state(PART:"elm.units", "disabled_visible", 0.0);
15977                else 
15978                   set_state(PART:"elm.units", "disabled", 0.0);
15979
15980                get_state(PART:"level2", st, 30, vl);
15981                if (!strcmp(st, "inverted")) 
15982                {
15983                   set_state(PART:"level", "disabled_inverted", 0.0);
15984                   set_state(PART:"level2", "disabled_inverted", 0.0);
15985                }
15986                else 
15987                {
15988                   set_state(PART:"level", "disabled", 0.0);
15989                   set_state(PART:"level2", "disabled", 0.0);
15990                }
15991             }
15992          }
15993
15994          program { name: "enable";
15995             signal: "elm,state,enabled";
15996             source: "elm";
15997             action: STATE_SET "default" 0.0;
15998             target: "button0";
15999             target: "disabler";
16000             after: "enable_text";
16001          }
16002          program { name: "enable_text";
16003             script {
16004                new st[31];
16005                new Float:vl;
16006                get_state(PART:"elm.text", st, 30, vl);
16007                if (!strcmp(st, "disabled_visible"))
16008                   set_state(PART:"elm.text", "visible", 0.0);
16009                else
16010                   set_state(PART:"elm.text", "default", 0.0);
16011
16012                get_state(PART:"elm.units", st, 30, vl);
16013                if (!strcmp(st, "disabled_visible"))
16014                   set_state(PART:"elm.units", "visible", 0.0);
16015                else
16016                   set_state(PART:"elm.units", "default", 0.0);
16017      
16018                get_state(PART:"level2", st, 30, vl);
16019                if (!strcmp(st, "disabled_inverted"))
16020                {
16021                   set_state(PART:"level", "inverted", 0.0);
16022                   set_state(PART:"level2", "inverted", 0.0);
16023                }
16024                else
16025                {
16026                   set_state(PART:"level", "default", 0.0);
16027                   set_state(PART:"level2", "default", 0.0);
16028                }
16029             }
16030          }
16031       }
16032    }
16033
16034 ////////////////////////////////////////////////////////////////////////////////
16035 // actionslider
16036 ////////////////////////////////////////////////////////////////////////////////
16037    group { name: "elm/actionslider/base/default";
16038
16039       images {
16040          image: "shelf_inset.png" COMP;
16041          image: "ilist_1.png" COMP;
16042          image: "bt_bases.png" COMP;
16043          image: "bt_basew.png" COMP;
16044          image: "bt_hilightw.png" COMP;
16045       }
16046
16047       parts {
16048          part {
16049             name: "base";
16050             mouse_events: 0;
16051             description {
16052                state: "default" 0.0;
16053                min: 75 25;
16054                rel1.offset: 1 1;
16055                rel2.offset: -2 -2;
16056                image {
16057                   normal: "ilist_1.png";
16058                   border: 2 2 2 2;
16059                }
16060                fill.smooth: 0;
16061             }
16062          }
16063          part { name: "conf_over";
16064             mouse_events:  0;
16065             description { state: "default" 0.0;
16066                rel1.to: "base";
16067                rel2.to: "base";
16068                image {
16069                   normal: "shelf_inset.png";
16070                   border: 7 7 7 7;
16071                   middle: 0;
16072                }
16073                fill.smooth : 0;
16074             }
16075          }
16076          part { name: "icon.dragable.area";
16077            type: RECT;
16078             mouse_events: 0;
16079             description { state: "default" 0.0;
16080                visible: 0;
16081                rel1.to: "base";
16082                rel2.to: "base";
16083             }
16084          }
16085          part { name: "elm.text.left";
16086             type: TEXT;
16087             mouse_events: 0;
16088             scale: 1;
16089             description { state: "default" 0.0;
16090                color: 0 0 0 255;
16091                text {
16092                   font: "Sans,Edje-Vera";
16093                   size: 10;
16094                   align: 0.05 0.5;
16095                   min: 1 1;
16096                }
16097             }
16098          }
16099          part { name: "elm.text.center";
16100             type: TEXT;
16101             mouse_events: 0;
16102             scale: 1;
16103             description { state: "default" 0.0;
16104                color: 0 0 0 255;
16105                text {
16106                   font: "Sans,Edje-Vera";
16107                   size: 10;
16108                   align: 0.5 0.5;
16109                   min: 1 1;
16110                }
16111             }
16112          }
16113          part { name: "elm.text.right";
16114             type: TEXT;
16115             mouse_events: 0;
16116             scale: 1;
16117             description { state: "default" 0.0;
16118                color: 0 0 0 255;
16119                text {
16120                   font: "Sans,Edje-Vera";
16121                   size: 10;
16122                   align: 0.95 0.5;
16123                   min: 1 1;
16124                }
16125             }
16126          }
16127          part { name: "elm.drag_button_base";
16128             type: SWALLOW;
16129             mouse_events: 0;
16130             scale: 1;
16131             description { state: "default" 0.0;
16132                fixed: 1 1;
16133                min: 50 25;
16134                align: 0.5 0.5;
16135                rel1.to: "icon.dragable.area";
16136                rel2 {
16137                   relative: 0.0 1.0;
16138                   to: "icon.dragable.area";
16139                }
16140             }
16141             dragable {
16142                confine: "icon.dragable.area";
16143                x: 1 1 0;
16144                y: 0 0 0;
16145             }
16146          }
16147          part { name: "elm.drag_button";
16148             type: RECT;
16149             mouse_events: 1;
16150             description { state: "default" 0.0;
16151                min: 50 25;
16152                color: 255 255 255 0;
16153                rel1.to_x: "elm.drag_button_base";
16154                rel1.to_y: "icon.dragable.area";
16155                rel2.to_x: "elm.drag_button_base";
16156                rel2.to_y: "icon.dragable.area";
16157             }
16158             dragable {
16159                events: "elm.drag_button_base";
16160             }
16161          }
16162          part { name: "button0";
16163             mouse_events: 0;
16164             description { state: "default" 0.0;
16165                rel1.to: "button2";
16166                rel1.offset: -4 -4;
16167                rel2.to: "button2";
16168                rel2.offset: 3 3;
16169                image {
16170                   normal: "bt_bases.png";
16171                   border: 11 11 11 11;
16172                   middle: SOLID;
16173                }
16174                color: 255 255 255 128;
16175             }
16176          }
16177          part { name: "button2";
16178             mouse_events: 0;
16179             description { state: "default" 0.0;
16180                rel1.to: "elm.drag_button";
16181                rel2.to: "elm.drag_button";
16182                image {
16183                   normal: "bt_basew.png";
16184                   border: 7 7 7 7;
16185                   middle: SOLID;
16186                }
16187                color: 255 255 255 210;
16188             }
16189          }
16190          part { name: "button3";
16191             mouse_events: 0;
16192             description { state: "default" 0.0;
16193                rel1.to: "button2";
16194                rel2.to: "button2";
16195                rel2.relative: 1.0 0.5;
16196                image {
16197                   normal: "bt_hilightw.png";
16198                   border: 4 4 4 0;
16199                }
16200                color: 255 255 255 190;
16201             }
16202          }
16203       }
16204       programs {
16205          program { name: "elm.drag_button,mouse,up";
16206             signal: "mouse,up,1";
16207             source: "elm.drag_button";
16208             action: SIGNAL_EMIT "elm.drag_button,mouse,up" "";
16209          }
16210          program { name: "elm.drag_button,mouse,down";
16211             signal: "mouse,down,1";
16212             source: "elm.drag_button";
16213             action: SIGNAL_EMIT "elm.drag_button,mouse,down" "";
16214          }
16215          program { name: "elm.drag_button,mouse,move";
16216             signal: "mouse,move";
16217             source: "elm.drag_button_base";
16218             action: SIGNAL_EMIT "elm.drag_button,mouse,move" "";
16219          }
16220       }
16221    }
16222
16223    group { name: "elm/actionslider/base/bar";
16224
16225       images {
16226          image: "shelf_inset.png" COMP;
16227          image: "ilist_1.png" COMP;
16228          image: "bt_bases.png" COMP;
16229          image: "bt_basew.png" COMP;
16230          image: "bt_hilightw.png" COMP;
16231       }
16232
16233       parts {
16234          part {
16235             name: "base";
16236             mouse_events: 0;
16237             description {
16238                state: "default" 0.0;
16239                min: 150 30;
16240                rel1.offset: 1 1;
16241                rel2.offset: -2 -2;
16242                image {
16243                   normal: "ilist_1.png";
16244                   border: 2 2 2 2;
16245                }
16246                fill.smooth: 0;
16247             }
16248          }
16249          part { name: "conf_over";
16250             mouse_events:  0;
16251             description { state: "default" 0.0;
16252                rel1.to: "base";
16253                rel2.to: "base";
16254                image {
16255                   normal: "shelf_inset.png";
16256                   border: 7 7 7 7;
16257                   middle: 0;
16258                }
16259                fill.smooth : 0;
16260             }
16261          }
16262          part { name: "icon.dragable.area";
16263            type: RECT;
16264             mouse_events: 0;
16265             description { state: "default" 0.0;
16266                visible: 0;
16267                rel1.to: "base";
16268                rel2.to: "base";
16269             }
16270          }
16271          part { name: "elm.text.left";
16272             type: TEXT;
16273             mouse_events: 0;
16274             scale: 1;
16275             description { state: "default" 0.0;
16276                color: 0 0 0 255;
16277                text {
16278                   font: "Sans,Edje-Vera";
16279                   size: 10;
16280                   align: 0.05 0.5;
16281                   min: 1 1;
16282                }
16283             }
16284          }
16285          part { name: "elm.text.center";
16286             type: TEXT;
16287             mouse_events: 0;
16288             scale: 1;
16289             description { state: "default" 0.0;
16290                color: 0 0 0 255;
16291                text {
16292                   font: "Sans,Edje-Vera";
16293                   size: 10;
16294                   align: 0.5 0.5;
16295                   min: 1 1;
16296                }
16297             }
16298          }
16299          part { name: "elm.text.right";
16300             type: TEXT;
16301             mouse_events: 0;
16302             scale: 1;
16303             description { state: "default" 0.0;
16304                color: 0 0 0 255;
16305                text {
16306                   font: "Sans,Edje-Vera";
16307                   size: 10;
16308                   align: 0.95 0.5;
16309                   min: 1 1;
16310                }
16311             }
16312          }
16313          part { name: "bar";
16314             type: RECT;
16315             mouse_events: 0;
16316             description { state: "default" 0.0;
16317                rel1.to: "base";
16318                rel1.offset: 0 2;
16319                rel2 {
16320                   relative: 0 1;
16321                   offset: 3 -3;
16322                   to_x: "elm.drag_button_base";
16323                   to_y: "base";
16324                }
16325                color: 0 0 0 180;
16326             }
16327          }
16328          part { name: "elm.drag_button_base";
16329             type: SWALLOW;
16330             mouse_events: 1;
16331             scale: 1;
16332             description { state: "default" 0.0;
16333                fixed: 1 1;
16334                min: 50 25;
16335                align: 0.5 0.5;
16336                rel1.to: "icon.dragable.area";
16337                rel2 {
16338                   relative: 0.0 1.0;
16339                   to: "icon.dragable.area";
16340                }
16341             }
16342             dragable {
16343                confine: "icon.dragable.area";
16344                x: 1 1 0;
16345                y: 0 0 0;
16346             }
16347          }
16348          part { name: "elm.drag_button";
16349             type: RECT;
16350             mouse_events: 1;
16351             description { state: "default" 0.0;
16352                min: 50 25;
16353                color: 255 255 255 0;
16354                rel1.to_x: "elm.drag_button_base";
16355                rel1.to_y: "icon.dragable.area";
16356                rel2.to_x: "elm.drag_button_base";
16357                rel2.to_y: "icon.dragable.area";
16358             }
16359             dragable {
16360                events: "elm.drag_button_base";
16361             }
16362          }
16363          part { name: "button0";
16364             mouse_events: 0;
16365             description { state: "default" 0.0;
16366                rel1.to: "button2";
16367                rel1.offset: -4 -4;
16368                rel2.to: "button2";
16369                rel2.offset: 3 3;
16370                image {
16371                   normal: "bt_bases.png";
16372                   border: 11 11 11 11;
16373                   middle: SOLID;
16374                }
16375                color: 255 255 255 128;
16376             }
16377          }
16378          part { name: "button2";
16379             mouse_events: 0;
16380             description { state: "default" 0.0;
16381                rel1.to: "elm.drag_button";
16382                rel2.to: "elm.drag_button";
16383                image {
16384                   normal: "bt_basew.png";
16385                   border: 7 7 7 7;
16386                   middle: SOLID;
16387                }
16388                color: 255 255 255 210;
16389             }
16390          }
16391          part { name: "button3";
16392             mouse_events: 0;
16393             description { state: "default" 0.0;
16394                rel1.to: "button2";
16395                rel2.to: "button2";
16396                rel2.relative: 1.0 0.5;
16397                image {
16398                   normal: "bt_hilightw.png";
16399                   border: 4 4 4 0;
16400                }
16401                color: 255 255 255 190;
16402             }
16403          }
16404       }
16405       programs {
16406          program { name: "elm.drag_button,mouse,up";
16407             signal: "mouse,up,1";
16408             source: "elm.drag_button";
16409             action: SIGNAL_EMIT "elm.drag_button,mouse,up" "";
16410          }
16411          program { name: "elm.drag_button,mouse,down";
16412             signal: "mouse,down,1";
16413             source: "elm.drag_button";
16414             action: SIGNAL_EMIT "elm.drag_button,mouse,down" "";
16415          }
16416          program { name: "elm.drag_button,mouse,move";
16417             signal: "mouse,move";
16418             source: "elm.drag_button_base";
16419             action: SIGNAL_EMIT "elm.drag_button,mouse,move" "";
16420          }
16421       }
16422    }
16423
16424 ///////////////////////////////////////////////////////////////////////////////
16425    group { name: "elm/genlist/item/default/default";
16426       data.item: "stacking" "above";
16427       data.item: "selectraise" "on";
16428       data.item: "labels" "elm.text";
16429       data.item: "icons" "elm.swallow.icon elm.swallow.end";
16430       data.item: "treesize" "20";
16431 //      data.item: "states" "";
16432       images {
16433          image: "bt_sm_base1.png" COMP;
16434          image: "bt_sm_shine.png" COMP;
16435          image: "bt_sm_hilight.png" COMP;
16436          image: "ilist_1.png" COMP;
16437          image: "ilist_item_shadow.png" COMP;
16438       }
16439       parts {
16440          part {
16441             name:           "event";
16442             type:           RECT;
16443             repeat_events: 1;
16444             description {
16445                state: "default" 0.0;
16446                color: 0 0 0 0;
16447             }
16448          }
16449          part {
16450             name: "base_sh";
16451             mouse_events: 0;
16452             description {
16453                state: "default" 0.0;
16454                align: 0.0 0.0;
16455                min: 0 10;
16456                fixed: 1 1;
16457                rel1 {
16458                   to: "base";
16459                   relative: 0.0 1.0;
16460                   offset: 0 0;
16461                }
16462                rel2 {
16463                   to: "base";
16464                   relative: 1.0 1.0;
16465                   offset: -1 0;
16466                }
16467                image {
16468                   normal: "ilist_item_shadow.png";
16469                }
16470                fill.smooth: 0;
16471             }
16472          }
16473          part {
16474             name: "base";
16475             mouse_events: 0;
16476             description {
16477                state: "default" 0.0;
16478                image {
16479                   normal: "ilist_1.png";
16480                   border: 2 2 2 2;
16481                }
16482                fill.smooth: 0;
16483             }
16484          }
16485          part { name: "bg";
16486             clip_to: "disclip";
16487             mouse_events: 0;
16488             description { state: "default" 0.0;
16489                visible: 0;
16490                color: 255 255 255 0;
16491                rel1 {
16492                   relative: 0.0 0.0;
16493                   offset: -5 -5;
16494                }
16495                rel2 {
16496                   relative: 1.0 1.0;
16497                   offset: 4 4;
16498                }
16499                image {
16500                   normal: "bt_sm_base1.png";
16501                   border: 6 6 6 6;
16502                }
16503                image.middle: SOLID;
16504             }
16505             description { state: "selected" 0.0;
16506                inherit: "default" 0.0;
16507                visible: 1;
16508                color: 255 255 255 255;
16509                rel1 {
16510                   relative: 0.0 0.0;
16511                   offset: -2 -2;
16512                }
16513                rel2 {
16514                   relative: 1.0 1.0;
16515                   offset: 1 1;
16516                }
16517             }
16518          }
16519          part { name: "elm.swallow.pad";
16520             type: SWALLOW;
16521             description { state: "default" 0.0;
16522                fixed: 1 0;
16523                align: 0.0 0.5;
16524                rel1 {
16525                   relative: 0.0  0.0;
16526                   offset:   4    4;
16527                }
16528                rel2 {
16529                   relative: 0.0  1.0;
16530                   offset:   4   -5;
16531                }
16532             }
16533          }
16534          part { name: "elm.swallow.icon";
16535             clip_to: "disclip";
16536             type: SWALLOW;
16537             description { state: "default" 0.0;
16538                fixed: 1 0;
16539                align: 0.0 0.5;
16540                rel1 {
16541                   to_x: "elm.swallow.pad";
16542                   relative: 1.0  0.0;
16543                   offset:   -1    4;
16544                }
16545                rel2 {
16546                   to_x: "elm.swallow.pad";
16547                   relative: 1.0  1.0;
16548                   offset:   -1   -5;
16549                }
16550             }
16551          }
16552          part { name: "elm.swallow.end";
16553             clip_to: "disclip";
16554             type: SWALLOW;
16555             description { state: "default" 0.0;
16556                fixed: 1 0;
16557                align: 1.0 0.5;
16558                aspect: 1.0 1.0;
16559                aspect_preference: VERTICAL;
16560                rel1 {
16561                   relative: 1.0  0.0;
16562                   offset:   -5    4;
16563                }
16564                rel2 {
16565                   relative: 1.0  1.0;
16566                   offset:   -5   -5;
16567                }
16568             }
16569          }
16570          part { name: "elm.text";
16571             clip_to: "disclip";
16572             type:           TEXT;
16573             effect:         SOFT_SHADOW;
16574             mouse_events:   0;
16575             scale: 1;
16576             description {
16577                state: "default" 0.0;
16578 //               min: 16 16;
16579                rel1 {
16580                   to_x:     "elm.swallow.icon";
16581                   relative: 1.0  0.0;
16582                   offset:   0 4;
16583                }
16584                rel2 {
16585                   to_x:     "elm.swallow.end";
16586                   relative: 0.0  1.0;
16587                   offset:   -1 -5;
16588                }
16589                color: 0 0 0 255;
16590                color3: 0 0 0 0;
16591                text {
16592                   font: "Sans";
16593                   size: 10;
16594                   min: 1 1;
16595 //                  min: 0 1;
16596                   align: 0.0 0.5;
16597                   text_class: "list_item";
16598                }
16599             }
16600             description { state: "selected" 0.0;
16601                inherit: "default" 0.0;
16602                color: 224 224 224 255;
16603                color3: 0 0 0 64;
16604             }
16605          }
16606          part { name: "fg1";
16607             clip_to: "disclip";
16608             mouse_events: 0;
16609             description { state: "default" 0.0;
16610                visible: 0;
16611                color: 255 255 255 0;
16612                rel1.to: "bg";
16613                rel2.relative: 1.0 0.5;
16614                rel2.to: "bg";
16615                image {
16616                   normal: "bt_sm_hilight.png";
16617                   border: 6 6 6 0;
16618                }
16619             }
16620             description { state: "selected" 0.0;
16621                inherit: "default" 0.0;
16622                visible: 1;
16623                color: 255 255 255 255;
16624             }
16625          }
16626          part { name: "fg2";
16627             clip_to: "disclip";
16628             mouse_events: 0;
16629             description { state: "default" 0.0;
16630                visible: 0;
16631                color: 255 255 255 0;
16632                rel1.to: "bg";
16633                rel2.to: "bg";
16634                image {
16635                   normal: "bt_sm_shine.png";
16636                   border: 6 6 6 0;
16637                }
16638             }
16639             description { state: "selected" 0.0;
16640                inherit: "default" 0.0;
16641                visible: 1;
16642                color: 255 255 255 255;
16643             }
16644          }
16645          part { name: "disclip";
16646             type: RECT;
16647             description { state: "default" 0.0;
16648                rel1.to: "bg";
16649                rel2.to: "bg";
16650             }
16651             description { state: "disabled" 0.0;
16652                inherit: "default" 0.0;
16653                color: 255 255 255 64;
16654             }
16655          }
16656       }
16657       programs {
16658          // signal: elm,state,%s,active
16659          //   a "check" item named %s went active
16660          // signal: elm,state,%s,passive
16661          //   a "check" item named %s went passive
16662          // default is passive
16663          program {
16664             name:    "go_active";
16665             signal:  "elm,state,selected";
16666             source:  "elm";
16667             action:  STATE_SET "selected" 0.0;
16668             target:  "bg";
16669             target:  "fg1";
16670             target:  "fg2";
16671             target:  "elm.text";
16672          }
16673          program {
16674             name:    "go_passive";
16675             signal:  "elm,state,unselected";
16676             source:  "elm";
16677             action:  STATE_SET "default" 0.0;
16678             target:  "bg";
16679             target:  "fg1";
16680             target:  "fg2";
16681             target:  "elm.text";
16682             transition: LINEAR 0.1;
16683          }
16684          program {
16685             name:    "go_disabled";
16686             signal:  "elm,state,disabled";
16687             source:  "elm";
16688             action:  STATE_SET "disabled" 0.0;
16689             target:  "disclip";
16690          }
16691          program {
16692             name:    "go_enabled";
16693             signal:  "elm,state,enabled";
16694             source:  "elm";
16695             action:  STATE_SET "default" 0.0;
16696             target:  "disclip";
16697          }
16698       }
16699    }
16700    group { name: "elm/genlist/item/group_index/default";
16701       alias: "elm/genlist/item_odd/group_index/default";
16702       data.item: "stacking" "above";
16703       data.item: "selectraise" "on";
16704       data.item: "labels" "elm.text";
16705       data.item: "icons" "elm.swallow.icon elm.swallow.end";
16706       data.item: "treesize" "20";
16707 //      data.item: "states" "";
16708       images {
16709          image: "bt_sm_base1.png" COMP;
16710          image: "bt_sm_shine.png" COMP;
16711          image: "bt_sm_hilight.png" COMP;
16712          image: "ilist_item_shadow.png" COMP;
16713          image: "group_index.png" COMP;
16714       }
16715       parts {
16716          part {
16717             name: "event";
16718             type: RECT;
16719             repeat_events: 0;
16720             description {
16721                state: "default" 0.0;
16722                color: 0 0 0 0;
16723             }
16724          }
16725          part {
16726             name: "base_sh";
16727             mouse_events: 0;
16728             description {
16729                state: "default" 0.0;
16730                align: 0.0 0.0;
16731                min: 0 10;
16732                fixed: 1 1;
16733                rel1 {
16734                   to: "base";
16735                   relative: 0.0 1.0;
16736                   offset: 0 0;
16737                }
16738                rel2 {
16739                   to: "base";
16740                   relative: 1.0 1.0;
16741                   offset: -1 0;
16742                }
16743                image {
16744                   normal: "ilist_item_shadow.png";
16745                }
16746                fill.smooth: 0;
16747             }
16748          }
16749          part {
16750             name: "base";
16751             mouse_events: 0;
16752             description {
16753                state: "default" 0.0;
16754                image {
16755                   normal: "group_index.png";
16756                   border: 2 2 2 2;
16757                }
16758                fill.smooth: 0;
16759             }
16760          }
16761          part { name: "bg";
16762             clip_to: "disclip";
16763             mouse_events: 0;
16764             description { state: "default" 0.0;
16765                visible: 0;
16766                color: 255 255 255 0;
16767                rel1 {
16768                   relative: 0.0 0.0;
16769                   offset: -5 -5;
16770                }
16771                rel2 {
16772                   relative: 1.0 1.0;
16773                   offset: 4 4;
16774                }
16775                image {
16776                   normal: "bt_sm_base1.png";
16777                   border: 6 6 6 6;
16778                }
16779                image.middle: SOLID;
16780             }
16781             description { state: "selected" 0.0;
16782                inherit: "default" 0.0;
16783                visible: 1;
16784                color: 255 255 255 255;
16785                rel1 {
16786                   relative: 0.0 0.0;
16787                   offset: -2 -2;
16788                }
16789                rel2 {
16790                   relative: 1.0 1.0;
16791                   offset: 1 1;
16792                }
16793             }
16794          }
16795          part { name: "elm.swallow.pad";
16796             type: SWALLOW;
16797             description { state: "default" 0.0;
16798                fixed: 1 0;
16799                align: 0.0 0.5;
16800                rel1 {
16801                   relative: 0.0  0.0;
16802                   offset: 4 4;
16803                }
16804                rel2 {
16805                   relative: 0.0  1.0;
16806                   offset: 4 -5;
16807                }
16808             }
16809          }
16810          part { name: "elm.swallow.icon";
16811             clip_to: "disclip";
16812             type: SWALLOW;
16813             description { state: "default" 0.0;
16814                fixed: 1 0;
16815                align: 0.0 0.5;
16816                rel1 {
16817                   to_x: "elm.swallow.pad";
16818                   relative: 1.0 0.0;
16819                   offset: -1 4;
16820                }
16821                rel2 {
16822                   to_x: "elm.swallow.pad";
16823                   relative: 1.0 1.0;
16824                   offset: -1 -5;
16825                }
16826             }
16827          }
16828          part { name: "elm.swallow.end";
16829             clip_to: "disclip";
16830             type: SWALLOW;
16831             description { state: "default" 0.0;
16832                fixed: 1 0;
16833                align: 1.0 0.5;
16834                aspect: 1.0 1.0;
16835                aspect_preference: VERTICAL;
16836                rel1 {
16837                   relative: 1.0 0.0;
16838                   offset: -5 4;
16839                }
16840                rel2 {
16841                   relative: 1.0 1.0;
16842                   offset: -5 -5;
16843                }
16844             }
16845          }
16846          part { name: "elm.text";
16847             clip_to: "disclip";
16848             type: TEXT;
16849             effect: SOFT_SHADOW;
16850             mouse_events: 0;
16851             scale: 1;
16852             description {
16853                state: "default" 0.0;
16854 //               min: 16 16;
16855                rel1 {
16856                   to_x: "elm.swallow.icon";
16857                   relative: 1.0  0.0;
16858                   offset: 0 4;
16859                }
16860                rel2 {
16861                   to_x: "elm.swallow.end";
16862                   relative: 0.0  1.0;
16863                   offset: -1 -5;
16864                }
16865                color: 0 0 0 255;
16866                color3: 0 0 0 0;
16867                text {
16868                   font: "Sans";
16869                   size: 10;
16870                   min: 1 1;
16871 //                  min: 0 1;
16872                   align: 0.0 0.5;
16873                   text_class: "list_item";
16874                }
16875             }
16876             description { state: "selected" 0.0;
16877                inherit: "default" 0.0;
16878                color: 224 224 224 255;
16879                color3: 0 0 0 64;
16880             }
16881          }
16882          part { name: "fg1";
16883             clip_to: "disclip";
16884             mouse_events: 0;
16885             description { state: "default" 0.0;
16886                visible: 0;
16887                color: 255 255 255 0;
16888                rel1.to: "bg";
16889                rel2.relative: 1.0 0.5;
16890                rel2.to: "bg";
16891                image {
16892                   normal: "bt_sm_hilight.png";
16893                   border: 6 6 6 0;
16894                }
16895             }
16896             description { state: "selected" 0.0;
16897                inherit: "default" 0.0;
16898                visible: 1;
16899                color: 255 255 255 255;
16900             }
16901          }
16902          part { name: "fg2";
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.to: "bg";
16909                rel2.to: "bg";
16910                image {
16911                   normal: "bt_sm_shine.png";
16912                   border: 6 6 6 0;
16913                }
16914             }
16915             description { state: "selected" 0.0;
16916                inherit: "default" 0.0;
16917                visible: 1;
16918                color: 255 255 255 255;
16919             }
16920          }
16921          part { name: "disclip";
16922             type: RECT;
16923             description { state: "default" 0.0;
16924                rel1.to: "bg";
16925                rel2.to: "bg";
16926             }
16927             description { state: "disabled" 0.0;
16928                inherit: "default" 0.0;
16929                color: 255 255 255 64;
16930             }
16931          }
16932       }
16933       programs {
16934          // signal: elm,state,%s,active
16935          //   a "check" item named %s went active
16936          // signal: elm,state,%s,passive
16937          //   a "check" item named %s went passive
16938          // default is passive
16939          program {
16940             name:    "go_active";
16941             signal:  "elm,state,selected";
16942             source:  "elm";
16943             action:  STATE_SET "selected" 0.0;
16944             target:  "bg";
16945             target:  "fg1";
16946             target:  "fg2";
16947             target:  "elm.text";
16948          }
16949          program {
16950             name:    "go_passive";
16951             signal:  "elm,state,unselected";
16952             source:  "elm";
16953             action:  STATE_SET "default" 0.0;
16954             target:  "bg";
16955             target:  "fg1";
16956             target:  "fg2";
16957             target:  "elm.text";
16958             transition: LINEAR 0.1;
16959          }
16960          program {
16961             name:    "go_disabled";
16962             signal:  "elm,state,disabled";
16963             source:  "elm";
16964             action:  STATE_SET "disabled" 0.0;
16965             target:  "disclip";
16966          }
16967          program {
16968             name:    "go_enabled";
16969             signal:  "elm,state,enabled";
16970             source:  "elm";
16971             action:  STATE_SET "default" 0.0;
16972             target:  "disclip";
16973          }
16974       }
16975    }
16976    group { name: "elm/genlist/item_compress/message/default";
16977       data.item: "stacking" "above";
16978       data.item: "selectraise" "on";
16979       data.item: "labels" "elm.title.1 elm.title.2 elm.text";
16980 //      data.item: "icons" "elm.swallow.icon elm.swallow.end";
16981       data.item: "treesize" "20";
16982 //      data.item: "states" "";
16983       images {
16984          image: "bt_sm_base1.png" COMP;
16985          image: "bt_sm_shine.png" COMP;
16986          image: "bt_sm_hilight.png" COMP;
16987          image: "ilist_1.png" COMP;
16988          image: "ilist_item_shadow.png" COMP;
16989       }
16990       styles {
16991         style { name: "genlist_textblock_style";
16992           base: "font=Sans font_size=10 color=#000 wrap=char text_class=list_item";
16993           tag:  "br" "\n";
16994           tag:  "ps" "ps";
16995           tag:  "tab" "\t";
16996         }
16997         style { name: "genlist_textblock_style2";
16998           base: "font=Sans font_size=10 color=#fff wrap=char text_class=list_item";
16999           tag:  "br" "\n";
17000           tag:  "ps" "ps";
17001           tag:  "tab" "\t";
17002         }
17003       }
17004      parts {
17005          part {
17006             name:           "event";
17007             type:           RECT;
17008             repeat_events: 1;
17009             description {
17010                state: "default" 0.0;
17011                color: 0 0 0 0;
17012             }
17013          }
17014          part {
17015             name: "base_sh";
17016             mouse_events: 0;
17017             description {
17018                state: "default" 0.0;
17019                align: 0.0 0.0;
17020                min: 0 10;
17021                fixed: 1 1;
17022                rel1 {
17023                   to: "base";
17024                   relative: 0.0 1.0;
17025                   offset: 0 0;
17026                }
17027                rel2 {
17028                   to: "base";
17029                   relative: 1.0 1.0;
17030                   offset: -1 0;
17031                }
17032                image {
17033                   normal: "ilist_item_shadow.png";
17034                }
17035                fill.smooth: 0;
17036             }
17037          }
17038          part {
17039             name: "base";
17040             mouse_events: 0;
17041             description {
17042                state: "default" 0.0;
17043                image {
17044                   normal: "ilist_1.png";
17045                   border: 2 2 2 2;
17046                }
17047                fill.smooth: 0;
17048             }
17049          }
17050          part { name: "bg";
17051             clip_to: "disclip";
17052             mouse_events: 0;
17053             description { state: "default" 0.0;
17054                visible: 0;
17055                color: 255 255 255 0;
17056                rel1 {
17057                   relative: 0.0 0.0;
17058                   offset: -5 -5;
17059                }
17060                rel2 {
17061                   relative: 1.0 1.0;
17062                   offset: 4 4;
17063                }
17064                image {
17065                   normal: "bt_sm_base1.png";
17066                   border: 6 6 6 6;
17067                }
17068                image.middle: SOLID;
17069             }
17070             description { state: "selected" 0.0;
17071                inherit: "default" 0.0;
17072                visible: 1;
17073                color: 255 255 255 255;
17074                rel1 {
17075                   relative: 0.0 0.0;
17076                   offset: -2 -2;
17077                }
17078                rel2 {
17079                   relative: 1.0 1.0;
17080                   offset: 1 1;
17081                }
17082             }
17083          }
17084          part { name: "elm.title.1";
17085             clip_to: "disclip";
17086             type:           TEXT;
17087             effect:         SOFT_SHADOW;
17088             mouse_events:   0;
17089             scale: 1;
17090             description {
17091                state: "default" 0.0;
17092                fixed: 0 1;
17093 //               min: 16 16;
17094                rel1 {
17095                   relative: 0.0  0.0;
17096                   offset:   4 4;
17097                }
17098                rel2 {
17099                   relative: 1.0  0.0;
17100                   offset:   -5 4;
17101                }
17102                color: 0 0 0 255;
17103                color3: 0 0 0 0;
17104                align: 0.0 0.0;
17105                text {
17106                   font: "Sans";
17107                   size: 10;
17108                   min: 0 1;
17109 //                  min: 1 1;
17110                   align: 0.0 0.0;
17111                   text_class: "list_item";
17112                }
17113             }
17114             description { state: "selected" 0.0;
17115                inherit: "default" 0.0;
17116                color: 224 224 224 255;
17117                color3: 0 0 0 64;
17118             }
17119          }
17120          part { name: "elm.title.2";
17121             clip_to: "disclip";
17122             type:           TEXT;
17123             effect:         SOFT_SHADOW;
17124             mouse_events:   0;
17125             scale: 1;
17126             description {
17127                state: "default" 0.0;
17128                fixed: 0 1;
17129 //               min: 16 16;
17130                rel1 {
17131                   to_y:     "elm.title.1";
17132                   relative: 0.0  1.0;
17133                   offset:   4 0;
17134                }
17135                rel2 {
17136                   to_y:     "elm.title.1";
17137                   relative: 1.0  1.0;
17138                   offset:   -5 0;
17139                }
17140                color: 0 0 0 255;
17141                color3: 0 0 0 0;
17142                align: 0.0 0.0;
17143                text {
17144                   font: "Sans";
17145                   size: 10;
17146                   min: 0 1;
17147 //                  min: 1 1;
17148                   align: 0.0 0.0;
17149                   text_class: "list_item";
17150                }
17151             }
17152             description { state: "selected" 0.0;
17153                inherit: "default" 0.0;
17154                color: 224 224 224 255;
17155                color3: 0 0 0 64;
17156             }
17157          }
17158          part { name: "elm.text";
17159             clip_to: "disclip";
17160             type:           TEXTBLOCK;
17161             mouse_events:   0;
17162             scale: 1;
17163             description {
17164                state: "default" 0.0;
17165 //               fixed: 0 1;
17166 //               min: 16 16;
17167                rel1 {
17168                   to_y:     "elm.title.2";
17169                   relative: 0.0  1.0;
17170                   offset:   4 0;
17171                }
17172                rel2 {
17173                   relative: 1.0  1.0;
17174                   offset:   -5 -5;
17175                }
17176                align: 0.0 0.0;
17177                text {
17178                   style: "genlist_textblock_style";
17179                   min: 0 1;
17180 //                  min: 1 1;
17181                   align: 0.0 0.0;
17182                }
17183             }
17184             description { state: "selected" 0.0;
17185                inherit: "default" 0.0;
17186                text {
17187                   style: "genlist_textblock_style2";
17188                }
17189             }
17190          }
17191          part { name: "fg1";
17192             clip_to: "disclip";
17193             mouse_events: 0;
17194             description { state: "default" 0.0;
17195                visible: 0;
17196                color: 255 255 255 0;
17197                rel1.to: "bg";
17198                rel2.relative: 1.0 0.5;
17199                rel2.to: "bg";
17200                image {
17201                   normal: "bt_sm_hilight.png";
17202                   border: 6 6 6 0;
17203                }
17204             }
17205             description { state: "selected" 0.0;
17206                inherit: "default" 0.0;
17207                visible: 1;
17208                color: 255 255 255 255;
17209             }
17210          }
17211          part { name: "fg2";
17212             clip_to: "disclip";
17213             mouse_events: 0;
17214             description { state: "default" 0.0;
17215                visible: 0;
17216                color: 255 255 255 0;
17217                rel1.to: "bg";
17218                rel2.to: "bg";
17219                image {
17220                   normal: "bt_sm_shine.png";
17221                   border: 6 6 6 0;
17222                }
17223             }
17224             description { state: "selected" 0.0;
17225                inherit: "default" 0.0;
17226                visible: 1;
17227                color: 255 255 255 255;
17228             }
17229          }
17230          part { name: "disclip";
17231             type: RECT;
17232             description { state: "default" 0.0;
17233                rel1.to: "bg";
17234                rel2.to: "bg";
17235             }
17236             description { state: "disabled" 0.0;
17237                inherit: "default" 0.0;
17238                color: 255 255 255 64;
17239             }
17240          }
17241       }
17242       programs {
17243          // signal: elm,state,%s,active
17244          //   a "check" item named %s went active
17245          // signal: elm,state,%s,passive
17246          //   a "check" item named %s went passive
17247          // default is passive
17248          program {
17249             name:    "go_active";
17250             signal:  "elm,state,selected";
17251             source:  "elm";
17252             action:  STATE_SET "selected" 0.0;
17253             target:  "bg";
17254             target:  "fg1";
17255             target:  "fg2";
17256             target:  "elm.title.1";
17257             target:  "elm.title.2";
17258             target:  "elm.text";
17259          }
17260          program {
17261             name:    "go_passive";
17262             signal:  "elm,state,unselected";
17263             source:  "elm";
17264             action:  STATE_SET "default" 0.0;
17265             target:  "bg";
17266             target:  "fg1";
17267             target:  "fg2";
17268             target:  "elm.title.1";
17269             target:  "elm.title.2";
17270             target:  "elm.text";
17271             transition: LINEAR 0.1;
17272          }
17273          program {
17274             name:    "go_disabled";
17275             signal:  "elm,state,disabled";
17276             source:  "elm";
17277             action:  STATE_SET "disabled" 0.0;
17278             target:  "disclip";
17279          }
17280          program {
17281             name:    "go_enabled";
17282             signal:  "elm,state,enabled";
17283             source:  "elm";
17284             action:  STATE_SET "default" 0.0;
17285             target:  "disclip";
17286          }
17287       }
17288    }
17289    group { name: "elm/genlist/item_compress_odd/message/default";
17290       data.item: "stacking" "below";
17291       data.item: "selectraise" "on";
17292       data.item: "labels" "elm.title.1 elm.title.2 elm.text";
17293 //      data.item: "icons" "elm.swallow.icon elm.swallow.end";
17294       data.item: "treesize" "20";
17295 //      data.item: "states" "";
17296       images {
17297          image: "bt_sm_base1.png" COMP;
17298          image: "bt_sm_shine.png" COMP;
17299          image: "bt_sm_hilight.png" COMP;
17300          image: "ilist_2.png" COMP;
17301       }
17302       parts {
17303          part { name: "event";
17304             type: RECT;
17305             repeat_events: 1;
17306             description {
17307                state: "default" 0.0;
17308                color: 0 0 0 0;
17309             }
17310          }
17311          part {
17312             name: "base";
17313             mouse_events: 0;
17314             description {
17315                state: "default" 0.0;
17316                image {
17317                   normal: "ilist_2.png";
17318                   border: 2 2 2 2;
17319                }
17320                fill.smooth: 0;
17321             }
17322          }
17323          part { name: "bg";
17324             clip_to: "disclip";
17325             mouse_events: 0;
17326             description { state: "default" 0.0;
17327                visible: 0;
17328                color: 255 255 255 0;
17329                rel1 {
17330                   relative: 0.0 0.0;
17331                   offset: -5 -5;
17332                }
17333                rel2 {
17334                   relative: 1.0 1.0;
17335                   offset: 4 4;
17336                }
17337                image {
17338                   normal: "bt_sm_base1.png";
17339                   border: 6 6 6 6;
17340                }
17341                image.middle: SOLID;
17342             }
17343             description { state: "selected" 0.0;
17344                inherit: "default" 0.0;
17345                visible: 1;
17346                color: 255 255 255 255;
17347                rel1 {
17348                   relative: 0.0 0.0;
17349                   offset: -2 -2;
17350                }
17351                rel2 {
17352                   relative: 1.0 1.0;
17353                   offset: 1 1;
17354                }
17355             }
17356          }
17357          part { name: "elm.title.1";
17358             clip_to: "disclip";
17359             type:           TEXT;
17360             effect:         SOFT_SHADOW;
17361             mouse_events:   0;
17362             scale: 1;
17363             description {
17364                state: "default" 0.0;
17365                fixed: 0 1;
17366 //               min: 16 16;
17367                rel1 {
17368                   relative: 0.0  0.0;
17369                   offset:   4 4;
17370                }
17371                rel2 {
17372                   relative: 1.0  0.0;
17373                   offset:   -5 4;
17374                }
17375                color: 0 0 0 255;
17376                color3: 0 0 0 0;
17377                align: 0.0 0.0;
17378                text {
17379                   font: "Sans";
17380                   size: 10;
17381                   min: 0 1;
17382 //                  min: 1 1;
17383                   align: 0.0 0.0;
17384                   text_class: "list_item";
17385                }
17386             }
17387             description { state: "selected" 0.0;
17388                inherit: "default" 0.0;
17389                color: 224 224 224 255;
17390                color3: 0 0 0 64;
17391             }
17392          }
17393          part { name: "elm.title.2";
17394             clip_to: "disclip";
17395             type:           TEXT;
17396             effect:         SOFT_SHADOW;
17397             mouse_events:   0;
17398             scale: 1;
17399             description {
17400                state: "default" 0.0;
17401                fixed: 0 1;
17402 //               min: 16 16;
17403                rel1 {
17404                   to_y:     "elm.title.1";
17405                   relative: 0.0  1.0;
17406                   offset:   4 0;
17407                }
17408                rel2 {
17409                   to_y:     "elm.title.1";
17410                   relative: 1.0  1.0;
17411                   offset:   -5 0;
17412                }
17413                color: 0 0 0 255;
17414                color3: 0 0 0 0;
17415                align: 0.0 0.0;
17416                text {
17417                   font: "Sans";
17418                   size: 10;
17419                   min: 0 1;
17420 //                  min: 1 1;
17421                   align: 0.0 0.0;
17422                   text_class: "list_item";
17423                }
17424             }
17425             description { state: "selected" 0.0;
17426                inherit: "default" 0.0;
17427                color: 224 224 224 255;
17428                color3: 0 0 0 64;
17429             }
17430          }
17431          part { name: "elm.text";
17432             clip_to: "disclip";
17433             type:           TEXTBLOCK;
17434             mouse_events:   0;
17435             scale: 1;
17436             description {
17437                state: "default" 0.0;
17438 //               fixed: 0 1;
17439 //               min: 16 16;
17440                rel1 {
17441                   to_y:     "elm.title.2";
17442                   relative: 0.0  1.0;
17443                   offset:   4 0;
17444                }
17445                rel2 {
17446                   relative: 1.0  1.0;
17447                   offset:   -5 -5;
17448                }
17449                align: 0.0 0.0;
17450                text {
17451                   style: "genlist_textblock_style";
17452                   min: 0 1;
17453 //                  min: 1 1;
17454                   align: 0.0 0.0;
17455                }
17456             }
17457             description { state: "selected" 0.0;
17458                inherit: "default" 0.0;
17459                text {
17460                   style: "genlist_textblock_style2";
17461                }
17462             }
17463          }
17464          part { name: "fg1";
17465             clip_to: "disclip";
17466             mouse_events: 0;
17467             description { state: "default" 0.0;
17468                visible: 0;
17469                color: 255 255 255 0;
17470                rel1.to: "bg";
17471                rel2.relative: 1.0 0.5;
17472                rel2.to: "bg";
17473                image {
17474                   normal: "bt_sm_hilight.png";
17475                   border: 6 6 6 0;
17476                }
17477             }
17478             description { state: "selected" 0.0;
17479                inherit: "default" 0.0;
17480                visible: 1;
17481                color: 255 255 255 255;
17482             }
17483          }
17484          part { name: "fg2";
17485             clip_to: "disclip";
17486             mouse_events: 0;
17487             description { state: "default" 0.0;
17488                visible: 0;
17489                color: 255 255 255 0;
17490                rel1.to: "bg";
17491                rel2.to: "bg";
17492                image {
17493                   normal: "bt_sm_shine.png";
17494                   border: 6 6 6 0;
17495                }
17496             }
17497             description { state: "selected" 0.0;
17498                inherit: "default" 0.0;
17499                visible: 1;
17500                color: 255 255 255 255;
17501             }
17502          }
17503          part { name: "disclip";
17504             type: RECT;
17505             description { state: "default" 0.0;
17506                rel1.to: "bg";
17507                rel2.to: "bg";
17508             }
17509             description { state: "disabled" 0.0;
17510                inherit: "default" 0.0;
17511                color: 255 255 255 64;
17512             }
17513          }
17514       }
17515       programs {
17516          // signal: elm,state,%s,active
17517          //   a "check" item named %s went active
17518          // signal: elm,state,%s,passive
17519          //   a "check" item named %s went passive
17520          // default is passive
17521          program {
17522             name:    "go_active";
17523             signal:  "elm,state,selected";
17524             source:  "elm";
17525             action:  STATE_SET "selected" 0.0;
17526             target:  "bg";
17527             target:  "fg1";
17528             target:  "fg2";
17529             target:  "elm.title.1";
17530             target:  "elm.title.2";
17531             target:  "elm.text";
17532          }
17533          program {
17534             name:    "go_passive";
17535             signal:  "elm,state,unselected";
17536             source:  "elm";
17537             action:  STATE_SET "default" 0.0;
17538             target:  "bg";
17539             target:  "fg1";
17540             target:  "fg2";
17541             target:  "elm.title.1";
17542             target:  "elm.title.2";
17543             target:  "elm.text";
17544             transition: LINEAR 0.1;
17545          }
17546          program {
17547             name:    "go_disabled";
17548             signal:  "elm,state,disabled";
17549             source:  "elm";
17550             action:  STATE_SET "disabled" 0.0;
17551             target:  "disclip";
17552          }
17553          program {
17554             name:    "go_enabled";
17555             signal:  "elm,state,enabled";
17556             source:  "elm";
17557             action:  STATE_SET "default" 0.0;
17558             target:  "disclip";
17559          }
17560       }
17561    }
17562    group { name: "elm/genlist/item_compress/default/default";
17563       data.item: "stacking" "above";
17564       data.item: "selectraise" "on";
17565       data.item: "labels" "elm.text";
17566       data.item: "icons" "elm.swallow.icon elm.swallow.end";
17567       data.item: "treesize" "20";
17568 //      data.item: "states" "";
17569       images {
17570          image: "bt_sm_base1.png" COMP;
17571          image: "bt_sm_shine.png" COMP;
17572          image: "bt_sm_hilight.png" COMP;
17573          image: "ilist_1.png" COMP;
17574          image: "ilist_item_shadow.png" COMP;
17575       }
17576       parts {
17577          part {
17578             name:           "event";
17579             type:           RECT;
17580             repeat_events: 1;
17581             description {
17582                state: "default" 0.0;
17583                color: 0 0 0 0;
17584             }
17585          }
17586          part {
17587             name: "base_sh";
17588             mouse_events: 0;
17589             description {
17590                state: "default" 0.0;
17591                align: 0.0 0.0;
17592                min: 0 10;
17593                fixed: 1 1;
17594                rel1 {
17595                   to: "base";
17596                   relative: 0.0 1.0;
17597                   offset: 0 0;
17598                }
17599                rel2 {
17600                   to: "base";
17601                   relative: 1.0 1.0;
17602                   offset: -1 0;
17603                }
17604                image {
17605                   normal: "ilist_item_shadow.png";
17606                }
17607                fill.smooth: 0;
17608             }
17609          }
17610          part {
17611             name: "base";
17612             mouse_events: 0;
17613             description {
17614                state: "default" 0.0;
17615                image {
17616                   normal: "ilist_1.png";
17617                   border: 2 2 2 2;
17618                }
17619                fill.smooth: 0;
17620             }
17621          }
17622          part { name: "bg";
17623             clip_to: "disclip";
17624             mouse_events: 0;
17625             description { state: "default" 0.0;
17626                visible: 0;
17627                color: 255 255 255 0;
17628                rel1 {
17629                   relative: 0.0 0.0;
17630                   offset: -5 -5;
17631                }
17632                rel2 {
17633                   relative: 1.0 1.0;
17634                   offset: 4 4;
17635                }
17636                image {
17637                   normal: "bt_sm_base1.png";
17638                   border: 6 6 6 6;
17639                }
17640                image.middle: SOLID;
17641             }
17642             description { state: "selected" 0.0;
17643                inherit: "default" 0.0;
17644                visible: 1;
17645                color: 255 255 255 255;
17646                rel1 {
17647                   relative: 0.0 0.0;
17648                   offset: -2 -2;
17649                }
17650                rel2 {
17651                   relative: 1.0 1.0;
17652                   offset: 1 1;
17653                }
17654             }
17655          }
17656          part { name: "elm.swallow.pad";
17657             type: SWALLOW;
17658             description { state: "default" 0.0;
17659                fixed: 1 0;
17660                align: 0.0 0.5;
17661                rel1 {
17662                   relative: 0.0  0.0;
17663                   offset:   4    4;
17664                }
17665                rel2 {
17666                   relative: 0.0  1.0;
17667                   offset:   4   -5;
17668                }
17669             }
17670          }
17671          part { name: "elm.swallow.icon";
17672             clip_to: "disclip";
17673             type: SWALLOW;
17674             description { state: "default" 0.0;
17675                fixed: 1 0;
17676                align: 0.0 0.5;
17677                rel1 {
17678                   to_x: "elm.swallow.pad";
17679                   relative: 1.0  0.0;
17680                   offset:   -1    4;
17681                }
17682                rel2 {
17683                   to_x: "elm.swallow.pad";
17684                   relative: 1.0  1.0;
17685                   offset:   -1   -5;
17686                }
17687             }
17688          }
17689          part { name: "elm.swallow.end";
17690             clip_to: "disclip";
17691             type: SWALLOW;
17692             description { state: "default" 0.0;
17693                fixed: 1 0;
17694                align: 1.0 0.5;
17695                aspect: 1.0 1.0;
17696                aspect_preference: VERTICAL;
17697                rel1 {
17698                   relative: 1.0  0.0;
17699                   offset:   -5    4;
17700                }
17701                rel2 {
17702                   relative: 1.0  1.0;
17703                   offset:   -5   -5;
17704                }
17705             }
17706          }
17707          part { name: "elm.text";
17708             clip_to: "disclip";
17709             type:           TEXT;
17710             effect:         SOFT_SHADOW;
17711             mouse_events:   0;
17712             scale: 1;
17713             description {
17714                state: "default" 0.0;
17715 //               min: 16 16;
17716                rel1 {
17717                   to_x:     "elm.swallow.icon";
17718                   relative: 1.0  0.0;
17719                   offset:   0 4;
17720                }
17721                rel2 {
17722                   to_x:     "elm.swallow.end";
17723                   relative: 0.0  1.0;
17724                   offset:   -1 -5;
17725                }
17726                color: 0 0 0 255;
17727                color3: 0 0 0 0;
17728                text {
17729                   font: "Sans";
17730                   size: 10;
17731                   min: 0 1;
17732 //                  min: 1 1;
17733                   align: 0.0 0.5;
17734                   text_class: "list_item";
17735                }
17736             }
17737             description { state: "selected" 0.0;
17738                inherit: "default" 0.0;
17739                color: 224 224 224 255;
17740                color3: 0 0 0 64;
17741             }
17742          }
17743          part { name: "fg1";
17744             clip_to: "disclip";
17745             mouse_events: 0;
17746             description { state: "default" 0.0;
17747                visible: 0;
17748                color: 255 255 255 0;
17749                rel1.to: "bg";
17750                rel2.relative: 1.0 0.5;
17751                rel2.to: "bg";
17752                image {
17753                   normal: "bt_sm_hilight.png";
17754                   border: 6 6 6 0;
17755                }
17756             }
17757             description { state: "selected" 0.0;
17758                inherit: "default" 0.0;
17759                visible: 1;
17760                color: 255 255 255 255;
17761             }
17762          }
17763          part { name: "fg2";
17764             clip_to: "disclip";
17765             mouse_events: 0;
17766             description { state: "default" 0.0;
17767                visible: 0;
17768                color: 255 255 255 0;
17769                rel1.to: "bg";
17770                rel2.to: "bg";
17771                image {
17772                   normal: "bt_sm_shine.png";
17773                   border: 6 6 6 0;
17774                }
17775             }
17776             description { state: "selected" 0.0;
17777                inherit: "default" 0.0;
17778                visible: 1;
17779                color: 255 255 255 255;
17780             }
17781          }
17782          part { name: "disclip";
17783             type: RECT;
17784             description { state: "default" 0.0;
17785                rel1.to: "bg";
17786                rel2.to: "bg";
17787             }
17788             description { state: "disabled" 0.0;
17789                inherit: "default" 0.0;
17790                color: 255 255 255 64;
17791             }
17792          }
17793       }
17794       programs {
17795          // signal: elm,state,%s,active
17796          //   a "check" item named %s went active
17797          // signal: elm,state,%s,passive
17798          //   a "check" item named %s went passive
17799          // default is passive
17800          program {
17801             name:    "go_active";
17802             signal:  "elm,state,selected";
17803             source:  "elm";
17804             action:  STATE_SET "selected" 0.0;
17805             target:  "bg";
17806             target:  "fg1";
17807             target:  "fg2";
17808             target:  "elm.text";
17809          }
17810          program {
17811             name:    "go_passive";
17812             signal:  "elm,state,unselected";
17813             source:  "elm";
17814             action:  STATE_SET "default" 0.0;
17815             target:  "bg";
17816             target:  "fg1";
17817             target:  "fg2";
17818             target:  "elm.text";
17819             transition: LINEAR 0.1;
17820          }
17821          program {
17822             name:    "go_disabled";
17823             signal:  "elm,state,disabled";
17824             source:  "elm";
17825             action:  STATE_SET "disabled" 0.0;
17826             target:  "disclip";
17827          }
17828          program {
17829             name:    "go_enabled";
17830             signal:  "elm,state,enabled";
17831             source:  "elm";
17832             action:  STATE_SET "default" 0.0;
17833             target:  "disclip";
17834          }
17835       }
17836    }
17837    group { name: "elm/genlist/item_odd/default/default";
17838       data.item: "stacking" "below";
17839       data.item: "selectraise" "on";
17840       data.item: "labels" "elm.text";
17841       data.item: "icons" "elm.swallow.icon elm.swallow.end";
17842       data.item: "treesize" "20";
17843 //      data.item: "states" "";
17844       images {
17845          image: "bt_sm_base1.png" COMP;
17846          image: "bt_sm_shine.png" COMP;
17847          image: "bt_sm_hilight.png" COMP;
17848          image: "ilist_2.png" COMP;
17849       }
17850       parts {
17851          part { name: "event";
17852             type: RECT;
17853             repeat_events: 1;
17854             description {
17855                state: "default" 0.0;
17856                color: 0 0 0 0;
17857             }
17858          }
17859          part {
17860             name: "base";
17861             mouse_events: 0;
17862             description {
17863                state: "default" 0.0;
17864                image {
17865                   normal: "ilist_2.png";
17866                   border: 2 2 2 2;
17867                }
17868                fill.smooth: 0;
17869             }
17870          }
17871          part { name: "bg";
17872             clip_to: "disclip";
17873             mouse_events: 0;
17874             description { state: "default" 0.0;
17875                visible: 0;
17876                color: 255 255 255 0;
17877                rel1 {
17878                   relative: 0.0 0.0;
17879                   offset: -5 -5;
17880                }
17881                rel2 {
17882                   relative: 1.0 1.0;
17883                   offset: 4 4;
17884                }
17885                image {
17886                   normal: "bt_sm_base1.png";
17887                   border: 6 6 6 6;
17888                }
17889                image.middle: SOLID;
17890             }
17891             description { state: "selected" 0.0;
17892                inherit: "default" 0.0;
17893                visible: 1;
17894                color: 255 255 255 255;
17895                rel1 {
17896                   relative: 0.0 0.0;
17897                   offset: -2 -2;
17898                }
17899                rel2 {
17900                   relative: 1.0 1.0;
17901                   offset: 1 1;
17902                }
17903             }
17904          }
17905          part { name: "elm.swallow.pad";
17906             type: SWALLOW;
17907             description { state: "default" 0.0;
17908                fixed: 1 0;
17909                align: 0.0 0.5;
17910                rel1 {
17911                   relative: 0.0  0.0;
17912                   offset:   4    4;
17913                }
17914                rel2 {
17915                   relative: 0.0  1.0;
17916                   offset:   4   -5;
17917                }
17918             }
17919          }
17920          part { name: "elm.swallow.icon";
17921             clip_to: "disclip";
17922             type: SWALLOW;
17923             description { state: "default" 0.0;
17924                fixed: 1 0;
17925                align: 0.0 0.5;
17926                rel1 {
17927                   to_x: "elm.swallow.pad";
17928                   relative: 1.0  0.0;
17929                   offset:   -1    4;
17930                }
17931                rel2 {
17932                   to_x: "elm.swallow.pad";
17933                   relative: 1.0  1.0;
17934                   offset:   -1   -5;
17935                }
17936             }
17937          }
17938          part { name: "elm.swallow.end";
17939             clip_to: "disclip";
17940             type:          SWALLOW;
17941             description { state:    "default" 0.0;
17942                fixed: 1 0;
17943                align:    1.0 0.5;
17944                aspect: 1.0 1.0;
17945                aspect_preference: VERTICAL;
17946                rel1 {
17947                   relative: 1.0  0.0;
17948                   offset:   -5    4;
17949                }
17950                rel2 {
17951                   relative: 1.0  1.0;
17952                   offset:   -5   -5;
17953                }
17954             }
17955          }
17956          part { name: "elm.text";
17957             clip_to: "disclip";
17958             type:           TEXT;
17959             effect:         SOFT_SHADOW;
17960             mouse_events:   0;
17961             scale: 1;
17962             description {
17963                state: "default" 0.0;
17964 //               min:      16 16;
17965                rel1 {
17966                   to_x:     "elm.swallow.icon";
17967                   relative: 1.0  0.0;
17968                   offset:   0 4;
17969                }
17970                rel2 {
17971                   to_x:     "elm.swallow.end";
17972                   relative: 0.0  1.0;
17973                   offset:   -1 -5;
17974                }
17975                color: 0 0 0 255;
17976                color3: 0 0 0 0;
17977                text {
17978                   font: "Sans";
17979                   size: 10;
17980                   min: 1 1;
17981 //                  min: 0 1;
17982                   align: 0.0 0.5;
17983                   text_class: "list_item";
17984                }
17985             }
17986             description { state: "selected" 0.0;
17987                inherit: "default" 0.0;
17988                color: 224 224 224 255;
17989                color3: 0 0 0 64;
17990             }
17991          }
17992          part { name: "fg1";
17993             clip_to: "disclip";
17994             mouse_events: 0;
17995             description { state: "default" 0.0;
17996                visible: 0;
17997                color: 255 255 255 0;
17998                rel1.to: "bg";
17999                rel2.relative: 1.0 0.5;
18000                rel2.to: "bg";
18001                image {
18002                   normal: "bt_sm_hilight.png";
18003                   border: 6 6 6 0;
18004                }
18005             }
18006             description { state: "selected" 0.0;
18007                inherit: "default" 0.0;
18008                visible: 1;
18009                color: 255 255 255 255;
18010             }
18011          }
18012          part { name: "fg2";
18013             clip_to: "disclip";
18014             mouse_events: 0;
18015             description { state: "default" 0.0;
18016                visible: 0;
18017                color: 255 255 255 0;
18018                rel1.to: "bg";
18019                rel2.to: "bg";
18020                image {
18021                   normal: "bt_sm_shine.png";
18022                   border: 6 6 6 0;
18023                }
18024             }
18025             description { state: "selected" 0.0;
18026                inherit: "default" 0.0;
18027                visible: 1;
18028                color: 255 255 255 255;
18029             }
18030          }
18031          part { name: "disclip";
18032             type: RECT;
18033             description { state: "default" 0.0;
18034                rel1.to: "bg";
18035                rel2.to: "bg";
18036             }
18037             description { state: "disabled" 0.0;
18038                inherit: "default" 0.0;
18039                color: 255 255 255 64;
18040             }
18041          }
18042       }
18043       programs {
18044          // signal: elm,state,%s,active
18045          //   a "check" item named %s went active
18046          // signal: elm,state,%s,passive
18047          //   a "check" item named %s went passive
18048          // default is passive
18049          program {
18050             name:    "go_active";
18051             signal:  "elm,state,selected";
18052             source:  "elm";
18053             action:  STATE_SET "selected" 0.0;
18054             target:  "bg";
18055             target:  "fg1";
18056             target:  "fg2";
18057             target:  "elm.text";
18058          }
18059          program {
18060             name:    "go_passive";
18061             signal:  "elm,state,unselected";
18062             source:  "elm";
18063             action:  STATE_SET "default" 0.0;
18064             target:  "bg";
18065             target:  "fg1";
18066             target:  "fg2";
18067             target:  "elm.text";
18068             transition: LINEAR 0.1;
18069          }
18070          program {
18071             name:    "go_disabled";
18072             signal:  "elm,state,disabled";
18073             source:  "elm";
18074             action:  STATE_SET "disabled" 0.0;
18075             target:  "disclip";
18076          }
18077          program {
18078             name:    "go_enabled";
18079             signal:  "elm,state,enabled";
18080             source:  "elm";
18081             action:  STATE_SET "default" 0.0;
18082             target:  "disclip";
18083          }
18084       }
18085    }
18086    group { name: "elm/genlist/item_compress_odd/default/default";
18087       data.item: "stacking" "below";
18088       data.item: "selectraise" "on";
18089       data.item: "labels" "elm.text";
18090       data.item: "icons" "elm.swallow.icon elm.swallow.end";
18091       data.item: "treesize" "20";
18092 //      data.item: "states" "";
18093       images {
18094          image: "bt_sm_base1.png" COMP;
18095          image: "bt_sm_shine.png" COMP;
18096          image: "bt_sm_hilight.png" COMP;
18097          image: "ilist_2.png" COMP;
18098       }
18099       parts {
18100          part { name: "event";
18101             type: RECT;
18102             repeat_events: 1;
18103             description {
18104                state: "default" 0.0;
18105                color: 0 0 0 0;
18106             }
18107          }
18108          part {
18109             name: "base";
18110             mouse_events: 0;
18111             description {
18112                state: "default" 0.0;
18113                image {
18114                   normal: "ilist_2.png";
18115                   border: 2 2 2 2;
18116                }
18117                fill.smooth: 0;
18118             }
18119          }
18120          part { name: "bg";
18121             clip_to: "disclip";
18122             mouse_events: 0;
18123             description { state: "default" 0.0;
18124                visible: 0;
18125                color: 255 255 255 0;
18126                rel1 {
18127                   relative: 0.0 0.0;
18128                   offset: -5 -5;
18129                }
18130                rel2 {
18131                   relative: 1.0 1.0;
18132                   offset: 4 4;
18133                }
18134                image {
18135                   normal: "bt_sm_base1.png";
18136                   border: 6 6 6 6;
18137                }
18138                image.middle: SOLID;
18139             }
18140             description { state: "selected" 0.0;
18141                inherit: "default" 0.0;
18142                visible: 1;
18143                color: 255 255 255 255;
18144                rel1 {
18145                   relative: 0.0 0.0;
18146                   offset: -2 -2;
18147                }
18148                rel2 {
18149                   relative: 1.0 1.0;
18150                   offset: 1 1;
18151                }
18152             }
18153          }
18154          part { name: "elm.swallow.pad";
18155             type: SWALLOW;
18156             description { state: "default" 0.0;
18157                fixed: 1 0;
18158                align: 0.0 0.5;
18159                rel1 {
18160                   relative: 0.0  0.0;
18161                   offset:   4    4;
18162                }
18163                rel2 {
18164                   relative: 0.0  1.0;
18165                   offset:   4   -5;
18166                }
18167             }
18168          }
18169          part { name: "elm.swallow.icon";
18170             clip_to: "disclip";
18171             type: SWALLOW;
18172             description { state: "default" 0.0;
18173                fixed: 1 0;
18174                align: 0.0 0.5;
18175                rel1 {
18176                   to_x: "elm.swallow.pad";
18177                   relative: 1.0  0.0;
18178                   offset:   -1    4;
18179                }
18180                rel2 {
18181                   to_x: "elm.swallow.pad";
18182                   relative: 1.0  1.0;
18183                   offset:   -1   -5;
18184                }
18185             }
18186          }
18187          part { name: "elm.swallow.end";
18188             clip_to: "disclip";
18189             type:          SWALLOW;
18190             description { state:    "default" 0.0;
18191                fixed: 1 0;
18192                align:    1.0 0.5;
18193                aspect: 1.0 1.0;
18194                aspect_preference: VERTICAL;
18195                rel1 {
18196                   relative: 1.0  0.0;
18197                   offset:   -5    4;
18198                }
18199                rel2 {
18200                   relative: 1.0  1.0;
18201                   offset:   -5   -5;
18202                }
18203             }
18204          }
18205          part { name: "elm.text";
18206             clip_to: "disclip";
18207             type:           TEXT;
18208             effect:         SOFT_SHADOW;
18209             mouse_events:   0;
18210             scale: 1;
18211             description {
18212                state: "default" 0.0;
18213 //               min:      16 16;
18214                rel1 {
18215                   to_x:     "elm.swallow.icon";
18216                   relative: 1.0  0.0;
18217                   offset:   0 4;
18218                }
18219                rel2 {
18220                   to_x:     "elm.swallow.end";
18221                   relative: 0.0  1.0;
18222                   offset:   -1 -5;
18223                }
18224                color: 0 0 0 255;
18225                color3: 0 0 0 0;
18226                text {
18227                   font: "Sans";
18228                   size: 10;
18229                   min: 0 1;
18230 //                  min: 1 1;
18231                   align: 0.0 0.5;
18232                   text_class: "list_item";
18233                }
18234             }
18235             description { state: "selected" 0.0;
18236                inherit: "default" 0.0;
18237                color: 224 224 224 255;
18238                color3: 0 0 0 64;
18239             }
18240          }
18241          part { name: "fg1";
18242             clip_to: "disclip";
18243             mouse_events: 0;
18244             description { state: "default" 0.0;
18245                visible: 0;
18246                color: 255 255 255 0;
18247                rel1.to: "bg";
18248                rel2.relative: 1.0 0.5;
18249                rel2.to: "bg";
18250                image {
18251                   normal: "bt_sm_hilight.png";
18252                   border: 6 6 6 0;
18253                }
18254             }
18255             description { state: "selected" 0.0;
18256                inherit: "default" 0.0;
18257                visible: 1;
18258                color: 255 255 255 255;
18259             }
18260          }
18261          part { name: "fg2";
18262             clip_to: "disclip";
18263             mouse_events: 0;
18264             description { state: "default" 0.0;
18265                visible: 0;
18266                color: 255 255 255 0;
18267                rel1.to: "bg";
18268                rel2.to: "bg";
18269                image {
18270                   normal: "bt_sm_shine.png";
18271                   border: 6 6 6 0;
18272                }
18273             }
18274             description { state: "selected" 0.0;
18275                inherit: "default" 0.0;
18276                visible: 1;
18277                color: 255 255 255 255;
18278             }
18279          }
18280          part { name: "disclip";
18281             type: RECT;
18282             description { state: "default" 0.0;
18283                rel1.to: "bg";
18284                rel2.to: "bg";
18285             }
18286             description { state: "disabled" 0.0;
18287                inherit: "default" 0.0;
18288                color: 255 255 255 64;
18289             }
18290          }
18291       }
18292       programs {
18293          // signal: elm,state,%s,active
18294          //   a "check" item named %s went active
18295          // signal: elm,state,%s,passive
18296          //   a "check" item named %s went passive
18297          // default is passive
18298          program {
18299             name:    "go_active";
18300             signal:  "elm,state,selected";
18301             source:  "elm";
18302             action:  STATE_SET "selected" 0.0;
18303             target:  "bg";
18304             target:  "fg1";
18305             target:  "fg2";
18306             target:  "elm.text";
18307          }
18308          program {
18309             name:    "go_passive";
18310             signal:  "elm,state,unselected";
18311             source:  "elm";
18312             action:  STATE_SET "default" 0.0;
18313             target:  "bg";
18314             target:  "fg1";
18315             target:  "fg2";
18316             target:  "elm.text";
18317             transition: LINEAR 0.1;
18318          }
18319          program {
18320             name:    "go_disabled";
18321             signal:  "elm,state,disabled";
18322             source:  "elm";
18323             action:  STATE_SET "disabled" 0.0;
18324             target:  "disclip";
18325          }
18326          program {
18327             name:    "go_enabled";
18328             signal:  "elm,state,enabled";
18329             source:  "elm";
18330             action:  STATE_SET "default" 0.0;
18331             target:  "disclip";
18332          }
18333       }
18334    }
18335
18336    group { name: "elm/genlist/tree/default/default";
18337       data.item: "stacking" "above";
18338       data.item: "selectraise" "on";
18339       data.item: "labels" "elm.text";
18340       data.item: "icons" "elm.swallow.icon elm.swallow.end";
18341       data.item: "treesize" "20";
18342 //      data.item: "states" "";
18343       images {
18344          image: "bt_sm_base1.png" COMP;
18345          image: "bt_sm_shine.png" COMP;
18346          image: "bt_sm_hilight.png" COMP;
18347          image: "ilist_1.png" COMP;
18348          image: "ilist_item_shadow.png" COMP;
18349          image: "icon_arrow_right.png" COMP;
18350          image: "icon_arrow_down.png" COMP;
18351       }
18352       parts {
18353          part {
18354             name:           "event";
18355             type:           RECT;
18356             repeat_events: 1;
18357             description {
18358                state: "default" 0.0;
18359                color: 0 0 0 0;
18360             }
18361          }
18362          part {
18363             name: "base_sh";
18364             mouse_events: 0;
18365             description {
18366                state: "default" 0.0;
18367                align: 0.0 0.0;
18368                min: 0 10;
18369                fixed: 1 1;
18370                rel1 {
18371                   to: "base";
18372                   relative: 0.0 1.0;
18373                   offset: 0 0;
18374                }
18375                rel2 {
18376                   to: "base";
18377                   relative: 1.0 1.0;
18378                   offset: -1 0;
18379                }
18380                image {
18381                   normal: "ilist_item_shadow.png";
18382                }
18383                fill.smooth: 0;
18384             }
18385          }
18386          part {
18387             name: "base";
18388             mouse_events: 0;
18389             description {
18390                state: "default" 0.0;
18391                image {
18392                   normal: "ilist_1.png";
18393                   border: 2 2 2 2;
18394                }
18395                fill.smooth: 0;
18396             }
18397          }
18398          part { name: "bg";
18399             clip_to: "disclip";
18400             mouse_events: 0;
18401             description { state: "default" 0.0;
18402                visible: 0;
18403                color: 255 255 255 0;
18404                rel1 {
18405                   relative: 0.0 0.0;
18406                   offset: -5 -5;
18407                }
18408                rel2 {
18409                   relative: 1.0 1.0;
18410                   offset: 4 4;
18411                }
18412                image {
18413                   normal: "bt_sm_base1.png";
18414                   border: 6 6 6 6;
18415                }
18416                image.middle: SOLID;
18417             }
18418             description { state: "selected" 0.0;
18419                inherit: "default" 0.0;
18420                visible: 1;
18421                color: 255 255 255 255;
18422                rel1 {
18423                   relative: 0.0 0.0;
18424                   offset: -2 -2;
18425                }
18426                rel2 {
18427                   relative: 1.0 1.0;
18428                   offset: 1 1;
18429                }
18430             }
18431          }
18432          part { name: "elm.swallow.pad";
18433             type: SWALLOW;
18434             description { state: "default" 0.0;
18435                fixed: 1 0;
18436                align: 0.0 0.5;
18437                rel1 {
18438                   relative: 0.0  0.0;
18439                   offset:   4    4;
18440                }
18441                rel2 {
18442                   relative: 0.0  1.0;
18443                   offset:   4   -5;
18444                }
18445             }
18446          }
18447          part { name: "arrow";
18448             clip_to: "disclip";
18449             ignore_flags: ON_HOLD;
18450             description { state: "default" 0.0;
18451                fixed: 1 0;
18452                align: 0.0 0.5;
18453                aspect: 1.0 1.0;
18454                rel1 {
18455                   to_x: "elm.swallow.pad";
18456                   relative: 1.0  0.0;
18457                   offset:   -1    4;
18458                }
18459                rel2 {
18460                   to_x: "elm.swallow.pad";
18461                   relative: 1.0  1.0;
18462                   offset:   -1   -5;
18463                }
18464                image.normal: "icon_arrow_right.png";
18465             }
18466             description { state: "active" 0.0;
18467                inherit: "default" 0.0;
18468                image.normal: "icon_arrow_down.png";
18469             }
18470          }
18471          part { name: "elm.swallow.icon";
18472             clip_to: "disclip";
18473             type: SWALLOW;
18474             description { state: "default" 0.0;
18475                fixed: 1 0;
18476                align: 0.0 0.5;
18477                rel1 {
18478                   to_x: "arrow";
18479                   relative: 1.0  0.0;
18480                   offset:   4    4;
18481                }
18482                rel2 {
18483                   to_x: "arrow";
18484                   relative: 1.0  1.0;
18485                   offset:   4   -5;
18486                }
18487             }
18488          }
18489          part { name: "elm.swallow.end";
18490             clip_to: "disclip";
18491             type: SWALLOW;
18492             description { state: "default" 0.0;
18493                fixed: 1 0;
18494                align: 1.0 0.5;
18495                aspect: 1.0 1.0;
18496                aspect_preference: VERTICAL;
18497                rel1 {
18498                   relative: 1.0  0.0;
18499                   offset:   -5    4;
18500                }
18501                rel2 {
18502                   relative: 1.0  1.0;
18503                   offset:   -5   -5;
18504                }
18505             }
18506          }
18507          part { name: "elm.text";
18508             clip_to: "disclip";
18509             type:           TEXT;
18510             effect:         SOFT_SHADOW;
18511             mouse_events:   0;
18512             scale: 1;
18513             description {
18514                state: "default" 0.0;
18515 //               min: 16 16;
18516                rel1 {
18517                   to_x:     "elm.swallow.icon";
18518                   relative: 1.0  0.0;
18519                   offset:   0 4;
18520                }
18521                rel2 {
18522                   to_x:     "elm.swallow.end";
18523                   relative: 0.0  1.0;
18524                   offset:   -1 -5;
18525                }
18526                color: 0 0 0 255;
18527                color3: 0 0 0 0;
18528                text {
18529                   font: "Sans";
18530                   size: 10;
18531                   min: 1 1;
18532 //                  min: 0 1;
18533                   align: 0.0 0.5;
18534                   text_class: "list_item";
18535                }
18536             }
18537             description { state: "selected" 0.0;
18538                inherit: "default" 0.0;
18539                color: 224 224 224 255;
18540                color3: 0 0 0 64;
18541             }
18542          }
18543          part { name: "fg1";
18544             clip_to: "disclip";
18545             mouse_events: 0;
18546             description { state: "default" 0.0;
18547                visible: 0;
18548                color: 255 255 255 0;
18549                rel1.to: "bg";
18550                rel2.relative: 1.0 0.5;
18551                rel2.to: "bg";
18552                image {
18553                   normal: "bt_sm_hilight.png";
18554                   border: 6 6 6 0;
18555                }
18556             }
18557             description { state: "selected" 0.0;
18558                inherit: "default" 0.0;
18559                visible: 1;
18560                color: 255 255 255 255;
18561             }
18562          }
18563          part { name: "fg2";
18564             clip_to: "disclip";
18565             mouse_events: 0;
18566             description { state: "default" 0.0;
18567                visible: 0;
18568                color: 255 255 255 0;
18569                rel1.to: "bg";
18570                rel2.to: "bg";
18571                image {
18572                   normal: "bt_sm_shine.png";
18573                   border: 6 6 6 0;
18574                }
18575             }
18576             description { state: "selected" 0.0;
18577                inherit: "default" 0.0;
18578                visible: 1;
18579                color: 255 255 255 255;
18580             }
18581          }
18582          part { name: "disclip";
18583             type: RECT;
18584             description { state: "default" 0.0;
18585                rel1.to: "bg";
18586                rel2.to: "bg";
18587             }
18588             description { state: "disabled" 0.0;
18589                inherit: "default" 0.0;
18590                color: 255 255 255 64;
18591             }
18592          }
18593       }
18594       programs {
18595          // signal: elm,state,%s,active
18596          //   a "check" item named %s went active
18597          // signal: elm,state,%s,passive
18598          //   a "check" item named %s went passive
18599          // default is passive
18600          program {
18601             name:    "go_active";
18602             signal:  "elm,state,selected";
18603             source:  "elm";
18604             action:  STATE_SET "selected" 0.0;
18605             target:  "bg";
18606             target:  "fg1";
18607             target:  "fg2";
18608             target:  "elm.text";
18609          }
18610          program {
18611             name:    "go_passive";
18612             signal:  "elm,state,unselected";
18613             source:  "elm";
18614             action:  STATE_SET "default" 0.0;
18615             target:  "bg";
18616             target:  "fg1";
18617             target:  "fg2";
18618             target:  "elm.text";
18619             transition: LINEAR 0.1;
18620          }
18621          program {
18622             name:    "go_disabled";
18623             signal:  "elm,state,disabled";
18624             source:  "elm";
18625             action:  STATE_SET "disabled" 0.0;
18626             target:  "disclip";
18627          }
18628          program {
18629             name:    "go_enabled";
18630             signal:  "elm,state,enabled";
18631             source:  "elm";
18632             action:  STATE_SET "default" 0.0;
18633             target:  "disclip";
18634          }
18635          program {
18636             name:    "expand";
18637             signal:  "mouse,up,1";
18638             source:  "arrow";
18639             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
18640          }
18641          program {
18642             name:    "go_expanded";
18643             signal:  "elm,state,expanded";
18644             source:  "elm";
18645             action:  STATE_SET "active" 0.0;
18646             target:  "arrow";
18647          }
18648          program {
18649             name:    "go_contracted";
18650             signal:  "elm,state,contracted";
18651             source:  "elm";
18652             action:  STATE_SET "default" 0.0;
18653             target:  "arrow";
18654          }
18655       }
18656    }
18657    group { name: "elm/genlist/tree_compress/default/default";
18658       data.item: "stacking" "above";
18659       data.item: "selectraise" "on";
18660       data.item: "labels" "elm.text";
18661       data.item: "icons" "elm.swallow.icon elm.swallow.end";
18662       data.item: "treesize" "20";
18663 //      data.item: "states" "";
18664       images {
18665          image: "bt_sm_base1.png" COMP;
18666          image: "bt_sm_shine.png" COMP;
18667          image: "bt_sm_hilight.png" COMP;
18668          image: "ilist_1.png" COMP;
18669          image: "ilist_item_shadow.png" COMP;
18670          image: "icon_arrow_right.png" COMP;
18671          image: "icon_arrow_down.png" COMP;
18672       }
18673       parts {
18674          part {
18675             name:           "event";
18676             type:           RECT;
18677             repeat_events: 1;
18678             description {
18679                state: "default" 0.0;
18680                color: 0 0 0 0;
18681             }
18682          }
18683          part {
18684             name: "base_sh";
18685             mouse_events: 0;
18686             description {
18687                state: "default" 0.0;
18688                align: 0.0 0.0;
18689                min: 0 10;
18690                fixed: 1 1;
18691                rel1 {
18692                   to: "base";
18693                   relative: 0.0 1.0;
18694                   offset: 0 0;
18695                }
18696                rel2 {
18697                   to: "base";
18698                   relative: 1.0 1.0;
18699                   offset: -1 0;
18700                }
18701                image {
18702                   normal: "ilist_item_shadow.png";
18703                }
18704                fill.smooth: 0;
18705             }
18706          }
18707          part {
18708             name: "base";
18709             mouse_events: 0;
18710             description {
18711                state: "default" 0.0;
18712                image {
18713                   normal: "ilist_1.png";
18714                   border: 2 2 2 2;
18715                }
18716                fill.smooth: 0;
18717             }
18718          }
18719          part { name: "bg";
18720             clip_to: "disclip";
18721             mouse_events: 0;
18722             description { state: "default" 0.0;
18723                visible: 0;
18724                color: 255 255 255 0;
18725                rel1 {
18726                   relative: 0.0 0.0;
18727                   offset: -5 -5;
18728                }
18729                rel2 {
18730                   relative: 1.0 1.0;
18731                   offset: 4 4;
18732                }
18733                image {
18734                   normal: "bt_sm_base1.png";
18735                   border: 6 6 6 6;
18736                }
18737                image.middle: SOLID;
18738             }
18739             description { state: "selected" 0.0;
18740                inherit: "default" 0.0;
18741                visible: 1;
18742                color: 255 255 255 255;
18743                rel1 {
18744                   relative: 0.0 0.0;
18745                   offset: -2 -2;
18746                }
18747                rel2 {
18748                   relative: 1.0 1.0;
18749                   offset: 1 1;
18750                }
18751             }
18752          }
18753          part { name: "elm.swallow.pad";
18754             type: SWALLOW;
18755             description { state: "default" 0.0;
18756                fixed: 1 0;
18757                align: 0.0 0.5;
18758                rel1 {
18759                   relative: 0.0  0.0;
18760                   offset:   4    4;
18761                }
18762                rel2 {
18763                   relative: 0.0  1.0;
18764                   offset:   4   -5;
18765                }
18766             }
18767          }
18768          part { name: "arrow";
18769             clip_to: "disclip";
18770             ignore_flags: ON_HOLD;
18771             description { state: "default" 0.0;
18772                fixed: 1 0;
18773                align: 0.0 0.5;
18774                aspect: 1.0 1.0;
18775                rel1 {
18776                   to_x: "elm.swallow.pad";
18777                   relative: 1.0  0.0;
18778                   offset:   -1    4;
18779                }
18780                rel2 {
18781                   to_x: "elm.swallow.pad";
18782                   relative: 1.0  1.0;
18783                   offset:   -1   -5;
18784                }
18785                image.normal: "icon_arrow_right.png";
18786             }
18787             description { state: "active" 0.0;
18788                inherit: "default" 0.0;
18789                image.normal: "icon_arrow_down.png";
18790             }
18791          }
18792          part { name: "elm.swallow.icon";
18793             clip_to: "disclip";
18794             type: SWALLOW;
18795             description { state: "default" 0.0;
18796                fixed: 1 0;
18797                align: 0.0 0.5;
18798                rel1 {
18799                   to_x: "arrow";
18800                   relative: 1.0  0.0;
18801                   offset:   4    4;
18802                }
18803                rel2 {
18804                   to_x: "arrow";
18805                   relative: 1.0  1.0;
18806                   offset:   4   -5;
18807                }
18808             }
18809          }
18810          part { name: "elm.swallow.end";
18811             clip_to: "disclip";
18812             type: SWALLOW;
18813             description { state: "default" 0.0;
18814                fixed: 1 0;
18815                align: 1.0 0.5;
18816                aspect: 1.0 1.0;
18817                aspect_preference: VERTICAL;
18818                rel1 {
18819                   relative: 1.0  0.0;
18820                   offset:   -5    4;
18821                }
18822                rel2 {
18823                   relative: 1.0  1.0;
18824                   offset:   -5   -5;
18825                }
18826             }
18827          }
18828          part { name: "elm.text";
18829             clip_to: "disclip";
18830             type:           TEXT;
18831             effect:         SOFT_SHADOW;
18832             mouse_events:   0;
18833             scale: 1;
18834             description {
18835                state: "default" 0.0;
18836 //               min: 16 16;
18837                rel1 {
18838                   to_x:     "elm.swallow.icon";
18839                   relative: 1.0  0.0;
18840                   offset:   0 4;
18841                }
18842                rel2 {
18843                   to_x:     "elm.swallow.end";
18844                   relative: 0.0  1.0;
18845                   offset:   -1 -5;
18846                }
18847                color: 0 0 0 255;
18848                color3: 0 0 0 0;
18849                text {
18850                   font: "Sans";
18851                   size: 10;
18852 //                  min: 1 1;
18853                   min: 0 1;
18854                   align: 0.0 0.5;
18855                   text_class: "list_item";
18856                }
18857             }
18858             description { state: "selected" 0.0;
18859                inherit: "default" 0.0;
18860                color: 224 224 224 255;
18861                color3: 0 0 0 64;
18862             }
18863          }
18864          part { name: "fg1";
18865             clip_to: "disclip";
18866             mouse_events: 0;
18867             description { state: "default" 0.0;
18868                visible: 0;
18869                color: 255 255 255 0;
18870                rel1.to: "bg";
18871                rel2.relative: 1.0 0.5;
18872                rel2.to: "bg";
18873                image {
18874                   normal: "bt_sm_hilight.png";
18875                   border: 6 6 6 0;
18876                }
18877             }
18878             description { state: "selected" 0.0;
18879                inherit: "default" 0.0;
18880                visible: 1;
18881                color: 255 255 255 255;
18882             }
18883          }
18884          part { name: "fg2";
18885             clip_to: "disclip";
18886             mouse_events: 0;
18887             description { state: "default" 0.0;
18888                visible: 0;
18889                color: 255 255 255 0;
18890                rel1.to: "bg";
18891                rel2.to: "bg";
18892                image {
18893                   normal: "bt_sm_shine.png";
18894                   border: 6 6 6 0;
18895                }
18896             }
18897             description { state: "selected" 0.0;
18898                inherit: "default" 0.0;
18899                visible: 1;
18900                color: 255 255 255 255;
18901             }
18902          }
18903          part { name: "disclip";
18904             type: RECT;
18905             description { state: "default" 0.0;
18906                rel1.to: "bg";
18907                rel2.to: "bg";
18908             }
18909             description { state: "disabled" 0.0;
18910                inherit: "default" 0.0;
18911                color: 255 255 255 64;
18912             }
18913          }
18914       }
18915       programs {
18916          // signal: elm,state,%s,active
18917          //   a "check" item named %s went active
18918          // signal: elm,state,%s,passive
18919          //   a "check" item named %s went passive
18920          // default is passive
18921          program {
18922             name:    "go_active";
18923             signal:  "elm,state,selected";
18924             source:  "elm";
18925             action:  STATE_SET "selected" 0.0;
18926             target:  "bg";
18927             target:  "fg1";
18928             target:  "fg2";
18929             target:  "elm.text";
18930          }
18931          program {
18932             name:    "go_passive";
18933             signal:  "elm,state,unselected";
18934             source:  "elm";
18935             action:  STATE_SET "default" 0.0;
18936             target:  "bg";
18937             target:  "fg1";
18938             target:  "fg2";
18939             target:  "elm.text";
18940             transition: LINEAR 0.1;
18941          }
18942          program {
18943             name:    "go_disabled";
18944             signal:  "elm,state,disabled";
18945             source:  "elm";
18946             action:  STATE_SET "disabled" 0.0;
18947             target:  "disclip";
18948          }
18949          program {
18950             name:    "go_enabled";
18951             signal:  "elm,state,enabled";
18952             source:  "elm";
18953             action:  STATE_SET "default" 0.0;
18954             target:  "disclip";
18955          }
18956          program {
18957             name:    "expand";
18958             signal:  "mouse,up,1";
18959             source:  "arrow";
18960             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
18961          }
18962          program {
18963             name:    "go_expanded";
18964             signal:  "elm,state,expanded";
18965             source:  "elm";
18966             action:  STATE_SET "active" 0.0;
18967             target:  "arrow";
18968          }
18969          program {
18970             name:    "go_contracted";
18971             signal:  "elm,state,contracted";
18972             source:  "elm";
18973             action:  STATE_SET "default" 0.0;
18974             target:  "arrow";
18975          }
18976       }
18977    }
18978    group { name: "elm/genlist/tree_odd/default/default";
18979       data.item: "stacking" "below";
18980       data.item: "selectraise" "on";
18981       data.item: "labels" "elm.text";
18982       data.item: "icons" "elm.swallow.icon elm.swallow.end";
18983       data.item: "treesize" "20";
18984 //      data.item: "states" "";
18985       images {
18986          image: "bt_sm_base1.png" COMP;
18987          image: "bt_sm_shine.png" COMP;
18988          image: "bt_sm_hilight.png" COMP;
18989          image: "ilist_2.png" COMP;
18990          image: "icon_arrow_right.png" COMP;
18991          image: "icon_arrow_down.png" COMP;
18992       }
18993       parts {
18994          part {
18995             name:           "event";
18996             type:           RECT;
18997             repeat_events: 1;
18998             description {
18999                state: "default" 0.0;
19000                color: 0 0 0 0;
19001             }
19002          }
19003          part {
19004             name: "base";
19005             mouse_events: 0;
19006             description {
19007                state: "default" 0.0;
19008                image {
19009                   normal: "ilist_2.png";
19010                   border: 2 2 2 2;
19011                }
19012                fill.smooth: 0;
19013             }
19014          }
19015          part { name: "bg";
19016             clip_to: "disclip";
19017             mouse_events: 0;
19018             description { state: "default" 0.0;
19019                visible: 0;
19020                color: 255 255 255 0;
19021                rel1 {
19022                   relative: 0.0 0.0;
19023                   offset: -5 -5;
19024                }
19025                rel2 {
19026                   relative: 1.0 1.0;
19027                   offset: 4 4;
19028                }
19029                image {
19030                   normal: "bt_sm_base1.png";
19031                   border: 6 6 6 6;
19032                }
19033                image.middle: SOLID;
19034             }
19035             description { state: "selected" 0.0;
19036                inherit: "default" 0.0;
19037                visible: 1;
19038                color: 255 255 255 255;
19039                rel1 {
19040                   relative: 0.0 0.0;
19041                   offset: -2 -2;
19042                }
19043                rel2 {
19044                   relative: 1.0 1.0;
19045                   offset: 1 1;
19046                }
19047             }
19048          }
19049          part { name: "elm.swallow.pad";
19050             type: SWALLOW;
19051             description { state: "default" 0.0;
19052                fixed: 1 0;
19053                align: 0.0 0.5;
19054                rel1 {
19055                   relative: 0.0  0.0;
19056                   offset:   4    4;
19057                }
19058                rel2 {
19059                   relative: 0.0  1.0;
19060                   offset:   4   -5;
19061                }
19062             }
19063          }
19064          part { name: "arrow";
19065             clip_to: "disclip";
19066             ignore_flags: ON_HOLD;
19067             description { state: "default" 0.0;
19068                fixed: 1 0;
19069                align: 0.0 0.5;
19070                aspect: 1.0 1.0;
19071                rel1 {
19072                   to_x: "elm.swallow.pad";
19073                   relative: 1.0  0.0;
19074                   offset:   -1    4;
19075                }
19076                rel2 {
19077                   to_x: "elm.swallow.pad";
19078                   relative: 1.0  1.0;
19079                   offset:   -1   -5;
19080                }
19081                image.normal: "icon_arrow_right.png";
19082             }
19083             description { state: "active" 0.0;
19084                inherit: "default" 0.0;
19085                image.normal: "icon_arrow_down.png";
19086             }
19087          }
19088          part { name: "elm.swallow.icon";
19089             clip_to: "disclip";
19090             type: SWALLOW;
19091             description { state: "default" 0.0;
19092                fixed: 1 0;
19093                align: 0.0 0.5;
19094                rel1 {
19095                   to_x: "arrow";
19096                   relative: 1.0  0.0;
19097                   offset:   4    4;
19098                }
19099                rel2 {
19100                   to_x: "arrow";
19101                   relative: 1.0  1.0;
19102                   offset:   4   -5;
19103                }
19104             }
19105          }
19106          part { name: "elm.swallow.end";
19107             clip_to: "disclip";
19108             type: SWALLOW;
19109             description { state: "default" 0.0;
19110                fixed: 1 0;
19111                align: 1.0 0.5;
19112                aspect: 1.0 1.0;
19113                aspect_preference: VERTICAL;
19114                rel1 {
19115                   relative: 1.0  0.0;
19116                   offset:   -5    4;
19117                }
19118                rel2 {
19119                   relative: 1.0  1.0;
19120                   offset:   -5   -5;
19121                }
19122             }
19123          }
19124          part { name: "elm.text";
19125             clip_to: "disclip";
19126             type:           TEXT;
19127             effect:         SOFT_SHADOW;
19128             mouse_events:   0;
19129             scale: 1;
19130             description {
19131                state: "default" 0.0;
19132 //               min: 16 16;
19133                rel1 {
19134                   to_x:     "elm.swallow.icon";
19135                   relative: 1.0  0.0;
19136                   offset:   0 4;
19137                }
19138                rel2 {
19139                   to_x:     "elm.swallow.end";
19140                   relative: 0.0  1.0;
19141                   offset:   -1 -5;
19142                }
19143                color: 0 0 0 255;
19144                color3: 0 0 0 0;
19145                text {
19146                   font: "Sans";
19147                   size: 10;
19148                   min: 1 1;
19149 //                  min: 0 1;
19150                   align: 0.0 0.5;
19151                   text_class: "list_item";
19152                }
19153             }
19154             description { state: "selected" 0.0;
19155                inherit: "default" 0.0;
19156                color: 224 224 224 255;
19157                color3: 0 0 0 64;
19158             }
19159          }
19160          part { name: "fg1";
19161             clip_to: "disclip";
19162             mouse_events: 0;
19163             description { state: "default" 0.0;
19164                visible: 0;
19165                color: 255 255 255 0;
19166                rel1.to: "bg";
19167                rel2.relative: 1.0 0.5;
19168                rel2.to: "bg";
19169                image {
19170                   normal: "bt_sm_hilight.png";
19171                   border: 6 6 6 0;
19172                }
19173             }
19174             description { state: "selected" 0.0;
19175                inherit: "default" 0.0;
19176                visible: 1;
19177                color: 255 255 255 255;
19178             }
19179          }
19180          part { name: "fg2";
19181             clip_to: "disclip";
19182             mouse_events: 0;
19183             description { state: "default" 0.0;
19184                visible: 0;
19185                color: 255 255 255 0;
19186                rel1.to: "bg";
19187                rel2.to: "bg";
19188                image {
19189                   normal: "bt_sm_shine.png";
19190                   border: 6 6 6 0;
19191                }
19192             }
19193             description { state: "selected" 0.0;
19194                inherit: "default" 0.0;
19195                visible: 1;
19196                color: 255 255 255 255;
19197             }
19198          }
19199          part { name: "disclip";
19200             type: RECT;
19201             description { state: "default" 0.0;
19202                rel1.to: "bg";
19203                rel2.to: "bg";
19204             }
19205             description { state: "disabled" 0.0;
19206                inherit: "default" 0.0;
19207                color: 255 255 255 64;
19208             }
19209          }
19210       }
19211       programs {
19212          // signal: elm,state,%s,active
19213          //   a "check" item named %s went active
19214          // signal: elm,state,%s,passive
19215          //   a "check" item named %s went passive
19216          // default is passive
19217          program {
19218             name:    "go_active";
19219             signal:  "elm,state,selected";
19220             source:  "elm";
19221             action:  STATE_SET "selected" 0.0;
19222             target:  "bg";
19223             target:  "fg1";
19224             target:  "fg2";
19225             target:  "elm.text";
19226          }
19227          program {
19228             name:    "go_passive";
19229             signal:  "elm,state,unselected";
19230             source:  "elm";
19231             action:  STATE_SET "default" 0.0;
19232             target:  "bg";
19233             target:  "fg1";
19234             target:  "fg2";
19235             target:  "elm.text";
19236             transition: LINEAR 0.1;
19237          }
19238          program {
19239             name:    "go_disabled";
19240             signal:  "elm,state,disabled";
19241             source:  "elm";
19242             action:  STATE_SET "disabled" 0.0;
19243             target:  "disclip";
19244          }
19245          program {
19246             name:    "go_enabled";
19247             signal:  "elm,state,enabled";
19248             source:  "elm";
19249             action:  STATE_SET "default" 0.0;
19250             target:  "disclip";
19251          }
19252          program {
19253             name:    "expand";
19254             signal:  "mouse,up,1";
19255             source:  "arrow";
19256             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
19257          }
19258          program {
19259             name:    "go_expanded";
19260             signal:  "elm,state,expanded";
19261             source:  "elm";
19262             action:  STATE_SET "active" 0.0;
19263             target:  "arrow";
19264          }
19265          program {
19266             name:    "go_contracted";
19267             signal:  "elm,state,contracted";
19268             source:  "elm";
19269             action:  STATE_SET "default" 0.0;
19270             target:  "arrow";
19271          }
19272       }
19273    }
19274    group { name: "elm/genlist/tree_compress_odd/default/default";
19275       data.item: "stacking" "below";
19276       data.item: "selectraise" "on";
19277       data.item: "labels" "elm.text";
19278       data.item: "icons" "elm.swallow.icon elm.swallow.end";
19279       data.item: "treesize" "20";
19280 //      data.item: "states" "";
19281       images {
19282          image: "bt_sm_base1.png" COMP;
19283          image: "bt_sm_shine.png" COMP;
19284          image: "bt_sm_hilight.png" COMP;
19285          image: "ilist_2.png" COMP;
19286          image: "icon_arrow_right.png" COMP;
19287          image: "icon_arrow_down.png" COMP;
19288       }
19289       parts {
19290          part {
19291             name:           "event";
19292             type:           RECT;
19293             repeat_events: 1;
19294             description {
19295                state: "default" 0.0;
19296                color: 0 0 0 0;
19297             }
19298          }
19299          part {
19300             name: "base";
19301             mouse_events: 0;
19302             description {
19303                state: "default" 0.0;
19304                image {
19305                   normal: "ilist_2.png";
19306                   border: 2 2 2 2;
19307                }
19308                fill.smooth: 0;
19309             }
19310          }
19311          part { name: "bg";
19312             clip_to: "disclip";
19313             mouse_events: 0;
19314             description { state: "default" 0.0;
19315                visible: 0;
19316                color: 255 255 255 0;
19317                rel1 {
19318                   relative: 0.0 0.0;
19319                   offset: -5 -5;
19320                }
19321                rel2 {
19322                   relative: 1.0 1.0;
19323                   offset: 4 4;
19324                }
19325                image {
19326                   normal: "bt_sm_base1.png";
19327                   border: 6 6 6 6;
19328                }
19329                image.middle: SOLID;
19330             }
19331             description { state: "selected" 0.0;
19332                inherit: "default" 0.0;
19333                visible: 1;
19334                color: 255 255 255 255;
19335                rel1 {
19336                   relative: 0.0 0.0;
19337                   offset: -2 -2;
19338                }
19339                rel2 {
19340                   relative: 1.0 1.0;
19341                   offset: 1 1;
19342                }
19343             }
19344          }
19345          part { name: "elm.swallow.pad";
19346             type: SWALLOW;
19347             description { state: "default" 0.0;
19348                fixed: 1 0;
19349                align: 0.0 0.5;
19350                rel1 {
19351                   relative: 0.0  0.0;
19352                   offset:   4    4;
19353                }
19354                rel2 {
19355                   relative: 0.0  1.0;
19356                   offset:   4   -5;
19357                }
19358             }
19359          }
19360          part { name: "arrow";
19361             clip_to: "disclip";
19362             ignore_flags: ON_HOLD;
19363             description { state: "default" 0.0;
19364                fixed: 1 0;
19365                align: 0.0 0.5;
19366                aspect: 1.0 1.0;
19367                rel1 {
19368                   to_x: "elm.swallow.pad";
19369                   relative: 1.0  0.0;
19370                   offset:   -1    4;
19371                }
19372                rel2 {
19373                   to_x: "elm.swallow.pad";
19374                   relative: 1.0  1.0;
19375                   offset:   -1   -5;
19376                }
19377                image.normal: "icon_arrow_right.png";
19378             }
19379             description { state: "active" 0.0;
19380                inherit: "default" 0.0;
19381                image.normal: "icon_arrow_down.png";
19382             }
19383          }
19384          part { name: "elm.swallow.icon";
19385             clip_to: "disclip";
19386             type: SWALLOW;
19387             description { state: "default" 0.0;
19388                fixed: 1 0;
19389                align: 0.0 0.5;
19390                rel1 {
19391                   to_x: "arrow";
19392                   relative: 1.0  0.0;
19393                   offset:   4    4;
19394                }
19395                rel2 {
19396                   to_x: "arrow";
19397                   relative: 1.0  1.0;
19398                   offset:   4   -5;
19399                }
19400             }
19401          }
19402          part { name: "elm.swallow.end";
19403             clip_to: "disclip";
19404             type: SWALLOW;
19405             description { state: "default" 0.0;
19406                fixed: 1 0;
19407                align: 1.0 0.5;
19408                aspect: 1.0 1.0;
19409                aspect_preference: VERTICAL;
19410                rel1 {
19411                   relative: 1.0  0.0;
19412                   offset:   -5    4;
19413                }
19414                rel2 {
19415                   relative: 1.0  1.0;
19416                   offset:   -5   -5;
19417                }
19418             }
19419          }
19420          part { name: "elm.text";
19421             clip_to: "disclip";
19422             type:           TEXT;
19423             effect:         SOFT_SHADOW;
19424             mouse_events:   0;
19425             scale: 1;
19426             description {
19427                state: "default" 0.0;
19428 //               min: 16 16;
19429                rel1 {
19430                   to_x:     "elm.swallow.icon";
19431                   relative: 1.0  0.0;
19432                   offset:   0 4;
19433                }
19434                rel2 {
19435                   to_x:     "elm.swallow.end";
19436                   relative: 0.0  1.0;
19437                   offset:   -1 -5;
19438                }
19439                color: 0 0 0 255;
19440                color3: 0 0 0 0;
19441                text {
19442                   font: "Sans";
19443                   size: 10;
19444 //                  min: 1 1;
19445                   min: 0 1;
19446                   align: 0.0 0.5;
19447                   text_class: "list_item";
19448                }
19449             }
19450             description { state: "selected" 0.0;
19451                inherit: "default" 0.0;
19452                color: 224 224 224 255;
19453                color3: 0 0 0 64;
19454             }
19455          }
19456          part { name: "fg1";
19457             clip_to: "disclip";
19458             mouse_events: 0;
19459             description { state: "default" 0.0;
19460                visible: 0;
19461                color: 255 255 255 0;
19462                rel1.to: "bg";
19463                rel2.relative: 1.0 0.5;
19464                rel2.to: "bg";
19465                image {
19466                   normal: "bt_sm_hilight.png";
19467                   border: 6 6 6 0;
19468                }
19469             }
19470             description { state: "selected" 0.0;
19471                inherit: "default" 0.0;
19472                visible: 1;
19473                color: 255 255 255 255;
19474             }
19475          }
19476          part { name: "fg2";
19477             clip_to: "disclip";
19478             mouse_events: 0;
19479             description { state: "default" 0.0;
19480                visible: 0;
19481                color: 255 255 255 0;
19482                rel1.to: "bg";
19483                rel2.to: "bg";
19484                image {
19485                   normal: "bt_sm_shine.png";
19486                   border: 6 6 6 0;
19487                }
19488             }
19489             description { state: "selected" 0.0;
19490                inherit: "default" 0.0;
19491                visible: 1;
19492                color: 255 255 255 255;
19493             }
19494          }
19495          part { name: "disclip";
19496             type: RECT;
19497             description { state: "default" 0.0;
19498                rel1.to: "bg";
19499                rel2.to: "bg";
19500             }
19501             description { state: "disabled" 0.0;
19502                inherit: "default" 0.0;
19503                color: 255 255 255 64;
19504             }
19505          }
19506       }
19507       programs {
19508          // signal: elm,state,%s,active
19509          //   a "check" item named %s went active
19510          // signal: elm,state,%s,passive
19511          //   a "check" item named %s went passive
19512          // default is passive
19513          program {
19514             name:    "go_active";
19515             signal:  "elm,state,selected";
19516             source:  "elm";
19517             action:  STATE_SET "selected" 0.0;
19518             target:  "bg";
19519             target:  "fg1";
19520             target:  "fg2";
19521             target:  "elm.text";
19522          }
19523          program {
19524             name:    "go_passive";
19525             signal:  "elm,state,unselected";
19526             source:  "elm";
19527             action:  STATE_SET "default" 0.0;
19528             target:  "bg";
19529             target:  "fg1";
19530             target:  "fg2";
19531             target:  "elm.text";
19532             transition: LINEAR 0.1;
19533          }
19534          program {
19535             name:    "go_disabled";
19536             signal:  "elm,state,disabled";
19537             source:  "elm";
19538             action:  STATE_SET "disabled" 0.0;
19539             target:  "disclip";
19540          }
19541          program {
19542             name:    "go_enabled";
19543             signal:  "elm,state,enabled";
19544             source:  "elm";
19545             action:  STATE_SET "default" 0.0;
19546             target:  "disclip";
19547          }
19548          program {
19549             name:    "expand";
19550             signal:  "mouse,up,1";
19551             source:  "arrow";
19552             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
19553          }
19554          program {
19555             name:    "go_expanded";
19556             signal:  "elm,state,expanded";
19557             source:  "elm";
19558             action:  STATE_SET "active" 0.0;
19559             target:  "arrow";
19560          }
19561          program {
19562             name:    "go_contracted";
19563             signal:  "elm,state,contracted";
19564             source:  "elm";
19565             action:  STATE_SET "default" 0.0;
19566             target:  "arrow";
19567          }
19568       }
19569    }
19570
19571    group { name: "elm/genlist/item/default_style/default";
19572        styles
19573        {
19574            style { name: "genlist_style";
19575                base: "font=Sans font_size=10 align=left valign=0.5 color=#000 text_class=list_item";
19576                tag:  "br" "\n";
19577                tag:  "ps" "ps";
19578                tag:  "hilight" "+ font=Sans:style=Bold";
19579                tag:  "b" "+ font=Sans:style=Bold";
19580                tag:  "tab" "\t";
19581            }
19582            style { name: "genlist_selected_style";
19583                base: "font=Sans font_size=10 align=left valign=0.5 color=#fff text_class=list_item";
19584                tag:  "br" "\n";
19585                tag:  "ps" "ps";
19586                tag:  "hilight" "+ font=Sans:style=Bold";
19587                tag:  "b" "+ font=Sans:style=Bold";
19588                tag:  "tab" "\t";
19589            }
19590        }
19591        data.item: "stacking" "above";
19592        data.item: "selectraise" "on";
19593        data.item: "labels" "elm.text";
19594        data.item: "icons" "elm.swallow.icon elm.swallow.end";
19595        data.item: "treesize" "20";
19596        images {
19597            image: "bt_sm_base1.png" COMP;
19598            image: "bt_sm_shine.png" COMP;
19599            image: "bt_sm_hilight.png" COMP;
19600            image: "ilist_1.png" COMP;
19601            image: "ilist_item_shadow.png" COMP;
19602        }
19603        parts {
19604            part {
19605                name:           "event";
19606                type:           RECT;
19607                repeat_events: 1;
19608                description {
19609                    state: "default" 0.0;
19610                    color: 0 0 0 0;
19611                }
19612            }
19613            part {
19614                name: "base_sh";
19615                mouse_events: 0;
19616                description {
19617                    state: "default" 0.0;
19618                    align: 0.0 0.0;
19619                    min: 0 10;
19620                    fixed: 1 1;
19621                    rel1 {
19622                        to: "base";
19623                        relative: 0.0 1.0;
19624                        offset: 0 0;
19625                    }
19626                    rel2 {
19627                        to: "base";
19628                        relative: 1.0 1.0;
19629                        offset: -1 0;
19630                    }
19631                    image {
19632                        normal: "ilist_item_shadow.png";
19633                    }
19634                    fill.smooth: 0;
19635                }
19636            }
19637            part {
19638                name: "base";
19639                mouse_events: 0;
19640                description {
19641                    state: "default" 0.0;
19642                    min: 16 28;
19643                    image {
19644                        normal: "ilist_1.png";
19645                        border: 2 2 2 2;
19646                    }
19647                    fill.smooth: 0;
19648                }
19649            }
19650            part { name: "bg";
19651                clip_to: "disclip";
19652                mouse_events: 0;
19653                description { state: "default" 0.0;
19654                    visible: 0;
19655                    color: 255 255 255 0;
19656                    rel1 {
19657                        relative: 0.0 0.0;
19658                        offset: -5 -5;
19659                    }
19660                    rel2 {
19661                        relative: 1.0 1.0;
19662                        offset: 4 4;
19663                    }
19664                    image {
19665                        normal: "bt_sm_base1.png";
19666                        border: 6 6 6 6;
19667                    }
19668                    image.middle: SOLID;
19669                }
19670                description { state: "selected" 0.0;
19671                    inherit: "default" 0.0;
19672                    visible: 1;
19673                    color: 255 255 255 255;
19674                    rel1 {
19675                        relative: 0.0 0.0;
19676                        offset: -2 -2;
19677                    }
19678                    rel2 {
19679                        relative: 1.0 1.0;
19680                        offset: 1 1;
19681                    }
19682                }
19683            }
19684            part { name: "elm.swallow.pad";
19685                type: SWALLOW;
19686                description { state: "default" 0.0;
19687                    fixed: 1 0;
19688                    align: 0.0 0.5;
19689                    rel1 {
19690                        relative: 0.0  0.0;
19691                        offset:   4    4;
19692                    }
19693                    rel2 {
19694                        relative: 0.0  1.0;
19695                        offset:   4   -5;
19696                    }
19697                }
19698            }
19699            part { name: "elm.swallow.icon";
19700                clip_to: "disclip";
19701                type: SWALLOW;
19702                description { state: "default" 0.0;
19703                    fixed: 1 0;
19704                    align: 0.0 0.5;
19705                    rel1 {
19706                        to_x: "elm.swallow.pad";
19707                        relative: 1.0  0.0;
19708                        offset:   -1    4;
19709                    }
19710                    rel2 {
19711                        to_x: "elm.swallow.pad";
19712                        relative: 1.0  1.0;
19713                        offset:   -1   -5;
19714                    }
19715                }
19716            }
19717            part { name: "elm.swallow.end";
19718                clip_to: "disclip";
19719                type: SWALLOW;
19720                description { state: "default" 0.0;
19721                    fixed: 1 0;
19722                    align: 1.0 0.5;
19723                    aspect: 1.0 1.0;
19724                    aspect_preference: VERTICAL;
19725                    rel1 {
19726                        relative: 1.0  0.0;
19727                        offset:   -5    4;
19728                    }
19729                    rel2 {
19730                        relative: 1.0  1.0;
19731                        offset:   -5   -5;
19732                    }
19733                }
19734            }
19735            part { name: "elm.text";
19736                clip_to: "disclip";
19737                type: TEXTBLOCK;
19738                mouse_events: 0;
19739                scale: 1;
19740                description {
19741                    state: "default" 0.0;
19742                    align: 0.0 0.5;
19743                    fixed: 0 1;
19744                    rel1 {
19745                        to_x: "elm.swallow.icon";
19746                        to_y: "base";
19747                        relative: 1.0  0.5;
19748                        offset:   0 4;
19749                    }
19750                    rel2 {
19751                        to_x: "elm.swallow.end";
19752                        to_y: "base";
19753                        relative: 0.0  0.5;
19754                        offset:   -1 -5;
19755                    }
19756                    text {
19757                        style: "genlist_style";
19758                        min: 1 1;
19759                    }
19760                }
19761                description { state: "selected" 0.0;
19762                    inherit: "default" 0.0;
19763                    text {
19764                        style: "genlist_selected_style";
19765                    }
19766                }
19767            }
19768            part { name: "fg1";
19769                clip_to: "disclip";
19770                mouse_events: 0;
19771                description { state: "default" 0.0;
19772                    visible: 0;
19773                    color: 255 255 255 0;
19774                    rel1.to: "bg";
19775                    rel2.relative: 1.0 0.5;
19776                    rel2.to: "bg";
19777                    image {
19778                        normal: "bt_sm_hilight.png";
19779                        border: 6 6 6 0;
19780                    }
19781                }
19782                description { state: "selected" 0.0;
19783                    inherit: "default" 0.0;
19784                    visible: 1;
19785                    color: 255 255 255 255;
19786                }
19787            }
19788            part { name: "fg2";
19789                clip_to: "disclip";
19790                mouse_events: 0;
19791                description { state: "default" 0.0;
19792                    visible: 0;
19793                    color: 255 255 255 0;
19794                    rel1.to: "bg";
19795                    rel2.to: "bg";
19796                    image {
19797                        normal: "bt_sm_shine.png";
19798                        border: 6 6 6 0;
19799                    }
19800                }
19801                description { state: "selected" 0.0;
19802                    inherit: "default" 0.0;
19803                    visible: 1;
19804                    color: 255 255 255 255;
19805                }
19806            }
19807            part { name: "disclip";
19808                type: RECT;
19809                description { state: "default" 0.0;
19810                    rel1.to: "bg";
19811                    rel2.to: "bg";
19812                }
19813                description { state: "disabled" 0.0;
19814                    inherit: "default" 0.0;
19815                    color: 255 255 255 64;
19816                }
19817            }
19818        }
19819        programs {
19820            // signal: elm,state,%s,active
19821            //   a "check" item named %s went active
19822            // signal: elm,state,%s,passive
19823            //   a "check" item named %s went passive
19824            // default is passive
19825            program {
19826                name:    "go_active";
19827                signal:  "elm,state,selected";
19828                source:  "elm";
19829                action:  STATE_SET "selected" 0.0;
19830                target:  "bg";
19831                target:  "fg1";
19832                target:  "fg2";
19833                target:  "elm.text";
19834            }
19835            program {
19836                name:    "go_passive";
19837                signal:  "elm,state,unselected";
19838                source:  "elm";
19839                action:  STATE_SET "default" 0.0;
19840                target:  "bg";
19841                target:  "fg1";
19842                target:  "fg2";
19843                target:  "elm.text";
19844                transition: LINEAR 0.1;
19845            }
19846            program {
19847                name:    "go_disabled";
19848                signal:  "elm,state,disabled";
19849                source:  "elm";
19850                action:  STATE_SET "disabled" 0.0;
19851                target:  "disclip";
19852            }
19853            program {
19854                name:    "go_enabled";
19855                signal:  "elm,state,enabled";
19856                source:  "elm";
19857                action:  STATE_SET "default" 0.0;
19858                target:  "disclip";
19859            }
19860        }
19861    }
19862    group { name: "elm/genlist/item_odd/default_style/default";
19863        data.item: "stacking" "below";
19864        data.item: "selectraise" "on";
19865        data.item: "labels" "elm.text";
19866        data.item: "icons" "elm.swallow.icon elm.swallow.end";
19867        data.item: "treesize" "20";
19868        images {
19869            image: "bt_sm_base1.png" COMP;
19870            image: "bt_sm_shine.png" COMP;
19871            image: "bt_sm_hilight.png" COMP;
19872            image: "ilist_2.png" COMP;
19873        }
19874        parts {
19875            part { name: "event";
19876                type: RECT;
19877                repeat_events: 1;
19878                description {
19879                    state: "default" 0.0;
19880                    color: 0 0 0 0;
19881                }
19882            }
19883            part {
19884                name: "base";
19885                mouse_events: 0;
19886                description {
19887                    state: "default" 0.0;
19888                    min: 16 28;
19889                    image {
19890                        normal: "ilist_2.png";
19891                        border: 2 2 2 2;
19892                    }
19893                    fill.smooth: 0;
19894                }
19895            }
19896            part { name: "bg";
19897                clip_to: "disclip";
19898                mouse_events: 0;
19899                description { state: "default" 0.0;
19900                    visible: 0;
19901                    color: 255 255 255 0;
19902                    rel1 {
19903                        relative: 0.0 0.0;
19904                        offset: -5 -5;
19905                    }
19906                    rel2 {
19907                        relative: 1.0 1.0;
19908                        offset: 4 4;
19909                    }
19910                    image {
19911                        normal: "bt_sm_base1.png";
19912                        border: 6 6 6 6;
19913                    }
19914                    image.middle: SOLID;
19915                }
19916                description { state: "selected" 0.0;
19917                    inherit: "default" 0.0;
19918                    visible: 1;
19919                    color: 255 255 255 255;
19920                    rel1 {
19921                        relative: 0.0 0.0;
19922                        offset: -2 -2;
19923                    }
19924                    rel2 {
19925                        relative: 1.0 1.0;
19926                        offset: 1 1;
19927                    }
19928                }
19929            }
19930            part { name: "elm.swallow.pad";
19931                type: SWALLOW;
19932                description { state: "default" 0.0;
19933                    fixed: 1 0;
19934                    align: 0.0 0.5;
19935                    rel1 {
19936                        relative: 0.0  0.0;
19937                        offset:   4    4;
19938                    }
19939                    rel2 {
19940                        relative: 0.0  1.0;
19941                        offset:   4   -5;
19942                    }
19943                }
19944            }
19945            part { name: "elm.swallow.icon";
19946                clip_to: "disclip";
19947                type: SWALLOW;
19948                description { state: "default" 0.0;
19949                    fixed: 1 0;
19950                    align: 0.0 0.5;
19951                    rel1 {
19952                        to_x: "elm.swallow.pad";
19953                        relative: 1.0  0.0;
19954                        offset:   -1    4;
19955                    }
19956                    rel2 {
19957                        to_x: "elm.swallow.pad";
19958                        relative: 1.0  1.0;
19959                        offset:   -1   -5;
19960                    }
19961                }
19962            }
19963            part { name: "elm.swallow.end";
19964                clip_to: "disclip";
19965                type:          SWALLOW;
19966                description { state:    "default" 0.0;
19967                    fixed: 1 0;
19968                    align:    1.0 0.5;
19969                    aspect: 1.0 1.0;
19970                    aspect_preference: VERTICAL;
19971                    rel1 {
19972                        relative: 1.0  0.0;
19973                        offset:   -5    4;
19974                    }
19975                    rel2 {
19976                        relative: 1.0  1.0;
19977                        offset:   -5   -5;
19978                    }
19979                }
19980            }
19981            part { name: "elm.text";
19982                clip_to: "disclip";
19983                type:           TEXTBLOCK;
19984                mouse_events:   0;
19985                scale: 1;
19986                description {
19987                    state: "default" 0.0;
19988                    align: 0.0 0.5;
19989                    fixed: 0 1;
19990                    rel1 {
19991                        to_x: "elm.swallow.icon";
19992                        to_y: "base";
19993                        relative: 1.0  0.5;
19994                        offset:   0 4;
19995                    }
19996                    rel2 {
19997                        to_x: "elm.swallow.end";
19998                        to_y: "base";
19999                        relative: 0.0  0.5;
20000                        offset:   -1 -5;
20001                    }
20002                    text {
20003                        style: "genlist_style";
20004                        min: 1 1;
20005                    }
20006                }
20007                description { state: "selected" 0.0;
20008                    inherit: "default" 0.0;
20009                    text {
20010                        style: "genlist_selected_style";
20011                    }
20012                }
20013            }
20014            part { name: "fg1";
20015                clip_to: "disclip";
20016                mouse_events: 0;
20017                description { state: "default" 0.0;
20018                    visible: 0;
20019                    color: 255 255 255 0;
20020                    rel1.to: "bg";
20021                    rel2.relative: 1.0 0.5;
20022                    rel2.to: "bg";
20023                    image {
20024                        normal: "bt_sm_hilight.png";
20025                        border: 6 6 6 0;
20026                    }
20027                }
20028                description { state: "selected" 0.0;
20029                    inherit: "default" 0.0;
20030                    visible: 1;
20031                    color: 255 255 255 255;
20032                }
20033            }
20034            part { name: "fg2";
20035                clip_to: "disclip";
20036                mouse_events: 0;
20037                description { state: "default" 0.0;
20038                    visible: 0;
20039                    color: 255 255 255 0;
20040                    rel1.to: "bg";
20041                    rel2.to: "bg";
20042                    image {
20043                        normal: "bt_sm_shine.png";
20044                        border: 6 6 6 0;
20045                    }
20046                }
20047                description { state: "selected" 0.0;
20048                    inherit: "default" 0.0;
20049                    visible: 1;
20050                    color: 255 255 255 255;
20051                }
20052            }
20053            part { name: "disclip";
20054                type: RECT;
20055                description { state: "default" 0.0;
20056                    rel1.to: "bg";
20057                    rel2.to: "bg";
20058                }
20059                description { state: "disabled" 0.0;
20060                    inherit: "default" 0.0;
20061                    color: 255 255 255 64;
20062                }
20063            }
20064        }
20065        programs {
20066            // signal: elm,state,%s,active
20067            //   a "check" item named %s went active
20068            // signal: elm,state,%s,passive
20069            //   a "check" item named %s went passive
20070            // default is passive
20071            program {
20072                name:    "go_active";
20073                signal:  "elm,state,selected";
20074                source:  "elm";
20075                action:  STATE_SET "selected" 0.0;
20076                target:  "bg";
20077                target:  "fg1";
20078                target:  "fg2";
20079                target:  "elm.text";
20080            }
20081            program {
20082                name:    "go_passive";
20083                signal:  "elm,state,unselected";
20084                source:  "elm";
20085                action:  STATE_SET "default" 0.0;
20086                target:  "bg";
20087                target:  "fg1";
20088                target:  "fg2";
20089                target:  "elm.text";
20090                transition: LINEAR 0.1;
20091            }
20092            program {
20093                name:    "go_disabled";
20094                signal:  "elm,state,disabled";
20095                source:  "elm";
20096                action:  STATE_SET "disabled" 0.0;
20097                target:  "disclip";
20098            }
20099            program {
20100                name:    "go_enabled";
20101                signal:  "elm,state,enabled";
20102                source:  "elm";
20103                action:  STATE_SET "default" 0.0;
20104                target:  "disclip";
20105            }
20106        }
20107    }
20108
20109    group { name: "elm/genlist/tree/default_style/default";
20110        data.item: "stacking" "above";
20111        data.item: "selectraise" "on";
20112        data.item: "labels" "elm.text";
20113        data.item: "icons" "elm.swallow.icon elm.swallow.end";
20114        data.item: "treesize" "20";
20115        images {
20116            image: "bt_sm_base1.png" COMP;
20117            image: "bt_sm_shine.png" COMP;
20118            image: "bt_sm_hilight.png" COMP;
20119            image: "ilist_1.png" COMP;
20120            image: "ilist_item_shadow.png" COMP;
20121            image: "icon_arrow_right.png" COMP;
20122            image: "icon_arrow_down.png" COMP;
20123        }
20124        parts {
20125            part {
20126                name:           "event";
20127                type:           RECT;
20128                repeat_events: 1;
20129                description {
20130                    state: "default" 0.0;
20131                    color: 0 0 0 0;
20132                }
20133            }
20134            part {
20135                name: "base_sh";
20136                mouse_events: 0;
20137                description {
20138                    state: "default" 0.0;
20139                    align: 0.0 0.0;
20140                    min: 0 10;
20141                    fixed: 1 1;
20142                    rel1 {
20143                        to: "base";
20144                        relative: 0.0 1.0;
20145                        offset: 0 0;
20146                    }
20147                    rel2 {
20148                        to: "base";
20149                        relative: 1.0 1.0;
20150                        offset: -1 0;
20151                    }
20152                    image {
20153                        normal: "ilist_item_shadow.png";
20154                    }
20155                    fill.smooth: 0;
20156                }
20157            }
20158            part {
20159                name: "base";
20160                mouse_events: 0;
20161                description {
20162                    state: "default" 0.0;
20163                    min: 16 28;
20164                    image {
20165                        normal: "ilist_1.png";
20166                        border: 2 2 2 2;
20167                    }
20168                    fill.smooth: 0;
20169                }
20170            }
20171            part { name: "bg";
20172                clip_to: "disclip";
20173                mouse_events: 0;
20174                description { state: "default" 0.0;
20175                    visible: 0;
20176                    color: 255 255 255 0;
20177                    rel1 {
20178                        relative: 0.0 0.0;
20179                        offset: -5 -5;
20180                    }
20181                    rel2 {
20182                        relative: 1.0 1.0;
20183                        offset: 4 4;
20184                    }
20185                    image {
20186                        normal: "bt_sm_base1.png";
20187                        border: 6 6 6 6;
20188                    }
20189                    image.middle: SOLID;
20190                }
20191                description { state: "selected" 0.0;
20192                    inherit: "default" 0.0;
20193                    visible: 1;
20194                    color: 255 255 255 255;
20195                    rel1 {
20196                        relative: 0.0 0.0;
20197                        offset: -2 -2;
20198                    }
20199                    rel2 {
20200                        relative: 1.0 1.0;
20201                        offset: 1 1;
20202                    }
20203                }
20204            }
20205            part { name: "elm.swallow.pad";
20206                type: SWALLOW;
20207                description { state: "default" 0.0;
20208                    fixed: 1 0;
20209                    align: 0.0 0.5;
20210                    rel1 {
20211                        relative: 0.0  0.0;
20212                        offset:   4    4;
20213                    }
20214                    rel2 {
20215                        relative: 0.0  1.0;
20216                        offset:   4   -5;
20217                    }
20218                }
20219            }
20220            part { name: "arrow";
20221                clip_to: "disclip";
20222                ignore_flags: ON_HOLD;
20223                description { state: "default" 0.0;
20224                    fixed: 1 0;
20225                    align: 0.0 0.5;
20226                    aspect: 1.0 1.0;
20227                    rel1 {
20228                        to_x: "elm.swallow.pad";
20229                        relative: 1.0  0.0;
20230                        offset:   -1    4;
20231                    }
20232                    rel2 {
20233                        to_x: "elm.swallow.pad";
20234                        relative: 1.0  1.0;
20235                        offset:   -1   -5;
20236                    }
20237                    image.normal: "icon_arrow_right.png";
20238                }
20239                description { state: "active" 0.0;
20240                    inherit: "default" 0.0;
20241                    image.normal: "icon_arrow_down.png";
20242                }
20243            }
20244            part { name: "elm.swallow.icon";
20245                clip_to: "disclip";
20246                type: SWALLOW;
20247                description { state: "default" 0.0;
20248                    fixed: 1 0;
20249                    align: 0.0 0.5;
20250                    rel1 {
20251                        to_x: "arrow";
20252                        relative: 1.0  0.0;
20253                        offset:   4    4;
20254                    }
20255                    rel2 {
20256                        to_x: "arrow";
20257                        relative: 1.0  1.0;
20258                        offset:   4   -5;
20259                    }
20260                }
20261            }
20262            part { name: "elm.swallow.end";
20263                clip_to: "disclip";
20264                type: SWALLOW;
20265                description { state: "default" 0.0;
20266                    fixed: 1 0;
20267                    align: 1.0 0.5;
20268                    aspect: 1.0 1.0;
20269                    aspect_preference: VERTICAL;
20270                    rel1 {
20271                        relative: 1.0  0.0;
20272                        offset:   -5    4;
20273                    }
20274                    rel2 {
20275                        relative: 1.0  1.0;
20276                        offset:   -5   -5;
20277                    }
20278                }
20279            }
20280            part { name: "elm.text";
20281                clip_to: "disclip";
20282                type:           TEXTBLOCK;
20283                effect:         SOFT_SHADOW;
20284                mouse_events:   0;
20285                scale: 1;
20286                description {
20287                    state: "default" 0.0;
20288                    align: 0.0 0.5;
20289                    fixed: 0 1;
20290                    rel1 {
20291                        to_x:     "elm.swallow.icon";
20292                        to_y: "base";
20293                        relative: 1.0  0.5;
20294                        offset:   0 4;
20295                    }
20296                    rel2 {
20297                        to_x:     "elm.swallow.end";
20298                        to_y: "base";
20299                        relative: 0.0  0.5;
20300                        offset:   -1 -5;
20301                    }
20302                    text {
20303                        style: "genlist_style";
20304                        min: 1 1;
20305                    }
20306                }
20307                description { state: "selected" 0.0;
20308                    inherit: "default" 0.0;
20309                    text {
20310                        style: "genlist_selected_style";
20311                    }
20312                }
20313            }
20314            part { name: "fg1";
20315                clip_to: "disclip";
20316                mouse_events: 0;
20317                description { state: "default" 0.0;
20318                    visible: 0;
20319                    color: 255 255 255 0;
20320                    rel1.to: "bg";
20321                    rel2.relative: 1.0 0.5;
20322                    rel2.to: "bg";
20323                    image {
20324                        normal: "bt_sm_hilight.png";
20325                        border: 6 6 6 0;
20326                    }
20327                }
20328                description { state: "selected" 0.0;
20329                    inherit: "default" 0.0;
20330                    visible: 1;
20331                    color: 255 255 255 255;
20332                }
20333            }
20334            part { name: "fg2";
20335                clip_to: "disclip";
20336                mouse_events: 0;
20337                description { state: "default" 0.0;
20338                    visible: 0;
20339                    color: 255 255 255 0;
20340                    rel1.to: "bg";
20341                    rel2.to: "bg";
20342                    image {
20343                        normal: "bt_sm_shine.png";
20344                        border: 6 6 6 0;
20345                    }
20346                }
20347                description { state: "selected" 0.0;
20348                    inherit: "default" 0.0;
20349                    visible: 1;
20350                    color: 255 255 255 255;
20351                }
20352            }
20353            part { name: "disclip";
20354                type: RECT;
20355                description { state: "default" 0.0;
20356                    rel1.to: "bg";
20357                    rel2.to: "bg";
20358                }
20359                description { state: "disabled" 0.0;
20360                    inherit: "default" 0.0;
20361                    color: 255 255 255 64;
20362                }
20363            }
20364        }
20365        programs {
20366            // signal: elm,state,%s,active
20367            //   a "check" item named %s went active
20368            // signal: elm,state,%s,passive
20369            //   a "check" item named %s went passive
20370            // default is passive
20371            program {
20372                name:    "go_active";
20373                signal:  "elm,state,selected";
20374                source:  "elm";
20375                action:  STATE_SET "selected" 0.0;
20376                target:  "bg";
20377                target:  "fg1";
20378                target:  "fg2";
20379                target:  "elm.text";
20380            }
20381            program {
20382                name:    "go_passive";
20383                signal:  "elm,state,unselected";
20384                source:  "elm";
20385                action:  STATE_SET "default" 0.0;
20386                target:  "bg";
20387                target:  "fg1";
20388                target:  "fg2";
20389                target:  "elm.text";
20390                transition: LINEAR 0.1;
20391            }
20392            program {
20393                name:    "go_disabled";
20394                signal:  "elm,state,disabled";
20395                source:  "elm";
20396                action:  STATE_SET "disabled" 0.0;
20397                target:  "disclip";
20398            }
20399            program {
20400                name:    "go_enabled";
20401                signal:  "elm,state,enabled";
20402                source:  "elm";
20403                action:  STATE_SET "default" 0.0;
20404                target:  "disclip";
20405            }
20406            program {
20407                name:    "expand";
20408                signal:  "mouse,up,1";
20409                source:  "arrow";
20410                action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
20411            }
20412            program {
20413                name:    "go_expanded";
20414                signal:  "elm,state,expanded";
20415                source:  "elm";
20416                action:  STATE_SET "active" 0.0;
20417                target:  "arrow";
20418            }
20419            program {
20420                name:    "go_contracted";
20421                signal:  "elm,state,contracted";
20422                source:  "elm";
20423                action:  STATE_SET "default" 0.0;
20424                target:  "arrow";
20425            }
20426        }
20427    }
20428    group { name: "elm/genlist/tree_odd/default_style/default";
20429        data.item: "stacking" "below";
20430        data.item: "selectraise" "on";
20431        data.item: "labels" "elm.text";
20432        data.item: "icons" "elm.swallow.icon elm.swallow.end";
20433        data.item: "treesize" "20";
20434        images {
20435            image: "bt_sm_base1.png" COMP;
20436            image: "bt_sm_shine.png" COMP;
20437            image: "bt_sm_hilight.png" COMP;
20438            image: "ilist_2.png" COMP;
20439            image: "icon_arrow_right.png" COMP;
20440            image: "icon_arrow_down.png" COMP;
20441        }
20442        parts {
20443            part {
20444                name:           "event";
20445                type:           RECT;
20446                repeat_events: 1;
20447                description {
20448                    state: "default" 0.0;
20449                    color: 0 0 0 0;
20450                }
20451            }
20452            part {
20453                name: "base";
20454                mouse_events: 0;
20455                description {
20456                    state: "default" 0.0;
20457                    min: 16 28;
20458                    image {
20459                        normal: "ilist_2.png";
20460                        border: 2 2 2 2;
20461                    }
20462                    fill.smooth: 0;
20463                }
20464            }
20465            part { name: "bg";
20466                clip_to: "disclip";
20467                mouse_events: 0;
20468                description { state: "default" 0.0;
20469                    visible: 0;
20470                    color: 255 255 255 0;
20471                    rel1 {
20472                        relative: 0.0 0.0;
20473                        offset: -5 -5;
20474                    }
20475                    rel2 {
20476                        relative: 1.0 1.0;
20477                        offset: 4 4;
20478                    }
20479                    image {
20480                        normal: "bt_sm_base1.png";
20481                        border: 6 6 6 6;
20482                    }
20483                    image.middle: SOLID;
20484                }
20485                description { state: "selected" 0.0;
20486                    inherit: "default" 0.0;
20487                    visible: 1;
20488                    color: 255 255 255 255;
20489                    rel1 {
20490                        relative: 0.0 0.0;
20491                        offset: -2 -2;
20492                    }
20493                    rel2 {
20494                        relative: 1.0 1.0;
20495                        offset: 1 1;
20496                    }
20497                }
20498            }
20499            part { name: "elm.swallow.pad";
20500                type: SWALLOW;
20501                description { state: "default" 0.0;
20502                    fixed: 1 0;
20503                    align: 0.0 0.5;
20504                    rel1 {
20505                        relative: 0.0  0.0;
20506                        offset:   4    4;
20507                    }
20508                    rel2 {
20509                        relative: 0.0  1.0;
20510                        offset:   4   -5;
20511                    }
20512                }
20513            }
20514            part { name: "arrow";
20515                clip_to: "disclip";
20516                ignore_flags: ON_HOLD;
20517                description { state: "default" 0.0;
20518                    fixed: 1 0;
20519                    align: 0.0 0.5;
20520                    aspect: 1.0 1.0;
20521                    rel1 {
20522                        to_x: "elm.swallow.pad";
20523                        relative: 1.0  0.0;
20524                        offset:   -1    4;
20525                    }
20526                    rel2 {
20527                        to_x: "elm.swallow.pad";
20528                        relative: 1.0  1.0;
20529                        offset:   -1   -5;
20530                    }
20531                    image.normal: "icon_arrow_right.png";
20532                }
20533                description { state: "active" 0.0;
20534                    inherit: "default" 0.0;
20535                    image.normal: "icon_arrow_down.png";
20536                }
20537            }
20538            part { name: "elm.swallow.icon";
20539                clip_to: "disclip";
20540                type: SWALLOW;
20541                description { state: "default" 0.0;
20542                    fixed: 1 0;
20543                    align: 0.0 0.5;
20544                    rel1 {
20545                        to_x: "arrow";
20546                        relative: 1.0  0.0;
20547                        offset:   4    4;
20548                    }
20549                    rel2 {
20550                        to_x: "arrow";
20551                        relative: 1.0  1.0;
20552                        offset:   4   -5;
20553                    }
20554                }
20555            }
20556            part { name: "elm.swallow.end";
20557                clip_to: "disclip";
20558                type: SWALLOW;
20559                description { state: "default" 0.0;
20560                    fixed: 1 0;
20561                    align: 1.0 0.5;
20562                    aspect: 1.0 1.0;
20563                    aspect_preference: VERTICAL;
20564                    rel1 {
20565                        relative: 1.0  0.0;
20566                        offset:   -5    4;
20567                    }
20568                    rel2 {
20569                        relative: 1.0  1.0;
20570                        offset:   -5   -5;
20571                    }
20572                }
20573            }
20574            part { name: "elm.text";
20575                clip_to: "disclip";
20576                type:           TEXTBLOCK;
20577                effect:         SOFT_SHADOW;
20578                mouse_events:   0;
20579                scale: 1;
20580                description {
20581                    state: "default" 0.0;
20582                    align: 0.0 0.5;
20583                    fixed: 0 1;
20584                    rel1 {
20585                        to_x:     "elm.swallow.icon";
20586                        to_y: "base";
20587                        relative: 1.0  0.5;
20588                        offset:   0 4;
20589                    }
20590                    rel2 {
20591                        to_x:     "elm.swallow.end";
20592                        to_y: "base";
20593                        relative: 0.0  0.5;
20594                        offset:   -1 -5;
20595                    }
20596                    text {
20597                        style: "genlist_style";
20598                        min: 1 1;
20599                    }
20600                }
20601                description { state: "selected" 0.0;
20602                    inherit: "default" 0.0;
20603                    text {
20604                        style: "genlist_selected_style";
20605                    }
20606                }
20607            }
20608            part { name: "fg1";
20609                clip_to: "disclip";
20610                mouse_events: 0;
20611                description { state: "default" 0.0;
20612                    visible: 0;
20613                    color: 255 255 255 0;
20614                    rel1.to: "bg";
20615                    rel2.relative: 1.0 0.5;
20616                    rel2.to: "bg";
20617                    image {
20618                        normal: "bt_sm_hilight.png";
20619                        border: 6 6 6 0;
20620                    }
20621                }
20622                description { state: "selected" 0.0;
20623                    inherit: "default" 0.0;
20624                    visible: 1;
20625                    color: 255 255 255 255;
20626                }
20627            }
20628            part { name: "fg2";
20629                clip_to: "disclip";
20630                mouse_events: 0;
20631                description { state: "default" 0.0;
20632                    visible: 0;
20633                    color: 255 255 255 0;
20634                    rel1.to: "bg";
20635                    rel2.to: "bg";
20636                    image {
20637                        normal: "bt_sm_shine.png";
20638                        border: 6 6 6 0;
20639                    }
20640                }
20641                description { state: "selected" 0.0;
20642                    inherit: "default" 0.0;
20643                    visible: 1;
20644                    color: 255 255 255 255;
20645                }
20646            }
20647            part { name: "disclip";
20648                type: RECT;
20649                description { state: "default" 0.0;
20650                    rel1.to: "bg";
20651                    rel2.to: "bg";
20652                }
20653                description { state: "disabled" 0.0;
20654                    inherit: "default" 0.0;
20655                    color: 255 255 255 64;
20656                }
20657            }
20658        }
20659        programs {
20660            // signal: elm,state,%s,active
20661            //   a "check" item named %s went active
20662            // signal: elm,state,%s,passive
20663            //   a "check" item named %s went passive
20664            // default is passive
20665            program {
20666                name:    "go_active";
20667                signal:  "elm,state,selected";
20668                source:  "elm";
20669                action:  STATE_SET "selected" 0.0;
20670                target:  "bg";
20671                target:  "fg1";
20672                target:  "fg2";
20673                target:  "elm.text";
20674            }
20675            program {
20676                name:    "go_passive";
20677                signal:  "elm,state,unselected";
20678                source:  "elm";
20679                action:  STATE_SET "default" 0.0;
20680                target:  "bg";
20681                target:  "fg1";
20682                target:  "fg2";
20683                target:  "elm.text";
20684                transition: LINEAR 0.1;
20685            }
20686            program {
20687                name:    "go_disabled";
20688                signal:  "elm,state,disabled";
20689                source:  "elm";
20690                action:  STATE_SET "disabled" 0.0;
20691                target:  "disclip";
20692            }
20693            program {
20694                name:    "go_enabled";
20695                signal:  "elm,state,enabled";
20696                source:  "elm";
20697                action:  STATE_SET "default" 0.0;
20698                target:  "disclip";
20699            }
20700            program {
20701                name:    "expand";
20702                signal:  "mouse,up,1";
20703                source:  "arrow";
20704                action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
20705            }
20706            program {
20707                name:    "go_expanded";
20708                signal:  "elm,state,expanded";
20709                source:  "elm";
20710                action:  STATE_SET "active" 0.0;
20711                target:  "arrow";
20712            }
20713            program {
20714                name:    "go_contracted";
20715                signal:  "elm,state,contracted";
20716                source:  "elm";
20717                action:  STATE_SET "default" 0.0;
20718                target:  "arrow";
20719            }
20720        }
20721    }
20722
20723
20724    group { name: "elm/genlist/item/double_label/default";
20725       data.item: "stacking" "above";
20726       data.item: "selectraise" "on";
20727       data.item: "labels" "elm.text elm.text.sub";
20728       data.item: "icons" "elm.swallow.icon elm.swallow.end";
20729       data.item: "treesize" "20";
20730 //      data.item: "states" "";
20731       images {
20732          image: "bt_sm_base1.png" COMP;
20733          image: "bt_sm_shine.png" COMP;
20734          image: "bt_sm_hilight.png" COMP;
20735          image: "ilist_1.png" COMP;
20736          image: "ilist_item_shadow.png" COMP;
20737       }
20738       parts {
20739          part {
20740             name:           "event";
20741             type:           RECT;
20742             repeat_events: 1;
20743             description {
20744                state: "default" 0.0;
20745                color: 0 0 0 0;
20746             }
20747          }
20748          part {
20749             name: "base_sh";
20750             mouse_events: 0;
20751             description {
20752                state: "default" 0.0;
20753                align: 0.0 0.0;
20754                min: 0 10;
20755                fixed: 1 1;
20756                rel1 {
20757                   to: "base";
20758                   relative: 0.0 1.0;
20759                   offset: 0 0;
20760                }
20761                rel2 {
20762                   to: "base";
20763                   relative: 1.0 1.0;
20764                   offset: -1 0;
20765                }
20766                image {
20767                   normal: "ilist_item_shadow.png";
20768                }
20769                fill.smooth: 0;
20770             }
20771          }
20772          part {
20773             name: "base";
20774             mouse_events: 0;
20775             description {
20776                state: "default" 0.0;
20777                image {
20778                   normal: "ilist_1.png";
20779                   border: 2 2 2 2;
20780                }
20781                fill.smooth: 0;
20782             }
20783          }
20784          part { name: "bg";
20785             clip_to: "disclip";
20786             mouse_events: 0;
20787             description { state: "default" 0.0;
20788                visible: 0;
20789                color: 255 255 255 0;
20790                rel1 {
20791                   relative: 0.0 0.0;
20792                   offset: -5 -5;
20793                }
20794                rel2 {
20795                   relative: 1.0 1.0;
20796                   offset: 4 4;
20797                }
20798                image {
20799                   normal: "bt_sm_base1.png";
20800                   border: 6 6 6 6;
20801                }
20802                image.middle: SOLID;
20803             }
20804             description { state: "selected" 0.0;
20805                inherit: "default" 0.0;
20806                visible: 1;
20807                color: 255 255 255 255;
20808                rel1 {
20809                   relative: 0.0 0.0;
20810                   offset: -2 -2;
20811                }
20812                rel2 {
20813                   relative: 1.0 1.0;
20814                   offset: 1 1;
20815                }
20816             }
20817          }
20818          part { name: "elm.swallow.pad";
20819             type: SWALLOW;
20820             description { state: "default" 0.0;
20821                fixed: 1 0;
20822                align: 0.0 0.5;
20823                rel1 {
20824                   relative: 0.0  0.0;
20825                   offset:   4    4;
20826                }
20827                rel2 {
20828                   relative: 0.0  1.0;
20829                   offset:   4   -5;
20830                }
20831             }
20832          }
20833          part { name: "elm.swallow.icon";
20834             clip_to: "disclip";
20835             type: SWALLOW;
20836             description { state: "default" 0.0;
20837                fixed: 1 0;
20838                align: 0.0 0.5;
20839                rel1 {
20840                   to_x: "elm.swallow.pad";
20841                   relative: 1.0  0.0;
20842                   offset:   -1    4;
20843                }
20844                rel2 {
20845                   to_x: "elm.swallow.pad";
20846                   relative: 1.0  1.0;
20847                   offset:   -1   -5;
20848                }
20849             }
20850          }
20851          part { name: "elm.swallow.end";
20852             clip_to: "disclip";
20853             type: SWALLOW;
20854             description { state: "default" 0.0;
20855                fixed: 1 0;
20856                align: 1.0 0.5;
20857                aspect: 1.0 1.0;
20858                aspect_preference: VERTICAL;
20859                rel1 {
20860                   relative: 1.0  0.0;
20861                   offset:   -5    4;
20862                }
20863                rel2 {
20864                   relative: 1.0  1.0;
20865                   offset:   -5   -5;
20866                }
20867             }
20868          }
20869          part { name: "elm.text";
20870             clip_to: "disclip";
20871             type:           TEXT;
20872             effect:         SOFT_SHADOW;
20873             mouse_events:   0;
20874             scale: 1;
20875             description {
20876                state: "default" 0.0;
20877 //               min: 16 16;
20878                rel1 {
20879                   to_x:     "elm.swallow.icon";
20880                   relative: 1.0  0.0;
20881                   offset:   0 4;
20882                }
20883                rel2 {
20884                   to_x:     "elm.swallow.end";
20885                   relative: 0.0  0.5;
20886                   offset:   -1 -5;
20887                }
20888                color: 0 0 0 255;
20889                color3: 0 0 0 0;
20890                text {
20891                   font: "Sans";
20892                   size: 10;
20893                   min: 1 1;
20894 //                  min: 0 1;
20895                   align: 0.0 0.5;
20896                   text_class: "list_item";
20897                }
20898             }
20899             description { state: "selected" 0.0;
20900                inherit: "default" 0.0;
20901                color: 224 224 224 255;
20902                color3: 0 0 0 64;
20903             }
20904          }
20905          part { name: "elm.text.sub";
20906             clip_to: "disclip";
20907             type:           TEXT;
20908             mouse_events:   0;
20909             scale: 1;
20910             description {
20911                state: "default" 0.0;
20912 //               min: 16 16;
20913                rel1 {
20914                   to_x:     "elm.swallow.icon";
20915                   relative: 1.0  0.5;
20916                   offset:   0 4;
20917                }
20918                rel2 {
20919                   to_x:     "elm.swallow.end";
20920                   relative: 0.0  1.0;
20921                   offset:   -1 -5;
20922                }
20923                color: 0 0 0 128;
20924                color3: 0 0 0 0;
20925                text {
20926                   font: "Sans";
20927                   size: 8;
20928                   min: 1 1;
20929 //                  min: 0 1;
20930                   align: 0.0 0.5;
20931                   text_class: "list_item";
20932                }
20933             }
20934             description { state: "selected" 0.0;
20935                inherit: "default" 0.0;
20936                color: 128 128 128 255;
20937                color3: 0 0 0 32;
20938             }
20939          }
20940          part { name: "fg1";
20941             clip_to: "disclip";
20942             mouse_events: 0;
20943             description { state: "default" 0.0;
20944                visible: 0;
20945                color: 255 255 255 0;
20946                rel1.to: "bg";
20947                rel2.relative: 1.0 0.5;
20948                rel2.to: "bg";
20949                image {
20950                   normal: "bt_sm_hilight.png";
20951                   border: 6 6 6 0;
20952                }
20953             }
20954             description { state: "selected" 0.0;
20955                inherit: "default" 0.0;
20956                visible: 1;
20957                color: 255 255 255 255;
20958             }
20959          }
20960          part { name: "fg2";
20961             clip_to: "disclip";
20962             mouse_events: 0;
20963             description { state: "default" 0.0;
20964                visible: 0;
20965                color: 255 255 255 0;
20966                rel1.to: "bg";
20967                rel2.to: "bg";
20968                image {
20969                   normal: "bt_sm_shine.png";
20970                   border: 6 6 6 0;
20971                }
20972             }
20973             description { state: "selected" 0.0;
20974                inherit: "default" 0.0;
20975                visible: 1;
20976                color: 255 255 255 255;
20977             }
20978          }
20979          part { name: "disclip";
20980             type: RECT;
20981             description { state: "default" 0.0;
20982                rel1.to: "bg";
20983                rel2.to: "bg";
20984             }
20985             description { state: "disabled" 0.0;
20986                inherit: "default" 0.0;
20987                color: 255 255 255 64;
20988             }
20989          }
20990       }
20991       programs {
20992          // signal: elm,state,%s,active
20993          //   a "check" item named %s went active
20994          // signal: elm,state,%s,passive
20995          //   a "check" item named %s went passive
20996          // default is passive
20997          program {
20998             name:    "go_active";
20999             signal:  "elm,state,selected";
21000             source:  "elm";
21001             action:  STATE_SET "selected" 0.0;
21002             target:  "bg";
21003             target:  "fg1";
21004             target:  "fg2";
21005             target:  "elm.text";
21006             target:  "elm.text.sub";
21007          }
21008          program {
21009             name:    "go_passive";
21010             signal:  "elm,state,unselected";
21011             source:  "elm";
21012             action:  STATE_SET "default" 0.0;
21013             target:  "bg";
21014             target:  "fg1";
21015             target:  "fg2";
21016             target:  "elm.text";
21017             target:  "elm.text.sub";
21018             transition: LINEAR 0.1;
21019          }
21020          program {
21021             name:    "go_disabled";
21022             signal:  "elm,state,disabled";
21023             source:  "elm";
21024             action:  STATE_SET "disabled" 0.0;
21025             target:  "disclip";
21026          }
21027          program {
21028             name:    "go_enabled";
21029             signal:  "elm,state,enabled";
21030             source:  "elm";
21031             action:  STATE_SET "default" 0.0;
21032             target:  "disclip";
21033          }
21034       }
21035    }
21036    group { name: "elm/genlist/item_compress/double_label/default";
21037       data.item: "stacking" "above";
21038       data.item: "selectraise" "on";
21039       data.item: "labels" "elm.text elm.text.sub";
21040       data.item: "icons" "elm.swallow.icon elm.swallow.end";
21041       data.item: "treesize" "20";
21042 //      data.item: "states" "";
21043       images {
21044          image: "bt_sm_base1.png" COMP;
21045          image: "bt_sm_shine.png" COMP;
21046          image: "bt_sm_hilight.png" COMP;
21047          image: "ilist_1.png" COMP;
21048          image: "ilist_item_shadow.png" COMP;
21049       }
21050       parts {
21051          part {
21052             name:           "event";
21053             type:           RECT;
21054             repeat_events: 1;
21055             description {
21056                state: "default" 0.0;
21057                color: 0 0 0 0;
21058             }
21059          }
21060          part {
21061             name: "base_sh";
21062             mouse_events: 0;
21063             description {
21064                state: "default" 0.0;
21065                align: 0.0 0.0;
21066                min: 0 10;
21067                fixed: 1 1;
21068                rel1 {
21069                   to: "base";
21070                   relative: 0.0 1.0;
21071                   offset: 0 0;
21072                }
21073                rel2 {
21074                   to: "base";
21075                   relative: 1.0 1.0;
21076                   offset: -1 0;
21077                }
21078                image {
21079                   normal: "ilist_item_shadow.png";
21080                }
21081                fill.smooth: 0;
21082             }
21083          }
21084          part {
21085             name: "base";
21086             mouse_events: 0;
21087             description {
21088                state: "default" 0.0;
21089                image {
21090                   normal: "ilist_1.png";
21091                   border: 2 2 2 2;
21092                }
21093                fill.smooth: 0;
21094             }
21095          }
21096          part { name: "bg";
21097             clip_to: "disclip";
21098             mouse_events: 0;
21099             description { state: "default" 0.0;
21100                visible: 0;
21101                color: 255 255 255 0;
21102                rel1 {
21103                   relative: 0.0 0.0;
21104                   offset: -5 -5;
21105                }
21106                rel2 {
21107                   relative: 1.0 1.0;
21108                   offset: 4 4;
21109                }
21110                image {
21111                   normal: "bt_sm_base1.png";
21112                   border: 6 6 6 6;
21113                }
21114                image.middle: SOLID;
21115             }
21116             description { state: "selected" 0.0;
21117                inherit: "default" 0.0;
21118                visible: 1;
21119                color: 255 255 255 255;
21120                rel1 {
21121                   relative: 0.0 0.0;
21122                   offset: -2 -2;
21123                }
21124                rel2 {
21125                   relative: 1.0 1.0;
21126                   offset: 1 1;
21127                }
21128             }
21129          }
21130          part { name: "elm.swallow.pad";
21131             type: SWALLOW;
21132             description { state: "default" 0.0;
21133                fixed: 1 0;
21134                align: 0.0 0.5;
21135                rel1 {
21136                   relative: 0.0  0.0;
21137                   offset:   4    4;
21138                }
21139                rel2 {
21140                   relative: 0.0  1.0;
21141                   offset:   4   -5;
21142                }
21143             }
21144          }
21145          part { name: "elm.swallow.icon";
21146             clip_to: "disclip";
21147             type: SWALLOW;
21148             description { state: "default" 0.0;
21149                fixed: 1 0;
21150                align: 0.0 0.5;
21151                rel1 {
21152                   to_x: "elm.swallow.pad";
21153                   relative: 1.0  0.0;
21154                   offset:   -1    4;
21155                }
21156                rel2 {
21157                   to_x: "elm.swallow.pad";
21158                   relative: 1.0  1.0;
21159                   offset:   -1   -5;
21160                }
21161             }
21162          }
21163          part { name: "elm.swallow.end";
21164             clip_to: "disclip";
21165             type: SWALLOW;
21166             description { state: "default" 0.0;
21167                fixed: 1 0;
21168                align: 1.0 0.5;
21169                aspect: 1.0 1.0;
21170                aspect_preference: VERTICAL;
21171                rel1 {
21172                   relative: 1.0  0.0;
21173                   offset:   -5    4;
21174                }
21175                rel2 {
21176                   relative: 1.0  1.0;
21177                   offset:   -5   -5;
21178                }
21179             }
21180          }
21181          part { name: "elm.text";
21182             clip_to: "disclip";
21183             type:           TEXT;
21184             effect:         SOFT_SHADOW;
21185             mouse_events:   0;
21186             scale: 1;
21187             description {
21188                state: "default" 0.0;
21189 //               min: 16 16;
21190                rel1 {
21191                   to_x:     "elm.swallow.icon";
21192                   relative: 1.0  0.0;
21193                   offset:   0 4;
21194                }
21195                rel2 {
21196                   to_x:     "elm.swallow.end";
21197                   relative: 0.0  0.5;
21198                   offset:   -1 -5;
21199                }
21200                color: 0 0 0 255;
21201                color3: 0 0 0 0;
21202                text {
21203                   font: "Sans";
21204                   size: 10;
21205 //                  min: 1 1;
21206                   min: 0 1;
21207                   align: 0.0 0.5;
21208                   text_class: "list_item";
21209                }
21210             }
21211             description { state: "selected" 0.0;
21212                inherit: "default" 0.0;
21213                color: 224 224 224 255;
21214                color3: 0 0 0 64;
21215             }
21216          }
21217          part { name: "elm.text.sub";
21218             clip_to: "disclip";
21219             type:           TEXT;
21220             mouse_events:   0;
21221             scale: 1;
21222             description {
21223                state: "default" 0.0;
21224 //               min: 16 16;
21225                rel1 {
21226                   to_x:     "elm.swallow.icon";
21227                   relative: 1.0  0.5;
21228                   offset:   0 4;
21229                }
21230                rel2 {
21231                   to_x:     "elm.swallow.end";
21232                   relative: 0.0  1.0;
21233                   offset:   -1 -5;
21234                }
21235                color: 0 0 0 128;
21236                color3: 0 0 0 0;
21237                text {
21238                   font: "Sans";
21239                   size: 8;
21240 //                  min: 1 1;
21241                   min: 0 1;
21242                   align: 0.0 0.5;
21243                   text_class: "list_item";
21244                }
21245             }
21246             description { state: "selected" 0.0;
21247                inherit: "default" 0.0;
21248                color: 128 128 128 255;
21249                color3: 0 0 0 32;
21250             }
21251          }
21252          part { name: "fg1";
21253             clip_to: "disclip";
21254             mouse_events: 0;
21255             description { state: "default" 0.0;
21256                visible: 0;
21257                color: 255 255 255 0;
21258                rel1.to: "bg";
21259                rel2.relative: 1.0 0.5;
21260                rel2.to: "bg";
21261                image {
21262                   normal: "bt_sm_hilight.png";
21263                   border: 6 6 6 0;
21264                }
21265             }
21266             description { state: "selected" 0.0;
21267                inherit: "default" 0.0;
21268                visible: 1;
21269                color: 255 255 255 255;
21270             }
21271          }
21272          part { name: "fg2";
21273             clip_to: "disclip";
21274             mouse_events: 0;
21275             description { state: "default" 0.0;
21276                visible: 0;
21277                color: 255 255 255 0;
21278                rel1.to: "bg";
21279                rel2.to: "bg";
21280                image {
21281                   normal: "bt_sm_shine.png";
21282                   border: 6 6 6 0;
21283                }
21284             }
21285             description { state: "selected" 0.0;
21286                inherit: "default" 0.0;
21287                visible: 1;
21288                color: 255 255 255 255;
21289             }
21290          }
21291          part { name: "disclip";
21292             type: RECT;
21293             description { state: "default" 0.0;
21294                rel1.to: "bg";
21295                rel2.to: "bg";
21296             }
21297             description { state: "disabled" 0.0;
21298                inherit: "default" 0.0;
21299                color: 255 255 255 64;
21300             }
21301          }
21302       }
21303       programs {
21304          // signal: elm,state,%s,active
21305          //   a "check" item named %s went active
21306          // signal: elm,state,%s,passive
21307          //   a "check" item named %s went passive
21308          // default is passive
21309          program {
21310             name:    "go_active";
21311             signal:  "elm,state,selected";
21312             source:  "elm";
21313             action:  STATE_SET "selected" 0.0;
21314             target:  "bg";
21315             target:  "fg1";
21316             target:  "fg2";
21317             target:  "elm.text";
21318             target:  "elm.text.sub";
21319          }
21320          program {
21321             name:    "go_passive";
21322             signal:  "elm,state,unselected";
21323             source:  "elm";
21324             action:  STATE_SET "default" 0.0;
21325             target:  "bg";
21326             target:  "fg1";
21327             target:  "fg2";
21328             target:  "elm.text";
21329             target:  "elm.text.sub";
21330             transition: LINEAR 0.1;
21331          }
21332          program {
21333             name:    "go_disabled";
21334             signal:  "elm,state,disabled";
21335             source:  "elm";
21336             action:  STATE_SET "disabled" 0.0;
21337             target:  "disclip";
21338          }
21339          program {
21340             name:    "go_enabled";
21341             signal:  "elm,state,enabled";
21342             source:  "elm";
21343             action:  STATE_SET "default" 0.0;
21344             target:  "disclip";
21345          }
21346       }
21347    }
21348    group { name: "elm/genlist/item_odd/double_label/default";
21349       data.item: "stacking" "below";
21350       data.item: "selectraise" "on";
21351       data.item: "labels" "elm.text elm.text.sub";
21352       data.item: "icons" "elm.swallow.icon elm.swallow.end";
21353       data.item: "treesize" "20";
21354 //      data.item: "states" "";
21355       images {
21356          image: "bt_sm_base1.png" COMP;
21357          image: "bt_sm_shine.png" COMP;
21358          image: "bt_sm_hilight.png" COMP;
21359          image: "ilist_2.png" COMP;
21360       }
21361       parts {
21362          part { name: "event";
21363             type: RECT;
21364             repeat_events: 1;
21365             description {
21366                state: "default" 0.0;
21367                color: 0 0 0 0;
21368             }
21369          }
21370          part {
21371             name: "base";
21372             mouse_events: 0;
21373             description {
21374                state: "default" 0.0;
21375                image {
21376                   normal: "ilist_2.png";
21377                   border: 2 2 2 2;
21378                }
21379                fill.smooth: 0;
21380             }
21381          }
21382          part { name: "bg";
21383             clip_to: "disclip";
21384             mouse_events: 0;
21385             description { state: "default" 0.0;
21386                visible: 0;
21387                color: 255 255 255 0;
21388                rel1 {
21389                   relative: 0.0 0.0;
21390                   offset: -5 -5;
21391                }
21392                rel2 {
21393                   relative: 1.0 1.0;
21394                   offset: 4 4;
21395                }
21396                image {
21397                   normal: "bt_sm_base1.png";
21398                   border: 6 6 6 6;
21399                }
21400                image.middle: SOLID;
21401             }
21402             description { state: "selected" 0.0;
21403                inherit: "default" 0.0;
21404                visible: 1;
21405                color: 255 255 255 255;
21406                rel1 {
21407                   relative: 0.0 0.0;
21408                   offset: -2 -2;
21409                }
21410                rel2 {
21411                   relative: 1.0 1.0;
21412                   offset: 1 1;
21413                }
21414             }
21415          }
21416          part { name: "elm.swallow.pad";
21417             type: SWALLOW;
21418             description { state: "default" 0.0;
21419                fixed: 1 0;
21420                align: 0.0 0.5;
21421                rel1 {
21422                   relative: 0.0  0.0;
21423                   offset:   4    4;
21424                }
21425                rel2 {
21426                   relative: 0.0  1.0;
21427                   offset:   4   -5;
21428                }
21429             }
21430          }
21431          part { name: "elm.swallow.icon";
21432             clip_to: "disclip";
21433             type: SWALLOW;
21434             description { state: "default" 0.0;
21435                fixed: 1 0;
21436                align: 0.0 0.5;
21437                rel1 {
21438                   to_x: "elm.swallow.pad";
21439                   relative: 1.0  0.0;
21440                   offset:   -1    4;
21441                }
21442                rel2 {
21443                   to_x: "elm.swallow.pad";
21444                   relative: 1.0  1.0;
21445                   offset:   -1   -5;
21446                }
21447             }
21448          }
21449          part { name: "elm.swallow.end";
21450             clip_to: "disclip";
21451             type:          SWALLOW;
21452             description { state:    "default" 0.0;
21453                fixed: 1 0;
21454                align:    1.0 0.5;
21455                aspect: 1.0 1.0;
21456                aspect_preference: VERTICAL;
21457                rel1 {
21458                   relative: 1.0  0.0;
21459                   offset:   -5    4;
21460                }
21461                rel2 {
21462                   relative: 1.0  1.0;
21463                   offset:   -5   -5;
21464                }
21465             }
21466          }
21467          part { name: "elm.text";
21468             clip_to: "disclip";
21469             type:           TEXT;
21470             effect:         SOFT_SHADOW;
21471             mouse_events:   0;
21472             scale: 1;
21473             description {
21474                state: "default" 0.0;
21475 //               min: 16 16;
21476                rel1 {
21477                   to_x:     "elm.swallow.icon";
21478                   relative: 1.0  0.0;
21479                   offset:   0 4;
21480                }
21481                rel2 {
21482                   to_x:     "elm.swallow.end";
21483                   relative: 0.0  0.5;
21484                   offset:   -1 -5;
21485                }
21486                color: 0 0 0 255;
21487                color3: 0 0 0 0;
21488                text {
21489                   font: "Sans";
21490                   size: 10;
21491                   min: 1 1;
21492 //                  min: 0 1;
21493                   align: 0.0 0.5;
21494                   text_class: "list_item";
21495                }
21496             }
21497             description { state: "selected" 0.0;
21498                inherit: "default" 0.0;
21499                color: 224 224 224 255;
21500                color3: 0 0 0 64;
21501             }
21502          }
21503          part { name: "elm.text.sub";
21504             clip_to: "disclip";
21505             type:           TEXT;
21506             mouse_events:   0;
21507             scale: 1;
21508             description {
21509                state: "default" 0.0;
21510 //               min: 16 16;
21511                rel1 {
21512                   to_x:     "elm.swallow.icon";
21513                   relative: 1.0  0.5;
21514                   offset:   0 4;
21515                }
21516                rel2 {
21517                   to_x:     "elm.swallow.end";
21518                   relative: 0.0  1.0;
21519                   offset:   -1 -5;
21520                }
21521                color: 0 0 0 128;
21522                color3: 0 0 0 0;
21523                text {
21524                   font: "Sans";
21525                   size: 8;
21526                   min: 1 1;
21527 //                  min: 0 1;
21528                   align: 0.0 0.5;
21529                   text_class: "list_item";
21530                }
21531             }
21532             description { state: "selected" 0.0;
21533                inherit: "default" 0.0;
21534                color: 128 128 128 255;
21535                color3: 0 0 0 32;
21536             }
21537          }
21538          part { name: "fg1";
21539             clip_to: "disclip";
21540             mouse_events: 0;
21541             description { state: "default" 0.0;
21542                visible: 0;
21543                color: 255 255 255 0;
21544                rel1.to: "bg";
21545                rel2.relative: 1.0 0.5;
21546                rel2.to: "bg";
21547                image {
21548                   normal: "bt_sm_hilight.png";
21549                   border: 6 6 6 0;
21550                }
21551             }
21552             description { state: "selected" 0.0;
21553                inherit: "default" 0.0;
21554                visible: 1;
21555                color: 255 255 255 255;
21556             }
21557          }
21558          part { name: "fg2";
21559             clip_to: "disclip";
21560             mouse_events: 0;
21561             description { state: "default" 0.0;
21562                visible: 0;
21563                color: 255 255 255 0;
21564                rel1.to: "bg";
21565                rel2.to: "bg";
21566                image {
21567                   normal: "bt_sm_shine.png";
21568                   border: 6 6 6 0;
21569                }
21570             }
21571             description { state: "selected" 0.0;
21572                inherit: "default" 0.0;
21573                visible: 1;
21574                color: 255 255 255 255;
21575             }
21576          }
21577          part { name: "disclip";
21578             type: RECT;
21579             description { state: "default" 0.0;
21580                rel1.to: "bg";
21581                rel2.to: "bg";
21582             }
21583             description { state: "disabled" 0.0;
21584                inherit: "default" 0.0;
21585                color: 255 255 255 64;
21586             }
21587          }
21588       }
21589       programs {
21590          // signal: elm,state,%s,active
21591          //   a "check" item named %s went active
21592          // signal: elm,state,%s,passive
21593          //   a "check" item named %s went passive
21594          // default is passive
21595          program {
21596             name:    "go_active";
21597             signal:  "elm,state,selected";
21598             source:  "elm";
21599             action:  STATE_SET "selected" 0.0;
21600             target:  "bg";
21601             target:  "fg1";
21602             target:  "fg2";
21603             target:  "elm.text";
21604             target:  "elm.text.sub";
21605          }
21606          program {
21607             name:    "go_passive";
21608             signal:  "elm,state,unselected";
21609             source:  "elm";
21610             action:  STATE_SET "default" 0.0;
21611             target:  "bg";
21612             target:  "fg1";
21613             target:  "fg2";
21614             target:  "elm.text";
21615             target:  "elm.text.sub";
21616             transition: LINEAR 0.1;
21617          }
21618          program {
21619             name:    "go_disabled";
21620             signal:  "elm,state,disabled";
21621             source:  "elm";
21622             action:  STATE_SET "disabled" 0.0;
21623             target:  "disclip";
21624          }
21625          program {
21626             name:    "go_enabled";
21627             signal:  "elm,state,enabled";
21628             source:  "elm";
21629             action:  STATE_SET "default" 0.0;
21630             target:  "disclip";
21631          }
21632       }
21633    }
21634    group { name: "elm/genlist/item_compress_odd/double_label/default";
21635       data.item: "stacking" "below";
21636       data.item: "selectraise" "on";
21637       data.item: "labels" "elm.text elm.text.sub";
21638       data.item: "icons" "elm.swallow.icon elm.swallow.end";
21639       data.item: "treesize" "20";
21640 //      data.item: "states" "";
21641       images {
21642          image: "bt_sm_base1.png" COMP;
21643          image: "bt_sm_shine.png" COMP;
21644          image: "bt_sm_hilight.png" COMP;
21645          image: "ilist_2.png" COMP;
21646       }
21647       parts {
21648          part { name: "event";
21649             type: RECT;
21650             repeat_events: 1;
21651             description {
21652                state: "default" 0.0;
21653                color: 0 0 0 0;
21654             }
21655          }
21656          part {
21657             name: "base";
21658             mouse_events: 0;
21659             description {
21660                state: "default" 0.0;
21661                image {
21662                   normal: "ilist_2.png";
21663                   border: 2 2 2 2;
21664                }
21665                fill.smooth: 0;
21666             }
21667          }
21668          part { name: "bg";
21669             clip_to: "disclip";
21670             mouse_events: 0;
21671             description { state: "default" 0.0;
21672                visible: 0;
21673                color: 255 255 255 0;
21674                rel1 {
21675                   relative: 0.0 0.0;
21676                   offset: -5 -5;
21677                }
21678                rel2 {
21679                   relative: 1.0 1.0;
21680                   offset: 4 4;
21681                }
21682                image {
21683                   normal: "bt_sm_base1.png";
21684                   border: 6 6 6 6;
21685                }
21686                image.middle: SOLID;
21687             }
21688             description { state: "selected" 0.0;
21689                inherit: "default" 0.0;
21690                visible: 1;
21691                color: 255 255 255 255;
21692                rel1 {
21693                   relative: 0.0 0.0;
21694                   offset: -2 -2;
21695                }
21696                rel2 {
21697                   relative: 1.0 1.0;
21698                   offset: 1 1;
21699                }
21700             }
21701          }
21702          part { name: "elm.swallow.pad";
21703             type: SWALLOW;
21704             description { state: "default" 0.0;
21705                fixed: 1 0;
21706                align: 0.0 0.5;
21707                rel1 {
21708                   relative: 0.0  0.0;
21709                   offset:   4    4;
21710                }
21711                rel2 {
21712                   relative: 0.0  1.0;
21713                   offset:   4   -5;
21714                }
21715             }
21716          }
21717          part { name: "elm.swallow.icon";
21718             clip_to: "disclip";
21719             type: SWALLOW;
21720             description { state: "default" 0.0;
21721                fixed: 1 0;
21722                align: 0.0 0.5;
21723                rel1 {
21724                   to_x: "elm.swallow.pad";
21725                   relative: 1.0  0.0;
21726                   offset:   -1    4;
21727                }
21728                rel2 {
21729                   to_x: "elm.swallow.pad";
21730                   relative: 1.0  1.0;
21731                   offset:   -1   -5;
21732                }
21733             }
21734          }
21735          part { name: "elm.swallow.end";
21736             clip_to: "disclip";
21737             type:          SWALLOW;
21738             description { state:    "default" 0.0;
21739                fixed: 1 0;
21740                align:    1.0 0.5;
21741                aspect: 1.0 1.0;
21742                aspect_preference: VERTICAL;
21743                rel1 {
21744                   relative: 1.0  0.0;
21745                   offset:   -5    4;
21746                }
21747                rel2 {
21748                   relative: 1.0  1.0;
21749                   offset:   -5   -5;
21750                }
21751             }
21752          }
21753          part { name: "elm.text";
21754             clip_to: "disclip";
21755             type:           TEXT;
21756             effect:         SOFT_SHADOW;
21757             mouse_events:   0;
21758             scale: 1;
21759             description {
21760                state: "default" 0.0;
21761 //               min: 16 16;
21762                rel1 {
21763                   to_x:     "elm.swallow.icon";
21764                   relative: 1.0  0.0;
21765                   offset:   0 4;
21766                }
21767                rel2 {
21768                   to_x:     "elm.swallow.end";
21769                   relative: 0.0  0.5;
21770                   offset:   -1 -5;
21771                }
21772                color: 0 0 0 255;
21773                color3: 0 0 0 0;
21774                text {
21775                   font: "Sans";
21776                   size: 10;
21777 //                  min: 1 1;
21778                   min: 0 1;
21779                   align: 0.0 0.5;
21780                   text_class: "list_item";
21781                }
21782             }
21783             description { state: "selected" 0.0;
21784                inherit: "default" 0.0;
21785                color: 224 224 224 255;
21786                color3: 0 0 0 64;
21787             }
21788          }
21789          part { name: "elm.text.sub";
21790             clip_to: "disclip";
21791             type:           TEXT;
21792             mouse_events:   0;
21793             scale: 1;
21794             description {
21795                state: "default" 0.0;
21796 //               min: 16 16;
21797                rel1 {
21798                   to_x:     "elm.swallow.icon";
21799                   relative: 1.0  0.5;
21800                   offset:   0 4;
21801                }
21802                rel2 {
21803                   to_x:     "elm.swallow.end";
21804                   relative: 0.0  1.0;
21805                   offset:   -1 -5;
21806                }
21807                color: 0 0 0 128;
21808                color3: 0 0 0 0;
21809                text {
21810                   font: "Sans";
21811                   size: 8;
21812 //                  min: 1 1;
21813                   min: 0 1;
21814                   align: 0.0 0.5;
21815                   text_class: "list_item";
21816                }
21817             }
21818             description { state: "selected" 0.0;
21819                inherit: "default" 0.0;
21820                color: 128 128 128 255;
21821                color3: 0 0 0 32;
21822             }
21823          }
21824          part { name: "fg1";
21825             clip_to: "disclip";
21826             mouse_events: 0;
21827             description { state: "default" 0.0;
21828                visible: 0;
21829                color: 255 255 255 0;
21830                rel1.to: "bg";
21831                rel2.relative: 1.0 0.5;
21832                rel2.to: "bg";
21833                image {
21834                   normal: "bt_sm_hilight.png";
21835                   border: 6 6 6 0;
21836                }
21837             }
21838             description { state: "selected" 0.0;
21839                inherit: "default" 0.0;
21840                visible: 1;
21841                color: 255 255 255 255;
21842             }
21843          }
21844          part { name: "fg2";
21845             clip_to: "disclip";
21846             mouse_events: 0;
21847             description { state: "default" 0.0;
21848                visible: 0;
21849                color: 255 255 255 0;
21850                rel1.to: "bg";
21851                rel2.to: "bg";
21852                image {
21853                   normal: "bt_sm_shine.png";
21854                   border: 6 6 6 0;
21855                }
21856             }
21857             description { state: "selected" 0.0;
21858                inherit: "default" 0.0;
21859                visible: 1;
21860                color: 255 255 255 255;
21861             }
21862          }
21863          part { name: "disclip";
21864             type: RECT;
21865             description { state: "default" 0.0;
21866                rel1.to: "bg";
21867                rel2.to: "bg";
21868             }
21869             description { state: "disabled" 0.0;
21870                inherit: "default" 0.0;
21871                color: 255 255 255 64;
21872             }
21873          }
21874       }
21875       programs {
21876          // signal: elm,state,%s,active
21877          //   a "check" item named %s went active
21878          // signal: elm,state,%s,passive
21879          //   a "check" item named %s went passive
21880          // default is passive
21881          program {
21882             name:    "go_active";
21883             signal:  "elm,state,selected";
21884             source:  "elm";
21885             action:  STATE_SET "selected" 0.0;
21886             target:  "bg";
21887             target:  "fg1";
21888             target:  "fg2";
21889             target:  "elm.text";
21890             target:  "elm.text.sub";
21891          }
21892          program {
21893             name:    "go_passive";
21894             signal:  "elm,state,unselected";
21895             source:  "elm";
21896             action:  STATE_SET "default" 0.0;
21897             target:  "bg";
21898             target:  "fg1";
21899             target:  "fg2";
21900             target:  "elm.text";
21901             target:  "elm.text.sub";
21902             transition: LINEAR 0.1;
21903          }
21904          program {
21905             name:    "go_disabled";
21906             signal:  "elm,state,disabled";
21907             source:  "elm";
21908             action:  STATE_SET "disabled" 0.0;
21909             target:  "disclip";
21910          }
21911          program {
21912             name:    "go_enabled";
21913             signal:  "elm,state,enabled";
21914             source:  "elm";
21915             action:  STATE_SET "default" 0.0;
21916             target:  "disclip";
21917          }
21918       }
21919    }
21920
21921    group { name: "elm/genlist/tree/double_label/default";
21922       data.item: "stacking" "above";
21923       data.item: "selectraise" "on";
21924       data.item: "labels" "elm.text elm.text.sub";
21925       data.item: "icons" "elm.swallow.icon elm.swallow.end";
21926       data.item: "treesize" "20";
21927 //      data.item: "states" "";
21928       images {
21929          image: "bt_sm_base1.png" COMP;
21930          image: "bt_sm_shine.png" COMP;
21931          image: "bt_sm_hilight.png" COMP;
21932          image: "ilist_1.png" COMP;
21933          image: "ilist_item_shadow.png" COMP;
21934          image: "icon_arrow_right.png" COMP;
21935          image: "icon_arrow_down.png" COMP;
21936       }
21937       parts {
21938          part {
21939             name:           "event";
21940             type:           RECT;
21941             repeat_events: 1;
21942             description {
21943                state: "default" 0.0;
21944                color: 0 0 0 0;
21945             }
21946          }
21947          part {
21948             name: "base_sh";
21949             mouse_events: 0;
21950             description {
21951                state: "default" 0.0;
21952                align: 0.0 0.0;
21953                min: 0 10;
21954                fixed: 1 1;
21955                rel1 {
21956                   to: "base";
21957                   relative: 0.0 1.0;
21958                   offset: 0 0;
21959                }
21960                rel2 {
21961                   to: "base";
21962                   relative: 1.0 1.0;
21963                   offset: -1 0;
21964                }
21965                image {
21966                   normal: "ilist_item_shadow.png";
21967                }
21968                fill.smooth: 0;
21969             }
21970          }
21971          part {
21972             name: "base";
21973             mouse_events: 0;
21974             description {
21975                state: "default" 0.0;
21976                image {
21977                   normal: "ilist_1.png";
21978                   border: 2 2 2 2;
21979                }
21980                fill.smooth: 0;
21981             }
21982          }
21983          part { name: "bg";
21984             clip_to: "disclip";
21985             mouse_events: 0;
21986             description { state: "default" 0.0;
21987                visible: 0;
21988                color: 255 255 255 0;
21989                rel1 {
21990                   relative: 0.0 0.0;
21991                   offset: -5 -5;
21992                }
21993                rel2 {
21994                   relative: 1.0 1.0;
21995                   offset: 4 4;
21996                }
21997                image {
21998                   normal: "bt_sm_base1.png";
21999                   border: 6 6 6 6;
22000                }
22001                image.middle: SOLID;
22002             }
22003             description { state: "selected" 0.0;
22004                inherit: "default" 0.0;
22005                visible: 1;
22006                color: 255 255 255 255;
22007                rel1 {
22008                   relative: 0.0 0.0;
22009                   offset: -2 -2;
22010                }
22011                rel2 {
22012                   relative: 1.0 1.0;
22013                   offset: 1 1;
22014                }
22015             }
22016          }
22017          part { name: "elm.swallow.pad";
22018             type: SWALLOW;
22019             description { state: "default" 0.0;
22020                fixed: 1 0;
22021                align: 0.0 0.5;
22022                rel1 {
22023                   relative: 0.0  0.0;
22024                   offset:   4    4;
22025                }
22026                rel2 {
22027                   relative: 0.0  1.0;
22028                   offset:   4   -5;
22029                }
22030             }
22031          }
22032          part { name: "arrow";
22033             clip_to: "disclip";
22034             ignore_flags: ON_HOLD;
22035             description { state: "default" 0.0;
22036                fixed: 1 0;
22037                align: 0.0 0.5;
22038                aspect: 1.0 1.0;
22039                rel1 {
22040                   to_x: "elm.swallow.pad";
22041                   relative: 1.0  0.0;
22042                   offset:   -1    4;
22043                }
22044                rel2 {
22045                   to_x: "elm.swallow.pad";
22046                   relative: 1.0  1.0;
22047                   offset:   -1   -5;
22048                }
22049                image.normal: "icon_arrow_right.png";
22050             }
22051             description { state: "active" 0.0;
22052                inherit: "default" 0.0;
22053                image.normal: "icon_arrow_down.png";
22054             }
22055          }
22056          part { name: "elm.swallow.icon";
22057             clip_to: "disclip";
22058             type: SWALLOW;
22059             description { state: "default" 0.0;
22060                fixed: 1 0;
22061                align: 0.0 0.5;
22062                rel1 {
22063                   to_x: "arrow";
22064                   relative: 1.0  0.0;
22065                   offset:   4    4;
22066                }
22067                rel2 {
22068                   to_x: "arrow";
22069                   relative: 1.0  1.0;
22070                   offset:   4   -5;
22071                }
22072             }
22073          }
22074          part { name: "elm.swallow.end";
22075             clip_to: "disclip";
22076             type: SWALLOW;
22077             description { state: "default" 0.0;
22078                fixed: 1 0;
22079                align: 1.0 0.5;
22080                aspect: 1.0 1.0;
22081                aspect_preference: VERTICAL;
22082                rel1 {
22083                   relative: 1.0  0.0;
22084                   offset:   -5    4;
22085                }
22086                rel2 {
22087                   relative: 1.0  1.0;
22088                   offset:   -5   -5;
22089                }
22090             }
22091          }
22092          part { name: "elm.text";
22093             clip_to: "disclip";
22094             type:           TEXT;
22095             effect:         SOFT_SHADOW;
22096             mouse_events:   0;
22097             scale: 1;
22098             description {
22099                state: "default" 0.0;
22100 //               min: 16 16;
22101                rel1 {
22102                   to_x:     "elm.swallow.icon";
22103                   relative: 1.0  0.0;
22104                   offset:   0 4;
22105                }
22106                rel2 {
22107                   to_x:     "elm.swallow.end";
22108                   relative: 0.0  0.5;
22109                   offset:   -1 -5;
22110                }
22111                color: 0 0 0 255;
22112                color3: 0 0 0 0;
22113                text {
22114                   font: "Sans";
22115                   size: 10;
22116                   min: 1 1;
22117 //                  min: 0 1;
22118                   align: 0.0 0.5;
22119                   text_class: "list_item";
22120                }
22121             }
22122             description { state: "selected" 0.0;
22123                inherit: "default" 0.0;
22124                color: 224 224 224 255;
22125                color3: 0 0 0 64;
22126             }
22127          }
22128          part { name: "elm.text.sub";
22129             clip_to: "disclip";
22130             type:           TEXT;
22131             mouse_events:   0;
22132             scale: 1;
22133             description {
22134                state: "default" 0.0;
22135 //               min: 16 16;
22136                rel1 {
22137                   to_x:     "elm.swallow.icon";
22138                   relative: 1.0  0.5;
22139                   offset:   0 4;
22140                }
22141                rel2 {
22142                   to_x:     "elm.swallow.end";
22143                   relative: 0.0  1.0;
22144                   offset:   -1 -5;
22145                }
22146                color: 0 0 0 128;
22147                color3: 0 0 0 0;
22148                text {
22149                   font: "Sans";
22150                   size: 8;
22151                   min: 1 1;
22152 //                  min: 0 1;
22153                   align: 0.0 0.5;
22154                   text_class: "list_item";
22155                }
22156             }
22157             description { state: "selected" 0.0;
22158                inherit: "default" 0.0;
22159                color: 128 128 128 255;
22160                color3: 0 0 0 32;
22161             }
22162          }
22163          part { name: "fg1";
22164             clip_to: "disclip";
22165             mouse_events: 0;
22166             description { state: "default" 0.0;
22167                visible: 0;
22168                color: 255 255 255 0;
22169                rel1.to: "bg";
22170                rel2.relative: 1.0 0.5;
22171                rel2.to: "bg";
22172                image {
22173                   normal: "bt_sm_hilight.png";
22174                   border: 6 6 6 0;
22175                }
22176             }
22177             description { state: "selected" 0.0;
22178                inherit: "default" 0.0;
22179                visible: 1;
22180                color: 255 255 255 255;
22181             }
22182          }
22183          part { name: "fg2";
22184             clip_to: "disclip";
22185             mouse_events: 0;
22186             description { state: "default" 0.0;
22187                visible: 0;
22188                color: 255 255 255 0;
22189                rel1.to: "bg";
22190                rel2.to: "bg";
22191                image {
22192                   normal: "bt_sm_shine.png";
22193                   border: 6 6 6 0;
22194                }
22195             }
22196             description { state: "selected" 0.0;
22197                inherit: "default" 0.0;
22198                visible: 1;
22199                color: 255 255 255 255;
22200             }
22201          }
22202          part { name: "disclip";
22203             type: RECT;
22204             description { state: "default" 0.0;
22205                rel1.to: "bg";
22206                rel2.to: "bg";
22207             }
22208             description { state: "disabled" 0.0;
22209                inherit: "default" 0.0;
22210                color: 255 255 255 64;
22211             }
22212          }
22213       }
22214       programs {
22215          // signal: elm,state,%s,active
22216          //   a "check" item named %s went active
22217          // signal: elm,state,%s,passive
22218          //   a "check" item named %s went passive
22219          // default is passive
22220          program {
22221             name:    "go_active";
22222             signal:  "elm,state,selected";
22223             source:  "elm";
22224             action:  STATE_SET "selected" 0.0;
22225             target:  "bg";
22226             target:  "fg1";
22227             target:  "fg2";
22228             target:  "elm.text";
22229             target:  "elm.text.sub";
22230          }
22231          program {
22232             name:    "go_passive";
22233             signal:  "elm,state,unselected";
22234             source:  "elm";
22235             action:  STATE_SET "default" 0.0;
22236             target:  "bg";
22237             target:  "fg1";
22238             target:  "fg2";
22239             target:  "elm.text";
22240             target:  "elm.text.sub";
22241             transition: LINEAR 0.1;
22242          }
22243          program {
22244             name:    "go_disabled";
22245             signal:  "elm,state,disabled";
22246             source:  "elm";
22247             action:  STATE_SET "disabled" 0.0;
22248             target:  "disclip";
22249          }
22250          program {
22251             name:    "go_enabled";
22252             signal:  "elm,state,enabled";
22253             source:  "elm";
22254             action:  STATE_SET "default" 0.0;
22255             target:  "disclip";
22256          }
22257          program {
22258             name:    "expand";
22259             signal:  "mouse,up,1";
22260             source:  "arrow";
22261             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
22262          }
22263          program {
22264             name:    "go_expanded";
22265             signal:  "elm,state,expanded";
22266             source:  "elm";
22267             action:  STATE_SET "active" 0.0;
22268             target:  "arrow";
22269          }
22270          program {
22271             name:    "go_contracted";
22272             signal:  "elm,state,contracted";
22273             source:  "elm";
22274             action:  STATE_SET "default" 0.0;
22275             target:  "arrow";
22276          }
22277       }
22278    }
22279    group { name: "elm/genlist/tree_compress/double_label/default";
22280       data.item: "stacking" "above";
22281       data.item: "selectraise" "on";
22282       data.item: "labels" "elm.text elm.text.sub";
22283       data.item: "icons" "elm.swallow.icon elm.swallow.end";
22284       data.item: "treesize" "20";
22285 //      data.item: "states" "";
22286       images {
22287          image: "bt_sm_base1.png" COMP;
22288          image: "bt_sm_shine.png" COMP;
22289          image: "bt_sm_hilight.png" COMP;
22290          image: "ilist_1.png" COMP;
22291          image: "ilist_item_shadow.png" COMP;
22292          image: "icon_arrow_right.png" COMP;
22293          image: "icon_arrow_down.png" COMP;
22294       }
22295       parts {
22296          part {
22297             name:           "event";
22298             type:           RECT;
22299             repeat_events: 1;
22300             description {
22301                state: "default" 0.0;
22302                color: 0 0 0 0;
22303             }
22304          }
22305          part {
22306             name: "base_sh";
22307             mouse_events: 0;
22308             description {
22309                state: "default" 0.0;
22310                align: 0.0 0.0;
22311                min: 0 10;
22312                fixed: 1 1;
22313                rel1 {
22314                   to: "base";
22315                   relative: 0.0 1.0;
22316                   offset: 0 0;
22317                }
22318                rel2 {
22319                   to: "base";
22320                   relative: 1.0 1.0;
22321                   offset: -1 0;
22322                }
22323                image {
22324                   normal: "ilist_item_shadow.png";
22325                }
22326                fill.smooth: 0;
22327             }
22328          }
22329          part {
22330             name: "base";
22331             mouse_events: 0;
22332             description {
22333                state: "default" 0.0;
22334                image {
22335                   normal: "ilist_1.png";
22336                   border: 2 2 2 2;
22337                }
22338                fill.smooth: 0;
22339             }
22340          }
22341          part { name: "bg";
22342             clip_to: "disclip";
22343             mouse_events: 0;
22344             description { state: "default" 0.0;
22345                visible: 0;
22346                color: 255 255 255 0;
22347                rel1 {
22348                   relative: 0.0 0.0;
22349                   offset: -5 -5;
22350                }
22351                rel2 {
22352                   relative: 1.0 1.0;
22353                   offset: 4 4;
22354                }
22355                image {
22356                   normal: "bt_sm_base1.png";
22357                   border: 6 6 6 6;
22358                }
22359                image.middle: SOLID;
22360             }
22361             description { state: "selected" 0.0;
22362                inherit: "default" 0.0;
22363                visible: 1;
22364                color: 255 255 255 255;
22365                rel1 {
22366                   relative: 0.0 0.0;
22367                   offset: -2 -2;
22368                }
22369                rel2 {
22370                   relative: 1.0 1.0;
22371                   offset: 1 1;
22372                }
22373             }
22374          }
22375          part { name: "elm.swallow.pad";
22376             type: SWALLOW;
22377             description { state: "default" 0.0;
22378                fixed: 1 0;
22379                align: 0.0 0.5;
22380                rel1 {
22381                   relative: 0.0  0.0;
22382                   offset:   4    4;
22383                }
22384                rel2 {
22385                   relative: 0.0  1.0;
22386                   offset:   4   -5;
22387                }
22388             }
22389          }
22390          part { name: "arrow";
22391             clip_to: "disclip";
22392             ignore_flags: ON_HOLD;
22393             description { state: "default" 0.0;
22394                fixed: 1 0;
22395                align: 0.0 0.5;
22396                aspect: 1.0 1.0;
22397                rel1 {
22398                   to_x: "elm.swallow.pad";
22399                   relative: 1.0  0.0;
22400                   offset:   -1    4;
22401                }
22402                rel2 {
22403                   to_x: "elm.swallow.pad";
22404                   relative: 1.0  1.0;
22405                   offset:   -1   -5;
22406                }
22407                image.normal: "icon_arrow_right.png";
22408             }
22409             description { state: "active" 0.0;
22410                inherit: "default" 0.0;
22411                image.normal: "icon_arrow_down.png";
22412             }
22413          }
22414          part { name: "elm.swallow.icon";
22415             clip_to: "disclip";
22416             type: SWALLOW;
22417             description { state: "default" 0.0;
22418                fixed: 1 0;
22419                align: 0.0 0.5;
22420                rel1 {
22421                   to_x: "arrow";
22422                   relative: 1.0  0.0;
22423                   offset:   4    4;
22424                }
22425                rel2 {
22426                   to_x: "arrow";
22427                   relative: 1.0  1.0;
22428                   offset:   4   -5;
22429                }
22430             }
22431          }
22432          part { name: "elm.swallow.end";
22433             clip_to: "disclip";
22434             type: SWALLOW;
22435             description { state: "default" 0.0;
22436                fixed: 1 0;
22437                align: 1.0 0.5;
22438                aspect: 1.0 1.0;
22439                aspect_preference: VERTICAL;
22440                rel1 {
22441                   relative: 1.0  0.0;
22442                   offset:   -5    4;
22443                }
22444                rel2 {
22445                   relative: 1.0  1.0;
22446                   offset:   -5   -5;
22447                }
22448             }
22449          }
22450          part { name: "elm.text";
22451             clip_to: "disclip";
22452             type:           TEXT;
22453             effect:         SOFT_SHADOW;
22454             mouse_events:   0;
22455             scale: 1;
22456             description {
22457                state: "default" 0.0;
22458 //               min: 16 16;
22459                rel1 {
22460                   to_x:     "elm.swallow.icon";
22461                   relative: 1.0  0.0;
22462                   offset:   0 4;
22463                }
22464                rel2 {
22465                   to_x:     "elm.swallow.end";
22466                   relative: 0.0  0.5;
22467                   offset:   -1 -5;
22468                }
22469                color: 0 0 0 255;
22470                color3: 0 0 0 0;
22471                text {
22472                   font: "Sans";
22473                   size: 10;
22474 //                  min: 1 1;
22475                   min: 0 1;
22476                   align: 0.0 0.5;
22477                   text_class: "list_item";
22478                }
22479             }
22480             description { state: "selected" 0.0;
22481                inherit: "default" 0.0;
22482                color: 224 224 224 255;
22483                color3: 0 0 0 64;
22484             }
22485          }
22486          part { name: "elm.text.sub";
22487             clip_to: "disclip";
22488             type:           TEXT;
22489             mouse_events:   0;
22490             scale: 1;
22491             description {
22492                state: "default" 0.0;
22493 //               min: 16 16;
22494                rel1 {
22495                   to_x:     "elm.swallow.icon";
22496                   relative: 1.0  0.5;
22497                   offset:   0 4;
22498                }
22499                rel2 {
22500                   to_x:     "elm.swallow.end";
22501                   relative: 0.0  1.0;
22502                   offset:   -1 -5;
22503                }
22504                color: 0 0 0 128;
22505                color3: 0 0 0 0;
22506                text {
22507                   font: "Sans";
22508                   size: 8;
22509 //                  min: 1 1;
22510                   min: 0 1;
22511                   align: 0.0 0.5;
22512                   text_class: "list_item";
22513                }
22514             }
22515             description { state: "selected" 0.0;
22516                inherit: "default" 0.0;
22517                color: 128 128 128 255;
22518                color3: 0 0 0 32;
22519             }
22520          }
22521          part { name: "fg1";
22522             clip_to: "disclip";
22523             mouse_events: 0;
22524             description { state: "default" 0.0;
22525                visible: 0;
22526                color: 255 255 255 0;
22527                rel1.to: "bg";
22528                rel2.relative: 1.0 0.5;
22529                rel2.to: "bg";
22530                image {
22531                   normal: "bt_sm_hilight.png";
22532                   border: 6 6 6 0;
22533                }
22534             }
22535             description { state: "selected" 0.0;
22536                inherit: "default" 0.0;
22537                visible: 1;
22538                color: 255 255 255 255;
22539             }
22540          }
22541          part { name: "fg2";
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.to: "bg";
22548                rel2.to: "bg";
22549                image {
22550                   normal: "bt_sm_shine.png";
22551                   border: 6 6 6 0;
22552                }
22553             }
22554             description { state: "selected" 0.0;
22555                inherit: "default" 0.0;
22556                visible: 1;
22557                color: 255 255 255 255;
22558             }
22559          }
22560          part { name: "disclip";
22561             type: RECT;
22562             description { state: "default" 0.0;
22563                rel1.to: "bg";
22564                rel2.to: "bg";
22565             }
22566             description { state: "disabled" 0.0;
22567                inherit: "default" 0.0;
22568                color: 255 255 255 64;
22569             }
22570          }
22571       }
22572       programs {
22573          // signal: elm,state,%s,active
22574          //   a "check" item named %s went active
22575          // signal: elm,state,%s,passive
22576          //   a "check" item named %s went passive
22577          // default is passive
22578          program {
22579             name:    "go_active";
22580             signal:  "elm,state,selected";
22581             source:  "elm";
22582             action:  STATE_SET "selected" 0.0;
22583             target:  "bg";
22584             target:  "fg1";
22585             target:  "fg2";
22586             target:  "elm.text";
22587             target:  "elm.text.sub";
22588          }
22589          program {
22590             name:    "go_passive";
22591             signal:  "elm,state,unselected";
22592             source:  "elm";
22593             action:  STATE_SET "default" 0.0;
22594             target:  "bg";
22595             target:  "fg1";
22596             target:  "fg2";
22597             target:  "elm.text";
22598             target:  "elm.text.sub";
22599             transition: LINEAR 0.1;
22600          }
22601          program {
22602             name:    "go_disabled";
22603             signal:  "elm,state,disabled";
22604             source:  "elm";
22605             action:  STATE_SET "disabled" 0.0;
22606             target:  "disclip";
22607          }
22608          program {
22609             name:    "go_enabled";
22610             signal:  "elm,state,enabled";
22611             source:  "elm";
22612             action:  STATE_SET "default" 0.0;
22613             target:  "disclip";
22614          }
22615          program {
22616             name:    "expand";
22617             signal:  "mouse,up,1";
22618             source:  "arrow";
22619             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
22620          }
22621          program {
22622             name:    "go_expanded";
22623             signal:  "elm,state,expanded";
22624             source:  "elm";
22625             action:  STATE_SET "active" 0.0;
22626             target:  "arrow";
22627          }
22628          program {
22629             name:    "go_contracted";
22630             signal:  "elm,state,contracted";
22631             source:  "elm";
22632             action:  STATE_SET "default" 0.0;
22633             target:  "arrow";
22634          }
22635       }
22636    }
22637    group { name: "elm/genlist/tree_odd/double_label/default";
22638       data.item: "stacking" "below";
22639       data.item: "selectraise" "on";
22640       data.item: "labels" "elm.text elm.text.sub";
22641       data.item: "icons" "elm.swallow.icon elm.swallow.end";
22642       data.item: "treesize" "20";
22643 //      data.item: "states" "";
22644       images {
22645          image: "bt_sm_base1.png" COMP;
22646          image: "bt_sm_shine.png" COMP;
22647          image: "bt_sm_hilight.png" COMP;
22648          image: "ilist_2.png" COMP;
22649          image: "icon_arrow_right.png" COMP;
22650          image: "icon_arrow_down.png" COMP;
22651       }
22652       parts {
22653          part {
22654             name:           "event";
22655             type:           RECT;
22656             repeat_events: 1;
22657             description {
22658                state: "default" 0.0;
22659                color: 0 0 0 0;
22660             }
22661          }
22662          part {
22663             name: "base";
22664             mouse_events: 0;
22665             description {
22666                state: "default" 0.0;
22667                image {
22668                   normal: "ilist_2.png";
22669                   border: 2 2 2 2;
22670                }
22671                fill.smooth: 0;
22672             }
22673          }
22674          part { name: "bg";
22675             clip_to: "disclip";
22676             mouse_events: 0;
22677             description { state: "default" 0.0;
22678                visible: 0;
22679                color: 255 255 255 0;
22680                rel1 {
22681                   relative: 0.0 0.0;
22682                   offset: -5 -5;
22683                }
22684                rel2 {
22685                   relative: 1.0 1.0;
22686                   offset: 4 4;
22687                }
22688                image {
22689                   normal: "bt_sm_base1.png";
22690                   border: 6 6 6 6;
22691                }
22692                image.middle: SOLID;
22693             }
22694             description { state: "selected" 0.0;
22695                inherit: "default" 0.0;
22696                visible: 1;
22697                color: 255 255 255 255;
22698                rel1 {
22699                   relative: 0.0 0.0;
22700                   offset: -2 -2;
22701                }
22702                rel2 {
22703                   relative: 1.0 1.0;
22704                   offset: 1 1;
22705                }
22706             }
22707          }
22708          part { name: "elm.swallow.pad";
22709             type: SWALLOW;
22710             description { state: "default" 0.0;
22711                fixed: 1 0;
22712                align: 0.0 0.5;
22713                rel1 {
22714                   relative: 0.0  0.0;
22715                   offset:   4    4;
22716                }
22717                rel2 {
22718                   relative: 0.0  1.0;
22719                   offset:   4   -5;
22720                }
22721             }
22722          }
22723          part { name: "arrow";
22724             clip_to: "disclip";
22725             ignore_flags: ON_HOLD;
22726             description { state: "default" 0.0;
22727                fixed: 1 0;
22728                align: 0.0 0.5;
22729                aspect: 1.0 1.0;
22730                rel1 {
22731                   to_x: "elm.swallow.pad";
22732                   relative: 1.0  0.0;
22733                   offset:   -1    4;
22734                }
22735                rel2 {
22736                   to_x: "elm.swallow.pad";
22737                   relative: 1.0  1.0;
22738                   offset:   -1   -5;
22739                }
22740                image.normal: "icon_arrow_right.png";
22741             }
22742             description { state: "active" 0.0;
22743                inherit: "default" 0.0;
22744                image.normal: "icon_arrow_down.png";
22745             }
22746          }
22747          part { name: "elm.swallow.icon";
22748             clip_to: "disclip";
22749             type: SWALLOW;
22750             description { state: "default" 0.0;
22751                fixed: 1 0;
22752                align: 0.0 0.5;
22753                rel1 {
22754                   to_x: "arrow";
22755                   relative: 1.0  0.0;
22756                   offset:   4    4;
22757                }
22758                rel2 {
22759                   to_x: "arrow";
22760                   relative: 1.0  1.0;
22761                   offset:   4   -5;
22762                }
22763             }
22764          }
22765          part { name: "elm.swallow.end";
22766             clip_to: "disclip";
22767             type: SWALLOW;
22768             description { state: "default" 0.0;
22769                fixed: 1 0;
22770                align: 1.0 0.5;
22771                aspect: 1.0 1.0;
22772                aspect_preference: VERTICAL;
22773                rel1 {
22774                   relative: 1.0  0.0;
22775                   offset:   -5    4;
22776                }
22777                rel2 {
22778                   relative: 1.0  1.0;
22779                   offset:   -5   -5;
22780                }
22781             }
22782          }
22783          part { name: "elm.text";
22784             clip_to: "disclip";
22785             type:           TEXT;
22786             effect:         SOFT_SHADOW;
22787             mouse_events:   0;
22788             scale: 1;
22789             description {
22790                state: "default" 0.0;
22791 //               min: 16 16;
22792                rel1 {
22793                   to_x:     "elm.swallow.icon";
22794                   relative: 1.0  0.0;
22795                   offset:   0 4;
22796                }
22797                rel2 {
22798                   to_x:     "elm.swallow.end";
22799                   relative: 0.0  0.5;
22800                   offset:   -1 -5;
22801                }
22802                color: 0 0 0 255;
22803                color3: 0 0 0 0;
22804                text {
22805                   font: "Sans";
22806                   size: 10;
22807                   min: 1 1;
22808 //                  min: 0 1;
22809                   align: 0.0 0.5;
22810                   text_class: "list_item";
22811                }
22812             }
22813             description { state: "selected" 0.0;
22814                inherit: "default" 0.0;
22815                color: 224 224 224 255;
22816                color3: 0 0 0 64;
22817             }
22818          }
22819          part { name: "elm.text.sub";
22820             clip_to: "disclip";
22821             type:           TEXT;
22822             mouse_events:   0;
22823             scale: 1;
22824             description {
22825                state: "default" 0.0;
22826 //               min: 16 16;
22827                rel1 {
22828                   to_x:     "elm.swallow.icon";
22829                   relative: 1.0  0.5;
22830                   offset:   0 4;
22831                }
22832                rel2 {
22833                   to_x:     "elm.swallow.end";
22834                   relative: 0.0  1.0;
22835                   offset:   -1 -5;
22836                }
22837                color: 0 0 0 128;
22838                color3: 0 0 0 0;
22839                text {
22840                   font: "Sans";
22841                   size: 8;
22842                   min: 1 1;
22843 //                  min: 0 1;
22844                   align: 0.0 0.5;
22845                   text_class: "list_item";
22846                }
22847             }
22848             description { state: "selected" 0.0;
22849                inherit: "default" 0.0;
22850                color: 128 128 128 255;
22851                color3: 0 0 0 32;
22852             }
22853          }
22854          part { name: "fg1";
22855             clip_to: "disclip";
22856             mouse_events: 0;
22857             description { state: "default" 0.0;
22858                visible: 0;
22859                color: 255 255 255 0;
22860                rel1.to: "bg";
22861                rel2.relative: 1.0 0.5;
22862                rel2.to: "bg";
22863                image {
22864                   normal: "bt_sm_hilight.png";
22865                   border: 6 6 6 0;
22866                }
22867             }
22868             description { state: "selected" 0.0;
22869                inherit: "default" 0.0;
22870                visible: 1;
22871                color: 255 255 255 255;
22872             }
22873          }
22874          part { name: "fg2";
22875             clip_to: "disclip";
22876             mouse_events: 0;
22877             description { state: "default" 0.0;
22878                visible: 0;
22879                color: 255 255 255 0;
22880                rel1.to: "bg";
22881                rel2.to: "bg";
22882                image {
22883                   normal: "bt_sm_shine.png";
22884                   border: 6 6 6 0;
22885                }
22886             }
22887             description { state: "selected" 0.0;
22888                inherit: "default" 0.0;
22889                visible: 1;
22890                color: 255 255 255 255;
22891             }
22892          }
22893          part { name: "disclip";
22894             type: RECT;
22895             description { state: "default" 0.0;
22896                rel1.to: "bg";
22897                rel2.to: "bg";
22898             }
22899             description { state: "disabled" 0.0;
22900                inherit: "default" 0.0;
22901                color: 255 255 255 64;
22902             }
22903          }
22904       }
22905       programs {
22906          // signal: elm,state,%s,active
22907          //   a "check" item named %s went active
22908          // signal: elm,state,%s,passive
22909          //   a "check" item named %s went passive
22910          // default is passive
22911          program {
22912             name:    "go_active";
22913             signal:  "elm,state,selected";
22914             source:  "elm";
22915             action:  STATE_SET "selected" 0.0;
22916             target:  "bg";
22917             target:  "fg1";
22918             target:  "fg2";
22919             target:  "elm.text";
22920             target:  "elm.text.sub";
22921          }
22922          program {
22923             name:    "go_passive";
22924             signal:  "elm,state,unselected";
22925             source:  "elm";
22926             action:  STATE_SET "default" 0.0;
22927             target:  "bg";
22928             target:  "fg1";
22929             target:  "fg2";
22930             target:  "elm.text";
22931             target:  "elm.text.sub";
22932             transition: LINEAR 0.1;
22933          }
22934          program {
22935             name:    "go_disabled";
22936             signal:  "elm,state,disabled";
22937             source:  "elm";
22938             action:  STATE_SET "disabled" 0.0;
22939             target:  "disclip";
22940          }
22941          program {
22942             name:    "go_enabled";
22943             signal:  "elm,state,enabled";
22944             source:  "elm";
22945             action:  STATE_SET "default" 0.0;
22946             target:  "disclip";
22947          }
22948          program {
22949             name:    "expand";
22950             signal:  "mouse,up,1";
22951             source:  "arrow";
22952             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
22953          }
22954          program {
22955             name:    "go_expanded";
22956             signal:  "elm,state,expanded";
22957             source:  "elm";
22958             action:  STATE_SET "active" 0.0;
22959             target:  "arrow";
22960          }
22961          program {
22962             name:    "go_contracted";
22963             signal:  "elm,state,contracted";
22964             source:  "elm";
22965             action:  STATE_SET "default" 0.0;
22966             target:  "arrow";
22967          }
22968       }
22969    }
22970
22971    group { name: "elm/genlist/item/icon_top_text_bottom/default";
22972       data.item: "stacking" "above";
22973       data.item: "selectraise" "on";
22974       data.item: "labels" "elm.text";
22975       data.item: "icons" "elm.swallow.icon";
22976       data.item: "treesize" "20";
22977 //      data.item: "states" "";
22978       images {
22979          image: "bt_sm_base1.png" COMP;
22980          image: "bt_sm_shine.png" COMP;
22981          image: "bt_sm_hilight.png" COMP;
22982          image: "ilist_1.png" COMP;
22983          image: "ilist_item_shadow.png" COMP;
22984       }
22985       parts {
22986          part {
22987             name:           "event";
22988             type:           RECT;
22989             repeat_events: 1;
22990             description {
22991                state: "default" 0.0;
22992                color: 0 0 0 0;
22993             }
22994          }
22995          part {
22996             name: "base_sh";
22997             mouse_events: 0;
22998             description {
22999                state: "default" 0.0;
23000                align: 0.0 0.0;
23001                min: 0 10;
23002                fixed: 1 1;
23003                rel1 {
23004                   to: "base";
23005                   relative: 0.0 1.0;
23006                   offset: 0 0;
23007                }
23008                rel2 {
23009                   to: "base";
23010                   relative: 1.0 1.0;
23011                   offset: -1 0;
23012                }
23013                image {
23014                   normal: "ilist_item_shadow.png";
23015                }
23016                fill.smooth: 0;
23017             }
23018          }
23019          part {
23020             name: "base";
23021             mouse_events: 0;
23022             description {
23023                state: "default" 0.0;
23024                image {
23025                   normal: "ilist_1.png";
23026                   border: 2 2 2 2;
23027                }
23028                fill.smooth: 0;
23029             }
23030          }
23031          part { name: "bg";
23032             clip_to: "disclip";
23033             mouse_events: 0;
23034             description { state: "default" 0.0;
23035                visible: 0;
23036                color: 255 255 255 0;
23037                rel1 {
23038                   relative: 0.0 0.0;
23039                   offset: -5 -5;
23040                }
23041                rel2 {
23042                   relative: 1.0 1.0;
23043                   offset: 4 4;
23044                }
23045                image {
23046                   normal: "bt_sm_base1.png";
23047                   border: 6 6 6 6;
23048                }
23049                image.middle: SOLID;
23050             }
23051             description { state: "selected" 0.0;
23052                inherit: "default" 0.0;
23053                visible: 1;
23054                color: 255 255 255 255;
23055                rel1 {
23056                   relative: 0.0 0.0;
23057                   offset: -2 -2;
23058                }
23059                rel2 {
23060                   relative: 1.0 1.0;
23061                   offset: 1 1;
23062                }
23063             }
23064          }
23065          part { name: "elm.swallow.pad";
23066             type: SWALLOW;
23067             description { state: "default" 0.0;
23068                fixed: 1 0;
23069                align: 0.0 0.5;
23070                rel1 {
23071                   relative: 0.0  0.0;
23072                   offset:   4    4;
23073                }
23074                rel2 {
23075                   relative: 1.0  1.0;
23076                   offset:   -4   -5;
23077                }
23078             }
23079          }
23080          part { name: "elm.swallow.icon";
23081             clip_to: "disclip";
23082             type: SWALLOW;
23083             description { state: "default" 0.0;
23084                fixed: 1 0;
23085                align: 0.5 0.5;
23086                rel1 {
23087                   to_x: "elm.swallow.pad";
23088                   relative: 0.0  0.0;
23089                   offset:   -1    4;
23090                }
23091                rel2 {
23092                   to_x: "elm.swallow.pad";
23093                   relative: 1.0  1.0;
23094                   offset:   -1   -5;
23095                }
23096             }
23097          }
23098          part { name: "elm.text";
23099             clip_to: "disclip";
23100             type:           TEXT;
23101             effect:         SOFT_SHADOW;
23102             mouse_events:   0;
23103             scale: 1;
23104             description {
23105                state: "default" 0.0;
23106 //               min: 16 16;
23107                rel1 {
23108                   to_y:     "elm.swallow.icon";
23109                   relative: 0.0  1.0;
23110                   offset:   0 4;
23111                }
23112                rel2 {
23113                   relative: 1.0  1.0;
23114                   offset:   -5 -5;
23115                }
23116                color: 0 0 0 255;
23117                color3: 0 0 0 0;
23118                text {
23119                   font: "Sans";
23120                   size: 10;
23121                   min: 1 1;
23122 //                  min: 0 1;
23123                   align: 0.5 0.5;
23124                   text_class: "list_item";
23125                }
23126             }
23127             description { state: "selected" 0.0;
23128                inherit: "default" 0.0;
23129                color: 224 224 224 255;
23130                color3: 0 0 0 64;
23131             }
23132          }
23133          part { name: "fg1";
23134             clip_to: "disclip";
23135             mouse_events: 0;
23136             description { state: "default" 0.0;
23137                visible: 0;
23138                color: 255 255 255 0;
23139                rel1.to: "bg";
23140                rel2.relative: 1.0 0.5;
23141                rel2.to: "bg";
23142                image {
23143                   normal: "bt_sm_hilight.png";
23144                   border: 6 6 6 0;
23145                }
23146             }
23147             description { state: "selected" 0.0;
23148                inherit: "default" 0.0;
23149                visible: 1;
23150                color: 255 255 255 255;
23151             }
23152          }
23153          part { name: "fg2";
23154             clip_to: "disclip";
23155             mouse_events: 0;
23156             description { state: "default" 0.0;
23157                visible: 0;
23158                color: 255 255 255 0;
23159                rel1.to: "bg";
23160                rel2.to: "bg";
23161                image {
23162                   normal: "bt_sm_shine.png";
23163                   border: 6 6 6 0;
23164                }
23165             }
23166             description { state: "selected" 0.0;
23167                inherit: "default" 0.0;
23168                visible: 1;
23169                color: 255 255 255 255;
23170             }
23171          }
23172          part { name: "disclip";
23173             type: RECT;
23174             description { state: "default" 0.0;
23175                rel1.to: "bg";
23176                rel2.to: "bg";
23177             }
23178             description { state: "disabled" 0.0;
23179                inherit: "default" 0.0;
23180                color: 255 255 255 64;
23181             }
23182          }
23183       }
23184       programs {
23185          // signal: elm,state,%s,active
23186          //   a "check" item named %s went active
23187          // signal: elm,state,%s,passive
23188          //   a "check" item named %s went passive
23189          // default is passive
23190          program {
23191             name:    "go_active";
23192             signal:  "elm,state,selected";
23193             source:  "elm";
23194             action:  STATE_SET "selected" 0.0;
23195             target:  "bg";
23196             target:  "fg1";
23197             target:  "fg2";
23198             target:  "elm.text";
23199          }
23200          program {
23201             name:    "go_passive";
23202             signal:  "elm,state,unselected";
23203             source:  "elm";
23204             action:  STATE_SET "default" 0.0;
23205             target:  "bg";
23206             target:  "fg1";
23207             target:  "fg2";
23208             target:  "elm.text";
23209             transition: LINEAR 0.1;
23210          }
23211          program {
23212             name:    "go_disabled";
23213             signal:  "elm,state,disabled";
23214             source:  "elm";
23215             action:  STATE_SET "disabled" 0.0;
23216             target:  "disclip";
23217          }
23218          program {
23219             name:    "go_enabled";
23220             signal:  "elm,state,enabled";
23221             source:  "elm";
23222             action:  STATE_SET "default" 0.0;
23223             target:  "disclip";
23224          }
23225       }
23226    }
23227    group { name: "elm/genlist/item_odd/icon_top_text_bottom/default";
23228       data.item: "stacking" "below";
23229       data.item: "selectraise" "on";
23230       data.item: "labels" "elm.text";
23231       data.item: "icons" "elm.swallow.icon";
23232       data.item: "treesize" "20";
23233 //      data.item: "states" "";
23234       images {
23235          image: "bt_sm_base1.png" COMP;
23236          image: "bt_sm_shine.png" COMP;
23237          image: "bt_sm_hilight.png" COMP;
23238          image: "ilist_2.png" COMP;
23239       }
23240       parts {
23241          part { name: "event";
23242             type: RECT;
23243             repeat_events: 1;
23244             description {
23245                state: "default" 0.0;
23246                color: 0 0 0 0;
23247             }
23248          }
23249          part {
23250             name: "base";
23251             mouse_events: 0;
23252             description {
23253                state: "default" 0.0;
23254                image {
23255                   normal: "ilist_2.png";
23256                   border: 2 2 2 2;
23257                }
23258                fill.smooth: 0;
23259             }
23260          }
23261          part { name: "bg";
23262             clip_to: "disclip";
23263             mouse_events: 0;
23264             description { state: "default" 0.0;
23265                visible: 0;
23266                color: 255 255 255 0;
23267                rel1 {
23268                   relative: 0.0 0.0;
23269                   offset: -5 -5;
23270                }
23271                rel2 {
23272                   relative: 1.0 1.0;
23273                   offset: 4 4;
23274                }
23275                image {
23276                   normal: "bt_sm_base1.png";
23277                   border: 6 6 6 6;
23278                }
23279                image.middle: SOLID;
23280             }
23281             description { state: "selected" 0.0;
23282                inherit: "default" 0.0;
23283                visible: 1;
23284                color: 255 255 255 255;
23285                rel1 {
23286                   relative: 0.0 0.0;
23287                   offset: -2 -2;
23288                }
23289                rel2 {
23290                   relative: 1.0 1.0;
23291                   offset: 1 1;
23292                }
23293             }
23294          }
23295          part { name: "elm.swallow.pad";
23296             type: SWALLOW;
23297             description { state: "default" 0.0;
23298                fixed: 1 0;
23299                align: 0.0 0.5;
23300                rel1 {
23301                   relative: 0.0  0.0;
23302                   offset:   4    4;
23303                }
23304                rel2 {
23305                   relative: 1.0  1.0;
23306                   offset:   -4   -5;
23307                }
23308             }
23309          }
23310          part { name: "elm.swallow.icon";
23311             clip_to: "disclip";
23312             type: SWALLOW;
23313             description { state: "default" 0.0;
23314                fixed: 1 0;
23315                align: 0.5 0.5;
23316                rel1 {
23317                   to_x: "elm.swallow.pad";
23318                   relative: 0.0  0.0;
23319                   offset:   -1    4;
23320                }
23321                rel2 {
23322                   to_x: "elm.swallow.pad";
23323                   relative: 1.0  1.0;
23324                   offset:   -1   -5;
23325                }
23326             }
23327          }
23328          part { name: "elm.text";
23329             clip_to: "disclip";
23330             type:           TEXT;
23331             effect:         SOFT_SHADOW;
23332             mouse_events:   0;
23333             scale: 1;
23334             description {
23335                state: "default" 0.0;
23336 //               min:      16 16;
23337                rel1 {
23338                   to_y:     "elm.swallow.icon";
23339                   relative: 0.0  1.0;
23340                   offset:   0 4;
23341                }
23342                rel2 {
23343                   relative: 1.0  1.0;
23344                   offset:   -5 -5;
23345                }
23346                color: 0 0 0 255;
23347                color3: 0 0 0 0;
23348                text {
23349                   font: "Sans";
23350                   size: 10;
23351                   min: 1 1;
23352 //                  min: 0 1;
23353                   align: 0.5 0.5;
23354                   text_class: "list_item";
23355                }
23356             }
23357             description { state: "selected" 0.0;
23358                inherit: "default" 0.0;
23359                color: 224 224 224 255;
23360                color3: 0 0 0 64;
23361             }
23362          }
23363          part { name: "fg1";
23364             clip_to: "disclip";
23365             mouse_events: 0;
23366             description { state: "default" 0.0;
23367                visible: 0;
23368                color: 255 255 255 0;
23369                rel1.to: "bg";
23370                rel2.relative: 1.0 0.5;
23371                rel2.to: "bg";
23372                image {
23373                   normal: "bt_sm_hilight.png";
23374                   border: 6 6 6 0;
23375                }
23376             }
23377             description { state: "selected" 0.0;
23378                inherit: "default" 0.0;
23379                visible: 1;
23380                color: 255 255 255 255;
23381             }
23382          }
23383          part { name: "fg2";
23384             clip_to: "disclip";
23385             mouse_events: 0;
23386             description { state: "default" 0.0;
23387                visible: 0;
23388                color: 255 255 255 0;
23389                rel1.to: "bg";
23390                rel2.to: "bg";
23391                image {
23392                   normal: "bt_sm_shine.png";
23393                   border: 6 6 6 0;
23394                }
23395             }
23396             description { state: "selected" 0.0;
23397                inherit: "default" 0.0;
23398                visible: 1;
23399                color: 255 255 255 255;
23400             }
23401          }
23402          part { name: "disclip";
23403             type: RECT;
23404             description { state: "default" 0.0;
23405                rel1.to: "bg";
23406                rel2.to: "bg";
23407             }
23408             description { state: "disabled" 0.0;
23409                inherit: "default" 0.0;
23410                color: 255 255 255 64;
23411             }
23412          }
23413       }
23414       programs {
23415          // signal: elm,state,%s,active
23416          //   a "check" item named %s went active
23417          // signal: elm,state,%s,passive
23418          //   a "check" item named %s went passive
23419          // default is passive
23420          program {
23421             name:    "go_active";
23422             signal:  "elm,state,selected";
23423             source:  "elm";
23424             action:  STATE_SET "selected" 0.0;
23425             target:  "bg";
23426             target:  "fg1";
23427             target:  "fg2";
23428             target:  "elm.text";
23429          }
23430          program {
23431             name:    "go_passive";
23432             signal:  "elm,state,unselected";
23433             source:  "elm";
23434             action:  STATE_SET "default" 0.0;
23435             target:  "bg";
23436             target:  "fg1";
23437             target:  "fg2";
23438             target:  "elm.text";
23439             transition: LINEAR 0.1;
23440          }
23441          program {
23442             name:    "go_disabled";
23443             signal:  "elm,state,disabled";
23444             source:  "elm";
23445             action:  STATE_SET "disabled" 0.0;
23446             target:  "disclip";
23447          }
23448          program {
23449             name:    "go_enabled";
23450             signal:  "elm,state,enabled";
23451             source:  "elm";
23452             action:  STATE_SET "default" 0.0;
23453             target:  "disclip";
23454          }
23455       }
23456    }
23457
23458    group { name: "elm/genlist/tree/icon_top_text_bottom/default";
23459       data.item: "stacking" "above";
23460       data.item: "selectraise" "on";
23461       data.item: "labels" "elm.text";
23462       data.item: "icons" "elm.swallow.icon";
23463       data.item: "treesize" "20";
23464 //      data.item: "states" "";
23465       images {
23466          image: "bt_sm_base1.png" COMP;
23467          image: "bt_sm_shine.png" COMP;
23468          image: "bt_sm_hilight.png" COMP;
23469          image: "ilist_1.png" COMP;
23470          image: "ilist_item_shadow.png" COMP;
23471          image: "icon_arrow_right.png" COMP;
23472          image: "icon_arrow_down.png" COMP;
23473       }
23474       parts {
23475          part {
23476             name:           "event";
23477             type:           RECT;
23478             repeat_events: 1;
23479             description {
23480                state: "default" 0.0;
23481                color: 0 0 0 0;
23482             }
23483          }
23484          part {
23485             name: "base_sh";
23486             mouse_events: 0;
23487             description {
23488                state: "default" 0.0;
23489                align: 0.0 0.0;
23490                min: 0 10;
23491                fixed: 1 1;
23492                rel1 {
23493                   to: "base";
23494                   relative: 0.0 1.0;
23495                   offset: 0 0;
23496                }
23497                rel2 {
23498                   to: "base";
23499                   relative: 1.0 1.0;
23500                   offset: -1 0;
23501                }
23502                image {
23503                   normal: "ilist_item_shadow.png";
23504                }
23505                fill.smooth: 0;
23506             }
23507          }
23508          part {
23509             name: "base";
23510             mouse_events: 0;
23511             description {
23512                state: "default" 0.0;
23513                image {
23514                   normal: "ilist_1.png";
23515                   border: 2 2 2 2;
23516                }
23517                fill.smooth: 0;
23518             }
23519          }
23520          part { name: "bg";
23521             clip_to: "disclip";
23522             mouse_events: 0;
23523             description { state: "default" 0.0;
23524                visible: 0;
23525                color: 255 255 255 0;
23526                rel1 {
23527                   relative: 0.0 0.0;
23528                   offset: -5 -5;
23529                }
23530                rel2 {
23531                   relative: 1.0 1.0;
23532                   offset: 4 4;
23533                }
23534                image {
23535                   normal: "bt_sm_base1.png";
23536                   border: 6 6 6 6;
23537                }
23538                image.middle: SOLID;
23539             }
23540             description { state: "selected" 0.0;
23541                inherit: "default" 0.0;
23542                visible: 1;
23543                color: 255 255 255 255;
23544                rel1 {
23545                   relative: 0.0 0.0;
23546                   offset: -2 -2;
23547                }
23548                rel2 {
23549                   relative: 1.0 1.0;
23550                   offset: 1 1;
23551                }
23552             }
23553          }
23554          part { name: "elm.swallow.pad";
23555             type: SWALLOW;
23556             description { state: "default" 0.0;
23557                fixed: 1 0;
23558                align: 0.0 0.5;
23559                rel1 {
23560                   relative: 0.0  0.0;
23561                   offset:   4    4;
23562                }
23563                rel2 {
23564                   relative: 0.0  1.0;
23565                   offset:   4   -5;
23566                }
23567             }
23568          }
23569          part { name: "arrow";
23570             clip_to: "disclip";
23571             ignore_flags: ON_HOLD;
23572             description { state: "default" 0.0;
23573                fixed: 1 0;
23574                align: 0.0 0.5;
23575                aspect: 1.0 1.0;
23576                rel1 {
23577                   to_x: "elm.swallow.pad";
23578                   relative: 1.0  0.0;
23579                   offset:   -1    4;
23580                }
23581                rel2 {
23582                   to_x: "elm.swallow.pad";
23583                   relative: 1.0  1.0;
23584                   offset:   -1   -5;
23585                }
23586                image.normal: "icon_arrow_right.png";
23587             }
23588             description { state: "active" 0.0;
23589                inherit: "default" 0.0;
23590                image.normal: "icon_arrow_down.png";
23591             }
23592          }
23593          part { name: "elm.swallow.icon";
23594             clip_to: "disclip";
23595             type: SWALLOW;
23596             description { state: "default" 0.0;
23597                fixed: 1 0;
23598                align: 0.5 0.5;
23599                rel1 {
23600                   to_x: "arrow";
23601                   relative: 1.0  0.0;
23602                   offset:   4    4;
23603                }
23604                rel2 {
23605                   relative: 1.0  1.0;
23606                   offset:   -4   -5;
23607                }
23608             }
23609          }
23610          part { name: "elm.text";
23611             clip_to: "disclip";
23612             type:           TEXT;
23613             effect:         SOFT_SHADOW;
23614             mouse_events:   0;
23615             scale: 1;
23616             description {
23617                state: "default" 0.0;
23618 //               min: 16 16;
23619                rel1 {
23620                   to_y:     "elm.swallow.icon";
23621                   relative: 0.0  1.0;
23622                   offset:   0 4;
23623                }
23624                rel2 {
23625                   relative: 1.0  1.0;
23626                   offset:   -5 -5;
23627                }
23628                color: 0 0 0 255;
23629                color3: 0 0 0 0;
23630                text {
23631                   font: "Sans";
23632                   size: 10;
23633                   min: 1 1;
23634 //                  min: 0 1;
23635                   align: 0.5 0.5;
23636                   text_class: "list_item";
23637                }
23638             }
23639             description { state: "selected" 0.0;
23640                inherit: "default" 0.0;
23641                color: 224 224 224 255;
23642                color3: 0 0 0 64;
23643             }
23644          }
23645          part { name: "fg1";
23646             clip_to: "disclip";
23647             mouse_events: 0;
23648             description { state: "default" 0.0;
23649                visible: 0;
23650                color: 255 255 255 0;
23651                rel1.to: "bg";
23652                rel2.relative: 1.0 0.5;
23653                rel2.to: "bg";
23654                image {
23655                   normal: "bt_sm_hilight.png";
23656                   border: 6 6 6 0;
23657                }
23658             }
23659             description { state: "selected" 0.0;
23660                inherit: "default" 0.0;
23661                visible: 1;
23662                color: 255 255 255 255;
23663             }
23664          }
23665          part { name: "fg2";
23666             clip_to: "disclip";
23667             mouse_events: 0;
23668             description { state: "default" 0.0;
23669                visible: 0;
23670                color: 255 255 255 0;
23671                rel1.to: "bg";
23672                rel2.to: "bg";
23673                image {
23674                   normal: "bt_sm_shine.png";
23675                   border: 6 6 6 0;
23676                }
23677             }
23678             description { state: "selected" 0.0;
23679                inherit: "default" 0.0;
23680                visible: 1;
23681                color: 255 255 255 255;
23682             }
23683          }
23684          part { name: "disclip";
23685             type: RECT;
23686             description { state: "default" 0.0;
23687                rel1.to: "bg";
23688                rel2.to: "bg";
23689             }
23690             description { state: "disabled" 0.0;
23691                inherit: "default" 0.0;
23692                color: 255 255 255 64;
23693             }
23694          }
23695       }
23696       programs {
23697          // signal: elm,state,%s,active
23698          //   a "check" item named %s went active
23699          // signal: elm,state,%s,passive
23700          //   a "check" item named %s went passive
23701          // default is passive
23702          program {
23703             name:    "go_active";
23704             signal:  "elm,state,selected";
23705             source:  "elm";
23706             action:  STATE_SET "selected" 0.0;
23707             target:  "bg";
23708             target:  "fg1";
23709             target:  "fg2";
23710             target:  "elm.text";
23711          }
23712          program {
23713             name:    "go_passive";
23714             signal:  "elm,state,unselected";
23715             source:  "elm";
23716             action:  STATE_SET "default" 0.0;
23717             target:  "bg";
23718             target:  "fg1";
23719             target:  "fg2";
23720             target:  "elm.text";
23721             transition: LINEAR 0.1;
23722          }
23723          program {
23724             name:    "go_disabled";
23725             signal:  "elm,state,disabled";
23726             source:  "elm";
23727             action:  STATE_SET "disabled" 0.0;
23728             target:  "disclip";
23729          }
23730          program {
23731             name:    "go_enabled";
23732             signal:  "elm,state,enabled";
23733             source:  "elm";
23734             action:  STATE_SET "default" 0.0;
23735             target:  "disclip";
23736          }
23737          program {
23738             name:    "expand";
23739             signal:  "mouse,up,1";
23740             source:  "arrow";
23741             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
23742          }
23743          program {
23744             name:    "go_expanded";
23745             signal:  "elm,state,expanded";
23746             source:  "elm";
23747             action:  STATE_SET "active" 0.0;
23748             target:  "arrow";
23749          }
23750          program {
23751             name:    "go_contracted";
23752             signal:  "elm,state,contracted";
23753             source:  "elm";
23754             action:  STATE_SET "default" 0.0;
23755             target:  "arrow";
23756          }
23757       }
23758    }
23759    group { name: "elm/genlist/tree_odd/icon_top_text_bottom/default";
23760       data.item: "stacking" "below";
23761       data.item: "selectraise" "on";
23762       data.item: "labels" "elm.text";
23763       data.item: "icons" "elm.swallow.icon";
23764       data.item: "treesize" "20";
23765 //      data.item: "states" "";
23766       images {
23767          image: "bt_sm_base1.png" COMP;
23768          image: "bt_sm_shine.png" COMP;
23769          image: "bt_sm_hilight.png" COMP;
23770          image: "ilist_2.png" COMP;
23771          image: "icon_arrow_right.png" COMP;
23772          image: "icon_arrow_down.png" COMP;
23773       }
23774       parts {
23775          part {
23776             name:           "event";
23777             type:           RECT;
23778             repeat_events: 1;
23779             description {
23780                state: "default" 0.0;
23781                color: 0 0 0 0;
23782             }
23783          }
23784          part {
23785             name: "base";
23786             mouse_events: 0;
23787             description {
23788                state: "default" 0.0;
23789                image {
23790                   normal: "ilist_2.png";
23791                   border: 2 2 2 2;
23792                }
23793                fill.smooth: 0;
23794             }
23795          }
23796          part { name: "bg";
23797             clip_to: "disclip";
23798             mouse_events: 0;
23799             description { state: "default" 0.0;
23800                visible: 0;
23801                color: 255 255 255 0;
23802                rel1 {
23803                   relative: 0.0 0.0;
23804                   offset: -5 -5;
23805                }
23806                rel2 {
23807                   relative: 1.0 1.0;
23808                   offset: 4 4;
23809                }
23810                image {
23811                   normal: "bt_sm_base1.png";
23812                   border: 6 6 6 6;
23813                }
23814                image.middle: SOLID;
23815             }
23816             description { state: "selected" 0.0;
23817                inherit: "default" 0.0;
23818                visible: 1;
23819                color: 255 255 255 255;
23820                rel1 {
23821                   relative: 0.0 0.0;
23822                   offset: -2 -2;
23823                }
23824                rel2 {
23825                   relative: 1.0 1.0;
23826                   offset: 1 1;
23827                }
23828             }
23829          }
23830          part { name: "elm.swallow.pad";
23831             type: SWALLOW;
23832             description { state: "default" 0.0;
23833                fixed: 1 0;
23834                align: 0.0 0.5;
23835                rel1 {
23836                   relative: 0.0  0.0;
23837                   offset:   4    4;
23838                }
23839                rel2 {
23840                   relative: 0.0  1.0;
23841                   offset:   4   -5;
23842                }
23843             }
23844          }
23845          part { name: "arrow";
23846             clip_to: "disclip";
23847             ignore_flags: ON_HOLD;
23848             description { state: "default" 0.0;
23849                fixed: 1 0;
23850                align: 0.0 0.5;
23851                aspect: 1.0 1.0;
23852                rel1 {
23853                   to_x: "elm.swallow.pad";
23854                   relative: 1.0  0.0;
23855                   offset:   -1    4;
23856                }
23857                rel2 {
23858                   to_x: "elm.swallow.pad";
23859                   relative: 1.0  1.0;
23860                   offset:   -1   -5;
23861                }
23862                image.normal: "icon_arrow_right.png";
23863             }
23864             description { state: "active" 0.0;
23865                inherit: "default" 0.0;
23866                image.normal: "icon_arrow_down.png";
23867             }
23868          }
23869          part { name: "elm.swallow.icon";
23870             clip_to: "disclip";
23871             type: SWALLOW;
23872             description { state: "default" 0.0;
23873                fixed: 1 0;
23874                align: 0.5 0.5;
23875                rel1 {
23876                   to_x: "arrow";
23877                   relative: 1.0  0.0;
23878                   offset:   4    4;
23879                }
23880                rel2 {
23881                   relative: 1.0  1.0;
23882                   offset:   -4   -5;
23883                }
23884             }
23885          }
23886          part { name: "elm.text";
23887             clip_to: "disclip";
23888             type:           TEXT;
23889             effect:         SOFT_SHADOW;
23890             mouse_events:   0;
23891             scale: 1;
23892             description {
23893                state: "default" 0.0;
23894 //               min: 16 16;
23895                rel1 {
23896                   to_y:     "elm.swallow.icon";
23897                   relative: 0.0  1.0;
23898                   offset:   0 4;
23899                }
23900                rel2 {
23901                   relative: 1.0  1.0;
23902                   offset:   -5 -5;
23903                }
23904                color: 0 0 0 255;
23905                color3: 0 0 0 0;
23906                text {
23907                   font: "Sans";
23908                   size: 10;
23909                   min: 1 1;
23910 //                  min: 0 1;
23911                   align: 0.5 0.5;
23912                   text_class: "list_item";
23913                }
23914             }
23915             description { state: "selected" 0.0;
23916                inherit: "default" 0.0;
23917                color: 224 224 224 255;
23918                color3: 0 0 0 64;
23919             }
23920          }
23921          part { name: "fg1";
23922             clip_to: "disclip";
23923             mouse_events: 0;
23924             description { state: "default" 0.0;
23925                visible: 0;
23926                color: 255 255 255 0;
23927                rel1.to: "bg";
23928                rel2.relative: 1.0 0.5;
23929                rel2.to: "bg";
23930                image {
23931                   normal: "bt_sm_hilight.png";
23932                   border: 6 6 6 0;
23933                }
23934             }
23935             description { state: "selected" 0.0;
23936                inherit: "default" 0.0;
23937                visible: 1;
23938                color: 255 255 255 255;
23939             }
23940          }
23941          part { name: "fg2";
23942             clip_to: "disclip";
23943             mouse_events: 0;
23944             description { state: "default" 0.0;
23945                visible: 0;
23946                color: 255 255 255 0;
23947                rel1.to: "bg";
23948                rel2.to: "bg";
23949                image {
23950                   normal: "bt_sm_shine.png";
23951                   border: 6 6 6 0;
23952                }
23953             }
23954             description { state: "selected" 0.0;
23955                inherit: "default" 0.0;
23956                visible: 1;
23957                color: 255 255 255 255;
23958             }
23959          }
23960          part { name: "disclip";
23961             type: RECT;
23962             description { state: "default" 0.0;
23963                rel1.to: "bg";
23964                rel2.to: "bg";
23965             }
23966             description { state: "disabled" 0.0;
23967                inherit: "default" 0.0;
23968                color: 255 255 255 64;
23969             }
23970          }
23971       }
23972       programs {
23973          // signal: elm,state,%s,active
23974          //   a "check" item named %s went active
23975          // signal: elm,state,%s,passive
23976          //   a "check" item named %s went passive
23977          // default is passive
23978          program {
23979             name:    "go_active";
23980             signal:  "elm,state,selected";
23981             source:  "elm";
23982             action:  STATE_SET "selected" 0.0;
23983             target:  "bg";
23984             target:  "fg1";
23985             target:  "fg2";
23986             target:  "elm.text";
23987          }
23988          program {
23989             name:    "go_passive";
23990             signal:  "elm,state,unselected";
23991             source:  "elm";
23992             action:  STATE_SET "default" 0.0;
23993             target:  "bg";
23994             target:  "fg1";
23995             target:  "fg2";
23996             target:  "elm.text";
23997             transition: LINEAR 0.1;
23998          }
23999          program {
24000             name:    "go_disabled";
24001             signal:  "elm,state,disabled";
24002             source:  "elm";
24003             action:  STATE_SET "disabled" 0.0;
24004             target:  "disclip";
24005          }
24006          program {
24007             name:    "go_enabled";
24008             signal:  "elm,state,enabled";
24009             source:  "elm";
24010             action:  STATE_SET "default" 0.0;
24011             target:  "disclip";
24012          }
24013          program {
24014             name:    "expand";
24015             signal:  "mouse,up,1";
24016             source:  "arrow";
24017             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
24018          }
24019          program {
24020             name:    "go_expanded";
24021             signal:  "elm,state,expanded";
24022             source:  "elm";
24023             action:  STATE_SET "active" 0.0;
24024             target:  "arrow";
24025          }
24026          program {
24027             name:    "go_contracted";
24028             signal:  "elm,state,contracted";
24029             source:  "elm";
24030             action:  STATE_SET "default" 0.0;
24031             target:  "arrow";
24032          }
24033       }
24034    }
24035
24036
24037 ///////////////////////////////////////////////////////////////////////////////
24038    group { name: "elm/check/base/default";
24039       images {
24040          image: "check_base.png" COMP;
24041          image: "check.png" COMP;
24042          image: "check2.png" COMP;
24043       }
24044       parts {
24045          part { name: "bg";
24046             mouse_events: 0;
24047             scale: 1;
24048             description { state: "default" 0.0;
24049                rel1.offset: 1 1;
24050                rel2.relative: 0.0 1.0;
24051                rel2.offset: 1 -2;
24052                align: 0.0 0.5;
24053                min: 16 16;
24054                max: 16 16;
24055                aspect: 1.0 1.0;
24056                aspect_preference: VERTICAL;
24057                image {
24058                   normal: "check_base.png";
24059                   border: 5 5 5 5;
24060                   middle: 0;
24061                }
24062                fill.smooth : 0;
24063             }
24064          }
24065          part { name: "check";
24066             mouse_events: 0;
24067             scale: 1;
24068             description { state: "default" 0.0;
24069                rel1 {
24070                   to: "bg";
24071                   offset: 1 1;
24072                }
24073                rel2 {
24074                   to: "bg";
24075                   offset: -2 -2;
24076                }
24077                visible: 0;
24078                color: 255 255 255 255;
24079                image.normal: "check.png";
24080             }
24081             description { state: "visible" 0.0;
24082                inherit: "default" 0.0;
24083                visible: 1;
24084             }
24085             description { state: "disabled" 0.0;
24086                inherit: "default" 0.0;
24087                visible: 0;
24088                color: 128 128 128 128;
24089             }
24090             description { state: "disabled_visible" 0.0;
24091                inherit: "default" 0.0;
24092                color: 128 128 128 128;
24093                visible: 1;
24094             }
24095          }
24096          part { name: "elm.swallow.content";
24097             type: SWALLOW;
24098             description { state: "default" 0.0;
24099                fixed: 1 0;
24100                visible: 0;
24101                align: 0.0 0.5;
24102           rel1.to_x: "bg";
24103                rel1.relative: 1.0 0.0;
24104                rel1.offset: 1 1;
24105           rel2.to_x: "bg";
24106                rel2.offset: 1 -2;
24107                rel2.relative: 1.0 1.0;
24108             }
24109             description { state: "visible" 0.0;
24110                inherit: "default" 0.0;
24111           fixed: 1 0;
24112                visible: 1;
24113                aspect: 1.0 1.0;
24114             }
24115             description { state: "disabled" 0.0;
24116                inherit: "default" 0.0;
24117                color: 128 128 128 128;
24118             }
24119             description { state: "disabled_visible" 0.0;
24120                inherit: "default" 0.0;
24121                color: 128 128 128 128;
24122           fixed: 1 0;
24123                visible: 1;
24124                aspect: 1.0 1.0;
24125             }
24126          }
24127          part { name: "elm.text";
24128             type: TEXT;
24129             mouse_events: 0;
24130             scale: 1;
24131             description { state: "default" 0.0;
24132                visible: 0;
24133                rel1.to_x: "elm.swallow.content";
24134                rel1.relative: 1.0 0.0;
24135                rel1.offset: 1 1;
24136                rel2.relative: 1.0 1.0;
24137                rel2.offset: -2 -2;
24138                color: 0 0 0 255;
24139                text {
24140                   font: "Sans,Edje-Vera";
24141                   size: 10;
24142                   min: 0 1;
24143                   align: 0.0 0.5;
24144                }
24145             }
24146             description { state: "visible" 0.0;
24147                inherit: "default" 0.0;
24148                visible: 1;
24149                text.min: 1 1;
24150             }
24151             description { state: "disabled" 0.0;
24152                inherit: "default" 0.0;
24153                color: 0 0 0 128;
24154                color3: 0 0 0 0;
24155             }
24156             description { state: "disabled_visible" 0.0;
24157                inherit: "default" 0.0;
24158                color: 0 0 0 128;
24159                color3: 0 0 0 0;
24160                visible: 1;
24161                text.min: 1 1;
24162             }
24163          }
24164          part { name: "events";
24165             type: RECT;
24166             ignore_flags: ON_HOLD;
24167             description { state: "default" 0.0;
24168                color: 0 0 0 0;
24169             }
24170          }
24171          part { name: "disabler";
24172             type: RECT;
24173             description { state: "default" 0.0;
24174                color: 0 0 0 0;
24175                visible: 0;
24176             }
24177             description { state: "disabled" 0.0;
24178                inherit: "default" 0.0;
24179                visible: 1;
24180             }
24181          }
24182       }
24183       programs {
24184          program { name: "click";
24185             signal: "mouse,up,1";
24186             source: "events";
24187             action: SIGNAL_EMIT "elm,action,check,toggle" "";
24188          }
24189          program { name: "check_on";
24190             signal: "elm,state,check,on";
24191             source: "elm";
24192             action:  STATE_SET "visible" 0.0;
24193             target: "check";
24194          }
24195          program { name: "check_off";
24196             signal: "elm,state,check,off";
24197             source: "elm";
24198             action:  STATE_SET "default" 0.0;
24199             target: "check";
24200          }
24201          program { name: "text_show";
24202             signal: "elm,state,text,visible";
24203             source: "elm";
24204             action:  STATE_SET "visible" 0.0;
24205             target: "elm.text";
24206          }
24207          program { name: "text_hide";
24208             signal: "elm,state,text,hidden";
24209             source: "elm";
24210             action:  STATE_SET "default" 0.0;
24211             target: "elm.text";
24212          }
24213          program { name: "icon_show";
24214             signal: "elm,state,icon,visible";
24215             source: "elm";
24216             action:  STATE_SET "visible" 0.0;
24217             target: "elm.swallow.content";
24218          }
24219          program { name: "icon_hide";
24220             signal: "elm,state,icon,hidden";
24221             source: "elm";
24222             action:  STATE_SET "default" 0.0;
24223             target: "elm.swallow.content";
24224          }
24225          program { name: "disable";
24226             signal: "elm,state,disabled";
24227             source: "elm";
24228             action: STATE_SET "disabled" 0.0;
24229             target: "disabler";
24230             after: "disable_text";
24231          }
24232          program { name: "disable_text";
24233             script {
24234                new st[31];
24235                new Float:vl;
24236                get_state(PART:"elm.text", st, 30, vl);
24237                if (!strcmp(st, "visible"))
24238                  set_state(PART:"elm.text", "disabled_visible", 0.0);
24239                else
24240                  set_state(PART:"elm.text", "disabled", 0.0);
24241
24242                get_state(PART:"elm.swallow.content", st, 30, vl);
24243                if (!strcmp(st, "visible"))
24244                  set_state(PART:"elm.swallow.content", "disabled_visible", 0.0);
24245                else
24246                  set_state(PART:"elm.swallow.content", "disabled", 0.0);
24247
24248                get_state(PART:"check", st, 30, vl);
24249                if (!strcmp(st, "visible"))
24250                  set_state(PART:"check", "disabled_visible", 0.0);
24251                else
24252                  set_state(PART:"check", "disabled", 0.0);
24253             }
24254          }
24255          program { name: "enable";
24256             signal: "elm,state,enabled";
24257             source: "elm";
24258             action: STATE_SET "default" 0.0;
24259             target: "disabler";
24260             after: "enable_text";
24261          }
24262          program { name: "enable_text";
24263             script {
24264                new st[31];
24265                new Float:vl;
24266                get_state(PART:"elm.text", st, 30, vl);
24267                if (!strcmp(st, "disabled_visible"))
24268                  set_state(PART:"elm.text", "visible", 0.0);
24269                else
24270                  set_state(PART:"elm.text", "default", 0.0);
24271
24272                get_state(PART:"elm.swallow.content", st, 30, vl);
24273                if (!strcmp(st, "visible"))
24274                  set_state(PART:"elm.swallow.content", "visible", 0.0);
24275                else
24276                  set_state(PART:"elm.swallow.content", "default", 0.0);
24277
24278                get_state(PART:"check", st, 30, vl);
24279                if (!strcmp(st, "visible"))
24280                  set_state(PART:"check", "visible", 0.0);
24281                else
24282                  set_state(PART:"check", "default", 0.0);
24283             }
24284          }
24285       }
24286    }
24287 ///////////////////////////////////////////////////////////////////////////////
24288    group { name: "elm/radio/base/default";
24289       images {
24290          image: "radio_base.png" COMP;
24291          image: "radio.png" COMP;
24292          image: "radio2.png" COMP;
24293       }
24294       parts {
24295          part { name: "bg";
24296             mouse_events: 0;
24297             scale: 1;
24298             description { state: "default" 0.0;
24299                rel1.offset: 1 1;
24300                rel2.relative: 0.0 1.0;
24301                rel2.offset: 1 -2;
24302                align: 0.0 0.5;
24303                min: 16 16;
24304                max: 16 16;
24305                aspect: 1.0 1.0;
24306                aspect_preference: VERTICAL;
24307                image.normal: "radio_base.png";
24308             }
24309          }
24310          part { name: "radio";
24311             mouse_events: 0;
24312             scale: 1;
24313             description { state: "default" 0.0;
24314                rel1.to: "bg";
24315                rel2.to: "bg";
24316                visible: 0;
24317                image.normal: "radio.png";
24318             }
24319             description { state: "visible" 0.0;
24320                inherit: "default" 0.0;
24321                visible: 1;
24322             }
24323          }
24324          part { name: "elm.swallow.content";
24325             type: SWALLOW;
24326             description { state: "default" 0.0;
24327                fixed: 1 0;
24328                visible: 0;
24329                align: 0.0 0.5;
24330                color: 0 0 0 0;
24331                rel1.to_x: "bg";
24332                rel1.relative: 1.0 0.0;
24333                rel1.offset: 1 1;
24334                rel2.to_x: "bg";
24335                rel2.relative: 1.0 1.0;
24336                rel2.offset: 2 -2;
24337             }
24338             description { state: "visible" 0.0;
24339                inherit: "default" 0.0;
24340                visible: 1;
24341                color: 255 255 255 255;
24342                aspect: 1.0 1.0;
24343             }
24344             description { state: "disabled" 0.0;
24345                inherit: "default" 0.0;
24346                color: 128 128 128 128;
24347             }
24348             description { state: "disabled_visible" 0.0;
24349                inherit: "default" 0.0;
24350                color: 128 128 128 128;
24351                visible: 1;
24352                aspect: 1.0 1.0;
24353             }
24354          }
24355          part { name: "elm.text";
24356             type: TEXT;
24357             mouse_events: 0;
24358             scale: 1;
24359             description { state: "default" 0.0;
24360                visible: 0;
24361                rel1.to_x: "elm.swallow.content";
24362                rel1.relative: 1.0 0.0;
24363                rel1.offset: 1 1;
24364                rel2.relative: 1.0 1.0;
24365                rel2.offset: -2 -2;
24366                color: 0 0 0 255;
24367                text {
24368                   font: "Sans,Edje-Vera";
24369                   size: 10;
24370                   min: 0 0;
24371                   align: 0.0 0.5;
24372                }
24373             }
24374             description { state: "visible" 0.0;
24375                inherit: "default" 0.0;
24376                visible: 1;
24377                text.min: 1 1;
24378             }
24379             description { state: "disabled" 0.0;
24380                inherit: "default" 0.0;
24381                color: 0 0 0 128;
24382                color3: 0 0 0 0;
24383             }
24384             description { state: "disabled_visible" 0.0;
24385                inherit: "default" 0.0;
24386                color: 0 0 0 128;
24387                color3: 0 0 0 0;
24388                visible: 1;
24389                text.min: 1 1;
24390             }
24391          }
24392          part { name: "events";
24393             type: RECT;
24394             ignore_flags: ON_HOLD;
24395             description { state: "default" 0.0;
24396                color: 0 0 0 0;
24397             }
24398          }
24399          part { name: "disabler";
24400             type: RECT;
24401             description { state: "default" 0.0;
24402                color: 0 0 0 0;
24403                visible: 0;
24404             }
24405             description { state: "disabled" 0.0;
24406                inherit: "default" 0.0;
24407                visible: 1;
24408             }
24409          }
24410       }
24411       programs {
24412          program { name: "click";
24413             signal: "mouse,up,1";
24414             source: "events";
24415             action: SIGNAL_EMIT "elm,action,radio,toggle" "";
24416          }
24417          program { name: "radio_on";
24418             signal: "elm,state,radio,on";
24419             source: "elm";
24420             action:  STATE_SET "visible" 0.0;
24421             target: "radio";
24422          }
24423          program { name: "radio_off";
24424             signal: "elm,state,radio,off";
24425             source: "elm";
24426             action:  STATE_SET "default" 0.0;
24427             target: "radio";
24428          }
24429          program { name: "text_show";
24430             signal: "elm,state,text,visible";
24431             source: "elm";
24432             action:  STATE_SET "visible" 0.0;
24433             target: "elm.text";
24434          }
24435          program { name: "text_hide";
24436             signal: "elm,state,text,hidden";
24437             source: "elm";
24438             action:  STATE_SET "default" 0.0;
24439             target: "elm.text";
24440          }
24441          program { name: "icon_show";
24442             signal: "elm,state,icon,visible";
24443             source: "elm";
24444             action:  STATE_SET "visible" 0.0;
24445             target: "elm.swallow.content";
24446          }
24447          program { name: "icon_hide";
24448             signal: "elm,state,icon,hidden";
24449             source: "elm";
24450             action:  STATE_SET "default" 0.0;
24451             target: "elm.swallow.content";
24452          }
24453          program { name: "disable";
24454             signal: "elm,state,disabled";
24455             source: "elm";
24456             action: STATE_SET "disabled" 0.0;
24457             target: "disabler";
24458             after: "disable_text";
24459          }
24460          program { name: "disable_text";
24461             script {
24462                new st[31];
24463                new Float:vl;
24464                get_state(PART:"elm.text", st, 30, vl);
24465                if (!strcmp(st, "visible"))
24466                  set_state(PART:"elm.text", "disabled_visible", 0.0);
24467                else
24468                  set_state(PART:"elm.text", "disabled", 0.0);
24469
24470                get_state(PART:"elm.swallow.content", st, 30, vl);
24471                if (!strcmp(st, "visible"))
24472                  set_state(PART:"elm.swallow.content", "disabled_visible", 0.0);
24473                else
24474                  set_state(PART:"elm.swallow.content", "disabled", 0.0);
24475             }
24476          }
24477          program { name: "enable";
24478             signal: "elm,state,enabled";
24479             source: "elm";
24480             action: STATE_SET "default" 0.0;
24481             target: "disabler";
24482             after: "enable_text";
24483          }
24484          program { name: "enable_text";
24485             script {
24486                new st[31];
24487                new Float:vl;
24488                get_state(PART:"elm.text", st, 30, vl);
24489                if (!strcmp(st, "disabled_visible"))
24490                  set_state(PART:"elm.text", "visible", 0.0);
24491                else
24492                  set_state(PART:"elm.text", "default", 0.0);
24493
24494                get_state(PART:"elm.swallow.content", st, 30, vl);
24495                if (!strcmp(st, "visible"))
24496                  set_state(PART:"elm.swallow.content", "visible", 0.0);
24497                else
24498                  set_state(PART:"elm.swallow.content", "default", 0.0);
24499             }
24500          }
24501       }
24502    }
24503    group { name: "elm/genlist/tree_compress_odd/double_label/default";
24504       data.item: "stacking" "below";
24505       data.item: "selectraise" "on";
24506       data.item: "labels" "elm.text elm.text.sub";
24507       data.item: "icons" "elm.swallow.icon elm.swallow.end";
24508       data.item: "treesize" "20";
24509 //      data.item: "states" "";
24510       images {
24511          image: "bt_sm_base1.png" COMP;
24512          image: "bt_sm_shine.png" COMP;
24513          image: "bt_sm_hilight.png" COMP;
24514          image: "ilist_2.png" COMP;
24515          image: "icon_arrow_right.png" COMP;
24516          image: "icon_arrow_down.png" COMP;
24517       }
24518       parts {
24519          part {
24520             name:           "event";
24521             type:           RECT;
24522             repeat_events: 1;
24523             description {
24524                state: "default" 0.0;
24525                color: 0 0 0 0;
24526             }
24527          }
24528          part {
24529             name: "base";
24530             mouse_events: 0;
24531             description {
24532                state: "default" 0.0;
24533                image {
24534                   normal: "ilist_2.png";
24535                   border: 2 2 2 2;
24536                }
24537                fill.smooth: 0;
24538             }
24539          }
24540          part { name: "bg";
24541             clip_to: "disclip";
24542             mouse_events: 0;
24543             description { state: "default" 0.0;
24544                visible: 0;
24545                color: 255 255 255 0;
24546                rel1 {
24547                   relative: 0.0 0.0;
24548                   offset: -5 -5;
24549                }
24550                rel2 {
24551                   relative: 1.0 1.0;
24552                   offset: 4 4;
24553                }
24554                image {
24555                   normal: "bt_sm_base1.png";
24556                   border: 6 6 6 6;
24557                }
24558                image.middle: SOLID;
24559             }
24560             description { state: "selected" 0.0;
24561                inherit: "default" 0.0;
24562                visible: 1;
24563                color: 255 255 255 255;
24564                rel1 {
24565                   relative: 0.0 0.0;
24566                   offset: -2 -2;
24567                }
24568                rel2 {
24569                   relative: 1.0 1.0;
24570                   offset: 1 1;
24571                }
24572             }
24573          }
24574          part { name: "elm.swallow.pad";
24575             type: SWALLOW;
24576             description { state: "default" 0.0;
24577                fixed: 1 0;
24578                align: 0.0 0.5;
24579                rel1 {
24580                   relative: 0.0  0.0;
24581                   offset:   4    4;
24582                }
24583                rel2 {
24584                   relative: 0.0  1.0;
24585                   offset:   4   -5;
24586                }
24587             }
24588          }
24589          part { name: "arrow";
24590             clip_to: "disclip";
24591             ignore_flags: ON_HOLD;
24592             description { state: "default" 0.0;
24593                fixed: 1 0;
24594                align: 0.0 0.5;
24595                aspect: 1.0 1.0;
24596                rel1 {
24597                   to_x: "elm.swallow.pad";
24598                   relative: 1.0  0.0;
24599                   offset:   -1    4;
24600                }
24601                rel2 {
24602                   to_x: "elm.swallow.pad";
24603                   relative: 1.0  1.0;
24604                   offset:   -1   -5;
24605                }
24606                image.normal: "icon_arrow_right.png";
24607             }
24608             description { state: "active" 0.0;
24609                inherit: "default" 0.0;
24610                image.normal: "icon_arrow_down.png";
24611             }
24612          }
24613          part { name: "elm.swallow.icon";
24614             clip_to: "disclip";
24615             type: SWALLOW;
24616             description { state: "default" 0.0;
24617                fixed: 1 0;
24618                align: 0.0 0.5;
24619                rel1 {
24620                   to_x: "arrow";
24621                   relative: 1.0  0.0;
24622                   offset:   4    4;
24623                }
24624                rel2 {
24625                   to_x: "arrow";
24626                   relative: 1.0  1.0;
24627                   offset:   4   -5;
24628                }
24629             }
24630          }
24631          part { name: "elm.swallow.end";
24632             clip_to: "disclip";
24633             type: SWALLOW;
24634             description { state: "default" 0.0;
24635                fixed: 1 0;
24636                align: 1.0 0.5;
24637                aspect: 1.0 1.0;
24638                aspect_preference: VERTICAL;
24639                rel1 {
24640                   relative: 1.0  0.0;
24641                   offset:   -5    4;
24642                }
24643                rel2 {
24644                   relative: 1.0  1.0;
24645                   offset:   -5   -5;
24646                }
24647             }
24648          }
24649          part { name: "elm.text";
24650             clip_to: "disclip";
24651             type:           TEXT;
24652             effect:         SOFT_SHADOW;
24653             mouse_events:   0;
24654             scale: 1;
24655             description {
24656                state: "default" 0.0;
24657 //               min: 16 16;
24658                rel1 {
24659                   to_x:     "elm.swallow.icon";
24660                   relative: 1.0  0.0;
24661                   offset:   0 4;
24662                }
24663                rel2 {
24664                   to_x:     "elm.swallow.end";
24665                   relative: 0.0  0.5;
24666                   offset:   -1 -5;
24667                }
24668                color: 0 0 0 255;
24669                color3: 0 0 0 0;
24670                text {
24671                   font: "Sans";
24672                   size: 10;
24673 //                  min: 1 1;
24674                   min: 0 1;
24675                   align: 0.0 0.5;
24676                   text_class: "list_item";
24677                }
24678             }
24679             description { state: "selected" 0.0;
24680                inherit: "default" 0.0;
24681                color: 224 224 224 255;
24682                color3: 0 0 0 64;
24683             }
24684          }
24685          part { name: "elm.text.sub";
24686             clip_to: "disclip";
24687             type:           TEXT;
24688             mouse_events:   0;
24689             scale: 1;
24690             description {
24691                state: "default" 0.0;
24692 //               min: 16 16;
24693                rel1 {
24694                   to_x:     "elm.swallow.icon";
24695                   relative: 1.0  0.5;
24696                   offset:   0 4;
24697                }
24698                rel2 {
24699                   to_x:     "elm.swallow.end";
24700                   relative: 0.0  1.0;
24701                   offset:   -1 -5;
24702                }
24703                color: 0 0 0 128;
24704                color3: 0 0 0 0;
24705                text {
24706                   font: "Sans";
24707                   size: 8;
24708 //                  min: 1 1;
24709                   min: 0 1;
24710                   align: 0.0 0.5;
24711                   text_class: "list_item";
24712                }
24713             }
24714             description { state: "selected" 0.0;
24715                inherit: "default" 0.0;
24716                color: 128 128 128 255;
24717                color3: 0 0 0 32;
24718             }
24719          }
24720          part { name: "fg1";
24721             clip_to: "disclip";
24722             mouse_events: 0;
24723             description { state: "default" 0.0;
24724                visible: 0;
24725                color: 255 255 255 0;
24726                rel1.to: "bg";
24727                rel2.relative: 1.0 0.5;
24728                rel2.to: "bg";
24729                image {
24730                   normal: "bt_sm_hilight.png";
24731                   border: 6 6 6 0;
24732                }
24733             }
24734             description { state: "selected" 0.0;
24735                inherit: "default" 0.0;
24736                visible: 1;
24737                color: 255 255 255 255;
24738             }
24739          }
24740          part { name: "fg2";
24741             clip_to: "disclip";
24742             mouse_events: 0;
24743             description { state: "default" 0.0;
24744                visible: 0;
24745                color: 255 255 255 0;
24746                rel1.to: "bg";
24747                rel2.to: "bg";
24748                image {
24749                   normal: "bt_sm_shine.png";
24750                   border: 6 6 6 0;
24751                }
24752             }
24753             description { state: "selected" 0.0;
24754                inherit: "default" 0.0;
24755                visible: 1;
24756                color: 255 255 255 255;
24757             }
24758          }
24759          part { name: "disclip";
24760             type: RECT;
24761             description { state: "default" 0.0;
24762                rel1.to: "bg";
24763                rel2.to: "bg";
24764             }
24765             description { state: "disabled" 0.0;
24766                inherit: "default" 0.0;
24767                color: 255 255 255 64;
24768             }
24769          }
24770       }
24771       programs {
24772          // signal: elm,state,%s,active
24773          //   a "check" item named %s went active
24774          // signal: elm,state,%s,passive
24775          //   a "check" item named %s went passive
24776          // default is passive
24777          program {
24778             name:    "go_active";
24779             signal:  "elm,state,selected";
24780             source:  "elm";
24781             action:  STATE_SET "selected" 0.0;
24782             target:  "bg";
24783             target:  "fg1";
24784             target:  "fg2";
24785             target:  "elm.text";
24786             target:  "elm.text.sub";
24787          }
24788          program {
24789             name:    "go_passive";
24790             signal:  "elm,state,unselected";
24791             source:  "elm";
24792             action:  STATE_SET "default" 0.0;
24793             target:  "bg";
24794             target:  "fg1";
24795             target:  "fg2";
24796             target:  "elm.text";
24797             target:  "elm.text.sub";
24798             transition: LINEAR 0.1;
24799          }
24800          program {
24801             name:    "go_disabled";
24802             signal:  "elm,state,disabled";
24803             source:  "elm";
24804             action:  STATE_SET "disabled" 0.0;
24805             target:  "disclip";
24806          }
24807          program {
24808             name:    "go_enabled";
24809             signal:  "elm,state,enabled";
24810             source:  "elm";
24811             action:  STATE_SET "default" 0.0;
24812             target:  "disclip";
24813          }
24814          program {
24815             name:    "expand";
24816             signal:  "mouse,up,1";
24817             source:  "arrow";
24818             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
24819          }
24820          program {
24821             name:    "go_expanded";
24822             signal:  "elm,state,expanded";
24823             source:  "elm";
24824             action:  STATE_SET "active" 0.0;
24825             target:  "arrow";
24826          }
24827          program {
24828             name:    "go_contracted";
24829             signal:  "elm,state,contracted";
24830             source:  "elm";
24831             action:  STATE_SET "default" 0.0;
24832             target:  "arrow";
24833          }
24834       }
24835    }
24836
24837    group { name: "elm/genlist/item_compress/media/default";
24838       data.item: "stacking" "above";
24839       data.item: "selectraise" "on";
24840       data.item: "labels" "elm.text.title elm.text.album-artist";
24841       data.item: "treesize" "20";
24842       images {
24843          image: "bt_sm_base1.png" COMP;
24844          image: "bt_sm_shine.png" COMP;
24845          image: "bt_sm_hilight.png" COMP;
24846          image: "ilist_1.png" COMP;
24847          image: "ilist_item_shadow.png" COMP;
24848       }
24849       parts {
24850          part {
24851             name:           "event";
24852             type:           RECT;
24853             repeat_events: 1;
24854             description {
24855                state: "default" 0.0;
24856                color: 0 0 0 0;
24857             }
24858          }
24859          part {
24860             name: "base_sh";
24861             mouse_events: 0;
24862             description {
24863                state: "default" 0.0;
24864                align: 0.0 0.0;
24865                min: 0 10;
24866                fixed: 1 1;
24867                rel1 {
24868                   to: "base";
24869                   relative: 0.0 1.0;
24870                   offset: 0 0;
24871                }
24872                rel2 {
24873                   to: "base";
24874                   relative: 1.0 1.0;
24875                   offset: -1 0;
24876                }
24877                image {
24878                   normal: "ilist_item_shadow.png";
24879                }
24880                fill.smooth: 0;
24881             }
24882          }
24883          part {
24884             name: "base";
24885             mouse_events: 0;
24886             description {
24887                state: "default" 0.0;
24888                image {
24889                   normal: "ilist_1.png";
24890                   border: 2 2 2 2;
24891                }
24892                fill.smooth: 0;
24893             }
24894          }
24895          part { name: "bg";
24896             clip_to: "disclip";
24897             mouse_events: 0;
24898             description { state: "default" 0.0;
24899                visible: 0;
24900                color: 255 255 255 0;
24901                rel1 {
24902                   relative: 0.0 0.0;
24903                   offset: -5 -5;
24904                }
24905                rel2 {
24906                   relative: 1.0 1.0;
24907                   offset: 4 4;
24908                }
24909                image {
24910                   normal: "bt_sm_base1.png";
24911                   border: 6 6 6 6;
24912                }
24913                image.middle: SOLID;
24914             }
24915             description { state: "selected" 0.0;
24916                inherit: "default" 0.0;
24917                visible: 1;
24918                color: 255 255 255 255;
24919                rel1 {
24920                   relative: 0.0 0.0;
24921                   offset: -2 -2;
24922                }
24923                rel2 {
24924                   relative: 1.0 1.0;
24925                   offset: 1 1;
24926                }
24927             }
24928          }
24929          part { name: "elm.swallow.pad";
24930             type: SWALLOW;
24931             description { state: "default" 0.0;
24932                fixed: 1 0;
24933                align: 0.0 0.5;
24934                rel1 {
24935                   relative: 0.0  0.0;
24936                   offset:   4    4;
24937                }
24938                rel2 {
24939                   relative: 0.0  1.0;
24940                   offset:   4   -5;
24941                }
24942             }
24943          }
24944          part { name: "elm.text.title";
24945             clip_to: "disclip";
24946             type:           TEXT;
24947             effect:         SOFT_SHADOW;
24948             mouse_events:   0;
24949             scale: 1;
24950             description {
24951                state: "default" 0.0;
24952                rel1 {
24953                   relative: 0.0  0.0;
24954                   offset:   4 4;
24955                }
24956                rel2 {
24957                   relative: 1.0  0.5;
24958                   offset:   -1 -5;
24959                }
24960                color: 0 0 0 255;
24961                color3: 0 0 0 0;
24962                text {
24963                   font: "Sans";
24964                   size: 10;
24965                   min: 0 1;
24966                   align: 0.0 0.5;
24967                }
24968             }
24969             description { state: "selected" 0.0;
24970                inherit: "default" 0.0;
24971                color: 224 224 224 255;
24972                color3: 0 0 0 64;
24973             }
24974          }
24975          part { name: "elm.text.album-artist";
24976             clip_to: "disclip";
24977             type:           TEXT;
24978             mouse_events:   0;
24979             scale: 1;
24980             description {
24981                state: "default" 0.0;
24982                rel1 {
24983                   relative: 0.0  0.5;
24984                   offset:   4 4;
24985                }
24986                rel2 {
24987                   relative: 1.0  1.0;
24988                   offset:   -1 -5;
24989                }
24990                color: 0 0 0 128;
24991                color3: 0 0 0 0;
24992                text {
24993                   font: "Sans";
24994                   size: 8;
24995                   min: 0 1;
24996                   align: 0.0 0.5;
24997                }
24998             }
24999             description { state: "selected" 0.0;
25000                inherit: "default" 0.0;
25001                color: 128 128 128 255;
25002                color3: 0 0 0 32;
25003             }
25004          }
25005          part { name: "fg1";
25006             clip_to: "disclip";
25007             mouse_events: 0;
25008             description { state: "default" 0.0;
25009                visible: 0;
25010                color: 255 255 255 0;
25011                rel1.to: "bg";
25012                rel2.relative: 1.0 0.5;
25013                rel2.to: "bg";
25014                image {
25015                   normal: "bt_sm_hilight.png";
25016                   border: 6 6 6 0;
25017                }
25018             }
25019             description { state: "selected" 0.0;
25020                inherit: "default" 0.0;
25021                visible: 1;
25022                color: 255 255 255 255;
25023             }
25024          }
25025          part { name: "fg2";
25026             clip_to: "disclip";
25027             mouse_events: 0;
25028             description { state: "default" 0.0;
25029                visible: 0;
25030                color: 255 255 255 0;
25031                rel1.to: "bg";
25032                rel2.to: "bg";
25033                image {
25034                   normal: "bt_sm_shine.png";
25035                   border: 6 6 6 0;
25036                }
25037             }
25038             description { state: "selected" 0.0;
25039                inherit: "default" 0.0;
25040                visible: 1;
25041                color: 255 255 255 255;
25042             }
25043          }
25044          part { name: "disclip";
25045             type: RECT;
25046             description { state: "default" 0.0;
25047                rel1.to: "bg";
25048                rel2.to: "bg";
25049             }
25050             description { state: "disabled" 0.0;
25051                inherit: "default" 0.0;
25052                color: 255 255 255 64;
25053             }
25054          }
25055       }
25056       programs {
25057          // signal: elm,state,%s,active
25058          //   a "check" item named %s went active
25059          // signal: elm,state,%s,passive
25060          //   a "check" item named %s went passive
25061          // default is passive
25062          program {
25063             name:    "go_active";
25064             signal:  "elm,state,selected";
25065             source:  "elm";
25066             action:  STATE_SET "selected" 0.0;
25067             target:  "bg";
25068             target:  "fg1";
25069             target:  "fg2";
25070             target:  "elm.text.title";
25071             target:  "elm.text.album-artist";
25072          }
25073          program {
25074             name:    "go_passive";
25075             signal:  "elm,state,unselected";
25076             source:  "elm";
25077             action:  STATE_SET "default" 0.0;
25078             target:  "bg";
25079             target:  "fg1";
25080             target:  "fg2";
25081             target:  "elm.text.title";
25082             target:  "elm.text.album-artist";
25083             transition: LINEAR 0.1;
25084          }
25085          program {
25086             name:    "go_disabled";
25087             signal:  "elm,state,disabled";
25088             source:  "elm";
25089             action:  STATE_SET "disabled" 0.0;
25090             target:  "disclip";
25091          }
25092          program {
25093             name:    "go_enabled";
25094             signal:  "elm,state,enabled";
25095             source:  "elm";
25096             action:  STATE_SET "default" 0.0;
25097             target:  "disclip";
25098          }
25099       }
25100    }
25101    group { name: "elm/genlist/item_compress_odd/media/default";
25102       data.item: "stacking" "below";
25103       data.item: "selectraise" "on";
25104       data.item: "labels" "elm.text.title elm.text.album-artist";
25105       data.item: "treesize" "20";
25106       images {
25107          image: "bt_sm_base1.png" COMP;
25108          image: "bt_sm_shine.png" COMP;
25109          image: "bt_sm_hilight.png" COMP;
25110          image: "ilist_2.png" COMP;
25111       }
25112       parts {
25113          part { name: "event";
25114             type: RECT;
25115             repeat_events: 1;
25116             description {
25117                state: "default" 0.0;
25118                color: 0 0 0 0;
25119             }
25120          }
25121          part {
25122             name: "base";
25123             mouse_events: 0;
25124             description {
25125                state: "default" 0.0;
25126                image {
25127                   normal: "ilist_2.png";
25128                   border: 2 2 2 2;
25129                }
25130                fill.smooth: 0;
25131             }
25132          }
25133          part { name: "bg";
25134             clip_to: "disclip";
25135             mouse_events: 0;
25136             description { state: "default" 0.0;
25137                visible: 0;
25138                color: 255 255 255 0;
25139                rel1 {
25140                   relative: 0.0 0.0;
25141                   offset: -5 -5;
25142                }
25143                rel2 {
25144                   relative: 1.0 1.0;
25145                   offset: 4 4;
25146                }
25147                image {
25148                   normal: "bt_sm_base1.png";
25149                   border: 6 6 6 6;
25150                }
25151                image.middle: SOLID;
25152             }
25153             description { state: "selected" 0.0;
25154                inherit: "default" 0.0;
25155                visible: 1;
25156                color: 255 255 255 255;
25157                rel1 {
25158                   relative: 0.0 0.0;
25159                   offset: -2 -2;
25160                }
25161                rel2 {
25162                   relative: 1.0 1.0;
25163                   offset: 1 1;
25164                }
25165             }
25166          }
25167          part { name: "elm.swallow.pad";
25168             type: SWALLOW;
25169             description { state: "default" 0.0;
25170                fixed: 1 0;
25171                align: 0.0 0.5;
25172                rel1 {
25173                   relative: 0.0  0.0;
25174                   offset:   4    4;
25175                }
25176                rel2 {
25177                   relative: 0.0  1.0;
25178                   offset:   4   -5;
25179                }
25180             }
25181          }
25182          part { name: "elm.text.title";
25183             clip_to: "disclip";
25184             type:           TEXT;
25185             effect:         SOFT_SHADOW;
25186             mouse_events:   0;
25187             scale: 1;
25188             description {
25189                state: "default" 0.0;
25190                rel1 {
25191                   relative: 0.0  0.0;
25192                   offset:   4 4;
25193                }
25194                rel2 {
25195                   relative: 1.0  0.5;
25196                   offset:   -1 -5;
25197                }
25198                color: 0 0 0 255;
25199                color3: 0 0 0 0;
25200                text {
25201                   font: "Sans";
25202                   size: 10;
25203                   min: 0 1;
25204                   align: 0.0 0.5;
25205                }
25206             }
25207             description { state: "selected" 0.0;
25208                inherit: "default" 0.0;
25209                color: 224 224 224 255;
25210                color3: 0 0 0 64;
25211             }
25212          }
25213          part { name: "elm.text.album-artist";
25214             clip_to: "disclip";
25215             type:           TEXT;
25216             mouse_events:   0;
25217             scale: 1;
25218             description {
25219                state: "default" 0.0;
25220                rel1 {
25221                   relative: 0.0  0.5;
25222                   offset:   4 4;
25223                }
25224                rel2 {
25225                   relative: 1.0  1.0;
25226                   offset:   -1 -5;
25227                }
25228                color: 0 0 0 128;
25229                color3: 0 0 0 0;
25230                text {
25231                   font: "Sans";
25232                   size: 8;
25233                   min: 0 1;
25234                   align: 0.0 0.5;
25235                }
25236             }
25237             description { state: "selected" 0.0;
25238                inherit: "default" 0.0;
25239                color: 128 128 128 255;
25240                color3: 0 0 0 32;
25241             }
25242          }
25243          part { name: "fg1";
25244             clip_to: "disclip";
25245             mouse_events: 0;
25246             description { state: "default" 0.0;
25247                visible: 0;
25248                color: 255 255 255 0;
25249                rel1.to: "bg";
25250                rel2.relative: 1.0 0.5;
25251                rel2.to: "bg";
25252                image {
25253                   normal: "bt_sm_hilight.png";
25254                   border: 6 6 6 0;
25255                }
25256             }
25257             description { state: "selected" 0.0;
25258                inherit: "default" 0.0;
25259                visible: 1;
25260                color: 255 255 255 255;
25261             }
25262          }
25263          part { name: "fg2";
25264             clip_to: "disclip";
25265             mouse_events: 0;
25266             description { state: "default" 0.0;
25267                visible: 0;
25268                color: 255 255 255 0;
25269                rel1.to: "bg";
25270                rel2.to: "bg";
25271                image {
25272                   normal: "bt_sm_shine.png";
25273                   border: 6 6 6 0;
25274                }
25275             }
25276             description { state: "selected" 0.0;
25277                inherit: "default" 0.0;
25278                visible: 1;
25279                color: 255 255 255 255;
25280             }
25281          }
25282          part { name: "disclip";
25283             type: RECT;
25284             description { state: "default" 0.0;
25285                rel1.to: "bg";
25286                rel2.to: "bg";
25287             }
25288             description { state: "disabled" 0.0;
25289                inherit: "default" 0.0;
25290                color: 255 255 255 64;
25291             }
25292          }
25293       }
25294       programs {
25295          // signal: elm,state,%s,active
25296          //   a "check" item named %s went active
25297          // signal: elm,state,%s,passive
25298          //   a "check" item named %s went passive
25299          // default is passive
25300          program {
25301             name:    "go_active";
25302             signal:  "elm,state,selected";
25303             source:  "elm";
25304             action:  STATE_SET "selected" 0.0;
25305             target:  "bg";
25306             target:  "fg1";
25307             target:  "fg2";
25308             target:  "elm.text.title";
25309             target:  "elm.text.album-artist";
25310          }
25311          program {
25312             name:    "go_passive";
25313             signal:  "elm,state,unselected";
25314             source:  "elm";
25315             action:  STATE_SET "default" 0.0;
25316             target:  "bg";
25317             target:  "fg1";
25318             target:  "fg2";
25319             target:  "elm.text.title";
25320             target:  "elm.text.album-artist";
25321             transition: LINEAR 0.1;
25322          }
25323          program {
25324             name:    "go_disabled";
25325             signal:  "elm,state,disabled";
25326             source:  "elm";
25327             action:  STATE_SET "disabled" 0.0;
25328             target:  "disclip";
25329          }
25330          program {
25331             name:    "go_enabled";
25332             signal:  "elm,state,enabled";
25333             source:  "elm";
25334             action:  STATE_SET "default" 0.0;
25335             target:  "disclip";
25336          }
25337       }
25338    }
25339
25340    group { name: "elm/genlist/item_compress/media-album/default";
25341       data.item: "stacking" "above";
25342       data.item: "selectraise" "on";
25343       data.item: "labels" "elm.text.title elm.text.trackno elm.text.length";
25344       data.item: "states" "elm.state.trackno";
25345       data.item: "treesize" "20";
25346       images {
25347          image: "bt_sm_base1.png" COMP;
25348          image: "bt_sm_shine.png" COMP;
25349          image: "bt_sm_hilight.png" COMP;
25350          image: "ilist_1.png" COMP;
25351          image: "ilist_item_shadow.png" COMP;
25352       }
25353       script {
25354          public dot_visible;
25355       }
25356       parts {
25357          part {
25358             name: "event";
25359             type: RECT;
25360             repeat_events: 1;
25361             description {
25362                state: "default" 0.0;
25363                color: 0 0 0 0;
25364             }
25365          }
25366          part {
25367             name: "base_sh";
25368             mouse_events: 0;
25369             description {
25370                state: "default" 0.0;
25371                align: 0.0 0.0;
25372                min: 0 10;
25373                fixed: 1 1;
25374                rel1 {
25375                   to: "base";
25376                   relative: 0.0 1.0;
25377                   offset: 0 0;
25378                }
25379                rel2 {
25380                   to: "base";
25381                   relative: 1.0 1.0;
25382                   offset: -1 0;
25383                }
25384                image {
25385                   normal: "ilist_item_shadow.png";
25386                }
25387                fill.smooth: 0;
25388             }
25389          }
25390          part {
25391             name: "base";
25392             mouse_events: 0;
25393             description {
25394                state: "default" 0.0;
25395                image {
25396                   normal: "ilist_1.png";
25397                   border: 2 2 2 2;
25398                }
25399                fill.smooth: 0;
25400             }
25401          }
25402          part { name: "bg";
25403             clip_to: "disclip";
25404             mouse_events: 0;
25405             description { state: "default" 0.0;
25406                visible: 0;
25407                color: 255 255 255 0;
25408                rel1 {
25409                   relative: 0.0 0.0;
25410                   offset: -5 -5;
25411                }
25412                rel2 {
25413                   relative: 1.0 1.0;
25414                   offset: 4 4;
25415                }
25416                image {
25417                   normal: "bt_sm_base1.png";
25418                   border: 6 6 6 6;
25419                }
25420                image.middle: SOLID;
25421             }
25422             description { state: "selected" 0.0;
25423                inherit: "default" 0.0;
25424                visible: 1;
25425                color: 255 255 255 255;
25426                rel1 {
25427                   relative: 0.0 0.0;
25428                   offset: -2 -2;
25429                }
25430                rel2 {
25431                   relative: 1.0 1.0;
25432                   offset: 1 1;
25433                }
25434             }
25435          }
25436          part { name: "elm.swallow.pad";
25437             type: SWALLOW;
25438             description { state: "default" 0.0;
25439                fixed: 1 0;
25440                align: 0.0 0.5;
25441                rel1 {
25442                   relative: 0.0  0.0;
25443                   offset:   4    4;
25444                }
25445                rel2 {
25446                   relative: 0.0  1.0;
25447                   offset:   4   -5;
25448                }
25449             }
25450          }
25451          part {
25452             name: "elm.text.trackno";
25453             type: TEXT;
25454             scale: 1;
25455             mouse_events: 0;
25456             description {
25457                state: "default" 0.0;
25458                color: 255 255 255 255;
25459                align: 0.0 0.0;
25460                fixed: 1 0;
25461                rel1 {
25462                   to_y: "elm.text.title";
25463                   relative: 0.0 0.0;
25464                   offset: 5 0;
25465                }
25466                rel2 {
25467                   to_y: "elm.text.title";
25468                   relative: 0.0 1.0;
25469                   offset: 20 0;
25470                }
25471                color: 0 0 0 255;
25472                color3: 0 0 0 0;
25473                text {
25474                   font: "Sans";
25475                   size: 10;
25476                   min: 1 1;
25477                   align: 1.0 0.5;
25478                }
25479             }
25480             description { state: "selected" 0.0;
25481                inherit: "default" 0.0;
25482                color: 224 224 224 255;
25483                color3: 0 0 0 64;
25484             }
25485          }
25486          part {
25487             name: "dot";
25488             type: TEXT;
25489             scale: 1;
25490             mouse_events: 0;
25491             description {
25492                state: "default" 0.0;
25493                color: 255 255 255 255;
25494                visible: 0;
25495                fixed: 1 1;
25496                align: 0.0 0.0;
25497                rel1 {
25498                   to_x: "elm.text.trackno";
25499                   to_y: "elm.text.title";
25500                   relative: 1.0 0.0;
25501                   offset: 1 0;
25502                }
25503                rel2 {
25504                   to_x: "elm.text.trackno";
25505                   to_y: "elm.text.title";
25506                   relative: 1.0 1.0;
25507                   offset: 1 0;
25508
25509                }
25510                color: 0 0 0 255;
25511                color3: 0 0 0 0;
25512                text {
25513                   font: "Sans";
25514                   size: 10;
25515                   min: 1 1;
25516                   align: 0.0 0.5;
25517                   text: ".";
25518                }
25519             }
25520             description {
25521                state: "visible" 0.0;
25522                inherit: "default" 0.0;
25523                visible: 1;
25524             }
25525             description { state: "selected" 0.0;
25526                inherit: "default" 0.0;
25527                color: 224 224 224 255;
25528                color3: 0 0 0 64;
25529                visible: 1;
25530             }
25531          }
25532          programs {
25533             program {
25534                signal: "elm,state,elm.state.trackno,active";
25535                source: "elm";
25536                script {
25537                   set_state(PART:"dot", "visible", 0.0);
25538                   set_int(dot_visible, 1);
25539                }
25540             }
25541          }
25542          part { name: "elm.text.title";
25543             clip_to: "disclip";
25544             type:           TEXT;
25545             effect:         SOFT_SHADOW;
25546             mouse_events:   0;
25547             scale: 1;
25548             description {
25549                state: "default" 0.0;
25550                rel1 {
25551                   to_x: "dot";
25552                   relative: 0.0  0.0;
25553                   offset:   4 4;
25554                }
25555                rel2 {
25556                   relative: 1.0  0.5;
25557                   offset:   -1 -5;
25558                }
25559                color: 0 0 0 255;
25560                color3: 0 0 0 0;
25561                text {
25562                   font: "Sans";
25563                   size: 10;
25564                   min: 0 1;
25565                   align: 0.0 0.5;
25566                }
25567             }
25568             description { state: "selected" 0.0;
25569                inherit: "default" 0.0;
25570                color: 224 224 224 255;
25571                color3: 0 0 0 64;
25572             }
25573          }
25574          part { name: "elm.text.length";
25575             clip_to: "disclip";
25576             type:           TEXT;
25577             mouse_events:   0;
25578             scale: 1;
25579             description {
25580                state: "default" 0.0;
25581                rel1 {
25582                   relative: 0.0  0.5;
25583                   offset:   4 4;
25584                }
25585                rel2 {
25586                   relative: 1.0  1.0;
25587                   offset:   -1 -5;
25588                }
25589                color: 0 0 0 128;
25590                color3: 0 0 0 0;
25591                text {
25592                   font: "Sans";
25593                   size: 8;
25594                   min: 0 1;
25595                   align: 0.0 0.5;
25596                }
25597             }
25598             description { state: "selected" 0.0;
25599                inherit: "default" 0.0;
25600                color: 128 128 128 255;
25601                color3: 0 0 0 32;
25602             }
25603          }
25604          part { name: "fg1";
25605             clip_to: "disclip";
25606             mouse_events: 0;
25607             description { state: "default" 0.0;
25608                visible: 0;
25609                color: 255 255 255 0;
25610                rel1.to: "bg";
25611                rel2.relative: 1.0 0.5;
25612                rel2.to: "bg";
25613                image {
25614                   normal: "bt_sm_hilight.png";
25615                   border: 6 6 6 0;
25616                }
25617             }
25618             description { state: "selected" 0.0;
25619                inherit: "default" 0.0;
25620                visible: 1;
25621                color: 255 255 255 255;
25622             }
25623          }
25624          part { name: "fg2";
25625             clip_to: "disclip";
25626             mouse_events: 0;
25627             description { state: "default" 0.0;
25628                visible: 0;
25629                color: 255 255 255 0;
25630                rel1.to: "bg";
25631                rel2.to: "bg";
25632                image {
25633                   normal: "bt_sm_shine.png";
25634                   border: 6 6 6 0;
25635                }
25636             }
25637             description { state: "selected" 0.0;
25638                inherit: "default" 0.0;
25639                visible: 1;
25640                color: 255 255 255 255;
25641             }
25642          }
25643          part { name: "disclip";
25644             type: RECT;
25645             description { state: "default" 0.0;
25646                rel1.to: "bg";
25647                rel2.to: "bg";
25648             }
25649             description { state: "disabled" 0.0;
25650                inherit: "default" 0.0;
25651                color: 255 255 255 64;
25652             }
25653          }
25654       }
25655       programs {
25656          // signal: elm,state,%s,active
25657          //   a "check" item named %s went active
25658          // signal: elm,state,%s,passive
25659          //   a "check" item named %s went passive
25660          // default is passive
25661          program {
25662             name:    "go_active";
25663             signal:  "elm,state,selected";
25664             source:  "elm";
25665             action:  STATE_SET "selected" 0.0;
25666             target:  "bg";
25667             target:  "fg1";
25668             target:  "fg2";
25669             target:  "elm.text.title";
25670             target:  "elm.text.trackno";
25671             target:  "elm.text.length";
25672             after:   "dot_active";
25673          }
25674          program {
25675             name: "dot_active";
25676             script {
25677                if (get_int(dot_visible) == 1)
25678                   set_state(PART:"dot", "selected", 0.0);
25679             }
25680          }
25681          program {
25682             name:    "go_passive";
25683             signal:  "elm,state,unselected";
25684             source:  "elm";
25685             action:  STATE_SET "default" 0.0;
25686             target:  "bg";
25687             target:  "fg1";
25688             target:  "fg2";
25689             target:  "elm.text.title";
25690             target:  "elm.text.length";
25691             target:  "elm.text.trackno";
25692             transition: LINEAR 0.1;
25693             after:   "dot_passive";
25694          }
25695          program {
25696             name: "dot_passive";
25697             script {
25698                if (get_int(dot_visible) == 1)
25699                   set_state(PART:"dot", "visible", 0.0);
25700             }
25701          }
25702          program {
25703             name:    "go_disabled";
25704             signal:  "elm,state,disabled";
25705             source:  "elm";
25706             action:  STATE_SET "disabled" 0.0;
25707             target:  "disclip";
25708          }
25709          program {
25710             name:    "go_enabled";
25711             signal:  "elm,state,enabled";
25712             source:  "elm";
25713             action:  STATE_SET "default" 0.0;
25714             target:  "disclip";
25715          }
25716       }
25717    }
25718    group { name: "elm/genlist/item_compress_odd/media-album/default";
25719       data.item: "stacking" "below";
25720       data.item: "selectraise" "on";
25721       data.item: "labels" "elm.text.title elm.text.trackno elm.text.length";
25722       data.item: "states" "elm.state.trackno";
25723       data.item: "treesize" "20";
25724       images {
25725          image: "bt_sm_base1.png" COMP;
25726          image: "bt_sm_shine.png" COMP;
25727          image: "bt_sm_hilight.png" COMP;
25728          image: "ilist_2.png" COMP;
25729       }
25730       script {
25731          public dot_visible;
25732       }
25733       parts {
25734          part { name: "event";
25735             type: RECT;
25736             repeat_events: 1;
25737             description {
25738                state: "default" 0.0;
25739                color: 0 0 0 0;
25740             }
25741          }
25742          part {
25743             name: "base";
25744             mouse_events: 0;
25745             description {
25746                state: "default" 0.0;
25747                image {
25748                   normal: "ilist_2.png";
25749                   border: 2 2 2 2;
25750                }
25751                fill.smooth: 0;
25752             }
25753          }
25754          part { name: "bg";
25755             clip_to: "disclip";
25756             mouse_events: 0;
25757             description { state: "default" 0.0;
25758                visible: 0;
25759                color: 255 255 255 0;
25760                rel1 {
25761                   relative: 0.0 0.0;
25762                   offset: -5 -5;
25763                }
25764                rel2 {
25765                   relative: 1.0 1.0;
25766                   offset: 4 4;
25767                }
25768                image {
25769                   normal: "bt_sm_base1.png";
25770                   border: 6 6 6 6;
25771                }
25772                image.middle: SOLID;
25773             }
25774             description { state: "selected" 0.0;
25775                inherit: "default" 0.0;
25776                visible: 1;
25777                color: 255 255 255 255;
25778                rel1 {
25779                   relative: 0.0 0.0;
25780                   offset: -2 -2;
25781                }
25782                rel2 {
25783                   relative: 1.0 1.0;
25784                   offset: 1 1;
25785                }
25786             }
25787          }
25788          part { name: "elm.swallow.pad";
25789             type: SWALLOW;
25790             description { state: "default" 0.0;
25791                fixed: 1 0;
25792                align: 0.0 0.5;
25793                rel1 {
25794                   relative: 0.0  0.0;
25795                   offset:   4    4;
25796                }
25797                rel2 {
25798                   relative: 0.0  1.0;
25799                   offset:   4   -5;
25800                }
25801             }
25802          }
25803          part {
25804             name: "elm.text.trackno";
25805             type: TEXT;
25806             scale: 1;
25807             mouse_events: 0;
25808             description {
25809                state: "default" 0.0;
25810                color: 255 255 255 255;
25811                align: 0.0 0.0;
25812                fixed: 1 0;
25813                rel1 {
25814                   to_y: "elm.text.title";
25815                   relative: 0.0 0.0;
25816                   offset: 5 0;
25817                }
25818                rel2 {
25819                   to_y: "elm.text.title";
25820                   relative: 0.0 1.0;
25821                   offset: 20 0;
25822                }
25823                color: 0 0 0 255;
25824                color3: 0 0 0 0;
25825                text {
25826                   font: "Sans";
25827                   size: 10;
25828                   min: 1 1;
25829                   align: 1.0 0.5;
25830                }
25831             }
25832             description { state: "selected" 0.0;
25833                inherit: "default" 0.0;
25834                color: 224 224 224 255;
25835                color3: 0 0 0 64;
25836             }
25837          }
25838          part {
25839             name: "dot";
25840             type: TEXT;
25841             scale: 1;
25842             mouse_events: 0;
25843             description {
25844                state: "default" 0.0;
25845                color: 255 255 255 255;
25846                visible: 0;
25847                fixed: 1 1;
25848                align: 0.0 0.0;
25849                rel1 {
25850                   to_x: "elm.text.trackno";
25851                   to_y: "elm.text.title";
25852                   relative: 1.0 0.0;
25853                   offset: 1 0;
25854                }
25855                rel2 {
25856                   to_x: "elm.text.trackno";
25857                   to_y: "elm.text.title";
25858                   relative: 1.0 1.0;
25859                   offset: 1 0;
25860
25861                }
25862                color: 0 0 0 255;
25863                color3: 0 0 0 0;
25864                text {
25865                   font: "Sans";
25866                   size: 10;
25867                   min: 1 1;
25868                   align: 0.0 0.5;
25869                   text: ".";
25870                }
25871             }
25872             description {
25873                state: "visible" 0.0;
25874                inherit: "default" 0.0;
25875                visible: 1;
25876             }
25877             description { state: "selected" 0.0;
25878                inherit: "default" 0.0;
25879                color: 224 224 224 255;
25880                color3: 0 0 0 64;
25881                visible: 1;
25882             }
25883          }
25884          programs {
25885             program {
25886                signal: "elm,state,elm.state.trackno,active";
25887                source: "elm";
25888                script {
25889                   set_state(PART:"dot", "visible", 0.0);
25890                   set_int(dot_visible, 1);
25891                }
25892             }
25893          }
25894          part { name: "elm.text.title";
25895             clip_to: "disclip";
25896             type:           TEXT;
25897             effect:         SOFT_SHADOW;
25898             mouse_events:   0;
25899             scale: 1;
25900             description {
25901                state: "default" 0.0;
25902                rel1 {
25903                   to_x: "dot";
25904                   relative: 1.0  0.0;
25905                   offset:   4 4;
25906                }
25907                rel2 {
25908                   relative: 1.0  0.5;
25909                   offset:   -1 -5;
25910                }
25911                color: 0 0 0 255;
25912                color3: 0 0 0 0;
25913                text {
25914                   font: "Sans";
25915                   size: 10;
25916                   min: 0 1;
25917                   align: 0.0 0.5;
25918                }
25919             }
25920             description { state: "selected" 0.0;
25921                inherit: "default" 0.0;
25922                color: 224 224 224 255;
25923                color3: 0 0 0 64;
25924             }
25925          }
25926          part { name: "elm.text.length";
25927             clip_to: "disclip";
25928             type:           TEXT;
25929             mouse_events:   0;
25930             scale: 1;
25931             description {
25932                state: "default" 0.0;
25933                rel1 {
25934                   relative: 0.0  0.5;
25935                   offset:   4 4;
25936                }
25937                rel2 {
25938                   relative: 1.0  1.0;
25939                   offset:   -1 -5;
25940                }
25941                color: 0 0 0 128;
25942                color3: 0 0 0 0;
25943                text {
25944                   font: "Sans";
25945                   size: 8;
25946                   min: 0 1;
25947                   align: 0.0 0.5;
25948                }
25949             }
25950             description { state: "selected" 0.0;
25951                inherit: "default" 0.0;
25952                color: 128 128 128 255;
25953                color3: 0 0 0 32;
25954             }
25955          }
25956          part { name: "fg1";
25957             clip_to: "disclip";
25958             mouse_events: 0;
25959             description { state: "default" 0.0;
25960                visible: 0;
25961                color: 255 255 255 0;
25962                rel1.to: "bg";
25963                rel2.relative: 1.0 0.5;
25964                rel2.to: "bg";
25965                image {
25966                   normal: "bt_sm_hilight.png";
25967                   border: 6 6 6 0;
25968                }
25969             }
25970             description { state: "selected" 0.0;
25971                inherit: "default" 0.0;
25972                visible: 1;
25973                color: 255 255 255 255;
25974             }
25975          }
25976          part { name: "fg2";
25977             clip_to: "disclip";
25978             mouse_events: 0;
25979             description { state: "default" 0.0;
25980                visible: 0;
25981                color: 255 255 255 0;
25982                rel1.to: "bg";
25983                rel2.to: "bg";
25984                image {
25985                   normal: "bt_sm_shine.png";
25986                   border: 6 6 6 0;
25987                }
25988             }
25989             description { state: "selected" 0.0;
25990                inherit: "default" 0.0;
25991                visible: 1;
25992                color: 255 255 255 255;
25993             }
25994          }
25995          part { name: "disclip";
25996             type: RECT;
25997             description { state: "default" 0.0;
25998                rel1.to: "bg";
25999                rel2.to: "bg";
26000             }
26001             description { state: "disabled" 0.0;
26002                inherit: "default" 0.0;
26003                color: 255 255 255 64;
26004             }
26005          }
26006       }
26007       programs {
26008          // signal: elm,state,%s,active
26009          //   a "check" item named %s went active
26010          // signal: elm,state,%s,passive
26011          //   a "check" item named %s went passive
26012          // default is passive
26013          program {
26014             name:    "go_active";
26015             signal:  "elm,state,selected";
26016             source:  "elm";
26017             action:  STATE_SET "selected" 0.0;
26018             target:  "bg";
26019             target:  "fg1";
26020             target:  "fg2";
26021             target:  "elm.text.title";
26022             target:  "elm.text.length";
26023             target:  "elm.text.trackno";
26024             after:   "dot_active";
26025          }
26026          program {
26027             name: "dot_active";
26028             script {
26029                if (get_int(dot_visible) == 1)
26030                   set_state(PART:"dot", "selected", 0.0);
26031             }
26032          }
26033          program {
26034             name:    "go_passive";
26035             signal:  "elm,state,unselected";
26036             source:  "elm";
26037             action:  STATE_SET "default" 0.0;
26038             target:  "bg";
26039             target:  "fg1";
26040             target:  "fg2";
26041             target:  "elm.text.title";
26042             target:  "elm.text.length";
26043             target:  "elm.text.trackno";
26044             transition: LINEAR 0.1;
26045             after:   "dot_passive";
26046          }
26047          program {
26048             name: "dot_passive";
26049             script {
26050                if (get_int(dot_visible) == 1)
26051                   set_state(PART:"dot", "visible", 0.0);
26052             }
26053          }
26054          program {
26055             name:    "go_disabled";
26056             signal:  "elm,state,disabled";
26057             source:  "elm";
26058             action:  STATE_SET "disabled" 0.0;
26059             target:  "disclip";
26060          }
26061          program {
26062             name:    "go_enabled";
26063             signal:  "elm,state,enabled";
26064             source:  "elm";
26065             action:  STATE_SET "default" 0.0;
26066             target:  "disclip";
26067          }
26068       }
26069    }
26070
26071    group { name: "elm/genlist/item_compress/media-preview/default";
26072       data.item: "stacking" "above";
26073       data.item: "selectraise" "on";
26074       data.item: "labels" "elm.text.title elm.text.artist";
26075       data.item: "icons" "elm.swallow.preview";
26076       data.item: "treesize" "20";
26077       images {
26078          image: "bt_sm_base1.png" COMP;
26079          image: "bt_sm_shine.png" COMP;
26080          image: "bt_sm_hilight.png" COMP;
26081          image: "ilist_1.png" COMP;
26082          image: "ilist_item_shadow.png" COMP;
26083       }
26084       parts {
26085          part {
26086             name: "event";
26087             type: RECT;
26088             repeat_events: 1;
26089             description {
26090                state: "default" 0.0;
26091                color: 0 0 0 0;
26092             }
26093          }
26094          part {
26095             name: "base_sh";
26096             mouse_events: 0;
26097             description {
26098                state: "default" 0.0;
26099                align: 0.0 0.0;
26100                min: 0 10;
26101                fixed: 1 1;
26102                rel1 {
26103                   to: "base";
26104                   relative: 0.0 1.0;
26105                   offset: 0 0;
26106                }
26107                rel2 {
26108                   to: "base";
26109                   relative: 1.0 1.0;
26110                   offset: -1 0;
26111                }
26112                image {
26113                   normal: "ilist_item_shadow.png";
26114                }
26115                fill.smooth: 0;
26116             }
26117          }
26118          part {
26119             name: "base";
26120             mouse_events: 0;
26121             description {
26122                state: "default" 0.0;
26123                image {
26124                   normal: "ilist_1.png";
26125                   border: 2 2 2 2;
26126                }
26127                fill.smooth: 0;
26128             }
26129          }
26130          part { name: "bg";
26131             clip_to: "disclip";
26132             mouse_events: 0;
26133             description { state: "default" 0.0;
26134                visible: 0;
26135                color: 255 255 255 0;
26136                rel1 {
26137                   relative: 0.0 0.0;
26138                   offset: -5 -5;
26139                }
26140                rel2 {
26141                   relative: 1.0 1.0;
26142                   offset: 4 4;
26143                }
26144                image {
26145                   normal: "bt_sm_base1.png";
26146                   border: 6 6 6 6;
26147                }
26148                image.middle: SOLID;
26149             }
26150             description { state: "selected" 0.0;
26151                inherit: "default" 0.0;
26152                visible: 1;
26153                color: 255 255 255 255;
26154                rel1 {
26155                   relative: 0.0 0.0;
26156                   offset: -2 -2;
26157                }
26158                rel2 {
26159                   relative: 1.0 1.0;
26160                   offset: 1 1;
26161                }
26162             }
26163          }
26164          part { name: "elm.swallow.pad";
26165             type: SWALLOW;
26166             description { state: "default" 0.0;
26167                fixed: 1 0;
26168                align: 0.0 0.5;
26169                rel1 {
26170                   relative: 0.0  0.0;
26171                   offset:   4    4;
26172                }
26173                rel2 {
26174                   relative: 0.0  1.0;
26175                   offset:   4   -5;
26176                }
26177             }
26178          }
26179          part { name: "elm.swallow.preview";
26180             clip_to: "disclip";
26181             type: SWALLOW;
26182             description { state: "default" 0.0;
26183                fixed: 1 0;
26184                align: 0.0 0.5;
26185                min: 68 68;
26186                max: 68 68;
26187                rel1 {
26188                   to_x: "elm.swallow.pad";
26189                   relative: 1.0  0.0;
26190                   offset:   -1    4;
26191                }
26192                rel2 {
26193                   to_x: "elm.swallow.pad";
26194                   relative: 1.0  1.0;
26195                   offset:   -1   -5;
26196                }
26197             }
26198          }
26199          part { name: "elm.text.title";
26200             clip_to: "disclip";
26201             type:           TEXT;
26202             effect:         SOFT_SHADOW;
26203             mouse_events:   0;
26204             scale: 1;
26205             description {
26206                state: "default" 0.0;
26207                rel1 {
26208                   to_x:     "elm.swallow.preview";
26209                   relative: 1.0  0.0;
26210                   offset:   4 4;
26211                }
26212                rel2 {
26213                   relative: 1.0  0.5;
26214                   offset:   -1 -5;
26215                }
26216                color: 0 0 0 255;
26217                color3: 0 0 0 0;
26218                text {
26219                   font: "Sans";
26220                   size: 10;
26221                   min: 0 1;
26222                   align: 0.0 0.5;
26223                }
26224             }
26225             description { state: "selected" 0.0;
26226                inherit: "default" 0.0;
26227                color: 224 224 224 255;
26228                color3: 0 0 0 64;
26229             }
26230          }
26231          part { name: "elm.text.artist";
26232             clip_to: "disclip";
26233             type:           TEXT;
26234             mouse_events:   0;
26235             scale: 1;
26236             description {
26237                state: "default" 0.0;
26238                rel1 {
26239                   to_x:     "elm.swallow.preview";
26240                   relative: 1.0  0.5;
26241                   offset:   4 4;
26242                }
26243                rel2 {
26244                   relative: 1.0  1.0;
26245                   offset:   -1 -5;
26246                }
26247                color: 0 0 0 128;
26248                color3: 0 0 0 0;
26249                text {
26250                   font: "Sans";
26251                   size: 8;
26252                   min: 0 1;
26253                   align: 0.0 0.5;
26254                }
26255             }
26256             description { state: "selected" 0.0;
26257                inherit: "default" 0.0;
26258                color: 128 128 128 255;
26259                color3: 0 0 0 32;
26260             }
26261          }
26262          part { name: "fg1";
26263             clip_to: "disclip";
26264             mouse_events: 0;
26265             description { state: "default" 0.0;
26266                visible: 0;
26267                color: 255 255 255 0;
26268                rel1.to: "bg";
26269                rel2.relative: 1.0 0.5;
26270                rel2.to: "bg";
26271                image {
26272                   normal: "bt_sm_hilight.png";
26273                   border: 6 6 6 0;
26274                }
26275             }
26276             description { state: "selected" 0.0;
26277                inherit: "default" 0.0;
26278                visible: 1;
26279                color: 255 255 255 255;
26280             }
26281          }
26282          part { name: "fg2";
26283             clip_to: "disclip";
26284             mouse_events: 0;
26285             description { state: "default" 0.0;
26286                visible: 0;
26287                color: 255 255 255 0;
26288                rel1.to: "bg";
26289                rel2.to: "bg";
26290                image {
26291                   normal: "bt_sm_shine.png";
26292                   border: 6 6 6 0;
26293                }
26294             }
26295             description { state: "selected" 0.0;
26296                inherit: "default" 0.0;
26297                visible: 1;
26298                color: 255 255 255 255;
26299             }
26300          }
26301          part { name: "disclip";
26302             type: RECT;
26303             description { state: "default" 0.0;
26304                rel1.to: "bg";
26305                rel2.to: "bg";
26306             }
26307             description { state: "disabled" 0.0;
26308                inherit: "default" 0.0;
26309                color: 255 255 255 64;
26310             }
26311          }
26312       }
26313       programs {
26314          // signal: elm,state,%s,active
26315          //   a "check" item named %s went active
26316          // signal: elm,state,%s,passive
26317          //   a "check" item named %s went passive
26318          // default is passive
26319          program {
26320             name:    "go_active";
26321             signal:  "elm,state,selected";
26322             source:  "elm";
26323             action:  STATE_SET "selected" 0.0;
26324             target:  "bg";
26325             target:  "fg1";
26326             target:  "fg2";
26327             target:  "elm.text.title";
26328             target:  "elm.text.artist";
26329          }
26330          program {
26331             name:    "go_passive";
26332             signal:  "elm,state,unselected";
26333             source:  "elm";
26334             action:  STATE_SET "default" 0.0;
26335             target:  "bg";
26336             target:  "fg1";
26337             target:  "fg2";
26338             target:  "elm.text.title";
26339             target:  "elm.text.artist";
26340             transition: LINEAR 0.1;
26341          }
26342          program {
26343             name:    "go_disabled";
26344             signal:  "elm,state,disabled";
26345             source:  "elm";
26346             action:  STATE_SET "disabled" 0.0;
26347             target:  "disclip";
26348          }
26349          program {
26350             name:    "go_enabled";
26351             signal:  "elm,state,enabled";
26352             source:  "elm";
26353             action:  STATE_SET "default" 0.0;
26354             target:  "disclip";
26355          }
26356       }
26357    }
26358    group { name: "elm/genlist/item_compress_odd/media-preview/default";
26359       data.item: "stacking" "below";
26360       data.item: "selectraise" "on";
26361       data.item: "labels" "elm.text.title elm.text.artist";
26362       data.item: "icons" "elm.swallow.preview";
26363       data.item: "treesize" "20";
26364       images {
26365          image: "bt_sm_base1.png" COMP;
26366          image: "bt_sm_shine.png" COMP;
26367          image: "bt_sm_hilight.png" COMP;
26368          image: "ilist_2.png" COMP;
26369       }
26370       parts {
26371          part { name: "event";
26372             type: RECT;
26373             repeat_events: 1;
26374             description {
26375                state: "default" 0.0;
26376                color: 0 0 0 0;
26377             }
26378          }
26379          part {
26380             name: "base";
26381             mouse_events: 0;
26382             description {
26383                state: "default" 0.0;
26384                image {
26385                   normal: "ilist_2.png";
26386                   border: 2 2 2 2;
26387                }
26388                fill.smooth: 0;
26389             }
26390          }
26391          part { name: "bg";
26392             clip_to: "disclip";
26393             mouse_events: 0;
26394             description { state: "default" 0.0;
26395                visible: 0;
26396                color: 255 255 255 0;
26397                rel1 {
26398                   relative: 0.0 0.0;
26399                   offset: -5 -5;
26400                }
26401                rel2 {
26402                   relative: 1.0 1.0;
26403                   offset: 4 4;
26404                }
26405                image {
26406                   normal: "bt_sm_base1.png";
26407                   border: 6 6 6 6;
26408                }
26409                image.middle: SOLID;
26410             }
26411             description { state: "selected" 0.0;
26412                inherit: "default" 0.0;
26413                visible: 1;
26414                color: 255 255 255 255;
26415                rel1 {
26416                   relative: 0.0 0.0;
26417                   offset: -2 -2;
26418                }
26419                rel2 {
26420                   relative: 1.0 1.0;
26421                   offset: 1 1;
26422                }
26423             }
26424          }
26425          part { name: "elm.swallow.pad";
26426             type: SWALLOW;
26427             description { state: "default" 0.0;
26428                fixed: 1 0;
26429                align: 0.0 0.5;
26430                rel1 {
26431                   relative: 0.0  0.0;
26432                   offset:   4    4;
26433                }
26434                rel2 {
26435                   relative: 0.0  1.0;
26436                   offset:   4   -5;
26437                }
26438             }
26439          }
26440          part { name: "elm.swallow.preview";
26441             clip_to: "disclip";
26442             type: SWALLOW;
26443             description { state: "default" 0.0;
26444                fixed: 1 0;
26445                align: 0.0 0.5;
26446                min: 68 68;
26447                max: 68 68;
26448                rel1 {
26449                   to_x: "elm.swallow.pad";
26450                   relative: 1.0  0.0;
26451                   offset:   -1    4;
26452                }
26453                rel2 {
26454                   to_x: "elm.swallow.pad";
26455                   relative: 1.0  1.0;
26456                   offset:   -1   -5;
26457                }
26458             }
26459          }
26460          part { name: "elm.text.title";
26461             clip_to: "disclip";
26462             type:           TEXT;
26463             effect:         SOFT_SHADOW;
26464             mouse_events:   0;
26465             scale: 1;
26466             description {
26467                state: "default" 0.0;
26468                rel1 {
26469                   to_x:     "elm.swallow.preview";
26470                   relative: 1.0  0.0;
26471                   offset:   4 4;
26472                }
26473                rel2 {
26474                   relative: 1.0  0.5;
26475                   offset:   -1 -5;
26476                }
26477                color: 0 0 0 255;
26478                color3: 0 0 0 0;
26479                text {
26480                   font: "Sans";
26481                   size: 10;
26482                   min: 0 1;
26483                   align: 0.0 0.5;
26484                }
26485             }
26486             description { state: "selected" 0.0;
26487                inherit: "default" 0.0;
26488                color: 224 224 224 255;
26489                color3: 0 0 0 64;
26490             }
26491          }
26492          part { name: "elm.text.artist";
26493             clip_to: "disclip";
26494             type:           TEXT;
26495             mouse_events:   0;
26496             scale: 1;
26497             description {
26498                state: "default" 0.0;
26499                rel1 {
26500                   to_x:     "elm.swallow.preview";
26501                   relative: 1.0  0.5;
26502                   offset:   4 4;
26503                }
26504                rel2 {
26505                   relative: 1.0  1.0;
26506                   offset:   -1 -5;
26507                }
26508                color: 0 0 0 128;
26509                color3: 0 0 0 0;
26510                text {
26511                   font: "Sans";
26512                   size: 8;
26513                   min: 0 1;
26514                   align: 0.0 0.5;
26515                }
26516             }
26517             description { state: "selected" 0.0;
26518                inherit: "default" 0.0;
26519                color: 128 128 128 255;
26520                color3: 0 0 0 32;
26521             }
26522          }
26523          part { name: "fg1";
26524             clip_to: "disclip";
26525             mouse_events: 0;
26526             description { state: "default" 0.0;
26527                visible: 0;
26528                color: 255 255 255 0;
26529                rel1.to: "bg";
26530                rel2.relative: 1.0 0.5;
26531                rel2.to: "bg";
26532                image {
26533                   normal: "bt_sm_hilight.png";
26534                   border: 6 6 6 0;
26535                }
26536             }
26537             description { state: "selected" 0.0;
26538                inherit: "default" 0.0;
26539                visible: 1;
26540                color: 255 255 255 255;
26541             }
26542          }
26543          part { name: "fg2";
26544             clip_to: "disclip";
26545             mouse_events: 0;
26546             description { state: "default" 0.0;
26547                visible: 0;
26548                color: 255 255 255 0;
26549                rel1.to: "bg";
26550                rel2.to: "bg";
26551                image {
26552                   normal: "bt_sm_shine.png";
26553                   border: 6 6 6 0;
26554                }
26555             }
26556             description { state: "selected" 0.0;
26557                inherit: "default" 0.0;
26558                visible: 1;
26559                color: 255 255 255 255;
26560             }
26561          }
26562          part { name: "disclip";
26563             type: RECT;
26564             description { state: "default" 0.0;
26565                rel1.to: "bg";
26566                rel2.to: "bg";
26567             }
26568             description { state: "disabled" 0.0;
26569                inherit: "default" 0.0;
26570                color: 255 255 255 64;
26571             }
26572          }
26573       }
26574       programs {
26575          // signal: elm,state,%s,active
26576          //   a "check" item named %s went active
26577          // signal: elm,state,%s,passive
26578          //   a "check" item named %s went passive
26579          // default is passive
26580          program {
26581             name:    "go_active";
26582             signal:  "elm,state,selected";
26583             source:  "elm";
26584             action:  STATE_SET "selected" 0.0;
26585             target:  "bg";
26586             target:  "fg1";
26587             target:  "fg2";
26588             target:  "elm.text.title";
26589             target:  "elm.text.artist";
26590          }
26591          program {
26592             name:    "go_passive";
26593             signal:  "elm,state,unselected";
26594             source:  "elm";
26595             action:  STATE_SET "default" 0.0;
26596             target:  "bg";
26597             target:  "fg1";
26598             target:  "fg2";
26599             target:  "elm.text.title";
26600             target:  "elm.text.artist";
26601             transition: LINEAR 0.1;
26602          }
26603          program {
26604             name:    "go_disabled";
26605             signal:  "elm,state,disabled";
26606             source:  "elm";
26607             action:  STATE_SET "disabled" 0.0;
26608             target:  "disclip";
26609          }
26610          program {
26611             name:    "go_enabled";
26612             signal:  "elm,state,enabled";
26613             source:  "elm";
26614             action:  STATE_SET "default" 0.0;
26615             target:  "disclip";
26616          }
26617       }
26618    }
26619
26620 ///////////////////////////////////////////////////////////////////////////////
26621    group { name: "elm/pager/base/default";
26622       data.item: "onshow" "raise";
26623 // other options
26624 //      data.item: "onhide" "lower";
26625 //      data.item: "onshow" "lower";
26626       images {
26627          image: "frame_1.png" COMP;
26628          image: "frame_2.png" COMP;
26629          image: "dia_grad.png" COMP;
26630       }
26631       parts {
26632          part { name: "clip";
26633             type: RECT;
26634             mouse_events: 0;
26635             description { state: "default" 0.0;
26636                rel1 {
26637                   to: "base";
26638                   offset: -9999 -9999;
26639                }
26640                rel2 {
26641                   to: "base";
26642                   offset: 9999 9999;
26643                }
26644                color: 255 255 255 255;
26645             }
26646             description { state: "visible" 0.0;
26647                inherit: "default" 0.0;
26648             }
26649             description { state: "hidden" 0.0;
26650                inherit: "default" 0.0;
26651                color: 255 255 255 0;
26652                visible: 0;
26653             }
26654          }
26655          part { name: "base0";
26656             mouse_events:  0;
26657             clip_to: "clip";
26658             description { state: "default" 0.0;
26659                image.normal: "dia_grad.png";
26660                rel1.to: "over";
26661                rel2.to: "over";
26662                fill {
26663                   smooth: 0;
26664                   size {
26665                      relative: 0.0 1.0;
26666                      offset: 64 0;
26667                   }
26668                }
26669             }
26670          }
26671          part { name: "base";
26672             mouse_events:  0;
26673             clip_to: "clip";
26674             description { state: "default" 0.0;
26675                image {
26676                   normal: "frame_2.png";
26677                   border: 5 5 32 26;
26678                   middle: 0;
26679                }
26680                fill.smooth : 0;
26681             }
26682             description { state: "hidden" 0.0;
26683                inherit: "default" 0.0;
26684                rel1.relative: -1.0 0.0;
26685                rel2.relative: 0.0 1.0;
26686             }
26687             description { state: "visible" 0.0;
26688                inherit: "default" 0.0;
26689                rel1.relative: 0.0 0.0;
26690                rel2.relative: 1.0 1.0;
26691             }
26692          }
26693          part { name: "over";
26694             mouse_events:  0;
26695             clip_to: "clip";
26696             description { state:    "default" 0.0;
26697                rel1 {
26698                   to: "base";
26699                   offset: 4 4;
26700                }
26701                rel2 {
26702                   to: "base";
26703                   offset: -5 -5;
26704                }
26705                image {
26706                   normal: "frame_1.png";
26707                   border: 2 2 28 22;
26708                   middle: 0;
26709                }
26710                fill.smooth : 0;
26711             }
26712          }
26713          part { name: "elm.swallow.content";
26714             type: SWALLOW;
26715             clip_to: "clip";
26716             description { state: "default" 0.0;
26717                rel1 {
26718                   to: "base";
26719                   offset: 8 8;
26720                }
26721                rel2 {
26722                   to: "base";
26723                   offset: -9 -9;
26724                }
26725             }
26726          }
26727       }
26728       programs {
26729          program { name: "push_start";
26730             signal: "elm,action,push";
26731             source: "elm";
26732             action:  STATE_SET "hidden" 0.0;
26733             target: "base";
26734             target: "clip";
26735             after: "show_start2";
26736          }
26737          program { name: "show_start";
26738             signal: "elm,action,show";
26739             source: "elm";
26740             action:  STATE_SET "hidden" 0.0;
26741             target: "base";
26742             target: "clip";
26743             after: "show_start2";
26744          }
26745          program { name: "show_start2";
26746             action:  STATE_SET "visible" 0.0;
26747             transition: DECELERATE 0.5;
26748             target: "base";
26749             target: "clip";
26750             after: "show_end";
26751          }
26752          program { name: "show_end";
26753             action: SIGNAL_EMIT "elm,action,show,finished" "";
26754          }
26755          program { name: "pop_start";
26756             signal: "elm,action,pop";
26757             source: "elm";
26758             action:  STATE_SET "visible" 0.0;
26759             target: "base";
26760             target: "clip";
26761             after: "hide_start2";
26762          }
26763          program { name: "hide_start";
26764             signal: "elm,action,hide";
26765             source: "elm";
26766             action:  STATE_SET "visible" 0.0;
26767             target: "base";
26768             target: "clip";
26769             after: "hide_start2";
26770          }
26771          program { name: "hide_start2";
26772             action:  STATE_SET "hidden" 0.0;
26773             transition: DECELERATE 0.5;
26774             target: "base";
26775             target: "clip";
26776             after: "hide_end";
26777          }
26778          program { name: "hide_end";
26779             action: SIGNAL_EMIT "elm,action,hide,finished" "";
26780          }
26781          program { name: "reset";
26782             signal: "elm,action,reset";
26783             source: "elm";
26784             action:  STATE_SET "default" 0.0;
26785             target: "base";
26786             target: "clip";
26787          }
26788       }
26789    }
26790
26791    group { name: "elm/pager/base/slide";
26792       images {
26793          image: "frame_1.png" COMP;
26794          image: "frame_2.png" COMP;
26795          image: "dia_grad.png" COMP;
26796       }
26797       parts {
26798          part { name: "clip";
26799             type: RECT;
26800             mouse_events: 0;
26801             description { state: "default" 0.0;
26802                rel1 {
26803                   to: "base";
26804                   offset: -9999 -9999;
26805                }
26806                rel2 {
26807                   to: "base";
26808                   offset: 9999 9999;
26809                }
26810                color: 255 255 255 255;
26811             }
26812             description { state: "visible" 0.0;
26813                inherit: "default" 0.0;
26814             }
26815             description { state: "hidden" 0.0;
26816                inherit: "default" 0.0;
26817                color: 255 255 255 0;
26818                visible: 0;
26819             }
26820             description { state: "hidden2" 0.0;
26821                inherit: "default" 0.0;
26822                color: 255 255 255 0;
26823                visible: 0;
26824             }
26825          }
26826          part { name: "base0";
26827             mouse_events:  0;
26828             clip_to: "clip";
26829             description { state: "default" 0.0;
26830                image.normal: "dia_grad.png";
26831                rel1.to: "over";
26832                rel2.to: "over";
26833                fill {
26834                   smooth: 0;
26835                   size {
26836                      relative: 0.0 1.0;
26837                      offset: 64 0;
26838                   }
26839                }
26840             }
26841          }
26842          part { name: "base";
26843             mouse_events:  0;
26844             clip_to: "clip";
26845             description { state: "default" 0.0;
26846                image {
26847                   normal: "frame_2.png";
26848                   border: 5 5 32 26;
26849                   middle: 0;
26850                }
26851                fill.smooth : 0;
26852             }
26853             description { state: "hidden" 0.0;
26854                inherit: "default" 0.0;
26855                rel1.relative: -1.0 0.0;
26856                rel2.relative: 0.0 1.0;
26857             }
26858             description { state: "hidden2" 0.0;
26859                inherit: "default" 0.0;
26860                rel1.relative: 1.0 0.0;
26861                rel2.relative: 2.0 1.0;
26862             }
26863             description { state: "visible" 0.0;
26864                inherit: "default" 0.0;
26865                rel1.relative: 0.0 0.0;
26866                rel2.relative: 1.0 1.0;
26867             }
26868          }
26869          part { name: "over";
26870             mouse_events:  0;
26871             clip_to: "clip";
26872             description { state:    "default" 0.0;
26873                rel1 {
26874                   to: "base";
26875                   offset: 4 4;
26876                }
26877                rel2 {
26878                   to: "base";
26879                   offset: -5 -5;
26880                }
26881                image {
26882                   normal: "frame_1.png";
26883                   border: 2 2 28 22;
26884                   middle: 0;
26885                }
26886                fill.smooth : 0;
26887             }
26888          }
26889          part { name: "elm.swallow.content";
26890             type: SWALLOW;
26891             clip_to: "clip";
26892             description { state: "default" 0.0;
26893                rel1 {
26894                   to: "base";
26895                   offset: 8 8;
26896                }
26897                rel2 {
26898                   to: "base";
26899                   offset: -9 -9;
26900                }
26901             }
26902          }
26903       }
26904       programs {
26905          program { name: "push_start";
26906             signal: "elm,action,push";
26907             source: "elm";
26908             action:  STATE_SET "hidden2" 0.0;
26909             target: "base";
26910             target: "clip";
26911             after: "show_start2";
26912          }
26913          program { name: "show_start";
26914             signal: "elm,action,show";
26915             source: "elm";
26916             action:  STATE_SET "hidden" 0.0;
26917             target: "base";
26918             target: "clip";
26919             after: "show_start2";
26920          }
26921          program { name: "show_start2";
26922             action:  STATE_SET "visible" 0.0;
26923             transition: DECELERATE 0.5;
26924             target: "base";
26925             target: "clip";
26926             after: "show_end";
26927          }
26928          program { name: "show_end";
26929             action: SIGNAL_EMIT "elm,action,show,finished" "";
26930          }
26931          program { name: "pop_start";
26932             signal: "elm,action,pop";
26933             source: "elm";
26934             action:  STATE_SET "visible" 0.0;
26935             target: "base";
26936             target: "clip";
26937             after: "pop_start2";
26938          }
26939          program { name: "pop_start2";
26940             action:  STATE_SET "hidden2" 0.0;
26941             transition: DECELERATE 0.5;
26942             target: "base";
26943             target: "clip";
26944             after: "hide_end";
26945          }
26946          program { name: "hide_start";
26947             signal: "elm,action,hide";
26948             source: "elm";
26949             action:  STATE_SET "visible" 0.0;
26950             target: "base";
26951             target: "clip";
26952             after: "hide_start2";
26953          }
26954          program { name: "hide_start2";
26955             action:  STATE_SET "hidden" 0.0;
26956             transition: DECELERATE 0.5;
26957             target: "base";
26958             target: "clip";
26959             after: "hide_end";
26960          }
26961          program { name: "hide_end";
26962             action: SIGNAL_EMIT "elm,action,hide,finished" "";
26963          }
26964          program { name: "reset";
26965             signal: "elm,action,reset";
26966             source: "elm";
26967             action:  STATE_SET "default" 0.0;
26968             target: "base";
26969             target: "clip";
26970          }
26971       }
26972    }
26973    group { name: "elm/pager/base/slide_invisible";
26974       parts {
26975          part { name: "clip";
26976             type: RECT;
26977             mouse_events: 0;
26978             description { state: "default" 0.0;
26979                rel1 {
26980                   to: "base";
26981                   offset: -9999 -9999;
26982             }
26983                rel2 {
26984                   to: "base";
26985                   offset: 9999 9999;
26986                }
26987                color: 255 255 255 255;
26988             }
26989             description { state: "visible" 0.0;
26990                inherit: "default" 0.0;
26991             }
26992             description { state: "hidden" 0.0;
26993                inherit: "default" 0.0;
26994                color: 255 255 255 0;
26995                visible: 0;
26996             }
26997             description { state: "hidden2" 0.0;
26998                inherit: "default" 0.0;
26999                color: 255 255 255 0;
27000                visible: 0;
27001             }
27002          }
27003          part { name: "base";
27004             type: RECT;
27005             mouse_events:  0;
27006             clip_to: "clip";
27007             description { state: "default" 0.0;
27008                color: 0 0 0 0;
27009             }
27010             description { state: "hidden" 0.0;
27011                color: 0 0 0 0;
27012                rel1.relative: -1.0 0.0;
27013                rel2.relative: 0.0 1.0;
27014             }
27015             description { state: "hidden2" 0.0;
27016                color: 0 0 0 0;
27017                rel1.relative: 1.0 0.0;
27018                rel2.relative: 2.0 1.0;
27019             }
27020             description { state: "visible" 0.0;
27021                color: 0 0 0 0;
27022                rel1.relative: 0.0 0.0;
27023                rel2.relative: 1.0 1.0;
27024             }
27025          }
27026          part { name: "elm.swallow.content";
27027             type: SWALLOW;
27028             clip_to: "clip";
27029             description { state: "default" 0.0;
27030                rel1.to: "base";
27031                rel2.to: "base";
27032             }
27033          }
27034       }
27035       programs {
27036          program { name: "push_start";
27037             signal: "elm,action,push";
27038             source: "elm";
27039             action:  STATE_SET "hidden2" 0.0;
27040             target: "base";
27041             target: "clip";
27042             after: "show_start2";
27043          }
27044          program { name: "show_start";
27045             signal: "elm,action,show";
27046             source: "elm";
27047             action:  STATE_SET "hidden" 0.0;
27048             target: "base";
27049             target: "clip";
27050             after: "show_start2";
27051          }
27052          program { name: "show_start2";
27053             action:  STATE_SET "visible" 0.0;
27054             transition: DECELERATE 0.5;
27055             target: "base";
27056             target: "clip";
27057             after: "show_end";
27058          }
27059          program { name: "show_end";
27060             action: SIGNAL_EMIT "elm,action,show,finished" "";
27061          }
27062          program { name: "pop_start";
27063             signal: "elm,action,pop";
27064             source: "elm";
27065             action:  STATE_SET "visible" 0.0;
27066             target: "base";
27067             target: "clip";
27068             after: "pop_start2";
27069          }
27070          program { name: "pop_start2";
27071             action:  STATE_SET "hidden2" 0.0;
27072             transition: DECELERATE 0.5;
27073             target: "base";
27074             target: "clip";
27075             after: "hide_end";
27076          }
27077          program { name: "hide_start";
27078             signal: "elm,action,hide";
27079             source: "elm";
27080             action:  STATE_SET "visible" 0.0;
27081             target: "base";
27082             target: "clip";
27083             after: "hide_start2";
27084          }
27085          program { name: "hide_start2";
27086             action:  STATE_SET "hidden" 0.0;
27087             transition: DECELERATE 0.5;
27088             target: "base";
27089             target: "clip";
27090             after: "hide_end";
27091          }
27092          program { name: "hide_end";
27093             action: SIGNAL_EMIT "elm,action,hide,finished" "";
27094          }
27095          program { name: "reset";
27096             signal: "elm,action,reset";
27097             source: "elm";
27098             action:  STATE_SET "default" 0.0;
27099             target: "base";
27100             target: "clip";
27101          }
27102       }
27103    }
27104
27105    group { name: "elm/pager/base/fade";
27106        data.item: "onshow" "raise";
27107        // other options
27108        //      data.item: "onhide" "lower";
27109        //      data.item: "onshow" "lower";
27110        images {
27111            image: "frame_1.png" COMP;
27112            image: "frame_2.png" COMP;
27113            image: "dia_grad.png" COMP;
27114        }
27115        parts {
27116            part { name: "clip_base";
27117                type: RECT;
27118                mouse_events: 0;
27119                description { state: "default" 0.0;
27120                    rel1 {
27121                        to: "base";
27122                        offset: -9999 -9999;
27123                    }
27124                    rel2 {
27125                        to: "base";
27126                        offset: 9999 9999;
27127                    }
27128                    color: 255 255 255 120;
27129                }
27130                description { state: "visible" 0.0;
27131                    inherit: "default" 0.0;
27132                }
27133                description { state: "hidden" 0.0;
27134                    inherit: "default" 0.0;
27135                    color: 255 255 255 0;
27136                    visible: 0;
27137                }
27138            }
27139            part { name: "clip";
27140                type: RECT;
27141                mouse_events: 0;
27142                description { state: "default" 0.0;
27143                    rel1 {
27144                        to: "base";
27145                        offset: -9999 -9999;
27146                    }
27147                    rel2 {
27148                        to: "base";
27149                        offset: 9999 9999;
27150                    }
27151                    color: 255 255 255 255;
27152                }
27153                description { state: "visible" 0.0;
27154                    inherit: "default" 0.0;
27155                }
27156                description { state: "hidden" 0.0;
27157                    inherit: "default" 0.0;
27158                    color: 255 255 255 0;
27159                    visible: 0;
27160                }
27161            }
27162            part { name: "base0";
27163                mouse_events:  0;
27164                clip_to: "clip_base";
27165                description { state: "default" 0.0;
27166                    image.normal: "dia_grad.png";
27167                    rel1.to: "over";
27168                    rel2.to: "over";
27169                    fill {
27170                        smooth: 0;
27171                        size {
27172                            relative: 0.0 1.0;
27173                            offset: 64 0;
27174                        }
27175                    }
27176                }
27177            }
27178            part { name: "base";
27179                mouse_events:  0;
27180                clip_to: "clip_base";
27181                description { state: "default" 0.0;
27182                    image {
27183                        normal: "frame_2.png";
27184                        border: 5 5 32 26;
27185                        middle: 0;
27186                    }
27187                    fill.smooth : 0;
27188                }
27189            }
27190            part { name: "over";
27191                mouse_events:  0;
27192                clip_to: "clip";
27193                description { state:    "default" 0.0;
27194                    rel1 {
27195                        to: "base";
27196                        offset: 4 4;
27197                    }
27198                    rel2 {
27199                        to: "base";
27200                        offset: -5 -5;
27201                    }
27202                    image {
27203                        normal: "frame_1.png";
27204                        border: 2 2 28 22;
27205                        middle: 0;
27206                    }
27207                    fill.smooth : 0;
27208                }
27209            }
27210            part { name: "elm.swallow.content";
27211                type: SWALLOW;
27212                clip_to: "clip";
27213                description { state: "default" 0.0;
27214                    rel1 {
27215                        to: "base";
27216                        offset: 8 8;
27217                    }
27218                    rel2 {
27219                        to: "base";
27220                        offset: -9 -9;
27221                    }
27222                }
27223            }
27224        }
27225        programs {
27226            program { name: "push_start";
27227                signal: "elm,action,push";
27228                source: "elm";
27229                action:  STATE_SET "hidden" 0.0;
27230                target: "clip";
27231                target: "clip_base";
27232                after: "show_start2";
27233            }
27234            program { name: "show_start";
27235                signal: "elm,action,show";
27236                source: "elm";
27237                action:  STATE_SET "hidden" 0.0;
27238                target: "clip";
27239                target: "clip_base";
27240                after: "show_start2";
27241            }
27242            program { name: "show_start2";
27243                action:  STATE_SET "visible" 0.0;
27244                transition: DECELERATE 0.5;
27245                target: "clip";
27246                target: "clip_base";
27247                after: "show_end";
27248            }
27249            program { name: "show_end";
27250                action: SIGNAL_EMIT "elm,action,show,finished" "";
27251            }
27252            program { name: "pop_start";
27253                signal: "elm,action,pop";
27254                source: "elm";
27255                action:  STATE_SET "visible" 0.0;
27256                target: "clip";
27257                target: "clip_base";
27258                after: "hide_start2";
27259            }
27260            program { name: "hide_start";
27261                signal: "elm,action,hide";
27262                source: "elm";
27263                action:  STATE_SET "visible" 0.0;
27264                target: "clip";
27265                target: "clip_base";
27266                after: "hide_start2";
27267            }
27268            program { name: "hide_start2";
27269                action:  STATE_SET "hidden" 0.0;
27270                transition: DECELERATE 0.5;
27271                target: "clip";
27272                target: "clip_base";
27273                after: "hide_end";
27274            }
27275            program { name: "hide_end";
27276                action: SIGNAL_EMIT "elm,action,hide,finished" "";
27277            }
27278            program { name: "reset";
27279                signal: "elm,action,reset";
27280                source: "elm";
27281                action:  STATE_SET "default" 0.0;
27282                target: "clip_base";
27283                target: "clip";
27284            }
27285        }
27286    }
27287    group { name: "elm/pager/base/fade_translucide";
27288        data.item: "onshow" "raise";
27289        // other options
27290        //      data.item: "onhide" "lower";
27291        //      data.item: "onshow" "lower";
27292        images {
27293            image: "frame_1.png" COMP;
27294            image: "frame_2.png" COMP;
27295            image: "dia_grad.png" COMP;
27296        }
27297        parts {
27298            part { name: "clip_base";
27299                type: RECT;
27300                mouse_events: 0;
27301                description { state: "default" 0.0;
27302                    rel1 {
27303                        to: "base";
27304                        offset: -9999 -9999;
27305                    }
27306                    rel2 {
27307                        to: "base";
27308                        offset: 9999 9999;
27309                    }
27310                    color: 255 255 255 120;
27311                }
27312                description { state: "visible" 0.0;
27313                    inherit: "default" 0.0;
27314                }
27315                description { state: "hidden" 0.0;
27316                    inherit: "default" 0.0;
27317                    color: 255 255 255 0;
27318                    visible: 0;
27319                }
27320            }
27321            part { name: "clip";
27322                type: RECT;
27323                mouse_events: 0;
27324                description { state: "default" 0.0;
27325                    rel1 {
27326                        to: "base";
27327                        offset: -9999 -9999;
27328                    }
27329                    rel2 {
27330                        to: "base";
27331                        offset: 9999 9999;
27332                    }
27333                    color: 255 255 255 255;
27334                }
27335                description { state: "visible" 0.0;
27336                    inherit: "default" 0.0;
27337                }
27338                description { state: "hidden" 0.0;
27339                    inherit: "default" 0.0;
27340                    color: 255 255 255 0;
27341                    visible: 0;
27342                }
27343            }
27344            part { name: "base0";
27345                mouse_events:  0;
27346                clip_to: "clip_base";
27347                description { state: "default" 0.0;
27348                    image.normal: "dia_grad.png";
27349                    rel1.to: "over";
27350                    rel2.to: "over";
27351                    fill {
27352                        smooth: 0;
27353                        size {
27354                            relative: 0.0 1.0;
27355                            offset: 64 0;
27356                        }
27357                    }
27358                }
27359            }
27360            part { name: "base";
27361                mouse_events:  0;
27362                clip_to: "clip_base";
27363                description { state: "default" 0.0;
27364                    image {
27365                        normal: "frame_2.png";
27366                        border: 5 5 32 26;
27367                        middle: 0;
27368                    }
27369                    fill.smooth : 0;
27370                }
27371            }
27372            part { name: "over";
27373                mouse_events:  0;
27374                clip_to: "clip";
27375                description { state:    "default" 0.0;
27376                    rel1 {
27377                        to: "base";
27378                        offset: 4 4;
27379                    }
27380                    rel2 {
27381                        to: "base";
27382                        offset: -5 -5;
27383                    }
27384                    image {
27385                        normal: "frame_1.png";
27386                        border: 2 2 28 22;
27387                        middle: 0;
27388                    }
27389                    fill.smooth : 0;
27390                }
27391            }
27392            part { name: "elm.swallow.content";
27393                type: SWALLOW;
27394                clip_to: "clip";
27395                description { state: "default" 0.0;
27396                    rel1 {
27397                        to: "base";
27398                        offset: 8 8;
27399                    }
27400                    rel2 {
27401                        to: "base";
27402                        offset: -9 -9;
27403                    }
27404                }
27405            }
27406        }
27407        programs {
27408            program { name: "push_start";
27409                signal: "elm,action,push";
27410                source: "elm";
27411                action:  STATE_SET "hidden" 0.0;
27412                target: "clip";
27413                target: "clip_base";
27414                after: "show_start2";
27415            }
27416            program { name: "show_start";
27417                signal: "elm,action,show";
27418                source: "elm";
27419                action:  STATE_SET "hidden" 0.0;
27420                target: "clip";
27421                target: "clip_base";
27422                after: "show_start2";
27423            }
27424            program { name: "show_start2";
27425                action:  STATE_SET "visible" 0.0;
27426                transition: DECELERATE 0.5;
27427                target: "clip";
27428                target: "clip_base";
27429                after: "show_end";
27430            }
27431            program { name: "show_end";
27432                action: SIGNAL_EMIT "elm,action,show,finished" "";
27433            }
27434            program { name: "pop_start";
27435                signal: "elm,action,pop";
27436                source: "elm";
27437                action:  STATE_SET "visible" 0.0;
27438                target: "clip";
27439                target: "clip_base";
27440                after: "hide_start2";
27441            }
27442            program { name: "hide_start";
27443                signal: "elm,action,hide";
27444                source: "elm";
27445                action:  STATE_SET "visible" 0.0;
27446                target: "clip";
27447                target: "clip_base";
27448                after: "hide_start2";
27449            }
27450            program { name: "hide_start2";
27451                action:  STATE_SET "hidden" 0.0;
27452                transition: DECELERATE 0.5;
27453                target: "clip";
27454                target: "clip_base";
27455                after: "hide_end";
27456            }
27457            program { name: "hide_end";
27458                action: SIGNAL_EMIT "elm,action,hide,finished" "";
27459            }
27460            program { name: "reset";
27461                signal: "elm,action,reset";
27462                source: "elm";
27463                action:  STATE_SET "default" 0.0;
27464                target: "clip_base";
27465                target: "clip";
27466            }
27467        }
27468    }
27469    group { name: "elm/pager/base/fade_invisible";
27470        data.item: "onshow" "raise";
27471        // other options
27472        //      data.item: "onhide" "lower";
27473        //      data.item: "onshow" "lower";
27474        parts {
27475            part { name: "clip";
27476                type: RECT;
27477                mouse_events: 0;
27478                description { state: "default" 0.0;
27479                    rel1 {
27480                        offset: -9999 -9999;
27481                    }
27482                    rel2 {
27483                        offset: 9999 9999;
27484                    }
27485                    color: 255 255 255 255;
27486                }
27487                description { state: "visible" 0.0;
27488                    inherit: "default" 0.0;
27489                }
27490                description { state: "hidden" 0.0;
27491                    inherit: "default" 0.0;
27492                    color: 255 255 255 0;
27493                    visible: 0;
27494                }
27495            }
27496            part { name: "elm.swallow.content";
27497                type: SWALLOW;
27498                clip_to: "clip";
27499                description { state: "default" 0.0;
27500                    rel1 {
27501                        offset: 8 8;
27502                    }
27503                    rel2 {
27504                        offset: -9 -9;
27505                    }
27506                }
27507            }
27508        }
27509        programs {
27510            program { name: "push_start";
27511                signal: "elm,action,push";
27512                source: "elm";
27513                action:  STATE_SET "hidden" 0.0;
27514                target: "clip";
27515                after: "show_start2";
27516            }
27517            program { name: "show_start";
27518                signal: "elm,action,show";
27519                source: "elm";
27520                action:  STATE_SET "hidden" 0.0;
27521                target: "clip";
27522                after: "show_start2";
27523            }
27524            program { name: "show_start2";
27525                action:  STATE_SET "visible" 0.0;
27526                transition: DECELERATE 0.5;
27527                target: "clip";
27528                after: "show_end";
27529            }
27530            program { name: "show_end";
27531                action: SIGNAL_EMIT "elm,action,show,finished" "";
27532            }
27533            program { name: "pop_start";
27534                signal: "elm,action,pop";
27535                source: "elm";
27536                action:  STATE_SET "visible" 0.0;
27537                target: "clip";
27538                after: "hide_start2";
27539            }
27540            program { name: "hide_start";
27541                signal: "elm,action,hide";
27542                source: "elm";
27543                action:  STATE_SET "visible" 0.0;
27544                target: "clip";
27545                after: "hide_start2";
27546            }
27547            program { name: "hide_start2";
27548                action:  STATE_SET "hidden" 0.0;
27549                transition: DECELERATE 0.5;
27550                target: "clip";
27551                after: "hide_end";
27552            }
27553            program { name: "hide_end";
27554                action: SIGNAL_EMIT "elm,action,hide,finished" "";
27555            }
27556            program { name: "reset";
27557                signal: "elm,action,reset";
27558                source: "elm";
27559                action:  STATE_SET "default" 0.0;
27560                target: "clip";
27561            }
27562        }
27563    }
27564
27565    group { name: "elm/pager/base/flip";
27566       data.item: "onshow" "raise";
27567       images {
27568          image: "frame_1.png" COMP;
27569          image: "frame_2.png" COMP;
27570          image: "dia_grad.png" COMP;
27571       }
27572       parts {
27573          part { name: "elm.swallow.content";
27574             type: SWALLOW;
27575             description { state: "default" 0.0;
27576                map {
27577                   on: 1;
27578                   smooth: 1;
27579                   backface_cull: 1;
27580                   perspective_on: 1;
27581                }
27582                perspective {
27583                   zplane: 0;
27584                   focal: 1000;
27585                }
27586             }
27587             description { state: "hidden" 0.0;
27588                inherit: "default" 0.0;
27589                visible: 0;
27590                map.rotation.y: 90.0;
27591             }
27592             description { state: "before_hidden" 0.0;
27593                inherit: "default" 0.0;
27594                visible: 0;
27595                map.rotation.y: -90.0;
27596             }
27597          }
27598       }
27599       programs {
27600          program { name: "push_start";
27601             signal: "elm,action,push";
27602             source: "elm";
27603             after: "push1";
27604          }
27605          program { name: "push1";
27606             action:  STATE_SET "hidden" 0.0;
27607             target: "elm.swallow.content";
27608             after: "push2";
27609          }
27610          program { name: "push2";
27611             action:  STATE_SET "default" 0.0;
27612             in: 0.5 0.0;
27613             transition: LINEAR 0.5;
27614             target: "elm.swallow.content";
27615             after: "push3";
27616          }
27617          program { name: "push3";
27618             action: SIGNAL_EMIT "elm,action,show,finished" "";
27619          }
27620
27621          program { name: "show_start";
27622             signal: "elm,action,show";
27623             source: "elm";
27624             after: "show1";
27625          }
27626          program { name: "show1";
27627             action:  STATE_SET "before_hidden" 0.0;
27628             target: "elm.swallow.content";
27629             after: "show2";
27630          }
27631          program { name: "show2";
27632             action:  STATE_SET "default" 0.0;
27633             in: 0.5 0.0;
27634             transition: LINEAR 0.5;
27635             target: "elm.swallow.content";
27636             after: "show3";
27637          }
27638          program { name: "show3";
27639             action: SIGNAL_EMIT "elm,action,show,finished" "";
27640          }
27641
27642          program { name: "pop_start";
27643             signal: "elm,action,pop";
27644             source: "elm";
27645             after: "pop1";
27646          }
27647          program { name: "pop1";
27648             action:  STATE_SET "default" 0.0;
27649             target: "elm.swallow.content";
27650             after: "pop2";
27651          }
27652          program { name: "pop2";
27653             action:  STATE_SET "hidden" 0.0;
27654             transition: LINEAR 0.5;
27655             target: "elm.swallow.content";
27656             after: "pop3";
27657          }
27658          program { name: "pop3";
27659             action: SIGNAL_EMIT "elm,action,hide,finished" "";
27660          }
27661
27662          program { name: "hide_start";
27663             signal: "elm,action,hide";
27664             source: "elm";
27665             after: "hide1";
27666          }
27667          program { name: "hide1";
27668             action:  STATE_SET "default" 0.0;
27669             target: "elm.swallow.content";
27670             after: "hide2";
27671          }
27672          program { name: "hide2";
27673             action:  STATE_SET "before_hidden" 0.0;
27674             transition: LINEAR 0.5;
27675             target: "elm.swallow.content";
27676             after: "hide3";
27677          }
27678          program { name: "hide3";
27679             action: SIGNAL_EMIT "elm,action,hide,finished" "";
27680          }
27681
27682          program { name: "reset";
27683             signal: "elm,action,reset";
27684             source: "elm";
27685             action:  STATE_SET "default" 0.0;
27686             target: "elm.swallow.content";
27687          }
27688       }
27689    }
27690
27691
27692
27693 ///////////////////////////////////////////////////////////////////////////////
27694 // FIXME: this doesn't look too hot. need to fix it up
27695    group { name: "elm/progressbar/horizontal/default";
27696       images {
27697          image: "shelf_inset.png" COMP;
27698          image: "bt_sm_base2.png" COMP;
27699          image: "bt_sm_hilight.png" COMP;
27700          image: "bt_sm_shine.png" COMP;
27701       }
27702       parts {
27703          part { name: "elm.background.progressbar";
27704             mouse_events: 0;
27705             description {
27706                state: "default" 0.0;
27707                rel1 {
27708                   relative: 0.0 0.0;
27709                   offset: 0 0;
27710                }
27711                rel2 {
27712                   relative: 1.0 1.0;
27713                }
27714             }
27715          }
27716          part { name: "elm.swallow.bar";
27717             mouse_events: 0;
27718             type: SWALLOW;
27719             description {
27720                min: 48 28;
27721                max: 99999 28;
27722                state: "default" 0.0;
27723                rel1 {
27724                   to_x: "elm.text";
27725                   to_y: "elm.background.progressbar";
27726                   relative: 1.0 0.0;
27727                }
27728                rel2 {
27729                   to: "elm.background.progressbar";
27730                   relative: 1.0 1.0;
27731                }
27732             }
27733          }
27734          part { name: "elm.swallow.content";
27735             type: SWALLOW;
27736             description { state: "default" 0.0;
27737                visible: 0;
27738                align: 0.0 0.5;
27739                rel1 {
27740                   offset: 4 0;
27741                   to_y: "elm.background.progressbar";
27742                }
27743                rel2 {
27744                   offset: 3 -1;
27745                   relative: 0.0 1.0;
27746                   to_y: "elm.background.progressbar";
27747                }
27748             }
27749             description { state: "visible" 0.0;
27750                inherit: "default" 0.0;
27751                visible: 1;
27752                aspect: 1.0 1.0;
27753                aspect_preference: VERTICAL;
27754                rel2.offset: 4 -1;
27755             }
27756          }
27757          part { name: "elm.text";
27758             type: TEXT;
27759             mouse_events: 0;
27760             scale: 1;
27761             description { state: "default" 0.0;
27762                visible: 0;
27763                fixed: 1 1;
27764                align: 0.0 0.5;
27765                rel1.to_x: "elm.swallow.content";
27766                rel1.relative: 1.0 0.0;
27767                rel1.offset: -1 4;
27768                rel2.to_x: "elm.swallow.content";
27769                rel2.relative: 1.0 1.0;
27770                rel2.offset: -1 -5;
27771                color: 0 0 0 255;
27772                text {
27773                   font: "Sans,Edje-Vera";
27774                   size: 10;
27775                   min: 0 0;
27776                   align: 0.0 0.5;
27777                }
27778             }
27779             description { state: "visible" 0.0;
27780                inherit: "default" 0.0;
27781                visible: 1;
27782                text.min: 1 1;
27783                rel1.offset: 0 4;
27784                rel2.offset: 0 -5;
27785             }
27786          }
27787
27788          part { name: "background";
27789             mouse_events: 0;
27790             clip_to: "elm.background.progressbar";
27791             description {
27792                state: "default" 0.0;
27793                rel1 {
27794                   to: "elm.swallow.bar";
27795                   relative: 0.0 0.0;
27796                }
27797                rel2 {
27798                   to: "elm.swallow.bar";
27799                   relative: 1.0 1.0;
27800                   offset: -1 -1;
27801                }
27802                image {
27803                   normal: "shelf_inset.png";
27804                   border: 7 7 7 7;
27805                }
27806             }
27807          }
27808
27809          part { name: "elm.text.status";
27810             type: TEXT;
27811             mouse_events: 0;
27812             description { state: "default" 0.0;
27813                fixed: 1 1;
27814                visible: 1;
27815                rel1 {
27816                   to: "background";
27817                   relative: 0.5 0.5;
27818                }
27819                rel2 {
27820                   to: "background";
27821                   relative: 0.5 0.5;
27822                }
27823                text {
27824                   font: "Sans:style=Bold,Edje-Vera-Bold";
27825                   size: 10;
27826                   min: 1 1;
27827                   align: 0.5 0.0;
27828                }
27829                color: 0 0 0 255;
27830             }
27831             description { state: "hidden" 0.0;
27832                inherit: "default" 0.0;
27833                visible: 0;
27834                text.min: 0 0;
27835             }
27836          }
27837
27838          part { name: "elm.progress.progressbar";
27839             mouse_events: 0;
27840             clip_to: "elm.background.progressbar";
27841             description {
27842                state: "default" 0.0;
27843                min: 14 28;
27844                fixed: 1 1;
27845                rel1 {
27846                   to: "elm.swallow.bar";
27847                   relative: 0.0 0.0;
27848                }
27849                rel2 {
27850                   to_y: "elm.swallow.bar";
27851                   to_x: "elm.cur.progressbar";
27852                   offset: -1 -1;
27853                }
27854                image {
27855                   normal: "bt_sm_base2.png";
27856                   border: 6 6 6 6;
27857                }
27858             }
27859             description {
27860                state: "invert" 0.0;
27861                inherit: "default" 0.0;
27862                rel1 {
27863                   to_y: "elm.swallow.bar";
27864                   to_x: "elm.cur.progressbar";
27865                }
27866                rel2 {
27867                   to: "elm.swallow.bar";
27868                   relative: 1.0 1.0;
27869                }
27870             }
27871             description {
27872                state: "state_begin" 0.0;
27873                inherit: "default" 0.0;
27874                rel1 {
27875                   to: "elm.swallow.bar";
27876                   relative: 0.0 0.0;
27877                }
27878                rel2 {
27879                   to: "elm.swallow.bar";
27880                   relative: 0.1 1.0;
27881                }
27882             }
27883             description {
27884                state: "state_end" 0.0;
27885                inherit: "default" 0.0;
27886                rel1 {
27887                   to: "elm.swallow.bar";
27888                   relative: 0.9 0.0;
27889                }
27890                rel2 {
27891                   to: "elm.swallow.bar";
27892                   relative: 1.0 1.0;
27893                }
27894             }
27895          }
27896          part { name: "text-bar";
27897             type: TEXT;
27898             mouse_events: 0;
27899             clip_to: "progress-rect";
27900             effect: SOFT_SHADOW;
27901             scale: 1;
27902             description { state: "default" 0.0;
27903                align: 0.0 0.0;
27904                fixed: 1 1;
27905                visible: 1;
27906                rel1.to: "elm.text.status";
27907                rel1.offset: -1 -1;
27908                rel2.to: "elm.text.status";
27909                text {
27910                   text_source: "elm.text.status";
27911                   font: "Sans:style=Bold,Edje-Vera-Bold";
27912                   size: 10;
27913                   min: 1 1;
27914                   align: 0.0 0.0;
27915                }
27916                color: 224 224 224 255;
27917                color3: 0 0 0 64;
27918             }
27919             description { state: "hidden" 0.0;
27920                inherit: "default" 0.0;
27921                visible: 0;
27922                text.min: 0 0;
27923             }
27924          }
27925
27926          part { name: "over1";
27927             mouse_events: 0;
27928             description { state: "default" 0.0;
27929                rel1.to: "elm.progress.progressbar";
27930                rel2.to: "elm.progress.progressbar";
27931                rel2.relative: 1.0 0.5;
27932                image {
27933                   normal: "bt_sm_hilight.png";
27934                   border: 6 6 6 0;
27935                }
27936             }
27937          }
27938
27939          part { name: "over2";
27940             mouse_events: 1;
27941             repeat_events: 1;
27942             description { state: "default" 0.0;
27943                rel1.to: "elm.progress.progressbar";
27944                rel2.to: "elm.progress.progressbar";
27945                image {
27946                   normal: "bt_sm_shine.png";
27947                   border: 6 6 6 0;
27948                }
27949             }
27950          }
27951
27952          part { name: "elm.cur.progressbar";
27953             mouse_events: 0;
27954             dragable {
27955                confine: "background";
27956                x: 1 1 1;
27957                y: 0 0 0;
27958             }
27959             description { state: "default" 0.0;
27960                min: 14 28;
27961                fixed: 1 1;
27962                visible: 0;
27963                rel1 {
27964                   to: "background";
27965                   relative: 0 0;
27966                }
27967                rel2.to: "background";
27968            }
27969          }
27970          part { name: "progress-rect";
27971             mouse_events: 0;
27972             description {
27973                state: "default" 0.0;
27974                rel1.to: "elm.progress.progressbar";
27975                rel2.to: "elm.progress.progressbar";
27976             }
27977          }
27978       }
27979       programs {
27980          program { name: "label_show";
27981             signal: "elm,state,text,visible";
27982             source: "elm";
27983             action:  STATE_SET "visible" 0.0;
27984             target: "elm.text";
27985          }
27986          program { name: "label_hide";
27987             signal: "elm,state,text,hidden";
27988             source: "elm";
27989             action:  STATE_SET "default" 0.0;
27990             target: "elm.text";
27991          }
27992          program { name: "icon_show";
27993             signal: "elm,state,icon,visible";
27994             source: "elm";
27995             action:  STATE_SET "visible" 0.0;
27996             target: "elm.swallow.content";
27997          }
27998          program { name: "icon_hide";
27999             signal: "elm,state,icon,hidden";
28000             source: "elm";
28001             action:  STATE_SET "default" 0.0;
28002             target: "elm.swallow.content";
28003          }
28004          program { name: "units_show";
28005             signal: "elm,state,units,visible";
28006             source: "elm";
28007             action:  STATE_SET "default" 0.0;
28008             target: "text-bar";
28009             target: "elm.text.status";
28010          }
28011          program { name: "units_hide";
28012             signal: "elm,state,units,hidden";
28013             source: "elm";
28014             action:  STATE_SET "hidden" 0.0;
28015             target: "text-bar";
28016             target: "elm.text.status";
28017          }
28018          program { name: "slide_to_end";
28019             action:  STATE_SET "state_end" 0.0;
28020             transition: LINEAR 0.5;
28021             target: "elm.progress.progressbar";
28022             after: "slide_to_begin";
28023          }
28024          program { name: "slide_to_begin";
28025             signal: "elm,state,slide,begin";
28026             action: STATE_SET "state_begin" 0.0;
28027             target: "elm.progress.progressbar";
28028             transition: LINEAR 0.5;
28029             after: "slide_to_end";
28030          }
28031          program { name: "start_pulse";
28032             signal: "elm,state,pulse,start";
28033             source: "elm";
28034             after: "slide_to_end";
28035          }
28036          program { name: "stop_pulse";
28037             signal: "elm,state,pulse,stop";
28038             source: "elm";
28039             action: ACTION_STOP;
28040             target: "slide_to_begin";
28041             target: "slide_to_end";
28042             target: "start_pulse";
28043             after: "state_pulse";
28044          }
28045          program { name: "state_pulse";
28046             signal: "elm,state,pulse";
28047             source: "elm";
28048             action: STATE_SET "state_begin" 0.0;
28049             target: "elm.progress.progressbar";
28050             after: "units_hide";
28051          }
28052          program { name: "state_fraction";
28053             signal: "elm,state,fraction";
28054             source: "elm";
28055             action: ACTION_STOP;
28056             target: "slide_to_begin";
28057             target: "slide_to_end";
28058             target: "start_pulse";
28059             action: STATE_SET "default" 0.0;
28060             target: "elm.progress.progressbar";
28061          }
28062          program { name: "set_invert_on";
28063             signal: "elm,state,inverted,on";
28064             source: "elm";
28065             action:  STATE_SET "invert" 0.0;
28066             target: "elm.progress.progressbar";
28067          }
28068          program { name: "set_invert_off";
28069             signal: "elm,state,inverted,off";
28070             source: "elm";
28071             action:  STATE_SET "default" 0.0;
28072             target: "elm.progress.progressbar";
28073          }
28074       }
28075    }
28076
28077 ///////////////////////////////////////////////////////////////////////////////
28078    group { name: "elm/progressbar/vertical/default";
28079       images {
28080          image: "shelf_inset.png" COMP;
28081          image: "bt_sm_base2.png" COMP;
28082          image: "bt_sm_hilight.png" COMP;
28083          image: "bt_sm_shine.png" COMP;
28084       }
28085       parts {
28086          part { name: "elm.background.progressbar";
28087             type: RECT;
28088             mouse_events: 0;
28089             description {
28090                state: "default" 0.0;
28091                rel1 {
28092                   relative: 0.0 0.0;
28093                   offset: 0 0;
28094                }
28095                rel2 {
28096                   relative: 1.0 1.0;
28097                   offset: -1 -1;
28098                }
28099             }
28100          }
28101          part { name: "elm.swallow.bar";
28102             type: SWALLOW;
28103             scale: 1;
28104             description { state: "default" 0.0;
28105                min: 28 48;
28106                max: 28 9999;
28107                align: 0.5 1.0;
28108                rel1 {
28109                   to_y: "elm.text";
28110                   relative: 0.0 1.0;
28111                   offset: 0 2;
28112                }
28113                rel2 {
28114                   to_y: "elm.text.box";
28115                   relative: 1.0 0.0;
28116                   offset: -1 -3;
28117                }
28118             }
28119          }
28120          part { name: "elm.swallow.content";
28121             type: SWALLOW;
28122             description { state: "default" 0.0;
28123                visible: 0;
28124                align: 0.5 0.0;
28125                rel1 {
28126                   offset: 0 4;
28127                   to_x: "elm.swallow.bar";
28128                }
28129                rel2 {
28130                   offset: -1 3;
28131                   relative: 1.0 0.0;
28132                   to_x: "elm.swallow.bar";
28133                }
28134             }
28135             description { state: "visible" 0.0;
28136                inherit: "default" 0.0;
28137                visible: 1;
28138                aspect: 1.0 1.0;
28139                aspect_preference: HORIZONTAL;
28140                rel2.offset: -1 4;
28141             }
28142          }
28143          part { name: "elm.text";
28144             type: TEXT;
28145             mouse_events: 0;
28146             scale: 1;
28147             description { state: "default" 0.0;
28148                visible: 0;
28149                fixed: 1 1;
28150                align: 0.5 0.0;
28151                rel1.to_y: "elm.swallow.content";
28152                rel1.relative: 0.5 1.0;
28153                rel1.offset: 0 -1;
28154                rel2.to_y: "elm.swallow.content";
28155                rel2.relative: 0.5 1.0;
28156                rel2.offset: -1 -1;
28157                color: 0 0 0 255;
28158                text {
28159                   font: "Sans,Edje-Vera";
28160                   size: 10;
28161                   min: 0 0;
28162                   align: 0.5 0.0;
28163                }
28164             }
28165             description { state: "visible" 0.0;
28166                inherit: "default" 0.0;
28167                visible: 1;
28168                text.min: 1 1;
28169                rel1.offset: 4 0;
28170                rel2.offset: -5 0;
28171             }
28172          }
28173
28174          part { name: "background";
28175             mouse_events: 0;
28176             clip_to: "elm.background.progressbar";
28177             description {
28178                state: "default" 0.0;
28179                rel1 {
28180                   to: "elm.swallow.bar";
28181                   relative: 0.0 0.0;
28182                }
28183                rel2 {
28184                   to: "elm.swallow.bar";
28185                   relative: 1.0 1.0;
28186                   offset: -1 -1;
28187                }
28188                image {
28189                   normal: "shelf_inset.png";
28190                   border: 7 7 7 7;
28191                }
28192             }
28193          }
28194
28195          part { name: "elm.progress.progressbar";
28196             mouse_events: 0;
28197             clip_to: "elm.background.progressbar";
28198             description {
28199                state: "default" 0.0;
28200                min: 28 14;
28201                fixed: 1 1;
28202                rel1 {
28203                   to: "elm.swallow.bar";
28204                   relative: 0.0 0.0;
28205                }
28206                rel2 {
28207                   to_x: "elm.swallow.bar";
28208                   to_y: "elm.cur.progressbar";
28209                   offset: -1 -1;
28210                }
28211                image {
28212                   normal: "bt_sm_base2.png";
28213                   border: 6 6 6 6;
28214                }
28215             }
28216             description {
28217                state: "invert" 0.0;
28218                inherit: "default" 0.0;
28219                rel1 {
28220                   to_x: "elm.swallow.bar";
28221                   to_y: "elm.cur.progressbar";
28222                }
28223                rel2 {
28224                   to: "elm.swallow.bar";
28225                   relative: 1.0 1.0;
28226                }
28227             }
28228             description {
28229                state: "state_begin" 0.0;
28230                inherit: "default" 0.0;
28231                rel1 {
28232                   to: "elm.swallow.bar";
28233                   relative: 0.0 0.0;
28234                }
28235                rel2 {
28236                   to: "elm.swallow.bar";
28237                   relative: 1.0 0.1;
28238                }
28239             }
28240             description {
28241                state: "state_end" 0.0;
28242                inherit: "default" 0.0;
28243                rel1 {
28244                   to: "elm.swallow.bar";
28245                   relative: 0.0 0.9;
28246                }
28247                rel2 {
28248                   to: "elm.swallow.bar";
28249                   relative: 1.0 1.0;
28250                }
28251             }
28252          }
28253
28254          part { name: "over1";
28255             mouse_events: 0;
28256             description { state: "default" 0.0;
28257                rel1.to: "elm.progress.progressbar";
28258                rel2.to: "elm.progress.progressbar";
28259                rel2.relative: 1.0 0.5;
28260                image {
28261                   normal: "bt_sm_hilight.png";
28262                   border: 6 6 6 0;
28263                }
28264             }
28265          }
28266
28267          part { name: "over2";
28268             mouse_events: 1;
28269             repeat_events: 1;
28270             description { state: "default" 0.0;
28271                rel1.to: "elm.progress.progressbar";
28272                rel2.to: "elm.progress.progressbar";
28273                image {
28274                   normal: "bt_sm_shine.png";
28275                   border: 6 6 6 0;
28276                }
28277             }
28278          }
28279
28280          part { name: "elm.cur.progressbar";
28281             mouse_events: 0;
28282             dragable {
28283                confine: "background";
28284                x: 0 0 0;
28285                y: 1 1 1;
28286             }
28287             description { state: "default" 0.0;
28288                min: 28 14;
28289                fixed: 1 1;
28290                visible: 0;
28291                rel1 {
28292                   to: "background";
28293                   relative: 0 0;
28294                }
28295                rel2.to: "background";
28296            }
28297          }
28298
28299          part { name: "elm.text.box";
28300             mouse_events: 0;
28301             type: RECT;
28302             description { state: "default" 0.0;
28303                visible: 0;
28304                rel1 {
28305                   to: "elm.text.status";
28306                   offset: -2 -2;
28307                }
28308                rel2 {
28309                   to: "elm.text.status";
28310                   offset: 2 2;
28311                }
28312                color: 255 255 255 0;
28313             }
28314             description { state: "visible" 0.0;
28315                inherit: "default" 0.0;
28316                visible: 1;
28317             }
28318          }
28319          part { name: "elm.text.status";
28320             type: TEXT;
28321             mouse_events: 0;
28322             scale: 1;
28323             description { state: "default" 0.0;
28324                visible: 0;
28325                fixed: 1 1;
28326                align: 0.5 1.0;
28327                rel1.relative: 0.0 1.0;
28328                rel1.offset: 2 0;
28329                rel2.relative: 1.0 1.0;
28330                rel2.offset: -2 0;
28331                color: 0 0 0 255;
28332                text {
28333                   font: "Sans:style=Bold,Edje-Vera-Bold";
28334                   size: 10;
28335                   min: 0 0;
28336                   align: 0.5 0.0;
28337                }
28338             }
28339             description { state: "visible" 0.0;
28340                inherit: "default" 0.0;
28341                fixed: 1 1;
28342                visible: 1;
28343                text.min: 1 1;
28344                rel1.offset: 8 -9;
28345                rel2.offset: -9 -9;
28346             }
28347          }
28348       }
28349       programs {
28350          program { name: "label_show";
28351             signal: "elm,state,text,visible";
28352             source: "elm";
28353             action:  STATE_SET "visible" 0.0;
28354             target: "elm.text";
28355          }
28356          program { name: "label_hide";
28357             signal: "elm,state,text,hidden";
28358             source: "elm";
28359             action:  STATE_SET "default" 0.0;
28360             target: "elm.text";
28361          }
28362          program { name: "icon_show";
28363             signal: "elm,state,icon,visible";
28364             source: "elm";
28365             action:  STATE_SET "visible" 0.0;
28366             target: "elm.swallow.content";
28367          }
28368          program { name: "icon_hide";
28369             signal: "elm,state,icon,hidden";
28370             source: "elm";
28371             action:  STATE_SET "default" 0.0;
28372             target: "elm.swallow.content";
28373          }
28374          program { name: "units_show";
28375             signal: "elm,state,units,visible";
28376             source: "elm";
28377             action:  STATE_SET "visible" 0.0;
28378             target: "elm.text.status";
28379             target: "elm.text.box";
28380          }
28381          program { name: "units_hide";
28382             signal: "elm,state,units,hidden";
28383             source: "elm";
28384             action:  STATE_SET "default" 0.0;
28385             target: "elm.text.status";
28386             target: "elm.text.box";
28387          }
28388          program { name: "slide_to_end";
28389             action:  STATE_SET "state_end" 0.0;
28390             transition: LINEAR 0.5;
28391             target: "elm.progress.progressbar";
28392             after: "slide_to_begin";
28393          }
28394          program { name: "slide_to_begin";
28395             action:  STATE_SET "state_begin" 0.0;
28396             target: "elm.progress.progressbar";
28397             transition: LINEAR 0.5;
28398             after: "slide_to_end";
28399          }
28400          program { name: "start_pulse";
28401             signal: "elm,state,pulse,start";
28402             source: "elm";
28403             action: STATE_SET "state_begin" 0.0;
28404             target: "elm.progress.progressbar";
28405             after: "slide_to_end";
28406          }
28407          program { name: "stop_pulse";
28408             signal: "elm,state,pulse,stop";
28409             source: "elm";
28410             action: ACTION_STOP;
28411             target: "slide_to_begin";
28412             target: "slide_to_end";
28413             target: "start_pulse";
28414             after: "state_pulse";
28415          }
28416          program { name: "state_pulse";
28417             signal: "elm,state,pulse";
28418             source: "elm";
28419             action: STATE_SET "state_begin" 0.0;
28420             target: "elm.progress.progressbar";
28421             after: "units_hide";
28422          }
28423          program { name: "state_fraction";
28424             signal: "elm,state,fraction";
28425             source: "elm";
28426             action: ACTION_STOP;
28427             target: "slide_to_begin";
28428             target: "slide_to_end";
28429             target: "start_pulse";
28430             action: STATE_SET "default" 0.0;
28431             target: "elm.progress.progressbar";
28432          }
28433          program { name: "set_invert_on";
28434             signal: "elm,state,inverted,on";
28435             source: "elm";
28436             action:  STATE_SET "invert" 0.0;
28437             target: "elm.progress.progressbar";
28438             target: "elm.cur.progressbar";
28439          }
28440          program { name: "set_invert_off";
28441             signal: "elm,state,inverted,off";
28442             source: "elm";
28443             action:  STATE_SET "default" 0.0;
28444             target: "elm.progress.progressbar";
28445             target: "elm.cur.progressbar";
28446          }
28447       }
28448    }
28449
28450 ///////////////////////////////////////////////////////////////////////////////
28451    group { name: "elm/separator/horizontal/default";
28452        images {
28453            image: "separator_h.png" COMP;
28454        }
28455        parts {
28456            part { name: "separator"; // separator group
28457                description { state: "default" 0.0;
28458                    min: 2 2;
28459                    rel1.offset: 4 4;
28460                    rel2.offset: -5 -5;
28461                    image {
28462                        normal: "separator_h.png";
28463                    }
28464                    fill {
28465                        smooth: 0;
28466                    }
28467                }
28468            }
28469        }
28470    }
28471
28472    ///////////////////////////////////////////////////////////////////////////////
28473    group { name: "elm/separator/vertical/default";
28474        images {
28475            image: "separator_v.png" COMP;
28476        }
28477        parts {
28478            part { name: "separator"; // separator group
28479                description { state: "default" 0.0;
28480                    min: 2 2;
28481                    rel1.offset: 4 4;
28482                    rel2.offset: -5 -5;
28483                    image {
28484                        normal: "separator_v.png";
28485                    }
28486                    fill {
28487                        smooth: 0;
28488                    }
28489                }
28490            }
28491        }
28492    }
28493
28494    group { name: "elm/progressbar/horizontal/wheel";
28495        images {
28496            image: "busy-1.png" COMP;
28497            image: "busy-2.png" COMP;
28498            image: "busy-3.png" COMP;
28499            image: "busy-4.png" COMP;
28500            image: "busy-5.png" COMP;
28501            image: "busy-6.png" COMP;
28502            image: "busy-7.png" COMP;
28503            image: "busy-8.png" COMP;
28504            image: "busy-9.png" COMP;
28505        }
28506        parts {
28507            part { name: "elm.background.progressbar";
28508                mouse_events: 0;
28509                type: RECT;
28510                description {
28511                    state: "default" 0.0;
28512                }
28513            }
28514            part { name: "elm.swallow.bar";
28515                mouse_events: 0;
28516                type: SWALLOW;
28517                description { state: "default" 0.0;
28518                    min: 0 0;
28519                    max: 0 0;
28520                    visible: 0;
28521                }
28522            }
28523            part { name: "elm.swallow.content";
28524                type: SWALLOW;
28525                description { state: "default" 0.0;
28526                    min: 0 0;
28527                    max: 0 0;
28528                    visible: 0;
28529                }
28530            }
28531            part { name: "background";
28532                mouse_events: 0;
28533                clip_to: "elm.background.progressbar";
28534                description {
28535                    state: "default" 0.0;
28536                    min: 32 32;
28537                    max: 32 32;
28538                    visible: 1;
28539                    aspect: 1.0 1.0;
28540                    aspect_preference: BOTH;
28541                    image {
28542                        normal: "busy-9.png";
28543                        border: 7 7 7 7;
28544                    }
28545                }
28546                description {
28547                    state: "pulse" 0.0;
28548                    inherit: "default" 0.0;
28549                    image {
28550                        normal: "busy-9.png";
28551                        tween:  "busy-1.png";
28552                        tween:  "busy-2.png";
28553                        tween:  "busy-3.png";
28554                        tween:  "busy-4.png";
28555                        tween:  "busy-5.png";
28556                        tween:  "busy-6.png";
28557                        tween:  "busy-7.png";
28558                        tween:  "busy-8.png";
28559                        border: 7 7 7 7;
28560                    }
28561                }
28562            }
28563        }
28564        programs {
28565            program { name: "start_pulse";
28566                signal: "elm,state,pulse,start";
28567                source: "elm";
28568                action: STATE_SET "pulse" 0.0;
28569                target: "background";
28570                transition: LINEAR 0.5;
28571                after: "start_pulse";
28572            }
28573            program { name: "stop_pulse";
28574                signal: "elm,state,pulse,stop";
28575                source: "elm";
28576                action: STATE_SET "default" 0.0;
28577                target: "background";
28578            }
28579        }
28580    }
28581
28582
28583 ///////////////////////////////////////////////////////////////////////////////
28584    group { name: "elm/spinner/base/default";
28585        images {
28586            image: "shelf_inset.png" COMP;
28587            image: "bt_base1.png" COMP;
28588            image: "bt_hilight.png" COMP;
28589            image: "bt_shine.png" COMP;
28590            image: "bt_glow.png" COMP;
28591            image: "bt_dis_base.png" COMP;
28592            image: "bt_dis_hilight.png" COMP;
28593            image: "sp_bt_l.png" COMP;
28594            image: "sp_bt_r.png" COMP;
28595        }
28596        parts {
28597            part { name: "bg";
28598                type: RECT;
28599                description { state: "default" 0.0;
28600                    min: 0 30;
28601                    rel1.offset: 1 1;
28602                    rel2.offset: -2 -2;
28603                    color: 255 255 255 0;
28604                }
28605            }
28606            part { name: "conf_over";
28607                mouse_events:  0;
28608                description { state: "default" 0.0;
28609                    rel1.to: "bg";
28610                    rel2.to: "bg";
28611                    image {
28612                        normal: "shelf_inset.png";
28613                        border: 7 7 7 7;
28614                        middle: 0;
28615                    }
28616                    fill.smooth : 0;
28617                }
28618            }
28619            part { name: "left_bt";
28620                mouse_events:  1;
28621                description { state: "default" 0.0;
28622                    rel1 { to: "bg";
28623                        offset: 3 3;
28624                    }
28625                    rel2 { to: "bg";
28626                        offset: -4 -4;
28627                    }
28628                    align: 0.0 0.5;
28629                    min: 24 24;
28630                    aspect: 1.0 1.0;
28631                    aspect_preference: VERTICAL;
28632                    image {
28633                        normal: "bt_base1.png";
28634                        border: 6 6 6 6;
28635                    }
28636                    fill.smooth : 0;
28637                }
28638                description { state: "clicked" 0.0;
28639                    inherit: "default" 0.0;
28640                    image.normal: "bt_base1.png";
28641                    image.middle: SOLID;
28642                }
28643                description { state: "disabled" 0.0;
28644                    inherit:  "default" 0.0;
28645                    image {
28646                        normal: "bt_dis_base.png";
28647                        border: 4 4 4 4;
28648                    }
28649                }
28650            }
28651            part {         name: "left_over1";
28652                mouse_events: 0;
28653                description { state: "default" 0.0;
28654                    rel1.to: "left_bt";
28655                    rel2 { to: "left_bt";
28656                        relative: 1.0 0.5;
28657                    }
28658                    image {
28659                        normal: "bt_hilight.png";
28660                        border: 7 7 7 0;
28661                    }
28662                }
28663                description { state: "disabled" 0.0;
28664                    inherit:  "default" 0.0;
28665                    image {
28666                        normal: "bt_dis_hilight.png";
28667                        border: 4 4 4 0;
28668                    }
28669                }
28670            }
28671            part { name: "left_over2";
28672                mouse_events: 1;
28673                repeat_events: 1;
28674                ignore_flags: ON_HOLD;
28675                description { state: "default" 0.0;
28676                    rel1.to: "left_bt";
28677                    rel2.to: "left_bt";
28678                    image {
28679                        normal: "bt_shine.png";
28680                        border: 7 7 7 7;
28681                    }
28682                }
28683                description { state: "disabled" 0.0;
28684                    inherit:  "default" 0.0;
28685                    visible: 0;
28686                }
28687            }
28688            part { name: "left_over3";
28689                mouse_events: 1;
28690                repeat_events: 1;
28691                description { state: "default" 0.0;
28692                    color: 255 255 255 0;
28693                    rel1.to: "left_bt";
28694                    rel2.to: "left_bt";
28695                    image {
28696                        normal: "bt_glow.png";
28697                        border: 12 12 12 12;
28698                    }
28699                    fill.smooth : 0;
28700                }
28701                description { state: "clicked" 0.0;
28702                    inherit:  "default" 0.0;
28703                    visible: 1;
28704                    color: 255 255 255 255;
28705                }
28706            }
28707            part { name: "right_bt";
28708                mouse_events:  1;
28709                description { state: "default" 0.0;
28710                    rel1 { to: "bg";
28711                        offset: -26 3;
28712                    }
28713                    rel2 { to: "bg";
28714                        offset: -4 -4;
28715                    }
28716                    align: 1.0 0.5;
28717                    min: 24 24;
28718                    aspect: 1.0 1.0;
28719                    aspect_preference: VERTICAL;
28720                    image {
28721                        normal: "bt_base1.png";
28722                        border: 5 5 4 12;
28723                    }
28724                    fill.smooth : 0;
28725                }
28726                description { state: "clicked" 0.0;
28727                    inherit: "default" 0.0;
28728                    image.normal: "bt_base1.png";
28729                    image.middle: SOLID;
28730                }
28731                description { state: "disabled" 0.0;
28732                    inherit:  "default" 0.0;
28733                    image {
28734                        normal: "bt_dis_base.png";
28735                        border: 4 4 4 4;
28736                    }
28737                }
28738            }
28739            part { name: "right_over1";
28740                mouse_events: 0;
28741                description { state: "default" 0.0;
28742                    rel1.to: "right_bt";
28743                    rel2 { to: "right_bt";
28744                        relative: 1.0 0.5;
28745                    }
28746                    image {
28747                        normal: "bt_hilight.png";
28748                        border: 7 7 7 0;
28749                    }
28750                }
28751                description { state: "disabled" 0.0;
28752                    inherit:  "default" 0.0;
28753                    image {
28754                        normal: "bt_dis_hilight.png";
28755                        border: 4 4 4 0;
28756                    }
28757                }
28758            }
28759            part { name: "right_over2";
28760                mouse_events: 1;
28761                repeat_events: 1;
28762                ignore_flags: ON_HOLD;
28763                description { state: "default" 0.0;
28764                    rel1.to: "right_bt";
28765                    rel2.to: "right_bt";
28766                    image {
28767                        normal: "bt_shine.png";
28768                        border: 7 7 7 7;
28769                    }
28770                }
28771                description { state: "disabled" 0.0;
28772                    inherit:  "default" 0.0;
28773                    visible: 0;
28774                }
28775            }
28776            part { name: "right_over3";
28777                mouse_events: 1;
28778                repeat_events: 1;
28779                description { state: "default" 0.0;
28780                    color: 255 255 255 0;
28781                    rel1.to: "right_bt";
28782                    rel2.to: "right_bt";
28783                    image {
28784                        normal: "bt_glow.png";
28785                        border: 12 12 12 12;
28786                    }
28787                    fill.smooth : 0;
28788                }
28789                description { state: "clicked" 0.0;
28790                    inherit:  "default" 0.0;
28791                    visible: 1;
28792                    color: 255 255 255 255;
28793                }
28794            }
28795            part { name: "left_bt_icon";
28796                repeat_events: 1;
28797                description { state: "default" 0.0;
28798                    rel1.to: "left_bt";
28799                    rel1.offset: 4 4;
28800                    rel2.to: "left_bt";
28801                    rel2.offset: -5 -5;
28802                    align: 0.5 0.5;
28803                    min: 16 16;
28804                    aspect: 1.0 1.0;
28805                    aspect_preference: BOTH;
28806                    image.normal: "sp_bt_l.png";
28807                }
28808            }
28809            part { name: "right_bt_icon";
28810                repeat_events: 1;
28811                description { state: "default" 0.0;
28812                    rel1.to: "right_bt";
28813                    rel1.offset: 4 4;
28814                    rel2.to: "right_bt";
28815                    rel2.offset: -5 -5;
28816                    align: 0.5 0.5;
28817                    min: 16 16;
28818                    aspect: 1.0 1.0;
28819                    aspect_preference: BOTH;
28820                    image.normal: "sp_bt_r.png";
28821                }
28822            }
28823            part { name: "elm.text";
28824                type: TEXT;
28825                mouse_events: 0;
28826                scale: 1;
28827                description { state: "default" 0.0;
28828                    visible: 1;
28829                    align: 0.0 0.5;
28830                    rel1 { relative: 1.0 0.0;
28831                        offset: 3 2;
28832                        to_x: "left_bt";
28833                        to_y: "bg";
28834                    }
28835                    rel2 { relative: 0.0 1.0;
28836                        offset: -3 -2;
28837                        to_x: "right_bt";
28838                        to_y: "bg";
28839                    }
28840                    color: 0 0 0 255;
28841                    text {
28842                        font: "Sans,Edje-Vera";
28843                        size: 10;
28844                        min: 1 1;
28845                        align: 0.5 0.5;
28846                    }
28847                }
28848                description { state: "active" 0.0;
28849                    inherit: "default" 0.0;
28850                    visible: 0;
28851                }
28852                description { state: "disabled_active" 0.0;
28853                    inherit: "default" 0.0;
28854                    color: 0 0 0 128;
28855                    color3: 0 0 0 0;
28856                }
28857                description { state: "disabled" 0.0;
28858                    inherit: "default" 0.0;
28859                    color: 0 0 0 128;
28860                    color3: 0 0 0 0;
28861                }
28862            }
28863            part { name: "elm.dragable.slider";
28864                type: RECT;
28865                mouse_events: 0;
28866                scale: 1;
28867                dragable {
28868                    x: 1 1 0;
28869                    y: 0 0 0;
28870                }
28871                description { state: "default" 0.0;
28872                    rel1.to: "bg";
28873                    rel2.to: "bg";
28874                    fixed: 1 1;
28875                    color: 0 0 0 0;
28876                }
28877            }
28878            part { name: "button_events";
28879                type: RECT;
28880                dragable {
28881                    events: "elm.dragable.slider";
28882                }
28883                mouse_events: 1;
28884                description { state: "default" 0.0;
28885                    rel1.to: "elm.text";
28886                    rel2.to: "elm.text";
28887                    color: 0 0 0 0;
28888                }
28889            }
28890            part { name: "elm.swallow.entry";
28891                type: SWALLOW;
28892                description { state: "default" 0.0;
28893                    visible: 0;
28894                    align: 0.5 0.5;
28895                    rel1 { relative: 1.0 0.5;
28896                        offset: 3 2;
28897                        to_x: "left_bt";
28898                        to_y: "bg";
28899                    }
28900                    rel2 { relative: 0.0 0.5;
28901                        offset: -3 -2;
28902                        to_x: "right_bt";
28903                        to_y: "bg";
28904                    }
28905                    fixed: 1 1;
28906                    color: 0 0 0 0;
28907                }
28908                description { state: "active" 0.0;
28909                    inherit: "default" 0.0;
28910                    visible: 1;
28911                    color: 255 255 255 255;
28912                }
28913                description { state: "disabled_active" 0.0;
28914                    inherit: "default" 0.0;
28915                    visible: 0;
28916                }
28917                description { state: "disabled" 0.0;
28918                    inherit: "default" 0.0;
28919                    visible: 0;
28920                }
28921            }
28922            part { name: "disabler";
28923                type: RECT;
28924                description { state: "default" 0.0;
28925                    color: 0 0 0 0;
28926                    visible: 0;
28927                }
28928                description { state: "disabled" 0.0;
28929                    inherit: "default" 0.0;
28930                    visible: 1;
28931                }
28932            }
28933        }
28934        programs {
28935            program { name: "text_show";
28936                signal: "elm,state,text,visible";
28937                source: "elm";
28938                action:  STATE_SET "visible" 0.0;
28939                target: "elm.text";
28940            }
28941            program { name: "text_hide";
28942                signal: "elm,state,text,hidden";
28943                source: "elm";
28944                action:  STATE_SET "default" 0.0;
28945                target: "elm.text";
28946            }
28947            program { name: "dec";
28948                signal: "mouse,down,1";
28949                source: "left_bt";
28950                action: SIGNAL_EMIT "elm,action,decrement,start" "";
28951            }
28952            program { name: "dec2";
28953                signal: "mouse,up,1";
28954                source: "left_bt";
28955                action: SIGNAL_EMIT "elm,action,decrement,stop" "";
28956            }
28957            program { name: "inc";
28958                signal: "mouse,down,1";
28959                source: "right_bt";
28960                action: SIGNAL_EMIT "elm,action,increment,start" "";
28961            }
28962            program { name: "inc2";
28963                signal: "mouse,up,1";
28964                source: "right_bt";
28965                action: SIGNAL_EMIT "elm,action,increment,stop" "";
28966            }
28967            program {
28968                name:   "left_bt_click";
28969                signal: "mouse,down,1";
28970                source: "left_over2";
28971                action: STATE_SET "clicked" 0.0;
28972                target: "left_bt";
28973            }
28974            program {
28975                name:   "left_bt_unclick";
28976                signal: "mouse,up,1";
28977                source: "left_over2";
28978                action: STATE_SET "default" 0.0;
28979                target: "left_bt";
28980            }
28981            program {
28982                name:   "left_bt_click2";
28983                signal: "mouse,down,1";
28984                source: "left_over3";
28985                action: STATE_SET "clicked" 0.0;
28986                target: "left_over3";
28987            }
28988            program {
28989                name:   "left_bt_unclick2";
28990                signal: "mouse,up,1";
28991                source: "left_over3";
28992                action: STATE_SET "default" 0.0;
28993                transition: DECELERATE 0.5;
28994                target: "left_over3";
28995            }
28996            program {
28997                name:   "left_bt_unclick3";
28998                signal: "mouse,up,1";
28999                source: "left_over2";
29000                action: SIGNAL_EMIT "elm,action,click" "";
29001            }
29002            program {
29003                name:   "left_bt_pressed_anim";
29004                signal: "elm,left,anim,activate";
29005                source: "elm";
29006                action: STATE_SET "clicked" 0.0;
29007                target: "left_bt";
29008                target: "left_over3";
29009                after: "left_bt_unpressed_anim";
29010            }
29011            program {
29012                name:   "left_bt_unpressed_anim";
29013                action: STATE_SET "default" 0.0;
29014                transition: DECELERATE 0.5;
29015                target: "left_bt";
29016                target: "left_over3";
29017            }
29018
29019            program {
29020                name:   "right_bt_click";
29021                signal: "mouse,down,1";
29022                source: "right_over2";
29023                action: STATE_SET "clicked" 0.0;
29024                target: "right_bt";
29025            }
29026            program {
29027                name:   "right_bt_unclick";
29028                signal: "mouse,up,1";
29029                source: "right_over2";
29030                action: STATE_SET "default" 0.0;
29031                target: "right_bt";
29032            }
29033            program {
29034                name:   "right_bt_click2";
29035                signal: "mouse,down,1";
29036                source: "right_over3";
29037                action: STATE_SET "clicked" 0.0;
29038                target: "right_over3";
29039            }
29040            program {
29041                name:   "right_bt_unclick2";
29042                signal: "mouse,up,1";
29043                source: "right_over3";
29044                action: STATE_SET "default" 0.0;
29045                transition: DECELERATE 0.5;
29046                target: "right_over3";
29047            }
29048            program {
29049                name:   "right_bt_unclick3";
29050                signal: "mouse,up,1";
29051                source: "right_over2";
29052                action: SIGNAL_EMIT "elm,action,click" "";
29053            }
29054            program {
29055                name:   "right_bt_pressed_anim";
29056                signal: "elm,right,anim,activate";
29057                source: "elm";
29058                action: STATE_SET "clicked" 0.0;
29059                target: "right_bt";
29060                target: "right_over3";
29061                after: "right_bt_unpressed_anim";
29062            }
29063            program {
29064                name:   "right_bt_unpressed_anim";
29065                action: STATE_SET "default" 0.0;
29066                transition: DECELERATE 0.5;
29067                target: "right_bt";
29068                target: "right_over3";
29069            }
29070
29071            program { name: "disable";
29072                signal: "elm,state,disabled";
29073                source: "elm";
29074                action: STATE_SET "disabled" 0.0;
29075                target: "left_bt";
29076                target: "left_over1";
29077                target: "left_over2";
29078                target: "right_bt";
29079                target: "right_over1";
29080                target: "right_over2";
29081                target: "disabler";
29082                after: "disable_text";
29083            }
29084            program { name: "disable_text";
29085                script {
29086                    new st[31];
29087                    new Float:vl;
29088                    get_state(PART:"elm.text", st, 30, vl);
29089                    if (!strcmp(st, "active"))
29090                    set_state(PART:"elm.text", "disabled_active", 0.0);
29091                    else
29092                    set_state(PART:"elm.text", "disabled", 0.0);
29093
29094                    get_state(PART:"elm.swallow.entry", st, 30, vl);
29095                    if (!strcmp(st, "active"))
29096                    set_state(PART:"elm.swallow.entry", "disabled_active", 0.0);
29097                    else
29098                    set_state(PART:"elm.swallow.entry", "disabled", 0.0);
29099                }
29100            }
29101            program { name: "enable";
29102                signal: "elm,state,enabled";
29103                source: "elm";
29104                action: STATE_SET "default" 0.0;
29105                target: "left_bt";
29106                target: "left_over1";
29107                target: "left_over2";
29108                target: "right_bt";
29109                target: "right_over1";
29110                target: "right_over2";
29111                target: "disabler";
29112                after: "enable_text";
29113            }
29114            program { name: "enable_text";
29115                script {
29116                    new st[31];
29117                    new Float:vl;
29118                    get_state(PART:"elm.text", st, 30, vl);
29119                    if (!strcmp(st, "disabled_active"))
29120                    set_state(PART:"elm.text", "active", 0.0);
29121                    else
29122                    set_state(PART:"elm.text", "default", 0.0);
29123
29124                    get_state(PART:"elm.swallow.entry", st, 30, vl);
29125                    if (!strcmp(st, "disabled_active"))
29126                    set_state(PART:"elm.swallow.entry", "active", 0.0);
29127                    else
29128                    set_state(PART:"elm.swallow.entry", "default", 0.0);
29129                }
29130            }
29131            program { name: "active";
29132                signal: "elm,state,active";
29133                source: "elm";
29134                action: STATE_SET "active" 0.0;
29135                target: "elm.text";
29136                target: "elm.swallow.entry";
29137            }
29138            program { name: "inactive";
29139                signal: "elm,state,inactive";
29140                source: "elm";
29141                action: STATE_SET "default" 0.0;
29142                target: "elm.text";
29143                target: "elm.swallow.entry";
29144            }
29145            program { name: "toggle_text";
29146                signal: "mouse,up,1";
29147                source: "button_events";
29148                action: SIGNAL_EMIT "elm,action,entry,toggle" "";
29149            }
29150        }
29151    }
29152
29153 ///////////////////////////////////////////////////////////////////////////////
29154    group { name: "elm/spinner/base/vertical";
29155        images {
29156            image: "shelf_inset.png" COMP;
29157            image: "bt_hilight.png" COMP;
29158            image: "bt_shine.png" COMP;
29159            image: "bt_glow.png" COMP;
29160            image: "bt_dis_base.png" COMP;
29161            image: "bt_dis_hilight.png" COMP;
29162            image: "up.png" COMP;
29163            image: "down.png" COMP;
29164            image: "bt_spinner_up.png" COMP;
29165            image: "bt_spinner_down.png" COMP;
29166            image: "bt_spinner_hilight.png" COMP;
29167        }
29168        parts {
29169            part { name: "bg";
29170                type: RECT;
29171                description { state: "default" 0.0;
29172                    min: 0 30;
29173                    rel1.offset: 1 1;
29174                    rel2.offset: -2 -2;
29175                    color: 255 255 255 0;
29176                }
29177            }
29178            part { name: "conf_over";
29179                mouse_events:  0;
29180                description { state: "default" 0.0;
29181                    rel1 {
29182                      to: "bg";
29183                      relative: 0.0 0.0;
29184                    }
29185                    rel2 {
29186                       to: "bg";
29187                    }
29188                    image {
29189                        normal: "shelf_inset.png";
29190                        border: 7 7 7 7;
29191                        middle: 0;
29192                    }
29193                    fill.smooth : 0;
29194                }
29195            }
29196            part { name: "down_bt";
29197                mouse_events:  1;
29198                description { state: "default" 0.0;
29199                    fixed: 1 1;
29200                    rel1 {
29201                        to: "up_bt";
29202                        relative: 0 1;
29203                        offset: 0 1;
29204                    }
29205                    rel2 {
29206                        to_y: "bg";
29207                        to_x: "up_bt";
29208                        relative: 1 1;
29209                        offset: -1 -4;
29210                    }
29211                    align: 1.0 0.5;
29212                    min: 24 16;
29213                    image {
29214                        normal: "bt_spinner_down.png";
29215                        border: 6 6 6 6;
29216                    }
29217                    fill.smooth : 0;
29218                }
29219                description { state: "clicked" 0.0;
29220                    inherit: "default" 0.0;
29221                    image.normal: "bt_spinner_down.png";
29222                    image.middle: SOLID;
29223                }
29224                description { state: "disabled" 0.0;
29225                    inherit:  "default" 0.0;
29226                    image {
29227                        normal: "bt_dis_base.png";
29228                        border: 4 4 4 4;
29229                    }
29230                }
29231            }
29232            part { name: "down_over3";
29233                mouse_events: 1;
29234                repeat_events: 1;
29235                description { state: "default" 0.0;
29236                    color: 255 255 255 0;
29237                    rel1.to: "down_bt";
29238                    rel2.to: "down_bt";
29239                    image {
29240                        normal: "bt_glow.png";
29241                        border: 12 12 12 12;
29242                    }
29243                    fill.smooth : 0;
29244                }
29245                description { state: "clicked" 0.0;
29246                    inherit:  "default" 0.0;
29247                    visible: 1;
29248                    color: 255 255 255 255;
29249                }
29250            }
29251            part { name: "up_bt";
29252                mouse_events:  1;
29253                description { state: "default" 0.0;
29254                    fixed: 1 0;
29255                    rel1 { to: "bg";
29256                        relative: 0 0;
29257                        offset: 0 2;
29258                    }
29259                    rel2 { to: "bg";
29260                        relative: 1 0.5;
29261                        offset: -3 0;
29262                    }
29263                    align: 1.0 0.5;
29264                    min: 24 16;
29265                    aspect: 1.5 1.0;
29266                    aspect_preference: BOTH;
29267                    image {
29268                        normal: "bt_spinner_up.png";
29269                        border: 6 6 6 6;
29270                    }
29271                    fill.smooth : 0;
29272                }
29273                description { state: "clicked" 0.0;
29274                    inherit: "default" 0.0;
29275                    image.normal: "bt_spinner_up.png";
29276                    image.middle: SOLID;
29277                }
29278                description { state: "disabled" 0.0;
29279                    inherit:  "default" 0.0;
29280                    image {
29281                        normal: "bt_dis_base.png";
29282                        border: 4 4 4 4;
29283                    }
29284                }
29285            }
29286            part { name: "up_over1";
29287                mouse_events: 0;
29288                description { state: "default" 0.0;
29289                    rel1.to: "up_bt";
29290                    rel2 { to: "up_bt";
29291                        relative: 1.0 0.5;
29292                    }
29293                    image {
29294                        normal: "bt_spinner_hilight.png";
29295                        border: 7 7 7 0;
29296                    }
29297                }
29298                description { state: "disabled" 0.0;
29299                    inherit:  "default" 0.0;
29300                    image {
29301                        normal: "bt_dis_hilight.png";
29302                        border: 4 4 4 0;
29303                    }
29304                }
29305            }
29306            part { name: "up_over3";
29307                mouse_events: 1;
29308                repeat_events: 1;
29309                description { state: "default" 0.0;
29310                    color: 255 255 255 0;
29311                    rel1.to: "up_bt";
29312                    rel2.to: "up_bt";
29313                    image {
29314                        normal: "bt_glow.png";
29315                        border: 12 12 12 12;
29316                    }
29317                    fill.smooth : 0;
29318                }
29319                description { state: "clicked" 0.0;
29320                    inherit:  "default" 0.0;
29321                    visible: 1;
29322                    color: 255 255 255 255;
29323                }
29324            }
29325            part { name: "down_bt_icon";
29326                repeat_events: 1;
29327                description { state: "default" 0.0;
29328                    rel1.to: "down_bt";
29329                    rel1.offset: 5 3;
29330                    rel2.to: "down_bt";
29331                    rel2.offset: -6 -3;
29332                    align: 0.5 0.5;
29333                    image.normal: "down.png";
29334                }
29335            }
29336            part { name: "up_bt_icon";
29337                repeat_events: 1;
29338                description { state: "default" 0.0;
29339                    rel1.to: "up_bt";
29340                    rel1.offset: 5 3;
29341                    rel2.to: "up_bt";
29342                    rel2.offset: -6 -3;
29343                    align: 0.5 0.5;
29344                    image.normal: "up.png";
29345                }
29346            }
29347            part { name: "elm.text";
29348                type: TEXT;
29349                mouse_events: 0;
29350                scale: 1;
29351                description { state: "default" 0.0;
29352                    visible: 1;
29353                    align: 0.0 0.5;
29354                    rel1 { relative: 0.0 0.0;
29355                        offset: 3 2;
29356                        to_x: "bg";
29357                        to_y: "bg";
29358                    }
29359                    rel2 { relative: 0.0 1.0;
29360                        offset: -3 -2;
29361                        to_x: "down_bt";
29362                        to_y: "bg";
29363                    }
29364                    color: 0 0 0 255;
29365                    text {
29366                        font: "Sans,Edje-Vera";
29367                        size: 10;
29368                        min: 1 1;
29369                        align: 0.5 0.5;
29370                    }
29371                }
29372                description { state: "active" 0.0;
29373                    inherit: "default" 0.0;
29374                    visible: 0;
29375                }
29376                description { state: "disabled_active" 0.0;
29377                    inherit: "default" 0.0;
29378                    color: 0 0 0 128;
29379                    color3: 0 0 0 0;
29380                }
29381                description { state: "disabled" 0.0;
29382                    inherit: "default" 0.0;
29383                    color: 0 0 0 128;
29384                    color3: 0 0 0 0;
29385                }
29386            }
29387            part { name: "elm.dragable.slider";
29388                type: RECT;
29389                mouse_events: 0;
29390                scale: 1;
29391                dragable {
29392                    x: 1 1 0;
29393                    y: 0 0 0;
29394                }
29395                description { state: "default" 0.0;
29396                    rel1.to: "bg";
29397                    rel2.to: "bg";
29398                    fixed: 1 1;
29399                    color: 0 0 0 0;
29400                }
29401            }
29402            part { name: "button_events";
29403                type: RECT;
29404                dragable {
29405                    events: "elm.dragable.slider";
29406                }
29407                mouse_events: 1;
29408                description { state: "default" 0.0;
29409                    rel1.to: "elm.text";
29410                    rel2.to: "elm.text";
29411                    color: 0 0 0 0;
29412                }
29413            }
29414            part { name: "elm.swallow.entry";
29415                type: SWALLOW;
29416                description { state: "default" 0.0;
29417                    visible: 0;
29418                    align: 0.5 0.5;
29419                    rel1 { relative: 0.0 0.5;
29420                        offset: 3 2;
29421                        to: "bg";
29422                    }
29423                    rel2 { relative: 1.0 0.5;
29424                        offset: -3 -2;
29425                        to: "bg";
29426                    }
29427                    fixed: 1 1;
29428                    color: 0 0 0 0;
29429                }
29430                description { state: "active" 0.0;
29431                    inherit: "default" 0.0;
29432                    visible: 1;
29433                    color: 255 255 255 255;
29434                }
29435                description { state: "disabled_active" 0.0;
29436                    inherit: "default" 0.0;
29437                    visible: 0;
29438                }
29439                description { state: "disabled" 0.0;
29440                    inherit: "default" 0.0;
29441                    visible: 0;
29442                }
29443            }
29444            part { name: "disabler";
29445                type: RECT;
29446                description { state: "default" 0.0;
29447                    color: 0 0 0 0;
29448                    visible: 0;
29449                }
29450                description { state: "disabled" 0.0;
29451                    inherit: "default" 0.0;
29452                    visible: 1;
29453                }
29454            }
29455        }
29456        programs {
29457            program { name: "text_show";
29458                signal: "elm,state,text,visible";
29459                source: "elm";
29460                action:  STATE_SET "visible" 0.0;
29461                target: "elm.text";
29462            }
29463            program { name: "text_hide";
29464                signal: "elm,state,text,hidden";
29465                source: "elm";
29466                action:  STATE_SET "default" 0.0;
29467                target: "elm.text";
29468            }
29469            program { name: "dec";
29470                signal: "mouse,down,1";
29471                source: "down_bt";
29472                action: SIGNAL_EMIT "elm,action,decrement,start" "";
29473            }
29474            program { name: "dec2";
29475                signal: "mouse,up,1";
29476                source: "down_bt";
29477                action: SIGNAL_EMIT "elm,action,decrement,stop" "";
29478            }
29479            program { name: "inc";
29480                signal: "mouse,down,1";
29481                source: "up_bt";
29482                action: SIGNAL_EMIT "elm,action,increment,start" "";
29483            }
29484            program { name: "inc2";
29485                signal: "mouse,up,1";
29486                source: "up_bt";
29487                action: SIGNAL_EMIT "elm,action,increment,stop" "";
29488            }
29489            program {
29490                name:   "down_bt_click2";
29491                signal: "mouse,down,1";
29492                source: "down_over3";
29493                action: STATE_SET "clicked" 0.0;
29494                target: "down_over3";
29495            }
29496            program {
29497                name:   "down_bt_unclick2";
29498                signal: "mouse,up,1";
29499                source: "down_over3";
29500                action: STATE_SET "default" 0.0;
29501                transition: DECELERATE 0.5;
29502                target: "down_over3";
29503            }
29504            program {
29505                name:   "up_bt_click2";
29506                signal: "mouse,down,1";
29507                source: "up_over3";
29508                action: STATE_SET "clicked" 0.0;
29509                target: "up_over3";
29510            }
29511            program {
29512                name:   "up_bt_unclick2";
29513                signal: "mouse,up,1";
29514                source: "up_over3";
29515                action: STATE_SET "default" 0.0;
29516                transition: DECELERATE 0.5;
29517                target: "up_over3";
29518            }
29519            program { name: "disable";
29520                signal: "elm,state,disabled";
29521                source: "elm";
29522                action: STATE_SET "disabled" 0.0;
29523                target: "down_bt";
29524                target: "up_bt";
29525                target: "disabler";
29526                after: "disable_text";
29527            }
29528            program { name: "disable_text";
29529                script {
29530                    new st[31];
29531                    new Float:vl;
29532                    get_state(PART:"elm.text", st, 30, vl);
29533                    if (!strcmp(st, "active"))
29534                    set_state(PART:"elm.text", "disabled_active", 0.0);
29535                    else
29536                    set_state(PART:"elm.text", "disabled", 0.0);
29537
29538                    get_state(PART:"elm.swallow.entry", st, 30, vl);
29539                    if (!strcmp(st, "active"))
29540                    set_state(PART:"elm.swallow.entry", "disabled_active", 0.0);
29541                    else
29542                    set_state(PART:"elm.swallow.entry", "disabled", 0.0);
29543                }
29544            }
29545            program { name: "enable";
29546                signal: "elm,state,enabled";
29547                source: "elm";
29548                action: STATE_SET "default" 0.0;
29549                target: "down_bt";
29550                target: "up_bt";
29551                target: "disabler";
29552                after: "enable_text";
29553            }
29554            program { name: "enable_text";
29555                script {
29556                    new st[31];
29557                    new Float:vl;
29558                    get_state(PART:"elm.text", st, 30, vl);
29559                    if (!strcmp(st, "disabled_active"))
29560                    set_state(PART:"elm.text", "active", 0.0);
29561                    else
29562                    set_state(PART:"elm.text", "default", 0.0);
29563
29564                    get_state(PART:"elm.swallow.entry", st, 30, vl);
29565                    if (!strcmp(st, "disabled_active"))
29566                    set_state(PART:"elm.swallow.entry", "active", 0.0);
29567                    else
29568                    set_state(PART:"elm.swallow.entry", "default", 0.0);
29569                }
29570            }
29571            program { name: "active";
29572                signal: "elm,state,active";
29573                source: "elm";
29574                action: STATE_SET "active" 0.0;
29575                target: "elm.text";
29576                target: "elm.swallow.entry";
29577            }
29578            program { name: "inactive";
29579                signal: "elm,state,inactive";
29580                source: "elm";
29581                action: STATE_SET "default" 0.0;
29582                target: "elm.text";
29583                target: "elm.swallow.entry";
29584            }
29585            program { name: "toggle_text";
29586                signal: "mouse,up,1";
29587                source: "button_events";
29588                action: SIGNAL_EMIT "elm,action,entry,toggle" "";
29589            }
29590        }
29591    }
29592
29593
29594    ///////////////////////////////////////////////////////////////////////////////
29595    group { name: "elm/index/base/vertical/default";
29596        images {
29597            image: "bt_base1.png" COMP;
29598            image: "bt_base2.png" COMP;
29599            image: "bt_hilight.png" COMP;
29600            image: "bt_shine.png" COMP;
29601        }
29602        parts {
29603            part { name: "clip";
29604                type: RECT;
29605                mouse_events:  0;
29606                description { state: "default" 0.0;
29607                    visible:  0;
29608                    color: 255 255 255 0;
29609                }
29610                description { state: "active" 0.0;
29611                    visible:  1;
29612                    color: 255 255 255 255;
29613                }
29614            }
29615            part { name: "clip2";
29616                type: RECT;
29617                mouse_events:  0;
29618                clip_to: "clip";
29619                description { state: "default" 0.0;
29620                    visible: 0;
29621                    color: 255 255 255 0;
29622                }
29623                description { state: "active" 0.0;
29624                    visible:  1;
29625                    color: 255 255 255 255;
29626                }
29627            }
29628            part { name: "elm.swallow.index.0";
29629                type: SWALLOW;
29630                clip_to: "clip";
29631                description { state: "default" 0.0;
29632                    align: 1.0 0.5;
29633                    fixed: 1 1;
29634                    rel1 {
29635                        relative: 1.0 0.5;
29636                        offset: -1 5;
29637                    }
29638                    rel2 {
29639                        relative: 1.0 0.5;
29640                        offset: -1 -6;
29641                    }
29642                }
29643            }
29644            part { name: "button_image";
29645                mouse_events: 1;
29646                clip_to: "clip";
29647                description { state: "default" 0.0;
29648                    rel1 {
29649                        to: "elm.text.body";
29650                        offset: -5 -5;
29651                    }
29652                    rel2 {
29653                        to: "elm.text";
29654                        offset: 4 4;
29655                    }
29656                    image {
29657                        normal: "bt_base2.png";
29658                        border: 7 7 7 7;
29659                    }
29660                    image.middle: SOLID;
29661                }
29662            }
29663            part { name: "elm.text.body";
29664                type: TEXT;
29665                effect: SOFT_SHADOW;
29666                mouse_events: 0;
29667                scale: 1;
29668                clip_to: "clip";
29669                description { state: "default" 0.0;
29670                    align: 1.0 0.5;
29671                    fixed: 1 1;
29672                    rel1 {
29673                        to: "elm.text";
29674                        relative: 0.0 0.0;
29675                        offset: 5 0;
29676                    }
29677                    rel2 {
29678                        to: "elm.text";
29679                        relative: 0.0 1.0;
29680                        offset: 5 -1;
29681                    }
29682                    color: 224 224 224 255;
29683                    color3: 0 0 0 64;
29684                    text {
29685                        font:     "Sans,Edje-Vera";
29686                        size:     20;
29687                        min:      1 1;
29688                        align:    1.0 0.5;
29689                    }
29690                }
29691            }
29692            part { name: "elm.text";
29693                type: TEXT;
29694                effect: SOFT_SHADOW;
29695                mouse_events: 0;
29696                scale: 1;
29697                clip_to: "clip";
29698                description { state: "default" 0.0;
29699                    align: 1.0 0.5;
29700                    fixed: 1 1;
29701                    rel1 {
29702                        to_x: "elm.swallow.event.0";
29703                        to_y: "elm.dragable.pointer";
29704                        relative: 0.0 0.5;
29705                        offset: -16 0;
29706                    }
29707                    rel2 {
29708                        to_x: "elm.swallow.event.0";
29709                        to_y: "elm.dragable.pointer";
29710                        relative: 0.0 0.5;
29711                        offset: -16 -1;
29712                    }
29713                    color: 255 0 0 255;
29714                    color3: 0 0 0 64;
29715                    text {
29716                        font:     "Sans,Edje-Vera";
29717                        size:     20;
29718                        min:      1 1;
29719                        align:    1.0 0.5;
29720                    }
29721                }
29722            }
29723            part {       name: "over1";
29724                mouse_events: 0;
29725                clip_to: "clip";
29726                description { state: "default" 0.0;
29727                    rel1 {
29728                        to: "button_image";
29729                    }
29730                    rel2 {
29731                        to: "button_image";
29732                        relative: 1.0 0.5;
29733                    }
29734                    image {
29735                        normal: "bt_hilight.png";
29736                        border: 7 7 7 0;
29737                    }
29738                }
29739            }
29740            part { name: "over2";
29741                mouse_events: 1;
29742                repeat_events: 1;
29743                ignore_flags: ON_HOLD;
29744                clip_to: "clip";
29745                description { state: "default" 0.0;
29746                    rel1 {
29747                        to: "button_image";
29748                    }
29749                    rel2 {
29750                        to: "button_image";
29751                    }
29752                    image {
29753                        normal: "bt_shine.png";
29754                        border: 7 7 7 7;
29755                    }
29756                }
29757            }
29758            part { name: "elm.dragable.pointer";
29759                type: RECT;
29760                mouse_events: 0;
29761                dragable {
29762                    x: 1 1 0;
29763                    y: 1 1 0;
29764                }
29765                clip_to: "clip";
29766                description { state: "default" 0.0;
29767                    fixed: 1 1;
29768                    min: 8 8;
29769                    max: 8 8;
29770                    rel1 {
29771                        relative: 0.0 0.0;
29772                        offset:   0 0;
29773                    }
29774                    rel2 {
29775                        relative: 0.0 0.0;
29776                        offset:   0 0;
29777                    }
29778                    color: 0 0 255 128;
29779                }
29780            }
29781            part { name: "elm.swallow.event.0";
29782                type: SWALLOW;
29783                description { state: "default" 0.0;
29784                    align: 1.0 0.5;
29785                    fixed: 1 1;
29786                    rel1 {
29787                        relative: 1.0 0.0;
29788                        offset: -1 0;
29789                    }
29790                    rel2 {
29791                        relative: 1.0 1.0;
29792                        offset: -1 -1;
29793                    }
29794                }
29795            }
29796        }
29797        programs {
29798            program { name: "active";
29799                signal: "elm,state,active";
29800                source: "elm";
29801                action: STATE_SET "active" 0.0;
29802                transition: DECELERATE 0.5;
29803                target: "clip";
29804            }
29805            program { name: "inactive";
29806                signal: "elm,state,inactive";
29807                source: "elm";
29808                action: STATE_SET "default" 0.0;
29809                transition: DECELERATE 0.5;
29810                target: "clip";
29811            }
29812        }
29813    }
29814
29815    group { name: "elm/index/item/vertical/default";
29816        data.item: "stacking" "above";
29817        data.item: "selectraise" "on";
29818        images {
29819            image: "ilist_1.png" COMP;
29820            image: "ilist_item_shadow.png" COMP;
29821        }
29822        parts {
29823            part {
29824                name: "base_sh";
29825                mouse_events: 0;
29826                description {
29827                    state: "default" 0.0;
29828                    align: 0.0 0.0;
29829                    min: 0 10;
29830                    fixed: 1 1;
29831                    rel1 {
29832                        to: "base";
29833                        relative: 0.0 1.0;
29834                        offset: 0 0;
29835                    }
29836                    rel2 {
29837                        to: "base";
29838                        relative: 1.0 1.0;
29839                        offset: -1 0;
29840                    }
29841                    image {
29842                        normal: "ilist_item_shadow.png";
29843                    }
29844                    fill.smooth: 0;
29845                }
29846            }
29847            part {
29848                name: "base";
29849                mouse_events: 0;
29850                description {
29851                    state: "default" 0.0;
29852                    image {
29853                        normal: "ilist_1.png";
29854                        border: 2 2 2 2;
29855                    }
29856                    fill.smooth: 0;
29857                }
29858                description { state: "active" 0.0;
29859                    inherit: "default" 0.0;
29860                    rel1 {
29861                        offset: -16 0;
29862                    }
29863                }
29864            }
29865            part { name: "elm.text";
29866                type:           TEXT;
29867                mouse_events:   0;
29868                scale: 1;
29869                description {
29870                    state: "default" 0.0;
29871                           //               min: 16 16;
29872                    rel1 {
29873                        to: "base";
29874                        relative: 0.0  0.0;
29875                        offset:   4 4;
29876                    }
29877                    rel2 {
29878                        to: "base";
29879                        relative: 1.0  1.0;
29880                        offset:   -5 -5;
29881                    }
29882                    color: 0 0 0 128;
29883                    text {
29884                        font: "Sans";
29885                        size: 10;
29886                        min: 1 1;
29887                             //                  min: 0 1;
29888                        align: 0.0 0.5;
29889                    }
29890                }
29891                description { state: "active" 0.0;
29892                    inherit: "default" 0.0;
29893                    color: 0 0 0 255;
29894                }
29895            }
29896        }
29897        programs {
29898            program { name: "active";
29899                signal: "elm,state,active";
29900                source: "elm";
29901                action: STATE_SET "active" 0.0;
29902                transition: DECELERATE 0.5;
29903                target: "elm.text";
29904                target: "base";
29905            }
29906            program { name: "inactive";
29907                signal: "elm,state,inactive";
29908                source: "elm";
29909                action: STATE_SET "default" 0.0;
29910                transition: DECELERATE 0.5;
29911                target: "elm.text";
29912                target: "base";
29913            }
29914        }
29915    }
29916
29917    group { name: "elm/index/item_odd/vertical/default";
29918        data.item: "stacking" "below";
29919        images {
29920            image: "ilist_2.png" COMP;
29921        }
29922        parts {
29923            part {
29924                name: "base";
29925                mouse_events: 0;
29926                description {
29927                    state: "default" 0.0;
29928                    image {
29929                        normal: "ilist_2.png";
29930                        border: 2 2 2 2;
29931                    }
29932                    fill.smooth: 0;
29933                }
29934                description { state: "active" 0.0;
29935                    inherit: "default" 0.0;
29936                    rel1 {
29937                        offset: -16 0;
29938                    }
29939                }
29940            }
29941            part { name: "elm.text";
29942                type:           TEXT;
29943                mouse_events:   0;
29944                scale: 1;
29945                description {
29946                    state: "default" 0.0;
29947                           //               min: 16 16;
29948                    rel1 {
29949                        to: "base";
29950                        relative: 0.0  0.0;
29951                        offset:   4 4;
29952                    }
29953                    rel2 {
29954                        to: "base";
29955                        relative: 1.0  1.0;
29956                        offset:   -5 -5;
29957                    }
29958                    color: 0 0 0 128;
29959                    text {
29960                        font: "Sans";
29961                        size: 10;
29962                        min: 1 1;
29963                             //                  min: 0 1;
29964                        align: 0.0 0.5;
29965                    }
29966                }
29967                description { state: "active" 0.0;
29968                    inherit: "default" 0.0;
29969                    color: 0 0 0 255;
29970                }
29971            }
29972        }
29973        programs {
29974            program { name: "active";
29975                signal: "elm,state,active";
29976                source: "elm";
29977                action: STATE_SET "active" 0.0;
29978                transition: DECELERATE 0.5;
29979                target: "elm.text";
29980                target: "base";
29981            }
29982            program { name: "inactive";
29983                signal: "elm,state,inactive";
29984                source: "elm";
29985                action: STATE_SET "default" 0.0;
29986                transition: DECELERATE 0.5;
29987                target: "elm.text";
29988                target: "base";
29989            }
29990        }
29991    }
29992
29993 ///////////////////////////////////////////////////////////////////////////////
29994    group { name: "elm/gengrid/item/default/default";
29995       data.item: "labels" "elm.text";
29996       data.item: "icons" "elm.swallow.icon elm.swallow.end";
29997       images {
29998          image: "bt_sm_base1.png" COMP;
29999          image: "bt_sm_shine.png" COMP;
30000          image: "bt_sm_hilight.png" COMP;
30001          image: "ilist_1.png" COMP;
30002          image: "ilist_item_shadow.png" COMP;
30003       }
30004       parts {
30005          part { name: "event";
30006             type: RECT;
30007             repeat_events: 1;
30008             description {
30009                state: "default" 0.0;
30010                color: 0 0 0 0;
30011             }
30012          }
30013          part { name: "base_sh";
30014             mouse_events: 0;
30015             description { state: "default" 0.0;
30016                align: 0.0 0.0;
30017                min: 0 10;
30018                fixed: 1 1;
30019                rel1 {
30020                   to: "base";
30021                   relative: 0.0 1.0;
30022                   offset: 0 0;
30023                }
30024                rel2 {
30025                   to: "base";
30026                   relative: 1.0 1.0;
30027                   offset: -1 0;
30028                }
30029                image {
30030                   normal: "ilist_item_shadow.png";
30031                }
30032                fill.smooth: 0;
30033             }
30034          }
30035          part { name: "base";
30036             mouse_events: 0;
30037             description { state: "default" 0.0;
30038                image {
30039                   normal: "ilist_1.png";
30040                   border: 2 2 2 2;
30041                }
30042                fill.smooth: 0;
30043             }
30044          }
30045          part { name: "bg";
30046             clip_to: "disclip";
30047             mouse_events: 0;
30048             description { state: "default" 0.0;
30049                visible: 0;
30050                color: 255 255 255 0;
30051                rel1 {
30052                   relative: 0.0 0.0;
30053                   offset: -5 -5;
30054                }
30055                rel2 {
30056                   relative: 1.0 1.0;
30057                   offset: 4 4;
30058                }
30059                image {
30060                   normal: "bt_sm_base1.png";
30061                   border: 6 6 6 6;
30062                }
30063                image.middle: SOLID;
30064             }
30065             description { state: "selected" 0.0;
30066                inherit: "default" 0.0;
30067                visible: 1;
30068                color: 255 255 255 255;
30069                rel1 {
30070                   relative: 0.0 0.0;
30071                   offset: -2 -2;
30072                }
30073                rel2 {
30074                   relative: 1.0 1.0;
30075                   offset: 1 1;
30076                }
30077             }
30078          }
30079          part { name: "elm.swallow.pad";
30080             type: SWALLOW;
30081             description { state: "default" 0.0;
30082                fixed: 1 0;
30083                align: 0.0 0.5;
30084                rel1 {
30085                   relative: 0.0  1.0;
30086                   offset:   0    -10;
30087                }
30088                rel2 {
30089                   to_y: "elm.text";
30090                   relative: 0.0  0.0;
30091                   offset:   -1   -1;
30092                }
30093             }
30094          }
30095          part { name: "elm.swallow.icon";
30096             clip_to: "disclip";
30097             type: SWALLOW;
30098             description { state: "default" 0.0;
30099                fixed: 1 0;
30100                align: 0.5 0.5;
30101                rel1 {
30102                   relative: 0.0  0.0;
30103                   offset:   -1    4;
30104                }
30105                rel2 {
30106                   to_y: "elm.swallow.pad";
30107                   relative: 1.0  0.0;
30108                   offset:   -1   -5;
30109                }
30110             }
30111          }
30112          part { name: "elm.swallow.end";
30113             clip_to: "disclip";
30114             type: SWALLOW;
30115             description { state: "default" 0.0;
30116                fixed: 1 0;
30117                align: 1.0 0.0;
30118                aspect: 1.0 1.0;
30119                aspect_preference: HORIZONTAL;
30120                rel1 {
30121                   relative: 1.0 0.0;
30122                   offset: -5 -5;
30123                }
30124                rel2 {
30125                   relative: 1.0 1.0;
30126                   offset: 5 5;
30127                }
30128             }
30129          }
30130          part { name: "elm.text";
30131             clip_to: "disclip";
30132             type: TEXT;
30133             effect: SOFT_SHADOW;
30134             mouse_events: 0;
30135             scale: 1;
30136             description { state: "default" 0.0;
30137                rel1 {
30138                   relative: 0.0  1.0;
30139                   offset: 0 0;
30140                }
30141                rel2 {
30142                   relative: 1.0  1.0;
30143                   offset: -5 -5;
30144                }
30145                color: 0 0 0 255;
30146                color3: 0 0 0 0;
30147                text {
30148                   font: "Sans";
30149                   size: 10;
30150                   min: 0 1;
30151                   align: 0.5 0.0;
30152                   text_class: "grid_item";
30153                }
30154             }
30155             description { state: "selected" 0.0;
30156                inherit: "default" 0.0;
30157                color: 224 224 224 255;
30158                color3: 0 0 0 64;
30159             }
30160          }
30161          part { name: "fg1";
30162             clip_to: "disclip";
30163             mouse_events: 0;
30164             description { state: "default" 0.0;
30165                visible: 0;
30166                color: 255 255 255 0;
30167                rel1.to: "bg";
30168                rel2.relative: 1.0 0.5;
30169                rel2.to: "bg";
30170                image {
30171                   normal: "bt_sm_hilight.png";
30172                   border: 6 6 6 0;
30173                }
30174             }
30175             description { state: "selected" 0.0;
30176                inherit: "default" 0.0;
30177                visible: 1;
30178                color: 255 255 255 255;
30179             }
30180          }
30181          part { name: "fg2";
30182             clip_to: "disclip";
30183             mouse_events: 0;
30184             description { state: "default" 0.0;
30185                visible: 0;
30186                color: 255 255 255 0;
30187                rel1.to: "bg";
30188                rel2.to: "bg";
30189                image {
30190                   normal: "bt_sm_shine.png";
30191                   border: 6 6 6 0;
30192                }
30193             }
30194             description { state: "selected" 0.0;
30195                inherit: "default" 0.0;
30196                visible: 1;
30197                color: 255 255 255 255;
30198             }
30199          }
30200          part { name: "disclip";
30201             type: RECT;
30202             description { state: "default" 0.0;
30203                rel1.to: "bg";
30204                rel2.to: "bg";
30205             }
30206             description { state: "disabled" 0.0;
30207                inherit: "default" 0.0;
30208                color: 255 255 255 64;
30209             }
30210          }
30211       }
30212       programs {
30213          // signal: elm,state,%s,active
30214          //   a "check" item named %s went active
30215          // signal: elm,state,%s,passive
30216          //   a "check" item named %s went passive
30217          // default is passive
30218          program { name:    "go_active";
30219             signal:  "elm,state,selected";
30220             source:  "elm";
30221             action:  STATE_SET "selected" 0.0;
30222             target:  "bg";
30223             target:  "fg1";
30224             target:  "fg2";
30225             target:  "elm.text";
30226          }
30227          program { name:    "go_passive";
30228             signal:  "elm,state,unselected";
30229             source:  "elm";
30230             action:  STATE_SET "default" 0.0;
30231             target:  "bg";
30232             target:  "fg1";
30233             target:  "fg2";
30234             target:  "elm.text";
30235             transition: LINEAR 0.1;
30236          }
30237          program { name:    "go_disabled";
30238             signal:  "elm,state,disabled";
30239             source:  "elm";
30240             action:  STATE_SET "disabled" 0.0;
30241             target:  "disclip";
30242          }
30243          program { name:    "go_enabled";
30244             signal:  "elm,state,enabled";
30245             source:  "elm";
30246             action:  STATE_SET "default" 0.0;
30247             target:  "disclip";
30248          }
30249       }
30250    }
30251    group { name: "elm/gengrid/item/default_style/default";
30252        styles
30253        {
30254            style { name: "gengrid_style";
30255                base: "font=Sans font_size=10 align=left valign=0.5 color=#000 text_class=grid_item";
30256                tag:  "br" "\n";
30257                tag:  "ps" "ps";
30258                tag:  "hilight" "+ font=Sans:style=Bold";
30259                tag:  "b" "+ font=Sans:style=Bold";
30260                tag:  "tab" "\t";
30261            }
30262            style { name: "gengrid_selected_style";
30263                base: "font=Sans font_size=10 align=left valign=0.5 color=#fff text_class=grid_item";
30264                tag:  "br" "\n";
30265                tag:  "ps" "ps";
30266                tag:  "hilight" "+ font=Sans:style=Bold";
30267                tag:  "b" "+ font=Sans:style=Bold";
30268                tag:  "tab" "\t";
30269            }
30270        }
30271        data.item: "labels" "elm.text";
30272        data.item: "icons" "elm.swallow.icon elm.swallow.end";
30273        images {
30274            image: "bt_sm_base1.png" COMP;
30275            image: "bt_sm_shine.png" COMP;
30276            image: "bt_sm_hilight.png" COMP;
30277            image: "ilist_1.png" COMP;
30278            image: "ilist_item_shadow.png" COMP;
30279        }
30280        parts {
30281            part { name: "event";
30282                type: RECT;
30283                repeat_events: 1;
30284                description { state: "default" 0.0;
30285                    color: 0 0 0 0;
30286                }
30287            }
30288            part { name: "base_sh";
30289                mouse_events: 0;
30290                description { state: "default" 0.0;
30291                    align: 0.0 0.0;
30292                    min: 0 10;
30293                    fixed: 1 1;
30294                    rel1 {
30295                        to: "base";
30296                        relative: 0.0 1.0;
30297                        offset: 0 0;
30298                    }
30299                    rel2 {
30300                        to: "base";
30301                        relative: 1.0 1.0;
30302                        offset: -1 0;
30303                    }
30304                    image {
30305                        normal: "ilist_item_shadow.png";
30306                    }
30307                    fill.smooth: 0;
30308                }
30309            }
30310            part { name: "base";
30311                mouse_events: 0;
30312                description { state: "default" 0.0;
30313                    min: 16 28;
30314                    image {
30315                        normal: "ilist_1.png";
30316                        border: 2 2 2 2;
30317                    }
30318                    fill.smooth: 0;
30319                }
30320            }
30321            part { name: "bg";
30322                clip_to: "disclip";
30323                mouse_events: 0;
30324                description { state: "default" 0.0;
30325                    visible: 0;
30326                    color: 255 255 255 0;
30327                    rel1 {
30328                        relative: 0.0 0.0;
30329                        offset: -5 -5;
30330                    }
30331                    rel2 {
30332                        relative: 1.0 1.0;
30333                        offset: 4 4;
30334                    }
30335                    image {
30336                        normal: "bt_sm_base1.png";
30337                        border: 6 6 6 6;
30338                    }
30339                    image.middle: SOLID;
30340                }
30341                description { state: "selected" 0.0;
30342                    inherit: "default" 0.0;
30343                    visible: 1;
30344                    color: 255 255 255 255;
30345                    rel1 {
30346                        relative: 0.0 0.0;
30347                        offset: -2 -2;
30348                    }
30349                    rel2 {
30350                        relative: 1.0 1.0;
30351                        offset: 1 1;
30352                    }
30353                }
30354            }
30355            part { name: "elm.swallow.pad";
30356                type: SWALLOW;
30357                description { state: "default" 0.0;
30358                    fixed: 1 0;
30359                    align: 0.0 0.5;
30360                    rel1 {
30361                        relative: 0.0  0.0;
30362                        offset:   4    4;
30363                    }
30364                    rel2 {
30365                        relative: 0.0  1.0;
30366                        offset:   4   -5;
30367                    }
30368                }
30369            }
30370            part { name: "elm.swallow.icon";
30371                clip_to: "disclip";
30372                type: SWALLOW;
30373                description { state: "default" 0.0;
30374                    fixed: 1 0;
30375                    align: 0.0 0.5;
30376                    rel1 {
30377                        to_x: "elm.swallow.pad";
30378                        relative: 1.0  0.0;
30379                        offset:   -1    4;
30380                    }
30381                    rel2 {
30382                        to_x: "elm.swallow.pad";
30383                        relative: 1.0  1.0;
30384                        offset:   -1   -5;
30385                    }
30386                }
30387            }
30388            part { name: "elm.swallow.end";
30389                clip_to: "disclip";
30390                type: SWALLOW;
30391                description { state: "default" 0.0;
30392                    fixed: 1 0;
30393                    align: 1.0 0.5;
30394                    aspect: 1.0 1.0;
30395                    aspect_preference: VERTICAL;
30396                    rel1 {
30397                        relative: 1.0  0.0;
30398                        offset:   -5    4;
30399                    }
30400                    rel2 {
30401                        relative: 1.0  1.0;
30402                        offset:   -5   -5;
30403                    }
30404                }
30405            }
30406            part { name: "elm.text";
30407                clip_to: "disclip";
30408                type: TEXTBLOCK;
30409                mouse_events: 0;
30410                scale: 1;
30411                description {
30412                    state: "default" 0.0;
30413                    align: 0.0 0.5;
30414                    fixed: 0 1;
30415                    rel1 {
30416                        to_x: "elm.swallow.icon";
30417                        to_y: "base";
30418                        relative: 1.0  0.5;
30419                        offset:   0 4;
30420                    }
30421                    rel2 {
30422                        to_x: "elm.swallow.end";
30423                        to_y: "base";
30424                        relative: 0.0  0.5;
30425                        offset:   -1 -5;
30426                    }
30427                    text {
30428                        style: "gengrid_style";
30429                        min: 1 1;
30430                    }
30431                }
30432                description { state: "selected" 0.0;
30433                    inherit: "default" 0.0;
30434                    text {
30435                        style: "gengrid_selected_style";
30436                    }
30437                }
30438            }
30439            part { name: "fg1";
30440                clip_to: "disclip";
30441                mouse_events: 0;
30442                description { state: "default" 0.0;
30443                    visible: 0;
30444                    color: 255 255 255 0;
30445                    rel1.to: "bg";
30446                    rel2.relative: 1.0 0.5;
30447                    rel2.to: "bg";
30448                    image {
30449                        normal: "bt_sm_hilight.png";
30450                        border: 6 6 6 0;
30451                    }
30452                }
30453                description { state: "selected" 0.0;
30454                    inherit: "default" 0.0;
30455                    visible: 1;
30456                    color: 255 255 255 255;
30457                }
30458            }
30459            part { name: "fg2";
30460                clip_to: "disclip";
30461                mouse_events: 0;
30462                description { state: "default" 0.0;
30463                    visible: 0;
30464                    color: 255 255 255 0;
30465                    rel1.to: "bg";
30466                    rel2.to: "bg";
30467                    image {
30468                        normal: "bt_sm_shine.png";
30469                        border: 6 6 6 0;
30470                    }
30471                }
30472                description { state: "selected" 0.0;
30473                    inherit: "default" 0.0;
30474                    visible: 1;
30475                    color: 255 255 255 255;
30476                }
30477            }
30478            part { name: "disclip";
30479                type: RECT;
30480                description { state: "default" 0.0;
30481                    rel1.to: "bg";
30482                    rel2.to: "bg";
30483                }
30484                description { state: "disabled" 0.0;
30485                    inherit: "default" 0.0;
30486                    color: 255 255 255 64;
30487                }
30488            }
30489        }
30490        programs {
30491            // signal: elm,state,%s,active
30492            //   a "check" item named %s went active
30493            // signal: elm,state,%s,passive
30494            //   a "check" item named %s went passive
30495            // default is passive
30496            program { name:    "go_active";
30497                signal:  "elm,state,selected";
30498                source:  "elm";
30499                action:  STATE_SET "selected" 0.0;
30500                target:  "bg";
30501                target:  "fg1";
30502                target:  "fg2";
30503                target:  "elm.text";
30504            }
30505            program { name:    "go_passive";
30506                signal:  "elm,state,unselected";
30507                source:  "elm";
30508                action:  STATE_SET "default" 0.0;
30509                target:  "bg";
30510                target:  "fg1";
30511                target:  "fg2";
30512                target:  "elm.text";
30513                transition: LINEAR 0.1;
30514            }
30515            program { name:    "go_disabled";
30516                signal:  "elm,state,disabled";
30517                source:  "elm";
30518                action:  STATE_SET "disabled" 0.0;
30519                target:  "disclip";
30520            }
30521            program { name:    "go_enabled";
30522                signal:  "elm,state,enabled";
30523                source:  "elm";
30524                action:  STATE_SET "default" 0.0;
30525                target:  "disclip";
30526            }
30527        }
30528    }
30529
30530    group { name: "elm/gengrid/item/up/default";
30531       data.item: "labels" "elm.text";
30532       images {
30533           image: "bt_sm_base1.png" COMP;
30534           image: "bt_sm_shine.png" COMP;
30535           image: "bt_sm_hilight.png" COMP;
30536           image: "arrow_up.png" COMP;
30537       }
30538       parts {
30539          part { name: "event";
30540             type: RECT;
30541             repeat_events: 1;
30542             description { state: "default" 0.0;
30543                color: 0 0 0 0;
30544             }
30545          }
30546          part { name: "bg";
30547             clip_to: "disclip";
30548             mouse_events: 0;
30549             description { state: "default" 0.0;
30550                visible: 0;
30551                color: 255 255 255 0;
30552                rel1.offset: -3 -3;
30553                rel2.offset: 2 2;
30554                image { normal: "bt_sm_base1.png";
30555                   border: 6 6 6 6;
30556                   middle: SOLID;
30557                }
30558             }
30559             description { state: "selected" 0.0;
30560                inherit: "default" 0.0;
30561                visible: 1;
30562                color: 255 255 255 255;
30563             }
30564          }
30565          part { name: "image";
30566              type: IMAGE;
30567              mouse_events: 0;
30568              description { state: "default" 0.0;
30569                  aspect_preference: BOTH;
30570                  aspect: 1.0 1.0;
30571                  image.normal: "arrow_up.png";
30572                  rel2 {
30573                      to_y: "elm.text";
30574                      relative: 1.0 0.0;
30575                      offset: -1 -2;
30576                  }
30577              }
30578          }
30579          part { name: "elm.text";
30580             clip_to: "disclip";
30581             type: TEXT;
30582             effect: SOFT_SHADOW;
30583             mouse_events: 0;
30584             scale: 1;
30585             description { state: "default" 0.0;
30586                rel1 {
30587                   relative: 0.0  1.0;
30588                   offset: 20 -25;
30589                }
30590                rel2 {
30591                   relative: 1.0  1.0;
30592                   offset: -21 -3;
30593                }
30594                color: 0 0 0 255;
30595                color3: 0 0 0 0;
30596                text {
30597                   font: "Sans";
30598                   size: 10;
30599                   min: 0 1;
30600                   align: 0.5 0.0;
30601                   text_class: "grid_item";
30602                }
30603             }
30604             description { state: "selected" 0.0;
30605                inherit: "default" 0.0;
30606                color: 224 224 224 255;
30607                color3: 0 0 0 64;
30608             }
30609          }
30610          part { name: "fg1";
30611             clip_to: "disclip";
30612             mouse_events: 0;
30613             description { state: "default" 0.0;
30614                visible: 0;
30615                color: 255 255 255 0;
30616                rel1.offset: -3 -3;
30617                rel2 {
30618                    relative: 1.0 0.5;
30619                    offset: 2 -1;
30620                }
30621                image {
30622                   normal: "bt_sm_hilight.png";
30623                   border: 6 6 6 0;
30624                }
30625             }
30626             description { state: "selected" 0.0;
30627                inherit: "default" 0.0;
30628                visible: 1;
30629                color: 255 255 255 255;
30630             }
30631          }
30632          part { name: "fg2";
30633             clip_to: "disclip";
30634             mouse_events: 0;
30635             description { state: "default" 0.0;
30636                visible: 0;
30637                color: 255 255 255 0;
30638                rel1.offset: -3 -3;
30639                rel2.offset: 2 2;
30640                image {
30641                   normal: "bt_sm_shine.png";
30642                   border: 6 6 6 0;
30643                }
30644             }
30645             description { state: "selected" 0.0;
30646                inherit: "default" 0.0;
30647                visible: 1;
30648                color: 255 255 255 255;
30649             }
30650          }
30651          part { name: "disclip";
30652             type: RECT;
30653             description { state: "default" 0.0;
30654                rel1.to: "bg";
30655                rel2.to: "bg";
30656             }
30657             description { state: "disabled" 0.0;
30658                inherit: "default" 0.0;
30659                color: 255 255 255 64;
30660             }
30661          }
30662       }
30663       programs {
30664          program { name:    "go_active";
30665             signal:  "elm,state,selected";
30666             source:  "elm";
30667             action:  STATE_SET "selected" 0.0;
30668             target:  "bg";
30669             target:  "fg1";
30670             target:  "fg2";
30671             target:  "elm.text";
30672          }
30673          program { name:    "go_passive";
30674             signal:  "elm,state,unselected";
30675             source:  "elm";
30676             action:  STATE_SET "default" 0.0;
30677             target:  "bg";
30678             target:  "fg1";
30679             target:  "fg2";
30680             target:  "elm.text";
30681             transition: LINEAR 0.1;
30682          }
30683          program { name:    "go_disabled";
30684             signal:  "elm,state,disabled";
30685             source:  "elm";
30686             action:  STATE_SET "disabled" 0.0;
30687             target:  "disclip";
30688          }
30689          program { name:    "go_enabled";
30690             signal:  "elm,state,enabled";
30691             source:  "elm";
30692             action:  STATE_SET "default" 0.0;
30693             target:  "disclip";
30694          }
30695       }
30696    }
30697
30698    group { name: "elm/gengrid/item/album-preview/default";
30699       data.item: "labels" "elm.text";
30700       data.item: "icons" "elm.swallow.icon.1 elm.swallow.icon.2 elm.swallow.icon.3 elm.swallow.icon.4";
30701       data.item: "states" "have_files";
30702       images {
30703          image: "bt_sm_base1.png" COMP;
30704          image: "bt_sm_shine.png" COMP;
30705          image: "bt_sm_hilight.png" COMP;
30706          image: "icon_folder.png" COMP;
30707       }
30708       parts {
30709          part { name: "event";
30710             type: RECT;
30711             repeat_events: 1;
30712             description { state: "default" 0.0;
30713                color: 0 0 0 0;
30714             }
30715          }
30716          part { name: "bg";
30717             clip_to: "disclip";
30718             mouse_events: 0;
30719             description { state: "default" 0.0;
30720                visible: 0;
30721                color: 255 255 255 0;
30722                rel1.offset: -3 -3;
30723                rel2.offset: 2 2;
30724                image {
30725                   normal: "bt_sm_base1.png";
30726                   border: 6 6 6 6;
30727                   middle: SOLID;
30728                }
30729             }
30730             description { state: "selected" 0.0;
30731                inherit: "default" 0.0;
30732                visible: 1;
30733                color: 255 255 255 255;
30734             }
30735          }
30736          part { name: "image";
30737              type: IMAGE;
30738              mouse_events: 0;
30739              description { state: "default" 0.0;
30740                  aspect_preference: BOTH;
30741                  aspect: 1.0 1.0;
30742                  image.normal: "icon_folder.png";
30743                  rel2 {
30744                      to_y: "elm.text";
30745                      relative: 1.0 0.0;
30746                      offset: -1 -2;
30747                  }
30748              }
30749          }
30750          part { name: "have-files-clipper";
30751              type: RECT;
30752              description { state: "default" 0.0;
30753                  color: 255 255 255 0;
30754                  visible: 0;
30755              }
30756              description { state: "visible" 0.0;
30757                  inherit: "default" 0.0;
30758                  color: 255 255 255 255;
30759                  visible: 1;
30760              }
30761          }
30762          part { name: "icon_box_margin";
30763              type: RECT;
30764              mouse_events: 0;
30765              clip_to: "have-files-clipper";
30766              description { state: "default" 0.0;
30767                  color: 0 0 0 255;
30768                  rel1 {
30769                      to: "icon_box";
30770                      offset: -1 -1;
30771                  }
30772                  rel2 {
30773                      to: "icon_box";
30774                      offset: 0 0;
30775                  }
30776              }
30777          }
30778          part { name: "icon_box";
30779              type: RECT;
30780              mouse_events: 0;
30781              clip_to: "have-files-clipper";
30782              description { state: "default" 0.0;
30783                  color: 255 255 255 255;
30784                  align: 1.0 1.0;
30785                  min: 32 32;
30786                  rel1 {
30787                      relative: 0.25 0.25;
30788                      offset: 0 0;
30789                  }
30790                  rel2 {
30791                      relative: 1.0 0.0;
30792                      offset: -11 -4;
30793                      to_y: "elm.text";
30794                  }
30795              }
30796          }
30797          part { name: "elm.swallow.icon.1";
30798              type: SWALLOW;
30799              mouse_events: 0;
30800              clip_to: "have-files-clipper";
30801              description { state: "default" 0.0;
30802                rel1 {
30803                   relative: 0.0  0.0;
30804                   to: "icon_box";
30805                }
30806                rel2 {
30807                   relative: 0.5  0.5;
30808                   offset: -1 -1;
30809                   to: "icon_box";
30810                }
30811             }
30812          }
30813          part { name: "elm.swallow.icon.2";
30814              type: SWALLOW;
30815              mouse_events: 0;
30816              clip_to: "have-files-clipper";
30817              description { state: "default" 0.0;
30818                rel1 {
30819                   relative: 0.5  0.0;
30820                   to: "icon_box";
30821                }
30822                rel2 {
30823                   relative: 1.0  0.5;
30824                   offset: -1 -1;
30825                   to: "icon_box";
30826                }
30827             }
30828          }
30829          part { name: "elm.swallow.icon.3";
30830              type: SWALLOW;
30831              mouse_events: 0;
30832              clip_to: "have-files-clipper";
30833              description { state: "default" 0.0;
30834                rel1 {
30835                   relative: 0.0  0.5;
30836                   to: "icon_box";
30837                }
30838                rel2 {
30839                   relative: 0.5  1.0;
30840                   offset: -1 -1;
30841                   to: "icon_box";
30842                }
30843             }
30844          }
30845          part { name: "elm.swallow.icon.4";
30846              type: SWALLOW;
30847              mouse_events: 0;
30848              clip_to: "have-files-clipper";
30849              description { state: "default" 0.0;
30850                rel1 {
30851                   relative: 0.5  0.5;
30852                   to: "icon_box";
30853                }
30854                rel2 {
30855                   relative: 1.0  1.0;
30856                   offset: -1 -1;
30857                   to: "icon_box";
30858                }
30859             }
30860          }
30861          part { name: "elm.text";
30862             clip_to: "disclip";
30863             type: TEXT;
30864             effect: SOFT_SHADOW;
30865             mouse_events: 0;
30866             scale: 1;
30867             description { state: "default" 0.0;
30868                rel1 {
30869                   relative: 0.0  1.0;
30870                   offset: 20 -30;
30871                }
30872                rel2 {
30873                   relative: 1.0  1.0;
30874                   offset: -21 -15;
30875                }
30876                color: 0 0 0 255;
30877                color3: 0 0 0 0;
30878                text {
30879                   font: "Sans";
30880                   size: 10;
30881                   min: 0 1;
30882                   align: 0.5 0.0;
30883                   text_class: "grid_item";
30884                }
30885             }
30886             description { state: "selected" 0.0;
30887                 inherit: "default" 0.0;
30888                 color: 255 255 255 255;
30889             }
30890          }
30891          part { name: "fg1";
30892             clip_to: "disclip";
30893             mouse_events: 0;
30894             description { state: "default" 0.0;
30895                visible: 0;
30896                color: 255 255 255 0;
30897                rel1.offset: -3 -3;
30898                rel2 {
30899                    relative: 1.0 0.5;
30900                    offset: 2 -1;
30901                }
30902                image {
30903                   normal: "bt_sm_hilight.png";
30904                   border: 6 6 6 0;
30905                }
30906             }
30907             description { state: "selected" 0.0;
30908                inherit: "default" 0.0;
30909                visible: 1;
30910                color: 255 255 255 255;
30911             }
30912          }
30913          part { name: "fg2";
30914             clip_to: "disclip";
30915             mouse_events: 0;
30916             description { state: "default" 0.0;
30917                visible: 0;
30918                color: 255 255 255 0;
30919                rel1.offset: -3 -3;
30920                rel2.offset: 2 2;
30921                image {
30922                   normal: "bt_sm_shine.png";
30923                   border: 6 6 6 0;
30924                }
30925             }
30926             description { state: "selected" 0.0;
30927                inherit: "default" 0.0;
30928                visible: 1;
30929                color: 255 255 255 255;
30930             }
30931          }
30932          part { name: "disclip";
30933             type: RECT;
30934             description { state: "default" 0.0;
30935                rel1.to: "bg";
30936                rel2.to: "bg";
30937             }
30938             description { state: "disabled" 0.0;
30939                inherit: "default" 0.0;
30940                color: 255 255 255 64;
30941             }
30942          }
30943       }
30944       programs {
30945          program { name:    "go_active";
30946             signal:  "elm,state,selected";
30947             source:  "elm";
30948             action:  STATE_SET "selected" 0.0;
30949             target:  "bg";
30950             target:  "fg1";
30951             target:  "fg2";
30952             target:  "elm.text";
30953          }
30954          program { name:    "go_passive";
30955             signal:  "elm,state,unselected";
30956             source:  "elm";
30957             action:  STATE_SET "default" 0.0;
30958             target:  "bg";
30959             target:  "fg1";
30960             target:  "fg2";
30961             target:  "elm.text";
30962             transition: LINEAR 0.1;
30963          }
30964          program { name:    "go_disabled";
30965             signal:  "elm,state,disabled";
30966             source:  "elm";
30967             action:  STATE_SET "disabled" 0.0;
30968             target:  "disclip";
30969          }
30970          program { name:    "go_enabled";
30971             signal:  "elm,state,enabled";
30972             source:  "elm";
30973             action:  STATE_SET "default" 0.0;
30974             target:  "disclip";
30975          }
30976          program {
30977              signal: "elm,state,have_files,active";
30978              source: "elm";
30979              action: STATE_SET "visible" 0.0;
30980              target: "have-files-clipper";
30981          }
30982       }
30983    }
30984
30985    group { name: "elm/gengrid/item/thumb/default";
30986        data {
30987            item: "icons" "elm.swallow.icon";
30988            item: "labels" "elm.text";
30989        }
30990        images {
30991            image: "bt_sm_base1.png" COMP;
30992            image: "bt_sm_shine.png" COMP;
30993            image: "bt_sm_hilight.png" COMP;
30994            image: "thumb_shadow.png" COMP;
30995        }
30996        parts {
30997            part { name: "event";
30998                type: RECT;
30999                repeat_events: 1;
31000                description { state: "default" 0.0;
31001                    color: 0 0 0 0;
31002                }
31003            }
31004            part { name: "bg";
31005                mouse_events: 0;
31006                description { state: "default" 0.0;
31007                    visible: 0;
31008                    color: 255 255 255 0;
31009                    rel1.offset: -3 -3;
31010                    rel2.offset: 2 2;
31011                    image {
31012                        normal: "bt_sm_base1.png";
31013                        border: 6 6 6 6;
31014                        middle: SOLID;
31015                    }
31016                }
31017                description { state: "selected" 0.0;
31018                    inherit: "default" 0.0;
31019                    visible: 1;
31020                    color: 255 255 255 255;
31021                }
31022            }
31023            part { name: "border-shadow";
31024                type: IMAGE;
31025                mouse_events: 0;
31026                description { state: "default" 0.0;
31027                    rel1 {
31028                        to: "elm.swallow.icon";
31029                        offset: -18 -18;
31030                    }
31031                    rel2 {
31032                        to_x: "elm.swallow.icon";
31033                        to_y: "elm.text";
31034                        offset: 17 17;
31035                    }
31036                    image {
31037                        normal: "thumb_shadow.png";
31038                        border: 17 17 17 17;
31039                        middle: NONE;
31040                    }
31041                }
31042            }
31043            part { name: "border";
31044                type: RECT;
31045                mouse_events: 0;
31046                description { state: "default" 0.0;
31047                    rel1 {
31048                        to: "border-shadow";
31049                        offset: 16 16;
31050                    }
31051                    rel2 {
31052                        to: "border-shadow";
31053                        offset: -15 -15;
31054                    }
31055                }
31056            }
31057            part { name: "elm.swallow.icon";
31058                type: SWALLOW;
31059                mouse_events: 0;
31060                description { state: "default" 0.0;
31061                    aspect_preference: BOTH;
31062                    aspect: 1.0 1.0;
31063                    rel1.offset: 0 8;
31064                    rel2 {
31065                        to_y: "elm.text";
31066                        relative: 1.0 0.0;
31067                        offset: -1 -2;
31068                    }
31069                }
31070            }
31071            part { name: "elm.text";
31072                type: TEXT;
31073                effect: SOFT_SHADOW;
31074                mouse_events: 0;
31075                scale: 1;
31076                description { state: "default" 0.0;
31077                    color: 0 0 0 255;
31078                    color3: 0 0 0 0;
31079                    align: 0.5 1.0;
31080                    rel1 {
31081                        relative: 0.0 1.0;
31082                        offset: 20 -30;
31083                    }
31084                    rel2 {
31085                        relative: 1.0 1.0;
31086                        offset: -21 -15;
31087                    }
31088                    text {
31089                        font: "Sans";
31090                        size: 10;
31091                        min: 0 1;
31092                        align: 0.5 0.0;
31093                        text_class: "grid_item";
31094                    }
31095                }
31096            }
31097            part { name: "fg1";
31098                mouse_events: 0;
31099                description { state: "default" 0.0;
31100                    visible: 0;
31101                    color: 255 255 255 0;
31102                    rel1.offset: -3 -3;
31103                    rel2 {
31104                        relative: 1.0 0.5;
31105                        offset: 2 -1;
31106                    }
31107                    image {
31108                        normal: "bt_sm_hilight.png";
31109                        border: 6 6 6 0;
31110                    }
31111                }
31112                description { state: "selected" 0.0;
31113                    inherit: "default" 0.0;
31114                    visible: 1;
31115                    color: 255 255 255 255;
31116                }
31117            }
31118            part { name: "fg2";
31119                mouse_events: 0;
31120                description { state: "default" 0.0;
31121                    visible: 0;
31122                    color: 255 255 255 0;
31123                    rel1.offset: -3 -3;
31124                    rel2.offset: 2 2;
31125                    image {
31126                        image: "bt_sm_shine.png";
31127                        border: 6 6 6 0;
31128                    }
31129                }
31130                description { state: "selected" 0.0;
31131                    inherit: "default" 0.0;
31132                    visible: 1;
31133                    color: 255 255 255 255;
31134                }
31135            }
31136        }
31137        programs {
31138            program {
31139                signal: "elm,state,selected";
31140                source: "elm";
31141                action: STATE_SET "selected" 0.0;
31142                target: "bg";
31143                target: "fg1";
31144                target: "fg2";
31145            }
31146            program {
31147                signal: "elm,state,unselected";
31148                source: "elm";
31149                action:  STATE_SET "default" 0.0;
31150                target: "bg";
31151                target: "fg1";
31152                target: "fg2";
31153                transition: LINEAR 0.1;
31154            }
31155        }
31156    }
31157
31158 ///////////////////////////////////////////////////////////////////////////////
31159    group { name: "elm/photocam/base/default";
31160        script {
31161            public sbvis_v, sbvis_h, sbalways_v, sbalways_h, sbvis_timer;
31162            public timer0(val) {
31163                new v;
31164                v = get_int(sbvis_v);
31165                if (v) {
31166                    v = get_int(sbalways_v);
31167                    if (!v) {
31168                        emit("do-hide-vbar", "");
31169                        set_int(sbvis_v, 0);
31170                    }
31171                }
31172                v = get_int(sbvis_h);
31173                if (v) {
31174                    v = get_int(sbalways_h);
31175                    if (!v) {
31176                        emit("do-hide-hbar", "");
31177                        set_int(sbvis_h, 0);
31178                    }
31179                }
31180                set_int(sbvis_timer, 0);
31181                return 0;
31182            }
31183        }
31184        images {
31185            image: "shelf_inset.png" COMP;
31186            image: "bt_sm_base2.png" COMP;
31187            image: "bt_sm_shine.png" COMP;
31188            image: "bt_sm_hilight.png" COMP;
31189            image: "busy-1.png" COMP;
31190            image: "busy-2.png" COMP;
31191            image: "busy-3.png" COMP;
31192            image: "busy-4.png" COMP;
31193            image: "busy-5.png" COMP;
31194            image: "busy-6.png" COMP;
31195            image: "busy-7.png" COMP;
31196            image: "busy-8.png" COMP;
31197            image: "busy-9.png" COMP;
31198        }
31199        parts {
31200            part { name: "bg";
31201                type: RECT;
31202                description { state: "default" 0.0;
31203                    rel1.offset: 1 1;
31204                    rel2.offset: -2 -2;
31205                    color: 255 255 255 0;
31206                }
31207            }
31208            part { name: "clipper";
31209                type: RECT;
31210                mouse_events: 0;
31211                description { state: "default" 0.0;
31212                    rel1.to: "bg";
31213                    rel2.to: "bg";
31214                }
31215            }
31216            part { name: "elm.swallow.content";
31217                clip_to: "clipper";
31218                type: SWALLOW;
31219                description { state: "default" 0.0;
31220                    rel1.offset: 1 1;
31221                    rel2.offset: -2 -2;
31222                }
31223            }
31224            part { name: "busy_clip";
31225                type: RECT;
31226                mouse_events: 0;
31227                description { state: "default" 0.0;
31228                    visible: 0;
31229                    color: 255 255 255 0;
31230                }
31231                description { state: "active" 0.0;
31232                    visible: 1;
31233                    color: 255 255 255 255;
31234                }
31235            }
31236            part { name: "busy";
31237                clip_to: "busy_clip";
31238                mouse_events: 0;
31239                description { state: "default" 0.0;
31240                    fixed: 1 1;
31241                    min: 32 32;
31242                    aspect: 1.0 1.0;
31243                    align: 1.0 1.0;
31244                    aspect_preference: BOTH;
31245                    rel1 {
31246                        relative: 0.9 0.9;
31247                        offset:   -9 -9;
31248                    }
31249                    rel2 {
31250                        relative: 0.9 0.9;
31251                        offset:   -9 -9;
31252                    }
31253                    image {
31254                        normal: "busy-9.png";
31255                        tween:  "busy-1.png";
31256                        tween:  "busy-2.png";
31257                        tween:  "busy-3.png";
31258                        tween:  "busy-4.png";
31259                        tween:  "busy-5.png";
31260                        tween:  "busy-6.png";
31261                        tween:  "busy-7.png";
31262                        tween:  "busy-8.png";
31263                    }
31264                }
31265            }
31266            part { name: "conf_over";
31267                mouse_events:  0;
31268                description { state: "default" 0.0;
31269                    rel1.offset: 0 0;
31270                    rel2.offset: -1 -1;
31271                    image {
31272                        normal: "shelf_inset.png";
31273                        border: 7 7 7 7;
31274                        middle: 0;
31275                    }
31276                    fill.smooth : 0;
31277                }
31278            }
31279            part { name: "sb_vbar_clip_master";
31280                type: RECT;
31281                mouse_events: 0;
31282                description { state: "default" 0.0;
31283                }
31284                description { state: "hidden" 0.0;
31285                    visible: 0;
31286                    color: 255 255 255 0;
31287                }
31288            }
31289            part { name: "sb_vbar_clip";
31290                clip_to: "sb_vbar_clip_master";
31291                type: RECT;
31292                mouse_events: 0;
31293                description { state: "default" 0.0;
31294                }
31295                description { state: "hidden" 0.0;
31296                    visible: 0;
31297                    color: 255 255 255 0;
31298                }
31299            }
31300            part { name: "sb_vbar";
31301                type: RECT;
31302                mouse_events: 0;
31303                description { state: "default" 0.0;
31304                    fixed: 1 1;
31305                    visible: 0;
31306                    min: 10 17;
31307                    align: 1.0 0.0;
31308                    rel1 {
31309                        relative: 1.0 0.0;
31310                        offset:   -2 0;
31311                    }
31312                    rel2 {
31313                        relative: 1.0 0.0;
31314                        offset:   -2 -1;
31315                        to_y:     "sb_hbar";
31316                    }
31317                }
31318            }
31319            part { name: "elm.dragable.vbar";
31320                clip_to: "sb_vbar_clip";
31321                mouse_events: 0;
31322                dragable {
31323                    x: 0 0 0;
31324                    y: 1 1 0;
31325                    confine: "sb_vbar";
31326                }
31327                description { state: "default" 0.0;
31328                    fixed: 1 1;
31329                    min: 10 17;
31330                    max: 10 99999;
31331                    rel1 {
31332                        relative: 0.5  0.5;
31333                        offset:   0    0;
31334                        to: "sb_vbar";
31335                    }
31336                    rel2 {
31337                        relative: 0.5  0.5;
31338                        offset:   0    0;
31339                        to: "sb_vbar";
31340                    }
31341                    image {
31342                        normal: "bt_sm_base2.png";
31343                        border: 6 6 6 6;
31344                        middle: SOLID;
31345                    }
31346                }
31347            }
31348            part { name: "sb_vbar_over1";
31349                clip_to: "sb_vbar_clip";
31350                mouse_events: 0;
31351                description { state: "default" 0.0;
31352                    rel1.to: "elm.dragable.vbar";
31353                    rel2.relative: 1.0 0.5;
31354                    rel2.to: "elm.dragable.vbar";
31355                    image {
31356                        normal: "bt_sm_hilight.png";
31357                        border: 6 6 6 0;
31358                    }
31359                }
31360            }
31361            part { name: "sb_vbar_over2";
31362                clip_to: "sb_vbar_clip";
31363                mouse_events: 0;
31364                description { state: "default" 0.0;
31365                    rel1.to: "elm.dragable.vbar";
31366                    rel2.to: "elm.dragable.vbar";
31367                    image {
31368                        normal: "bt_sm_shine.png";
31369                        border: 6 6 6 0;
31370                    }
31371                }
31372            }
31373
31374            part { name: "sb_hbar_clip_master";
31375                type: RECT;
31376                mouse_events: 0;
31377                description { state: "default" 0.0;
31378                }
31379                description { state: "hidden" 0.0;
31380                    visible: 0;
31381                    color: 255 255 255 0;
31382                }
31383            }
31384            part { name: "sb_hbar_clip";
31385                clip_to: "sb_hbar_clip_master";
31386                type: RECT;
31387                mouse_events: 0;
31388                description { state: "default" 0.0;
31389                }
31390                description { state: "hidden" 0.0;
31391                    visible: 0;
31392                    color: 255 255 255 0;
31393                }
31394            }
31395            part { name: "sb_hbar";
31396                type: RECT;
31397                mouse_events: 0;
31398                description { state: "default" 0.0;
31399                    fixed: 1 1;
31400                    visible: 0;
31401                    min: 17 10;
31402                    align: 0.0 1.0;
31403                    rel1 {
31404                        relative: 0.0 1.0;
31405                        offset:   0 -2;
31406                    }
31407                    rel2 {
31408                        relative: 0.0 1.0;
31409                        offset:   -1 -2;
31410                        to_x:     "sb_vbar";
31411                    }
31412                }
31413            }
31414            part { name: "elm.dragable.hbar";
31415                clip_to: "sb_hbar_clip";
31416                mouse_events: 0;
31417                dragable {
31418                    x: 1 1 0;
31419                    y: 0 0 0;
31420                    confine: "sb_hbar";
31421                }
31422                description { state: "default" 0.0;
31423                    fixed: 1 1;
31424                    min: 17 10;
31425                    max: 99999 10;
31426                    rel1 {
31427                        relative: 0.5  0.5;
31428                        offset:   0    0;
31429                        to: "sb_hbar";
31430                    }
31431                    rel2 {
31432                        relative: 0.5  0.5;
31433                        offset:   0    0;
31434                        to: "sb_hbar";
31435                    }
31436                    image {
31437                        normal: "bt_sm_base2.png";
31438                        border: 4 4 4 4;
31439                        middle: SOLID;
31440                    }
31441                }
31442            }
31443            part { name: "sb_hbar_over1";
31444                clip_to: "sb_hbar_clip";
31445                mouse_events: 0;
31446                description { state: "default" 0.0;
31447                    rel1.to: "elm.dragable.hbar";
31448                    rel2.relative: 1.0 0.5;
31449                    rel2.to: "elm.dragable.hbar";
31450                    image {
31451                        normal: "bt_sm_hilight.png";
31452                        border: 4 4 4 0;
31453                    }
31454                }
31455            }
31456            part { name: "sb_hbar_over2";
31457                clip_to: "sb_hbar_clip";
31458                mouse_events: 0;
31459                description { state: "default" 0.0;
31460                    rel1.to: "elm.dragable.hbar";
31461                    rel2.to: "elm.dragable.hbar";
31462                    image {
31463                        normal: "bt_sm_shine.png";
31464                        border: 4 4 4 0;
31465                    }
31466                }
31467            }
31468        }
31469        programs {
31470            program { name: "load";
31471                signal: "load";
31472                source: "";
31473                script {
31474                    set_state(PART:"sb_hbar_clip", "hidden", 0.0);
31475                    set_state(PART:"sb_vbar_clip", "hidden", 0.0);
31476                    set_int(sbvis_h, 0);
31477                    set_int(sbvis_v, 0);
31478                    set_int(sbalways_v, 0);
31479                    set_int(sbalways_h, 0);
31480                    set_int(sbvis_timer, 0);
31481                }
31482            }
31483
31484            program { name: "vbar_show";
31485                signal: "elm,action,show,vbar";
31486                source: "elm";
31487                action:  STATE_SET "default" 0.0;
31488                target: "sb_vbar_clip_master";
31489            }
31490            program { name: "vbar_hide";
31491                signal: "elm,action,hide,vbar";
31492                source: "elm";
31493                action:  STATE_SET "hidden" 0.0;
31494                target: "sb_vbar_clip_master";
31495            }
31496            program { name: "vbar_show_always";
31497                signal: "elm,action,show_always,vbar";
31498                source: "elm";
31499                script {
31500                    new v;
31501                    v = get_int(sbvis_v);
31502                    v |= get_int(sbalways_v);
31503                    if (!v) {
31504                        set_int(sbalways_v, 1);
31505                        emit("do-show-vbar", "");
31506                        set_int(sbvis_v, 1);
31507                    }
31508                }
31509            }
31510            program { name: "vbar_show_notalways";
31511                signal: "elm,action,show_notalways,vbar";
31512                source: "elm";
31513                script {
31514                    new v;
31515                    v = get_int(sbalways_v);
31516                    if (v) {
31517                        set_int(sbalways_v, 0);
31518                        v = get_int(sbvis_v);
31519                        if (!v) {
31520                            emit("do-hide-vbar", "");
31521                            set_int(sbvis_v, 0);
31522                        }
31523                    }
31524                }
31525            }
31526            program { name: "sb_vbar_show";
31527                signal: "do-show-vbar";
31528                source: "";
31529                action:  STATE_SET "default" 0.0;
31530                transition: LINEAR 0.5;
31531                target: "sb_vbar_clip";
31532            }
31533            program { name: "sb_vbar_hide";
31534                signal: "do-hide-vbar";
31535                source: "";
31536                action:  STATE_SET "hidden" 0.0;
31537                transition: LINEAR 0.5;
31538                target: "sb_vbar_clip";
31539            }
31540
31541            program { name: "hbar_show";
31542                signal: "elm,action,show,hbar";
31543                source: "elm";
31544                action:  STATE_SET "default" 0.0;
31545                target: "sb_hbar_clip_master";
31546            }
31547            program { name: "hbar_hide";
31548                signal: "elm,action,hide,hbar";
31549                source: "elm";
31550                action:  STATE_SET "hidden" 0.0;
31551                target: "sb_hbar_clip_master";
31552            }
31553            program { name: "hbar_show_always";
31554                signal: "elm,action,show_always,hbar";
31555                source: "elm";
31556                script {
31557                    new v;
31558                    v = get_int(sbvis_h);
31559                    v |= get_int(sbalways_h);
31560                    if (!v) {
31561                        set_int(sbalways_h, 1);
31562                        emit("do-show-hbar", "");
31563                        set_int(sbvis_h, 1);
31564                    }
31565                }
31566            }
31567            program { name: "hbar_show_notalways";
31568                signal: "elm,action,show_notalways,hbar";
31569                source: "elm";
31570                script {
31571                    new v;
31572                    v = get_int(sbalways_h);
31573                    if (v) {
31574                        set_int(sbalways_h, 0);
31575                        v = get_int(sbvis_h);
31576                        if (!v) {
31577                            emit("do-hide-hbar", "");
31578                            set_int(sbvis_h, 0);
31579                        }
31580                    }
31581                }
31582            }
31583            program { name: "sb_hbar_show";
31584                signal: "do-show-hbar";
31585                source: "";
31586                action:  STATE_SET "default" 0.0;
31587                transition: LINEAR 0.5;
31588                target: "sb_hbar_clip";
31589            }
31590            program { name: "sb_hbar_hide";
31591                signal: "do-hide-hbar";
31592                source: "";
31593                action:  STATE_SET "hidden" 0.0;
31594                transition: LINEAR 0.5;
31595                target: "sb_hbar_clip";
31596            }
31597
31598            program { name: "scroll";
31599                signal: "elm,action,scroll";
31600                source: "elm";
31601                script {
31602                    new v;
31603                    v = get_int(sbvis_v);
31604                    v |= get_int(sbalways_v);
31605                    if (!v) {
31606                        emit("do-show-vbar", "");
31607                        set_int(sbvis_v, 1);
31608                    }
31609                    v = get_int(sbvis_h);
31610                    v |= get_int(sbalways_h);
31611                    if (!v) {
31612                        emit("do-show-hbar", "");
31613                        set_int(sbvis_h, 1);
31614                    }
31615                    v = get_int(sbvis_timer);
31616                    if (v > 0) cancel_timer(v);
31617                    v = timer(1.0, "timer0", 0);
31618                    set_int(sbvis_timer, v);
31619                }
31620            }
31621            program { name: "go1";
31622                signal: "elm,state,busy,start";
31623                source: "elm";
31624                action: STATE_SET "active" 0.0;
31625                transition: SINUSOIDAL 1.0;
31626                target:  "busy_clip";
31627            }
31628            program { name: "go2";
31629                signal: "elm,state,busy,start";
31630                source: "elm";
31631                action: STATE_SET "default" 0.0;
31632                transition: LINEAR 0.5;
31633                target: "busy";
31634                after:  "go2";
31635            }
31636            program { name: "stop1";
31637                signal: "elm,state,busy,stop";
31638                source: "elm";
31639                action: STATE_SET "default" 0.0;
31640                transition: SINUSOIDAL 1.0;
31641                target: "busy_clip";
31642                after: "stop2";
31643            }
31644          program { name: "stop2";
31645             action: ACTION_STOP;
31646             target: "go2";
31647          }
31648       }
31649    }
31650
31651    ///////////////////////////////////////////////////////////////////////////////
31652    group { name: "elm/map/base/default";
31653        script {
31654            public sbvis_v, sbvis_h, sbalways_v, sbalways_h, sbvis_timer;
31655            public timer0(val) {
31656                new v;
31657                v = get_int(sbvis_v);
31658                if (v) {
31659                    v = get_int(sbalways_v);
31660                    if (!v) {
31661                        emit("do-hide-vbar", "");
31662                        set_int(sbvis_v, 0);
31663                    }
31664                }
31665                v = get_int(sbvis_h);
31666                if (v) {
31667                    v = get_int(sbalways_h);
31668                    if (!v) {
31669                        emit("do-hide-hbar", "");
31670                        set_int(sbvis_h, 0);
31671                    }
31672                }
31673                set_int(sbvis_timer, 0);
31674                return 0;
31675            }
31676        }
31677        images {
31678            image: "shelf_inset.png" COMP;
31679            image: "bt_sm_base2.png" COMP;
31680            image: "bt_sm_shine.png" COMP;
31681            image: "bt_sm_hilight.png" COMP;
31682            image: "busy-1.png" COMP;
31683            image: "busy-2.png" COMP;
31684            image: "busy-3.png" COMP;
31685            image: "busy-4.png" COMP;
31686            image: "busy-5.png" COMP;
31687            image: "busy-6.png" COMP;
31688            image: "busy-7.png" COMP;
31689            image: "busy-8.png" COMP;
31690            image: "busy-9.png" COMP;
31691        }
31692        parts {
31693            part { name: "bg";
31694                type: RECT;
31695                description { state: "default" 0.0;
31696                    rel1.offset: 1 1;
31697                    rel2.offset: -2 -2;
31698                    color: 255 255 255 0;
31699                }
31700            }
31701            part { name: "clipper";
31702                type: RECT;
31703                mouse_events: 0;
31704                description { state: "default" 0.0;
31705                    rel1.to: "bg";
31706                    rel2.to: "bg";
31707                }
31708            }
31709            part { name: "elm.swallow.content";
31710                clip_to: "clipper";
31711                type: SWALLOW;
31712                description { state: "default" 0.0;
31713                    rel1.offset: 1 1;
31714                    rel2.offset: -2 -2;
31715                }
31716            }
31717            part { name: "busy_clip";
31718                type: RECT;
31719                mouse_events: 0;
31720                description { state: "default" 0.0;
31721                    visible: 0;
31722                    color: 255 255 255 0;
31723                }
31724                description { state: "active" 0.0;
31725                    visible: 1;
31726                    color: 255 255 255 255;
31727                }
31728            }
31729            part { name: "busy";
31730                clip_to: "busy_clip";
31731                mouse_events: 0;
31732                description { state: "default" 0.0;
31733                    fixed: 1 1;
31734                    min: 32 32;
31735                    aspect: 1.0 1.0;
31736                    align: 1.0 1.0;
31737                    aspect_preference: BOTH;
31738                    rel1 {
31739                        relative: 0.9 0.9;
31740                        offset:   -9 -9;
31741                    }
31742                    rel2 {
31743                        relative: 0.9 0.9;
31744                        offset:   -9 -9;
31745                    }
31746                    image {
31747                        normal: "busy-9.png";
31748                        tween:  "busy-1.png";
31749                        tween:  "busy-2.png";
31750                        tween:  "busy-3.png";
31751                        tween:  "busy-4.png";
31752                        tween:  "busy-5.png";
31753                        tween:  "busy-6.png";
31754                        tween:  "busy-7.png";
31755                        tween:  "busy-8.png";
31756                    }
31757                }
31758            }
31759            part { name: "conf_over";
31760                mouse_events:  0;
31761                description { state: "default" 0.0;
31762                    rel1.offset: 0 0;
31763                    rel2.offset: -1 -1;
31764                    image {
31765                        normal: "shelf_inset.png";
31766                        border: 7 7 7 7;
31767                        middle: 0;
31768                    }
31769                    fill.smooth : 0;
31770                }
31771            }
31772            part { name: "sb_vbar_clip_master";
31773                type: RECT;
31774                mouse_events: 0;
31775                description { state: "default" 0.0;
31776                }
31777                description { state: "hidden" 0.0;
31778                    visible: 0;
31779                    color: 255 255 255 0;
31780                }
31781            }
31782            part { name: "sb_vbar_clip";
31783                clip_to: "sb_vbar_clip_master";
31784                type: RECT;
31785                mouse_events: 0;
31786                description { state: "default" 0.0;
31787                }
31788                description { state: "hidden" 0.0;
31789                    visible: 0;
31790                    color: 255 255 255 0;
31791                }
31792            }
31793            part { name: "sb_vbar";
31794                type: RECT;
31795                mouse_events: 0;
31796                description { state: "default" 0.0;
31797                    fixed: 1 1;
31798                    visible: 0;
31799                    min: 10 17;
31800                    align: 1.0 0.0;
31801                    rel1 {
31802                        relative: 1.0 0.0;
31803                        offset:   -2 0;
31804                    }
31805                    rel2 {
31806                        relative: 1.0 0.0;
31807                        offset:   -2 -1;
31808                        to_y:     "sb_hbar";
31809                    }
31810                }
31811            }
31812            part { name: "elm.dragable.vbar";
31813                clip_to: "sb_vbar_clip";
31814                mouse_events: 0;
31815                dragable {
31816                    x: 0 0 0;
31817                    y: 1 1 0;
31818                    confine: "sb_vbar";
31819                }
31820                description { state: "default" 0.0;
31821                    fixed: 1 1;
31822                    min: 10 17;
31823                    max: 10 99999;
31824                    rel1 {
31825                        relative: 0.5  0.5;
31826                        offset:   0    0;
31827                        to: "sb_vbar";
31828                    }
31829                    rel2 {
31830                        relative: 0.5  0.5;
31831                        offset:   0    0;
31832                        to: "sb_vbar";
31833                    }
31834                    image {
31835                        normal: "bt_sm_base2.png";
31836                        border: 6 6 6 6;
31837                        middle: SOLID;
31838                    }
31839                }
31840            }
31841            part { name: "sb_vbar_over1";
31842                clip_to: "sb_vbar_clip";
31843                mouse_events: 0;
31844                description { state: "default" 0.0;
31845                    rel1.to: "elm.dragable.vbar";
31846                    rel2.relative: 1.0 0.5;
31847                    rel2.to: "elm.dragable.vbar";
31848                    image {
31849                        normal: "bt_sm_hilight.png";
31850                        border: 6 6 6 0;
31851                    }
31852                }
31853            }
31854            part { name: "sb_vbar_over2";
31855                clip_to: "sb_vbar_clip";
31856                mouse_events: 0;
31857                description { state: "default" 0.0;
31858                    rel1.to: "elm.dragable.vbar";
31859                    rel2.to: "elm.dragable.vbar";
31860                    image {
31861                        normal: "bt_sm_shine.png";
31862                        border: 6 6 6 0;
31863                    }
31864                }
31865            }
31866
31867            part { name: "sb_hbar_clip_master";
31868                type: RECT;
31869                mouse_events: 0;
31870                description { state: "default" 0.0;
31871                }
31872                description { state: "hidden" 0.0;
31873                    visible: 0;
31874                    color: 255 255 255 0;
31875                }
31876            }
31877            part { name: "sb_hbar_clip";
31878                clip_to: "sb_hbar_clip_master";
31879                type: RECT;
31880                mouse_events: 0;
31881                description { state: "default" 0.0;
31882                }
31883                description { state: "hidden" 0.0;
31884                    visible: 0;
31885                    color: 255 255 255 0;
31886                }
31887            }
31888            part { name: "sb_hbar";
31889                type: RECT;
31890                mouse_events: 0;
31891                description { state: "default" 0.0;
31892                    fixed: 1 1;
31893                    visible: 0;
31894                    min: 17 10;
31895                    align: 0.0 1.0;
31896                    rel1 {
31897                        relative: 0.0 1.0;
31898                        offset:   0 -2;
31899                    }
31900                    rel2 {
31901                        relative: 0.0 1.0;
31902                        offset:   -1 -2;
31903                        to_x:     "sb_vbar";
31904                    }
31905                }
31906            }
31907            part { name: "elm.dragable.hbar";
31908                clip_to: "sb_hbar_clip";
31909                mouse_events: 0;
31910                dragable {
31911                    x: 1 1 0;
31912                    y: 0 0 0;
31913                    confine: "sb_hbar";
31914                }
31915                description { state: "default" 0.0;
31916                    fixed: 1 1;
31917                    min: 17 10;
31918                    max: 99999 10;
31919                    rel1 {
31920                        relative: 0.5  0.5;
31921                        offset:   0    0;
31922                        to: "sb_hbar";
31923                    }
31924                    rel2 {
31925                        relative: 0.5  0.5;
31926                        offset:   0    0;
31927                        to: "sb_hbar";
31928                    }
31929                    image {
31930                        normal: "bt_sm_base2.png";
31931                        border: 4 4 4 4;
31932                        middle: SOLID;
31933                    }
31934                }
31935            }
31936            part { name: "sb_hbar_over1";
31937                clip_to: "sb_hbar_clip";
31938                mouse_events: 0;
31939                description { state: "default" 0.0;
31940                    rel1.to: "elm.dragable.hbar";
31941                    rel2.relative: 1.0 0.5;
31942                    rel2.to: "elm.dragable.hbar";
31943                    image {
31944                        normal: "bt_sm_hilight.png";
31945                        border: 4 4 4 0;
31946                    }
31947                }
31948            }
31949            part { name: "sb_hbar_over2";
31950                clip_to: "sb_hbar_clip";
31951                mouse_events: 0;
31952                description { state: "default" 0.0;
31953                    rel1.to: "elm.dragable.hbar";
31954                    rel2.to: "elm.dragable.hbar";
31955                    image {
31956                        normal: "bt_sm_shine.png";
31957                        border: 4 4 4 0;
31958                    }
31959                }
31960            }
31961        }
31962        programs {
31963            program { name: "load";
31964                signal: "load";
31965                source: "";
31966                script {
31967                    set_state(PART:"sb_hbar_clip", "hidden", 0.0);
31968                    set_state(PART:"sb_vbar_clip", "hidden", 0.0);
31969                    set_int(sbvis_h, 0);
31970                    set_int(sbvis_v, 0);
31971                    set_int(sbalways_v, 0);
31972                    set_int(sbalways_h, 0);
31973                    set_int(sbvis_timer, 0);
31974                }
31975            }
31976
31977            program { name: "vbar_show";
31978                signal: "elm,action,show,vbar";
31979                source: "elm";
31980                action:  STATE_SET "default" 0.0;
31981                target: "sb_vbar_clip_master";
31982            }
31983            program { name: "vbar_hide";
31984                signal: "elm,action,hide,vbar";
31985                source: "elm";
31986                action:  STATE_SET "hidden" 0.0;
31987                target: "sb_vbar_clip_master";
31988            }
31989            program { name: "vbar_show_always";
31990                signal: "elm,action,show_always,vbar";
31991                source: "elm";
31992                script {
31993                    new v;
31994                    v = get_int(sbvis_v);
31995                    v |= get_int(sbalways_v);
31996                    if (!v) {
31997                        set_int(sbalways_v, 1);
31998                        emit("do-show-vbar", "");
31999                        set_int(sbvis_v, 1);
32000                    }
32001                }
32002            }
32003            program { name: "vbar_show_notalways";
32004                signal: "elm,action,show_notalways,vbar";
32005                source: "elm";
32006                script {
32007                    new v;
32008                    v = get_int(sbalways_v);
32009                    if (v) {
32010                        set_int(sbalways_v, 0);
32011                        v = get_int(sbvis_v);
32012                        if (!v) {
32013                            emit("do-hide-vbar", "");
32014                            set_int(sbvis_v, 0);
32015                        }
32016                    }
32017                }
32018            }
32019            program { name: "sb_vbar_show";
32020                signal: "do-show-vbar";
32021                source: "";
32022                action:  STATE_SET "default" 0.0;
32023                transition: LINEAR 0.5;
32024                target: "sb_vbar_clip";
32025            }
32026            program { name: "sb_vbar_hide";
32027                signal: "do-hide-vbar";
32028                source: "";
32029                action:  STATE_SET "hidden" 0.0;
32030                transition: LINEAR 0.5;
32031                target: "sb_vbar_clip";
32032            }
32033
32034            program { name: "hbar_show";
32035                signal: "elm,action,show,hbar";
32036                source: "elm";
32037                action:  STATE_SET "default" 0.0;
32038                target: "sb_hbar_clip_master";
32039            }
32040            program { name: "hbar_hide";
32041                signal: "elm,action,hide,hbar";
32042                source: "elm";
32043                action:  STATE_SET "hidden" 0.0;
32044                target: "sb_hbar_clip_master";
32045            }
32046            program { name: "hbar_show_always";
32047                signal: "elm,action,show_always,hbar";
32048                source: "elm";
32049                script {
32050                    new v;
32051                    v = get_int(sbvis_h);
32052                    v |= get_int(sbalways_h);
32053                    if (!v) {
32054                        set_int(sbalways_h, 1);
32055                        emit("do-show-hbar", "");
32056                        set_int(sbvis_h, 1);
32057                    }
32058                }
32059            }
32060            program { name: "hbar_show_notalways";
32061                signal: "elm,action,show_notalways,hbar";
32062                source: "elm";
32063                script {
32064                    new v;
32065                    v = get_int(sbalways_h);
32066                    if (v) {
32067                        set_int(sbalways_h, 0);
32068                        v = get_int(sbvis_h);
32069                        if (!v) {
32070                            emit("do-hide-hbar", "");
32071                            set_int(sbvis_h, 0);
32072                        }
32073                    }
32074                }
32075            }
32076            program { name: "sb_hbar_show";
32077                signal: "do-show-hbar";
32078                source: "";
32079                action:  STATE_SET "default" 0.0;
32080                transition: LINEAR 0.5;
32081                target: "sb_hbar_clip";
32082            }
32083            program { name: "sb_hbar_hide";
32084                signal: "do-hide-hbar";
32085                source: "";
32086                action:  STATE_SET "hidden" 0.0;
32087                transition: LINEAR 0.5;
32088                target: "sb_hbar_clip";
32089            }
32090
32091            program { name: "scroll";
32092                signal: "elm,action,scroll";
32093                source: "elm";
32094                script {
32095                    new v;
32096                    v = get_int(sbvis_v);
32097                    v |= get_int(sbalways_v);
32098                    if (!v) {
32099                        emit("do-show-vbar", "");
32100                        set_int(sbvis_v, 1);
32101                    }
32102                    v = get_int(sbvis_h);
32103                    v |= get_int(sbalways_h);
32104                    if (!v) {
32105                        emit("do-show-hbar", "");
32106                        set_int(sbvis_h, 1);
32107                    }
32108                    v = get_int(sbvis_timer);
32109                    if (v > 0) cancel_timer(v);
32110                    v = timer(1.0, "timer0", 0);
32111                    set_int(sbvis_timer, v);
32112                }
32113            }
32114            program { name: "go1";
32115                signal: "elm,state,busy,start";
32116                source: "elm";
32117                action: STATE_SET "active" 0.0;
32118                transition: SINUSOIDAL 1.0;
32119                target:  "busy_clip";
32120            }
32121            program { name: "go2";
32122                signal: "elm,state,busy,start";
32123                source: "elm";
32124                action: STATE_SET "default" 0.0;
32125                transition: LINEAR 0.5;
32126                target: "busy";
32127                after:  "go2";
32128            }
32129            program { name: "stop1";
32130                signal: "elm,state,busy,stop";
32131                source: "elm";
32132                action: STATE_SET "default" 0.0;
32133                transition: SINUSOIDAL 1.0;
32134                target: "busy_clip";
32135                after: "stop2";
32136            }
32137          program { name: "stop2";
32138             action: ACTION_STOP;
32139             target: "go2";
32140          }
32141       }
32142    }
32143    group { name: "elm/map/marker/radio/default";
32144         data {
32145             item: size_w 24;
32146             item: size_h 24;
32147             item: size_max_w 58;
32148             item: size_max_h 58;
32149         }
32150         images {
32151                 image: "map_item.png" COMP;
32152         }
32153         parts {
32154             part { name: "whole";
32155                 description { state: "default" 0.0;
32156                 }
32157             }
32158             part { name: "base";
32159                 ignore_flags: ON_HOLD;
32160                 description { state: "default" 0.0;
32161                     image.normal: "map_item.png";
32162                 }
32163             }
32164             part { name: "elm.icon";
32165                 type: SWALLOW;
32166                 clip_to: "whole";
32167                 mouse_events:  0;
32168                 description { state: "default" 0.0;
32169                     rel1.relative: 0.27 0.27;
32170                     rel2.relative: 0.73 0.73;
32171                 }
32172             }
32173             part { name: "elm.text";
32174                 type:          TEXT;
32175                 effect:        SOFT_SHADOW;
32176                 mouse_events:  0;
32177                 scale: 1;
32178                 description { state: "default" 0.0;
32179                     align:    0.5 0.5;
32180                     color: 224 224 224 255;
32181                     color3: 0 0 0 64;
32182                     rel1.relative: 0.28 0.25;
32183                     rel2.relative: 0.75 0.75;
32184                     text {
32185                         font:     "Sans,Edje-Vera";
32186                         size:     10;
32187                         min:      0 0;
32188                         align:    0.5 0.5;
32189                     }
32190                 }
32191             }
32192        }
32193        programs {
32194             program { name: "open";
32195                 signal: "mouse,clicked,1";
32196                 source: "base";
32197                 action: SIGNAL_EMIT "open" "elm";
32198             }
32199             program { name: "bringin";
32200                 signal: "mouse,down,1,double";
32201                 source: "base";
32202                 action: SIGNAL_EMIT "bringin" "elm";
32203             }
32204        }
32205    }
32206    group { name: "elm/map/marker/radio2/default";
32207         data {
32208             item: size_w 24;
32209             item: size_h 24;
32210             item: size_max_w 58;
32211             item: size_max_h 58;
32212         }
32213         images {
32214                 image: "map_item_2.png" COMP;
32215         }
32216         parts {
32217             part { name: "base";
32218                 ignore_flags: ON_HOLD;
32219                 description { state: "default" 0.0;
32220                     image.normal: "map_item_2.png";
32221                 }
32222             }
32223             part { name: "elm.text";
32224                 type:          TEXT;
32225                 effect:        SOFT_SHADOW;
32226                 mouse_events:  0;
32227                 scale: 1;
32228                 description { state: "default" 0.0;
32229                     align:    0.5 0.5;
32230                     color: 224 224 224 255;
32231                     color3: 0 0 0 64;
32232                     rel1.relative: 0.28 0.25;
32233                     rel2.relative: 0.75 0.75;
32234                     text {
32235                         font:     "Sans,Edje-Vera";
32236                         size:     10;
32237                         min:      0 0;
32238                         align:    0.5 0.5;
32239                     }
32240                 }
32241             }
32242        }
32243        programs {
32244             program { name: "open";
32245                 signal: "mouse,clicked,1";
32246                 source: "base";
32247                 action: SIGNAL_EMIT "open" "elm";
32248             }
32249             program { name: "bringin";
32250                 signal: "mouse,down,1,double";
32251                 source: "base";
32252                 action: SIGNAL_EMIT "bringin" "elm";
32253             }
32254        }
32255    }
32256    group { name: "elm/map/marker/empty/default";
32257         data {
32258             item: size_w 22;
32259             item: size_h 22;
32260             item: size_max_w 64;
32261             item: size_max_h 64;
32262         }
32263         parts {
32264             part { name: "whole";
32265                 description { state: "default" 0.0;
32266                 }
32267             }
32268             part { name: "base";
32269                 ignore_flags: ON_HOLD;
32270                 description { state: "default" 0.0;
32271                 }
32272             }
32273             part { name: "elm.icon";
32274                 type: SWALLOW;
32275                 clip_to: "whole";
32276                 mouse_events:  0;
32277                 description { state: "default" 0.0;
32278                 }
32279             }
32280             part { name: "elm.text";
32281                 type:          TEXT;
32282                 effect:        SOFT_SHADOW;
32283                 mouse_events:  0;
32284                 scale: 1;
32285                 description { state: "default" 0.0;
32286                     align:    0.5 0.5;
32287                     color: 224 224 224 255;
32288                     color3: 0 0 0 64;
32289                     rel1.relative: 0.28 0.25;
32290                     rel2.relative: 0.75 0.75;
32291                     text {
32292                         font:     "Sans,Edje-Vera";
32293                         size:     10;
32294                         min:      0 0;
32295                         align:    0.5 0.5;
32296                     }
32297                 }
32298             }
32299        }
32300        programs {
32301             program { name: "open";
32302                 signal: "mouse,clicked,1";
32303                 source: "base";
32304                 action: SIGNAL_EMIT "open" "elm";
32305             }
32306             program { name: "bringin";
32307                 signal: "mouse,down,1,double";
32308                 source: "base";
32309                 action: SIGNAL_EMIT "bringin" "elm";
32310             }
32311        }
32312    }
32313    group { name: "elm/map/marker_bubble/default";
32314     images {
32315       image: "bubble.png" COMP;
32316       image: "bubble_shine.png" COMP;
32317     }
32318     data {
32319             item: size_w 400;
32320             item: size_h 100;
32321         }
32322     parts {
32323     part { name: "clipper";
32324         mouse_events:  1;
32325         description { state: "default" 0.0;
32326           color: 255 255 255 0;
32327         }
32328         description { state: "show" 0.0;
32329             inherit: "default" 0.0;
32330             color: 255 255 255 255;
32331         }
32332       }
32333      part { name: "base0";
32334         mouse_events:  0;
32335         clip_to: "clipper";
32336         description { state: "default" 0.0;
32337           image {
32338             normal: "bubble.png";
32339             border: 11 36 10 19;
32340           }
32341           image.middle: SOLID;
32342           fill.smooth: 0;
32343         }
32344       }
32345       part { name: "elm.swallow.content";
32346         type: SWALLOW;
32347         clip_to: "clipper";
32348         description { state: "default" 0.0;
32349             align: 0.5 0.5;
32350           rel1 {
32351             offset: 9 8;
32352           }
32353           rel2 {
32354             offset: -10 -17;
32355           }
32356         }
32357       }
32358       part { name: "shine";
32359         mouse_events:  0;
32360         clip_to: "clipper";
32361         description { state:    "default" 0.0;
32362           rel1 {
32363             to: "base0";
32364           }
32365           rel2 {
32366             to: "base0";
32367             relative: 1.0 0.5;
32368           }
32369           image {
32370             normal: "bubble_shine.png";
32371             border: 5 5 5 0;
32372           }
32373           fill.smooth: 0;
32374         }
32375         }
32376     }
32377     programs {
32378         program { name: "show";
32379             signal: "show";
32380             action: STATE_SET "show" 0.0;
32381             target: "clipper";
32382             transition: ACCELERATE 0.5;
32383         }
32384     }
32385   }
32386
32387 /////////////////////////////////////////////////////////////////////////////
32388 // PANES
32389 /////////////////////////////////////////////////////////////////////////////
32390   group {
32391      name: "elm/panes/vertical/default";
32392       images {
32393          image: "bt_base1.png" COMP;
32394          image: "bt_base2.png" COMP;
32395          image: "bt_hilight.png" COMP;
32396          image: "bt_shine.png" COMP;
32397          image: "bt_glow.png" COMP;
32398          image: "bt_dis_base.png" COMP;
32399          image: "bt_dis_hilight.png" COMP;
32400          image: "arrow_right.png" COMP;
32401          image: "arrow_left.png" COMP;
32402       }
32403      script {
32404         public state_pair = 0; //0:both content are not set, 1:both content are set
32405      }
32406      parts
32407        {
32408           part
32409             {
32410                name: "whole";
32411                type: RECT;
32412                mouse_events: 1;
32413                description
32414                  {
32415                     state: "default" 0.0;
32416                     visible: 0;
32417                  }
32418             }
32419
32420          //2 contents
32421           part
32422             {
32423                name: "whole_left";
32424                type: RECT;
32425                mouse_events: 0;
32426                description
32427                  {
32428                     state: "default" 0.0;
32429                     rel2.to_x: "elm.bar";
32430                     rel2.relative: 0.0 1.0;
32431                     visible: 1;
32432                  }
32433             }
32434           part
32435             {
32436                name: "elm.swallow.left";
32437                type: SWALLOW;
32438                clip_to: "whole_left";
32439                description
32440                  {
32441                     state: "default" 0.0;
32442                     rel1.to: "whole_left";
32443                     rel2.to: "whole_left";
32444                  }
32445             }
32446
32447             part
32448             {
32449                name: "whole_right";
32450                type: RECT;
32451                mouse_events: 0;
32452                description
32453                  {
32454                     state: "default" 0.0;
32455                     rel1.to_x: "elm.bar";
32456                     rel1.relative: 1.0 0.0;
32457                     visible: 1;
32458                  }
32459             }
32460           part
32461             {
32462                name: "elm.swallow.right";
32463                type: SWALLOW;
32464                clip_to: "whole_right";
32465                description
32466                  {
32467                     state: "default" 0.0;
32468                     rel1.to: "whole_right";
32469                     rel2.to: "whole_right";
32470                  }
32471             }
32472          //BAR
32473          part { name: "elm.bar";
32474             mouse_events: 1;
32475             dragable {
32476                confine: "whole";
32477                x: 1 1 1;
32478                y: 0 0 0;
32479             }
32480             description { state: "default" 0.0;
32481                max: 0 999;
32482                min: 0 100;
32483                rel1.relative: 0.0 0.5;
32484                rel2.relative: 1.0 0.5;
32485                image {
32486                   normal: "bt_base2.png";
32487                   border: 7 7 7 7;
32488                }
32489                image.middle: SOLID;
32490             }
32491        description { state: "default" 0.1;
32492           inherit: "default" 0.0;
32493           max: 15 999;
32494           min: 15 100;
32495        }
32496             description { state: "clicked" 0.0;
32497                inherit: "default" 0.0;
32498                image.normal: "bt_base1.png";
32499                image.middle: SOLID;
32500             }
32501        description { state: "clicked" 0.1;
32502           inherit: "default" 0.1;
32503           image.normal: "bt_base1.png";
32504           image.middle: SOLID;
32505        }
32506             description { state: "disabled" 0.0;
32507                inherit:  "default" 0.0;
32508                image {
32509                   normal: "bt_dis_base.png";
32510                   border: 4 4 4 4;
32511                }
32512             }
32513        description { state: "disabled" 0.1;
32514           inherit:  "default" 0.1;
32515           image {
32516              normal: "bt_dis_base.png";
32517              border: 4 4 4 4;
32518          }
32519       }
32520          }
32521          part {   name: "over1";
32522             mouse_events: 0;
32523             description { state: "default" 0.0;
32524             rel1.to: "elm.bar";
32525             rel2.to: "elm.bar";
32526                rel2.relative: 1.0 0.5;
32527                image {
32528                   normal: "bt_hilight.png";
32529                   border: 7 7 7 0;
32530                }
32531             }
32532             description { state: "disabled" 0.0;
32533                inherit:  "default" 0.0;
32534                image {
32535                   normal: "bt_dis_hilight.png";
32536                   border: 4 4 4 0;
32537                }
32538             }
32539          }
32540          part { name: "over2";
32541             mouse_events: 1;
32542             repeat_events: 1;
32543             ignore_flags: ON_HOLD;
32544             description { state: "default" 0.0;
32545             rel1.to: "elm.bar";
32546             rel2.to: "elm.bar";
32547                image {
32548                   normal: "bt_shine.png";
32549                   border: 7 7 7 7;
32550                }
32551             }
32552             description { state: "disabled" 0.0;
32553                inherit:  "default" 0.0;
32554                visible: 0;
32555             }
32556          }
32557          part { name: "over3";
32558             mouse_events: 1;
32559             repeat_events: 1;
32560             description { state: "default" 0.0;
32561                color: 255 255 255 0;
32562             rel1.to: "elm.bar";
32563             rel2.to: "elm.bar";
32564                image {
32565                   normal: "bt_glow.png";
32566                   border: 12 12 12 12;
32567                }
32568                fill.smooth : 0;
32569             }
32570             description { state: "clicked" 0.0;
32571                inherit:  "default" 0.0;
32572                visible: 1;
32573                color: 255 255 255 255;
32574             }
32575          }
32576
32577          //Arrow
32578          part {
32579             name: "arrow_right";
32580             mouse_events: 0;
32581             description { state: "default" 0.0;
32582                 min: 45 45;
32583                 max: 45 45;
32584                 color: 255 255 255 0;
32585
32586                 rel1.relative: 1.0 0.5;
32587                 rel1.to_x: "elm.bar";
32588                 rel1.offset: 45/2 -45/2;
32589
32590                 rel2.relative: 1.0 0.5;
32591                 rel2.to_x: "elm.bar";
32592                 rel2.offset: 45/2 45/2;
32593
32594                 image.normal: "arrow_right.png";
32595
32596                 fixed: 1 1;
32597             }
32598             description { state: "anim_1" 0.0;
32599                 inherit: "default" 0.0;
32600                 color: 255 255 255 200;
32601                 rel1.offset: (45/2 + 10) -45/2;
32602                 rel2.offset: (45/2 +10) 45/2;
32603             }
32604             description { state: "anim_2" 0.0;
32605                 inherit: "default" 0.0;
32606                 color: 255 255 255 0;
32607                 rel1.offset: (45/2 + 20) -45/2;
32608                 rel2.offset: (45/2 + 20) 45/2;
32609             }
32610          }
32611         part {
32612             name: "arrow_left";
32613             mouse_events: 0;
32614             description { state: "default" 0.0;
32615                 min: 45 45;
32616                 max: 45 45;
32617                 color: 255 255 255 0;
32618
32619                 rel1.relative: 0.0 0.5;
32620                 rel1.to_x: "elm.bar";
32621                 rel1.offset: -45/2 -45/2;
32622
32623                 rel2.relative: 0.0 0.5;
32624                 rel2.to_x: "elm.bar";
32625                 rel2.offset: -45/2 45/2;
32626
32627                 image.normal: "arrow_left.png";
32628
32629                 fixed: 1 1;
32630             }
32631             description { state: "anim_1" 0.0;
32632                 inherit: "default" 0.0;
32633                 color: 255 255 255 200;
32634                 rel1.offset: (-45/2 - 10) -45/2;
32635                 rel2.offset: (-45/2 - 10) 45/2;
32636             }
32637             description { state: "anim_2" 0.0;
32638                 inherit: "default" 0.0;
32639                 color: 255 255 255 0;
32640                 rel1.offset: (-45/2 - 20) -45/2;
32641                 rel2.offset: (-45/2 - 20) 45/2;
32642             }
32643          }
32644          part { name: "movement.decider";
32645             mouse_events: 1;
32646             description { state: "default" 0.0;
32647                rel1.to: "elm.bar";
32648                rel2.to: "elm.bar";
32649                visible: 0;
32650             }
32651             description { state: "disabled" 0.0;
32652                inherit: "default" 0.0;
32653                visible: 1;
32654             }
32655          }
32656
32657        }
32658         programs {
32659          program {
32660             name:   "button_click";
32661             signal: "mouse,down,1";
32662             source: "over2";
32663             action: SIGNAL_EMIT "elm,action,press" "";
32664             after: "button_click_anim";
32665             after: "arrow_anim_start";
32666          }
32667          program {
32668             name:   "button_click_anim";
32669        script {
32670           if(get_int(state_pair) == 1)
32671              set_state(PART:"elm.bar", "clicked", 0.1);
32672           else
32673              set_state(PART:"elm.bar", "clicked", 0.0);                         
32674        }
32675          }
32676          program {
32677             name:   "button_unclick";
32678             signal: "mouse,up,1";
32679             source: "over2";
32680             action: SIGNAL_EMIT "elm,action,unpress" "";
32681             after: "button_unclick_anim";
32682             after: "arrow_anim_stop";
32683          }
32684          program {
32685             name:   "button_unclick_anim";
32686           script {
32687           if(get_int(state_pair) == 1)
32688              set_state(PART:"elm.bar", "default", 0.1);
32689           else
32690              set_state(PART:"elm.bar", "default", 0.0);                         
32691        }
32692          }
32693          program {
32694             name:   "button_click2";
32695             signal: "mouse,down,1";
32696             source: "over3";
32697             action: STATE_SET "clicked" 0.0;
32698             target: "over3";
32699          }
32700          program {
32701             name:   "button_unclick2";
32702             signal: "mouse,up,1";
32703             source: "over3";
32704             action: STATE_SET "default" 0.0;
32705             transition: DECELERATE 0.5;
32706             target: "over3";
32707          }
32708          program {
32709             name:   "button_unclick3";
32710             signal: "mouse,up,1";
32711             source: "over2";
32712             action: SIGNAL_EMIT "elm,action,click" "";
32713          }
32714          program {
32715             name:   "button_down_double";
32716             signal: "mouse,down,1,double";
32717             source: "over3";
32718             action: SIGNAL_EMIT "elm,action,click,double" "";
32719          }
32720
32721          //arrows animation
32722          program {
32723             name: "arrow_anim_start";
32724             action: STATE_SET "anim_1" 0.0;
32725             target: "arrow_right";
32726             target: "arrow_left";
32727             transition: LINEAR 0.6;
32728             after: "arrow_anim_1";
32729          }
32730          program {
32731             name: "arrow_anim_1";
32732             action: STATE_SET "anim_2" 0.0;
32733             target: "arrow_right";
32734             target: "arrow_left";
32735             transition: LINEAR 0.6;
32736             after: "arrow_anim_2";
32737          }
32738          program {
32739             name: "arrow_anim_2";
32740             action: STATE_SET "default" 0.0;
32741             target: "arrow_right";
32742             target: "arrow_left";
32743             after: "arrow_anim_start";
32744          }
32745          program {
32746             name: "arrow_anim_stop";
32747             action: ACTION_STOP;
32748             target: "arrow_anim_start";
32749             target: "arrow_anim_1";
32750             target: "arrow_anim_2";
32751             after: "arrow_anim_stop_1";
32752          }
32753          program {
32754             name: "arrow_anim_stop_1";
32755             action: STATE_SET "default" 0.0;
32756             target: "arrow_right";
32757             target: "arrow_left";
32758             transition: DECELERATE 0.4;
32759         }
32760         //fix the pane
32761         program {
32762            name:   "panes_fixed";
32763            signal: "elm.panes.fixed";
32764            source: "elm";
32765            action: STATE_SET "disabled" 0.0;
32766            target: "movement.decider";
32767            target: "elm.bar";
32768         }
32769         //allow the movement by interaction
32770         program {
32771            name:   "panes_unfixed";
32772            signal: "elm.panes.unfixed";
32773            source: "elm";
32774            action: STATE_SET "default" 0.0;
32775            target: "movement.decider";
32776            target: "elm.bar";
32777         }
32778         program {
32779            name:   "panes_pair";
32780            signal: "elm.panes.pair";
32781            source: "elm";
32782            script {
32783               new st[31];
32784               new Float:vl;
32785               set_int(state_pair, 1);
32786               get_state(PART:"elm.bar", st, 30, vl);
32787               set_state(PART:"elm.bar", st, 0.1);
32788            }
32789         }
32790         program {
32791            name:   "panes_unpair";
32792            signal: "elm.panes.unpair";
32793            source: "elm";
32794            script {
32795               new st[31];
32796               new Float:vl;
32797               set_int(state_pair, 0);
32798               get_state(PART:"elm.bar", st, 30, vl);
32799               set_state(PART:"elm.bar", st, 0.0);
32800            }
32801         }
32802       }
32803   }
32804
32805   group {
32806      name: "elm/panes/horizontal/default";
32807       images {
32808          image: "bt_base1.png" COMP;
32809          image: "bt_base2.png" COMP;
32810          image: "bt_hilight.png" COMP;
32811          image: "bt_shine.png" COMP;
32812          image: "bt_glow.png" COMP;
32813          image: "bt_dis_base.png" COMP;
32814          image: "bt_dis_hilight.png" COMP;
32815          image: "arrow_up.png" COMP;
32816          image: "arrow_down.png" COMP;
32817       }
32818      script {
32819         public state_pair = 0; //0:both content are not set, 1:both content are set
32820      }
32821      parts
32822        {
32823           part
32824             {
32825                name: "whole";
32826                type: RECT;
32827                mouse_events: 1;
32828                description
32829                  {
32830                     state: "default" 0.0;
32831                     visible: 0;
32832                  }
32833             }
32834
32835          //2 contents
32836           part
32837             {
32838                name: "whole_left";
32839                type: RECT;
32840                mouse_events: 0;
32841                description
32842                  {
32843                     state: "default" 0.0;
32844                     rel2.to_y: "elm.bar";
32845                     rel2.relative: 1.0 0.0;
32846                     visible: 1;
32847                  }
32848             }
32849           part
32850             {
32851                name: "elm.swallow.left";
32852                type: SWALLOW;
32853                clip_to: "whole_left";
32854                description
32855                  {
32856                     state: "default" 0.0;
32857                     rel1.to: "whole_left";
32858                     rel2.to: "whole_left";
32859                  }
32860             }
32861
32862             part
32863             {
32864                name: "whole_right";
32865                type: RECT;
32866                mouse_events: 0;
32867                description
32868                  {
32869                     state: "default" 0.0;
32870                     rel1.to_y: "elm.bar";
32871                     rel1.relative: 0.0 1.0;
32872                     visible: 1;
32873                  }
32874             }
32875           part
32876             {
32877                name: "elm.swallow.right";
32878                type: SWALLOW;
32879                clip_to: "whole_right";
32880                description
32881                  {
32882                     state: "default" 0.0;
32883                     rel1.to: "whole_right";
32884                     rel2.to: "whole_right";
32885                  }
32886             }
32887          //BAR
32888          part { name: "elm.bar";
32889             mouse_events: 1;
32890             dragable {
32891                confine: "whole";
32892                x: 0 0 0;
32893                y: 1 1 1;
32894             }
32895             description { state: "default" 0.0;
32896                max: 999 0;
32897                min: 100 0;
32898                rel1.relative: 0.5 0.0;
32899                rel2.relative: 0.5 1.0;
32900                image {
32901                   normal: "bt_base2.png";
32902                   border: 7 7 7 7;
32903                }
32904                image.middle: SOLID;
32905             }
32906        description { state: "default" 0.1;
32907           inherit: "default" 0.0;
32908           max: 999 15;
32909           min: 100 15;
32910        }
32911             description { state: "clicked" 0.0;
32912                inherit: "default" 0.0;
32913                image.normal: "bt_base1.png";
32914                image.middle: SOLID;
32915             }
32916        description { state: "clicked" 0.1;
32917           inherit: "default" 0.1;
32918           image.normal: "bt_base1.png";
32919           image.middle: SOLID;
32920        }
32921             description { state: "disabled" 0.0;
32922                inherit:  "default" 0.0;
32923                image {
32924                   normal: "bt_dis_base.png";
32925                   border: 4 4 4 4;
32926                }
32927             }
32928        description { state: "disabled" 0.1;
32929           inherit:  "default" 0.1;
32930           image {
32931              normal: "bt_dis_base.png";
32932              border: 4 4 4 4;
32933           }
32934        }
32935          }
32936          part {   name: "over1";
32937             mouse_events: 0;
32938             description { state: "default" 0.0;
32939             rel1.to: "elm.bar";
32940             rel2.to: "elm.bar";
32941                rel2.relative: 1.0 0.5;
32942                image {
32943                   normal: "bt_hilight.png";
32944                   border: 7 7 7 0;
32945                }
32946             }
32947             description { state: "disabled" 0.0;
32948                inherit:  "default" 0.0;
32949                image {
32950                   normal: "bt_dis_hilight.png";
32951                   border: 4 4 4 0;
32952                }
32953             }
32954          }
32955          part { name: "over2";
32956             mouse_events: 1;
32957             repeat_events: 1;
32958             ignore_flags: ON_HOLD;
32959             description { state: "default" 0.0;
32960             rel1.to: "elm.bar";
32961             rel2.to: "elm.bar";
32962                image {
32963                   normal: "bt_shine.png";
32964                   border: 7 7 7 7;
32965                }
32966             }
32967             description { state: "disabled" 0.0;
32968                inherit:  "default" 0.0;
32969                visible: 0;
32970             }
32971          }
32972          part { name: "over3";
32973             mouse_events: 1;
32974             repeat_events: 1;
32975             description { state: "default" 0.0;
32976                color: 255 255 255 0;
32977             rel1.to: "elm.bar";
32978             rel2.to: "elm.bar";
32979                image {
32980                   normal: "bt_glow.png";
32981                   border: 12 12 12 12;
32982                }
32983                fill.smooth : 0;
32984             }
32985             description { state: "clicked" 0.0;
32986                inherit:  "default" 0.0;
32987                visible: 1;
32988                color: 255 255 255 255;
32989             }
32990          }
32991
32992          //Arrow
32993          part {
32994             name: "arrow_right";
32995             mouse_events: 0;
32996             description { state: "default" 0.0;
32997                 min: 45 45;
32998                 max: 45 45;
32999                 color: 255 255 255 0;
33000
33001                 rel1.relative: 0.5 1.0;
33002                 rel1.to_y: "elm.bar";
33003                 rel1.offset: -45/2 45/2;
33004
33005                 rel2.relative: 0.5 1.0;
33006                 rel2.to_y: "elm.bar";
33007                 rel2.offset: 45/2 45/2;
33008
33009                 image.normal: "arrow_down.png";
33010
33011                 fixed: 1 1;
33012             }
33013             description { state: "anim_1" 0.0;
33014                 inherit: "default" 0.0;
33015                 color: 255 255 255 200;
33016                 rel1.offset: -45/2 (45/2 +10);
33017                 rel2.offset: 45/2 (45/2 +10);
33018             }
33019             description { state: "anim_2" 0.0;
33020                 inherit: "default" 0.0;
33021                 color: 255 255 255 0;
33022                 rel1.offset: -45/2 (45/2 + 20);
33023                 rel2.offset: 45/2 (45/2 + 20);
33024             }
33025          }
33026         part {
33027             name: "arrow_left";
33028             mouse_events: 0;
33029             description { state: "default" 0.0;
33030                 min: 45 45;
33031                 max: 45 45;
33032                 color: 255 255 255 0;
33033
33034                 rel1.relative: 0.5 0.0;
33035                 rel1.to_y: "elm.bar";
33036                 rel1.offset: -45/2 -45/2;
33037
33038                 rel2.relative: 0.5 0.0;
33039                 rel2.to_y: "elm.bar";
33040                 rel2.offset: 45/2 -45/2;
33041
33042                 image.normal: "arrow_up.png";
33043
33044                 fixed: 1 1;
33045             }
33046             description { state: "anim_1" 0.0;
33047                 inherit: "default" 0.0;
33048                 color: 255 255 255 200;
33049                 rel1.offset: -45/2 (-45/2 - 10);
33050                 rel2.offset: 45/2 (-45/2 - 10);
33051             }
33052             description { state: "anim_2" 0.0;
33053                 inherit: "default" 0.0;
33054                 color: 255 255 255 0;
33055                 rel1.offset: -45/2 (-45/2 - 20);
33056                 rel2.offset: 45/2 (-45/2 - 20);
33057             }
33058          }
33059          part {
33060             name: "movement.decider";
33061             mouse_events: 1;
33062             description { state: "default" 0.0;
33063                rel1.to: "elm.bar";
33064                rel2.to: "elm.bar";
33065                visible: 0;
33066             }
33067             description { state: "disabled" 0.0;
33068                inherit: "default" 0.0;
33069                visible: 1;
33070             }
33071          }
33072
33073        }
33074         programs {
33075          program {
33076             name:   "button_click";
33077             signal: "mouse,down,1";
33078             source: "over2";
33079             action: SIGNAL_EMIT "elm,action,press" "";
33080             after: "button_click_anim";
33081             after: "arrow_anim_start";
33082          }
33083     program {
33084        name:   "button_click_anim";
33085        script {
33086           if(get_int(state_pair) == 1)
33087              set_state(PART:"elm.bar", "clicked", 0.1);
33088           else
33089              set_state(PART:"elm.bar", "clicked", 0.0);                         
33090        }
33091     }
33092          program {
33093             name:   "button_unclick";
33094             signal: "mouse,up,1";
33095             source: "over2";
33096             action: SIGNAL_EMIT "elm,action,unpress" "";
33097             after: "button_unclick_anim";
33098             after: "arrow_anim_stop";
33099          }
33100     program {
33101        name:   "button_unclick_anim";
33102        script {
33103           if(get_int(state_pair) == 1)
33104              set_state(PART:"elm.bar", "default", 0.1);
33105           else
33106              set_state(PART:"elm.bar", "default", 0.0);                         
33107        }
33108     }
33109          program {
33110             name:   "button_click2";
33111             signal: "mouse,down,1";
33112             source: "over3";
33113             action: STATE_SET "clicked" 0.0;
33114             target: "over3";
33115          }
33116          program {
33117             name:   "button_unclick2";
33118             signal: "mouse,up,1";
33119             source: "over3";
33120             action: STATE_SET "default" 0.0;
33121             transition: DECELERATE 0.5;
33122             target: "over3";
33123          }
33124          program {
33125             name:   "button_unclick3";
33126             signal: "mouse,up,1";
33127             source: "over2";
33128             action: SIGNAL_EMIT "elm,action,click" "";
33129          }
33130          program {
33131             name:   "button_down_double";
33132             signal: "mouse,down,1,double";
33133             source: "over3";
33134             action: SIGNAL_EMIT "elm,action,click,double" "";
33135          }
33136
33137          //arrows animation
33138          program {
33139             name: "arrow_anim_start";
33140             action: STATE_SET "anim_1" 0.0;
33141             target: "arrow_right";
33142             target: "arrow_left";
33143             transition: LINEAR 0.6;
33144             after: "arrow_anim_1";
33145          }
33146          program {
33147             name: "arrow_anim_1";
33148             action: STATE_SET "anim_2" 0.0;
33149             target: "arrow_right";
33150             target: "arrow_left";
33151             transition: LINEAR 0.6;
33152             after: "arrow_anim_2";
33153          }
33154          program {
33155             name: "arrow_anim_2";
33156             action: STATE_SET "default" 0.0;
33157             target: "arrow_right";
33158             target: "arrow_left";
33159             after: "arrow_anim_start";
33160          }
33161          program {
33162             name: "arrow_anim_stop";
33163             action: ACTION_STOP;
33164             target: "arrow_anim_start";
33165             target: "arrow_anim_1";
33166             target: "arrow_anim_2";
33167             after: "arrow_anim_stop_1";
33168          }
33169          program {
33170             name: "arrow_anim_stop_1";
33171             action: STATE_SET "default" 0.0;
33172             target: "arrow_right";
33173             target: "arrow_left";
33174             transition: DECELERATE 0.4;
33175         }
33176         //fix the pane
33177         program {
33178            name:   "panes_fixed";
33179            signal: "elm.panes.fixed";
33180            source: "elm";
33181            action: STATE_SET "disabled" 0.0;
33182            target: "movement.decider";
33183            target: "elm.bar";
33184         }
33185         //allow the movement by interaction
33186         program {
33187            name:   "panes_unfixed";
33188            signal: "elm.panes.unfixed";
33189            source: "elm";
33190            action: STATE_SET "default" 0.0;
33191            target: "movement.decider";
33192            target: "elm.bar";
33193         }
33194         program {
33195            name:   "panes_pair";
33196            signal: "elm.panes.pair";
33197            source: "elm";
33198            script {
33199               new st[31];
33200               new Float:vl;
33201               set_int(state_pair, 1);
33202               get_state(PART:"elm.bar", st, 30, vl);
33203               set_state(PART:"elm.bar", st, 0.1);
33204            }
33205         }
33206         program {
33207            name:   "panes_unpair";
33208            signal: "elm.panes.unpair";
33209            source: "elm";
33210            script {
33211               new st[31];
33212               new Float:vl;
33213               set_int(state_pair, 0);
33214               get_state(PART:"elm.bar", st, 30, vl);
33215               set_state(PART:"elm.bar", st, 0.0);
33216            }
33217         }
33218       }
33219   }
33220
33221
33222
33223 /////////////////////////////////////////////////////////////////////////////
33224 // PANEL
33225 /////////////////////////////////////////////////////////////////////////////
33226   group {
33227      name: "elm/panel/base/left";
33228      alias: "elm/panel/base/top";
33229      images
33230        {
33231           image: "bt_base1.png" COMP;
33232           image: "bt_hilight.png" COMP;
33233           image: "bt_shine.png" COMP;
33234           image: "bt_glow.png" COMP;
33235           image: "bt_dis_base.png" COMP;
33236           image: "icon_arrow_left.png" COMP;
33237           image: "icon_arrow_right.png" COMP;
33238        }
33239        data {
33240           item: "focus_highlight" "on";
33241        }
33242      parts
33243        {
33244             part { name: "focus_highlight";
33245                description { state: "default" 0.0;
33246                   visible: 0;
33247                   color: 255 255 255 0;
33248                   rel1 {
33249                      to: "btn";
33250                      offset: -8 -8;
33251                   }
33252                   rel2 {
33253                      to: "btn";
33254                      offset: 7 7;
33255                   }
33256                   image {
33257                      normal: "frame_2.png";
33258                      border: 5 5 32 26;
33259                      middle: 0;
33260                   }
33261                }
33262                description { state: "enabled" 0.0;
33263                   inherit: "default" 0.0;
33264                   visible: 1;
33265                   color: 255 255 255 255;
33266                }
33267             }
33268           part
33269             {
33270                name: "bg";
33271                type: RECT;
33272                mouse_events: 0;
33273                description
33274                  {
33275                     state: "default" 0.0;
33276                     color: 255 255 255 0;
33277                     rel1.relative: 0.0 0.0;
33278                     rel1.offset: 0 0;
33279                     rel2.relative: 1.0 1.0;
33280                     rel2.offset: -1 -1;
33281                  }
33282                description
33283                  {
33284                     state: "hidden" 0.0;
33285                     inherit: "default" 0.0;
33286                     rel1.relative: -1.0 0.0;
33287                     rel1.offset: 21 0;
33288                     rel2.relative: 0.0 1.0;
33289                     rel2.offset: 20 -1;
33290                  }
33291             }
33292           part
33293             {
33294                name: "base";
33295                type: IMAGE;
33296                mouse_events: 0;
33297                description
33298                  {
33299                     state: "default" 0.0;
33300                     rel1.to: "bg";
33301                     rel2.to: "bg";
33302                     rel2.offset: -20 -1;
33303                     image
33304                       {
33305                          normal: "bt_dis_base.png";
33306                          border: 4 4 4 4;
33307                       }
33308                  }
33309             }
33310           part
33311             {
33312                name: "clipper";
33313                type: RECT;
33314                mouse_events: 0;
33315                description
33316                  {
33317                     state: "default" 0.0;
33318                     rel1
33319                       {
33320                          offset: 4 4;
33321                          to: "base";
33322                       }
33323                     rel2
33324                       {
33325                          offset: -5 -5;
33326                          to: "base";
33327                       }
33328                  }
33329             }
33330           part
33331             {
33332                name: "elm.swallow.content";
33333                type: SWALLOW;
33334                clip_to: "clipper";
33335                description
33336                  {
33337                     state: "default" 0.0;
33338                     rel1.to: "clipper";
33339                     rel2.to: "clipper";
33340                  }
33341             }
33342           part
33343             {
33344                name: "btn";
33345                type: IMAGE;
33346                mouse_events: 1;
33347                description
33348                  {
33349                     state: "default" 0.0;
33350                     max: 32 48;
33351                     fixed: 1 1;
33352                     align: 0.0 0.5;
33353                     rel1
33354                       {
33355                          relative: 1.0 0.0;
33356                          offset: -3 0;
33357                          to_x: "base";
33358                       }
33359                     rel2.to_x: "bg";
33360                     image
33361                       {
33362                          normal: "bt_base1.png";
33363                          border: 0 5 4 12;
33364                       }
33365                     fill.smooth: 0;
33366                  }
33367                description
33368                  {
33369                     state: "clicked" 0.0;
33370                     inherit: "default" 0.0;
33371                  }
33372             }
33373           part
33374             {
33375                name: "btn_over";
33376                type: IMAGE;
33377                mouse_events: 0;
33378                description
33379                  {
33380                     state: "default" 0.0;
33381                     rel1.to: "btn";
33382                     rel2
33383                       {
33384                          relative: 1.0 0.5;
33385                          to: "btn";
33386                       }
33387                     image
33388                       {
33389                          normal: "bt_hilight.png";
33390                          border: 0 7 7 0;
33391                       }
33392                  }
33393             }
33394           part
33395             {
33396                name: "btn_over2";
33397                type: IMAGE;
33398                mouse_events: 1;
33399                repeat_events: 1;
33400                ignore_flags: ON_HOLD;
33401                description
33402                  {
33403                     state: "default" 0.0;
33404                     rel1.to: "btn";
33405                     rel2.to: "btn";
33406                     image
33407                       {
33408                          normal: "bt_shine.png";
33409                          border: 0 7 7 7;
33410                     }
33411                  }
33412             }
33413           part
33414             {
33415                name: "btn_over3";
33416                type: IMAGE;
33417                mouse_events: 1;
33418                repeat_events: 1;
33419                description
33420                  {
33421                     state: "default" 0.0;
33422                     color: 255 255 255 0;
33423                     rel1.to: "btn";
33424                     rel2.to: "btn";
33425                     image
33426                       {
33427                        normal: "bt_glow.png";
33428                        border: 12 12 12 12;
33429                     }
33430                   fill.smooth: 0;
33431                }
33432              description
33433                {
33434                   state: "clicked" 0.0;
33435                   inherit: "default" 0.0;
33436                   visible: 1;
33437                   color: 255 255 255 255;
33438                }
33439             }
33440           part
33441             {
33442                name: "btn_icon";
33443                type: IMAGE;
33444                repeat_events: 1;
33445                description
33446                  {
33447                     state: "default" 0.0;
33448                     rel1.to: "btn";
33449                     rel2.to: "btn";
33450                     align: 0.5 0.5;
33451                     min: 16 16;
33452                     max: 16 16;
33453                     image.normal: "icon_arrow_left.png";
33454                  }
33455                description
33456                  {
33457                     state: "hidden" 0.0;
33458                     inherit: "default" 0.0;
33459                     image.normal: "icon_arrow_right.png";
33460                  }
33461             }
33462        }
33463      programs
33464        {
33465           program
33466             {
33467                name: "show";
33468                signal: "elm,action,show";
33469                source: "elm";
33470                action: STATE_SET "default" 0.0;
33471                target: "bg";
33472                target: "btn_icon";
33473                transition: LINEAR 0.5;
33474             }
33475           program
33476             {
33477                name: "hide";
33478                signal: "elm,action,hide";
33479                source: "elm";
33480                action: STATE_SET "hidden" 0.0;
33481                target: "bg";
33482                target: "btn_icon";
33483                transition: LINEAR 0.5;
33484             }
33485           program
33486             {
33487                name: "btn_click";
33488                signal: "mouse,down,1";
33489                source: "btn_over2";
33490                action: STATE_SET "clicked" 0.0;
33491                target: "btn";
33492             }
33493           program
33494             {
33495                name: "btn_unclick";
33496                signal: "mouse,up,1";
33497                source: "btn_over2";
33498                action: STATE_SET "default" 0.0;
33499                target: "btn";
33500             }
33501           program
33502             {
33503                name: "btn_click2";
33504                signal: "mouse,down,1";
33505                source: "btn_over3";
33506                action: STATE_SET "clicked" 0.0;
33507                target: "btn_over3";
33508             }
33509           program
33510             {
33511                name: "btn_unclick2";
33512                signal: "mouse,up,1";
33513                source: "btn_over3";
33514                action: STATE_SET "default" 0.0;
33515                transition: DECELERATE 0.5;
33516                target: "btn_over3";
33517             }
33518           program
33519             {
33520                name: "btn_unclick3";
33521                signal: "mouse,clicked,1";
33522                source: "btn_over2";
33523                action: SIGNAL_EMIT "elm,action,panel,toggle" "";
33524             }
33525          program { name: "highlight_show";
33526             signal: "elm,action,focus_highlight,show";
33527             source: "elm";
33528             action: STATE_SET "enabled" 0.0;
33529             transition: ACCELERATE 0.3;
33530             target: "focus_highlight";
33531          }
33532          program { name: "highlight_hide";
33533             signal: "elm,action,focus_highlight,hide";
33534             source: "elm";
33535             action: STATE_SET "default" 0.0;
33536             transition: DECELERATE 0.3;
33537             target: "focus_highlight";
33538          }
33539        }
33540   }
33541
33542   group {
33543      name: "elm/panel/base/right";
33544      alias: "elm/panel/base/bottom";
33545      images
33546        {
33547           image: "bt_base1.png" COMP;
33548           image: "bt_hilight.png" COMP;
33549           image: "bt_shine.png" COMP;
33550           image: "bt_glow.png" COMP;
33551           image: "bt_dis_base.png" COMP;
33552           image: "icon_arrow_left.png" COMP;
33553           image: "icon_arrow_right.png" COMP;
33554        }
33555      parts
33556        {
33557             part { name: "focus_highlight";
33558                description { state: "default" 0.0;
33559                   visible: 0;
33560                   color: 255 255 255 0;
33561                   rel1 {
33562                      to: "btn";
33563                      offset: -8 -8;
33564                   }
33565                   rel2 {
33566                      to: "btn";
33567                      offset: 7 7;
33568                   }
33569                   image {
33570                      normal: "frame_2.png";
33571                      border: 5 5 32 26;
33572                      middle: 0;
33573                   }
33574                }
33575                description { state: "enabled" 0.0;
33576                   inherit: "default" 0.0;
33577                   visible: 1;
33578                   color: 255 255 255 255;
33579                }
33580             }
33581           part
33582             {
33583                name: "bg";
33584                type: RECT;
33585                mouse_events: 0;
33586                description
33587                  {
33588                     state: "default" 0.0;
33589                     color: 255 255 255 0;
33590                     rel1.relative: 0.0 0.0;
33591                     rel1.offset: 0 0;
33592                     rel2.relative: 1.0 1.0;
33593                     rel2.offset: -1 -1;
33594                  }
33595                description
33596                  {
33597                     state: "hidden" 0.0;
33598                     inherit: "default" 0.0;
33599                     rel1.relative: 1.0 0.0;
33600                     rel1.offset: -22 0;
33601                     rel2.relative: 2.0 1.0;
33602                     rel2.offset: -23 -1;
33603                  }
33604             }
33605           part
33606             {
33607                name: "base";
33608                type: IMAGE;
33609                mouse_events: 0;
33610                description
33611                  {
33612                     state: "default" 0.0;
33613                     rel1.to: "bg";
33614                     rel1.offset: 20 0;
33615                     rel2.to: "bg";
33616                     image
33617                       {
33618                          normal: "bt_dis_base.png";
33619                          border: 4 4 4 4;
33620                       }
33621                  }
33622             }
33623           part
33624             {
33625                name: "clipper";
33626                type: RECT;
33627                mouse_events: 0;
33628                description
33629                  {
33630                     state: "default" 0.0;
33631                     rel1
33632                       {
33633                          offset: 4 4;
33634                          to: "base";
33635                       }
33636                     rel2
33637                       {
33638                          offset: -5 -5;
33639                          to: "base";
33640                       }
33641                  }
33642             }
33643           part
33644             {
33645                name: "elm.swallow.content";
33646                type: SWALLOW;
33647                clip_to: "clipper";
33648                description
33649                  {
33650                     state: "default" 0.0;
33651                     rel1.to: "clipper";
33652                     rel2.to: "clipper";
33653                  }
33654             }
33655           part
33656             {
33657                name: "btn";
33658                type: IMAGE;
33659                mouse_events: 1;
33660                description
33661                  {
33662                     state: "default" 0.0;
33663                     max: 32 48;
33664                     fixed: 1 1;
33665                     align: 1 0.5;
33666                     rel1
33667                       {
33668                          to_x: "bg";
33669                       }
33670                     rel2
33671                       {
33672                          offset: 2 0;
33673                          relative: 0.0 1;
33674                          to_x: "base";
33675                       }
33676                     image
33677                       {
33678                          normal: "bt_base1.png";
33679                          border: 5 0 4 12;
33680                       }
33681                     fill.smooth: 0;
33682                  }
33683                description
33684                  {
33685                     state: "clicked" 0.0;
33686                     inherit: "default" 0.0;
33687                  }
33688             }
33689           part
33690             {
33691                name: "btn_over";
33692                type: IMAGE;
33693                mouse_events: 0;
33694                description
33695                  {
33696                     state: "default" 0.0;
33697                     rel1.to: "btn";
33698                     rel2
33699                       {
33700                          relative: 1.0 0.5;
33701                          to: "btn";
33702                       }
33703                     image
33704                       {
33705                          normal: "bt_hilight.png";
33706                          border: 7 0 7 0;
33707                       }
33708                  }
33709             }
33710           part
33711             {
33712                name: "btn_over2";
33713                type: IMAGE;
33714                mouse_events: 1;
33715                repeat_events: 1;
33716                ignore_flags: ON_HOLD;
33717                description
33718                  {
33719                     state: "default" 0.0;
33720                     rel1.to: "btn";
33721                     rel2.to: "btn";
33722                     image
33723                       {
33724                          normal: "bt_shine.png";
33725                          border: 7 0 7 7;
33726                     }
33727                  }
33728             }
33729           part
33730             {
33731                name: "btn_over3";
33732                type: IMAGE;
33733                mouse_events: 1;
33734                repeat_events: 1;
33735                description
33736                  {
33737                     state: "default" 0.0;
33738                     color: 255 255 255 0;
33739                     rel1.to: "btn";
33740                     rel2.to: "btn";
33741                     image
33742                       {
33743                        normal: "bt_glow.png";
33744                        border: 12 12 12 12;
33745                     }
33746                   fill.smooth: 0;
33747                }
33748              description
33749                {
33750                   state: "clicked" 0.0;
33751                   inherit: "default" 0.0;
33752                   visible: 1;
33753                   color: 255 255 255 255;
33754                }
33755             }
33756           part
33757             {
33758                name: "btn_icon";
33759                type: IMAGE;
33760                repeat_events: 1;
33761                description
33762                  {
33763                     state: "default" 0.0;
33764                     rel1.to: "btn";
33765                     rel2.to: "btn";
33766                     align: 0.5 0.5;
33767                     min: 16 16;
33768                     max: 16 16;
33769                     image.normal: "icon_arrow_right.png";
33770                  }
33771                description
33772                  {
33773                     state: "hidden" 0.0;
33774                     inherit: "default" 0.0;
33775                     image.normal: "icon_arrow_left.png";
33776                  }
33777             }
33778        }
33779      programs
33780        {
33781           program
33782             {
33783                name: "show";
33784                signal: "elm,action,show";
33785                source: "elm";
33786                action: STATE_SET "default" 0.0;
33787                target: "bg";
33788                target: "btn_icon";
33789                transition: LINEAR 0.5;
33790             }
33791           program
33792             {
33793                name: "hide";
33794                signal: "elm,action,hide";
33795                source: "elm";
33796                action: STATE_SET "hidden" 0.0;
33797                target: "bg";
33798                target: "btn_icon";
33799                transition: LINEAR 0.5;
33800             }
33801           program
33802             {
33803                name: "btn_click";
33804                signal: "mouse,down,1";
33805                source: "btn_over2";
33806                action: STATE_SET "clicked" 0.0;
33807                target: "btn";
33808             }
33809           program
33810             {
33811                name: "btn_unclick";
33812                signal: "mouse,up,1";
33813                source: "btn_over2";
33814                action: STATE_SET "default" 0.0;
33815                target: "btn";
33816             }
33817           program
33818             {
33819                name: "btn_click2";
33820                signal: "mouse,down,1";
33821                source: "btn_over3";
33822                action: STATE_SET "clicked" 0.0;
33823                target: "btn_over3";
33824             }
33825           program
33826             {
33827                name: "btn_unclick2";
33828                signal: "mouse,up,1";
33829                source: "btn_over3";
33830                action: STATE_SET "default" 0.0;
33831                transition: DECELERATE 0.5;
33832                target: "btn_over3";
33833             }
33834           program
33835             {
33836                name: "btn_unclick3";
33837                signal: "mouse,up,1";
33838                source: "btn_over2";
33839                action: SIGNAL_EMIT "elm,action,panel,toggle" "";
33840             }
33841          program { name: "highlight_show";
33842             signal: "elm,action,focus";
33843             source: "elm";
33844             action: STATE_SET "enabled" 0.0;
33845             transition: ACCELERATE 0.3;
33846             target: "focus_highlight";
33847          }
33848          program { name: "highlight_hide";
33849             signal: "elm,action,unfocus";
33850             source: "elm";
33851             action: STATE_SET "default" 0.0;
33852             transition: DECELERATE 0.3;
33853             target: "focus_highlight";
33854          }
33855        }
33856   }
33857
33858 ///////////////////////////////////////////////////////////////////////////////
33859   group { name: "elm/conformant/base/default";
33860      parts {
33861         part { name: "elm.swallow.shelf";
33862            type: SWALLOW;
33863            description { state: "default" 0.0;
33864               fixed: 1 1;
33865               align: 0.0 0.0;
33866               rel2.relative: 1.0 0.0;
33867            }
33868         }
33869         part { name: "elm.swallow.content";
33870            type: SWALLOW;
33871            description { state: "default" 0.0;
33872               align: 0.5 0.5;
33873               rel1.relative: 0.0 1.0;
33874               rel1.to_y: "elm.swallow.shelf";
33875               rel2.relative: 1.0 0.0;
33876               rel2.to_y: "elm.swallow.virtualkeypad";
33877            }
33878         }
33879         part { name: "elm.swallow.virtualkeypad";
33880            type: SWALLOW;
33881            description { state: "default" 0.0;
33882               fixed: 0 1;
33883               align: 0.0 1.0;
33884               rel1.relative: 0.0 0.0;
33885               rel1.to_y: "elm.swallow.panel";
33886               rel2.relative: 1.0 0.0;
33887               rel2.to_y: "elm.swallow.panel";
33888            }
33889         }
33890         part { name: "elm.swallow.panel";
33891            type: SWALLOW;
33892            description { state: "default" 0.0;
33893               fixed: 1 1;
33894               align: 0.0 1.0;
33895               rel1.relative: 0.0 1.0;
33896            }
33897         }
33898      }
33899   }
33900
33901 /////////////////////////////////////////////////////////////////////////////
33902 // CALENDAR
33903 /////////////////////////////////////////////////////////////////////////////
33904 #define CH(_pos) \
33905          part { name: "ch_"#_pos".base"; \
33906             type: RECT; \
33907             description { state: "default" 0.0; \
33908                rel1 { \
33909                   relative: (_pos % 7 * 7 / 8 / 6) 0; \
33910                   to: "header"; \
33911                } \
33912                rel2 { \
33913                   relative: (_pos % 7 * 7 / 8 / 6 + 1 / 8) 1; \
33914                   to: "header"; \
33915                } \
33916                color: 0 0 0 0; \
33917                visible: 0; \
33918             } \
33919          } \
33920          part { name: "ch_"#_pos".text"; \
33921             type: TEXT; \
33922             effect: SOFT_SHADOW; \
33923             mouse_events: 0; \
33924             scale: 1; \
33925             clip_to: "ch_"#_pos".clipper"; \
33926             description { \
33927                state: "default" 0.0; \
33928                rel1.to: "ch_"#_pos".base"; \
33929                rel2.to: "ch_"#_pos".base"; \
33930                color: 0 0 0 255; \
33931                color3: 0 0 0 0; \
33932                text { \
33933                   font: "Sans"; \
33934                   size: 10; \
33935                   min: 1 1; \
33936                   align: 0.5 0.5; \
33937                } \
33938             } \
33939          } \
33940          part { name: "ch_"#_pos".clipper"; \
33941             type: RECT; \
33942             description { state: "default" 0.0; \
33943                rel1.to: "ch_"#_pos".base"; \
33944                rel2.to: "ch_"#_pos".base"; \
33945             } \
33946          }
33947
33948 #define CIT(_pos) \
33949          part { name: "cit_"#_pos".rect"; \
33950             type: RECT; \
33951             description { state: "default" 0.0; \
33952                rel1 { \
33953                   relative: (_pos % 7 * 7 / 8 / 6) \
33954                             (_pos / 8 / 5 - _pos % 7 / 8 / 5); \
33955                   to: "base"; \
33956                } \
33957                rel2 { \
33958                   relative: (_pos % 7 * 7 / 8 / 6 + 1 / 8) \
33959                             (_pos / 8 / 5 - _pos % 7 / 8 / 5 + 1 / 8); \
33960                   to: "base"; \
33961                } \
33962                color: 0 0 0 0; \
33963                visible: 0; \
33964             } \
33965          } \
33966          part { \
33967             name: "cit_"#_pos".event"; \
33968             type: RECT; \
33969             repeat_events: 1; \
33970             description { \
33971                rel1.to: "cit_"#_pos".rect"; \
33972                rel2.to: "cit_"#_pos".rect"; \
33973                state: "default" 0.0; \
33974                color: 0 0 0 0; \
33975             } \
33976          } \
33977          part { name: "cit_"#_pos".shelf"; \
33978             type: RECT; \
33979             mouse_events: 0; \
33980             description { state: "default" 0.0; \
33981                rel1 { \
33982                   to: "cit_"#_pos".bg"; \
33983                   offset: -1 -1; \
33984                } \
33985                rel2 { \
33986                   to: "cit_"#_pos".bg"; \
33987                } \
33988                color: 200 200 200 255; \
33989             } \
33990          } \
33991          part { name: "cit_"#_pos".hd"; \
33992             type: RECT; \
33993             mouse_events: 0; \
33994             description { state: "default" 0.0; \
33995                rel1 { \
33996                   to: "cit_"#_pos".bg"; \
33997                   offset: -1 -1; \
33998                } \
33999                rel2 { \
34000                   to: "cit_"#_pos".bg"; \
34001                } \
34002                visible: 0; \
34003                color: 160 0 0 255; \
34004             } \
34005             description { state: "visible" 0.0; \
34006                inherit: "default" 0.0; \
34007                visible: 1; \
34008             } \
34009          } \
34010          part { \
34011             name: "cit_"#_pos".base_sh"; \
34012             mouse_events: 0; \
34013             description { \
34014                state: "default" 0.0; \
34015                align: 0.0 0.0; \
34016                min: 0 1; \
34017                rel1 { \
34018                   to: "cit_"#_pos".base"; \
34019                   relative: 0.0 1.0; \
34020                   offset: 0 0; \
34021                } \
34022                rel2 { \
34023                   to: "cit_"#_pos".base"; \
34024                   relative: 1.0 1.05; \
34025                   offset: -1 0; \
34026                } \
34027                image { \
34028                   normal: "ilist_item_shadow.png"; \
34029                } \
34030                fill.smooth: 0; \
34031             } \
34032          } \
34033          part { \
34034             name: "cit_"#_pos".base"; \
34035             mouse_events: 0; \
34036             description { \
34037                state: "default" 0.0; \
34038                rel1.to: "cit_"#_pos".rect"; \
34039                rel2.to: "cit_"#_pos".rect"; \
34040                rel2.offset: -1 -1; \
34041                image { \
34042                   normal: "ilist_1.png"; \
34043                   border: 2 2 2 2; \
34044                } \
34045                fill.smooth: 0; \
34046             } \
34047             description { \
34048                state: "today" 0.0; \
34049                inherit: "default" 0.0; \
34050                image.normal: "ilist_2.png"; \
34051                color: 240 240 240 255; \
34052             } \
34053          } \
34054          part { name: "cit_"#_pos".bg"; \
34055             mouse_events: 0; \
34056             description { state: "default" 0.0; \
34057                visible: 0; \
34058                color: 255 255 255 0; \
34059                rel1 { \
34060                   to: "cit_"#_pos".rect"; \
34061                   relative: 0.0 0.0; \
34062                } \
34063                rel2 { \
34064                   to: "cit_"#_pos".rect"; \
34065                   relative: 1.0 1.0; \
34066                   offset: -1 -1; \
34067                } \
34068                image { \
34069                   normal: "bt_sm_base1.png"; \
34070                   border: 6 6 6 6; \
34071                } \
34072                image.middle: SOLID; \
34073             } \
34074             description { state: "selected" 0.0; \
34075                inherit: "default" 0.0; \
34076                visible: 1; \
34077                color: 255 255 255 255; \
34078             } \
34079          } \
34080          part { name: "cit_"#_pos".text"; \
34081             type: TEXT; \
34082             effect: SOFT_SHADOW; \
34083             mouse_events: 0; \
34084             scale: 1; \
34085             description { \
34086                state: "default" 0.0; \
34087                rel1.to: "cit_"#_pos".bg"; \
34088                rel2.to: "cit_"#_pos".bg"; \
34089                color: 0 0 0 255; \
34090                color3: 0 0 0 0; \
34091                text { \
34092                   font: "Sans"; \
34093                   size: 10; \
34094                   min: 1 1; \
34095                   align: 0.5 0.5; \
34096                } \
34097             } \
34098             description { state: "selected" 0.0; \
34099                inherit: "default" 0.0; \
34100                color: 224 224 224 255; \
34101                color3: 0 0 0 64; \
34102             } \
34103          } \
34104          part { name: "cit_"#_pos".fg1"; \
34105             mouse_events: 0; \
34106             description { state: "default" 0.0; \
34107                visible: 0; \
34108                color: 255 255 255 0; \
34109                rel1.to: "cit_"#_pos".bg"; \
34110                rel2.relative: 1.0 0.5; \
34111                rel2.to: "cit_"#_pos".bg"; \
34112                image { \
34113                   normal: "bt_sm_hilight.png"; \
34114                   border: 6 6 6 0; \
34115                } \
34116             } \
34117             description { state: "selected" 0.0; \
34118                inherit: "default" 0.0; \
34119                visible: 1; \
34120                color: 255 255 255 255; \
34121             } \
34122          } \
34123          part { name: "cit_"#_pos".fg2"; \
34124             mouse_events: 0; \
34125             description { state: "default" 0.0; \
34126                visible: 0; \
34127                color: 255 255 255 0; \
34128                rel1.to: "cit_"#_pos".bg"; \
34129                rel2.to: "cit_"#_pos".bg"; \
34130                image { \
34131                   normal: "bt_sm_shine.png"; \
34132                   border: 6 6 6 0; \
34133                } \
34134             } \
34135             description { state: "selected" 0.0; \
34136                inherit: "default" 0.0; \
34137                visible: 1; \
34138                color: 255 255 255 255; \
34139             } \
34140          } \
34141          part { name: "cit_"#_pos".check"; \
34142             mouse_events: 0; \
34143             description { state: "default" 0.0; \
34144                rel1 { \
34145                   to: "cit_"#_pos".bg"; \
34146                   relative: 0.7 0.6; \
34147                   offset: 1 1; \
34148                } \
34149                rel2 { \
34150                   to: "cit_"#_pos".bg"; \
34151                   relative: 1.1 1.2; \
34152                   offset: -2 -2; \
34153                } \
34154                aspect: 1 1; \
34155                visible: 0; \
34156                color: 255 0 0 255; \
34157                image.normal: "check.png"; \
34158             } \
34159             description { state: "visible" 0.0; \
34160                inherit: "default" 0.0; \
34161                visible: 1; \
34162             } \
34163          } \
34164       programs { \
34165          program { \
34166             name:    "cit_"#_pos".go_active"; \
34167             signal:  "cit_"#_pos",selected"; \
34168             source:  "elm"; \
34169             action:  STATE_SET "selected" 0.0; \
34170             target:  "cit_"#_pos".bg"; \
34171             target:  "cit_"#_pos".fg1"; \
34172             target:  "cit_"#_pos".fg2"; \
34173             target:  "cit_"#_pos".text"; \
34174          } \
34175          program { \
34176             name:    "cit_"#_pos".go_passive"; \
34177             signal:  "cit_"#_pos",unselected"; \
34178             source:  "elm"; \
34179             action:  STATE_SET "default" 0.0; \
34180             target:  "cit_"#_pos".bg"; \
34181             target:  "cit_"#_pos".fg1"; \
34182             target:  "cit_"#_pos".fg2"; \
34183             target:  "cit_"#_pos".text"; \
34184          } \
34185          program { \
34186             name:    "cit_"#_pos".is_today"; \
34187             signal:  "cit_"#_pos",today"; \
34188             source:  "elm"; \
34189             action:  STATE_SET "today" 0.0; \
34190             target: "cit_"#_pos".base"; \
34191          } \
34192          program { \
34193             name:    "cit_"#_pos".not_today"; \
34194             signal:  "cit_"#_pos",not_today"; \
34195             source:  "elm"; \
34196             action:  STATE_SET "default" 0.0; \
34197             target: "cit_"#_pos".base"; \
34198          } \
34199          program { \
34200             source: "cit_"#_pos".clicked"; \
34201             signal: "mouse,clicked,1"; \
34202             source: "cit_"#_pos".event"; \
34203             action: SIGNAL_EMIT "elm,action,selected" #_pos; \
34204          } \
34205          program { \
34206             name:    "cit_"#_pos".clear"; \
34207             signal:  "cit_"#_pos",clear"; \
34208             source:  "elm"; \
34209             action:  STATE_SET "default" 0.0; \
34210             target: "cit_"#_pos".check"; \
34211             target: "cit_"#_pos".hd"; \
34212          } \
34213          program { \
34214             name:    "cit_"#_pos".checked"; \
34215             signal:  "cit_"#_pos",checked"; \
34216             source:  "elm"; \
34217             action:  STATE_SET "visible" 0.0; \
34218             target: "cit_"#_pos".check"; \
34219          } \
34220          program { \
34221             name:    "cit_"#_pos".holiday"; \
34222             signal:  "cit_"#_pos",holiday"; \
34223             source:  "elm"; \
34224             action:  STATE_SET "visible" 0.0; \
34225             target: "cit_"#_pos".hd"; \
34226          } \
34227       }
34228
34229    group { name: "elm/calendar/base/default";
34230        images {
34231            image: "shelf_inset.png" COMP;
34232            image: "bt_base1.png" COMP;
34233            image: "bt_hilight.png" COMP;
34234            image: "bt_shine.png" COMP;
34235            image: "bt_glow.png" COMP;
34236            image: "bt_dis_base.png" COMP;
34237            image: "bt_dis_hilight.png" COMP;
34238            image: "sp_bt_l.png" COMP;
34239            image: "sp_bt_r.png" COMP;
34240            image: "bt_sm_base1.png" COMP;
34241            image: "bt_sm_shine.png" COMP;
34242            image: "bt_sm_hilight.png" COMP;
34243            image: "ilist_1.png" COMP;
34244            image: "ilist_2.png" COMP;
34245            image: "ilist_item_shadow.png" COMP;
34246            image: "check.png" COMP;
34247        }
34248        parts {
34249            part { name: "bg";
34250                type: RECT;
34251                description { state: "default" 0.0;
34252                    min: 0 30;
34253                    rel1.offset: 1 1;
34254                    rel2.offset: -2 -2;
34255                    color: 255 255 255 0;
34256                    align: 0.0 0.5;
34257                }
34258            }
34259            part { name: "spinner-base";
34260                type: RECT;
34261                mouse_events: 0;
34262                description { state: "default" 0.0;
34263                    min: 24 24;
34264                    max: 999999 24;
34265                    rel1.to: "bg";
34266                    rel1.offset: 6 6;
34267                    rel2.to: "bg";
34268                    rel2.offset: -7 -7;
34269                    color: 255 255 255 0;
34270                    align: 0.0 0.0;
34271                }
34272            }
34273            part { name: "conf_over_spinner";
34274                mouse_events:  0;
34275                description { state: "default" 0.0;
34276                    rel1.to: "spinner-base";
34277                    rel1.offset: -3 -3;
34278                    rel2.to: "spinner-base";
34279                    rel2.offset: 2 2;
34280                    image {
34281                        normal: "shelf_inset.png";
34282                        border: 7 7 7 7;
34283                        middle: 0;
34284                    }
34285                    fill.smooth : 0;
34286                }
34287            }
34288            part { name: "table-base";
34289                type: RECT;
34290                mouse_events: 0;
34291                description { state: "default" 0.0;
34292                    min: 256 220;
34293                    rel1.to_x: "bg";
34294                    rel1.to_y: "spinner-base";
34295                    rel1.offset: 6 6;
34296                    rel1.relative: 0 1;
34297                    rel2.to: "bg";
34298                    rel2.offset: -7 -7;
34299                    color: 255 255 255 0;
34300                }
34301            }
34302            part { name: "conf_over_table";
34303                mouse_events:  0;
34304                description { state: "default" 0.0;
34305                    rel1.to: "table-base";
34306                    rel1.offset: -3 -3;
34307                    rel2.to: "table-base";
34308                    rel2.offset: 2 2;
34309                    image {
34310                        normal: "shelf_inset.png";
34311                        border: 7 7 7 7;
34312                        middle: 0;
34313                    }
34314                    fill.smooth : 0;
34315                }
34316            }
34317            part { name: "header";
34318                type: RECT;
34319                mouse_events: 0;
34320                description { state: "default" 0.0;
34321                    rel1.to: "table-base";
34322                    rel1.relative: 0 0;
34323                    rel2.to: "table-base";
34324                    rel2.relative: 1 0.1;
34325                    color: 255 255 255 0;
34326                }
34327            }
34328            part { name: "base";
34329                type: RECT;
34330                mouse_events: 0;
34331                description { state: "default" 0.0;
34332                    rel1.to_x: "table-base";
34333                    rel1.to_y: "header";
34334                    rel1.relative: 0 1;
34335                    rel1.offset: 3 0;
34336                    rel2.to: "table-base";
34337                    rel2.offset: -3 0;
34338                    color: 255 255 255 0;
34339                }
34340            }
34341            part { name: "left_bt";
34342                mouse_events:  1;
34343                description { state: "default" 0.0;
34344                    rel1 { to: "spinner-base";
34345                        offset: 2 2;
34346                    }
34347                    rel2 { to: "spinner-base";
34348                        offset: -3 -3;
34349                    }
34350                    align: 0.0 0.5;
34351                    min: 24 24;
34352                    max: 24 24;
34353                    fixed: 1 1;
34354                    image {
34355                        normal: "bt_base1.png";
34356                        border: 6 6 6 6;
34357                    }
34358                    fill.smooth : 0;
34359                }
34360                description { state: "clicked" 0.0;
34361                    inherit: "default" 0.0;
34362                    image.normal: "bt_base1.png";
34363                    image.middle: SOLID;
34364                }
34365            }
34366            part { name: "left_over1";
34367                mouse_events: 0;
34368                description { state: "default" 0.0;
34369                    rel1.to: "left_bt";
34370                    rel2 { to: "left_bt";
34371                        relative: 1.0 0.5;
34372                    }
34373                    image {
34374                        normal: "bt_hilight.png";
34375                        border: 7 7 7 0;
34376                    }
34377                }
34378            }
34379            part { name: "left_over2";
34380                mouse_events: 1;
34381                repeat_events: 1;
34382                description { state: "default" 0.0;
34383                    rel1.to: "left_bt";
34384                    rel2.to: "left_bt";
34385                    image {
34386                        normal: "bt_shine.png";
34387                        border: 7 7 7 7;
34388                    }
34389                }
34390            }
34391            part { name: "left_over3";
34392                mouse_events: 1;
34393                repeat_events: 1;
34394                description { state: "default" 0.0;
34395                    color: 255 255 255 0;
34396                    rel1.to: "left_bt";
34397                    rel2.to: "left_bt";
34398                    image {
34399                        normal: "bt_glow.png";
34400                        border: 12 12 12 12;
34401                    }
34402                    fill.smooth : 0;
34403                }
34404                description { state: "clicked" 0.0;
34405                    inherit:  "default" 0.0;
34406                    visible: 1;
34407                    color: 255 255 255 255;
34408                }
34409            }
34410            part { name: "right_bt";
34411                mouse_events:  1;
34412                description { state: "default" 0.0;
34413                    rel1 { to: "spinner-base";
34414                        offset: -27 3;
34415                    }
34416                    rel2 { to: "spinner-base";
34417                        offset: -3 -3;
34418                    }
34419                    align: 1.0 0.5;
34420                    min: 24 24;
34421                    max: 24 24;
34422                    fixed: 1 1;
34423                    image {
34424                        normal: "bt_base1.png";
34425                        border: 5 5 4 12;
34426                    }
34427                    fill.smooth : 0;
34428                }
34429                description { state: "clicked" 0.0;
34430                    inherit: "default" 0.0;
34431                    image.normal: "bt_base1.png";
34432                    image.middle: SOLID;
34433                }
34434            }
34435            part { name: "right_over1";
34436                mouse_events: 0;
34437                description { state: "default" 0.0;
34438                    rel1.to: "right_bt";
34439                    rel2 { to: "right_bt";
34440                        relative: 1.0 0.5;
34441                    }
34442                    image {
34443                        normal: "bt_hilight.png";
34444                        border: 7 7 7 0;
34445                    }
34446                }
34447            }
34448            part { name: "right_over2";
34449                mouse_events: 1;
34450                repeat_events: 1;
34451                description { state: "default" 0.0;
34452                    rel1.to: "right_bt";
34453                    rel2.to: "right_bt";
34454                    image {
34455                        normal: "bt_shine.png";
34456                        border: 7 7 7 7;
34457                    }
34458                }
34459            }
34460            part { name: "right_over3";
34461                mouse_events: 1;
34462                repeat_events: 1;
34463                description { state: "default" 0.0;
34464                    color: 255 255 255 0;
34465                    rel1.to: "right_bt";
34466                    rel2.to: "right_bt";
34467                    image {
34468                        normal: "bt_glow.png";
34469                        border: 12 12 12 12;
34470                    }
34471                    fill.smooth : 0;
34472                }
34473                description { state: "clicked" 0.0;
34474                    inherit:  "default" 0.0;
34475                    visible: 1;
34476                    color: 255 255 255 255;
34477                }
34478            }
34479            part { name: "left_bt_icon";
34480                repeat_events: 1;
34481                description { state: "default" 0.0;
34482                    rel1.to: "left_bt";
34483                    rel2.to: "left_bt";
34484                    align: 0.5 0.5;
34485                    min: 16 16;
34486                    max: 16 16;
34487                    image.normal: "sp_bt_l.png";
34488                }
34489            }
34490            part { name: "right_bt_icon";
34491                repeat_events: 1;
34492                description { state: "default" 0.0;
34493                    rel1.to: "right_bt";
34494                    rel2.to: "right_bt";
34495                    align: 0.5 0.5;
34496                    min: 16 16;
34497                    max: 16 16;
34498                    image.normal: "sp_bt_r.png";
34499                }
34500            }
34501            part { name: "month_text";
34502                type: TEXT;
34503                mouse_events: 0;
34504                scale: 1;
34505                description { state: "default" 0.0;
34506                    align: 0 0.5;
34507                    fixed: 1 1;
34508                    rel1 { relative: 1.0 0.0;
34509                        offset: 3 2;
34510                        to: "left_bt";
34511                        to_y: "spinner-base";
34512                    }
34513                    rel2 { relative: 0.0 1.0;
34514                        offset: -3 -2;
34515                        to_x: "right_bt";
34516                        to_y: "spinner-base";
34517                    }
34518                    color: 0 0 0 255;
34519                    text {
34520                        font: "Sans,Edje-Vera";
34521                        size: 12;
34522                        min: 1 1;
34523                        align: 0.5 0.5;
34524                    }
34525                }
34526            }
34527            CH(0)   CH(1)   CH(2)   CH(3)   CH(4)   CH(5)   CH(6)
34528            CIT(0)  CIT(1)  CIT(2)  CIT(3)  CIT(4)  CIT(5)  CIT(6)
34529            CIT(7)  CIT(8)  CIT(9)  CIT(10) CIT(11) CIT(12) CIT(13)
34530            CIT(14) CIT(15) CIT(16) CIT(17) CIT(18) CIT(19) CIT(20)
34531            CIT(21) CIT(22) CIT(23) CIT(24) CIT(25) CIT(26) CIT(27)
34532            CIT(28) CIT(29) CIT(30) CIT(31) CIT(32) CIT(33) CIT(34)
34533            CIT(35) CIT(36) CIT(37) CIT(38) CIT(39) CIT(40) CIT(41)
34534        }
34535        programs {
34536            program { name: "dec_start";
34537                signal: "mouse,down,1";
34538                source: "left_bt";
34539                action: SIGNAL_EMIT "elm,action,decrement,start" "";
34540            }
34541            program { name: "dec_stop";
34542                signal: "mouse,up,1";
34543                source: "left_bt";
34544                action: SIGNAL_EMIT "elm,action,stop" "";
34545            }
34546            program { name: "inc_start";
34547                signal: "mouse,down,1";
34548                source: "right_bt";
34549                action: SIGNAL_EMIT "elm,action,increment,start" "";
34550            }
34551            program { name: "inc_stop";
34552                signal: "mouse,up,1";
34553                source: "right_bt";
34554                action: SIGNAL_EMIT "elm,action,stop" "";
34555            }
34556            program {
34557                name:   "left_bt_click";
34558                signal: "mouse,down,1";
34559                source: "left_over2";
34560                action: STATE_SET "clicked" 0.0;
34561                target: "left_bt";
34562            }
34563            program {
34564                name:   "left_bt_unclick";
34565                signal: "mouse,up,1";
34566                source: "left_over2";
34567                action: STATE_SET "default" 0.0;
34568                target: "left_bt";
34569            }
34570            program {
34571                name:   "left_bt_click2";
34572                signal: "mouse,down,1";
34573                source: "left_over3";
34574                action: STATE_SET "clicked" 0.0;
34575                target: "left_over3";
34576            }
34577            program {
34578                name:   "left_bt_unclick2";
34579                signal: "mouse,up,1";
34580                source: "left_over3";
34581                action: STATE_SET "default" 0.0;
34582                transition: DECELERATE 0.5;
34583                target: "left_over3";
34584            }
34585            program {
34586                name:   "right_bt_click";
34587                signal: "mouse,down,1";
34588                source: "right_over2";
34589                action: STATE_SET "clicked" 0.0;
34590                target: "right_bt";
34591            }
34592            program {
34593                name:   "right_bt_unclick";
34594                signal: "mouse,up,1";
34595                source: "right_over2";
34596                action: STATE_SET "default" 0.0;
34597                target: "right_bt";
34598            }
34599            program {
34600                name:   "right_bt_click2";
34601                signal: "mouse,down,1";
34602                source: "right_over3";
34603                action: STATE_SET "clicked" 0.0;
34604                target: "right_over3";
34605            }
34606            program {
34607                name:   "right_bt_unclick2";
34608                signal: "mouse,up,1";
34609                source: "right_over3";
34610                action: STATE_SET "default" 0.0;
34611                transition: DECELERATE 0.5;
34612                target: "right_over3";
34613            }
34614        }
34615    }
34616
34617 #undef CIT
34618 #undef CH
34619
34620 ////////////////////////////////////////////////////////////////////////////////
34621 // colorselector
34622 ////////////////////////////////////////////////////////////////////////////////
34623    group { name: "elm/colorselector/bg/default";
34624       parts {
34625          part { name: "elm.colorbar_0";
34626             type: SWALLOW;
34627             mouse_events: 1;
34628             description { state: "default" 0.0;
34629                min: 120 30;
34630                rel1.relative: 0.0 0.00653594771;
34631                rel2.relative: 1.0 0.254901961;
34632             }
34633          }
34634          part { name: "elm.colorbar_1";
34635             type: SWALLOW;
34636             mouse_events: 1;
34637             description { state: "default" 0.0;
34638                min: 120 30;
34639                rel1.relative: 0.0 0.254901961;
34640                rel2.relative: 1.0 0.503267974;
34641             }
34642          }
34643          part { name: "elm.colorbar_2";
34644             type: SWALLOW;
34645             mouse_events: 1;
34646             description { state: "default" 0.0;
34647                min: 120 30;
34648                rel1.relative: 0.0 0.503267974;
34649                rel2.relative: 1.0 0.751633987;
34650             }
34651          }
34652          part { name: "elm.colorbar_3";
34653             type: SWALLOW;
34654             mouse_events: 1;
34655             description { state: "default" 0.0;
34656                min: 120 30;
34657                rel1.relative: 0.0 0.751633987;
34658                rel2.relative: 1.0 1.0;
34659             }
34660          }
34661       }
34662    }
34663
34664    group { name: "elm/colorselector/base/default";
34665       parts {
34666          part { name: "elm.bar_bg";
34667             type: SWALLOW;
34668             mouse_events: 0;
34669             description { state: "default" 0.0;
34670                min: 60 22;
34671                rel1 {
34672                   relative: 0.0 0.8;
34673                   to_x: "elm.arrow_bg";
34674                   to_y: "elm.arrow_icon";
34675                   offset: 0 0;
34676                }
34677                rel2 {
34678                   relative: 1.0 0.83;
34679                   to_x: "elm.arrow_bg";
34680                   offset: 0 0;
34681                }
34682             }
34683          }
34684          part { name: "elm.bar";
34685             type: SWALLOW;
34686             mouse_events: 0;
34687             description { state: "default" 0.0;
34688                rel1.to: "elm.bar_bg";
34689                rel2.to: "elm.bar_bg";
34690             }
34691          }
34692          part { name: "elm.arrow_bg";
34693             type: SWALLOW;
34694             mouse_events: 1;
34695             description { state: "default" 0.0;
34696                rel1 {
34697                   relative: 1.0 0.17;
34698                   offset: 3 0;
34699                   to_x: "elm.l_button";
34700                }
34701                rel2 {
34702                   relative: 0.0 0.83;
34703                      offset: -4 0;
34704                   to_x: "elm.r_button";
34705                }
34706             }
34707          }
34708          part { name: "elm.arrow";
34709             type: RECT;
34710             mouse_events: 1;
34711             scale: 1;
34712             description { state: "default" 0.0;
34713                min: 1 1;
34714                fixed: 1 1;
34715                align: 0 0;
34716                rel1 {
34717                   to_x: "elm.arrow_bg";
34718                }
34719                rel2 {
34720                   relative: 0.0 0.17;
34721                   to_x: "elm.arrow_bg";
34722                }
34723                color: 0 0 0 0;
34724                visible: 0;
34725             }
34726             dragable {
34727                confine: "elm.arrow_bg";
34728                x: 1 1 0;
34729                y: 0 0 0;
34730             }
34731          }
34732          part { name: "elm.arrow_icon";
34733             type: SWALLOW;
34734             mouse_events: 0;
34735             description { state: "default" 0.0;
34736                min: 25 15;
34737                max: 25 15;
34738                fixed: 1 1;
34739                align: 0.5 0;
34740                rel1 {
34741                   to_x: "elm.arrow";
34742                }
34743                rel2 {
34744                   relative: 1.0 0.0;
34745                   offset: 0 10;
34746                   to_x: "elm.arrow";
34747                }
34748             }
34749          }
34750          part { name: "event";
34751             type: RECT;
34752             mouse_events: 1;
34753             description { state: "default" 0.0;
34754                rel1 {
34755                   to: "elm.arrow_icon";
34756                }
34757                rel2 {
34758                   to_x: "elm.arrow_icon";
34759                   to_y: "elm.arrow_bg";
34760                   offset: 0 0;
34761                }
34762                color: 0 0 0 0;
34763             }
34764             dragable {
34765                events: "elm.arrow";
34766             }
34767          }
34768          part { name: "elm.l_button";
34769             type: SWALLOW;
34770             mouse_events: 1;
34771             scale: 1;
34772             description { state: "default" 0.0;
34773                min: 24 24;
34774                fixed: 1 1;
34775                rel1 {
34776                   relative: 0.0 0.0;
34777                   to_y: "elm.bar_bg";
34778                }
34779                rel2 {
34780                   relative: 0.0 1.0;
34781                   to_y: "elm.bar_bg";
34782                }
34783                align: 0.0 0.5;
34784             }
34785          }
34786          part { name: "elm.r_button";
34787             type: SWALLOW;
34788             mouse_events: 1;
34789             scale: 1;
34790             description {
34791                state: "default" 0.0;
34792                min: 24 24;
34793                fixed: 1 1;
34794                rel1 {
34795                   relative: 1.0 0.0;
34796                   to_y: "elm.bar_bg";
34797                }
34798                rel2 {
34799                   relative: 1.0 1.0;
34800                   to_y: "elm.bar_bg";
34801                }
34802                align: 1.0 0.5;
34803             }
34804          }
34805       }
34806    }
34807
34808    group{ name: "elm/colorselector/image/colorbar_0";
34809       images {
34810          image: "color_picker_color.png" COMP;
34811       }
34812       parts {
34813          part { name: "colorbar_0_image";
34814             type: IMAGE;
34815             mouse_events: 1;
34816             description { state: "default" 0.0;
34817                rel2.offset: -1 -1;
34818                image.normal: "color_picker_color.png";
34819             }
34820          }
34821       }
34822    }
34823
34824    group { name: "elm/colorselector/image/colorbar_1";
34825       images {
34826          image: "color_picker_opacity.png" COMP;
34827       }
34828       parts {
34829          part { name: "colorbar_1_image";
34830             type: IMAGE;
34831             mouse_events: 1;
34832             description { state: "default" 0.0;
34833                rel2.offset: -1 -1;
34834                image.normal: "color_picker_opacity.png";
34835             }
34836          }
34837       }
34838    }
34839
34840    group { name: "elm/colorselector/image/colorbar_2";
34841       images {
34842          image: "color_picker_brightness.png" COMP;
34843       }
34844       parts {
34845          part { name: "colorbar_2_image";
34846             type: IMAGE;
34847             mouse_events: 1;
34848             description { state: "default" 0.0;
34849                rel2.offset: -1 -1;
34850                image.normal: "color_picker_brightness.png";
34851             }
34852          }
34853       }
34854    }
34855
34856    group { name: "elm/colorselector/image/colorbar_3";
34857       images {
34858          image: "color_picker_alpha.png" COMP;
34859       }
34860       parts {
34861          part { name: "colorbar_3_image";
34862             type: IMAGE;
34863             mouse_events: 1;
34864             description { state: "default" 0.0;
34865                rel2.offset: -1 -1;
34866                image.normal: "color_picker_alpha.png";
34867             }
34868          }
34869       }
34870    }
34871
34872    group { name: "elm/colorselector/bg_image/colorbar_3";
34873       images {
34874          image: "color_picker_alpha_bg.png" COMP;
34875       }
34876       parts {
34877          part { name: "colorbar_3_image";
34878             type: IMAGE;
34879             mouse_events: 1;
34880             description { state: "default" 0.0;
34881                rel2.offset: -1 -1;
34882                image.normal: "color_picker_alpha_bg.png";
34883             }
34884          }
34885       }
34886    }
34887
34888    group { name: "elm/colorselector/image/updown";
34889       images {
34890          image: "icon_arrow_down.png" COMP;
34891       }
34892       parts {
34893          part { name: "bg";
34894             type: RECT;
34895             mouse_events: 1;
34896             description { state: "default" 0.0;
34897                color: 0 0 0 0;
34898             }
34899          }
34900          part { name: "arrow_image";
34901             type: IMAGE;
34902             mouse_events: 1;
34903             description { state: "default" 0.0;
34904                image.normal: "icon_arrow_down.png";
34905             }
34906          }
34907       }
34908    }
34909
34910    group { name: "elm/colorselector/button/left";
34911       images {
34912          image: "bt_base1.png" COMP;
34913          image: "bt_shine.png" COMP;
34914          image: "sp_bt_l.png" COMP;
34915       }
34916       parts {
34917          part { name: "button_image";
34918             mouse_events: 1;
34919             description { state: "default" 0.0;
34920                image.normal: "bt_base1.png";
34921                image.border: 6 6 6 6;
34922                image.middle: SOLID;
34923             }
34924
34925             description { state: "clicked" 0.0;
34926                inherit: "default" 0.0;
34927                image.normal: "bt_shine.png";
34928                image.border: 6 6 6 6;
34929                image.middle: SOLID;
34930             }
34931          }
34932          part { name: "btn_over";
34933             type: IMAGE;
34934             mouse_events: 0;
34935             description { state: "default" 0.0;
34936                rel1.to: "button_image";
34937                rel2 {
34938                   relative: 1.0 0.5;
34939                   to: "button_image";
34940                }
34941                image {
34942                   normal: "bt_hilight.png";
34943                   border: 7 7 7 0;
34944                }
34945             }
34946          }
34947          part { name: "btn_over2";
34948             type: IMAGE;
34949             mouse_events: 1;
34950             repeat_events: 1;
34951             ignore_flags: ON_HOLD;
34952             description { state: "default" 0.0;
34953                rel1.to: "button_image";
34954                rel2.to: "button_image";
34955                image {
34956                   normal: "bt_shine.png";
34957                   border: 7 7 7 7;
34958                }
34959             }
34960          }
34961          part { name: "focus_image";
34962             type: IMAGE;
34963             description { state: "default" 0.0;
34964                color: 255 255 255 0;
34965                rel1.to: "button_image";
34966                rel2.to: "button_image";
34967                image {
34968                   normal: "bt_glow.png";
34969                   border: 12 12 12 12;
34970                }
34971                fill.smooth: 0;
34972
34973             }
34974             description { state: "clicked" 0.0;
34975                inherit: "default" 0.0;
34976                visible: 1;
34977                color: 255 255 255 255;
34978             }
34979          }
34980          part { name: "left_arrow";
34981             mouse_events: 1;
34982             description { state: "default" 0.0;
34983                min: 16 16;
34984                max: 16 16;
34985                image.normal: "sp_bt_l.png";
34986             }
34987          }
34988       }
34989
34990       programs {
34991          program {
34992             name:   "button_down";
34993             signal: "elm,state,left,button,down";
34994             source: "left_button";
34995             action: STATE_SET "clicked" 0.0;
34996             target: "button_image";
34997             target: "focus_image";
34998          }
34999          program {
35000             name:   "button_up";
35001             signal: "elm,state,left,button,up";
35002             source: "left_button";
35003             action: STATE_SET "default" 0.0;
35004             target: "button_image";
35005             target: "focus_image";
35006          }
35007       }
35008    }
35009
35010    group { name: "elm/colorselector/button/right";
35011       images {
35012          image: "bt_base1.png" COMP;
35013          image: "bt_shine.png" COMP;
35014          image: "sp_bt_r.png" COMP;
35015       }
35016       parts {
35017          part { name: "button_image";
35018             mouse_events: 1;
35019             description { state: "default" 0.0;
35020                image.normal: "bt_base1.png";
35021                image.border: 6 6 6 6;
35022                image.middle: SOLID;
35023             }
35024
35025             description { state: "clicked" 0.0;
35026                inherit: "default" 0.0;
35027                image.normal: "bt_shine.png";
35028                image.border: 6 6 6 6;
35029                image.middle: SOLID;
35030             }
35031          }
35032          part { name: "btn_over";
35033             type: IMAGE;
35034             mouse_events: 0;
35035             description { state: "default" 0.0;
35036                rel1.to: "button_image";
35037                rel2 {
35038                   relative: 1.0 0.5;
35039                   to: "button_image";
35040                }
35041                image {
35042                   normal: "bt_hilight.png";
35043                   border: 7 7 7 0;
35044                }
35045             }
35046          }
35047          part { name: "btn_over2";
35048             type: IMAGE;
35049             mouse_events: 1;
35050             repeat_events: 1;
35051             ignore_flags: ON_HOLD;
35052             description { state: "default" 0.0;
35053                rel1.to: "button_image";
35054                rel2.to: "button_image";
35055                image {
35056                   normal: "bt_shine.png";
35057                   border: 7 7 7 7;
35058                }
35059             }
35060          }
35061          part { name: "focus_image";
35062             type: IMAGE;
35063             description { state: "default" 0.0;
35064                color: 255 255 255 0;
35065                rel1.to: "button_image";
35066                rel2.to: "button_image";
35067                image {
35068                   normal: "bt_glow.png";
35069                   border: 12 12 12 12;
35070                }
35071                fill.smooth: 0;
35072
35073             }
35074             description { state: "clicked" 0.0;
35075                inherit: "default" 0.0;
35076                visible: 1;
35077                color: 255 255 255 255;
35078             }
35079          }
35080          part { name: "right_arrow";
35081             mouse_events: 1;
35082             description { state: "default" 0.0;
35083                min: 16 16;
35084                max: 16 16;
35085                image.normal: "sp_bt_r.png";
35086             }
35087          }
35088       }
35089
35090       programs {
35091          program {
35092             name:   "button_down";
35093             signal: "elm,state,right,button,down";
35094             source: "right_button";
35095             action: STATE_SET "clicked" 0.0;
35096             target: "button_image";
35097             target: "focus_image";
35098          }
35099          program {
35100             name:   "button_up";
35101             signal: "elm,state,right,button,up";
35102             source: "right_button";
35103             action: STATE_SET "default" 0.0;
35104             target: "button_image";
35105             target: "focus_image";
35106          }
35107       }
35108    }
35109
35110 ///////////////////////////////////////////////////////////////////////////////
35111 #define FLIP_PICKER_MAX_LEN (50)
35112 #define FLIP_PICKER_MAX_LEN_STR "50"
35113
35114    group { name: "elm/flipselector/base/default";
35115       images {
35116          image: "flip_base.png" COMP;
35117          image: "flip_base_shad.png" COMP;
35118          image: "flip_shad.png" COMP;
35119          image: "arrow_up.png" COMP;
35120          image: "arrow_down.png" COMP;
35121          image: "flip_t.png" COMP;
35122          image: "flip_b.png" COMP;
35123       }
35124
35125       data {
35126          item: "max_len" FLIP_PICKER_MAX_LEN_STR;
35127       }
35128
35129       //FIXME: quick successive clicks on, say, up, lead to nastiness
35130       script {
35131          public cur, prev, next, lock;
35132
35133          public animator_bottom_down(val, Float:pos) {
35134             new tmp[FLIP_PICKER_MAX_LEN];
35135
35136             set_tween_state(PART:"bottom", pos, "shrink", 0.0, "default", 0.0);
35137             set_tween_state(PART:"bottom_sheet", pos, "shrink", 0.0, "default",
35138                             0.0);
35139             set_tween_state(PART:"shadow", pos, "half", 0.0, "full",
35140                             0.0);
35141
35142             if (pos >= 1.0) {
35143                set_state(PART:"shadow", "default", 0.0);
35144                set_int(lock, 0);
35145
35146                fetch_str(next, 0, tmp, FLIP_PICKER_MAX_LEN);
35147                if (strncmp(tmp, "", FLIP_PICKER_MAX_LEN) != 0) {
35148                   replace_str(next, 0, "");
35149                   message(MSG_STRING, 1, tmp);
35150                }
35151             }
35152          }
35153
35154          public animator_top_down(val, Float:pos) {
35155             set_tween_state(PART:"top", pos, "default", 0.0, "shrink", 0.0);
35156             set_tween_state(PART:"top_sheet", pos, "default", 0.0, "shrink",
35157                             0.0);
35158             set_tween_state(PART:"shadow", pos, "default", 0.0, "half",
35159                             0.0);
35160
35161             if (pos >= 1.0)
35162                anim(0.2, "animator_bottom_down", val);
35163          }
35164
35165          public animator_bottom_up(val, Float:pos) {
35166             set_tween_state(PART:"bottom", pos, "default", 0.0, "shrink", 0.0);
35167             set_tween_state(PART:"bottom_sheet", pos, "default", 0.0, "shrink",
35168                             0.0);
35169             set_tween_state(PART:"shadow", pos, "full", 0.0, "half",
35170                             0.0);
35171
35172             if (pos >= 1.0)
35173                anim(0.2, "animator_top_up", val);
35174          }
35175
35176          public animator_top_up(val, Float:pos) {
35177             new tmp[FLIP_PICKER_MAX_LEN];
35178
35179             set_tween_state(PART:"top", pos, "shrink", 0.0, "default", 0.0);
35180             set_tween_state(PART:"top_sheet", pos, "shrink", 0.0, "default",
35181                             0.0);
35182             set_tween_state(PART:"shadow", pos, "half", 0.0, "default",
35183                             0.0);
35184
35185             if (pos >= 1.0) {
35186                set_state(PART:"shadow", "default", 0.0);
35187                set_int(lock, 0);
35188
35189                fetch_str(next, 0, tmp, FLIP_PICKER_MAX_LEN);
35190                if (strncmp(tmp, "", FLIP_PICKER_MAX_LEN) != 0) {
35191                   replace_str(next, 0, "");
35192                   message(MSG_STRING, 2, tmp);
35193                }
35194             }
35195          }
35196
35197          public message(Msg_Type:type, id, ...) {
35198             /* flip down */
35199             if ((type == MSG_STRING) && (id == 1)) {
35200                new value[FLIP_PICKER_MAX_LEN], tmp[FLIP_PICKER_MAX_LEN];
35201
35202                snprintf(value, FLIP_PICKER_MAX_LEN, "%s", getarg(2));
35203
35204                if (get_int(lock) == 1) {
35205                   replace_str(next, 0, value);
35206                   return;
35207                }
35208
35209                fetch_str(cur, 0, tmp, FLIP_PICKER_MAX_LEN);
35210
35211                set_text(PART:"bottom_b", tmp);
35212
35213                set_state(PART:"top", "shrink", 0.0);
35214                set_text(PART:"top", tmp);
35215                set_state(PART:"top", "default", 0.0);
35216                set_text(PART:"top", tmp);
35217
35218                replace_str(prev, 0, tmp);
35219
35220                set_state(PART:"bottom", "default", 0.0);
35221                set_text(PART:"bottom", value);
35222                set_state(PART:"bottom", "shrink", 0.0);
35223                set_text(PART:"bottom", value);
35224
35225                set_text(PART:"top_b", value);
35226
35227                replace_str(cur, 0, value);
35228
35229                set_state(PART:"bottom_sheet", "shrink", 0.0);
35230                set_state(PART:"top_sheet", "default", 0.0);
35231
35232                set_int(lock, 1);
35233                set_state(PART:"shadow", "default", 0.0);
35234                anim(0.2, "animator_top_down", 1);
35235             }
35236
35237             /* flip up */
35238             if ((type == MSG_STRING) && (id == 2)) {
35239                new value[FLIP_PICKER_MAX_LEN], tmp[FLIP_PICKER_MAX_LEN];
35240
35241                snprintf(value, FLIP_PICKER_MAX_LEN, "%s", getarg(2));
35242
35243                if (get_int(lock) == 1) {
35244                   replace_str(next, 0, value);
35245                   return;
35246                }
35247
35248                fetch_str(cur, 0, tmp, FLIP_PICKER_MAX_LEN);
35249
35250                set_text(PART:"top_b", tmp);
35251
35252                set_state(PART:"bottom", "shrink", 0.0);
35253                set_text(PART:"bottom", tmp);
35254                set_state(PART:"bottom", "default", 0.0);
35255                set_text(PART:"bottom", tmp);
35256
35257                replace_str(prev, 0, tmp);
35258
35259                set_state(PART:"top", "default", 0.0);
35260                set_text(PART:"top", value);
35261                set_state(PART:"top", "shrink", 0.0);
35262                set_text(PART:"top", value);
35263
35264                set_text(PART:"bottom_b", value);
35265
35266                replace_str(cur, 0, value);
35267
35268                set_state(PART:"bottom_sheet", "default", 0.0);
35269                set_state(PART:"top_sheet", "shrink", 0.0);
35270
35271                set_int(lock, 1);
35272                set_state(PART:"shadow", "full", 0.0);
35273                anim(0.2, "animator_bottom_up", 1);
35274             }
35275          }
35276       }
35277
35278       parts {
35279          part { name: "shad";
35280             mouse_events: 0;
35281             description { state: "default" 0.0;
35282                rel1.offset: -4 -4;
35283                rel1.to: "base";
35284                rel2.offset: 3 3;
35285                rel2.to: "base";
35286                image {
35287                   normal: "flip_base_shad.png";
35288                   border: 8 8 8 8;
35289                }
35290             }
35291          }
35292
35293          part { name: "base";
35294             scale: 1;
35295             description { state: "default" 0.0;
35296                rel1.offset: 4 4;
35297                rel2.offset: -5 -5;
35298                min: 24 48;
35299                image.normal: "flip_base.png";
35300             }
35301          }
35302
35303          part { name: "b";
35304             type: RECT;
35305             mouse_events: 1;
35306             description { state: "default" 0.0;
35307                rel1.to: "base";
35308                rel1.relative: 0.0 0.5;
35309                rel2.to: "base";
35310                color: 0 0 0 0;
35311             }
35312             description { state: "hidden" 0.0;
35313                inherit: "default" 0.0;
35314                visible: 0;
35315             }
35316          }
35317
35318          part { name: "t";
35319             type: RECT;
35320             mouse_events: 1;
35321             description { state: "default" 0.0;
35322                rel1.to: "base";
35323                rel2.to: "base";
35324                rel2.relative: 1.0 0.5;
35325                color: 0 0 0 0;
35326             }
35327             description { state: "hidden" 0.0;
35328                inherit: "default" 0.0;
35329                visible: 0;
35330             }
35331          }
35332
35333          part { name: "bottom_sheet_static";
35334             mouse_events: 0;
35335             description { state: "default" 0.0;
35336                visible: 1;
35337                rel1.to: "b";
35338                rel2.to: "b";
35339                image.normal: "flip_b.png";
35340             }
35341          }
35342
35343          part { name: "bottom_b";
35344             mouse_events: 0;
35345             clip_to: "bottom_clipper";
35346             type: TEXT;
35347             scale: 1;
35348             description { state: "default" 0.0;
35349                rel1.to: "base";
35350                rel2.to: "base";
35351                color: 0 0 0 255;
35352                color2: 0 0 0 255;
35353                text {
35354                   font: "Sans:style=Bold,Edje-Vera-Bold";
35355                   size: 30;
35356                   min: 1 1;
35357                   align: 0.5 0.5;
35358                }
35359             }
35360          }
35361
35362          part { name: "shadow";
35363             mouse_events: 0;
35364             description { state: "default" 0.0;
35365                rel1.to: "b";
35366                rel2.to: "b";
35367                rel2.relative: 1.0 0.0;
35368                image.normal: "flip_shad.png";
35369             }
35370             description { state: "half" 0.0;
35371                inherit: "default" 0.0;
35372                rel2.relative: 1.0 0.5;
35373             }
35374             description { state: "full" 0.0;
35375                inherit: "default" 0.0;
35376                rel2.relative: 1.0 1.0;
35377             }
35378          }
35379
35380          part { name: "bottom_sheet";
35381             mouse_events: 0;
35382             description { state: "default" 0.0;
35383                visible: 1;
35384                rel1.to: "b";
35385                rel2.to: "b";
35386                image.normal: "flip_b.png";
35387             }
35388             description { state: "shrink" 0.0;
35389                inherit: "default" 0.0;
35390                visible: 0;
35391                rel2.relative: 1.0 0.0;
35392             }
35393          }
35394
35395          part { name: "bottom";
35396             mouse_events: 0;
35397             clip_to: "bottom_clipper";
35398             type: TEXT;
35399             scale: 1;
35400             description { state: "default" 0.0;
35401                rel1.to: "base";
35402                rel2.to: "base";
35403                color: 0 0 0 255;
35404                color2: 0 0 0 255;
35405                text {
35406                   font: "Sans:style=Bold,Edje-Vera-Bold";
35407                   size: 30;
35408                   min: 1 1;
35409                   align: 0.5 0.5;
35410                }
35411             }
35412             description { state: "shrink" 0.0;
35413                inherit: "default" 0.0;
35414                color: 128 128 128 255;
35415                visible: 0;
35416                rel2.relative: 1.0 0.5; /* FIXME: same visual effect? --> MAP! */
35417             }
35418          }
35419
35420          part { name: "top_sheet_static";
35421             mouse_events: 0;
35422             description { state: "default" 0.0;
35423                visible: 1;
35424                rel1.to: "t";
35425                rel2.to: "t";
35426                image.normal: "flip_t.png";
35427             }
35428          }
35429
35430          part { name: "top_b";
35431             mouse_events: 0;
35432             clip_to: "top_clipper";
35433             type: TEXT;
35434             scale: 1;
35435             description { state: "default" 0.0;
35436                rel1.to: "base";
35437                rel2.to: "base";
35438                color: 0 0 0 255;
35439                color2: 0 0 0 255;
35440                text {
35441                   font: "Sans:style=Bold,Edje-Vera-Bold";
35442                   size: 30;
35443                   min: 1 1;
35444                   align: 0.5 0.5;
35445                   source: "top";
35446                }
35447             }
35448          }
35449
35450          part { name: "top_sheet";
35451             mouse_events: 0;
35452             description { state: "default" 0.0;
35453                visible: 1;
35454                rel1.to: "t";
35455                rel2.to: "t";
35456                image.normal: "flip_t.png";
35457             }
35458             description { state: "shrink" 0.0;
35459                inherit: "default" 0.0;
35460                color: 128 128 128 255;
35461                visible: 0;
35462                rel1.relative: 0.0 1.0;
35463             }
35464          }
35465
35466          part { name: "top";
35467             mouse_events: 0;
35468             clip_to: "top_clipper";
35469             type: TEXT;
35470             scale: 1;
35471             description { state: "default" 0.0;
35472                rel1.to: "base";
35473                rel2.to: "base";
35474                color: 0 0 0 255;
35475                color2: 0 0 0 255;
35476                text {
35477                   font: "Sans:style=Bold,Edje-Vera-Bold";
35478                   size: 30;
35479                   min: 1 1;
35480                   align: 0.5 0.5;
35481                }
35482             }
35483             description { state: "shrink" 0.0;
35484                inherit: "default" 0.0;
35485                visible: 0;
35486                rel1.relative: 0.0 0.5;
35487             }
35488          }
35489
35490          part { name: "arrow_top";
35491             mouse_events: 0;
35492             scale: 1;
35493             description { state: "default" 0.0;
35494                min: 15 15;
35495                max: 15 15;
35496                align: 0.5 0.0;
35497                rel1.to: "t";
35498                rel2.to: "t";
35499                image.normal: "arrow_up.png";
35500             }
35501             description { state: "hidden" 0.0;
35502                inherit: "default" 0.0;
35503                visible: 0;
35504             }
35505          }
35506          part { name: "arrow_bottom";
35507             mouse_events: 0;
35508             scale: 1;
35509             description { state: "default" 0.0;
35510                min: 15 15;
35511                max: 15 15;
35512                align: 0.5 1.0;
35513                rel1.to: "b";
35514                rel2.to: "b";
35515                image.normal: "arrow_down.png";
35516             }
35517             description { state: "hidden" 0.0;
35518                inherit: "default" 0.0;
35519                visible: 0;
35520             }
35521          }
35522
35523          part {
35524             type: RECT;
35525             mouse_events: 0;
35526             name: "top_clipper";
35527             description {
35528                state: "default" 0.0;
35529                rel1.to: "t";
35530                rel2.to: "t";
35531                visible: 1;
35532             }
35533          }
35534
35535          part {
35536             type: RECT;
35537             mouse_events: 0;
35538             name: "bottom_clipper";
35539             description {
35540                state: "default" 0.0;
35541                rel1.to: "b";
35542                rel2.to: "b";
35543                visible: 1;
35544             }
35545          }
35546       }
35547
35548       programs {
35549          program { name: "load";
35550             signal: "load";
35551             source: "";
35552             script {
35553                append_str(cur, "");
35554                append_str(prev, "");
35555                append_str(next, "");
35556                set_int(lock, 0);
35557             }
35558          }
35559
35560          program { name: "hide_arrows";
35561             signal: "elm,state,button,hidden";
35562             source: "elm";
35563             action: STATE_SET "hidden" 0.0;
35564             target: "arrow_top";
35565             target: "arrow_bottom";
35566             target: "t";
35567             target: "b";
35568          }
35569
35570          program { name: "show_arrows";
35571             signal: "elm,state,button,visible";
35572             source: "elm";
35573             action: STATE_SET "default" 0.0;
35574             target: "arrow_top";
35575             target: "arrow_bottom";
35576             target: "t";
35577             target: "b";
35578          }
35579
35580          program { name: "up";
35581             signal: "mouse,down,1";
35582             source: "t";
35583             action: SIGNAL_EMIT "elm,action,up,start" "";
35584          }
35585          program { name: "up,stop";
35586             signal: "mouse,up,1";
35587             source: "t";
35588             action: SIGNAL_EMIT "elm,action,up,stop" "";
35589          }
35590          program { name: "down";
35591             signal: "mouse,down,1";
35592             source: "b";
35593             action: SIGNAL_EMIT "elm,action,down,start" "";
35594          }
35595          program { name: "down,stop";
35596             signal: "mouse,up,1";
35597             source: "b";
35598             action: SIGNAL_EMIT "elm,action,down,stop" "";
35599          }
35600       }
35601    }
35602
35603 ////////////////////////////////////////////////////////////////////////////////
35604 // diskselector
35605 ////////////////////////////////////////////////////////////////////////////////
35606    group { name: "elm/diskselector/base/default";
35607       images {
35608          image: "bar_shine.png" COMP;
35609       }
35610
35611       parts {
35612          part { name: "bg";
35613             type: RECT;
35614             mouse_events: 0;
35615             description { state: "default" 0.0;
35616                color: 0 0 0 255;
35617             }
35618          }
35619          part { name: "shine_left";
35620             mouse_events:  0;
35621             description { state: "default" 0.0;
35622                rel1.to: "bg";
35623                rel1.relative: -0.1 0;
35624                rel2.to: "bg";
35625                rel2.relative: 0.1 1;
35626                image.normal: "bar_shine.png";
35627                color: 255 255 255 120;
35628             }
35629          }
35630          part { name: "shine_center";
35631             mouse_events:  0;
35632             description { state: "default" 0.0;
35633                rel1.to: "bg";
35634                rel1.relative: 0.2 0;
35635                rel2.to: "bg";
35636                rel2.relative: 0.8 1;
35637                image.normal: "bar_shine.png";
35638                color: 255 255 255 180;
35639             }
35640          }
35641          part { name: "shine_right";
35642             mouse_events:  0;
35643             description { state: "default" 0.0;
35644                rel1.to: "bg";
35645                rel1.relative: 0.9 0;
35646                rel2.to: "bg";
35647                rel2.relative: 1.1 1;
35648                image.normal: "bar_shine.png";
35649                color: 255 255 255 120;
35650             }
35651          }
35652          part { name: "clipper";
35653             type: RECT;
35654             mouse_events: 0;
35655             description { state: "default" 0.0;
35656                rel1.to: "bg";
35657                rel2.to: "bg";
35658                rel1.offset: 2 2;
35659                rel2.offset: -3 -3;
35660             }
35661          }
35662          part { name: "elm.swallow.content";
35663             clip_to: "clipper";
35664             type: SWALLOW;
35665             description { state: "default" 0.0;
35666                rel1.to: "bg";
35667                rel2.to: "bg";
35668             }
35669          }
35670       }
35671    }
35672
35673    group { name: "elm/diskselector/item/default";
35674
35675       data {
35676          item: "len_threshold" "14";
35677       }
35678
35679       parts {
35680          part { name: "elm.swallow.icon";
35681             type: SWALLOW;
35682             description { state: "default" 0.0;
35683                fixed: 1 0;
35684                align: 0.0 0.5;
35685                rel1 {
35686                   relative: 0 0;
35687                   offset: 4 4;
35688                }
35689                rel2 {
35690                   relative: 0 1;
35691                   offset: 4 -5;
35692                }
35693             }
35694             description { state: "show" 0.0;
35695                inherit: "default" 0.0;
35696             }
35697             description { state: "default_small" 0.0;
35698                inherit: "default" 0.0;
35699                rel1.relative: 0 0.2;
35700                rel2.relative: 0 0.8;
35701             }
35702             description { state: "left_side" 0.0;
35703                inherit: "default" 0.0;
35704                rel1.relative: 0 0.2;
35705                rel2.relative: 0 0.8;
35706                color: 255 255 255 160;
35707             }
35708             description { state: "right_side" 0.0;
35709                inherit: "left_side" 0.0;
35710                rel1.relative: 0.4 0.2;
35711                rel2.relative: 0.4 0.8;
35712                color: 255 255 255 160;
35713             }
35714          }
35715          part { name: "elm.text";
35716             type: TEXT;
35717             mouse_events: 0;
35718             scale: 1;
35719             description { state: "default" 0.0;
35720                rel1.relative: 1 0.0;
35721                rel1.to_x: "elm.swallow.icon";
35722                rel2.relative: 1.0 1.0;
35723                color: 255 255 255 255;
35724                visible: 0;
35725                text {
35726                   font: "Sans,Edje-Vera";
35727                   size: 13;
35728                   align: 0.5 0.5;
35729                   min: 0 1;
35730                }
35731             }
35732             description { state: "show" 0.0;
35733                inherit: "default" 0.0;
35734                visible: 1;
35735             }
35736             description { state: "default_small" 0.0;
35737                inherit: "default" 0.0;
35738                visible: 1;
35739                text.size: 10;
35740             }
35741             description { state: "left_side" 0.0;
35742                inherit: "default" 0.0;
35743                color: 172 172 172 255;
35744                text.size: 10;
35745                visible: 1;
35746                text.align: 0.2 0.5;
35747             }
35748             description { state: "right_side" 0.0;
35749                inherit: "default" 0.0;
35750                color: 172 172 172 255;
35751                visible: 1;
35752                text.size: 10;
35753                text.align: 0.8 0.5;
35754             }
35755          }
35756       }
35757
35758       programs {
35759          program { name: "center_text";
35760             signal: "elm,state,center";
35761             source: "elm";
35762             action: STATE_SET "show" 0.0;
35763             target: "elm.text";
35764             target: "elm.swallow.icon";
35765          }
35766          program { name: "center_small_text";
35767             signal: "elm,state,center_small";
35768             source: "elm";
35769             action: STATE_SET "default_small" 0.0;
35770             target: "elm.text";
35771             target: "elm.swallow.icon";
35772          }
35773          program { name: "l_side_text";
35774             signal: "elm,state,left_side";
35775             source: "elm";
35776             action: STATE_SET "left_side" 0.0;
35777             target: "elm.text";
35778             target: "elm.swallow.icon";
35779          }
35780          program { name: "r_side_text";
35781             signal: "elm,state,right_side";
35782             source: "elm";
35783             action: STATE_SET "right_side" 0.0;
35784             target: "elm.text";
35785             target: "elm.swallow.icon";
35786          }
35787       }
35788    }
35789
35790    group { name: "elm/entry/path/separator/default";
35791       images.image: "arrow_right.png" COMP;
35792       parts {
35793          part { name: "icon";
35794             mouse_events: 0;
35795             description { state: "default" 0.0;
35796                image.normal: "arrow_right.png";
35797                max: 64 64;
35798                aspect: 1.0 1.0;
35799             }
35800          }
35801       }
35802    }
35803
35804    group { name: "elm/fileselector/base/default";
35805       data {
35806          item: "path_separator" "<item relsize=16x16 vsize=full href=path/separator></item>";
35807       }
35808       parts {
35809          part { name: "elm.swallow.up";
35810             type: SWALLOW;
35811             description { state: "default" 0.0;
35812                align: 0.0 0.0;
35813                min: 10 10;
35814                fixed: 1 1;
35815                rel2 {
35816                   relative: 0.0 0.0;
35817                   offset: 0 0;
35818                }
35819             }
35820          }
35821          part { name: "elm.swallow.home";
35822             type: SWALLOW;
35823             description { state: "default" 0.0;
35824                align: 0.0 0.0;
35825                min: 10 10;
35826                fixed: 1 1;
35827                rel1 {
35828                   to: "elm.swallow.up";
35829                   relative: 1.0 0.0;
35830                   offset: 5 0;
35831                }
35832                rel2 {
35833                   to: "elm.swallow.up";
35834                   relative: 1.0 1.0;
35835                   offset: 20 -1;
35836                }
35837             }
35838          }
35839          part { name: "elm.swallow.files";
35840             type: SWALLOW;
35841             description { state: "default" 0.0;
35842                align: 1.0 0.0;
35843                min: 10 10;
35844                fixed: 1 1;
35845                rel1 {
35846                   to_y: "elm.swallow.home";
35847                   relative: 0.0 1.0;
35848                   offset: 0 0;
35849                }
35850                rel2 {
35851                   to_y: "elm.swallow.path";
35852                   relative: 1.0 0.0;
35853                   offset: -1 -1;
35854                }
35855             }
35856          }
35857          part { name: "elm.swallow.path";
35858             type: SWALLOW;
35859             description { state: "default" 0.0;
35860                align: 0.5 1.0;
35861                fixed: 1 1;
35862                rel1 {
35863                   to_y: "elm.swallow.filename";
35864                   relative: 0.0 0.0;
35865                   offset: 0 -1;
35866                }
35867                rel2 {
35868                   to_y: "elm.swallow.filename";
35869                   relative: 1.0 0.0;
35870                   offset: -1 -1;
35871                }
35872             }
35873          }
35874          part { name: "elm.swallow.filename";
35875             type: SWALLOW;
35876             description { state: "default" 0.0;
35877                align: 0.5 1.0;
35878                fixed: 1 1;
35879                rel1 {
35880                   to_y: "elm.swallow.ok";
35881                   relative: 0.0 0.0;
35882                   offset: 0 -1;
35883                }
35884                rel2 {
35885                   to_y: "elm.swallow.ok";
35886                   relative: 1.0 0.0;
35887                   offset: -1 -1;
35888                }
35889             }
35890          }
35891          part { name: "elm.swallow.cancel";
35892             type: SWALLOW;
35893             description { state: "default" 0.0;
35894                align: 1.0 1.0;
35895                fixed: 1 1;
35896                rel1 {
35897                   to: "elm.swallow.ok";
35898                   relative: 0.0 0.0;
35899                   offset: -3 0;
35900                }
35901                rel2 {
35902                   to: "elm.swallow.ok";
35903                   relative: 0.0 1.0;
35904                   offset: -3 -1;
35905                }
35906             }
35907          }
35908          part { name: "elm.swallow.ok";
35909             type: SWALLOW;
35910             description { state: "default" 0.0;
35911                align: 1.0 1.0;
35912                fixed: 1 1;
35913                rel1 {
35914                   relative: 1.0 1.0;
35915                   offset: -1 -1;
35916                }
35917             }
35918          }
35919       }
35920    }
35921
35922    group { name: "elm/fileselector_entry/base/default";
35923       parts {
35924          part { name: "elm.swallow.entry";
35925             type: SWALLOW;
35926             description { state: "default" 0.0;
35927                align: 0.0 0.0;
35928                min: 50 10;
35929                rel2 { to_x: "elm.swallow.button";
35930                   relative: 0.0 1.0;
35931                   offset: -1 -1;
35932                }
35933             }
35934          }
35935          part { name: "elm.swallow.button";
35936             type: SWALLOW;
35937             description { state: "default" 0.0;
35938                align: 1.0 0.0;
35939                min: 10 10;
35940                fixed: 1 1;
35941                rel1 {
35942                   relative: 1.0 0.0;
35943                   offset: -21 0;
35944                }
35945             }
35946          }
35947       }
35948    }
35949
35950 ////////////////////////////////////////////////////////////////////////
35951 // Standard layouts to be used                                        //
35952 ////////////////////////////////////////////////////////////////////////
35953    /* application with toolbar and main content area */
35954    group { name: "elm/layout/application/toolbar-content";
35955       parts {
35956          part { name: "elm.swallow.content";
35957             type: SWALLOW;
35958             description { state: "default" 0.0;
35959                rel1 { to_y: "elm.external.toolbar";
35960                   relative: 0.0 1.0;
35961                   offset: -1 1;
35962                }
35963             }
35964          }
35965
35966          part { name: "elm.external.toolbar";
35967             type: EXTERNAL;
35968             source: "elm/toolbar";
35969             description { state: "default" 0.0;
35970                align: 0.5 0.0;
35971                fixed: 0 1;
35972                rel2 {
35973                   relative: 1.0 0.0;
35974                   offset: -1 47;
35975                }
35976             }
35977          }
35978       }
35979    }
35980
35981    /* application with toolbar and main content area with a back button and title area */
35982    group { name: "elm/layout/application/toolbar-content-back";
35983       parts {
35984          part { name: "elm.swallow.content";
35985             type: SWALLOW;
35986             description { state: "default" 0.0;
35987                rel1 { to_y: "title_clipper";
35988                   relative: 0.0 1.0;
35989                   offset: -1 1;
35990                }
35991             }
35992          }
35993
35994          part { name: "elm.external.toolbar";
35995             type: EXTERNAL;
35996             source: "elm/toolbar";
35997             description { state: "default" 0.0;
35998                fixed: 0 1;
35999                align: 0.5 0.0;
36000                rel2 {
36001                   relative: 1.0 0.0;
36002                   offset: -1 47;
36003                }
36004             }
36005          }
36006          part { name: "title_clipper";
36007             type: RECT;
36008             description { state: "default" 0.0;
36009                visible: 1;
36010                rel1 {
36011                   to_y: "back";
36012                }
36013                rel2 {
36014                   to_y: "back";
36015                }
36016             }
36017             description { state: "hidden" 0.0;
36018                inherit: "default" 0.0;
36019                visible: 0;
36020                rel2 {
36021                   relative: 1.0 0.0;
36022                }
36023             }
36024          }
36025          part { name: "back_clipper";
36026             type: RECT;
36027             clip_to: "title_clipper";
36028             description { state: "default" 0.0;
36029                visible: 1;
36030             }
36031             description { state: "hidden" 0.0;
36032                visible: 0;
36033             }
36034          }
36035          part { name: "back";
36036             type: EXTERNAL;
36037             source: "elm/button";
36038             clip_to: "back_clipper";
36039             description { state: "default" 0.0;
36040                align: 0.0 0.0;
36041                fixed: 1 1;
36042                rel1 { to_y: "elm.external.toolbar";
36043                   relative: 0.0 1.0;
36044                   offset: 0 1;
36045                }
36046                rel2 { to_y: "elm.external.toolbar";
36047                   relative: 0.0 1.0;
36048                   offset: 50 32;
36049                }
36050                params.string: "label" "Back";
36051             }
36052          }
36053          programs {
36054             program {
36055                signal: "clicked";
36056                source: "back";
36057                action: SIGNAL_EMIT "elm,action,back" "";
36058             }
36059             program {
36060                signal: "elm,back,hide";
36061                source: "elm";
36062                action: STATE_SET "hidden" 0.0;
36063                target: "back_clipper";
36064             }
36065             program {
36066                signal: "elm,back,show";
36067                source: "elm";
36068                action: STATE_SET "default" 0.0;
36069                target: "back_clipper";
36070             }
36071             program {
36072                signal: "elm,title,hide";
36073                source: "elm";
36074                action: STATE_SET "hidden" 0.0;
36075                transition: LINEAR 0.1;
36076                target: "title_clipper";
36077             }
36078             program {
36079                signal: "elm,title,show";
36080                source: "elm";
36081                action: STATE_SET "default" 0.0;
36082                target: "title_clipper";
36083             }
36084          }
36085
36086          part { name: "elm.swallow.end";
36087             type: SWALLOW;
36088             description { state: "default" 0.0;
36089                align: 1.0 0.0;
36090                fixed: 1 1;
36091                rel1 { to_y: "elm.external.toolbar";
36092                   relative: 1.0 1.0;
36093                   offset: -2 1;
36094                }
36095                rel2 { to_y: "elm.external.toolbar";
36096                   relative: 1.0 1.0;
36097                   offset: -1 32;
36098                }
36099             }
36100          }
36101
36102          part { name: "elm.text.title";
36103             type: TEXT;
36104             effect: SOFT_SHADOW;
36105             scale: 1;
36106             description { state: "default" 0.0;
36107                rel1 { to_y: "elm.external.toolbar";
36108                   to_x: "back";
36109                   relative: 1.0 1.0;
36110                   offset: 2 1;
36111                }
36112                rel2 { to_y: "back";
36113                   to_x: "elm.swallow.end";
36114                   relative: 0.0 1.0;
36115                   offset: -3 -1;
36116                }
36117                text {
36118                   font: "Sans:style=Bold";
36119                   size: 12;
36120                }
36121             }
36122          }
36123       }
36124    }
36125
36126    /* application with toolbar and main content area with a back and next buttons and title area */
36127    group { name: "elm/layout/application/toolbar-content-back-next";
36128       parts {
36129          part { name: "elm.swallow.content";
36130             type: SWALLOW;
36131             description { state: "default" 0.0;
36132                rel1 { to_y: "title_clipper";
36133                   relative: 0.0 1.0;
36134                   offset: -1 1;
36135                }
36136             }
36137          }
36138
36139          part { name: "elm.external.toolbar";
36140             type: EXTERNAL;
36141             source: "elm/toolbar";
36142             description { state: "default" 0.0;
36143                fixed: 0 1;
36144                align: 0.5 0.0;
36145                rel2 {
36146                   relative: 1.0 0.0;
36147                   offset: -1 47;
36148                }
36149             }
36150          }
36151          part { name: "title_clipper";
36152             type: RECT;
36153             description { state: "default" 0.0;
36154                visible: 1;
36155                rel1 {
36156                   to_y: "back";
36157                }
36158                rel2 {
36159                   to_y: "back";
36160                }
36161             }
36162             description { state: "hidden" 0.0;
36163                inherit: "default" 0.0;
36164                visible: 0;
36165                rel2 {
36166                   relative: 1.0 0.0;
36167                }
36168             }
36169          }
36170          part { name: "back";
36171             type: EXTERNAL;
36172             source: "elm/button";
36173             clip_to: "back_clipper";
36174             description { state: "default" 0.0;
36175                align: 0.0 0.0;
36176                fixed: 1 1;
36177                rel1 { to_y: "elm.external.toolbar";
36178                   relative: 0.0 1.0;
36179                   offset: 0 1;
36180                }
36181                rel2 { to_y: "elm.external.toolbar";
36182                   relative: 0.0 1.0;
36183                   offset: 50 32;
36184                }
36185                params.string: "label" "Back";
36186             }
36187          }
36188          part { name: "back_clipper";
36189             type: RECT;
36190             clip_to: "title_clipper";
36191             description { state: "default" 0.0;
36192                visible: 1;
36193             }
36194             description { state: "hidden" 0.0;
36195                visible: 0;
36196             }
36197          }
36198          part { name: "next";
36199             type: EXTERNAL;
36200             source: "elm/button";
36201             clip_to: "next_clipper";
36202             description { state: "default" 0.0;
36203                align: 1.0 0.0;
36204                fixed: 1 1;
36205                rel1 { to_y: "elm.external.toolbar";
36206                   relative: 1.0 1.0;
36207                   offset: -2 1;
36208                }
36209                rel2 { to_y: "elm.external.toolbar";
36210                   relative: 1.0 1.0;
36211                   offset: -1 32;
36212                }
36213                params.string: "label" "Next";
36214            }
36215          }
36216          part { name: "next_clipper";
36217             type: RECT;
36218             clip_to: "title_clipper";
36219             description { state: "default" 0.0;
36220                visible: 1;
36221             }
36222             description { state: "hidden" 0.0;
36223                visible: 0;
36224             }
36225          }
36226          programs {
36227             program {
36228                signal: "clicked";
36229                source: "back";
36230                action: SIGNAL_EMIT "elm,action,back" "";
36231             }
36232             program {
36233                signal: "elm,title,hide";
36234                source: "elm";
36235                action: STATE_SET "hidden" 0.0;
36236                transition: LINEAR 0.1;
36237                target: "title_clipper";
36238             }
36239             program {
36240                signal: "elm,title,show";
36241                source: "elm";
36242                action: STATE_SET "default" 0.0;
36243                target: "title_clipper";
36244             }
36245             program {
36246                signal: "elm,back,hide";
36247                source: "elm";
36248                action: STATE_SET "hidden" 0.0;
36249                target: "back_clipper";
36250             }
36251             program {
36252                signal: "elm,back,show";
36253                source: "elm";
36254                action: STATE_SET "default" 0.0;
36255                target: "back_clipper";
36256             }
36257             program {
36258                signal: "clicked";
36259                source: "next";
36260                action: SIGNAL_EMIT "elm,action,next" "";
36261             }
36262             program {
36263                signal: "elm,next,hide";
36264                source: "elm";
36265                action: STATE_SET "hidden" 0.0;
36266                target: "next_clipper";
36267             }
36268             program {
36269                signal: "elm,next,show";
36270                source: "elm";
36271                action: STATE_SET "default" 0.0;
36272                target: "next_clipper";
36273             }
36274          }
36275          part { name: "elm.text.title";
36276             type: TEXT;
36277             effect: SOFT_SHADOW;
36278             scale: 1;
36279             clip_to: "title_clipper";
36280             description { state: "default" 0.0;
36281                rel1 { to_y: "elm.external.toolbar";
36282                   to_x: "back";
36283                   relative: 1.0 1.0;
36284                   offset: 2 1;
36285                }
36286                rel2 { to_y: "back";
36287                   to_x: "next";
36288                   relative: 0.0 1.0;
36289                   offset: -3 -1;
36290                }
36291                text {
36292                   font: "Sans:style=Bold";
36293                   size: 12;
36294                }
36295             }
36296          }
36297       }
36298    }
36299    /* application with a main content area with a back button and title area */
36300    group { name: "elm/layout/application/content-back";
36301       parts {
36302          part { name: "elm.swallow.content";
36303             type: SWALLOW;
36304             description { state: "default" 0.0;
36305                rel1 { to_y: "title_clipper";
36306                   relative: 0.0 1.0;
36307                   offset: -1 1;
36308                }
36309             }
36310          }
36311          part { name: "title_clipper";
36312             type: RECT;
36313             description { state: "default" 0.0;
36314                visible: 1;
36315                rel1 {
36316                   to_y: "back";
36317                }
36318                rel2 {
36319                   to_y: "back";
36320                }
36321             }
36322             description { state: "hidden" 0.0;
36323                inherit: "default" 0.0;
36324                visible: 0;
36325                rel2 {
36326                   relative: 1.0 0.0;
36327                }
36328             }
36329          }
36330          part { name: "back_clipper";
36331             type: RECT;
36332             clip_to: "title_clipper";
36333             description { state: "default" 0.0;
36334                visible: 1;
36335             }
36336             description { state: "hidden" 0.0;
36337                visible: 0;
36338             }
36339          }
36340          part { name: "back";
36341             type: EXTERNAL;
36342             source: "elm/button";
36343             clip_to: "back_clipper";
36344             description { state: "default" 0.0;
36345                align: 0.0 0.0;
36346                fixed: 1 1;
36347                rel1 {
36348                   relative: 0.0 0.0;
36349                   offset: 0 1;
36350                }
36351                rel2 {
36352                   relative: 0.0 0.0;
36353                   offset: 50 32;
36354                }
36355                params.string: "label" "Back";
36356             }
36357          }
36358          programs {
36359             program {
36360                signal: "clicked";
36361                source: "back";
36362                action: SIGNAL_EMIT "elm,action,back" "";
36363             }
36364             program {
36365                signal: "elm,back,hide";
36366                source: "elm";
36367                action: STATE_SET "hidden" 0.0;
36368                target: "back_clipper";
36369             }
36370             program {
36371                signal: "elm,back,show";
36372                source: "elm";
36373                action: STATE_SET "default" 0.0;
36374                target: "back_clipper";
36375             }
36376             program {
36377                signal: "elm,title,hide";
36378                source: "elm";
36379                action: STATE_SET "hidden" 0.0;
36380                transition: LINEAR 0.1;
36381                target: "title_clipper";
36382             }
36383             program {
36384                signal: "elm,title,show";
36385                source: "elm";
36386                action: STATE_SET "default" 0.0;
36387                target: "title_clipper";
36388             }
36389          }
36390
36391          part { name: "elm.swallow.end";
36392             type: SWALLOW;
36393             description { state: "default" 0.0;
36394                align: 1.0 0.0;
36395                fixed: 1 1;
36396                rel1 {
36397                   relative: 1.0 0.0;
36398                   offset: -2 1;
36399                }
36400                rel2 {
36401                   relative: 1.0 1.0;
36402                   offset: -1 32;
36403                }
36404             }
36405          }
36406
36407          part { name: "elm.text.title";
36408             type: TEXT;
36409             effect: SOFT_SHADOW;
36410             scale: 1;
36411             description { state: "default" 0.0;
36412                rel1 {
36413                   to_x: "back";
36414                   relative: 1.0 0.0;
36415                   offset: 2 1;
36416                }
36417                rel2 { to_y: "back";
36418                   to_x: "elm.swallow.end";
36419                   relative: 0.0 1.0;
36420                   offset: -3 -1;
36421                }
36422                text {
36423                   font: "Sans:style=Bold";
36424                   size: 12;
36425                }
36426             }
36427          }
36428       }
36429    }
36430
36431    /* application with a main content area with a back and next buttons and title area */
36432    group { name: "elm/layout/application/content-back-next";
36433       parts {
36434          part { name: "elm.swallow.content";
36435             type: SWALLOW;
36436             description { state: "default" 0.0;
36437                rel1 { to_y: "title_clipper";
36438                   relative: 0.0 1.0;
36439                   offset: -1 1;
36440                }
36441             }
36442          }
36443
36444          part { name: "title_clipper";
36445             type: RECT;
36446             description { state: "default" 0.0;
36447                visible: 1;
36448                rel1 {
36449                   to_y: "back";
36450                }
36451                rel2 {
36452                   to_y: "back";
36453                }
36454             }
36455             description { state: "hidden" 0.0;
36456                inherit: "default" 0.0;
36457                visible: 0;
36458                rel2 {
36459                   relative: 1.0 0.0;
36460                }
36461             }
36462          }
36463          part { name: "back";
36464             type: EXTERNAL;
36465             source: "elm/button";
36466             clip_to: "back_clipper";
36467             description { state: "default" 0.0;
36468                align: 0.0 0.0;
36469                fixed: 1 1;
36470                rel1 {
36471                   relative: 0.0 0.0;
36472                   offset: 0 1;
36473                }
36474                rel2 {
36475                   relative: 0.0 0.0;
36476                   offset: 50 32;
36477                }
36478                params.string: "label" "Back";
36479             }
36480          }
36481          part { name: "back_clipper";
36482             type: RECT;
36483             clip_to: "title_clipper";
36484             description { state: "default" 0.0;
36485                visible: 1;
36486             }
36487             description { state: "hidden" 0.0;
36488                visible: 0;
36489             }
36490          }
36491          part { name: "next";
36492             type: EXTERNAL;
36493             source: "elm/button";
36494             clip_to: "next_clipper";
36495             description { state: "default" 0.0;
36496                align: 1.0 0.0;
36497                fixed: 1 1;
36498                rel1 {
36499                   relative: 1.0 0.0;
36500                   offset: -2 1;
36501                }
36502                rel2 {
36503                   relative: 1.0 0.0;
36504                   offset: -1 32;
36505                }
36506                params.string: "label" "Next";
36507            }
36508          }
36509          part { name: "next_clipper";
36510             type: RECT;
36511             clip_to: "title_clipper";
36512             description { state: "default" 0.0;
36513                visible: 1;
36514             }
36515             description { state: "hidden" 0.0;
36516                visible: 0;
36517             }
36518          }
36519          programs {
36520             program {
36521                signal: "clicked";
36522                source: "back";
36523                action: SIGNAL_EMIT "elm,action,back" "";
36524             }
36525             program {
36526                signal: "elm,title,hide";
36527                source: "elm";
36528                action: STATE_SET "hidden" 0.0;
36529                transition: LINEAR 0.1;
36530                target: "title_clipper";
36531             }
36532             program {
36533                signal: "elm,title,show";
36534                source: "elm";
36535                action: STATE_SET "default" 0.0;
36536                target: "title_clipper";
36537             }
36538             program {
36539                signal: "elm,back,hide";
36540                source: "elm";
36541                action: STATE_SET "hidden" 0.0;
36542                target: "back_clipper";
36543             }
36544             program {
36545                signal: "elm,back,show";
36546                source: "elm";
36547                action: STATE_SET "default" 0.0;
36548                target: "back_clipper";
36549             }
36550             program {
36551                signal: "clicked";
36552                source: "next";
36553                action: SIGNAL_EMIT "elm,action,next" "";
36554             }
36555             program {
36556                signal: "elm,next,hide";
36557                source: "elm";
36558                action: STATE_SET "hidden" 0.0;
36559                target: "next_clipper";
36560             }
36561             program {
36562                signal: "elm,next,show";
36563                source: "elm";
36564                action: STATE_SET "default" 0.0;
36565                target: "next_clipper";
36566             }
36567          }
36568          part { name: "elm.text.title";
36569             type: TEXT;
36570             effect: SOFT_SHADOW;
36571             scale: 1;
36572             clip_to: "title_clipper";
36573             description { state: "default" 0.0;
36574                rel1 {
36575                   to_x: "back";
36576                   relative: 1.0 0.0;
36577                   offset: 2 1;
36578                }
36579                rel2 { to_y: "back";
36580                   to_x: "next";
36581                   relative: 0.0 1.0;
36582                   offset: -3 -1;
36583                }
36584                text {
36585                   font: "Sans:style=Bold";
36586                   size: 12;
36587                }
36588             }
36589          }
36590       }
36591    }
36592
36593    /* application with toolbar and main content area as a vertical box */
36594    group { name: "elm/layout/application/toolbar-vbox";
36595       parts {
36596          part { name: "elm.box.content";
36597             type: BOX;
36598             description { state: "default" 0.0;
36599                rel1 { to_y: "elm.external.toolbar";
36600                   relative: 0.0 1.0;
36601                   offset: -1 1;
36602                }
36603                box.layout: "vertical";
36604             }
36605          }
36606
36607          part { name: "elm.external.toolbar";
36608             type: EXTERNAL;
36609             source: "elm/toolbar";
36610             description { state: "default" 0.0;
36611                align: 0.5 0.0;
36612                fixed: 0 1;
36613                rel2 {
36614                   relative: 1.0 0.0;
36615                   offset: -1 47;
36616                }
36617             }
36618          }
36619       }
36620    }
36621
36622    /* application with toolbar and main content area as a table */
36623    group { name: "elm/layout/application/toolbar-table";
36624       parts {
36625          part { name: "elm.table.content";
36626             type: TABLE;
36627             description { state: "default" 0.0;
36628                rel1 { to_y: "elm.external.toolbar";
36629                   relative: 0.0 1.0;
36630                   offset: -1 1;
36631                }
36632             }
36633          }
36634
36635          part { name: "elm.external.toolbar";
36636             type: EXTERNAL;
36637             source: "elm/toolbar";
36638             description { state: "default" 0.0;
36639                align: 0.5 0.0;
36640                fixed: 0 1;
36641                rel2 {
36642                   relative: 1.0 0.0;
36643                   offset: -1 47;
36644                }
36645             }
36646          }
36647       }
36648    }
36649
36650    /* a simple title layout, with a label and two icons */
36651    group { name: "elm/layout/application/titlebar";
36652       images {
36653          image: "toolbar_sel.png" COMP;
36654       }
36655       parts {
36656          part { name: "base";
36657             mouse_events: 0;
36658             scale: 1;
36659             description { state: "default" 0.0;
36660                min: 0 33;
36661                max: 99999 33;
36662                align: 0.5 0.0;
36663                rel1.offset: -1 0;
36664                rel2.offset: 1 0;
36665                image {
36666                   normal: "toolbar_sel.png";
36667                   border: 3 3 0 0;
36668                }
36669             }
36670          }
36671          part { name: "elm.swallow.content";
36672             type: SWALLOW;
36673             description { state: "default" 0.0;
36674                visible: 1;
36675                rel1 {
36676                   to: "base";
36677                   relative: 0.0 1.0;
36678                }
36679             }
36680          }
36681          part { name: "elm.swallow.icon";
36682             type: SWALLOW;
36683             scale: 1;
36684             description { state: "default" 0.0;
36685                visible: 0;
36686                fixed: 1 1;
36687                align: 0.0 0.0;
36688                rel1 {
36689                   to: "base";
36690                   relative: 0.0 0.0;
36691                   offset: 4 0;
36692                }
36693                rel2 {
36694                   to: "base";
36695                   relative: 0.0 1.0;
36696                }
36697             }
36698             description { state: "visible" 0.0;
36699                inherit: "default" 0.0;
36700                visible: 1;
36701             }
36702          }
36703          part { name: "elm.swallow.end";
36704             type: SWALLOW;
36705             scale: 1;
36706             description { state: "default" 0.0;
36707                visible: 0;
36708                fixed: 1 1;
36709                align: 1.0 0.0;
36710                rel1 {
36711                   to: "base";
36712                   relative: 1.0 0.0;
36713                   offset: 0 0;
36714                }
36715                rel2 {
36716                   to: "base";
36717                   relative: 1.0 1.0;
36718                   offset: -5 -1;
36719                }
36720             }
36721             description { state: "visible" 0.0;
36722                inherit: "default" 0.0;
36723                visible: 1;
36724             }
36725          }
36726          part { name: "elm.text";
36727             type: TEXT;
36728             effect: SOFT_SHADOW;
36729             mouse_events: 0;
36730             scale: 1;
36731             description { state: "default" 0.0;
36732                fixed: 1 1;
36733                rel1 {
36734                   to_x: "elm.swallow.icon";
36735                   to_y: "base";
36736                   relative: 1.0 0.0;
36737                }
36738                rel2 {
36739                   to_x: "elm.swallow.end";
36740                   to_y: "base";
36741                   relative: 0.0 1.0;
36742                }
36743                text {
36744                   font: "Sans";
36745                   size: 12;
36746                   min: 0 0;
36747                   align: 0.5 0.5;
36748                   text_class: "title_bar";
36749                }
36750             }
36751          }
36752       }
36753       programs {
36754          program { name: "show_icon";
36755             signal: "elm,state,icon,visible";
36756             source: "elm";
36757             action: STATE_SET "visible" 0.0;
36758             target: "elm.swallow.icon";
36759          }
36760          program { name: "hide_icon";
36761             signal: "elm,state,icon,hidden";
36762             source: "elm";
36763             action: STATE_SET "default" 0.0;
36764             target: "elm.swallow.icon";
36765          }
36766          program { name: "show_end";
36767             signal: "elm,state,end,visible";
36768             source: "elm";
36769             action: STATE_SET "visible" 0.0;
36770             target: "elm.swallow.end";
36771          }
36772          program { name: "hide_end";
36773             signal: "elm,state,end,hidden";
36774             source: "elm";
36775             action: STATE_SET "default" 0.0;
36776             target: "elm.swallow.end";
36777          }
36778       }
36779    }
36780 }